docs.go 735 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetPCMenus": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取PC交易端菜单",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "type": "array",
  440. "items": {
  441. "$ref": "#/definitions/models.OperationPrimaryMenu"
  442. }
  443. }
  444. },
  445. "500": {
  446. "description": "Internal Server Error",
  447. "schema": {
  448. "$ref": "#/definitions/app.Response"
  449. }
  450. }
  451. }
  452. }
  453. },
  454. "/Common/GetServerTime": {
  455. "get": {
  456. "produces": [
  457. "application/json"
  458. ],
  459. "tags": [
  460. "通用服务"
  461. ],
  462. "summary": "获取服务器时间",
  463. "responses": {
  464. "200": {
  465. "description": "OK",
  466. "schema": {
  467. "$ref": "#/definitions/app.Response"
  468. }
  469. },
  470. "500": {
  471. "description": "Internal Server Error",
  472. "schema": {
  473. "$ref": "#/definitions/app.Response"
  474. }
  475. }
  476. }
  477. }
  478. },
  479. "/Common/NoticeReaded": {
  480. "post": {
  481. "security": [
  482. {
  483. "ApiKeyAuth": []
  484. }
  485. ],
  486. "produces": [
  487. "application/json"
  488. ],
  489. "tags": [
  490. "通用服务"
  491. ],
  492. "summary": "通知公告设置已读请求",
  493. "parameters": [
  494. {
  495. "type": "integer",
  496. "description": "登录账号",
  497. "name": "loginID",
  498. "in": "query",
  499. "required": true
  500. },
  501. {
  502. "type": "integer",
  503. "description": "通知公告ID",
  504. "name": "noticeID",
  505. "in": "query",
  506. "required": true
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "$ref": "#/definitions/app.Response"
  514. }
  515. },
  516. "500": {
  517. "description": "Internal Server Error",
  518. "schema": {
  519. "$ref": "#/definitions/app.Response"
  520. }
  521. }
  522. }
  523. }
  524. },
  525. "/Common/QueryErrorInfos": {
  526. "get": {
  527. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  528. "produces": [
  529. "application/json"
  530. ],
  531. "tags": [
  532. "通用服务"
  533. ],
  534. "summary": "获取数据库错误信息",
  535. "parameters": [
  536. {
  537. "type": "string",
  538. "description": "起始行号前索引",
  539. "name": "rowNumber",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryImageConfigs": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询轮播图配置信息",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "类型 - 1:App首页轮播 2:我的",
  572. "name": "imageType",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryNotice": {
  593. "get": {
  594. "security": [
  595. {
  596. "ApiKeyAuth": []
  597. }
  598. ],
  599. "produces": [
  600. "application/json"
  601. ],
  602. "tags": [
  603. "通用服务"
  604. ],
  605. "summary": "通知公告系统消息查询",
  606. "parameters": [
  607. {
  608. "type": "integer",
  609. "description": "页码",
  610. "name": "page",
  611. "in": "query"
  612. },
  613. {
  614. "type": "integer",
  615. "description": "每页条数",
  616. "name": "pagesize",
  617. "in": "query"
  618. },
  619. {
  620. "type": "integer",
  621. "description": "登录账号",
  622. "name": "loginID",
  623. "in": "query",
  624. "required": true
  625. },
  626. {
  627. "type": "integer",
  628. "description": "消息类型 - 1:公告通知 2:系统消息",
  629. "name": "msgType",
  630. "in": "query"
  631. },
  632. {
  633. "type": "boolean",
  634. "description": "是否只获取未读信息",
  635. "name": "onlyUnRead",
  636. "in": "query"
  637. },
  638. {
  639. "type": "integer",
  640. "description": "自增ID,传入后会返回这个ID后面的记录",
  641. "name": "lastID",
  642. "in": "query"
  643. }
  644. ],
  645. "responses": {
  646. "200": {
  647. "description": "OK",
  648. "schema": {
  649. "$ref": "#/definitions/common.QueryNoticeRsp"
  650. }
  651. },
  652. "500": {
  653. "description": "Internal Server Error",
  654. "schema": {
  655. "$ref": "#/definitions/app.Response"
  656. }
  657. }
  658. }
  659. }
  660. },
  661. "/Common/QueryProvincesAndCities": {
  662. "get": {
  663. "produces": [
  664. "application/json"
  665. ],
  666. "tags": [
  667. "通用服务"
  668. ],
  669. "summary": "查询省市信息(不包括区)",
  670. "parameters": [
  671. {
  672. "type": "integer",
  673. "description": "省ID",
  674. "name": "provinceID",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryTableDefine": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询交易端列表头信息",
  703. "parameters": [
  704. {
  705. "type": "string",
  706. "description": "表key",
  707. "name": "tableKey",
  708. "in": "query"
  709. },
  710. {
  711. "type": "integer",
  712. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  713. "name": "tableType",
  714. "in": "query"
  715. }
  716. ],
  717. "responses": {
  718. "200": {
  719. "description": "OK",
  720. "schema": {
  721. "$ref": "#/definitions/common.QueryTableDefineRsp"
  722. }
  723. },
  724. "500": {
  725. "description": "Internal Server Error",
  726. "schema": {
  727. "$ref": "#/definitions/app.Response"
  728. }
  729. }
  730. }
  731. }
  732. },
  733. "/Common/QueryTraderMenu": {
  734. "get": {
  735. "produces": [
  736. "application/json"
  737. ],
  738. "tags": [
  739. "通用服务"
  740. ],
  741. "summary": "查询交易端菜单",
  742. "parameters": [
  743. {
  744. "type": "integer",
  745. "description": "登录账号",
  746. "name": "loginid",
  747. "in": "query",
  748. "required": true
  749. }
  750. ],
  751. "responses": {
  752. "200": {
  753. "description": "OK",
  754. "schema": {
  755. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  756. }
  757. },
  758. "500": {
  759. "description": "Internal Server Error",
  760. "schema": {
  761. "$ref": "#/definitions/app.Response"
  762. }
  763. }
  764. }
  765. }
  766. },
  767. "/Delivery/QueryDeliveryRelation": {
  768. "get": {
  769. "security": [
  770. {
  771. "ApiKeyAuth": []
  772. }
  773. ],
  774. "produces": [
  775. "application/json"
  776. ],
  777. "tags": [
  778. "交割服务"
  779. ],
  780. "summary": "查询商品交割关系表",
  781. "parameters": [
  782. {
  783. "type": "integer",
  784. "description": "商品ID",
  785. "name": "goodsid",
  786. "in": "query"
  787. },
  788. {
  789. "type": "integer",
  790. "description": "品种ID",
  791. "name": "deliverygoodsid",
  792. "in": "query"
  793. },
  794. {
  795. "type": "integer",
  796. "description": "市场ID",
  797. "name": "marketid",
  798. "in": "query"
  799. }
  800. ],
  801. "responses": {
  802. "200": {
  803. "description": "OK",
  804. "schema": {
  805. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  806. }
  807. },
  808. "500": {
  809. "description": "Internal Server Error",
  810. "schema": {
  811. "$ref": "#/definitions/app.Response"
  812. }
  813. }
  814. }
  815. }
  816. },
  817. "/Ermcp/GetErmcpGoods": {
  818. "get": {
  819. "security": [
  820. {
  821. "ApiKeyAuth": []
  822. }
  823. ],
  824. "produces": [
  825. "application/json"
  826. ],
  827. "tags": [
  828. "企业风险管理(app)"
  829. ],
  830. "summary": "查询企业风管期货商品信息",
  831. "parameters": [
  832. {
  833. "type": "string",
  834. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  835. "name": "lastUpdateTime",
  836. "in": "query"
  837. }
  838. ],
  839. "responses": {
  840. "200": {
  841. "description": "OK",
  842. "schema": {
  843. "$ref": "#/definitions/models.Goods"
  844. }
  845. },
  846. "500": {
  847. "description": "Internal Server Error",
  848. "schema": {
  849. "$ref": "#/definitions/app.Response"
  850. }
  851. }
  852. }
  853. }
  854. },
  855. "/Ermcp/GetErmcpGoodsSortByPosition": {
  856. "get": {
  857. "security": [
  858. {
  859. "ApiKeyAuth": []
  860. }
  861. ],
  862. "produces": [
  863. "application/json"
  864. ],
  865. "tags": [
  866. "企业风险管理(app)"
  867. ],
  868. "summary": "查询企业风管期货主力、次主力商品信息",
  869. "parameters": [
  870. {
  871. "type": "string",
  872. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  873. "name": "sortIndex",
  874. "in": "query"
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "$ref": "#/definitions/models.Goodssortbypreposition"
  882. }
  883. },
  884. "500": {
  885. "description": "Internal Server Error",
  886. "schema": {
  887. "$ref": "#/definitions/app.Response"
  888. }
  889. }
  890. }
  891. }
  892. },
  893. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  894. "get": {
  895. "security": [
  896. {
  897. "ApiKeyAuth": []
  898. }
  899. ],
  900. "produces": [
  901. "application/json"
  902. ],
  903. "tags": [
  904. "企业风险管理(app)"
  905. ],
  906. "summary": "获取企业风管终端权限",
  907. "parameters": [
  908. {
  909. "type": "integer",
  910. "description": "登录账号",
  911. "name": "loginID",
  912. "in": "query",
  913. "required": true
  914. }
  915. ],
  916. "responses": {
  917. "200": {
  918. "description": "OK",
  919. "schema": {
  920. "$ref": "#/definitions/models.Funcmenulist"
  921. }
  922. },
  923. "500": {
  924. "description": "Internal Server Error",
  925. "schema": {
  926. "$ref": "#/definitions/app.Response"
  927. }
  928. }
  929. }
  930. }
  931. },
  932. "/Ermcp/QryReportDayExposure": {
  933. "get": {
  934. "security": [
  935. {
  936. "ApiKeyAuth": []
  937. }
  938. ],
  939. "produces": [
  940. "application/json"
  941. ],
  942. "tags": [
  943. "企业风险管理(app)"
  944. ],
  945. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  946. "parameters": [
  947. {
  948. "type": "integer",
  949. "description": "用户ID",
  950. "name": "userid",
  951. "in": "query",
  952. "required": true
  953. },
  954. {
  955. "type": "string",
  956. "description": "交易日(格式:yyyyMMdd)",
  957. "name": "tradedate",
  958. "in": "query",
  959. "required": true
  960. }
  961. ],
  962. "responses": {
  963. "200": {
  964. "description": "OK",
  965. "schema": {
  966. "type": "array",
  967. "items": {
  968. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  969. }
  970. }
  971. },
  972. "500": {
  973. "description": "Internal Server Error",
  974. "schema": {
  975. "$ref": "#/definitions/app.Response"
  976. }
  977. }
  978. }
  979. }
  980. },
  981. "/Ermcp/QryReportDayFinance": {
  982. "get": {
  983. "security": [
  984. {
  985. "ApiKeyAuth": []
  986. }
  987. ],
  988. "produces": [
  989. "application/json"
  990. ],
  991. "tags": [
  992. "企业风险管理(app)"
  993. ],
  994. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  995. "parameters": [
  996. {
  997. "type": "integer",
  998. "description": "用户ID",
  999. "name": "userid",
  1000. "in": "query",
  1001. "required": true
  1002. },
  1003. {
  1004. "type": "string",
  1005. "description": "交易日(格式:yyyyMMdd)",
  1006. "name": "tradedate",
  1007. "in": "query",
  1008. "required": true
  1009. }
  1010. ],
  1011. "responses": {
  1012. "200": {
  1013. "description": "OK",
  1014. "schema": {
  1015. "type": "array",
  1016. "items": {
  1017. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1018. }
  1019. }
  1020. },
  1021. "500": {
  1022. "description": "Internal Server Error",
  1023. "schema": {
  1024. "$ref": "#/definitions/app.Response"
  1025. }
  1026. }
  1027. }
  1028. }
  1029. },
  1030. "/Ermcp/QryReportDayFinanceFp": {
  1031. "get": {
  1032. "security": [
  1033. {
  1034. "ApiKeyAuth": []
  1035. }
  1036. ],
  1037. "produces": [
  1038. "application/json"
  1039. ],
  1040. "tags": [
  1041. "企业风险管理(app)"
  1042. ],
  1043. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1044. "parameters": [
  1045. {
  1046. "type": "integer",
  1047. "description": "用户ID",
  1048. "name": "userid",
  1049. "in": "query",
  1050. "required": true
  1051. },
  1052. {
  1053. "type": "string",
  1054. "description": "交易日(格式:yyyyMMdd)",
  1055. "name": "tradedate",
  1056. "in": "query",
  1057. "required": true
  1058. }
  1059. ],
  1060. "responses": {
  1061. "200": {
  1062. "description": "OK",
  1063. "schema": {
  1064. "type": "array",
  1065. "items": {
  1066. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1067. }
  1068. }
  1069. },
  1070. "500": {
  1071. "description": "Internal Server Error",
  1072. "schema": {
  1073. "$ref": "#/definitions/app.Response"
  1074. }
  1075. }
  1076. }
  1077. }
  1078. },
  1079. "/Ermcp/QryReportDayFinanceKx": {
  1080. "get": {
  1081. "security": [
  1082. {
  1083. "ApiKeyAuth": []
  1084. }
  1085. ],
  1086. "produces": [
  1087. "application/json"
  1088. ],
  1089. "tags": [
  1090. "企业风险管理(app)"
  1091. ],
  1092. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1093. "parameters": [
  1094. {
  1095. "type": "integer",
  1096. "description": "用户ID",
  1097. "name": "userid",
  1098. "in": "query",
  1099. "required": true
  1100. },
  1101. {
  1102. "type": "string",
  1103. "description": "交易日(格式:yyyyMMdd)",
  1104. "name": "tradedate",
  1105. "in": "query",
  1106. "required": true
  1107. }
  1108. ],
  1109. "responses": {
  1110. "200": {
  1111. "description": "OK",
  1112. "schema": {
  1113. "type": "array",
  1114. "items": {
  1115. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1116. }
  1117. }
  1118. },
  1119. "500": {
  1120. "description": "Internal Server Error",
  1121. "schema": {
  1122. "$ref": "#/definitions/app.Response"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/Ermcp/QryReportDaySpot": {
  1129. "get": {
  1130. "security": [
  1131. {
  1132. "ApiKeyAuth": []
  1133. }
  1134. ],
  1135. "produces": [
  1136. "application/json"
  1137. ],
  1138. "tags": [
  1139. "企业风险管理(app)"
  1140. ],
  1141. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1142. "parameters": [
  1143. {
  1144. "type": "integer",
  1145. "description": "用户ID",
  1146. "name": "userid",
  1147. "in": "query",
  1148. "required": true
  1149. },
  1150. {
  1151. "type": "string",
  1152. "description": "交易日(格式:yyyyMMdd)",
  1153. "name": "tradedate",
  1154. "in": "query",
  1155. "required": true
  1156. }
  1157. ],
  1158. "responses": {
  1159. "200": {
  1160. "description": "OK",
  1161. "schema": {
  1162. "type": "array",
  1163. "items": {
  1164. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1165. }
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/app.Response"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/Ermcp/QryReportDaySpotDetail": {
  1178. "get": {
  1179. "security": [
  1180. {
  1181. "ApiKeyAuth": []
  1182. }
  1183. ],
  1184. "produces": [
  1185. "application/json"
  1186. ],
  1187. "tags": [
  1188. "企业风险管理(app)"
  1189. ],
  1190. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1191. "parameters": [
  1192. {
  1193. "type": "integer",
  1194. "description": "用户ID",
  1195. "name": "userid",
  1196. "in": "query",
  1197. "required": true
  1198. },
  1199. {
  1200. "type": "integer",
  1201. "description": "现货商品id",
  1202. "name": "wrstandardid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "交易日(格式:yyyyMMdd)",
  1209. "name": "tradedate",
  1210. "in": "query",
  1211. "required": true
  1212. }
  1213. ],
  1214. "responses": {
  1215. "200": {
  1216. "description": "OK",
  1217. "schema": {
  1218. "type": "array",
  1219. "items": {
  1220. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1221. }
  1222. }
  1223. },
  1224. "500": {
  1225. "description": "Internal Server Error",
  1226. "schema": {
  1227. "$ref": "#/definitions/app.Response"
  1228. }
  1229. }
  1230. }
  1231. }
  1232. },
  1233. "/Ermcp/QryReportMonthFinance": {
  1234. "get": {
  1235. "security": [
  1236. {
  1237. "ApiKeyAuth": []
  1238. }
  1239. ],
  1240. "produces": [
  1241. "application/json"
  1242. ],
  1243. "tags": [
  1244. "企业风险管理(app)"
  1245. ],
  1246. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1247. "parameters": [
  1248. {
  1249. "type": "integer",
  1250. "description": "用户ID",
  1251. "name": "userid",
  1252. "in": "query",
  1253. "required": true
  1254. },
  1255. {
  1256. "type": "string",
  1257. "description": "周期时间:月(格式:yyyyMM)",
  1258. "name": "cycletime",
  1259. "in": "query",
  1260. "required": true
  1261. }
  1262. ],
  1263. "responses": {
  1264. "200": {
  1265. "description": "OK",
  1266. "schema": {
  1267. "type": "array",
  1268. "items": {
  1269. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1270. }
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Ermcp/QryReportMonthSpot": {
  1283. "get": {
  1284. "security": [
  1285. {
  1286. "ApiKeyAuth": []
  1287. }
  1288. ],
  1289. "produces": [
  1290. "application/json"
  1291. ],
  1292. "tags": [
  1293. "企业风险管理(app)"
  1294. ],
  1295. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1296. "parameters": [
  1297. {
  1298. "type": "integer",
  1299. "description": "用户ID",
  1300. "name": "userid",
  1301. "in": "query",
  1302. "required": true
  1303. },
  1304. {
  1305. "type": "string",
  1306. "description": "周期时间:月(格式:yyyyMM)",
  1307. "name": "cycletime",
  1308. "in": "query",
  1309. "required": true
  1310. }
  1311. ],
  1312. "responses": {
  1313. "200": {
  1314. "description": "OK",
  1315. "schema": {
  1316. "type": "array",
  1317. "items": {
  1318. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1319. }
  1320. }
  1321. },
  1322. "500": {
  1323. "description": "Internal Server Error",
  1324. "schema": {
  1325. "$ref": "#/definitions/app.Response"
  1326. }
  1327. }
  1328. }
  1329. }
  1330. },
  1331. "/Ermcp/QryReportMonthSpotDetail": {
  1332. "get": {
  1333. "security": [
  1334. {
  1335. "ApiKeyAuth": []
  1336. }
  1337. ],
  1338. "produces": [
  1339. "application/json"
  1340. ],
  1341. "tags": [
  1342. "企业风险管理(app)"
  1343. ],
  1344. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1345. "parameters": [
  1346. {
  1347. "type": "integer",
  1348. "description": "用户ID",
  1349. "name": "userid",
  1350. "in": "query",
  1351. "required": true
  1352. },
  1353. {
  1354. "type": "integer",
  1355. "description": "现货商品id",
  1356. "name": "wrstandardid",
  1357. "in": "query",
  1358. "required": true
  1359. },
  1360. {
  1361. "type": "string",
  1362. "description": "周期时间:月(格式:yyyyMM)",
  1363. "name": "cycletime",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAreaStock": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询机构库存(库存管理/当前库存)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "用户ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/models.ErmcpAreaStock"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryAreaStockApply": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询库存申请(出入库记录|库存审核)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "userid",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "string",
  1453. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1454. "name": "inouttype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "合同ID",
  1460. "name": "spotcontractid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "现货商品ID",
  1466. "name": "wrstandardid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "integer",
  1471. "description": "品牌ID",
  1472. "name": "spotgoodsbrandid",
  1473. "in": "query"
  1474. },
  1475. {
  1476. "type": "integer",
  1477. "description": "型号ID",
  1478. "name": "spotgoodsmodelid",
  1479. "in": "query"
  1480. },
  1481. {
  1482. "type": "integer",
  1483. "description": "仓库ID",
  1484. "name": "warehouseinfoid",
  1485. "in": "query"
  1486. },
  1487. {
  1488. "type": "string",
  1489. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1490. "name": "applystatus",
  1491. "in": "query"
  1492. }
  1493. ],
  1494. "responses": {
  1495. "200": {
  1496. "description": "OK",
  1497. "schema": {
  1498. "type": "array",
  1499. "items": {
  1500. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1501. }
  1502. }
  1503. },
  1504. "500": {
  1505. "description": "Internal Server Error",
  1506. "schema": {
  1507. "$ref": "#/definitions/app.Response"
  1508. }
  1509. }
  1510. }
  1511. }
  1512. },
  1513. "/Ermcp/QueryAreaStockApplySum": {
  1514. "get": {
  1515. "security": [
  1516. {
  1517. "ApiKeyAuth": []
  1518. }
  1519. ],
  1520. "produces": [
  1521. "application/json"
  1522. ],
  1523. "tags": [
  1524. "企业风险管理(app)"
  1525. ],
  1526. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1527. "parameters": [
  1528. {
  1529. "type": "integer",
  1530. "description": "合同ID",
  1531. "name": "spotcontractid",
  1532. "in": "query"
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "type": "array",
  1540. "items": {
  1541. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1542. }
  1543. }
  1544. },
  1545. "500": {
  1546. "description": "Internal Server Error",
  1547. "schema": {
  1548. "$ref": "#/definitions/app.Response"
  1549. }
  1550. }
  1551. }
  1552. }
  1553. },
  1554. "/Ermcp/QueryAreaStockReport": {
  1555. "get": {
  1556. "security": [
  1557. {
  1558. "ApiKeyAuth": []
  1559. }
  1560. ],
  1561. "produces": [
  1562. "application/json"
  1563. ],
  1564. "tags": [
  1565. "企业风险管理(app)"
  1566. ],
  1567. "summary": "查询库存报表",
  1568. "parameters": [
  1569. {
  1570. "type": "integer",
  1571. "description": "用户ID",
  1572. "name": "userid",
  1573. "in": "query",
  1574. "required": true
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "查询类型 1-日报表 2-月报表",
  1579. "name": "querytype",
  1580. "in": "query",
  1581. "required": true
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1586. "name": "querydate",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "现货商品ID",
  1593. "name": "wrstandardid",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "integer",
  1598. "description": "品牌ID",
  1599. "name": "spotgoodsbrandid",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "integer",
  1604. "description": "型号ID",
  1605. "name": "spotgoodsmodelid",
  1606. "in": "query"
  1607. },
  1608. {
  1609. "type": "integer",
  1610. "description": "仓库ID",
  1611. "name": "warehouseinfoid",
  1612. "in": "query"
  1613. }
  1614. ],
  1615. "responses": {
  1616. "200": {
  1617. "description": "OK",
  1618. "schema": {
  1619. "type": "array",
  1620. "items": {
  1621. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1622. }
  1623. }
  1624. },
  1625. "500": {
  1626. "description": "Internal Server Error",
  1627. "schema": {
  1628. "$ref": "#/definitions/app.Response"
  1629. }
  1630. }
  1631. }
  1632. }
  1633. },
  1634. "/Ermcp/QueryAreaStockReportDetail": {
  1635. "get": {
  1636. "security": [
  1637. {
  1638. "ApiKeyAuth": []
  1639. }
  1640. ],
  1641. "produces": [
  1642. "application/json"
  1643. ],
  1644. "tags": [
  1645. "企业风险管理(app)"
  1646. ],
  1647. "summary": "查询库存报表明细",
  1648. "parameters": [
  1649. {
  1650. "type": "integer",
  1651. "description": "用户ID",
  1652. "name": "userid",
  1653. "in": "query",
  1654. "required": true
  1655. },
  1656. {
  1657. "type": "integer",
  1658. "description": "查询类型 1-日报表明细 2-月报表明细",
  1659. "name": "querytype",
  1660. "in": "query",
  1661. "required": true
  1662. },
  1663. {
  1664. "type": "integer",
  1665. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1666. "name": "detailtype",
  1667. "in": "query",
  1668. "required": true
  1669. },
  1670. {
  1671. "type": "string",
  1672. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1673. "name": "querydate",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "现货商品ID",
  1680. "name": "wrstandardid",
  1681. "in": "query"
  1682. },
  1683. {
  1684. "type": "integer",
  1685. "description": "品牌ID",
  1686. "name": "spotgoodsbrandid",
  1687. "in": "query"
  1688. },
  1689. {
  1690. "type": "integer",
  1691. "description": "型号ID",
  1692. "name": "spotgoodsmodelid",
  1693. "in": "query"
  1694. },
  1695. {
  1696. "type": "integer",
  1697. "description": "仓库ID",
  1698. "name": "warehouseinfoid",
  1699. "in": "query"
  1700. }
  1701. ],
  1702. "responses": {
  1703. "200": {
  1704. "description": "OK",
  1705. "schema": {
  1706. "type": "array",
  1707. "items": {
  1708. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1709. }
  1710. }
  1711. },
  1712. "500": {
  1713. "description": "Internal Server Error",
  1714. "schema": {
  1715. "$ref": "#/definitions/app.Response"
  1716. }
  1717. }
  1718. }
  1719. }
  1720. },
  1721. "/Ermcp/QueryAvaildGoodsGroup": {
  1722. "get": {
  1723. "security": [
  1724. {
  1725. "ApiKeyAuth": []
  1726. }
  1727. ],
  1728. "produces": [
  1729. "application/json"
  1730. ],
  1731. "tags": [
  1732. "企业风险管理(app)"
  1733. ],
  1734. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1735. "parameters": [
  1736. {
  1737. "type": "integer",
  1738. "description": "所属机构ID",
  1739. "name": "userid",
  1740. "in": "query",
  1741. "required": true
  1742. }
  1743. ],
  1744. "responses": {
  1745. "200": {
  1746. "description": "OK",
  1747. "schema": {
  1748. "type": "array",
  1749. "items": {
  1750. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1751. }
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryBusinessDj": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "用户ID",
  1781. "name": "UserId",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "string",
  1787. "description": "现货合同ID, 不填则查所有",
  1788. "name": "relatedid",
  1789. "in": "query"
  1790. }
  1791. ],
  1792. "responses": {
  1793. "200": {
  1794. "description": "OK",
  1795. "schema": {
  1796. "type": "array",
  1797. "items": {
  1798. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1799. }
  1800. }
  1801. },
  1802. "500": {
  1803. "description": "Internal Server Error",
  1804. "schema": {
  1805. "$ref": "#/definitions/app.Response"
  1806. }
  1807. }
  1808. }
  1809. }
  1810. },
  1811. "/Ermcp/QueryBusinessFp": {
  1812. "get": {
  1813. "security": [
  1814. {
  1815. "ApiKeyAuth": []
  1816. }
  1817. ],
  1818. "produces": [
  1819. "application/json"
  1820. ],
  1821. "tags": [
  1822. "企业风险管理(app)"
  1823. ],
  1824. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1825. "parameters": [
  1826. {
  1827. "type": "integer",
  1828. "description": "用户ID",
  1829. "name": "UserId",
  1830. "in": "query",
  1831. "required": true
  1832. },
  1833. {
  1834. "type": "string",
  1835. "description": "现货合同ID, 不填则查所有",
  1836. "name": "relatedid",
  1837. "in": "query"
  1838. }
  1839. ],
  1840. "responses": {
  1841. "200": {
  1842. "description": "OK",
  1843. "schema": {
  1844. "type": "array",
  1845. "items": {
  1846. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1847. }
  1848. }
  1849. },
  1850. "500": {
  1851. "description": "Internal Server Error",
  1852. "schema": {
  1853. "$ref": "#/definitions/app.Response"
  1854. }
  1855. }
  1856. }
  1857. }
  1858. },
  1859. "/Ermcp/QueryBusinessJs": {
  1860. "get": {
  1861. "security": [
  1862. {
  1863. "ApiKeyAuth": []
  1864. }
  1865. ],
  1866. "produces": [
  1867. "application/json"
  1868. ],
  1869. "tags": [
  1870. "企业风险管理(app)"
  1871. ],
  1872. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1873. "parameters": [
  1874. {
  1875. "type": "integer",
  1876. "description": "用户ID",
  1877. "name": "UserId",
  1878. "in": "query",
  1879. "required": true
  1880. },
  1881. {
  1882. "type": "string",
  1883. "description": "现货合同ID, 不填则查所有",
  1884. "name": "relatedid",
  1885. "in": "query"
  1886. },
  1887. {
  1888. "type": "string",
  1889. "description": "操作申请id",
  1890. "name": "operateapplyid",
  1891. "in": "query"
  1892. }
  1893. ],
  1894. "responses": {
  1895. "200": {
  1896. "description": "OK",
  1897. "schema": {
  1898. "type": "array",
  1899. "items": {
  1900. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1901. }
  1902. }
  1903. },
  1904. "500": {
  1905. "description": "Internal Server Error",
  1906. "schema": {
  1907. "$ref": "#/definitions/app.Response"
  1908. }
  1909. }
  1910. }
  1911. }
  1912. },
  1913. "/Ermcp/QueryBusinessJsEx": {
  1914. "get": {
  1915. "security": [
  1916. {
  1917. "ApiKeyAuth": []
  1918. }
  1919. ],
  1920. "produces": [
  1921. "application/json"
  1922. ],
  1923. "tags": [
  1924. "企业风险管理(app)"
  1925. ],
  1926. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1927. "parameters": [
  1928. {
  1929. "type": "integer",
  1930. "description": "用户ID",
  1931. "name": "UserId",
  1932. "in": "query",
  1933. "required": true
  1934. },
  1935. {
  1936. "type": "string",
  1937. "description": "现货合同ID, 不填则查所有",
  1938. "name": "relatedid",
  1939. "in": "query"
  1940. }
  1941. ],
  1942. "responses": {
  1943. "200": {
  1944. "description": "OK",
  1945. "schema": {
  1946. "type": "array",
  1947. "items": {
  1948. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1949. }
  1950. }
  1951. },
  1952. "500": {
  1953. "description": "Internal Server Error",
  1954. "schema": {
  1955. "$ref": "#/definitions/app.Response"
  1956. }
  1957. }
  1958. }
  1959. }
  1960. },
  1961. "/Ermcp/QueryBusinessKx": {
  1962. "get": {
  1963. "security": [
  1964. {
  1965. "ApiKeyAuth": []
  1966. }
  1967. ],
  1968. "produces": [
  1969. "application/json"
  1970. ],
  1971. "tags": [
  1972. "企业风险管理(app)"
  1973. ],
  1974. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1975. "parameters": [
  1976. {
  1977. "type": "integer",
  1978. "description": "用户ID",
  1979. "name": "UserId",
  1980. "in": "query",
  1981. "required": true
  1982. },
  1983. {
  1984. "type": "string",
  1985. "description": "现货合同ID, 不填则查所有",
  1986. "name": "relatedid",
  1987. "in": "query"
  1988. }
  1989. ],
  1990. "responses": {
  1991. "200": {
  1992. "description": "OK",
  1993. "schema": {
  1994. "type": "array",
  1995. "items": {
  1996. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1997. }
  1998. }
  1999. },
  2000. "500": {
  2001. "description": "Internal Server Error",
  2002. "schema": {
  2003. "$ref": "#/definitions/app.Response"
  2004. }
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "/Ermcp/QueryChangeLog": {
  2010. "get": {
  2011. "security": [
  2012. {
  2013. "ApiKeyAuth": []
  2014. }
  2015. ],
  2016. "produces": [
  2017. "application/json"
  2018. ],
  2019. "tags": [
  2020. "企业风险管理(app)"
  2021. ],
  2022. "summary": "查询变更记录",
  2023. "parameters": [
  2024. {
  2025. "type": "string",
  2026. "description": "合同ID",
  2027. "name": "RelatedId",
  2028. "in": "query",
  2029. "required": true
  2030. }
  2031. ],
  2032. "responses": {
  2033. "200": {
  2034. "description": "OK",
  2035. "schema": {
  2036. "type": "array",
  2037. "items": {
  2038. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2039. }
  2040. }
  2041. },
  2042. "500": {
  2043. "description": "Internal Server Error",
  2044. "schema": {
  2045. "$ref": "#/definitions/app.Response"
  2046. }
  2047. }
  2048. }
  2049. }
  2050. },
  2051. "/Ermcp/QueryContract": {
  2052. "get": {
  2053. "security": [
  2054. {
  2055. "ApiKeyAuth": []
  2056. }
  2057. ],
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "查询合同(采购和销售)",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "用户ID",
  2069. "name": "userId",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "合同类型 1-采购, -1-销售",
  2076. "name": "contracttype",
  2077. "in": "query",
  2078. "required": true
  2079. },
  2080. {
  2081. "type": "integer",
  2082. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2083. "name": "querytype",
  2084. "in": "query",
  2085. "required": true
  2086. },
  2087. {
  2088. "type": "string",
  2089. "description": "合同ID(SpotContractId)",
  2090. "name": "contractid",
  2091. "in": "query"
  2092. }
  2093. ],
  2094. "responses": {
  2095. "200": {
  2096. "description": "OK",
  2097. "schema": {
  2098. "type": "array",
  2099. "items": {
  2100. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2101. }
  2102. }
  2103. },
  2104. "500": {
  2105. "description": "Internal Server Error",
  2106. "schema": {
  2107. "$ref": "#/definitions/app.Response"
  2108. }
  2109. }
  2110. }
  2111. }
  2112. },
  2113. "/Ermcp/QueryErmcpHisOrderDetails": {
  2114. "get": {
  2115. "security": [
  2116. {
  2117. "ApiKeyAuth": []
  2118. }
  2119. ],
  2120. "produces": [
  2121. "application/json"
  2122. ],
  2123. "tags": [
  2124. "企业风险管理(app)"
  2125. ],
  2126. "summary": "获取企业风管期货历史委托单信息",
  2127. "parameters": [
  2128. {
  2129. "type": "integer",
  2130. "description": "资金账户ID",
  2131. "name": "accountID",
  2132. "in": "query",
  2133. "required": true
  2134. },
  2135. {
  2136. "type": "string",
  2137. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2138. "name": "startDate",
  2139. "in": "query"
  2140. },
  2141. {
  2142. "type": "string",
  2143. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2144. "name": "endDate",
  2145. "in": "query"
  2146. }
  2147. ],
  2148. "responses": {
  2149. "200": {
  2150. "description": "OK",
  2151. "schema": {
  2152. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryErmcpHisTradeDetails": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "获取企业风管期货历史成交单信息",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "资金账户ID",
  2182. "name": "accountID",
  2183. "in": "query",
  2184. "required": true
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "商品ID",
  2189. "name": "goodsID",
  2190. "in": "query"
  2191. },
  2192. {
  2193. "type": "integer",
  2194. "description": "买卖方向,0:买 1:卖",
  2195. "name": "buyOrSell",
  2196. "in": "query"
  2197. },
  2198. {
  2199. "type": "integer",
  2200. "description": "关联委托单号",
  2201. "name": "orderID",
  2202. "in": "query"
  2203. },
  2204. {
  2205. "type": "string",
  2206. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2207. "name": "startDate",
  2208. "in": "query"
  2209. },
  2210. {
  2211. "type": "string",
  2212. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2213. "name": "endDate",
  2214. "in": "query"
  2215. }
  2216. ],
  2217. "responses": {
  2218. "200": {
  2219. "description": "OK",
  2220. "schema": {
  2221. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2222. }
  2223. },
  2224. "500": {
  2225. "description": "Internal Server Error",
  2226. "schema": {
  2227. "$ref": "#/definitions/app.Response"
  2228. }
  2229. }
  2230. }
  2231. }
  2232. },
  2233. "/Ermcp/QueryErmcpOrderDetails": {
  2234. "get": {
  2235. "security": [
  2236. {
  2237. "ApiKeyAuth": []
  2238. }
  2239. ],
  2240. "produces": [
  2241. "application/json"
  2242. ],
  2243. "tags": [
  2244. "企业风险管理(app)"
  2245. ],
  2246. "summary": "获取企业风管期货委托单信息",
  2247. "parameters": [
  2248. {
  2249. "type": "integer",
  2250. "description": "资金账户ID",
  2251. "name": "accountID",
  2252. "in": "query",
  2253. "required": true
  2254. }
  2255. ],
  2256. "responses": {
  2257. "200": {
  2258. "description": "OK",
  2259. "schema": {
  2260. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryErmcpTradeDetails": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "获取企业风管期货成交单信息",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "资金账户ID",
  2290. "name": "accountID",
  2291. "in": "query",
  2292. "required": true
  2293. },
  2294. {
  2295. "type": "integer",
  2296. "description": "商品ID",
  2297. "name": "goodsID",
  2298. "in": "query"
  2299. },
  2300. {
  2301. "type": "integer",
  2302. "description": "买卖方向,0:买 1:卖",
  2303. "name": "buyOrSell",
  2304. "in": "query"
  2305. },
  2306. {
  2307. "type": "integer",
  2308. "description": "关联委托单号",
  2309. "name": "orderID",
  2310. "in": "query"
  2311. }
  2312. ],
  2313. "responses": {
  2314. "200": {
  2315. "description": "OK",
  2316. "schema": {
  2317. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2318. }
  2319. },
  2320. "500": {
  2321. "description": "Internal Server Error",
  2322. "schema": {
  2323. "$ref": "#/definitions/app.Response"
  2324. }
  2325. }
  2326. }
  2327. }
  2328. },
  2329. "/Ermcp/QueryErmcpTradePosition": {
  2330. "get": {
  2331. "security": [
  2332. {
  2333. "ApiKeyAuth": []
  2334. }
  2335. ],
  2336. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "获取企业风管期货持仓头寸信息",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "资金账户ID",
  2348. "name": "accountID",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "所属市场ID",
  2355. "name": "marketID",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2364. }
  2365. },
  2366. "500": {
  2367. "description": "Internal Server Error",
  2368. "schema": {
  2369. "$ref": "#/definitions/app.Response"
  2370. }
  2371. }
  2372. }
  2373. }
  2374. },
  2375. "/Ermcp/QueryExposureDetail": {
  2376. "get": {
  2377. "security": [
  2378. {
  2379. "ApiKeyAuth": []
  2380. }
  2381. ],
  2382. "produces": [
  2383. "application/json"
  2384. ],
  2385. "tags": [
  2386. "企业风险管理(app)"
  2387. ],
  2388. "summary": "查询敞口现货明细",
  2389. "parameters": [
  2390. {
  2391. "type": "integer",
  2392. "description": "所属机构ID",
  2393. "name": "areaUserId",
  2394. "in": "query",
  2395. "required": true
  2396. },
  2397. {
  2398. "type": "integer",
  2399. "description": "套保商品",
  2400. "name": "middleGoodsId",
  2401. "in": "query",
  2402. "required": true
  2403. }
  2404. ],
  2405. "responses": {
  2406. "200": {
  2407. "description": "OK",
  2408. "schema": {
  2409. "type": "array",
  2410. "items": {
  2411. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2412. }
  2413. }
  2414. },
  2415. "500": {
  2416. "description": "Internal Server Error",
  2417. "schema": {
  2418. "$ref": "#/definitions/app.Response"
  2419. }
  2420. }
  2421. }
  2422. }
  2423. },
  2424. "/Ermcp/QueryExposureHedgePosition": {
  2425. "get": {
  2426. "security": [
  2427. {
  2428. "ApiKeyAuth": []
  2429. }
  2430. ],
  2431. "produces": [
  2432. "application/json"
  2433. ],
  2434. "tags": [
  2435. "企业风险管理(app)"
  2436. ],
  2437. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2438. "parameters": [
  2439. {
  2440. "type": "integer",
  2441. "description": "所属机构ID",
  2442. "name": "areaUserId",
  2443. "in": "query",
  2444. "required": true
  2445. }
  2446. ],
  2447. "responses": {
  2448. "200": {
  2449. "description": "OK",
  2450. "schema": {
  2451. "type": "array",
  2452. "items": {
  2453. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2454. }
  2455. }
  2456. },
  2457. "500": {
  2458. "description": "Internal Server Error",
  2459. "schema": {
  2460. "$ref": "#/definitions/app.Response"
  2461. }
  2462. }
  2463. }
  2464. }
  2465. },
  2466. "/Ermcp/QueryExposureHedgePositionDetail": {
  2467. "get": {
  2468. "security": [
  2469. {
  2470. "ApiKeyAuth": []
  2471. }
  2472. ],
  2473. "produces": [
  2474. "application/json"
  2475. ],
  2476. "tags": [
  2477. "企业风险管理(app)"
  2478. ],
  2479. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2480. "parameters": [
  2481. {
  2482. "type": "integer",
  2483. "description": "所属机构ID",
  2484. "name": "areaUserId",
  2485. "in": "query",
  2486. "required": true
  2487. },
  2488. {
  2489. "type": "integer",
  2490. "description": "商品id",
  2491. "name": "goodsId",
  2492. "in": "query",
  2493. "required": true
  2494. }
  2495. ],
  2496. "responses": {
  2497. "200": {
  2498. "description": "OK",
  2499. "schema": {
  2500. "type": "array",
  2501. "items": {
  2502. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2503. }
  2504. }
  2505. },
  2506. "500": {
  2507. "description": "Internal Server Error",
  2508. "schema": {
  2509. "$ref": "#/definitions/app.Response"
  2510. }
  2511. }
  2512. }
  2513. }
  2514. },
  2515. "/Ermcp/QueryExposureSpot": {
  2516. "get": {
  2517. "security": [
  2518. {
  2519. "ApiKeyAuth": []
  2520. }
  2521. ],
  2522. "produces": [
  2523. "application/json"
  2524. ],
  2525. "tags": [
  2526. "企业风险管理(app)"
  2527. ],
  2528. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2529. "parameters": [
  2530. {
  2531. "type": "integer",
  2532. "description": "所属机构ID",
  2533. "name": "areaUserId",
  2534. "in": "query",
  2535. "required": true
  2536. }
  2537. ],
  2538. "responses": {
  2539. "200": {
  2540. "description": "OK",
  2541. "schema": {
  2542. "type": "array",
  2543. "items": {
  2544. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2545. }
  2546. }
  2547. },
  2548. "500": {
  2549. "description": "Internal Server Error",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. }
  2554. }
  2555. }
  2556. },
  2557. "/Ermcp/QueryExposureSpotDetail": {
  2558. "get": {
  2559. "security": [
  2560. {
  2561. "ApiKeyAuth": []
  2562. }
  2563. ],
  2564. "produces": [
  2565. "application/json"
  2566. ],
  2567. "tags": [
  2568. "企业风险管理(app)"
  2569. ],
  2570. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2571. "parameters": [
  2572. {
  2573. "type": "integer",
  2574. "description": "所属机构ID",
  2575. "name": "areaUserId",
  2576. "in": "query",
  2577. "required": true
  2578. },
  2579. {
  2580. "type": "integer",
  2581. "description": "现货品种ID",
  2582. "name": "wrstandardId",
  2583. "in": "query",
  2584. "required": true
  2585. }
  2586. ],
  2587. "responses": {
  2588. "200": {
  2589. "description": "OK",
  2590. "schema": {
  2591. "type": "array",
  2592. "items": {
  2593. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2594. }
  2595. }
  2596. },
  2597. "500": {
  2598. "description": "Internal Server Error",
  2599. "schema": {
  2600. "$ref": "#/definitions/app.Response"
  2601. }
  2602. }
  2603. }
  2604. }
  2605. },
  2606. "/Ermcp/QueryGGConvertConfig": {
  2607. "get": {
  2608. "security": [
  2609. {
  2610. "ApiKeyAuth": []
  2611. }
  2612. ],
  2613. "produces": [
  2614. "application/json"
  2615. ],
  2616. "tags": [
  2617. "企业风险管理(app)"
  2618. ],
  2619. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2620. "parameters": [
  2621. {
  2622. "type": "integer",
  2623. "description": "品种id(不填则查所有)",
  2624. "name": "goodsgroupid",
  2625. "in": "query"
  2626. }
  2627. ],
  2628. "responses": {
  2629. "200": {
  2630. "description": "OK",
  2631. "schema": {
  2632. "type": "array",
  2633. "items": {
  2634. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2635. }
  2636. }
  2637. },
  2638. "500": {
  2639. "description": "Internal Server Error",
  2640. "schema": {
  2641. "$ref": "#/definitions/app.Response"
  2642. }
  2643. }
  2644. }
  2645. }
  2646. },
  2647. "/Ermcp/QueryGoodsBrand": {
  2648. "get": {
  2649. "security": [
  2650. {
  2651. "ApiKeyAuth": []
  2652. }
  2653. ],
  2654. "produces": [
  2655. "application/json"
  2656. ],
  2657. "tags": [
  2658. "企业风险管理(app)"
  2659. ],
  2660. "summary": "查询商品品牌",
  2661. "parameters": [
  2662. {
  2663. "type": "integer",
  2664. "description": "用户ID",
  2665. "name": "userid",
  2666. "in": "query",
  2667. "required": true
  2668. },
  2669. {
  2670. "type": "integer",
  2671. "description": "现货商品ID",
  2672. "name": "wrstandardid",
  2673. "in": "query"
  2674. }
  2675. ],
  2676. "responses": {
  2677. "200": {
  2678. "description": "OK",
  2679. "schema": {
  2680. "type": "array",
  2681. "items": {
  2682. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2683. }
  2684. }
  2685. },
  2686. "500": {
  2687. "description": "Internal Server Error",
  2688. "schema": {
  2689. "$ref": "#/definitions/app.Response"
  2690. }
  2691. }
  2692. }
  2693. }
  2694. },
  2695. "/Ermcp/QueryGoodsModel": {
  2696. "get": {
  2697. "security": [
  2698. {
  2699. "ApiKeyAuth": []
  2700. }
  2701. ],
  2702. "produces": [
  2703. "application/json"
  2704. ],
  2705. "tags": [
  2706. "企业风险管理(app)"
  2707. ],
  2708. "summary": "查询商品型号",
  2709. "parameters": [
  2710. {
  2711. "type": "integer",
  2712. "description": "用户ID",
  2713. "name": "userid",
  2714. "in": "query",
  2715. "required": true
  2716. }
  2717. ],
  2718. "responses": {
  2719. "200": {
  2720. "description": "OK",
  2721. "schema": {
  2722. "type": "array",
  2723. "items": {
  2724. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2725. }
  2726. }
  2727. },
  2728. "500": {
  2729. "description": "Internal Server Error",
  2730. "schema": {
  2731. "$ref": "#/definitions/app.Response"
  2732. }
  2733. }
  2734. }
  2735. }
  2736. },
  2737. "/Ermcp/QueryHedgePlan": {
  2738. "get": {
  2739. "security": [
  2740. {
  2741. "ApiKeyAuth": []
  2742. }
  2743. ],
  2744. "produces": [
  2745. "application/json"
  2746. ],
  2747. "tags": [
  2748. "企业风险管理(app)"
  2749. ],
  2750. "summary": "查询套保计划",
  2751. "parameters": [
  2752. {
  2753. "type": "integer",
  2754. "description": "用户ID",
  2755. "name": "userId",
  2756. "in": "query",
  2757. "required": true
  2758. },
  2759. {
  2760. "type": "string",
  2761. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2762. "name": "HedgePlanStatus",
  2763. "in": "query",
  2764. "required": true
  2765. }
  2766. ],
  2767. "responses": {
  2768. "200": {
  2769. "description": "OK",
  2770. "schema": {
  2771. "type": "array",
  2772. "items": {
  2773. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2774. }
  2775. }
  2776. },
  2777. "500": {
  2778. "description": "Internal Server Error",
  2779. "schema": {
  2780. "$ref": "#/definitions/app.Response"
  2781. }
  2782. }
  2783. }
  2784. }
  2785. },
  2786. "/Ermcp/QueryHisExposure": {
  2787. "get": {
  2788. "security": [
  2789. {
  2790. "ApiKeyAuth": []
  2791. }
  2792. ],
  2793. "produces": [
  2794. "application/json"
  2795. ],
  2796. "tags": [
  2797. "企业风险管理(app)"
  2798. ],
  2799. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2800. "parameters": [
  2801. {
  2802. "type": "integer",
  2803. "description": "所属机构ID",
  2804. "name": "areaUserId",
  2805. "in": "query",
  2806. "required": true
  2807. },
  2808. {
  2809. "type": "integer",
  2810. "description": "每个品种记录数",
  2811. "name": "lastNum",
  2812. "in": "query",
  2813. "required": true
  2814. }
  2815. ],
  2816. "responses": {
  2817. "200": {
  2818. "description": "OK",
  2819. "schema": {
  2820. "type": "array",
  2821. "items": {
  2822. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2823. }
  2824. }
  2825. },
  2826. "500": {
  2827. "description": "Internal Server Error",
  2828. "schema": {
  2829. "$ref": "#/definitions/app.Response"
  2830. }
  2831. }
  2832. }
  2833. }
  2834. },
  2835. "/Ermcp/QueryMiddleGoods": {
  2836. "get": {
  2837. "security": [
  2838. {
  2839. "ApiKeyAuth": []
  2840. }
  2841. ],
  2842. "produces": [
  2843. "application/json"
  2844. ],
  2845. "tags": [
  2846. "企业风险管理(app)"
  2847. ],
  2848. "summary": "查询套保品种(菜单:套保品种)",
  2849. "parameters": [
  2850. {
  2851. "type": "integer",
  2852. "description": "所属机构ID",
  2853. "name": "userid",
  2854. "in": "query",
  2855. "required": true
  2856. },
  2857. {
  2858. "type": "integer",
  2859. "description": "状态 0-停用 1-正常",
  2860. "name": "status",
  2861. "in": "query",
  2862. "required": true
  2863. }
  2864. ],
  2865. "responses": {
  2866. "200": {
  2867. "description": "OK",
  2868. "schema": {
  2869. "type": "array",
  2870. "items": {
  2871. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2872. }
  2873. }
  2874. },
  2875. "500": {
  2876. "description": "Internal Server Error",
  2877. "schema": {
  2878. "$ref": "#/definitions/app.Response"
  2879. }
  2880. }
  2881. }
  2882. }
  2883. },
  2884. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2885. "get": {
  2886. "security": [
  2887. {
  2888. "ApiKeyAuth": []
  2889. }
  2890. ],
  2891. "produces": [
  2892. "application/json"
  2893. ],
  2894. "tags": [
  2895. "企业风险管理(app)"
  2896. ],
  2897. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2898. "parameters": [
  2899. {
  2900. "type": "integer",
  2901. "description": "所属机构ID",
  2902. "name": "userid",
  2903. "in": "query",
  2904. "required": true
  2905. },
  2906. {
  2907. "type": "integer",
  2908. "description": "套保品种id",
  2909. "name": "middlegoodsid",
  2910. "in": "query",
  2911. "required": true
  2912. }
  2913. ],
  2914. "responses": {
  2915. "200": {
  2916. "description": "OK",
  2917. "schema": {
  2918. "type": "array",
  2919. "items": {
  2920. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2921. }
  2922. }
  2923. },
  2924. "500": {
  2925. "description": "Internal Server Error",
  2926. "schema": {
  2927. "$ref": "#/definitions/app.Response"
  2928. }
  2929. }
  2930. }
  2931. }
  2932. },
  2933. "/Ermcp/QueryMiddleGoodsDetail": {
  2934. "get": {
  2935. "security": [
  2936. {
  2937. "ApiKeyAuth": []
  2938. }
  2939. ],
  2940. "produces": [
  2941. "application/json"
  2942. ],
  2943. "tags": [
  2944. "企业风险管理(app)"
  2945. ],
  2946. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2947. "parameters": [
  2948. {
  2949. "type": "integer",
  2950. "description": "所属机构ID",
  2951. "name": "userid",
  2952. "in": "query",
  2953. "required": true
  2954. },
  2955. {
  2956. "type": "integer",
  2957. "description": "套保品种id",
  2958. "name": "middlegoodsid",
  2959. "in": "query",
  2960. "required": true
  2961. }
  2962. ],
  2963. "responses": {
  2964. "200": {
  2965. "description": "OK",
  2966. "schema": {
  2967. "type": "array",
  2968. "items": {
  2969. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2970. }
  2971. }
  2972. },
  2973. "500": {
  2974. "description": "Internal Server Error",
  2975. "schema": {
  2976. "$ref": "#/definitions/app.Response"
  2977. }
  2978. }
  2979. }
  2980. }
  2981. },
  2982. "/Ermcp/QueryPendingAuditInfo": {
  2983. "get": {
  2984. "security": [
  2985. {
  2986. "ApiKeyAuth": []
  2987. }
  2988. ],
  2989. "produces": [
  2990. "application/json"
  2991. ],
  2992. "tags": [
  2993. "企业风险管理(app)"
  2994. ],
  2995. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2996. "parameters": [
  2997. {
  2998. "type": "integer",
  2999. "description": "用户ID",
  3000. "name": "UserId",
  3001. "in": "query",
  3002. "required": true
  3003. }
  3004. ],
  3005. "responses": {
  3006. "200": {
  3007. "description": "OK",
  3008. "schema": {
  3009. "type": "array",
  3010. "items": {
  3011. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3012. }
  3013. }
  3014. },
  3015. "500": {
  3016. "description": "Internal Server Error",
  3017. "schema": {
  3018. "$ref": "#/definitions/app.Response"
  3019. }
  3020. }
  3021. }
  3022. }
  3023. },
  3024. "/Ermcp/QueryRealtimeExposure": {
  3025. "get": {
  3026. "security": [
  3027. {
  3028. "ApiKeyAuth": []
  3029. }
  3030. ],
  3031. "produces": [
  3032. "application/json"
  3033. ],
  3034. "tags": [
  3035. "企业风险管理(app)"
  3036. ],
  3037. "summary": "查询实时敞口",
  3038. "parameters": [
  3039. {
  3040. "type": "integer",
  3041. "description": "所属机构ID",
  3042. "name": "AreaUserID",
  3043. "in": "query",
  3044. "required": true
  3045. }
  3046. ],
  3047. "responses": {
  3048. "200": {
  3049. "description": "OK",
  3050. "schema": {
  3051. "type": "array",
  3052. "items": {
  3053. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3054. }
  3055. }
  3056. },
  3057. "500": {
  3058. "description": "Internal Server Error",
  3059. "schema": {
  3060. "$ref": "#/definitions/app.Response"
  3061. }
  3062. }
  3063. }
  3064. }
  3065. },
  3066. "/Ermcp/QueryRealtimeExposurePosition": {
  3067. "get": {
  3068. "security": [
  3069. {
  3070. "ApiKeyAuth": []
  3071. }
  3072. ],
  3073. "produces": [
  3074. "application/json"
  3075. ],
  3076. "tags": [
  3077. "企业风险管理(app)"
  3078. ],
  3079. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3080. "parameters": [
  3081. {
  3082. "type": "integer",
  3083. "description": "所属机构ID",
  3084. "name": "areaUserId",
  3085. "in": "query",
  3086. "required": true
  3087. },
  3088. {
  3089. "type": "integer",
  3090. "description": "套保商品ID",
  3091. "name": "middleGoodsId",
  3092. "in": "query",
  3093. "required": true
  3094. }
  3095. ],
  3096. "responses": {
  3097. "200": {
  3098. "description": "OK",
  3099. "schema": {
  3100. "type": "array",
  3101. "items": {
  3102. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3103. }
  3104. }
  3105. },
  3106. "500": {
  3107. "description": "Internal Server Error",
  3108. "schema": {
  3109. "$ref": "#/definitions/app.Response"
  3110. }
  3111. }
  3112. }
  3113. }
  3114. },
  3115. "/Ermcp/QuerySpotContract": {
  3116. "get": {
  3117. "security": [
  3118. {
  3119. "ApiKeyAuth": []
  3120. }
  3121. ],
  3122. "produces": [
  3123. "application/json"
  3124. ],
  3125. "tags": [
  3126. "企业风险管理(app)"
  3127. ],
  3128. "summary": "查询现货合同(对应现货合同菜单)",
  3129. "parameters": [
  3130. {
  3131. "type": "integer",
  3132. "description": "用户ID",
  3133. "name": "userId",
  3134. "in": "query",
  3135. "required": true
  3136. },
  3137. {
  3138. "type": "integer",
  3139. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3140. "name": "QueryType",
  3141. "in": "query",
  3142. "required": true
  3143. }
  3144. ],
  3145. "responses": {
  3146. "200": {
  3147. "description": "OK",
  3148. "schema": {
  3149. "type": "array",
  3150. "items": {
  3151. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3152. }
  3153. }
  3154. },
  3155. "500": {
  3156. "description": "Internal Server Error",
  3157. "schema": {
  3158. "$ref": "#/definitions/app.Response"
  3159. }
  3160. }
  3161. }
  3162. }
  3163. },
  3164. "/Ermcp/QueryUserInfo": {
  3165. "get": {
  3166. "security": [
  3167. {
  3168. "ApiKeyAuth": []
  3169. }
  3170. ],
  3171. "produces": [
  3172. "application/json"
  3173. ],
  3174. "tags": [
  3175. "企业风险管理(app)"
  3176. ],
  3177. "summary": "查询客户资料",
  3178. "parameters": [
  3179. {
  3180. "type": "integer",
  3181. "description": "所属机构用户ID",
  3182. "name": "MemberUserID",
  3183. "in": "query",
  3184. "required": true
  3185. },
  3186. {
  3187. "type": "integer",
  3188. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3189. "name": "queryType",
  3190. "in": "query",
  3191. "required": true
  3192. }
  3193. ],
  3194. "responses": {
  3195. "200": {
  3196. "description": "OK",
  3197. "schema": {
  3198. "type": "array",
  3199. "items": {
  3200. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3201. }
  3202. }
  3203. },
  3204. "500": {
  3205. "description": "Internal Server Error",
  3206. "schema": {
  3207. "$ref": "#/definitions/app.Response"
  3208. }
  3209. }
  3210. }
  3211. }
  3212. },
  3213. "/Ermcp/QueryWarehouseInfo": {
  3214. "get": {
  3215. "security": [
  3216. {
  3217. "ApiKeyAuth": []
  3218. }
  3219. ],
  3220. "produces": [
  3221. "application/json"
  3222. ],
  3223. "tags": [
  3224. "企业风险管理(app)"
  3225. ],
  3226. "summary": "查询仓库信息",
  3227. "parameters": [
  3228. {
  3229. "type": "integer",
  3230. "description": "用户ID",
  3231. "name": "userid",
  3232. "in": "query",
  3233. "required": true
  3234. },
  3235. {
  3236. "type": "string",
  3237. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3238. "name": "status",
  3239. "in": "query"
  3240. }
  3241. ],
  3242. "responses": {
  3243. "200": {
  3244. "description": "OK",
  3245. "schema": {
  3246. "type": "array",
  3247. "items": {
  3248. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3249. }
  3250. }
  3251. },
  3252. "500": {
  3253. "description": "Internal Server Error",
  3254. "schema": {
  3255. "$ref": "#/definitions/app.Response"
  3256. }
  3257. }
  3258. }
  3259. }
  3260. },
  3261. "/Ermcp/QueryWrStandard": {
  3262. "get": {
  3263. "security": [
  3264. {
  3265. "ApiKeyAuth": []
  3266. }
  3267. ],
  3268. "produces": [
  3269. "application/json"
  3270. ],
  3271. "tags": [
  3272. "企业风险管理(app)"
  3273. ],
  3274. "summary": "查询现货商品",
  3275. "parameters": [
  3276. {
  3277. "type": "integer",
  3278. "description": "所属机构ID",
  3279. "name": "userid",
  3280. "in": "query",
  3281. "required": true
  3282. },
  3283. {
  3284. "type": "integer",
  3285. "description": "状态 0-停用 1-正常",
  3286. "name": "status",
  3287. "in": "query",
  3288. "required": true
  3289. }
  3290. ],
  3291. "responses": {
  3292. "200": {
  3293. "description": "OK",
  3294. "schema": {
  3295. "type": "array",
  3296. "items": {
  3297. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3298. }
  3299. }
  3300. },
  3301. "500": {
  3302. "description": "Internal Server Error",
  3303. "schema": {
  3304. "$ref": "#/definitions/app.Response"
  3305. }
  3306. }
  3307. }
  3308. }
  3309. },
  3310. "/Ermcp/QueryWrStandardDetail": {
  3311. "get": {
  3312. "security": [
  3313. {
  3314. "ApiKeyAuth": []
  3315. }
  3316. ],
  3317. "produces": [
  3318. "application/json"
  3319. ],
  3320. "tags": [
  3321. "企业风险管理(app)"
  3322. ],
  3323. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3324. "parameters": [
  3325. {
  3326. "type": "integer",
  3327. "description": "所属机构ID",
  3328. "name": "userid",
  3329. "in": "query",
  3330. "required": true
  3331. },
  3332. {
  3333. "type": "integer",
  3334. "description": "现货商品ID",
  3335. "name": "wrstandardid",
  3336. "in": "query",
  3337. "required": true
  3338. },
  3339. {
  3340. "type": "integer",
  3341. "description": "可不填, 1-查询关联交易商品",
  3342. "name": "goods",
  3343. "in": "query"
  3344. }
  3345. ],
  3346. "responses": {
  3347. "200": {
  3348. "description": "OK",
  3349. "schema": {
  3350. "type": "array",
  3351. "items": {
  3352. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3353. }
  3354. }
  3355. },
  3356. "500": {
  3357. "description": "Internal Server Error",
  3358. "schema": {
  3359. "$ref": "#/definitions/app.Response"
  3360. }
  3361. }
  3362. }
  3363. }
  3364. },
  3365. "/Erms2/QueryArbitrageStrategy": {
  3366. "get": {
  3367. "security": [
  3368. {
  3369. "ApiKeyAuth": []
  3370. }
  3371. ],
  3372. "produces": [
  3373. "application/json"
  3374. ],
  3375. "tags": [
  3376. "风险管理"
  3377. ],
  3378. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3379. "parameters": [
  3380. {
  3381. "type": "integer",
  3382. "description": "账户ID",
  3383. "name": "userid",
  3384. "in": "query",
  3385. "required": true
  3386. },
  3387. {
  3388. "type": "string",
  3389. "description": "商品组ID(品种ID)",
  3390. "name": "goodsgroupid",
  3391. "in": "query"
  3392. }
  3393. ],
  3394. "responses": {
  3395. "200": {
  3396. "description": "OK",
  3397. "schema": {
  3398. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3399. }
  3400. },
  3401. "500": {
  3402. "description": "Internal Server Error",
  3403. "schema": {
  3404. "$ref": "#/definitions/app.Response"
  3405. }
  3406. }
  3407. }
  3408. }
  3409. },
  3410. "/Erms2/QueryInnerTradeDetail": {
  3411. "get": {
  3412. "security": [
  3413. {
  3414. "ApiKeyAuth": []
  3415. }
  3416. ],
  3417. "produces": [
  3418. "application/json"
  3419. ],
  3420. "tags": [
  3421. "风险管理"
  3422. ],
  3423. "summary": "查询内部成交单信息",
  3424. "parameters": [
  3425. {
  3426. "type": "integer",
  3427. "description": "资金账户",
  3428. "name": "accountid",
  3429. "in": "query",
  3430. "required": true
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/Erms2/QuerySpotContract": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "produces": [
  3457. "application/json"
  3458. ],
  3459. "tags": [
  3460. "风险管理"
  3461. ],
  3462. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3463. "parameters": [
  3464. {
  3465. "type": "integer",
  3466. "description": "策略申请ID",
  3467. "name": "asapplyid",
  3468. "in": "query",
  3469. "required": true
  3470. },
  3471. {
  3472. "type": "integer",
  3473. "description": "现货合同ID",
  3474. "name": "spotcontractid",
  3475. "in": "query"
  3476. }
  3477. ],
  3478. "responses": {
  3479. "200": {
  3480. "description": "OK",
  3481. "schema": {
  3482. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3483. }
  3484. },
  3485. "500": {
  3486. "description": "Internal Server Error",
  3487. "schema": {
  3488. "$ref": "#/definitions/app.Response"
  3489. }
  3490. }
  3491. }
  3492. }
  3493. },
  3494. "/Erms3/AddErms2ASApply": {
  3495. "post": {
  3496. "security": [
  3497. {
  3498. "ApiKeyAuth": []
  3499. }
  3500. ],
  3501. "produces": [
  3502. "application/json"
  3503. ],
  3504. "tags": [
  3505. "风险管理v3"
  3506. ],
  3507. "summary": "新增期现套利业务申请",
  3508. "parameters": [
  3509. {
  3510. "description": "申请参数",
  3511. "name": "jsonBody",
  3512. "in": "body",
  3513. "required": true,
  3514. "schema": {
  3515. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3516. }
  3517. }
  3518. ],
  3519. "responses": {
  3520. "200": {
  3521. "description": "OK",
  3522. "schema": {
  3523. "$ref": "#/definitions/app.Response"
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Erms3/AddErms2SpotTradeApply": {
  3536. "post": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "风险管理v3"
  3547. ],
  3548. "summary": "新增现货贸易业务申请",
  3549. "parameters": [
  3550. {
  3551. "description": "申请参数",
  3552. "name": "jsonBody",
  3553. "in": "body",
  3554. "required": true,
  3555. "schema": {
  3556. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3557. }
  3558. }
  3559. ],
  3560. "responses": {
  3561. "200": {
  3562. "description": "OK",
  3563. "schema": {
  3564. "$ref": "#/definitions/app.Response"
  3565. }
  3566. },
  3567. "500": {
  3568. "description": "Internal Server Error",
  3569. "schema": {
  3570. "$ref": "#/definitions/app.Response"
  3571. }
  3572. }
  3573. }
  3574. }
  3575. },
  3576. "/Erms3/AddSpotContractApply": {
  3577. "post": {
  3578. "security": [
  3579. {
  3580. "ApiKeyAuth": []
  3581. }
  3582. ],
  3583. "produces": [
  3584. "application/json"
  3585. ],
  3586. "tags": [
  3587. "风险管理v3"
  3588. ],
  3589. "summary": "新增现货合同申请",
  3590. "parameters": [
  3591. {
  3592. "description": "申请参数",
  3593. "name": "jsonBody",
  3594. "in": "body",
  3595. "required": true,
  3596. "schema": {
  3597. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3598. }
  3599. }
  3600. ],
  3601. "responses": {
  3602. "200": {
  3603. "description": "OK",
  3604. "schema": {
  3605. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3606. }
  3607. },
  3608. "500": {
  3609. "description": "Internal Server Error",
  3610. "schema": {
  3611. "$ref": "#/definitions/app.Response"
  3612. }
  3613. }
  3614. }
  3615. }
  3616. },
  3617. "/Erms3/AddUserInfoApply": {
  3618. "post": {
  3619. "security": [
  3620. {
  3621. "ApiKeyAuth": []
  3622. }
  3623. ],
  3624. "produces": [
  3625. "application/json"
  3626. ],
  3627. "tags": [
  3628. "风险管理v3"
  3629. ],
  3630. "summary": "新增客户申请",
  3631. "parameters": [
  3632. {
  3633. "description": "用户信息",
  3634. "name": "jsonBody",
  3635. "in": "body",
  3636. "required": true,
  3637. "schema": {
  3638. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3639. }
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "$ref": "#/definitions/app.Response"
  3647. }
  3648. },
  3649. "500": {
  3650. "description": "Internal Server Error",
  3651. "schema": {
  3652. "$ref": "#/definitions/app.Response"
  3653. }
  3654. }
  3655. }
  3656. }
  3657. },
  3658. "/Erms3/ModifyUserInfoApply": {
  3659. "post": {
  3660. "security": [
  3661. {
  3662. "ApiKeyAuth": []
  3663. }
  3664. ],
  3665. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3666. "produces": [
  3667. "application/json"
  3668. ],
  3669. "tags": [
  3670. "风险管理v3"
  3671. ],
  3672. "summary": "修改客户申请",
  3673. "parameters": [
  3674. {
  3675. "description": "用户信息",
  3676. "name": "jsonBody",
  3677. "in": "body",
  3678. "required": true,
  3679. "schema": {
  3680. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3681. }
  3682. }
  3683. ],
  3684. "responses": {
  3685. "200": {
  3686. "description": "OK",
  3687. "schema": {
  3688. "$ref": "#/definitions/app.Response"
  3689. }
  3690. },
  3691. "500": {
  3692. "description": "Internal Server Error",
  3693. "schema": {
  3694. "$ref": "#/definitions/app.Response"
  3695. }
  3696. }
  3697. }
  3698. }
  3699. },
  3700. "/Erms3/QueryBusinessInfo": {
  3701. "get": {
  3702. "security": [
  3703. {
  3704. "ApiKeyAuth": []
  3705. }
  3706. ],
  3707. "produces": [
  3708. "application/json"
  3709. ],
  3710. "tags": [
  3711. "风险管理v3"
  3712. ],
  3713. "summary": "查询业务表单数据",
  3714. "parameters": [
  3715. {
  3716. "type": "string",
  3717. "description": "资金账号ID列表,用逗号分隔",
  3718. "name": "accountids",
  3719. "in": "query",
  3720. "required": true
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "状态,0为未结束 1为已结束",
  3725. "name": "status",
  3726. "in": "query",
  3727. "required": true
  3728. }
  3729. ],
  3730. "responses": {
  3731. "200": {
  3732. "description": "OK",
  3733. "schema": {
  3734. "type": "array",
  3735. "items": {
  3736. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3737. }
  3738. }
  3739. },
  3740. "500": {
  3741. "description": "Internal Server Error",
  3742. "schema": {
  3743. "$ref": "#/definitions/app.Response"
  3744. }
  3745. }
  3746. }
  3747. }
  3748. },
  3749. "/Erms3/QueryPendingAuditContract": {
  3750. "get": {
  3751. "security": [
  3752. {
  3753. "ApiKeyAuth": []
  3754. }
  3755. ],
  3756. "produces": [
  3757. "application/json"
  3758. ],
  3759. "tags": [
  3760. "风险管理v3"
  3761. ],
  3762. "summary": "查询待审核合同",
  3763. "parameters": [
  3764. {
  3765. "type": "string",
  3766. "description": "资金账号ID列表,逗号隔开",
  3767. "name": "accountids",
  3768. "in": "query",
  3769. "required": true
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "合同类型 1-采购 -1-销售",
  3774. "name": "contracttype",
  3775. "in": "query",
  3776. "required": true
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "合同模式 1-普通 2-回购",
  3781. "name": "contractmode",
  3782. "in": "query",
  3783. "required": true
  3784. }
  3785. ],
  3786. "responses": {
  3787. "200": {
  3788. "description": "OK",
  3789. "schema": {
  3790. "type": "array",
  3791. "items": {
  3792. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3793. }
  3794. }
  3795. },
  3796. "500": {
  3797. "description": "Internal Server Error",
  3798. "schema": {
  3799. "$ref": "#/definitions/app.Response"
  3800. }
  3801. }
  3802. }
  3803. }
  3804. },
  3805. "/Erms3/QueryPendingBusiness": {
  3806. "get": {
  3807. "security": [
  3808. {
  3809. "ApiKeyAuth": []
  3810. }
  3811. ],
  3812. "produces": [
  3813. "application/json"
  3814. ],
  3815. "tags": [
  3816. "风险管理v3"
  3817. ],
  3818. "summary": "查询待审核基差贸易业务",
  3819. "parameters": [
  3820. {
  3821. "type": "string",
  3822. "description": "资金账号ID列表,逗号隔开",
  3823. "name": "accountids",
  3824. "in": "query",
  3825. "required": true
  3826. }
  3827. ],
  3828. "responses": {
  3829. "200": {
  3830. "description": "OK",
  3831. "schema": {
  3832. "type": "array",
  3833. "items": {
  3834. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3835. }
  3836. }
  3837. },
  3838. "500": {
  3839. "description": "Internal Server Error",
  3840. "schema": {
  3841. "$ref": "#/definitions/app.Response"
  3842. }
  3843. }
  3844. }
  3845. }
  3846. },
  3847. "/Erms3/QuerySpotContractAppleForm": {
  3848. "get": {
  3849. "security": [
  3850. {
  3851. "ApiKeyAuth": []
  3852. }
  3853. ],
  3854. "produces": [
  3855. "application/json"
  3856. ],
  3857. "tags": [
  3858. "风险管理v3"
  3859. ],
  3860. "summary": "查询合同申请表单数据",
  3861. "parameters": [
  3862. {
  3863. "type": "integer",
  3864. "description": "登录账号",
  3865. "name": "loginID",
  3866. "in": "query",
  3867. "required": true
  3868. }
  3869. ],
  3870. "responses": {
  3871. "200": {
  3872. "description": "OK",
  3873. "schema": {
  3874. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3875. }
  3876. },
  3877. "500": {
  3878. "description": "Internal Server Error",
  3879. "schema": {
  3880. "$ref": "#/definitions/app.Response"
  3881. }
  3882. }
  3883. }
  3884. }
  3885. },
  3886. "/Erms3/QuerySpotContractDetail": {
  3887. "get": {
  3888. "security": [
  3889. {
  3890. "ApiKeyAuth": []
  3891. }
  3892. ],
  3893. "produces": [
  3894. "application/json"
  3895. ],
  3896. "tags": [
  3897. "风险管理v3"
  3898. ],
  3899. "summary": "查询合同详细信息",
  3900. "parameters": [
  3901. {
  3902. "type": "string",
  3903. "description": "资金账号ID列表,用逗号分隔",
  3904. "name": "accountids",
  3905. "in": "query",
  3906. "required": true
  3907. },
  3908. {
  3909. "type": "integer",
  3910. "description": "合同类型,1为采购合同 -1为销售合同",
  3911. "name": "contracttype",
  3912. "in": "query",
  3913. "required": true
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "合同模式,1为普通合同 2为回购销售合同",
  3918. "name": "contractmode",
  3919. "in": "query",
  3920. "required": true
  3921. },
  3922. {
  3923. "type": "integer",
  3924. "description": "状态,0为履约中 1为已完成",
  3925. "name": "status",
  3926. "in": "query",
  3927. "required": true
  3928. }
  3929. ],
  3930. "responses": {
  3931. "200": {
  3932. "description": "OK",
  3933. "schema": {
  3934. "type": "array",
  3935. "items": {
  3936. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3937. }
  3938. }
  3939. },
  3940. "500": {
  3941. "description": "Internal Server Error",
  3942. "schema": {
  3943. "$ref": "#/definitions/app.Response"
  3944. }
  3945. }
  3946. }
  3947. }
  3948. },
  3949. "/Erms3/QueryUserInfoApplies": {
  3950. "get": {
  3951. "security": [
  3952. {
  3953. "ApiKeyAuth": []
  3954. }
  3955. ],
  3956. "produces": [
  3957. "application/json"
  3958. ],
  3959. "tags": [
  3960. "风险管理v3"
  3961. ],
  3962. "summary": "客户申请信息查询",
  3963. "parameters": [
  3964. {
  3965. "type": "integer",
  3966. "description": "页码",
  3967. "name": "page",
  3968. "in": "query"
  3969. },
  3970. {
  3971. "type": "integer",
  3972. "description": "每页条数",
  3973. "name": "pagesize",
  3974. "in": "query"
  3975. },
  3976. {
  3977. "type": "string",
  3978. "description": "客户名称,支持模糊查询",
  3979. "name": "userName",
  3980. "in": "query"
  3981. }
  3982. ],
  3983. "responses": {
  3984. "200": {
  3985. "description": "OK",
  3986. "schema": {
  3987. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3988. }
  3989. },
  3990. "500": {
  3991. "description": "Internal Server Error",
  3992. "schema": {
  3993. "$ref": "#/definitions/app.Response"
  3994. }
  3995. }
  3996. }
  3997. }
  3998. },
  3999. "/Erms3/QueryUserInfos": {
  4000. "get": {
  4001. "security": [
  4002. {
  4003. "ApiKeyAuth": []
  4004. }
  4005. ],
  4006. "produces": [
  4007. "application/json"
  4008. ],
  4009. "tags": [
  4010. "风险管理v3"
  4011. ],
  4012. "summary": "客户信息查询",
  4013. "parameters": [
  4014. {
  4015. "type": "integer",
  4016. "description": "页码",
  4017. "name": "page",
  4018. "in": "query"
  4019. },
  4020. {
  4021. "type": "integer",
  4022. "description": "每页条数",
  4023. "name": "pagesize",
  4024. "in": "query"
  4025. },
  4026. {
  4027. "type": "string",
  4028. "description": "客户名称,支持模糊查询",
  4029. "name": "userName",
  4030. "in": "query"
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/HSBY/GetHsbyMyCount": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "description": "说明: 不包括已完成的数量。",
  4057. "produces": [
  4058. "application/json"
  4059. ],
  4060. "tags": [
  4061. "定制【海商报业】"
  4062. ],
  4063. "summary": "获取我的订单与包裹数量",
  4064. "parameters": [
  4065. {
  4066. "type": "string",
  4067. "description": "资金账户列表,格式:1,2,3",
  4068. "name": "accountIDs",
  4069. "in": "query",
  4070. "required": true
  4071. }
  4072. ],
  4073. "responses": {
  4074. "200": {
  4075. "description": "OK",
  4076. "schema": {
  4077. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4078. }
  4079. },
  4080. "500": {
  4081. "description": "Internal Server Error",
  4082. "schema": {
  4083. "$ref": "#/definitions/app.Response"
  4084. }
  4085. }
  4086. }
  4087. }
  4088. },
  4089. "/HSBY/QueryClientFixedADConfigs": {
  4090. "get": {
  4091. "security": [
  4092. {
  4093. "ApiKeyAuth": []
  4094. }
  4095. ],
  4096. "produces": [
  4097. "application/json"
  4098. ],
  4099. "tags": [
  4100. "定制【海商报业】"
  4101. ],
  4102. "summary": "获取终端固定广告配置",
  4103. "responses": {
  4104. "200": {
  4105. "description": "OK",
  4106. "schema": {
  4107. "$ref": "#/definitions/models.Clientfixedadconfig"
  4108. }
  4109. },
  4110. "500": {
  4111. "description": "Internal Server Error",
  4112. "schema": {
  4113. "$ref": "#/definitions/app.Response"
  4114. }
  4115. }
  4116. }
  4117. }
  4118. },
  4119. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4120. "get": {
  4121. "security": [
  4122. {
  4123. "ApiKeyAuth": []
  4124. }
  4125. ],
  4126. "produces": [
  4127. "application/json"
  4128. ],
  4129. "tags": [
  4130. "定制【海商报业】"
  4131. ],
  4132. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4133. "parameters": [
  4134. {
  4135. "type": "integer",
  4136. "description": "页码",
  4137. "name": "page",
  4138. "in": "query"
  4139. },
  4140. {
  4141. "type": "integer",
  4142. "description": "每页条数",
  4143. "name": "pagesize",
  4144. "in": "query"
  4145. },
  4146. {
  4147. "type": "string",
  4148. "description": "资金账户列表,格式:1,2,3",
  4149. "name": "accountIDs",
  4150. "in": "query",
  4151. "required": true
  4152. }
  4153. ],
  4154. "responses": {
  4155. "200": {
  4156. "description": "OK",
  4157. "schema": {
  4158. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4159. }
  4160. },
  4161. "500": {
  4162. "description": "Internal Server Error",
  4163. "schema": {
  4164. "$ref": "#/definitions/app.Response"
  4165. }
  4166. }
  4167. }
  4168. }
  4169. },
  4170. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4171. "get": {
  4172. "security": [
  4173. {
  4174. "ApiKeyAuth": []
  4175. }
  4176. ],
  4177. "description": "说明:查询结果已按委托价格和委托时间排序",
  4178. "produces": [
  4179. "application/json"
  4180. ],
  4181. "tags": [
  4182. "定制【海商报业】"
  4183. ],
  4184. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4185. "parameters": [
  4186. {
  4187. "type": "integer",
  4188. "description": "商品ID",
  4189. "name": "goodsID",
  4190. "in": "query",
  4191. "required": true
  4192. },
  4193. {
  4194. "type": "string",
  4195. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4196. "name": "accountIDs",
  4197. "in": "query"
  4198. },
  4199. {
  4200. "type": "integer",
  4201. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4202. "name": "buyOrSell",
  4203. "in": "query"
  4204. },
  4205. {
  4206. "type": "number",
  4207. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4208. "name": "price",
  4209. "in": "query"
  4210. },
  4211. {
  4212. "type": "integer",
  4213. "description": "档位,不传则默认为3档",
  4214. "name": "speed",
  4215. "in": "query"
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "OK",
  4221. "schema": {
  4222. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4223. }
  4224. },
  4225. "500": {
  4226. "description": "Internal Server Error",
  4227. "schema": {
  4228. "$ref": "#/definitions/app.Response"
  4229. }
  4230. }
  4231. }
  4232. }
  4233. },
  4234. "/HSBY/QueryHsbyListingGoodsDetail": {
  4235. "get": {
  4236. "security": [
  4237. {
  4238. "ApiKeyAuth": []
  4239. }
  4240. ],
  4241. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4242. "produces": [
  4243. "application/json"
  4244. ],
  4245. "tags": [
  4246. "定制【海商报业】"
  4247. ],
  4248. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4249. "parameters": [
  4250. {
  4251. "type": "integer",
  4252. "description": "商品ID",
  4253. "name": "goodsID",
  4254. "in": "query",
  4255. "required": true
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4260. "name": "accountID",
  4261. "in": "query"
  4262. }
  4263. ],
  4264. "responses": {
  4265. "200": {
  4266. "description": "OK",
  4267. "schema": {
  4268. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4269. }
  4270. },
  4271. "500": {
  4272. "description": "Internal Server Error",
  4273. "schema": {
  4274. "$ref": "#/definitions/app.Response"
  4275. }
  4276. }
  4277. }
  4278. }
  4279. },
  4280. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4281. "get": {
  4282. "security": [
  4283. {
  4284. "ApiKeyAuth": []
  4285. }
  4286. ],
  4287. "produces": [
  4288. "application/json"
  4289. ],
  4290. "tags": [
  4291. "定制【海商报业】"
  4292. ],
  4293. "summary": "查询三级市场(商城)商品信息详情",
  4294. "parameters": [
  4295. {
  4296. "type": "integer",
  4297. "description": "委托单号",
  4298. "name": "orderID",
  4299. "in": "query",
  4300. "required": true
  4301. },
  4302. {
  4303. "type": "integer",
  4304. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4305. "name": "accountID",
  4306. "in": "query"
  4307. }
  4308. ],
  4309. "responses": {
  4310. "200": {
  4311. "description": "OK",
  4312. "schema": {
  4313. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4314. }
  4315. },
  4316. "500": {
  4317. "description": "Internal Server Error",
  4318. "schema": {
  4319. "$ref": "#/definitions/app.Response"
  4320. }
  4321. }
  4322. }
  4323. }
  4324. },
  4325. "/HSBY/QueryHsbyMarketGoodses": {
  4326. "get": {
  4327. "security": [
  4328. {
  4329. "ApiKeyAuth": []
  4330. }
  4331. ],
  4332. "produces": [
  4333. "application/json"
  4334. ],
  4335. "tags": [
  4336. "定制【海商报业】"
  4337. ],
  4338. "summary": "查询特卖商品列表(三级商城)",
  4339. "parameters": [
  4340. {
  4341. "type": "integer",
  4342. "description": "页码",
  4343. "name": "page",
  4344. "in": "query"
  4345. },
  4346. {
  4347. "type": "integer",
  4348. "description": "每页条数",
  4349. "name": "pagesize",
  4350. "in": "query"
  4351. },
  4352. {
  4353. "type": "string",
  4354. "description": "市场ID列表,格式:1,2,3",
  4355. "name": "marketIDs",
  4356. "in": "query",
  4357. "required": true
  4358. },
  4359. {
  4360. "type": "integer",
  4361. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4362. "name": "accountID",
  4363. "in": "query",
  4364. "required": true
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "类别ID",
  4369. "name": "categoryID",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "string",
  4374. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4375. "name": "goodsIDs",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4381. "name": "couponTypeID",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "$ref": "#/definitions/models.HsbyMarketGoods"
  4390. }
  4391. },
  4392. "500": {
  4393. "description": "Internal Server Error",
  4394. "schema": {
  4395. "$ref": "#/definitions/app.Response"
  4396. }
  4397. }
  4398. }
  4399. }
  4400. },
  4401. "/HSBY/QueryHsbyMarkets": {
  4402. "get": {
  4403. "security": [
  4404. {
  4405. "ApiKeyAuth": []
  4406. }
  4407. ],
  4408. "produces": [
  4409. "application/json"
  4410. ],
  4411. "tags": [
  4412. "定制【海商报业】"
  4413. ],
  4414. "summary": "查询海商报业相关市场信息",
  4415. "responses": {
  4416. "200": {
  4417. "description": "OK",
  4418. "schema": {
  4419. "$ref": "#/definitions/models.HsbyMarketInfo"
  4420. }
  4421. },
  4422. "500": {
  4423. "description": "Internal Server Error",
  4424. "schema": {
  4425. "$ref": "#/definitions/app.Response"
  4426. }
  4427. }
  4428. }
  4429. }
  4430. },
  4431. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4432. "get": {
  4433. "security": [
  4434. {
  4435. "ApiKeyAuth": []
  4436. }
  4437. ],
  4438. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4439. "produces": [
  4440. "application/json"
  4441. ],
  4442. "tags": [
  4443. "定制【海商报业】"
  4444. ],
  4445. "summary": "查询“我的订单”信息",
  4446. "parameters": [
  4447. {
  4448. "type": "string",
  4449. "description": "资金账户列表,格式:1,2,3",
  4450. "name": "accountIDs",
  4451. "in": "query",
  4452. "required": true
  4453. }
  4454. ],
  4455. "responses": {
  4456. "200": {
  4457. "description": "OK",
  4458. "schema": {
  4459. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4460. }
  4461. },
  4462. "500": {
  4463. "description": "Internal Server Error",
  4464. "schema": {
  4465. "$ref": "#/definitions/app.Response"
  4466. }
  4467. }
  4468. }
  4469. }
  4470. },
  4471. "/HSBY/QueryHsbyMyGoods": {
  4472. "get": {
  4473. "security": [
  4474. {
  4475. "ApiKeyAuth": []
  4476. }
  4477. ],
  4478. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4479. "produces": [
  4480. "application/json"
  4481. ],
  4482. "tags": [
  4483. "定制【海商报业】"
  4484. ],
  4485. "summary": "查询“我的商品”信息",
  4486. "parameters": [
  4487. {
  4488. "type": "string",
  4489. "description": "资金账户列表,格式:1,2,3",
  4490. "name": "accountIDs",
  4491. "in": "query",
  4492. "required": true
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "$ref": "#/definitions/models.HsbyMyGoods"
  4500. }
  4501. },
  4502. "500": {
  4503. "description": "Internal Server Error",
  4504. "schema": {
  4505. "$ref": "#/definitions/app.Response"
  4506. }
  4507. }
  4508. }
  4509. }
  4510. },
  4511. "/HSBY/QueryHsbyMyPackages": {
  4512. "get": {
  4513. "security": [
  4514. {
  4515. "ApiKeyAuth": []
  4516. }
  4517. ],
  4518. "produces": [
  4519. "application/json"
  4520. ],
  4521. "tags": [
  4522. "定制【海商报业】"
  4523. ],
  4524. "summary": "查询我的包裹信息",
  4525. "parameters": [
  4526. {
  4527. "type": "string",
  4528. "description": "资金账户列表,格式:1,2,3",
  4529. "name": "accountIDs",
  4530. "in": "query",
  4531. "required": true
  4532. },
  4533. {
  4534. "type": "integer",
  4535. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4536. "name": "takeOrderStatus",
  4537. "in": "query"
  4538. }
  4539. ],
  4540. "responses": {
  4541. "200": {
  4542. "description": "OK",
  4543. "schema": {
  4544. "$ref": "#/definitions/models.HsbyMyPackage"
  4545. }
  4546. },
  4547. "500": {
  4548. "description": "Internal Server Error",
  4549. "schema": {
  4550. "$ref": "#/definitions/app.Response"
  4551. }
  4552. }
  4553. }
  4554. }
  4555. },
  4556. "/HSBY/QueryHsbyPreGoodsDetail": {
  4557. "get": {
  4558. "security": [
  4559. {
  4560. "ApiKeyAuth": []
  4561. }
  4562. ],
  4563. "produces": [
  4564. "application/json"
  4565. ],
  4566. "tags": [
  4567. "定制【海商报业】"
  4568. ],
  4569. "summary": "查询一级市场(预售)商品信息详情",
  4570. "parameters": [
  4571. {
  4572. "type": "integer",
  4573. "description": "商品ID",
  4574. "name": "goodsID",
  4575. "in": "query",
  4576. "required": true
  4577. },
  4578. {
  4579. "type": "integer",
  4580. "description": "资金账户,主要用于获取预售商品购买上限",
  4581. "name": "accountID",
  4582. "in": "query"
  4583. }
  4584. ],
  4585. "responses": {
  4586. "200": {
  4587. "description": "OK",
  4588. "schema": {
  4589. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4590. }
  4591. },
  4592. "500": {
  4593. "description": "Internal Server Error",
  4594. "schema": {
  4595. "$ref": "#/definitions/app.Response"
  4596. }
  4597. }
  4598. }
  4599. }
  4600. },
  4601. "/HSBY/QueryHsbyPreGoodses": {
  4602. "get": {
  4603. "security": [
  4604. {
  4605. "ApiKeyAuth": []
  4606. }
  4607. ],
  4608. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4609. "produces": [
  4610. "application/json"
  4611. ],
  4612. "tags": [
  4613. "定制【海商报业】"
  4614. ],
  4615. "summary": "查询新品上市商品列表(一级市场预售)",
  4616. "parameters": [
  4617. {
  4618. "type": "integer",
  4619. "description": "页码",
  4620. "name": "page",
  4621. "in": "query"
  4622. },
  4623. {
  4624. "type": "integer",
  4625. "description": "每页条数",
  4626. "name": "pagesize",
  4627. "in": "query"
  4628. },
  4629. {
  4630. "type": "string",
  4631. "description": "市场ID列表,格式:1,2,3",
  4632. "name": "marketIDs",
  4633. "in": "query",
  4634. "required": true
  4635. },
  4636. {
  4637. "type": "integer",
  4638. "description": "目的地(省)ID",
  4639. "name": "descProvinceID",
  4640. "in": "query"
  4641. },
  4642. {
  4643. "type": "integer",
  4644. "description": "目的地(市)ID",
  4645. "name": "descCityID",
  4646. "in": "query"
  4647. }
  4648. ],
  4649. "responses": {
  4650. "200": {
  4651. "description": "OK",
  4652. "schema": {
  4653. "$ref": "#/definitions/models.HsbyPreGoods"
  4654. }
  4655. },
  4656. "500": {
  4657. "description": "Internal Server Error",
  4658. "schema": {
  4659. "$ref": "#/definitions/app.Response"
  4660. }
  4661. }
  4662. }
  4663. }
  4664. },
  4665. "/HSBY/QueryHsbySellMyDetails": {
  4666. "get": {
  4667. "security": [
  4668. {
  4669. "ApiKeyAuth": []
  4670. }
  4671. ],
  4672. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4673. "produces": [
  4674. "application/json"
  4675. ],
  4676. "tags": [
  4677. "定制【海商报业】"
  4678. ],
  4679. "summary": "查询\"我的闲置\"单据信息",
  4680. "parameters": [
  4681. {
  4682. "type": "integer",
  4683. "description": "页码",
  4684. "name": "page",
  4685. "in": "query"
  4686. },
  4687. {
  4688. "type": "integer",
  4689. "description": "每页条数",
  4690. "name": "pagesize",
  4691. "in": "query"
  4692. },
  4693. {
  4694. "type": "string",
  4695. "description": "资金账户列表,格式:1,2,3",
  4696. "name": "accountIDs",
  4697. "in": "query",
  4698. "required": true
  4699. },
  4700. {
  4701. "type": "integer",
  4702. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4703. "name": "orderType",
  4704. "in": "query"
  4705. }
  4706. ],
  4707. "responses": {
  4708. "200": {
  4709. "description": "OK",
  4710. "schema": {
  4711. "$ref": "#/definitions/models.HsbySellMyDetail"
  4712. }
  4713. },
  4714. "500": {
  4715. "description": "Internal Server Error",
  4716. "schema": {
  4717. "$ref": "#/definitions/app.Response"
  4718. }
  4719. }
  4720. }
  4721. }
  4722. },
  4723. "/HSBY/QueryHsbyTopGoodses": {
  4724. "get": {
  4725. "security": [
  4726. {
  4727. "ApiKeyAuth": []
  4728. }
  4729. ],
  4730. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4731. "produces": [
  4732. "application/json"
  4733. ],
  4734. "tags": [
  4735. "定制【海商报业】"
  4736. ],
  4737. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4738. "parameters": [
  4739. {
  4740. "type": "integer",
  4741. "description": "页码",
  4742. "name": "page",
  4743. "in": "query"
  4744. },
  4745. {
  4746. "type": "integer",
  4747. "description": "每页条数",
  4748. "name": "pagesize",
  4749. "in": "query"
  4750. },
  4751. {
  4752. "type": "string",
  4753. "description": "市场ID列表,格式:1,2,3",
  4754. "name": "marketIDs",
  4755. "in": "query",
  4756. "required": true
  4757. },
  4758. {
  4759. "type": "integer",
  4760. "description": "目的地(省)ID",
  4761. "name": "descProvinceID",
  4762. "in": "query"
  4763. },
  4764. {
  4765. "type": "integer",
  4766. "description": "目的地(市)ID",
  4767. "name": "descCityID",
  4768. "in": "query"
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/models.HsbyTopGoods"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4795. "produces": [
  4796. "application/json"
  4797. ],
  4798. "tags": [
  4799. "定制【海商报业】"
  4800. ],
  4801. "summary": "查询游客三级市场(商城)商品信息详情",
  4802. "parameters": [
  4803. {
  4804. "type": "integer",
  4805. "description": "商品ID",
  4806. "name": "goodsID",
  4807. "in": "query",
  4808. "required": true
  4809. }
  4810. ],
  4811. "responses": {
  4812. "200": {
  4813. "description": "OK",
  4814. "schema": {
  4815. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4816. }
  4817. },
  4818. "500": {
  4819. "description": "Internal Server Error",
  4820. "schema": {
  4821. "$ref": "#/definitions/app.Response"
  4822. }
  4823. }
  4824. }
  4825. }
  4826. },
  4827. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4828. "get": {
  4829. "security": [
  4830. {
  4831. "ApiKeyAuth": []
  4832. }
  4833. ],
  4834. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4835. "produces": [
  4836. "application/json"
  4837. ],
  4838. "tags": [
  4839. "定制【海商报业】"
  4840. ],
  4841. "summary": "查询游客特卖商品列表(三级商城)",
  4842. "parameters": [
  4843. {
  4844. "type": "integer",
  4845. "description": "页码",
  4846. "name": "page",
  4847. "in": "query"
  4848. },
  4849. {
  4850. "type": "integer",
  4851. "description": "每页条数",
  4852. "name": "pagesize",
  4853. "in": "query"
  4854. },
  4855. {
  4856. "type": "string",
  4857. "description": "市场ID列表,格式:1,2,3",
  4858. "name": "marketIDs",
  4859. "in": "query",
  4860. "required": true
  4861. },
  4862. {
  4863. "type": "integer",
  4864. "description": "类别ID",
  4865. "name": "categoryID",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4871. "name": "goodsIDs",
  4872. "in": "query"
  4873. }
  4874. ],
  4875. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "$ref": "#/definitions/models.HsbyMarketGoods"
  4880. }
  4881. },
  4882. "500": {
  4883. "description": "Internal Server Error",
  4884. "schema": {
  4885. "$ref": "#/definitions/app.Response"
  4886. }
  4887. }
  4888. }
  4889. }
  4890. },
  4891. "/HSBY/QueryMyCollectionOrders": {
  4892. "get": {
  4893. "security": [
  4894. {
  4895. "ApiKeyAuth": []
  4896. }
  4897. ],
  4898. "produces": [
  4899. "application/json"
  4900. ],
  4901. "tags": [
  4902. "定制【海商报业】"
  4903. ],
  4904. "summary": "我的闲置中收款信息查询",
  4905. "parameters": [
  4906. {
  4907. "type": "integer",
  4908. "description": "页码",
  4909. "name": "page",
  4910. "in": "query"
  4911. },
  4912. {
  4913. "type": "integer",
  4914. "description": "每页条数",
  4915. "name": "pagesize",
  4916. "in": "query"
  4917. },
  4918. {
  4919. "type": "string",
  4920. "description": "资金账户,格式:1,2,3",
  4921. "name": "accountIDs",
  4922. "in": "query",
  4923. "required": true
  4924. }
  4925. ],
  4926. "responses": {
  4927. "200": {
  4928. "description": "OK",
  4929. "schema": {
  4930. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/HSBY/QueryMyCouponHolds": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4950. "produces": [
  4951. "application/json"
  4952. ],
  4953. "tags": [
  4954. "定制【海商报业】"
  4955. ],
  4956. "summary": "我的优惠卷持仓查询",
  4957. "parameters": [
  4958. {
  4959. "type": "string",
  4960. "description": "资金账户列表,格式:1,2,3",
  4961. "name": "accountIDs",
  4962. "in": "query",
  4963. "required": true
  4964. },
  4965. {
  4966. "type": "string",
  4967. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4968. "name": "holdStatus",
  4969. "in": "query"
  4970. }
  4971. ],
  4972. "responses": {
  4973. "200": {
  4974. "description": "OK",
  4975. "schema": {
  4976. "$ref": "#/definitions/models.MyCouponHold"
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/HSBY/QueryMyCoupons": {
  4989. "get": {
  4990. "security": [
  4991. {
  4992. "ApiKeyAuth": []
  4993. }
  4994. ],
  4995. "produces": [
  4996. "application/json"
  4997. ],
  4998. "tags": [
  4999. "定制【海商报业】"
  5000. ],
  5001. "summary": "我的优惠卷查询",
  5002. "parameters": [
  5003. {
  5004. "type": "string",
  5005. "description": "资金账户列表,格式:1,2,3",
  5006. "name": "accountIDs",
  5007. "in": "query",
  5008. "required": true
  5009. },
  5010. {
  5011. "type": "integer",
  5012. "description": "商品ID, 一般与sellUserID配套传入",
  5013. "name": "goodsID",
  5014. "in": "query"
  5015. },
  5016. {
  5017. "type": "integer",
  5018. "description": "卖方UserID",
  5019. "name": "sellUserID",
  5020. "in": "query"
  5021. }
  5022. ],
  5023. "responses": {
  5024. "200": {
  5025. "description": "OK",
  5026. "schema": {
  5027. "$ref": "#/definitions/models.MyCoupon"
  5028. }
  5029. },
  5030. "500": {
  5031. "description": "Internal Server Error",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. }
  5036. }
  5037. }
  5038. },
  5039. "/HSBY/QueryMyPayOrders": {
  5040. "get": {
  5041. "security": [
  5042. {
  5043. "ApiKeyAuth": []
  5044. }
  5045. ],
  5046. "produces": [
  5047. "application/json"
  5048. ],
  5049. "tags": [
  5050. "定制【海商报业】"
  5051. ],
  5052. "summary": "获取我的订单中待付款信息",
  5053. "parameters": [
  5054. {
  5055. "type": "integer",
  5056. "description": "页码",
  5057. "name": "page",
  5058. "in": "query"
  5059. },
  5060. {
  5061. "type": "integer",
  5062. "description": "每页条数",
  5063. "name": "pagesize",
  5064. "in": "query"
  5065. },
  5066. {
  5067. "type": "string",
  5068. "description": "资金账户列表,格式:1,2,3",
  5069. "name": "accountIDs",
  5070. "in": "query",
  5071. "required": true
  5072. },
  5073. {
  5074. "type": "integer",
  5075. "description": "买方委托单号",
  5076. "name": "buyOrderID",
  5077. "in": "query"
  5078. },
  5079. {
  5080. "type": "integer",
  5081. "description": "卖方委托单号",
  5082. "name": "sellOrderID",
  5083. "in": "query"
  5084. }
  5085. ],
  5086. "responses": {
  5087. "200": {
  5088. "description": "OK",
  5089. "schema": {
  5090. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5091. }
  5092. },
  5093. "500": {
  5094. "description": "Internal Server Error",
  5095. "schema": {
  5096. "$ref": "#/definitions/app.Response"
  5097. }
  5098. }
  5099. }
  5100. }
  5101. },
  5102. "/HSBY/QueryMyUsedCoupon": {
  5103. "get": {
  5104. "security": [
  5105. {
  5106. "ApiKeyAuth": []
  5107. }
  5108. ],
  5109. "produces": [
  5110. "application/json"
  5111. ],
  5112. "tags": [
  5113. "定制【海商报业】"
  5114. ],
  5115. "summary": "已使用优惠卷查询",
  5116. "parameters": [
  5117. {
  5118. "type": "string",
  5119. "description": "资金账户列表,格式:1,2,3",
  5120. "name": "accountIDs",
  5121. "in": "query",
  5122. "required": true
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/models.MyUsedCoupon"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/HSBY/QueryProvincesAndCities": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5149. "produces": [
  5150. "application/json"
  5151. ],
  5152. "tags": [
  5153. "定制【海商报业】"
  5154. ],
  5155. "summary": "查询省市信息(不包括区)",
  5156. "parameters": [
  5157. {
  5158. "type": "integer",
  5159. "description": "省ID",
  5160. "name": "provinceID",
  5161. "in": "query"
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5169. }
  5170. },
  5171. "500": {
  5172. "description": "Internal Server Error",
  5173. "schema": {
  5174. "$ref": "#/definitions/app.Response"
  5175. }
  5176. }
  5177. }
  5178. }
  5179. },
  5180. "/HSBY/SetHsbyMyPackagesStatus": {
  5181. "post": {
  5182. "security": [
  5183. {
  5184. "ApiKeyAuth": []
  5185. }
  5186. ],
  5187. "produces": [
  5188. "application/json"
  5189. ],
  5190. "tags": [
  5191. "定制【海商报业】"
  5192. ],
  5193. "summary": "设置我的包裹已收货状态",
  5194. "parameters": [
  5195. {
  5196. "type": "string",
  5197. "description": "提货单号",
  5198. "name": "takeOrderID",
  5199. "in": "query",
  5200. "required": true
  5201. },
  5202. {
  5203. "type": "integer",
  5204. "description": "资金账号",
  5205. "name": "accountID",
  5206. "in": "query",
  5207. "required": true
  5208. }
  5209. ],
  5210. "responses": {
  5211. "200": {
  5212. "description": "OK",
  5213. "schema": {
  5214. "$ref": "#/definitions/app.Response"
  5215. }
  5216. },
  5217. "500": {
  5218. "description": "Internal Server Error",
  5219. "schema": {
  5220. "$ref": "#/definitions/app.Response"
  5221. }
  5222. }
  5223. }
  5224. }
  5225. },
  5226. "/Market/QueryGoodsesByLoginID": {
  5227. "get": {
  5228. "security": [
  5229. {
  5230. "ApiKeyAuth": []
  5231. }
  5232. ],
  5233. "produces": [
  5234. "application/json"
  5235. ],
  5236. "tags": [
  5237. "通用市场"
  5238. ],
  5239. "summary": "获取登录账号有权限的商品信息",
  5240. "parameters": [
  5241. {
  5242. "type": "integer",
  5243. "description": "登录账号",
  5244. "name": "loginID",
  5245. "in": "query",
  5246. "required": true
  5247. },
  5248. {
  5249. "type": "string",
  5250. "description": "市场ID列表,格式:1,2,3",
  5251. "name": "marketIDs",
  5252. "in": "query"
  5253. }
  5254. ],
  5255. "responses": {
  5256. "200": {
  5257. "description": "OK",
  5258. "schema": {
  5259. "$ref": "#/definitions/models.Goods"
  5260. }
  5261. },
  5262. "500": {
  5263. "description": "Internal Server Error",
  5264. "schema": {
  5265. "$ref": "#/definitions/app.Response"
  5266. }
  5267. }
  5268. }
  5269. }
  5270. },
  5271. "/Market/QueryMarketRun": {
  5272. "get": {
  5273. "security": [
  5274. {
  5275. "ApiKeyAuth": []
  5276. }
  5277. ],
  5278. "produces": [
  5279. "application/json"
  5280. ],
  5281. "tags": [
  5282. "通用市场"
  5283. ],
  5284. "summary": "查询市场运行信息",
  5285. "parameters": [
  5286. {
  5287. "type": "integer",
  5288. "description": "市场ID,不传返回所有",
  5289. "name": "marketID",
  5290. "in": "query"
  5291. }
  5292. ],
  5293. "responses": {
  5294. "200": {
  5295. "description": "OK",
  5296. "schema": {
  5297. "$ref": "#/definitions/models.Marketrun"
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/Market/QueryMarketsByLoginID": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "produces": [
  5317. "application/json"
  5318. ],
  5319. "tags": [
  5320. "通用市场"
  5321. ],
  5322. "summary": "获取登录账号有权限的市场信息",
  5323. "parameters": [
  5324. {
  5325. "type": "integer",
  5326. "description": "登录账号",
  5327. "name": "loginID",
  5328. "in": "query",
  5329. "required": true
  5330. }
  5331. ],
  5332. "responses": {
  5333. "200": {
  5334. "description": "OK",
  5335. "schema": {
  5336. "$ref": "#/definitions/models.Market"
  5337. }
  5338. },
  5339. "500": {
  5340. "description": "Internal Server Error",
  5341. "schema": {
  5342. "$ref": "#/definitions/app.Response"
  5343. }
  5344. }
  5345. }
  5346. }
  5347. },
  5348. "/Order/QueryHisTradeDetail": {
  5349. "get": {
  5350. "security": [
  5351. {
  5352. "ApiKeyAuth": []
  5353. }
  5354. ],
  5355. "produces": [
  5356. "application/json"
  5357. ],
  5358. "tags": [
  5359. "通用单据"
  5360. ],
  5361. "summary": "历史成交单查询(合约市场)",
  5362. "parameters": [
  5363. {
  5364. "type": "string",
  5365. "description": "资金账户 - 格式:1,2,3",
  5366. "name": "accountID",
  5367. "in": "query",
  5368. "required": true
  5369. },
  5370. {
  5371. "type": "integer",
  5372. "description": "成交单号",
  5373. "name": "tradeID",
  5374. "in": "query"
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "委托单号",
  5379. "name": "orderID",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "string",
  5384. "description": "交易模式 - 格式:1,2,3",
  5385. "name": "tradeMode",
  5386. "in": "query"
  5387. },
  5388. {
  5389. "type": "integer",
  5390. "description": "委托单据类型",
  5391. "name": "buildType",
  5392. "in": "query"
  5393. },
  5394. {
  5395. "type": "string",
  5396. "description": "成交类别 - 格式:1,2,3",
  5397. "name": "tradeType",
  5398. "in": "query"
  5399. },
  5400. {
  5401. "type": "string",
  5402. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5403. "name": "startDate",
  5404. "in": "query"
  5405. },
  5406. {
  5407. "type": "string",
  5408. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5409. "name": "endDate",
  5410. "in": "query"
  5411. }
  5412. ],
  5413. "responses": {
  5414. "200": {
  5415. "description": "OK",
  5416. "schema": {
  5417. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5418. }
  5419. },
  5420. "500": {
  5421. "description": "Internal Server Error",
  5422. "schema": {
  5423. "$ref": "#/definitions/app.Response"
  5424. }
  5425. }
  5426. }
  5427. }
  5428. },
  5429. "/Order/QueryHisTradeOrderDetail": {
  5430. "get": {
  5431. "security": [
  5432. {
  5433. "ApiKeyAuth": []
  5434. }
  5435. ],
  5436. "produces": [
  5437. "application/json"
  5438. ],
  5439. "tags": [
  5440. "通用单据"
  5441. ],
  5442. "summary": "历史委托单查询请求(合约市场)",
  5443. "parameters": [
  5444. {
  5445. "type": "string",
  5446. "description": "资金账户 - 格式:1,2,3",
  5447. "name": "accountID",
  5448. "in": "query",
  5449. "required": true
  5450. },
  5451. {
  5452. "type": "string",
  5453. "description": "交易模式 - 格式:1,2,3",
  5454. "name": "tradeMode",
  5455. "in": "query"
  5456. },
  5457. {
  5458. "type": "string",
  5459. "description": "委托状态 - 格式:1,2,3",
  5460. "name": "orderStatus",
  5461. "in": "query"
  5462. },
  5463. {
  5464. "type": "integer",
  5465. "description": "委托单号",
  5466. "name": "orderID",
  5467. "in": "query"
  5468. },
  5469. {
  5470. "type": "string",
  5471. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5472. "name": "startDate",
  5473. "in": "query"
  5474. },
  5475. {
  5476. "type": "string",
  5477. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5478. "name": "endDate",
  5479. "in": "query"
  5480. }
  5481. ],
  5482. "responses": {
  5483. "200": {
  5484. "description": "OK",
  5485. "schema": {
  5486. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5487. }
  5488. },
  5489. "500": {
  5490. "description": "Internal Server Error",
  5491. "schema": {
  5492. "$ref": "#/definitions/app.Response"
  5493. }
  5494. }
  5495. }
  5496. }
  5497. },
  5498. "/Order/QueryTradeDetail": {
  5499. "get": {
  5500. "security": [
  5501. {
  5502. "ApiKeyAuth": []
  5503. }
  5504. ],
  5505. "produces": [
  5506. "application/json"
  5507. ],
  5508. "tags": [
  5509. "通用单据"
  5510. ],
  5511. "summary": "成交单查询(合约市场)",
  5512. "parameters": [
  5513. {
  5514. "type": "string",
  5515. "description": "资金账户 - 格式:1,2,3",
  5516. "name": "accountID",
  5517. "in": "query",
  5518. "required": true
  5519. },
  5520. {
  5521. "type": "integer",
  5522. "description": "成交单号",
  5523. "name": "tradeID",
  5524. "in": "query"
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "委托单号",
  5529. "name": "orderID",
  5530. "in": "query"
  5531. },
  5532. {
  5533. "type": "string",
  5534. "description": "交易模式 - 格式:1,2,3",
  5535. "name": "tradeMode",
  5536. "in": "query"
  5537. },
  5538. {
  5539. "type": "integer",
  5540. "description": "委托单据类型",
  5541. "name": "buildType",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "成交类别 - 格式:1,2,3",
  5547. "name": "tradeType",
  5548. "in": "query"
  5549. }
  5550. ],
  5551. "responses": {
  5552. "200": {
  5553. "description": "OK",
  5554. "schema": {
  5555. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5556. }
  5557. },
  5558. "500": {
  5559. "description": "Internal Server Error",
  5560. "schema": {
  5561. "$ref": "#/definitions/app.Response"
  5562. }
  5563. }
  5564. }
  5565. }
  5566. },
  5567. "/Order/QueryTradeOrderDetail": {
  5568. "get": {
  5569. "security": [
  5570. {
  5571. "ApiKeyAuth": []
  5572. }
  5573. ],
  5574. "produces": [
  5575. "application/json"
  5576. ],
  5577. "tags": [
  5578. "通用单据"
  5579. ],
  5580. "summary": "委托单查询请求(合约市场)",
  5581. "parameters": [
  5582. {
  5583. "type": "string",
  5584. "description": "资金账户 - 格式:1,2,3",
  5585. "name": "accountID",
  5586. "in": "query",
  5587. "required": true
  5588. },
  5589. {
  5590. "type": "string",
  5591. "description": "交易模式 - 格式:1,2,3",
  5592. "name": "tradeMode",
  5593. "in": "query"
  5594. },
  5595. {
  5596. "type": "string",
  5597. "description": "委托状态 - 格式:1,2,3",
  5598. "name": "orderStatus",
  5599. "in": "query"
  5600. },
  5601. {
  5602. "type": "integer",
  5603. "description": "委托单号",
  5604. "name": "orderID",
  5605. "in": "query"
  5606. }
  5607. ],
  5608. "responses": {
  5609. "200": {
  5610. "description": "OK",
  5611. "schema": {
  5612. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5613. }
  5614. },
  5615. "500": {
  5616. "description": "Internal Server Error",
  5617. "schema": {
  5618. "$ref": "#/definitions/app.Response"
  5619. }
  5620. }
  5621. }
  5622. }
  5623. },
  5624. "/Order/QueryTradePosition": {
  5625. "get": {
  5626. "security": [
  5627. {
  5628. "ApiKeyAuth": []
  5629. }
  5630. ],
  5631. "produces": [
  5632. "application/json"
  5633. ],
  5634. "tags": [
  5635. "通用单据"
  5636. ],
  5637. "summary": "持仓汇总查询(合约市场)",
  5638. "parameters": [
  5639. {
  5640. "type": "string",
  5641. "description": "资金账户 - 格式:1,2,3",
  5642. "name": "accountID",
  5643. "in": "query",
  5644. "required": true
  5645. },
  5646. {
  5647. "type": "string",
  5648. "description": "交易模式 - 格式:1,2,3",
  5649. "name": "tradeMode",
  5650. "in": "query"
  5651. }
  5652. ],
  5653. "responses": {
  5654. "200": {
  5655. "description": "OK",
  5656. "schema": {
  5657. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5658. }
  5659. },
  5660. "500": {
  5661. "description": "Internal Server Error",
  5662. "schema": {
  5663. "$ref": "#/definitions/app.Response"
  5664. }
  5665. }
  5666. }
  5667. }
  5668. },
  5669. "/Quote/QueryHistoryDatas": {
  5670. "get": {
  5671. "security": [
  5672. {
  5673. "ApiKeyAuth": []
  5674. }
  5675. ],
  5676. "produces": [
  5677. "application/json"
  5678. ],
  5679. "tags": [
  5680. "行情服务"
  5681. ],
  5682. "summary": "查询行情历史数据",
  5683. "parameters": [
  5684. {
  5685. "type": "integer",
  5686. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5687. "name": "cycleType",
  5688. "in": "query",
  5689. "required": true
  5690. },
  5691. {
  5692. "type": "string",
  5693. "description": "商品代码",
  5694. "name": "goodsCode",
  5695. "in": "query",
  5696. "required": true
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5701. "name": "startTime",
  5702. "in": "query"
  5703. },
  5704. {
  5705. "type": "string",
  5706. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5707. "name": "endTime",
  5708. "in": "query"
  5709. },
  5710. {
  5711. "type": "integer",
  5712. "description": "条数",
  5713. "name": "count",
  5714. "in": "query"
  5715. },
  5716. {
  5717. "type": "boolean",
  5718. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5719. "name": "isAsc",
  5720. "in": "query"
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "$ref": "#/definitions/quote.HistoryData"
  5728. }
  5729. },
  5730. "500": {
  5731. "description": "Internal Server Error",
  5732. "schema": {
  5733. "$ref": "#/definitions/app.Response"
  5734. }
  5735. }
  5736. }
  5737. }
  5738. },
  5739. "/Quote/QueryHistoryTikDatas": {
  5740. "get": {
  5741. "security": [
  5742. {
  5743. "ApiKeyAuth": []
  5744. }
  5745. ],
  5746. "produces": [
  5747. "application/json"
  5748. ],
  5749. "tags": [
  5750. "行情服务"
  5751. ],
  5752. "summary": "查询行情Tik数据",
  5753. "parameters": [
  5754. {
  5755. "type": "string",
  5756. "description": "商品代码",
  5757. "name": "goodsCode",
  5758. "in": "query",
  5759. "required": true
  5760. },
  5761. {
  5762. "type": "string",
  5763. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5764. "name": "startTime",
  5765. "in": "query"
  5766. },
  5767. {
  5768. "type": "string",
  5769. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5770. "name": "endTime",
  5771. "in": "query"
  5772. },
  5773. {
  5774. "type": "integer",
  5775. "description": "条数",
  5776. "name": "count",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "boolean",
  5781. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5782. "name": "isAsc",
  5783. "in": "query"
  5784. }
  5785. ],
  5786. "responses": {
  5787. "200": {
  5788. "description": "OK",
  5789. "schema": {
  5790. "$ref": "#/definitions/quote.HistoryTikData"
  5791. }
  5792. },
  5793. "500": {
  5794. "description": "Internal Server Error",
  5795. "schema": {
  5796. "$ref": "#/definitions/app.Response"
  5797. }
  5798. }
  5799. }
  5800. }
  5801. },
  5802. "/Quote/QueryQuoteDay": {
  5803. "get": {
  5804. "security": [
  5805. {
  5806. "ApiKeyAuth": []
  5807. }
  5808. ],
  5809. "produces": [
  5810. "application/json"
  5811. ],
  5812. "tags": [
  5813. "行情服务"
  5814. ],
  5815. "summary": "获取商品盘面信息",
  5816. "parameters": [
  5817. {
  5818. "type": "string",
  5819. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5820. "name": "goodsCodes",
  5821. "in": "query",
  5822. "required": true
  5823. }
  5824. ],
  5825. "responses": {
  5826. "200": {
  5827. "description": "OK",
  5828. "schema": {
  5829. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Quote/QueryTSData": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "produces": [
  5849. "application/json"
  5850. ],
  5851. "tags": [
  5852. "行情服务"
  5853. ],
  5854. "summary": "分时图数据查询",
  5855. "parameters": [
  5856. {
  5857. "type": "string",
  5858. "description": "商品代码",
  5859. "name": "goodsCode",
  5860. "in": "query",
  5861. "required": true
  5862. }
  5863. ],
  5864. "responses": {
  5865. "200": {
  5866. "description": "OK",
  5867. "schema": {
  5868. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5869. }
  5870. },
  5871. "500": {
  5872. "description": "Internal Server Error",
  5873. "schema": {
  5874. "$ref": "#/definitions/app.Response"
  5875. }
  5876. }
  5877. }
  5878. }
  5879. },
  5880. "/SZDZ/QueryConvertConfig": {
  5881. "get": {
  5882. "security": [
  5883. {
  5884. "ApiKeyAuth": []
  5885. }
  5886. ],
  5887. "produces": [
  5888. "application/json"
  5889. ],
  5890. "tags": [
  5891. "定制【尚志大宗】"
  5892. ],
  5893. "summary": "查询交易系统转换设置",
  5894. "parameters": [
  5895. {
  5896. "type": "integer",
  5897. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5898. "name": "convertType",
  5899. "in": "query"
  5900. },
  5901. {
  5902. "type": "string",
  5903. "description": "外部商品代码[JD\\PD]",
  5904. "name": "outerGoodsCode",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "string",
  5909. "description": "内部商品ID列表[交易],格式:1,2,3",
  5910. "name": "innerGoodsIDs",
  5911. "in": "query"
  5912. }
  5913. ],
  5914. "responses": {
  5915. "200": {
  5916. "description": "OK",
  5917. "schema": {
  5918. "$ref": "#/definitions/models.Szdz3convertconfig"
  5919. }
  5920. },
  5921. "500": {
  5922. "description": "Internal Server Error",
  5923. "schema": {
  5924. "$ref": "#/definitions/app.Response"
  5925. }
  5926. }
  5927. }
  5928. }
  5929. },
  5930. "/SZDZ/QueryConvertLog": {
  5931. "get": {
  5932. "security": [
  5933. {
  5934. "ApiKeyAuth": []
  5935. }
  5936. ],
  5937. "produces": [
  5938. "application/json"
  5939. ],
  5940. "tags": [
  5941. "定制【尚志大宗】"
  5942. ],
  5943. "summary": "交易系统转换流水查询",
  5944. "parameters": [
  5945. {
  5946. "type": "string",
  5947. "description": "资金账户 - 格式:1,2,3",
  5948. "name": "accountID",
  5949. "in": "query",
  5950. "required": true
  5951. },
  5952. {
  5953. "type": "string",
  5954. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5955. "name": "startDate",
  5956. "in": "query"
  5957. },
  5958. {
  5959. "type": "string",
  5960. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5961. "name": "endDate",
  5962. "in": "query"
  5963. }
  5964. ],
  5965. "responses": {
  5966. "200": {
  5967. "description": "OK",
  5968. "schema": {
  5969. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5970. }
  5971. },
  5972. "500": {
  5973. "description": "Internal Server Error",
  5974. "schema": {
  5975. "$ref": "#/definitions/app.Response"
  5976. }
  5977. }
  5978. }
  5979. }
  5980. },
  5981. "/SZDZ/QueryGoodsPickup": {
  5982. "get": {
  5983. "security": [
  5984. {
  5985. "ApiKeyAuth": []
  5986. }
  5987. ],
  5988. "produces": [
  5989. "application/json"
  5990. ],
  5991. "tags": [
  5992. "定制【尚志大宗】"
  5993. ],
  5994. "summary": "商品提货单查询",
  5995. "parameters": [
  5996. {
  5997. "type": "string",
  5998. "description": "资金账户 - 格式:1,2,3",
  5999. "name": "accountID",
  6000. "in": "query",
  6001. "required": true
  6002. },
  6003. {
  6004. "type": "integer",
  6005. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6006. "name": "takeOrderStatus",
  6007. "in": "query"
  6008. }
  6009. ],
  6010. "responses": {
  6011. "200": {
  6012. "description": "OK",
  6013. "schema": {
  6014. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6015. }
  6016. },
  6017. "500": {
  6018. "description": "Internal Server Error",
  6019. "schema": {
  6020. "$ref": "#/definitions/app.Response"
  6021. }
  6022. }
  6023. }
  6024. }
  6025. },
  6026. "/SZDZ/QueryRecieptOrder": {
  6027. "get": {
  6028. "security": [
  6029. {
  6030. "ApiKeyAuth": []
  6031. }
  6032. ],
  6033. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6034. "produces": [
  6035. "application/json"
  6036. ],
  6037. "tags": [
  6038. "定制【尚志大宗】"
  6039. ],
  6040. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6041. "parameters": [
  6042. {
  6043. "type": "integer",
  6044. "description": "页码",
  6045. "name": "page",
  6046. "in": "query"
  6047. },
  6048. {
  6049. "type": "integer",
  6050. "description": "每页条数",
  6051. "name": "pagesize",
  6052. "in": "query"
  6053. },
  6054. {
  6055. "type": "integer",
  6056. "description": "商品ID",
  6057. "name": "goodsID",
  6058. "in": "query",
  6059. "required": true
  6060. },
  6061. {
  6062. "type": "string",
  6063. "description": "所属账户名称",
  6064. "name": "accountName",
  6065. "in": "query"
  6066. },
  6067. {
  6068. "type": "integer",
  6069. "description": "市场ID",
  6070. "name": "marketID",
  6071. "in": "query"
  6072. },
  6073. {
  6074. "type": "integer",
  6075. "description": "方向 - 0:买 1:卖",
  6076. "name": "buyorsell",
  6077. "in": "query",
  6078. "required": true
  6079. }
  6080. ],
  6081. "responses": {
  6082. "200": {
  6083. "description": "OK",
  6084. "schema": {
  6085. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6086. }
  6087. },
  6088. "500": {
  6089. "description": "Internal Server Error",
  6090. "schema": {
  6091. "$ref": "#/definitions/app.Response"
  6092. }
  6093. }
  6094. }
  6095. }
  6096. },
  6097. "/SZDZ/QuerySZDZTradePosition": {
  6098. "get": {
  6099. "security": [
  6100. {
  6101. "ApiKeyAuth": []
  6102. }
  6103. ],
  6104. "produces": [
  6105. "application/json"
  6106. ],
  6107. "tags": [
  6108. "定制【尚志大宗】"
  6109. ],
  6110. "summary": "持仓汇总查询(尚志大宗)",
  6111. "parameters": [
  6112. {
  6113. "type": "integer",
  6114. "description": "资金账户",
  6115. "name": "accountID",
  6116. "in": "query",
  6117. "required": true
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/SZDZ/SearchWhite": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "produces": [
  6144. "application/json"
  6145. ],
  6146. "tags": [
  6147. "定制【尚志大宗】"
  6148. ],
  6149. "summary": "搜索白名单",
  6150. "parameters": [
  6151. {
  6152. "type": "integer",
  6153. "description": "用户ID",
  6154. "name": "userID",
  6155. "in": "query",
  6156. "required": true
  6157. }
  6158. ],
  6159. "responses": {
  6160. "200": {
  6161. "description": "OK",
  6162. "schema": {
  6163. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6164. }
  6165. },
  6166. "500": {
  6167. "description": "Internal Server Error",
  6168. "schema": {
  6169. "$ref": "#/definitions/app.Response"
  6170. }
  6171. }
  6172. }
  6173. }
  6174. },
  6175. "/Search/SearchGoodses": {
  6176. "get": {
  6177. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6178. "produces": [
  6179. "application/json"
  6180. ],
  6181. "tags": [
  6182. "检索服务"
  6183. ],
  6184. "summary": "检索商品信息",
  6185. "parameters": [
  6186. {
  6187. "type": "string",
  6188. "description": "检索内容",
  6189. "name": "content",
  6190. "in": "query",
  6191. "required": true
  6192. },
  6193. {
  6194. "type": "string",
  6195. "description": "交易模式,格式:1,2,3",
  6196. "name": "tradeModes",
  6197. "in": "query"
  6198. }
  6199. ],
  6200. "responses": {
  6201. "200": {
  6202. "description": "OK",
  6203. "schema": {
  6204. "$ref": "#/definitions/models.SearchGoods"
  6205. }
  6206. },
  6207. "500": {
  6208. "description": "Internal Server Error",
  6209. "schema": {
  6210. "$ref": "#/definitions/app.Response"
  6211. }
  6212. }
  6213. }
  6214. }
  6215. },
  6216. "/TaAccount/GetTaAccounts": {
  6217. "get": {
  6218. "security": [
  6219. {
  6220. "ApiKeyAuth": []
  6221. }
  6222. ],
  6223. "produces": [
  6224. "application/json"
  6225. ],
  6226. "tags": [
  6227. "资金账户"
  6228. ],
  6229. "summary": "获取资金账户信息",
  6230. "parameters": [
  6231. {
  6232. "type": "integer",
  6233. "description": "登录账户",
  6234. "name": "loginID",
  6235. "in": "query",
  6236. "required": true
  6237. },
  6238. {
  6239. "type": "integer",
  6240. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6241. "name": "taAccountType",
  6242. "in": "query"
  6243. }
  6244. ],
  6245. "responses": {
  6246. "200": {
  6247. "description": "OK",
  6248. "schema": {
  6249. "$ref": "#/definitions/models.Taaccount"
  6250. }
  6251. },
  6252. "500": {
  6253. "description": "Internal Server Error",
  6254. "schema": {
  6255. "$ref": "#/definitions/app.Response"
  6256. }
  6257. }
  6258. }
  6259. }
  6260. },
  6261. "/TaAccount/QueryAmountLog": {
  6262. "get": {
  6263. "security": [
  6264. {
  6265. "ApiKeyAuth": []
  6266. }
  6267. ],
  6268. "produces": [
  6269. "application/json"
  6270. ],
  6271. "tags": [
  6272. "资金账户"
  6273. ],
  6274. "summary": "资金流水查询(当前)",
  6275. "parameters": [
  6276. {
  6277. "type": "integer",
  6278. "description": "页码",
  6279. "name": "page",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "integer",
  6284. "description": "每页条数",
  6285. "name": "pagesize",
  6286. "in": "query"
  6287. },
  6288. {
  6289. "type": "string",
  6290. "description": "资金账户 - 格式:1,2,3",
  6291. "name": "accountID",
  6292. "in": "query",
  6293. "required": true
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "资金操作类型 - 格式:1,2,3",
  6298. "name": "OperateType",
  6299. "in": "query"
  6300. }
  6301. ],
  6302. "responses": {
  6303. "200": {
  6304. "description": "OK",
  6305. "schema": {
  6306. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6307. }
  6308. },
  6309. "500": {
  6310. "description": "Internal Server Error",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. }
  6315. }
  6316. }
  6317. },
  6318. "/TaAccount/QueryHisAmountLog": {
  6319. "get": {
  6320. "security": [
  6321. {
  6322. "ApiKeyAuth": []
  6323. }
  6324. ],
  6325. "produces": [
  6326. "application/json"
  6327. ],
  6328. "tags": [
  6329. "资金账户"
  6330. ],
  6331. "summary": "资金流水查询(历史)",
  6332. "parameters": [
  6333. {
  6334. "type": "integer",
  6335. "description": "页码",
  6336. "name": "page",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "每页条数",
  6342. "name": "pagesize",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "资金账户 - 格式:1,2,3",
  6348. "name": "accountID",
  6349. "in": "query",
  6350. "required": true
  6351. },
  6352. {
  6353. "type": "string",
  6354. "description": "资金操作类型 - 格式:1,2,3",
  6355. "name": "OperateType",
  6356. "in": "query"
  6357. },
  6358. {
  6359. "type": "string",
  6360. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6361. "name": "startDate",
  6362. "in": "query"
  6363. },
  6364. {
  6365. "type": "string",
  6366. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6367. "name": "endDate",
  6368. "in": "query"
  6369. }
  6370. ],
  6371. "responses": {
  6372. "200": {
  6373. "description": "OK",
  6374. "schema": {
  6375. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6376. }
  6377. },
  6378. "500": {
  6379. "description": "Internal Server Error",
  6380. "schema": {
  6381. "$ref": "#/definitions/app.Response"
  6382. }
  6383. }
  6384. }
  6385. }
  6386. },
  6387. "/Trade/QueryRecieptOrder": {
  6388. "get": {
  6389. "security": [
  6390. {
  6391. "ApiKeyAuth": []
  6392. }
  6393. ],
  6394. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6395. "produces": [
  6396. "application/json"
  6397. ],
  6398. "tags": [
  6399. "通用交易"
  6400. ],
  6401. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6402. "parameters": [
  6403. {
  6404. "type": "integer",
  6405. "description": "页码",
  6406. "name": "page",
  6407. "in": "query"
  6408. },
  6409. {
  6410. "type": "integer",
  6411. "description": "每页条数",
  6412. "name": "pagesize",
  6413. "in": "query"
  6414. },
  6415. {
  6416. "type": "integer",
  6417. "description": "商品ID",
  6418. "name": "goodsID",
  6419. "in": "query",
  6420. "required": true
  6421. },
  6422. {
  6423. "type": "string",
  6424. "description": "所属账户名称",
  6425. "name": "accountName",
  6426. "in": "query"
  6427. },
  6428. {
  6429. "type": "integer",
  6430. "description": "市场ID",
  6431. "name": "marketID",
  6432. "in": "query"
  6433. },
  6434. {
  6435. "type": "integer",
  6436. "description": "方向 - 0:买 1:卖",
  6437. "name": "buyorsell",
  6438. "in": "query",
  6439. "required": true
  6440. }
  6441. ],
  6442. "responses": {
  6443. "200": {
  6444. "description": "OK",
  6445. "schema": {
  6446. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6447. }
  6448. },
  6449. "500": {
  6450. "description": "Internal Server Error",
  6451. "schema": {
  6452. "$ref": "#/definitions/app.Response"
  6453. }
  6454. }
  6455. }
  6456. }
  6457. },
  6458. "/User/AddMessageBoard": {
  6459. "post": {
  6460. "security": [
  6461. {
  6462. "ApiKeyAuth": []
  6463. }
  6464. ],
  6465. "produces": [
  6466. "application/json"
  6467. ],
  6468. "tags": [
  6469. "用户信息"
  6470. ],
  6471. "summary": "添加用户留言板信息",
  6472. "parameters": [
  6473. {
  6474. "type": "integer",
  6475. "description": "用户ID",
  6476. "name": "userID",
  6477. "in": "query",
  6478. "required": true
  6479. },
  6480. {
  6481. "type": "string",
  6482. "description": "留言信息",
  6483. "name": "message",
  6484. "in": "query",
  6485. "required": true
  6486. },
  6487. {
  6488. "type": "string",
  6489. "description": "联系电话",
  6490. "name": "contactNum",
  6491. "in": "query",
  6492. "required": true
  6493. }
  6494. ],
  6495. "responses": {
  6496. "200": {
  6497. "description": "OK",
  6498. "schema": {
  6499. "$ref": "#/definitions/app.Response"
  6500. }
  6501. },
  6502. "500": {
  6503. "description": "Internal Server Error",
  6504. "schema": {
  6505. "$ref": "#/definitions/app.Response"
  6506. }
  6507. }
  6508. }
  6509. }
  6510. },
  6511. "/User/AddUserFavoriteGoods": {
  6512. "post": {
  6513. "security": [
  6514. {
  6515. "ApiKeyAuth": []
  6516. }
  6517. ],
  6518. "produces": [
  6519. "application/json"
  6520. ],
  6521. "tags": [
  6522. "用户信息"
  6523. ],
  6524. "summary": "添加用户商品收藏信息",
  6525. "parameters": [
  6526. {
  6527. "type": "integer",
  6528. "description": "用户ID",
  6529. "name": "userID",
  6530. "in": "query",
  6531. "required": true
  6532. },
  6533. {
  6534. "type": "integer",
  6535. "description": "商品ID",
  6536. "name": "goodsID",
  6537. "in": "query",
  6538. "required": true
  6539. }
  6540. ],
  6541. "responses": {
  6542. "200": {
  6543. "description": "OK",
  6544. "schema": {
  6545. "$ref": "#/definitions/app.Response"
  6546. }
  6547. },
  6548. "500": {
  6549. "description": "Internal Server Error",
  6550. "schema": {
  6551. "$ref": "#/definitions/app.Response"
  6552. }
  6553. }
  6554. }
  6555. }
  6556. },
  6557. "/User/GetLoginID": {
  6558. "get": {
  6559. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6560. "produces": [
  6561. "application/json"
  6562. ],
  6563. "tags": [
  6564. "用户信息"
  6565. ],
  6566. "summary": "获取登录ID",
  6567. "parameters": [
  6568. {
  6569. "type": "string",
  6570. "description": "登录代码",
  6571. "name": "username",
  6572. "in": "query",
  6573. "required": true
  6574. }
  6575. ],
  6576. "responses": {
  6577. "200": {
  6578. "description": "OK",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. },
  6583. "500": {
  6584. "description": "Internal Server Error",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. }
  6589. }
  6590. }
  6591. },
  6592. "/User/GetUserAccount": {
  6593. "get": {
  6594. "security": [
  6595. {
  6596. "ApiKeyAuth": []
  6597. }
  6598. ],
  6599. "produces": [
  6600. "application/json"
  6601. ],
  6602. "tags": [
  6603. "用户信息"
  6604. ],
  6605. "summary": "获取用户账号信息",
  6606. "parameters": [
  6607. {
  6608. "type": "integer",
  6609. "description": "用户ID",
  6610. "name": "userID",
  6611. "in": "query",
  6612. "required": true
  6613. }
  6614. ],
  6615. "responses": {
  6616. "200": {
  6617. "description": "OK",
  6618. "schema": {
  6619. "$ref": "#/definitions/models.Useraccount"
  6620. }
  6621. },
  6622. "500": {
  6623. "description": "Internal Server Error",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. }
  6628. }
  6629. }
  6630. },
  6631. "/User/GetUserAuthStatus": {
  6632. "get": {
  6633. "security": [
  6634. {
  6635. "ApiKeyAuth": []
  6636. }
  6637. ],
  6638. "produces": [
  6639. "application/json"
  6640. ],
  6641. "tags": [
  6642. "用户信息"
  6643. ],
  6644. "summary": "获取用户实名认证状态",
  6645. "parameters": [
  6646. {
  6647. "type": "integer",
  6648. "description": "用户ID",
  6649. "name": "userID",
  6650. "in": "query",
  6651. "required": true
  6652. }
  6653. ],
  6654. "responses": {
  6655. "200": {
  6656. "description": "OK",
  6657. "schema": {
  6658. "$ref": "#/definitions/app.Response"
  6659. }
  6660. },
  6661. "500": {
  6662. "description": "Internal Server Error",
  6663. "schema": {
  6664. "$ref": "#/definitions/app.Response"
  6665. }
  6666. }
  6667. }
  6668. }
  6669. },
  6670. "/User/LoginQuery": {
  6671. "get": {
  6672. "security": [
  6673. {
  6674. "ApiKeyAuth": []
  6675. }
  6676. ],
  6677. "produces": [
  6678. "application/json"
  6679. ],
  6680. "tags": [
  6681. "用户信息"
  6682. ],
  6683. "summary": "账户登录后信息查询",
  6684. "parameters": [
  6685. {
  6686. "type": "integer",
  6687. "description": "登录账号",
  6688. "name": "loginID",
  6689. "in": "query",
  6690. "required": true
  6691. }
  6692. ],
  6693. "responses": {
  6694. "200": {
  6695. "description": "OK",
  6696. "schema": {
  6697. "$ref": "#/definitions/user.LoginQueryRsp"
  6698. }
  6699. },
  6700. "500": {
  6701. "description": "Internal Server Error",
  6702. "schema": {
  6703. "$ref": "#/definitions/app.Response"
  6704. }
  6705. }
  6706. }
  6707. }
  6708. },
  6709. "/User/QueryMessageBoard": {
  6710. "get": {
  6711. "security": [
  6712. {
  6713. "ApiKeyAuth": []
  6714. }
  6715. ],
  6716. "produces": [
  6717. "application/json"
  6718. ],
  6719. "tags": [
  6720. "用户信息"
  6721. ],
  6722. "summary": "获取用户留言板信息",
  6723. "parameters": [
  6724. {
  6725. "type": "integer",
  6726. "description": "用户ID",
  6727. "name": "userID",
  6728. "in": "query",
  6729. "required": true
  6730. }
  6731. ],
  6732. "responses": {
  6733. "200": {
  6734. "description": "OK",
  6735. "schema": {
  6736. "$ref": "#/definitions/models.Messageboard"
  6737. }
  6738. },
  6739. "500": {
  6740. "description": "Internal Server Error",
  6741. "schema": {
  6742. "$ref": "#/definitions/app.Response"
  6743. }
  6744. }
  6745. }
  6746. }
  6747. },
  6748. "/User/QueryUserFavoriteGoodses": {
  6749. "get": {
  6750. "security": [
  6751. {
  6752. "ApiKeyAuth": []
  6753. }
  6754. ],
  6755. "produces": [
  6756. "application/json"
  6757. ],
  6758. "tags": [
  6759. "用户信息"
  6760. ],
  6761. "summary": "获取用户商品收藏信息",
  6762. "parameters": [
  6763. {
  6764. "type": "integer",
  6765. "description": "用户ID",
  6766. "name": "userID",
  6767. "in": "query",
  6768. "required": true
  6769. }
  6770. ],
  6771. "responses": {
  6772. "200": {
  6773. "description": "OK",
  6774. "schema": {
  6775. "$ref": "#/definitions/models.Userfavoritegoods"
  6776. }
  6777. },
  6778. "500": {
  6779. "description": "Internal Server Error",
  6780. "schema": {
  6781. "$ref": "#/definitions/app.Response"
  6782. }
  6783. }
  6784. }
  6785. }
  6786. },
  6787. "/User/QueryUserInfo": {
  6788. "get": {
  6789. "security": [
  6790. {
  6791. "ApiKeyAuth": []
  6792. }
  6793. ],
  6794. "produces": [
  6795. "application/json"
  6796. ],
  6797. "tags": [
  6798. "用户信息"
  6799. ],
  6800. "summary": "获取用户信息",
  6801. "parameters": [
  6802. {
  6803. "type": "integer",
  6804. "description": "用户ID",
  6805. "name": "userID",
  6806. "in": "query",
  6807. "required": true
  6808. },
  6809. {
  6810. "type": "boolean",
  6811. "description": "是否解密",
  6812. "name": "isDecrypt",
  6813. "in": "query"
  6814. }
  6815. ],
  6816. "responses": {
  6817. "200": {
  6818. "description": "OK",
  6819. "schema": {
  6820. "$ref": "#/definitions/models.Userinfo"
  6821. }
  6822. },
  6823. "500": {
  6824. "description": "Internal Server Error",
  6825. "schema": {
  6826. "$ref": "#/definitions/app.Response"
  6827. }
  6828. }
  6829. }
  6830. }
  6831. },
  6832. "/User/QueryUserReferNum": {
  6833. "get": {
  6834. "produces": [
  6835. "application/json"
  6836. ],
  6837. "tags": [
  6838. "用户信息"
  6839. ],
  6840. "summary": "获取用户邀请码",
  6841. "parameters": [
  6842. {
  6843. "type": "integer",
  6844. "description": "用户ID",
  6845. "name": "userID",
  6846. "in": "query",
  6847. "required": true
  6848. }
  6849. ],
  6850. "responses": {
  6851. "200": {
  6852. "description": "OK",
  6853. "schema": {
  6854. "$ref": "#/definitions/app.Response"
  6855. }
  6856. },
  6857. "500": {
  6858. "description": "Internal Server Error",
  6859. "schema": {
  6860. "$ref": "#/definitions/app.Response"
  6861. }
  6862. }
  6863. }
  6864. }
  6865. },
  6866. "/User/RemoveUserFavoriteGoods": {
  6867. "post": {
  6868. "security": [
  6869. {
  6870. "ApiKeyAuth": []
  6871. }
  6872. ],
  6873. "produces": [
  6874. "application/json"
  6875. ],
  6876. "tags": [
  6877. "用户信息"
  6878. ],
  6879. "summary": "移除用户商品收藏信息",
  6880. "parameters": [
  6881. {
  6882. "type": "integer",
  6883. "description": "用户ID",
  6884. "name": "userID",
  6885. "in": "query",
  6886. "required": true
  6887. },
  6888. {
  6889. "type": "integer",
  6890. "description": "商品ID",
  6891. "name": "goodsID",
  6892. "in": "query",
  6893. "required": true
  6894. }
  6895. ],
  6896. "responses": {
  6897. "200": {
  6898. "description": "OK",
  6899. "schema": {
  6900. "$ref": "#/definitions/app.Response"
  6901. }
  6902. },
  6903. "500": {
  6904. "description": "Internal Server Error",
  6905. "schema": {
  6906. "$ref": "#/definitions/app.Response"
  6907. }
  6908. }
  6909. }
  6910. }
  6911. },
  6912. "/User/UpdateUserAccountStatus": {
  6913. "post": {
  6914. "security": [
  6915. {
  6916. "ApiKeyAuth": []
  6917. }
  6918. ],
  6919. "produces": [
  6920. "application/json"
  6921. ],
  6922. "tags": [
  6923. "用户信息"
  6924. ],
  6925. "summary": "更新用户状态",
  6926. "parameters": [
  6927. {
  6928. "type": "integer",
  6929. "description": "用户ID",
  6930. "name": "userID",
  6931. "in": "query",
  6932. "required": true
  6933. },
  6934. {
  6935. "type": "integer",
  6936. "description": "账户状态 - 4:正常 6:注销(停用)",
  6937. "name": "accountStatus",
  6938. "in": "query",
  6939. "required": true
  6940. }
  6941. ],
  6942. "responses": {
  6943. "200": {
  6944. "description": "OK",
  6945. "schema": {
  6946. "$ref": "#/definitions/app.Response"
  6947. }
  6948. },
  6949. "500": {
  6950. "description": "Internal Server Error",
  6951. "schema": {
  6952. "$ref": "#/definitions/app.Response"
  6953. }
  6954. }
  6955. }
  6956. }
  6957. },
  6958. "/WR/GetWRCategoryInfo": {
  6959. "get": {
  6960. "produces": [
  6961. "application/json"
  6962. ],
  6963. "tags": [
  6964. "仓单服务"
  6965. ],
  6966. "summary": "获取现货分类信息",
  6967. "responses": {
  6968. "200": {
  6969. "description": "OK",
  6970. "schema": {
  6971. "$ref": "#/definitions/models.WRCategoryTree"
  6972. }
  6973. },
  6974. "500": {
  6975. "description": "Internal Server Error",
  6976. "schema": {
  6977. "$ref": "#/definitions/app.Response"
  6978. }
  6979. }
  6980. }
  6981. }
  6982. },
  6983. "/WRTrade/GetAllDeliveryGoods": {
  6984. "get": {
  6985. "security": [
  6986. {
  6987. "ApiKeyAuth": []
  6988. },
  6989. {
  6990. "ApiKeyAuth": []
  6991. }
  6992. ],
  6993. "produces": [
  6994. "application/json",
  6995. "application/json"
  6996. ],
  6997. "tags": [
  6998. "仓单贸易",
  6999. "仓单贸易"
  7000. ],
  7001. "summary": "获取带仓单分类的种类信息",
  7002. "responses": {
  7003. "200": {
  7004. "description": "OK",
  7005. "schema": {
  7006. "$ref": "#/definitions/app.Response"
  7007. }
  7008. },
  7009. "500": {
  7010. "description": "Internal Server Error",
  7011. "schema": {
  7012. "$ref": "#/definitions/app.Response"
  7013. }
  7014. }
  7015. }
  7016. }
  7017. }
  7018. },
  7019. "definitions": {
  7020. "app.Response": {
  7021. "type": "object",
  7022. "properties": {
  7023. "code": {
  7024. "type": "integer"
  7025. },
  7026. "data": {
  7027. "type": "object"
  7028. },
  7029. "msg": {
  7030. "type": "string"
  7031. },
  7032. "page": {
  7033. "description": "页码",
  7034. "type": "integer"
  7035. },
  7036. "pagesize": {
  7037. "description": "每页条数",
  7038. "type": "integer"
  7039. },
  7040. "total": {
  7041. "description": "总条数",
  7042. "type": "integer"
  7043. }
  7044. }
  7045. },
  7046. "common.QueryImageConfigsRsp": {
  7047. "type": "object",
  7048. "required": [
  7049. "configid"
  7050. ],
  7051. "properties": {
  7052. "areauserid": {
  7053. "description": "所属机构ID",
  7054. "type": "integer"
  7055. },
  7056. "configid": {
  7057. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7058. "type": "integer"
  7059. },
  7060. "createdate": {
  7061. "description": "创建时间",
  7062. "type": "string"
  7063. },
  7064. "creatorid": {
  7065. "description": "创建人",
  7066. "type": "integer"
  7067. },
  7068. "imagepath": {
  7069. "description": "图片",
  7070. "type": "string"
  7071. },
  7072. "imagetype": {
  7073. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7074. "type": "integer"
  7075. },
  7076. "isshow": {
  7077. "description": "是否展示 - 0:不展示 1:展示",
  7078. "type": "integer"
  7079. },
  7080. "marketid": {
  7081. "description": "市场ID",
  7082. "type": "integer"
  7083. },
  7084. "modifierid": {
  7085. "description": "操作人",
  7086. "type": "integer"
  7087. },
  7088. "sort": {
  7089. "description": "排序",
  7090. "type": "integer"
  7091. },
  7092. "title": {
  7093. "description": "标题",
  7094. "type": "string"
  7095. },
  7096. "trademode": {
  7097. "description": "交易模式",
  7098. "type": "integer"
  7099. },
  7100. "updatedate": {
  7101. "description": "修改时间",
  7102. "type": "string"
  7103. },
  7104. "url": {
  7105. "description": "链接(地址或商品ID)",
  7106. "type": "string"
  7107. },
  7108. "urltype": {
  7109. "description": "链接类型 - 1:直接地址 2:商品ID",
  7110. "type": "integer"
  7111. }
  7112. }
  7113. },
  7114. "common.QueryNoticeRsp": {
  7115. "type": "object",
  7116. "required": [
  7117. "autoid"
  7118. ],
  7119. "properties": {
  7120. "auditoruserid": {
  7121. "description": "审核人",
  7122. "type": "integer"
  7123. },
  7124. "auditremark": {
  7125. "description": "审核备注",
  7126. "type": "string"
  7127. },
  7128. "audittime": {
  7129. "description": "审核日期",
  7130. "type": "string"
  7131. },
  7132. "autoid": {
  7133. "description": "自增ID",
  7134. "type": "integer"
  7135. },
  7136. "content": {
  7137. "description": "内容",
  7138. "type": "string"
  7139. },
  7140. "createtime": {
  7141. "description": "创建时间",
  7142. "type": "string"
  7143. },
  7144. "creatorid": {
  7145. "description": "建仓人",
  7146. "type": "integer"
  7147. },
  7148. "endtime": {
  7149. "description": "结束时间",
  7150. "type": "string"
  7151. },
  7152. "istop": {
  7153. "description": "是否置顶 - 0:不置顶 1:置顶",
  7154. "type": "integer"
  7155. },
  7156. "msgiconurl": {
  7157. "description": "消息图标Url",
  7158. "type": "string"
  7159. },
  7160. "msgtype": {
  7161. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7162. "type": "integer"
  7163. },
  7164. "publisher": {
  7165. "description": "消息发布者",
  7166. "type": "string"
  7167. },
  7168. "readed": {
  7169. "description": "是否已读",
  7170. "type": "boolean"
  7171. },
  7172. "scheduletime": {
  7173. "description": "计划发送时间",
  7174. "type": "string"
  7175. },
  7176. "sendtype": {
  7177. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7178. "type": "integer"
  7179. },
  7180. "sentstatus": {
  7181. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7182. "type": "integer"
  7183. },
  7184. "title": {
  7185. "description": "标题",
  7186. "type": "string"
  7187. },
  7188. "userid": {
  7189. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7190. "type": "integer"
  7191. }
  7192. }
  7193. },
  7194. "common.QueryProvincesAndCitiesRsp": {
  7195. "type": "object",
  7196. "properties": {
  7197. "cities": {
  7198. "description": "市",
  7199. "type": "array",
  7200. "items": {
  7201. "$ref": "#/definitions/models.Division"
  7202. }
  7203. },
  7204. "province": {
  7205. "description": "省",
  7206. "$ref": "#/definitions/models.Division"
  7207. }
  7208. }
  7209. },
  7210. "common.QueryTableDefineRsp": {
  7211. "type": "object",
  7212. "required": [
  7213. "tablekey"
  7214. ],
  7215. "properties": {
  7216. "columns": {
  7217. "description": "列头信息数组",
  7218. "type": "array",
  7219. "items": {
  7220. "$ref": "#/definitions/models.Tablecolumnconfig"
  7221. }
  7222. },
  7223. "remark": {
  7224. "description": "Remark",
  7225. "type": "string"
  7226. },
  7227. "tabelmenu": {
  7228. "description": "列表菜单",
  7229. "type": "string"
  7230. },
  7231. "tablekey": {
  7232. "description": "列表Key",
  7233. "type": "string"
  7234. },
  7235. "tablename": {
  7236. "description": "列表名称",
  7237. "type": "string"
  7238. },
  7239. "tabletype": {
  7240. "description": "列表类型 - 1:管理端 2:终端",
  7241. "type": "integer"
  7242. }
  7243. }
  7244. },
  7245. "common.QueryTraderMenuRsp": {
  7246. "type": "object",
  7247. "properties": {
  7248. "OperationMenu": {
  7249. "description": "功能菜单",
  7250. "type": "array",
  7251. "items": {
  7252. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7253. }
  7254. },
  7255. "QuoteMenu": {
  7256. "description": "报价牌分类菜单",
  7257. "type": "array",
  7258. "items": {
  7259. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7260. }
  7261. }
  7262. }
  7263. },
  7264. "cptrade.Cptradepositioncancel": {
  7265. "type": "object",
  7266. "required": [
  7267. "cancelid"
  7268. ],
  7269. "properties": {
  7270. "accountid": {
  7271. "description": "申请人账户ID",
  7272. "type": "integer"
  7273. },
  7274. "applystatus": {
  7275. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7276. "type": "integer"
  7277. },
  7278. "applytime": {
  7279. "description": "申请时间",
  7280. "type": "string"
  7281. },
  7282. "cancelid": {
  7283. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7284. "type": "integer"
  7285. },
  7286. "cancelqty": {
  7287. "description": "注销数量",
  7288. "type": "integer"
  7289. },
  7290. "createtime": {
  7291. "description": "创建时间",
  7292. "type": "string"
  7293. },
  7294. "creatorid": {
  7295. "description": "创建人ID",
  7296. "type": "integer"
  7297. },
  7298. "creatorname": {
  7299. "description": "创建人",
  7300. "type": "string"
  7301. },
  7302. "goodscode": {
  7303. "description": "订单商品代码",
  7304. "type": "string"
  7305. },
  7306. "goodsid": {
  7307. "description": "商品ID",
  7308. "type": "integer"
  7309. },
  7310. "goodsname": {
  7311. "description": "订单商品名称",
  7312. "type": "string"
  7313. },
  7314. "goodunit": {
  7315. "description": "报价单位",
  7316. "type": "string"
  7317. },
  7318. "handlestatus": {
  7319. "description": "处理状态",
  7320. "type": "integer"
  7321. },
  7322. "marketid": {
  7323. "description": "市场ID",
  7324. "type": "integer"
  7325. },
  7326. "marketname": {
  7327. "description": "市场名称",
  7328. "type": "string"
  7329. },
  7330. "tradedate": {
  7331. "description": "交易日(yyyyMMdd)",
  7332. "type": "string"
  7333. },
  7334. "userid": {
  7335. "description": "申请人ID",
  7336. "type": "integer"
  7337. }
  7338. }
  7339. },
  7340. "cptrade.Cptradepresaleapply": {
  7341. "type": "object",
  7342. "required": [
  7343. "applyid"
  7344. ],
  7345. "properties": {
  7346. "accountid": {
  7347. "description": "申请人账户ID",
  7348. "type": "integer"
  7349. },
  7350. "applyid": {
  7351. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7352. "type": "integer"
  7353. },
  7354. "applyremark": {
  7355. "description": "申请备注",
  7356. "type": "string"
  7357. },
  7358. "applystatus": {
  7359. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7360. "type": "integer"
  7361. },
  7362. "applytime": {
  7363. "description": "申请时间",
  7364. "type": "string"
  7365. },
  7366. "attachmenturl": {
  7367. "description": "附件地址",
  7368. "type": "string"
  7369. },
  7370. "endtime": {
  7371. "description": "预售结束时间",
  7372. "type": "string"
  7373. },
  7374. "goodscode": {
  7375. "description": "商品代码",
  7376. "type": "string"
  7377. },
  7378. "goodsid": {
  7379. "description": "商品ID",
  7380. "type": "integer"
  7381. },
  7382. "goodsname": {
  7383. "description": "商品名称",
  7384. "type": "string"
  7385. },
  7386. "goodunit": {
  7387. "description": "报价单位",
  7388. "type": "string"
  7389. },
  7390. "handlestatus": {
  7391. "description": "处理状态",
  7392. "type": "integer"
  7393. },
  7394. "marketid": {
  7395. "description": "预售市场ID",
  7396. "type": "integer"
  7397. },
  7398. "marketname": {
  7399. "description": "预售市场名称",
  7400. "type": "string"
  7401. },
  7402. "presaleqty": {
  7403. "description": "预售数量",
  7404. "type": "integer"
  7405. },
  7406. "relatedgoodscode": {
  7407. "description": "关联交易合约代码",
  7408. "type": "string"
  7409. },
  7410. "relatedgoodsid": {
  7411. "description": "关联交易合约ID",
  7412. "type": "integer"
  7413. },
  7414. "relatedgoodsname": {
  7415. "description": "关联交易合约名称",
  7416. "type": "string"
  7417. },
  7418. "starttime": {
  7419. "description": "预售开始时间",
  7420. "type": "string"
  7421. },
  7422. "tradedate": {
  7423. "description": "交易日(yyyyMMdd)",
  7424. "type": "string"
  7425. },
  7426. "trademode": {
  7427. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7428. "type": "integer"
  7429. },
  7430. "userid": {
  7431. "description": "申请人ID",
  7432. "type": "integer"
  7433. }
  7434. }
  7435. },
  7436. "cptrade.Cptradeusergoodsdata": {
  7437. "type": "object",
  7438. "required": [
  7439. "accountid",
  7440. "goodsid"
  7441. ],
  7442. "properties": {
  7443. "EnabledQty": {
  7444. "description": "可用量",
  7445. "type": "integer"
  7446. },
  7447. "GoodsCode": {
  7448. "description": "订单商品代码",
  7449. "type": "string"
  7450. },
  7451. "GoodsName": {
  7452. "description": "订单商品名称",
  7453. "type": "string"
  7454. },
  7455. "WRStandardCode": {
  7456. "description": "仓单标准代码",
  7457. "type": "string"
  7458. },
  7459. "WRStandardName": {
  7460. "description": "仓单标准名称",
  7461. "type": "string"
  7462. },
  7463. "accountid": {
  7464. "description": "账户ID",
  7465. "type": "integer"
  7466. },
  7467. "cancelqty": {
  7468. "description": "注销量",
  7469. "type": "integer"
  7470. },
  7471. "curpresaleqty": {
  7472. "description": "当前预售量",
  7473. "type": "integer"
  7474. },
  7475. "deliveryqty": {
  7476. "description": "交割量",
  7477. "type": "integer"
  7478. },
  7479. "freezeamount": {
  7480. "description": "冻结金额",
  7481. "type": "number"
  7482. },
  7483. "goodsid": {
  7484. "description": "商品ID",
  7485. "type": "integer"
  7486. },
  7487. "goodunit": {
  7488. "description": "报价单位",
  7489. "type": "string"
  7490. },
  7491. "hasspotfreeze": {
  7492. "description": "是否有现货冻结 - 0:否 1:有",
  7493. "type": "integer"
  7494. },
  7495. "inqty": {
  7496. "description": "转入量(总数量)",
  7497. "type": "integer"
  7498. },
  7499. "marketid": {
  7500. "description": "市场ID",
  7501. "type": "integer"
  7502. },
  7503. "presaledamount": {
  7504. "description": "已预售总金额",
  7505. "type": "integer"
  7506. },
  7507. "presaledqty": {
  7508. "description": "已预售量",
  7509. "type": "integer"
  7510. },
  7511. "userid": {
  7512. "description": "用户ID",
  7513. "type": "integer"
  7514. },
  7515. "wrstandardid": {
  7516. "description": "仓单标准ID",
  7517. "type": "integer"
  7518. }
  7519. }
  7520. },
  7521. "cptrade.QueryCPTradeMyBidRsp": {
  7522. "type": "object",
  7523. "required": [
  7524. "accountid",
  7525. "goodsid",
  7526. "marketid",
  7527. "orderid",
  7528. "orderqty",
  7529. "ordertime",
  7530. "tradeprice",
  7531. "tradeqty"
  7532. ],
  7533. "properties": {
  7534. "accountid": {
  7535. "description": "账户ID[报价币种]",
  7536. "type": "integer"
  7537. },
  7538. "goodsid": {
  7539. "description": "商品ID",
  7540. "type": "integer"
  7541. },
  7542. "goodunit": {
  7543. "description": "报价单位",
  7544. "type": "string"
  7545. },
  7546. "marketid": {
  7547. "description": "市场ID",
  7548. "type": "integer"
  7549. },
  7550. "orderid": {
  7551. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7552. "type": "integer"
  7553. },
  7554. "orderprice": {
  7555. "description": "委托价格",
  7556. "type": "number"
  7557. },
  7558. "orderqty": {
  7559. "description": "委托数量",
  7560. "type": "integer"
  7561. },
  7562. "ordertime": {
  7563. "description": "委托时间",
  7564. "type": "string"
  7565. },
  7566. "ordertotalprice": {
  7567. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7568. "type": "number"
  7569. },
  7570. "ordertotalweight": {
  7571. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7572. "type": "integer"
  7573. },
  7574. "totaltotalprice": {
  7575. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7576. "type": "number"
  7577. },
  7578. "tradeprice": {
  7579. "description": "成交价格",
  7580. "type": "number"
  7581. },
  7582. "tradeqty": {
  7583. "description": "成交数量",
  7584. "type": "integer"
  7585. }
  7586. }
  7587. },
  7588. "cptrade.QueryCPTradeOrderDetailRsq": {
  7589. "type": "object",
  7590. "required": [
  7591. "accountid",
  7592. "buildtype",
  7593. "buyorsell",
  7594. "goodsid",
  7595. "marketid",
  7596. "memberuserid",
  7597. "operatetype",
  7598. "orderqty",
  7599. "ordertime",
  7600. "pricemode",
  7601. "strorderid",
  7602. "tradedate",
  7603. "validtype"
  7604. ],
  7605. "properties": {
  7606. "accountid": {
  7607. "description": "账户ID[报价币种]",
  7608. "type": "integer"
  7609. },
  7610. "buildtype": {
  7611. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7612. "type": "integer"
  7613. },
  7614. "buyorsell": {
  7615. "description": "买卖 - 0:买 1:卖",
  7616. "type": "integer"
  7617. },
  7618. "cancelorderid": {
  7619. "description": "撤单单号(撤单时填写)",
  7620. "type": "integer"
  7621. },
  7622. "cancelqty": {
  7623. "description": "撤单数量",
  7624. "type": "integer"
  7625. },
  7626. "clientordertime": {
  7627. "description": "客户端委托时间",
  7628. "type": "string"
  7629. },
  7630. "clientticket": {
  7631. "description": "客户端流水号",
  7632. "type": "string"
  7633. },
  7634. "clienttype": {
  7635. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7636. "type": "integer"
  7637. },
  7638. "closeexchagechargevalue": {
  7639. "description": "平仓交易所手续费设置值",
  7640. "type": "number"
  7641. },
  7642. "closefeealgorithm": {
  7643. "description": "平仓手续费收取方式 1:比率 2:固定",
  7644. "type": "integer"
  7645. },
  7646. "closefreezecharge": {
  7647. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7648. "type": "number"
  7649. },
  7650. "closememberchargevalue": {
  7651. "description": "平仓会员手续费设置值",
  7652. "type": "number"
  7653. },
  7654. "closeqty": {
  7655. "description": "平仓数量(先建后平操作 需要记录)",
  7656. "type": "integer"
  7657. },
  7658. "closetradeqty": {
  7659. "description": "平仓成交数量(先建后平操作,需要记录)",
  7660. "type": "integer"
  7661. },
  7662. "closeunfreezecharge": {
  7663. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7664. "type": "number"
  7665. },
  7666. "delistingtype": {
  7667. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7668. "type": "integer"
  7669. },
  7670. "freezecharge": {
  7671. "description": "冻结手续费",
  7672. "type": "number"
  7673. },
  7674. "freezemargin": {
  7675. "description": "冻结保证金(冻结交易金额)",
  7676. "type": "number"
  7677. },
  7678. "gcaccountid": {
  7679. "description": "账户ID[合约币种]",
  7680. "type": "integer"
  7681. },
  7682. "goodsid": {
  7683. "description": "商品ID",
  7684. "type": "integer"
  7685. },
  7686. "isconfirmexercise": {
  7687. "description": "是否确认行权- 0:否 1:是",
  7688. "type": "integer"
  7689. },
  7690. "ispreexercise": {
  7691. "description": "是否预申报- 0:否 1:是",
  7692. "type": "integer"
  7693. },
  7694. "listingselecttype": {
  7695. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7696. "type": "integer"
  7697. },
  7698. "marginalgorithm": {
  7699. "description": "保证金收取方式 1:比率 2:固定",
  7700. "type": "integer"
  7701. },
  7702. "marginvalue": {
  7703. "description": "即市保证金设置值",
  7704. "type": "number"
  7705. },
  7706. "marketid": {
  7707. "description": "市场ID",
  7708. "type": "integer"
  7709. },
  7710. "marketmaxsub": {
  7711. "description": "市价最大偏移范围",
  7712. "type": "number"
  7713. },
  7714. "memberuserid": {
  7715. "description": "所属会员UserID",
  7716. "type": "integer"
  7717. },
  7718. "openexchagechargevalue": {
  7719. "description": "建仓交易所手续费设置值",
  7720. "type": "number"
  7721. },
  7722. "openfeealgorithm": {
  7723. "description": "建仓手续费收取方式 1:比率 2:固定",
  7724. "type": "integer"
  7725. },
  7726. "openfreezecharge": {
  7727. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7728. "type": "number"
  7729. },
  7730. "openmemberchargevalue": {
  7731. "description": "建仓会员手续费设置值",
  7732. "type": "number"
  7733. },
  7734. "openqty": {
  7735. "description": "开仓数量(先建后平操作,需要记录)",
  7736. "type": "integer"
  7737. },
  7738. "opentradeqty": {
  7739. "description": "开仓成交数量(先建后平操作,需要记录)",
  7740. "type": "integer"
  7741. },
  7742. "openunfreezecharge": {
  7743. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7744. "type": "number"
  7745. },
  7746. "operatetype": {
  7747. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7748. "type": "integer"
  7749. },
  7750. "operatorid": {
  7751. "description": "登录账号(LoginID)",
  7752. "type": "integer"
  7753. },
  7754. "optiontype": {
  7755. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7756. "type": "integer"
  7757. },
  7758. "orderprice": {
  7759. "description": "委托价格",
  7760. "type": "number"
  7761. },
  7762. "orderqty": {
  7763. "description": "委托数量",
  7764. "type": "integer"
  7765. },
  7766. "ordersrc": {
  7767. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7768. "type": "integer"
  7769. },
  7770. "orderstatus": {
  7771. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7772. "type": "integer"
  7773. },
  7774. "ordertime": {
  7775. "description": "委托时间",
  7776. "type": "string"
  7777. },
  7778. "preexerciseprice": {
  7779. "description": "预申报价格",
  7780. "type": "number"
  7781. },
  7782. "premium": {
  7783. "description": "权利金",
  7784. "type": "number"
  7785. },
  7786. "preorderid": {
  7787. "description": "关联预埋单号(止盈止损单时填写)",
  7788. "type": "integer"
  7789. },
  7790. "pricemode": {
  7791. "description": "取价方式 - 1:市价 2: 限价",
  7792. "type": "integer"
  7793. },
  7794. "quoteid": {
  7795. "description": "报价单ID",
  7796. "type": "integer"
  7797. },
  7798. "relatedid": {
  7799. "description": "关联单号(交割单)",
  7800. "type": "integer"
  7801. },
  7802. "retcode": {
  7803. "description": "错误代码",
  7804. "type": "integer"
  7805. },
  7806. "sessionid": {
  7807. "description": "会话ID",
  7808. "type": "integer"
  7809. },
  7810. "strorderid": {
  7811. "description": "委托单号",
  7812. "type": "string"
  7813. },
  7814. "tradedate": {
  7815. "description": "交易日(yyyyMMdd)",
  7816. "type": "string"
  7817. },
  7818. "tradeproperty": {
  7819. "description": "交易属性",
  7820. "type": "integer"
  7821. },
  7822. "tradeqty": {
  7823. "description": "成交数量",
  7824. "type": "integer"
  7825. },
  7826. "unfreezecharge": {
  7827. "description": "解冻手续费",
  7828. "type": "number"
  7829. },
  7830. "unfreezemargin": {
  7831. "description": "解冻保证金",
  7832. "type": "number"
  7833. },
  7834. "updatetime": {
  7835. "description": "更新时间",
  7836. "type": "string"
  7837. },
  7838. "uuid": {
  7839. "description": "发起端唯一id",
  7840. "type": "string"
  7841. },
  7842. "validtime": {
  7843. "description": "有效期限",
  7844. "type": "string"
  7845. },
  7846. "validtype": {
  7847. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7848. "type": "integer"
  7849. },
  7850. "volumetype": {
  7851. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7852. "type": "integer"
  7853. }
  7854. }
  7855. },
  7856. "cptrade.QueryMyCPTradeGoodsRsp": {
  7857. "type": "object",
  7858. "required": [
  7859. "goodscode",
  7860. "goodsid",
  7861. "goodsname",
  7862. "marketid",
  7863. "relatedgoodscode",
  7864. "relatedgoodsname"
  7865. ],
  7866. "properties": {
  7867. "accountid": {
  7868. "description": "卖方账户ID",
  7869. "type": "integer"
  7870. },
  7871. "agreeunit": {
  7872. "description": "合约单位",
  7873. "type": "number"
  7874. },
  7875. "applyid": {
  7876. "description": "关联申请ID",
  7877. "type": "integer"
  7878. },
  7879. "attachmenturl": {
  7880. "description": "附件地址",
  7881. "type": "string"
  7882. },
  7883. "createtime": {
  7884. "description": "创建时间",
  7885. "type": "string"
  7886. },
  7887. "currencyid": {
  7888. "description": "报价货币ID",
  7889. "type": "integer"
  7890. },
  7891. "decimalplace": {
  7892. "description": "报价小数位",
  7893. "type": "integer"
  7894. },
  7895. "endtime": {
  7896. "description": "预售结束时间",
  7897. "type": "string"
  7898. },
  7899. "floorprice": {
  7900. "description": "底价[大宗式竞拍]",
  7901. "type": "number"
  7902. },
  7903. "goodscode": {
  7904. "description": "商品代码(预售)",
  7905. "type": "string"
  7906. },
  7907. "goodsdetail": {
  7908. "description": "详情[大宗]",
  7909. "type": "string"
  7910. },
  7911. "goodsid": {
  7912. "description": "商品ID(自增ID SEQ_GOODS)",
  7913. "type": "integer"
  7914. },
  7915. "goodsname": {
  7916. "description": "商品名称(预售)",
  7917. "type": "string"
  7918. },
  7919. "goodunit": {
  7920. "description": "报价单位",
  7921. "type": "string"
  7922. },
  7923. "goodunitid": {
  7924. "description": "报价单位ID",
  7925. "type": "integer"
  7926. },
  7927. "marketid": {
  7928. "description": "所属市场ID",
  7929. "type": "integer"
  7930. },
  7931. "marketname": {
  7932. "description": "预售市场名称",
  7933. "type": "string"
  7934. },
  7935. "presaledamount": {
  7936. "description": "已预售总金额(预售结束时更新)",
  7937. "type": "number"
  7938. },
  7939. "presaledqty": {
  7940. "description": "已预售量(预售结束时更新)",
  7941. "type": "integer"
  7942. },
  7943. "presalemode": {
  7944. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7945. "type": "integer"
  7946. },
  7947. "presaleqty": {
  7948. "description": "预售数量",
  7949. "type": "integer"
  7950. },
  7951. "refprice": {
  7952. "description": "参考价格[一口价]",
  7953. "type": "number"
  7954. },
  7955. "relatedgoodscode": {
  7956. "description": "商品代码(订单)",
  7957. "type": "string"
  7958. },
  7959. "relatedgoodsid": {
  7960. "description": "关联交易合约ID",
  7961. "type": "integer"
  7962. },
  7963. "relatedgoodsname": {
  7964. "description": "商品名称(订单)",
  7965. "type": "string"
  7966. },
  7967. "relatedmarketid": {
  7968. "description": "关联交易合约市场ID",
  7969. "type": "integer"
  7970. },
  7971. "sellstatus": {
  7972. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7973. "type": "integer"
  7974. },
  7975. "startprice": {
  7976. "description": "起拍价[大宗式竞拍]",
  7977. "type": "number"
  7978. },
  7979. "starttime": {
  7980. "description": "预售开始时间",
  7981. "type": "string"
  7982. },
  7983. "tradedate": {
  7984. "description": "交易日(yyyyMMdd)",
  7985. "type": "string"
  7986. },
  7987. "tradeprice": {
  7988. "description": "成交价[大宗]",
  7989. "type": "number"
  7990. },
  7991. "userid": {
  7992. "description": "卖方用户ID",
  7993. "type": "integer"
  7994. }
  7995. }
  7996. },
  7997. "cptrade.QueryPresaleGoodsExRsp": {
  7998. "type": "object",
  7999. "required": [
  8000. "goodsid"
  8001. ],
  8002. "properties": {
  8003. "attachmenturl": {
  8004. "description": "附件地址",
  8005. "type": "string"
  8006. },
  8007. "createtime": {
  8008. "description": "创建时间",
  8009. "type": "string"
  8010. },
  8011. "endtime": {
  8012. "description": "预售结束时间",
  8013. "type": "string"
  8014. },
  8015. "floorprice": {
  8016. "description": "底价[大宗式竞拍]",
  8017. "type": "number"
  8018. },
  8019. "goodsdetail": {
  8020. "description": "详情[大宗]",
  8021. "type": "string"
  8022. },
  8023. "goodsid": {
  8024. "description": "商品ID(预售)",
  8025. "type": "integer"
  8026. },
  8027. "goodunit": {
  8028. "description": "报价单位",
  8029. "type": "string"
  8030. },
  8031. "marketid": {
  8032. "description": "预售市场ID - 根据预售模式选择市场",
  8033. "type": "integer"
  8034. },
  8035. "presaledamount": {
  8036. "description": "已预售总金额(预售结束时更新)",
  8037. "type": "number"
  8038. },
  8039. "presaledqty": {
  8040. "description": "已预售量(预售结束时更新)",
  8041. "type": "integer"
  8042. },
  8043. "presalemode": {
  8044. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8045. "type": "integer"
  8046. },
  8047. "presaleqty": {
  8048. "description": "预售数量",
  8049. "type": "integer"
  8050. },
  8051. "refprice": {
  8052. "description": "参考价格[一口价]",
  8053. "type": "number"
  8054. },
  8055. "relatedgoodsid": {
  8056. "description": "关联交易合约ID",
  8057. "type": "integer"
  8058. },
  8059. "relatedmarketid": {
  8060. "description": "关联交易合约市场ID",
  8061. "type": "integer"
  8062. },
  8063. "sellstatus": {
  8064. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8065. "type": "integer"
  8066. },
  8067. "startprice": {
  8068. "description": "起拍价[大宗式竞拍]",
  8069. "type": "number"
  8070. },
  8071. "starttime": {
  8072. "description": "预售开始时间",
  8073. "type": "string"
  8074. },
  8075. "tradedate": {
  8076. "description": "交易日(yyyyMMdd)",
  8077. "type": "string"
  8078. },
  8079. "tradeprice": {
  8080. "description": "成交价[大宗]",
  8081. "type": "number"
  8082. }
  8083. }
  8084. },
  8085. "delivery.QueryDeliveryRelationRsp": {
  8086. "type": "object",
  8087. "required": [
  8088. "begindate",
  8089. "enddate",
  8090. "goodsid",
  8091. "mindeliveryqty",
  8092. "xdeliveryratio"
  8093. ],
  8094. "properties": {
  8095. "begindate": {
  8096. "description": "起始日期(yyyyMMdd)",
  8097. "type": "string"
  8098. },
  8099. "buytemplateid": {
  8100. "description": "买履约计划模板ID",
  8101. "type": "integer"
  8102. },
  8103. "deliverygoodscode": {
  8104. "description": "品种代码",
  8105. "type": "string"
  8106. },
  8107. "deliverygoodsid": {
  8108. "description": "交割商品",
  8109. "type": "integer"
  8110. },
  8111. "deliverygoodsname": {
  8112. "description": "品种名称",
  8113. "type": "string"
  8114. },
  8115. "deliverymode": {
  8116. "description": "交割方式 - 1:点选式 2:申报式",
  8117. "type": "integer"
  8118. },
  8119. "deliverypricerule": {
  8120. "description": "交割价规则- 1:行情价 2:建仓价",
  8121. "type": "integer"
  8122. },
  8123. "deliverytype": {
  8124. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8125. "type": "integer"
  8126. },
  8127. "enddate": {
  8128. "description": "结束日期(yyyyMMdd)",
  8129. "type": "string"
  8130. },
  8131. "goodscode": {
  8132. "description": "商品代码",
  8133. "type": "string"
  8134. },
  8135. "goodsid": {
  8136. "description": "交易合约ID",
  8137. "type": "integer"
  8138. },
  8139. "goodsname": {
  8140. "description": "商品名称",
  8141. "type": "string"
  8142. },
  8143. "marketid": {
  8144. "description": "市场ID",
  8145. "type": "integer"
  8146. },
  8147. "mindeliveryqty": {
  8148. "description": "最小交割系数(K)",
  8149. "type": "integer"
  8150. },
  8151. "p2deliveryprice": {
  8152. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8153. "type": "number"
  8154. },
  8155. "p2deliveryratio": {
  8156. "description": "P2合约系数(p)",
  8157. "type": "integer"
  8158. },
  8159. "p2goodsid": {
  8160. "description": "P2合约ID",
  8161. "type": "integer"
  8162. },
  8163. "p2pricemode": {
  8164. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8165. "type": "integer"
  8166. },
  8167. "pdeliveryprice": {
  8168. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8169. "type": "number"
  8170. },
  8171. "pdeliveryratio": {
  8172. "description": "P合约系数(n)",
  8173. "type": "integer"
  8174. },
  8175. "pgoodsid": {
  8176. "description": "P合约ID",
  8177. "type": "integer"
  8178. },
  8179. "ppricemode": {
  8180. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8181. "type": "integer"
  8182. },
  8183. "rratio": {
  8184. "description": "兑换系数(R)",
  8185. "type": "integer"
  8186. },
  8187. "rratio1": {
  8188. "description": "兑换系数(交易合约)(R1)",
  8189. "type": "integer"
  8190. },
  8191. "rratio2": {
  8192. "description": "兑换系数(仓单标准)(R2)",
  8193. "type": "integer"
  8194. },
  8195. "selltemplateid": {
  8196. "description": "卖履约计划模板ID",
  8197. "type": "integer"
  8198. },
  8199. "wrstandardid": {
  8200. "description": "仓单标准ID",
  8201. "type": "integer"
  8202. },
  8203. "xdeliveryratio": {
  8204. "description": "交易合约系数(m)",
  8205. "type": "integer"
  8206. }
  8207. }
  8208. },
  8209. "ermcp.ExposureDetailRsp": {
  8210. "type": "object",
  8211. "properties": {
  8212. "areauserid": {
  8213. "description": "机构ID",
  8214. "type": "integer"
  8215. },
  8216. "changeQty": {
  8217. "description": "套保变动量",
  8218. "type": "number"
  8219. },
  8220. "contracttype": {
  8221. "description": "现货合同类型 - 1:采购 -1:销售",
  8222. "type": "integer"
  8223. },
  8224. "convertfactor": {
  8225. "description": "标仓系数",
  8226. "type": "number"
  8227. },
  8228. "convertratio": {
  8229. "description": "套保系数",
  8230. "type": "number"
  8231. },
  8232. "createtime": {
  8233. "description": "时间",
  8234. "type": "string"
  8235. },
  8236. "enumdicname": {
  8237. "description": "现货商品单位名称",
  8238. "type": "string"
  8239. },
  8240. "logtype": {
  8241. "description": "类型 - 1:套保计划 2:现货合同",
  8242. "type": "integer"
  8243. },
  8244. "middlegoodsId": {
  8245. "description": "套保商品id",
  8246. "type": "integer"
  8247. },
  8248. "middlegoodscode": {
  8249. "description": "套保商品代码",
  8250. "type": "string"
  8251. },
  8252. "middlegoodsname": {
  8253. "description": "套保商品名称",
  8254. "type": "string"
  8255. },
  8256. "qty": {
  8257. "description": "数量",
  8258. "type": "number"
  8259. },
  8260. "relateNo": {
  8261. "description": "现货合同/套保计划编号",
  8262. "type": "string"
  8263. },
  8264. "wrstandardcode": {
  8265. "description": "现货商品代码",
  8266. "type": "string"
  8267. },
  8268. "wrstandardid": {
  8269. "description": "现货商品ID",
  8270. "type": "integer"
  8271. },
  8272. "wrstandardname": {
  8273. "description": "现货商品名称",
  8274. "type": "string"
  8275. }
  8276. }
  8277. },
  8278. "ermcp.ExposureHedgePosDetailRsp": {
  8279. "type": "object",
  8280. "properties": {
  8281. "buyorsell": {
  8282. "description": "买卖方向 0-买 1-卖",
  8283. "type": "integer"
  8284. },
  8285. "channelbuildtype": {
  8286. "description": "开平方向 1-建仓 2-平仓",
  8287. "type": "integer"
  8288. },
  8289. "goodscode": {
  8290. "description": "商品代码",
  8291. "type": "string"
  8292. },
  8293. "goodsname": {
  8294. "description": "商品名称",
  8295. "type": "string"
  8296. },
  8297. "hedgegoodsid": {
  8298. "description": "商品id",
  8299. "type": "integer"
  8300. },
  8301. "tradeqty": {
  8302. "description": "数量(成交数量)",
  8303. "type": "integer"
  8304. },
  8305. "tradetime": {
  8306. "description": "时间(成交时间)",
  8307. "type": "string"
  8308. }
  8309. }
  8310. },
  8311. "ermcp.ExposureHedgePositionRsp": {
  8312. "type": "object",
  8313. "properties": {
  8314. "accountid": {
  8315. "description": "资金账号[外部母账户]",
  8316. "type": "integer"
  8317. },
  8318. "curbuyposition": {
  8319. "description": "期末买头寸",
  8320. "type": "integer"
  8321. },
  8322. "cursellposition": {
  8323. "description": "期末卖头寸",
  8324. "type": "integer"
  8325. },
  8326. "curtdbuyposition": {
  8327. "description": "期末今日买头寸",
  8328. "type": "integer"
  8329. },
  8330. "curtdsellposition": {
  8331. "description": "期末今日卖头寸",
  8332. "type": "integer"
  8333. },
  8334. "curydbuyposition": {
  8335. "description": "期末上日买头寸",
  8336. "type": "integer"
  8337. },
  8338. "curydsellposition": {
  8339. "description": "期末上日卖头寸",
  8340. "type": "integer"
  8341. },
  8342. "decreaseqty": {
  8343. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8344. "type": "integer"
  8345. },
  8346. "fretdbuyposition": {
  8347. "description": "冻结今日买头寸",
  8348. "type": "integer"
  8349. },
  8350. "fretdsellposition": {
  8351. "description": "冻结今日卖头寸",
  8352. "type": "integer"
  8353. },
  8354. "freydbuyposition": {
  8355. "description": "冻结上日买头寸",
  8356. "type": "integer"
  8357. },
  8358. "freydsellposition": {
  8359. "description": "冻结上日卖头寸",
  8360. "type": "integer"
  8361. },
  8362. "goodscode": {
  8363. "description": "商品代码",
  8364. "type": "string"
  8365. },
  8366. "goodsid": {
  8367. "description": "商品id",
  8368. "type": "integer"
  8369. },
  8370. "goodsname": {
  8371. "description": "商品名称",
  8372. "type": "string"
  8373. },
  8374. "hedgeaccountcode": {
  8375. "description": "对冲账号",
  8376. "type": "string"
  8377. },
  8378. "hedgegoodsid": {
  8379. "description": "对冲合约ID",
  8380. "type": "integer"
  8381. },
  8382. "increaseqty": {
  8383. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8384. "type": "integer"
  8385. },
  8386. "marketid": {
  8387. "description": "市场ID",
  8388. "type": "integer"
  8389. },
  8390. "relateduserid": {
  8391. "description": "关联用户id",
  8392. "type": "integer"
  8393. },
  8394. "totalcurqty": {
  8395. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8396. "type": "integer"
  8397. },
  8398. "totalydqty": {
  8399. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8400. "type": "integer"
  8401. },
  8402. "tradedate": {
  8403. "description": "交易日(yyyyMMdd)",
  8404. "type": "string"
  8405. },
  8406. "ydbuyposition": {
  8407. "description": "期初买头寸",
  8408. "type": "integer"
  8409. },
  8410. "ydsellposition": {
  8411. "description": "期初卖头寸",
  8412. "type": "integer"
  8413. }
  8414. }
  8415. },
  8416. "ermcp.ExposureSpotDetailRsp": {
  8417. "type": "object",
  8418. "properties": {
  8419. "contracttype": {
  8420. "description": "合同类型 1-采购 -1-销售",
  8421. "type": "integer"
  8422. },
  8423. "createtime": {
  8424. "description": "创建时间",
  8425. "type": "string"
  8426. },
  8427. "enumdicname": {
  8428. "description": "现货商品单位名称",
  8429. "type": "string"
  8430. },
  8431. "logtype": {
  8432. "description": "记录类型 1-套保 2-现货合同",
  8433. "type": "integer"
  8434. },
  8435. "qty": {
  8436. "description": "数量",
  8437. "type": "number"
  8438. },
  8439. "recordname": {
  8440. "description": "类型名称",
  8441. "type": "string"
  8442. },
  8443. "relatedid": {
  8444. "description": "套保计划ID/现货合同ID",
  8445. "type": "string"
  8446. },
  8447. "relatedno": {
  8448. "description": "编号",
  8449. "type": "string"
  8450. },
  8451. "strtime": {
  8452. "description": "时间",
  8453. "type": "string"
  8454. },
  8455. "wrstandardcode": {
  8456. "description": "现货商品代码",
  8457. "type": "string"
  8458. },
  8459. "wrstandardname": {
  8460. "description": "现货商品名称",
  8461. "type": "string"
  8462. }
  8463. }
  8464. },
  8465. "ermcp.ExposureSpotRsp": {
  8466. "type": "object",
  8467. "properties": {
  8468. "areauserid": {
  8469. "description": "所属机构",
  8470. "type": "integer"
  8471. },
  8472. "decreaseqty": {
  8473. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8474. "type": "number"
  8475. },
  8476. "increaseqty": {
  8477. "description": "增加数量=销售计划数量+采购已定价数量",
  8478. "type": "number"
  8479. },
  8480. "oritoalspotqty": {
  8481. "description": "昨日数量",
  8482. "type": "number"
  8483. },
  8484. "totalspotqty": {
  8485. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8486. "type": "number"
  8487. },
  8488. "updatetime": {
  8489. "description": "更新时间",
  8490. "type": "string"
  8491. },
  8492. "wrstandardcode": {
  8493. "description": "现货品种代码",
  8494. "type": "string"
  8495. },
  8496. "wrstandardid": {
  8497. "description": "现货商品ID",
  8498. "type": "integer"
  8499. },
  8500. "wrstandardname": {
  8501. "description": "现货品种",
  8502. "type": "string"
  8503. }
  8504. }
  8505. },
  8506. "ermcp.HisExposureRsp": {
  8507. "type": "object",
  8508. "properties": {
  8509. "data": {
  8510. "description": "历史敞口",
  8511. "type": "array",
  8512. "items": {
  8513. "$ref": "#/definitions/models.ErmcpHisExposure"
  8514. }
  8515. },
  8516. "enumdicname": {
  8517. "description": "单位名称",
  8518. "type": "string"
  8519. },
  8520. "middlegoodscode": {
  8521. "description": "套保品种代码",
  8522. "type": "string"
  8523. },
  8524. "middlegoodsid": {
  8525. "description": "套保品种ID",
  8526. "type": "integer"
  8527. },
  8528. "middlegoodsname": {
  8529. "description": "套保品种名称",
  8530. "type": "string"
  8531. }
  8532. }
  8533. },
  8534. "ermcp.PendingAuditCntRsp": {
  8535. "type": "object",
  8536. "properties": {
  8537. "areastockqty": {
  8538. "description": "待审核数量: 库存申请",
  8539. "type": "integer"
  8540. },
  8541. "businessdjqty": {
  8542. "description": "待审核数量: 点价",
  8543. "type": "integer"
  8544. },
  8545. "businessfpqty": {
  8546. "description": "待审核数量: 发票",
  8547. "type": "integer"
  8548. },
  8549. "businessjsqty": {
  8550. "description": "待审核数量: 结算",
  8551. "type": "integer"
  8552. },
  8553. "businesskxqty": {
  8554. "description": "待审核数量: 款项",
  8555. "type": "integer"
  8556. },
  8557. "hedgeplanqty": {
  8558. "description": "待审核数量: 套保计划",
  8559. "type": "integer"
  8560. },
  8561. "spotcontractqty": {
  8562. "description": "待审核数量: 现货合同",
  8563. "type": "integer"
  8564. },
  8565. "userqty": {
  8566. "description": "待审核数量: 用户",
  8567. "type": "integer"
  8568. }
  8569. }
  8570. },
  8571. "ermcp.QryAreaStockApplyRsp": {
  8572. "type": "object",
  8573. "properties": {
  8574. "applyid": {
  8575. "description": "申请人",
  8576. "type": "integer"
  8577. },
  8578. "applyname": {
  8579. "description": "申请人名称",
  8580. "type": "string"
  8581. },
  8582. "applyremark": {
  8583. "description": "申请备注",
  8584. "type": "string"
  8585. },
  8586. "applysrc": {
  8587. "description": "申请来源 - 1:管理端 2:终端",
  8588. "type": "integer"
  8589. },
  8590. "applystatus": {
  8591. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8592. "type": "integer"
  8593. },
  8594. "applytime": {
  8595. "description": "申请时间",
  8596. "type": "string"
  8597. },
  8598. "auditid": {
  8599. "description": "审核人",
  8600. "type": "integer"
  8601. },
  8602. "auditname": {
  8603. "description": "审核人名称",
  8604. "type": "string"
  8605. },
  8606. "auditremark": {
  8607. "description": "审核备注",
  8608. "type": "string"
  8609. },
  8610. "auditsrc": {
  8611. "description": "审核来源 - 1:管理端 2:终端",
  8612. "type": "integer"
  8613. },
  8614. "audittime": {
  8615. "description": "审核时间",
  8616. "type": "string"
  8617. },
  8618. "audittradedate": {
  8619. "description": "审核交易日(yyyyMMdd)",
  8620. "type": "string"
  8621. },
  8622. "brandname": {
  8623. "description": "品牌名称",
  8624. "type": "string"
  8625. },
  8626. "buyuserid": {
  8627. "description": "采购方userid",
  8628. "type": "integer"
  8629. },
  8630. "buyusername": {
  8631. "description": "采购方名称",
  8632. "type": "string"
  8633. },
  8634. "contractno": {
  8635. "description": "合同编号",
  8636. "type": "string"
  8637. },
  8638. "contractqty": {
  8639. "description": "合同量",
  8640. "type": "number"
  8641. },
  8642. "contracttype": {
  8643. "description": "现货合同类型 - 1:采购 -1:销售",
  8644. "type": "integer"
  8645. },
  8646. "deliverygoodsid": {
  8647. "description": "现货品种ID",
  8648. "type": "integer"
  8649. },
  8650. "enumdicname": {
  8651. "description": "现货商品单位名称",
  8652. "type": "string"
  8653. },
  8654. "inoutapplyid": {
  8655. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  8656. "type": "string"
  8657. },
  8658. "inouttype": {
  8659. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  8660. "type": "integer"
  8661. },
  8662. "modelname": {
  8663. "description": "型号名称",
  8664. "type": "string"
  8665. },
  8666. "pricetype": {
  8667. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8668. "type": "integer"
  8669. },
  8670. "qty": {
  8671. "description": "数量",
  8672. "type": "number"
  8673. },
  8674. "selluserid": {
  8675. "description": "销售方userid",
  8676. "type": "integer"
  8677. },
  8678. "sellusername": {
  8679. "description": "销售方名称",
  8680. "type": "string"
  8681. },
  8682. "spotcontractid": {
  8683. "description": "关联现货合同ID",
  8684. "type": "string"
  8685. },
  8686. "spotgoodsbrandid": {
  8687. "description": "现货品牌ID",
  8688. "type": "integer"
  8689. },
  8690. "spotgoodsmodelid": {
  8691. "description": "现货型号ID",
  8692. "type": "integer"
  8693. },
  8694. "unitid": {
  8695. "description": "单位id",
  8696. "type": "integer"
  8697. },
  8698. "userid": {
  8699. "description": "机构ID",
  8700. "type": "integer"
  8701. },
  8702. "warehousecode": {
  8703. "description": "仓库代码",
  8704. "type": "string"
  8705. },
  8706. "warehouseinfoid": {
  8707. "description": "现货仓库ID",
  8708. "type": "string"
  8709. },
  8710. "warehousename": {
  8711. "description": "仓库名称",
  8712. "type": "string"
  8713. },
  8714. "warehousetype": {
  8715. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8716. "type": "integer"
  8717. },
  8718. "wrstandardcode": {
  8719. "description": "现货商品代码",
  8720. "type": "string"
  8721. },
  8722. "wrstandardid": {
  8723. "description": "现货商品ID",
  8724. "type": "string"
  8725. },
  8726. "wrstandardname": {
  8727. "description": "现货商品名称",
  8728. "type": "string"
  8729. }
  8730. }
  8731. },
  8732. "ermcp.QryAvalidGPRsp": {
  8733. "type": "object",
  8734. "properties": {
  8735. "goodsgroupid": {
  8736. "description": "期货品种id",
  8737. "type": "integer"
  8738. },
  8739. "goodsgroupname": {
  8740. "description": "期货品种名称",
  8741. "type": "string"
  8742. },
  8743. "goodunitid": {
  8744. "description": "品种单位id",
  8745. "type": "integer"
  8746. },
  8747. "goodunitname": {
  8748. "description": "品种单位名称",
  8749. "type": "string"
  8750. },
  8751. "outergroupcode": {
  8752. "description": "期货品种代码",
  8753. "type": "string"
  8754. }
  8755. }
  8756. },
  8757. "ermcp.QryBusinessDjRsp": {
  8758. "type": "object",
  8759. "properties": {
  8760. "amount": {
  8761. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8762. "type": "number"
  8763. },
  8764. "applyid": {
  8765. "description": "申请人",
  8766. "type": "string"
  8767. },
  8768. "applyname": {
  8769. "description": "申请人名称",
  8770. "type": "string"
  8771. },
  8772. "applystatus": {
  8773. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8774. "type": "integer"
  8775. },
  8776. "applytime": {
  8777. "description": "申请时间",
  8778. "type": "string"
  8779. },
  8780. "attachurl": {
  8781. "description": "附件",
  8782. "type": "string"
  8783. },
  8784. "auditid": {
  8785. "description": "审核人ID",
  8786. "type": "string"
  8787. },
  8788. "auditname": {
  8789. "description": "审核人名称",
  8790. "type": "string"
  8791. },
  8792. "audittime": {
  8793. "description": "审核时间",
  8794. "type": "string"
  8795. },
  8796. "buyusername": {
  8797. "description": "采购方名称",
  8798. "type": "string"
  8799. },
  8800. "contractno": {
  8801. "description": "合同编号",
  8802. "type": "string"
  8803. },
  8804. "contractstatus": {
  8805. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8806. "type": "integer"
  8807. },
  8808. "contracttype": {
  8809. "description": "现货合同类型 - 1:采购 -1:销售",
  8810. "type": "integer"
  8811. },
  8812. "enumdicname": {
  8813. "description": "单位名称",
  8814. "type": "string"
  8815. },
  8816. "goodscode": {
  8817. "description": "点价合约",
  8818. "type": "string"
  8819. },
  8820. "goodsname": {
  8821. "description": "商品名称",
  8822. "type": "string"
  8823. },
  8824. "operateapplyid": {
  8825. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8826. "type": "string"
  8827. },
  8828. "operateapplytype": {
  8829. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8830. "type": "integer"
  8831. },
  8832. "pricedPrice": {
  8833. "description": "点价价格(非必填)",
  8834. "type": "number"
  8835. },
  8836. "pricedQty": {
  8837. "description": "点价数量(非必填)",
  8838. "type": "number"
  8839. },
  8840. "pricemove": {
  8841. "description": "升贴水",
  8842. "type": "number"
  8843. },
  8844. "pricetype": {
  8845. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8846. "type": "integer"
  8847. },
  8848. "relatedid": {
  8849. "description": "现货合同ID",
  8850. "type": "string"
  8851. },
  8852. "sellusername": {
  8853. "description": "销售方名字",
  8854. "type": "string"
  8855. },
  8856. "userid": {
  8857. "description": "用户ID",
  8858. "type": "integer"
  8859. },
  8860. "wrstandardcode": {
  8861. "description": "现货商品代码",
  8862. "type": "string"
  8863. },
  8864. "wrstandardid": {
  8865. "description": "现货商品id",
  8866. "type": "integer"
  8867. },
  8868. "wrstandardname": {
  8869. "description": "现货商品名称",
  8870. "type": "string"
  8871. }
  8872. }
  8873. },
  8874. "ermcp.QryBussinessFpRsp": {
  8875. "type": "object",
  8876. "properties": {
  8877. "applyid": {
  8878. "description": "申请人",
  8879. "type": "string"
  8880. },
  8881. "applyname": {
  8882. "description": "申请人名称",
  8883. "type": "string"
  8884. },
  8885. "applystatus": {
  8886. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8887. "type": "integer"
  8888. },
  8889. "applytime": {
  8890. "description": "申请时间",
  8891. "type": "string"
  8892. },
  8893. "attachurl": {
  8894. "description": "附件",
  8895. "type": "string"
  8896. },
  8897. "auditid": {
  8898. "description": "审核人ID",
  8899. "type": "string"
  8900. },
  8901. "auditname": {
  8902. "description": "审核人名称",
  8903. "type": "string"
  8904. },
  8905. "audittime": {
  8906. "description": "审核时间",
  8907. "type": "string"
  8908. },
  8909. "buyusername": {
  8910. "description": "采购方名称",
  8911. "type": "string"
  8912. },
  8913. "contractno": {
  8914. "description": "合同编号",
  8915. "type": "string"
  8916. },
  8917. "contractstatus": {
  8918. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8919. "type": "integer"
  8920. },
  8921. "contracttype": {
  8922. "description": "现货合同类型 - 1:采购 -1:销售",
  8923. "type": "integer"
  8924. },
  8925. "enumdicname": {
  8926. "description": "单位名称",
  8927. "type": "string"
  8928. },
  8929. "goodscode": {
  8930. "description": "点价合约",
  8931. "type": "string"
  8932. },
  8933. "goodsname": {
  8934. "description": "商品名称",
  8935. "type": "string"
  8936. },
  8937. "invoiceAmount": {
  8938. "description": "已开收票金额(销售为开票,采购为收票)",
  8939. "type": "number"
  8940. },
  8941. "operateapplyid": {
  8942. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8943. "type": "string"
  8944. },
  8945. "operateapplytype": {
  8946. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8947. "type": "integer"
  8948. },
  8949. "pricemove": {
  8950. "description": "升贴水",
  8951. "type": "number"
  8952. },
  8953. "pricetype": {
  8954. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8955. "type": "integer"
  8956. },
  8957. "relatedid": {
  8958. "description": "现货合同ID",
  8959. "type": "string"
  8960. },
  8961. "sellusername": {
  8962. "description": "销售方名字",
  8963. "type": "string"
  8964. },
  8965. "userid": {
  8966. "description": "用户ID",
  8967. "type": "integer"
  8968. },
  8969. "wrstandardcode": {
  8970. "description": "现货商品代码",
  8971. "type": "string"
  8972. },
  8973. "wrstandardid": {
  8974. "description": "现货商品id",
  8975. "type": "integer"
  8976. },
  8977. "wrstandardname": {
  8978. "description": "现货商品名称",
  8979. "type": "string"
  8980. }
  8981. }
  8982. },
  8983. "ermcp.QryBussinessJsExRsp": {
  8984. "type": "object",
  8985. "properties": {
  8986. "applyid": {
  8987. "description": "申请人",
  8988. "type": "string"
  8989. },
  8990. "applyname": {
  8991. "description": "申请人名称",
  8992. "type": "string"
  8993. },
  8994. "applystatus": {
  8995. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8996. "type": "integer"
  8997. },
  8998. "applytime": {
  8999. "description": "申请时间",
  9000. "type": "string"
  9001. },
  9002. "attachurl": {
  9003. "description": "附件",
  9004. "type": "string"
  9005. },
  9006. "auditid": {
  9007. "description": "审核人ID",
  9008. "type": "string"
  9009. },
  9010. "auditname": {
  9011. "description": "审核人名称",
  9012. "type": "string"
  9013. },
  9014. "audittime": {
  9015. "description": "审核时间",
  9016. "type": "string"
  9017. },
  9018. "buyusername": {
  9019. "description": "采购方名称",
  9020. "type": "string"
  9021. },
  9022. "contractno": {
  9023. "description": "合同编号",
  9024. "type": "string"
  9025. },
  9026. "contractstatus": {
  9027. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9028. "type": "integer"
  9029. },
  9030. "contracttype": {
  9031. "description": "现货合同类型 - 1:采购 -1:销售",
  9032. "type": "integer"
  9033. },
  9034. "enumdicname": {
  9035. "description": "单位名称",
  9036. "type": "string"
  9037. },
  9038. "goodscode": {
  9039. "description": "点价合约",
  9040. "type": "string"
  9041. },
  9042. "goodsname": {
  9043. "description": "商品名称",
  9044. "type": "string"
  9045. },
  9046. "operateapplyid": {
  9047. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9048. "type": "string"
  9049. },
  9050. "operateapplytype": {
  9051. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9052. "type": "integer"
  9053. },
  9054. "pricemove": {
  9055. "description": "升贴水",
  9056. "type": "number"
  9057. },
  9058. "pricetype": {
  9059. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9060. "type": "integer"
  9061. },
  9062. "reckontype": {
  9063. "description": "结算类型",
  9064. "type": "string"
  9065. },
  9066. "reckonvalue": {
  9067. "description": "值",
  9068. "type": "number"
  9069. },
  9070. "relatedid": {
  9071. "description": "现货合同ID",
  9072. "type": "string"
  9073. },
  9074. "sellusername": {
  9075. "description": "销售方名字",
  9076. "type": "string"
  9077. },
  9078. "userid": {
  9079. "description": "用户ID",
  9080. "type": "integer"
  9081. },
  9082. "wrstandardcode": {
  9083. "description": "现货商品代码",
  9084. "type": "string"
  9085. },
  9086. "wrstandardid": {
  9087. "description": "现货商品id",
  9088. "type": "integer"
  9089. },
  9090. "wrstandardname": {
  9091. "description": "现货商品名称",
  9092. "type": "string"
  9093. }
  9094. }
  9095. },
  9096. "ermcp.QryBussinessJsRsp": {
  9097. "type": "object",
  9098. "properties": {
  9099. "addmargin": {
  9100. "description": "追加保证金(非必填)",
  9101. "type": "number"
  9102. },
  9103. "applyid": {
  9104. "description": "申请人",
  9105. "type": "string"
  9106. },
  9107. "applyname": {
  9108. "description": "申请人名称",
  9109. "type": "string"
  9110. },
  9111. "applystatus": {
  9112. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9113. "type": "integer"
  9114. },
  9115. "applytime": {
  9116. "description": "申请时间",
  9117. "type": "string"
  9118. },
  9119. "attachurl": {
  9120. "description": "附件",
  9121. "type": "string"
  9122. },
  9123. "auditid": {
  9124. "description": "审核人ID",
  9125. "type": "string"
  9126. },
  9127. "auditname": {
  9128. "description": "审核人名称",
  9129. "type": "string"
  9130. },
  9131. "audittime": {
  9132. "description": "审核时间",
  9133. "type": "string"
  9134. },
  9135. "buyusername": {
  9136. "description": "采购方名称",
  9137. "type": "string"
  9138. },
  9139. "contractno": {
  9140. "description": "合同编号",
  9141. "type": "string"
  9142. },
  9143. "contractstatus": {
  9144. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9145. "type": "integer"
  9146. },
  9147. "contracttype": {
  9148. "description": "现货合同类型 - 1:采购 -1:销售",
  9149. "type": "integer"
  9150. },
  9151. "decmargin": {
  9152. "description": "减少保证金(非必填)",
  9153. "type": "number"
  9154. },
  9155. "enumdicname": {
  9156. "description": "单位名称",
  9157. "type": "string"
  9158. },
  9159. "goodscode": {
  9160. "description": "点价合约",
  9161. "type": "string"
  9162. },
  9163. "goodsname": {
  9164. "description": "商品名称",
  9165. "type": "string"
  9166. },
  9167. "operateapplyid": {
  9168. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9169. "type": "string"
  9170. },
  9171. "operateapplytype": {
  9172. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9173. "type": "integer"
  9174. },
  9175. "pricemove": {
  9176. "description": "升贴水",
  9177. "type": "number"
  9178. },
  9179. "pricetype": {
  9180. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9181. "type": "integer"
  9182. },
  9183. "reckonadjustamount": {
  9184. "description": "结算调整金额(非必填)",
  9185. "type": "number"
  9186. },
  9187. "reckonosamount": {
  9188. "description": "结算溢短金额(非必填)",
  9189. "type": "number"
  9190. },
  9191. "reckonotheramount": {
  9192. "description": "结算其他费用(非必填)",
  9193. "type": "number"
  9194. },
  9195. "reckonrealqty": {
  9196. "description": "结算实际数量(非必填)",
  9197. "type": "number"
  9198. },
  9199. "relatedid": {
  9200. "description": "现货合同ID",
  9201. "type": "string"
  9202. },
  9203. "sellusername": {
  9204. "description": "销售方名字",
  9205. "type": "string"
  9206. },
  9207. "userid": {
  9208. "description": "用户ID",
  9209. "type": "integer"
  9210. },
  9211. "wrstandardcode": {
  9212. "description": "现货商品代码",
  9213. "type": "string"
  9214. },
  9215. "wrstandardid": {
  9216. "description": "现货商品id",
  9217. "type": "integer"
  9218. },
  9219. "wrstandardname": {
  9220. "description": "现货商品名称",
  9221. "type": "string"
  9222. }
  9223. }
  9224. },
  9225. "ermcp.QryBussinessKxRsp": {
  9226. "type": "object",
  9227. "properties": {
  9228. "applyid": {
  9229. "description": "申请人",
  9230. "type": "string"
  9231. },
  9232. "applyname": {
  9233. "description": "申请人名称",
  9234. "type": "string"
  9235. },
  9236. "applystatus": {
  9237. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9238. "type": "integer"
  9239. },
  9240. "applytime": {
  9241. "description": "申请时间",
  9242. "type": "string"
  9243. },
  9244. "attachurl": {
  9245. "description": "附件",
  9246. "type": "string"
  9247. },
  9248. "auditid": {
  9249. "description": "审核人ID",
  9250. "type": "string"
  9251. },
  9252. "auditname": {
  9253. "description": "审核人名称",
  9254. "type": "string"
  9255. },
  9256. "audittime": {
  9257. "description": "审核时间",
  9258. "type": "string"
  9259. },
  9260. "buyusername": {
  9261. "description": "采购方名称",
  9262. "type": "string"
  9263. },
  9264. "contractno": {
  9265. "description": "合同编号",
  9266. "type": "string"
  9267. },
  9268. "contractstatus": {
  9269. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9270. "type": "integer"
  9271. },
  9272. "contracttype": {
  9273. "description": "现货合同类型 - 1:采购 -1:销售",
  9274. "type": "integer"
  9275. },
  9276. "deductamount": {
  9277. "description": "退款(非必填)",
  9278. "type": "number"
  9279. },
  9280. "enumdicname": {
  9281. "description": "单位名称",
  9282. "type": "string"
  9283. },
  9284. "goodscode": {
  9285. "description": "点价合约",
  9286. "type": "string"
  9287. },
  9288. "goodsname": {
  9289. "description": "商品名称",
  9290. "type": "string"
  9291. },
  9292. "kxtype": {
  9293. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9294. "type": "integer"
  9295. },
  9296. "operateapplyid": {
  9297. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9298. "type": "string"
  9299. },
  9300. "operateapplytype": {
  9301. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9302. "type": "integer"
  9303. },
  9304. "payamount": {
  9305. "description": "收付款(非必填)",
  9306. "type": "number"
  9307. },
  9308. "pricemove": {
  9309. "description": "升贴水",
  9310. "type": "number"
  9311. },
  9312. "pricetype": {
  9313. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9314. "type": "integer"
  9315. },
  9316. "relatedid": {
  9317. "description": "现货合同ID",
  9318. "type": "string"
  9319. },
  9320. "sellusername": {
  9321. "description": "销售方名字",
  9322. "type": "string"
  9323. },
  9324. "userid": {
  9325. "description": "用户ID",
  9326. "type": "integer"
  9327. },
  9328. "wrstandardcode": {
  9329. "description": "现货商品代码",
  9330. "type": "string"
  9331. },
  9332. "wrstandardid": {
  9333. "description": "现货商品id",
  9334. "type": "integer"
  9335. },
  9336. "wrstandardname": {
  9337. "description": "现货商品名称",
  9338. "type": "string"
  9339. }
  9340. }
  9341. },
  9342. "ermcp.QryErmcpRsp": {
  9343. "type": "object",
  9344. "properties": {
  9345. "accountname": {
  9346. "description": "账户名称",
  9347. "type": "string"
  9348. },
  9349. "attachment": {
  9350. "description": "附件",
  9351. "type": "string"
  9352. },
  9353. "audittime": {
  9354. "description": "审核时间",
  9355. "type": "string"
  9356. },
  9357. "brandname": {
  9358. "description": "品牌名称",
  9359. "type": "string"
  9360. },
  9361. "contracctstatus": {
  9362. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9363. "type": "integer"
  9364. },
  9365. "contractmargin": {
  9366. "description": "合同保证金",
  9367. "type": "number"
  9368. },
  9369. "contractno": {
  9370. "description": "合同编号",
  9371. "type": "string"
  9372. },
  9373. "contracttype": {
  9374. "description": "合同类型 1-采购, -1-销售",
  9375. "type": "integer"
  9376. },
  9377. "convertfactor": {
  9378. "description": "标仓系数",
  9379. "type": "number"
  9380. },
  9381. "createtime": {
  9382. "description": "创建时间",
  9383. "type": "string"
  9384. },
  9385. "daikaiamount": {
  9386. "description": "待开票额",
  9387. "type": "number"
  9388. },
  9389. "deliveryenddate": {
  9390. "description": "交割结束日",
  9391. "type": "string"
  9392. },
  9393. "deliverygoodscode": {
  9394. "description": "现货品种代码",
  9395. "type": "string"
  9396. },
  9397. "deliverygoodsid": {
  9398. "description": "现货商品ID",
  9399. "type": "integer"
  9400. },
  9401. "deliverygoodsname": {
  9402. "description": "现货品种名称",
  9403. "type": "string"
  9404. },
  9405. "deliverystartdate": {
  9406. "description": "交割开始日",
  9407. "type": "string"
  9408. },
  9409. "enddate": {
  9410. "description": "点价结束日",
  9411. "type": "string"
  9412. },
  9413. "enumdicname": {
  9414. "description": "单位名称",
  9415. "type": "string"
  9416. },
  9417. "goodscode": {
  9418. "description": "点价商品代码",
  9419. "type": "string"
  9420. },
  9421. "goodsid": {
  9422. "description": "点价商品ID",
  9423. "type": "integer"
  9424. },
  9425. "goodsname": {
  9426. "description": "点价商品名称",
  9427. "type": "string"
  9428. },
  9429. "invoiceamount": {
  9430. "description": "已开票额",
  9431. "type": "number"
  9432. },
  9433. "loanamount": {
  9434. "description": "贷款总额=已定价额+调整金额",
  9435. "type": "number"
  9436. },
  9437. "margin": {
  9438. "description": "保证金",
  9439. "type": "number"
  9440. },
  9441. "modelname": {
  9442. "description": "型号名称",
  9443. "type": "string"
  9444. },
  9445. "payamount": {
  9446. "description": "已收付额(收款或付款)",
  9447. "type": "number"
  9448. },
  9449. "price": {
  9450. "description": "价格",
  9451. "type": "number"
  9452. },
  9453. "pricedamount": {
  9454. "description": "已定价额",
  9455. "type": "number"
  9456. },
  9457. "pricedavg": {
  9458. "description": "已点均价",
  9459. "type": "number"
  9460. },
  9461. "pricedqty": {
  9462. "description": "已定价量",
  9463. "type": "number"
  9464. },
  9465. "pricemove": {
  9466. "description": "升贴水",
  9467. "type": "number"
  9468. },
  9469. "pricetype": {
  9470. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9471. "type": "integer"
  9472. },
  9473. "producttype": {
  9474. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9475. "type": "integer"
  9476. },
  9477. "qty": {
  9478. "description": "合同量",
  9479. "type": "number"
  9480. },
  9481. "reckonadjustamount": {
  9482. "description": "调整金额",
  9483. "type": "number"
  9484. },
  9485. "reckonedamount": {
  9486. "description": "已收付额(已确定额)",
  9487. "type": "number"
  9488. },
  9489. "reckonotheramount": {
  9490. "description": "其它费用",
  9491. "type": "number"
  9492. },
  9493. "reckonrealqty": {
  9494. "description": "已确定量",
  9495. "type": "number"
  9496. },
  9497. "remark": {
  9498. "description": "备注",
  9499. "type": "string"
  9500. },
  9501. "spotcontractid": {
  9502. "description": "合同ID",
  9503. "type": "string"
  9504. },
  9505. "spotgoodsbrandid": {
  9506. "description": "现货品牌ID",
  9507. "type": "integer"
  9508. },
  9509. "spotgoodsdesc": {
  9510. "description": "商品型号(商品规格)",
  9511. "type": "string"
  9512. },
  9513. "spotgoodsmodelid": {
  9514. "description": "现货型号ID",
  9515. "type": "integer"
  9516. },
  9517. "startdate": {
  9518. "description": "点价开始日",
  9519. "type": "string"
  9520. },
  9521. "totalamount": {
  9522. "description": "合计总额",
  9523. "type": "number"
  9524. },
  9525. "unpayamount": {
  9526. "description": "待支收额(支付或收款)",
  9527. "type": "number"
  9528. },
  9529. "unpricedqty": {
  9530. "description": "未定价量",
  9531. "type": "number"
  9532. },
  9533. "unsureqty": {
  9534. "description": "未确定量",
  9535. "type": "number"
  9536. },
  9537. "userid": {
  9538. "description": "用户ID",
  9539. "type": "integer"
  9540. },
  9541. "wrstandardcode": {
  9542. "description": "现货商品代码",
  9543. "type": "string"
  9544. },
  9545. "wrstandardid": {
  9546. "description": "现货商品ID",
  9547. "type": "integer"
  9548. },
  9549. "wrstandardname": {
  9550. "description": "现货商品名称",
  9551. "type": "string"
  9552. }
  9553. }
  9554. },
  9555. "ermcp.QryGGCovertCfgRsp": {
  9556. "type": "object",
  9557. "properties": {
  9558. "convertratio": {
  9559. "description": "折算系数",
  9560. "type": "number"
  9561. },
  9562. "destgoodsgroupid": {
  9563. "description": "目标品种ID",
  9564. "type": "integer"
  9565. },
  9566. "dstcode": {
  9567. "description": "目录品种代码",
  9568. "type": "string"
  9569. },
  9570. "dstexchangecode": {
  9571. "description": "目标期货交易所",
  9572. "type": "string"
  9573. },
  9574. "dstname": {
  9575. "description": "目标品种名称",
  9576. "type": "string"
  9577. },
  9578. "dstunitid": {
  9579. "description": "目标品种单位ID",
  9580. "type": "integer"
  9581. },
  9582. "dstunitidname": {
  9583. "description": "目标品种单位名称",
  9584. "type": "string"
  9585. },
  9586. "modifytime": {
  9587. "description": "修改时间",
  9588. "type": "string"
  9589. },
  9590. "srccode": {
  9591. "description": "源品种代码",
  9592. "type": "string"
  9593. },
  9594. "srcexchangecode": {
  9595. "description": "源期货交易所",
  9596. "type": "string"
  9597. },
  9598. "srcgoodsgroupid": {
  9599. "description": "源品种ID",
  9600. "type": "integer"
  9601. },
  9602. "srcname": {
  9603. "description": "源品种名称",
  9604. "type": "string"
  9605. },
  9606. "srcunitid": {
  9607. "description": "源品种单位ID",
  9608. "type": "integer"
  9609. },
  9610. "srcunitidname": {
  9611. "description": "源品种单位名称",
  9612. "type": "string"
  9613. }
  9614. }
  9615. },
  9616. "ermcp.QryHedgePlanRsp": {
  9617. "type": "object",
  9618. "properties": {
  9619. "areauserid": {
  9620. "description": "用户ID",
  9621. "type": "integer"
  9622. },
  9623. "audittime": {
  9624. "description": "审核时间",
  9625. "type": "string"
  9626. },
  9627. "contracttype": {
  9628. "description": "计划类型 - 1:采购 -1:销售",
  9629. "type": "integer"
  9630. },
  9631. "convertfactor": {
  9632. "description": "标仓系数",
  9633. "type": "number"
  9634. },
  9635. "createtime": {
  9636. "description": "创建时间",
  9637. "type": "string"
  9638. },
  9639. "deliverygoodsid": {
  9640. "description": "现货品种ID",
  9641. "type": "integer"
  9642. },
  9643. "deliverygoodsname": {
  9644. "description": "现货品种名称",
  9645. "type": "string"
  9646. },
  9647. "enumdicname": {
  9648. "description": "单位名称",
  9649. "type": "string"
  9650. },
  9651. "hedgeplanid": {
  9652. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9653. "type": "string"
  9654. },
  9655. "hedgeplanno": {
  9656. "description": "套保计划编号(名称)",
  9657. "type": "string"
  9658. },
  9659. "hedgeplanstatus": {
  9660. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9661. "type": "integer"
  9662. },
  9663. "planqty": {
  9664. "description": "计划数量",
  9665. "type": "number"
  9666. },
  9667. "plantime": {
  9668. "description": "计划时间",
  9669. "type": "string"
  9670. },
  9671. "producttype": {
  9672. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9673. "type": "integer"
  9674. },
  9675. "remark": {
  9676. "description": "备注",
  9677. "type": "string"
  9678. },
  9679. "spotgoodsdesc": {
  9680. "description": "商品型号",
  9681. "type": "string"
  9682. },
  9683. "unitid": {
  9684. "description": "单位id",
  9685. "type": "integer"
  9686. },
  9687. "updatetime": {
  9688. "description": "更新时间",
  9689. "type": "string"
  9690. },
  9691. "wrstandardid": {
  9692. "description": "现货商品ID",
  9693. "type": "integer"
  9694. },
  9695. "wrstandardname": {
  9696. "description": "现货商品名称",
  9697. "type": "string"
  9698. }
  9699. }
  9700. },
  9701. "ermcp.QryMGChangeLogRsp": {
  9702. "type": "object",
  9703. "properties": {
  9704. "aftervalue": {
  9705. "description": "变更后",
  9706. "type": "number"
  9707. },
  9708. "applyid": {
  9709. "description": "操作人",
  9710. "type": "integer"
  9711. },
  9712. "applyname": {
  9713. "description": "操作人名称",
  9714. "type": "string"
  9715. },
  9716. "applysrc": {
  9717. "description": "操作来源 - 1:管理端 2:终端",
  9718. "type": "integer"
  9719. },
  9720. "beforevalue": {
  9721. "description": "变更前",
  9722. "type": "number"
  9723. },
  9724. "changelogtype": {
  9725. "description": "变更流水类型 - 1:套保比率变更",
  9726. "type": "integer"
  9727. },
  9728. "handlestatus": {
  9729. "description": "处理状态",
  9730. "type": "integer"
  9731. },
  9732. "logdatetime": {
  9733. "description": "流水日期",
  9734. "type": "string"
  9735. },
  9736. "logid": {
  9737. "description": "流水ID",
  9738. "type": "integer"
  9739. },
  9740. "logremark": {
  9741. "description": "流水备注",
  9742. "type": "string"
  9743. },
  9744. "middlegoodsid": {
  9745. "description": "套保品种ID",
  9746. "type": "integer"
  9747. },
  9748. "tradedate": {
  9749. "description": "交易日(yyyyMMdd)",
  9750. "type": "string"
  9751. },
  9752. "updatetime": {
  9753. "description": "更新时间",
  9754. "type": "string"
  9755. }
  9756. }
  9757. },
  9758. "ermcp.QryMiddleGoodsDetailRsp": {
  9759. "type": "object",
  9760. "properties": {
  9761. "cvList": {
  9762. "description": "期货品种折算列表",
  9763. "type": "array",
  9764. "items": {
  9765. "$ref": "#/definitions/models.GoodsGroupConvert"
  9766. }
  9767. },
  9768. "mg": {
  9769. "description": "套保品种基本信息",
  9770. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9771. }
  9772. }
  9773. },
  9774. "ermcp.QryMiddleGoodsRsp": {
  9775. "type": "object",
  9776. "properties": {
  9777. "areauserid": {
  9778. "description": "机构用户ID",
  9779. "type": "integer"
  9780. },
  9781. "createtime": {
  9782. "description": "修改时间",
  9783. "type": "string"
  9784. },
  9785. "enumdicname": {
  9786. "description": "单位名称",
  9787. "type": "string"
  9788. },
  9789. "evaluateratio": {
  9790. "description": "估价系数",
  9791. "type": "number"
  9792. },
  9793. "goodsgroupid": {
  9794. "description": "关联期货品种ID",
  9795. "type": "integer"
  9796. },
  9797. "isvalid": {
  9798. "description": "状态 0-无效(停用) 1-有效(正常)",
  9799. "type": "integer"
  9800. },
  9801. "middlegoodscode": {
  9802. "description": "套保品种代码",
  9803. "type": "string"
  9804. },
  9805. "middlegoodsid": {
  9806. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9807. "type": "integer"
  9808. },
  9809. "middlegoodsname": {
  9810. "description": "套保品种名称",
  9811. "type": "string"
  9812. },
  9813. "modifytime": {
  9814. "description": "修改时间",
  9815. "type": "string"
  9816. },
  9817. "needhedgeratio": {
  9818. "description": "套保比率",
  9819. "type": "number"
  9820. },
  9821. "qtydecimalplace": {
  9822. "description": "数量小数位",
  9823. "type": "integer"
  9824. },
  9825. "relatedgoodsid": {
  9826. "description": "关联交易商品ID",
  9827. "type": "integer"
  9828. },
  9829. "relatedgoodstype": {
  9830. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9831. "type": "integer"
  9832. },
  9833. "remark": {
  9834. "description": "备注",
  9835. "type": "string"
  9836. }
  9837. }
  9838. },
  9839. "ermcp.QryOPLogRsp": {
  9840. "type": "object",
  9841. "properties": {
  9842. "aftervalue": {
  9843. "description": "变更后",
  9844. "type": "number"
  9845. },
  9846. "applyid": {
  9847. "description": "操作人ID",
  9848. "type": "string"
  9849. },
  9850. "applyname": {
  9851. "description": "操作人名称",
  9852. "type": "string"
  9853. },
  9854. "beforevalue": {
  9855. "description": "变更前",
  9856. "type": "number"
  9857. },
  9858. "biztype": {
  9859. "description": "业务类型 - 1:套保计划 2:现货合同",
  9860. "type": "integer"
  9861. },
  9862. "contracttype": {
  9863. "description": "现货合同类型 - 1:采购 -1:销售",
  9864. "type": "integer"
  9865. },
  9866. "logvalue": {
  9867. "description": "数值",
  9868. "type": "number"
  9869. },
  9870. "operatelogtype": {
  9871. "description": "操作流水类型",
  9872. "type": "integer"
  9873. },
  9874. "operatelogtypedesc": {
  9875. "description": "操作流水类型名称",
  9876. "type": "string"
  9877. },
  9878. "relatedid": {
  9879. "description": "现货合同ID\\套保计划",
  9880. "type": "string"
  9881. },
  9882. "updatetime": {
  9883. "description": "更新时间",
  9884. "type": "string"
  9885. }
  9886. }
  9887. },
  9888. "ermcp.QryReportDaySpotDetailRsp": {
  9889. "type": "object",
  9890. "properties": {
  9891. "applyid": {
  9892. "description": "操作人",
  9893. "type": "integer"
  9894. },
  9895. "applyname": {
  9896. "description": "操作人名称",
  9897. "type": "string"
  9898. },
  9899. "biztype": {
  9900. "description": "业务类型 - 1:套保计划 2:现货合同",
  9901. "type": "integer"
  9902. },
  9903. "brandname": {
  9904. "description": "品牌名称",
  9905. "type": "string"
  9906. },
  9907. "contracttype": {
  9908. "description": "现货合同类型 - 1:采购 -1:销售",
  9909. "type": "integer"
  9910. },
  9911. "enumdicName": {
  9912. "description": "单位名称",
  9913. "type": "string"
  9914. },
  9915. "logdatetime": {
  9916. "description": "流水日期(时间)",
  9917. "type": "string"
  9918. },
  9919. "logid": {
  9920. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9921. "type": "string"
  9922. },
  9923. "logtypename": {
  9924. "description": "合同类型(名称)",
  9925. "type": "string"
  9926. },
  9927. "logvalue": {
  9928. "description": "数值",
  9929. "type": "string"
  9930. },
  9931. "modelname": {
  9932. "description": "型号名称",
  9933. "type": "string"
  9934. },
  9935. "operatelogtype": {
  9936. "description": "操作流水类型 -",
  9937. "type": "integer"
  9938. },
  9939. "optypename": {
  9940. "description": "流水类型名称",
  9941. "type": "string"
  9942. },
  9943. "relatedid": {
  9944. "description": "现货合同ID\\套保计划",
  9945. "type": "string"
  9946. },
  9947. "relatedno": {
  9948. "description": "合同编号",
  9949. "type": "string"
  9950. },
  9951. "tradedate": {
  9952. "description": "交易日(yyyyMMdd)",
  9953. "type": "string"
  9954. },
  9955. "userid": {
  9956. "description": "机构ID",
  9957. "type": "integer"
  9958. },
  9959. "wrstandardcode": {
  9960. "description": "现货商品代码",
  9961. "type": "string"
  9962. },
  9963. "wrstandardid": {
  9964. "description": "现货商品ID",
  9965. "type": "integer"
  9966. },
  9967. "wrstandardname": {
  9968. "description": "现货商品名称",
  9969. "type": "string"
  9970. }
  9971. }
  9972. },
  9973. "ermcp.QryReportExposureDayRsp": {
  9974. "type": "object",
  9975. "properties": {
  9976. "areauserid": {
  9977. "description": "所属机构",
  9978. "type": "integer"
  9979. },
  9980. "buyfutureqty": {
  9981. "description": "买入期货数量",
  9982. "type": "number"
  9983. },
  9984. "buyplanqty": {
  9985. "description": "采购计划数量",
  9986. "type": "number"
  9987. },
  9988. "buypricedqty": {
  9989. "description": "采购合同已定价数量",
  9990. "type": "number"
  9991. },
  9992. "diffFutuQty": {
  9993. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9994. "type": "number"
  9995. },
  9996. "diffSpotQty": {
  9997. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9998. "type": "number"
  9999. },
  10000. "enumdicname": {
  10001. "description": "单位名称",
  10002. "type": "string"
  10003. },
  10004. "middlegoodscode": {
  10005. "description": "套保品种代码",
  10006. "type": "string"
  10007. },
  10008. "middlegoodshedgeratio": {
  10009. "description": "应套保比例",
  10010. "type": "number"
  10011. },
  10012. "middlegoodsid": {
  10013. "description": "套保品种ID",
  10014. "type": "integer"
  10015. },
  10016. "middlegoodsname": {
  10017. "description": "套保品种名称",
  10018. "type": "string"
  10019. },
  10020. "needhedgeexposoure": {
  10021. "description": "应套保敞口",
  10022. "type": "number"
  10023. },
  10024. "needhedgeratio": {
  10025. "description": "应套保敞口比例",
  10026. "type": "number"
  10027. },
  10028. "oriTotalFutuQty": {
  10029. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10030. "type": "number"
  10031. },
  10032. "oriTotalSpotQty": {
  10033. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10034. "type": "number"
  10035. },
  10036. "oribuyfutureqty": {
  10037. "description": "期初买入期货数量",
  10038. "type": "number"
  10039. },
  10040. "oribuyplanqty": {
  10041. "description": "期初采购计划数量",
  10042. "type": "number"
  10043. },
  10044. "oribuypricedqty": {
  10045. "description": "期初采购合同已定价数量",
  10046. "type": "number"
  10047. },
  10048. "orisellfutureqty": {
  10049. "description": "期初卖出期货数量",
  10050. "type": "number"
  10051. },
  10052. "orisellplanqty": {
  10053. "description": "期初销售计划数量",
  10054. "type": "number"
  10055. },
  10056. "orisellpricedqty": {
  10057. "description": "期初销售合同已定价数量",
  10058. "type": "number"
  10059. },
  10060. "reckondate": {
  10061. "description": "日照时期(yyyyMMdd)",
  10062. "type": "string"
  10063. },
  10064. "sellfutureqty": {
  10065. "description": "卖出期货数量",
  10066. "type": "number"
  10067. },
  10068. "sellplanqty": {
  10069. "description": "销售计划数量",
  10070. "type": "number"
  10071. },
  10072. "sellpricedqty": {
  10073. "description": "销售合同已定价数量",
  10074. "type": "number"
  10075. },
  10076. "totalexposure": {
  10077. "description": "总敞口",
  10078. "type": "number"
  10079. },
  10080. "totalfutureqty": {
  10081. "description": "期货数量",
  10082. "type": "number"
  10083. },
  10084. "totalhedgeratio": {
  10085. "description": "敞口比例",
  10086. "type": "number"
  10087. },
  10088. "totalneedhedgeqty": {
  10089. "description": "期货应套保量",
  10090. "type": "number"
  10091. },
  10092. "totalspotqty": {
  10093. "description": "现货数量",
  10094. "type": "number"
  10095. }
  10096. }
  10097. },
  10098. "ermcp.QryReportFinanceDayRsp": {
  10099. "type": "object",
  10100. "properties": {
  10101. "areauserid": {
  10102. "description": "所属机构",
  10103. "type": "integer"
  10104. },
  10105. "collectinvoiceamount": {
  10106. "description": "今日开票金额",
  10107. "type": "number"
  10108. },
  10109. "collectinvoicecount": {
  10110. "description": "今日开票笔数",
  10111. "type": "integer"
  10112. },
  10113. "collectmoneyamount": {
  10114. "description": "今日收款金额",
  10115. "type": "number"
  10116. },
  10117. "collectmoneycount": {
  10118. "description": "今日收款笔数",
  10119. "type": "integer"
  10120. },
  10121. "payinvoiceamount": {
  10122. "description": "今日收票金额",
  10123. "type": "number"
  10124. },
  10125. "payinvoicecount": {
  10126. "description": "今日收票笔数",
  10127. "type": "integer"
  10128. },
  10129. "paymoneyamount": {
  10130. "description": "今日付款金额",
  10131. "type": "number"
  10132. },
  10133. "paymoneycount": {
  10134. "description": "今日付款笔数",
  10135. "type": "integer"
  10136. },
  10137. "reckondate": {
  10138. "description": "日照时期(yyyyMMdd)",
  10139. "type": "string"
  10140. },
  10141. "updatetime": {
  10142. "description": "更新时间",
  10143. "type": "string"
  10144. }
  10145. }
  10146. },
  10147. "ermcp.QryReportFinanceKxRsp": {
  10148. "type": "object",
  10149. "properties": {
  10150. "applyid": {
  10151. "description": "操作人",
  10152. "type": "integer"
  10153. },
  10154. "applyname": {
  10155. "description": "操作人名称",
  10156. "type": "string"
  10157. },
  10158. "biztype": {
  10159. "description": "业务类型 - 1:套保计划 2:现货合同",
  10160. "type": "integer"
  10161. },
  10162. "brandname": {
  10163. "description": "品牌名称",
  10164. "type": "string"
  10165. },
  10166. "contracttype": {
  10167. "description": "现货合同类型 - 1:采购 -1:销售",
  10168. "type": "integer"
  10169. },
  10170. "enumdicName": {
  10171. "description": "单位名称",
  10172. "type": "string"
  10173. },
  10174. "logdatetime": {
  10175. "description": "流水日期(时间)",
  10176. "type": "string"
  10177. },
  10178. "logid": {
  10179. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10180. "type": "string"
  10181. },
  10182. "logtypename": {
  10183. "description": "合同类型(名称)",
  10184. "type": "string"
  10185. },
  10186. "logvalue": {
  10187. "description": "数值",
  10188. "type": "string"
  10189. },
  10190. "modelname": {
  10191. "description": "型号名称",
  10192. "type": "string"
  10193. },
  10194. "operatelogtype": {
  10195. "description": "操作流水类型 -",
  10196. "type": "integer"
  10197. },
  10198. "optypename": {
  10199. "description": "流水类型名称",
  10200. "type": "string"
  10201. },
  10202. "relatedid": {
  10203. "description": "现货合同ID\\套保计划",
  10204. "type": "string"
  10205. },
  10206. "relatedno": {
  10207. "description": "合同编号",
  10208. "type": "string"
  10209. },
  10210. "tradedate": {
  10211. "description": "交易日(yyyyMMdd)",
  10212. "type": "string"
  10213. },
  10214. "userid": {
  10215. "description": "机构ID",
  10216. "type": "integer"
  10217. },
  10218. "wrstandardcode": {
  10219. "description": "现货商品代码",
  10220. "type": "string"
  10221. },
  10222. "wrstandardid": {
  10223. "description": "现货商品ID",
  10224. "type": "integer"
  10225. },
  10226. "wrstandardname": {
  10227. "description": "现货商品名称",
  10228. "type": "string"
  10229. }
  10230. }
  10231. },
  10232. "ermcp.QryReportFinanceMonRsp": {
  10233. "type": "object",
  10234. "properties": {
  10235. "areauserid": {
  10236. "description": "所属机构【原值】",
  10237. "type": "integer"
  10238. },
  10239. "collectinvoiceamount": {
  10240. "description": "今日开票金额【汇总】",
  10241. "type": "number"
  10242. },
  10243. "collectinvoicecount": {
  10244. "description": "今日开票笔数【汇总】",
  10245. "type": "integer"
  10246. },
  10247. "collectmoneyamount": {
  10248. "description": "今日收款金额【汇总】",
  10249. "type": "number"
  10250. },
  10251. "collectmoneycount": {
  10252. "description": "今日收款笔数 【汇总】",
  10253. "type": "integer"
  10254. },
  10255. "cycletime": {
  10256. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10257. "type": "string"
  10258. },
  10259. "cycletype": {
  10260. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10261. "type": "integer"
  10262. },
  10263. "dayFr": {
  10264. "description": "日报表明细",
  10265. "type": "array",
  10266. "items": {
  10267. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10268. }
  10269. },
  10270. "payinvoiceamount": {
  10271. "description": "今日收票金额【汇总】",
  10272. "type": "number"
  10273. },
  10274. "payinvoicecount": {
  10275. "description": "今日收票笔数【汇总】",
  10276. "type": "integer"
  10277. },
  10278. "paymoneyamount": {
  10279. "description": "今日付款金额【汇总】",
  10280. "type": "number"
  10281. },
  10282. "paymoneycount": {
  10283. "description": "今日付款笔数【汇总】",
  10284. "type": "integer"
  10285. },
  10286. "updatetime": {
  10287. "description": "更新时间",
  10288. "type": "string"
  10289. }
  10290. }
  10291. },
  10292. "ermcp.QryReportSpotDayRsp": {
  10293. "type": "object",
  10294. "properties": {
  10295. "areauserid": {
  10296. "description": "所属机构T",
  10297. "type": "integer"
  10298. },
  10299. "buyinqty": {
  10300. "description": "采购入库量",
  10301. "type": "number"
  10302. },
  10303. "enumdicname": {
  10304. "description": "现货商品单位名称",
  10305. "type": "string"
  10306. },
  10307. "reckondate": {
  10308. "description": "日照时期(yyyyMMdd)",
  10309. "type": "string"
  10310. },
  10311. "selloutqty": {
  10312. "description": "销售出库量",
  10313. "type": "number"
  10314. },
  10315. "todaybuyreckonqty": {
  10316. "description": "采购确定量",
  10317. "type": "number"
  10318. },
  10319. "todaysellreckonqty": {
  10320. "description": "销售确定量",
  10321. "type": "number"
  10322. },
  10323. "totalbuypricedqty": {
  10324. "description": "采购定价量 = 期末 - 期初",
  10325. "type": "number"
  10326. },
  10327. "totalsellpricedqty": {
  10328. "description": "销售定价量 = 期末 - 期初",
  10329. "type": "number"
  10330. },
  10331. "wrstandardcode": {
  10332. "description": "现货商品代码",
  10333. "type": "string"
  10334. },
  10335. "wrstandardid": {
  10336. "description": "现货商品ID",
  10337. "type": "integer"
  10338. },
  10339. "wrstandardname": {
  10340. "description": "现货商品名称",
  10341. "type": "string"
  10342. }
  10343. }
  10344. },
  10345. "ermcp.QryReportSpotMonRsp": {
  10346. "type": "object",
  10347. "properties": {
  10348. "areauserid": {
  10349. "description": "所属机构T",
  10350. "type": "integer"
  10351. },
  10352. "buyinqty": {
  10353. "description": "采购入库量",
  10354. "type": "number"
  10355. },
  10356. "cycletime": {
  10357. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10358. "type": "string"
  10359. },
  10360. "cycletype": {
  10361. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10362. "type": "integer"
  10363. },
  10364. "enumdicname": {
  10365. "description": "现货商品单位名称",
  10366. "type": "string"
  10367. },
  10368. "selloutqty": {
  10369. "description": "销售出库量",
  10370. "type": "number"
  10371. },
  10372. "todaybuyreckonqty": {
  10373. "description": "采购确定量",
  10374. "type": "number"
  10375. },
  10376. "todaysellreckonqty": {
  10377. "description": "销售确定量",
  10378. "type": "number"
  10379. },
  10380. "totalbuypricedqty": {
  10381. "description": "采购定价量 = 期末 - 期初",
  10382. "type": "number"
  10383. },
  10384. "totalsellpricedqty": {
  10385. "description": "销售定价量 = 期末 - 期初",
  10386. "type": "number"
  10387. },
  10388. "wrstandardcode": {
  10389. "description": "现货商品代码",
  10390. "type": "string"
  10391. },
  10392. "wrstandardid": {
  10393. "description": "现货商品ID",
  10394. "type": "integer"
  10395. },
  10396. "wrstandardname": {
  10397. "description": "现货商品名称",
  10398. "type": "string"
  10399. }
  10400. }
  10401. },
  10402. "ermcp.QryReportSpotMonthDetailRsp": {
  10403. "type": "object",
  10404. "properties": {
  10405. "areauserid": {
  10406. "description": "所属机构T",
  10407. "type": "integer"
  10408. },
  10409. "buyinqty": {
  10410. "description": "采购入库量",
  10411. "type": "number"
  10412. },
  10413. "enumdicname": {
  10414. "description": "现货商品单位名称",
  10415. "type": "string"
  10416. },
  10417. "reckondate": {
  10418. "description": "日照时期(yyyyMMdd)",
  10419. "type": "string"
  10420. },
  10421. "selloutqty": {
  10422. "description": "销售出库量",
  10423. "type": "number"
  10424. },
  10425. "todaybuyreckonqty": {
  10426. "description": "采购确定量",
  10427. "type": "number"
  10428. },
  10429. "todaysellreckonqty": {
  10430. "description": "销售确定量",
  10431. "type": "number"
  10432. },
  10433. "totalbuypricedqty": {
  10434. "description": "采购定价量 = 期末 - 期初",
  10435. "type": "number"
  10436. },
  10437. "totalsellpricedqty": {
  10438. "description": "销售定价量 = 期末 - 期初",
  10439. "type": "number"
  10440. },
  10441. "wrstandardcode": {
  10442. "description": "现货商品代码",
  10443. "type": "string"
  10444. },
  10445. "wrstandardid": {
  10446. "description": "现货商品ID",
  10447. "type": "integer"
  10448. },
  10449. "wrstandardname": {
  10450. "description": "现货商品名称",
  10451. "type": "string"
  10452. }
  10453. }
  10454. },
  10455. "ermcp.QrySpotContractRsp": {
  10456. "type": "object",
  10457. "properties": {
  10458. "amount": {
  10459. "description": "金额 [1:一口价、3:暂定价]",
  10460. "type": "number"
  10461. },
  10462. "attachment": {
  10463. "description": "附件",
  10464. "type": "string"
  10465. },
  10466. "auditremark": {
  10467. "description": "审核意见",
  10468. "type": "string"
  10469. },
  10470. "audittime": {
  10471. "description": "审核时间",
  10472. "type": "string"
  10473. },
  10474. "brandname": {
  10475. "description": "品牌名称",
  10476. "type": "string"
  10477. },
  10478. "buyuserid": {
  10479. "description": "采购方ID",
  10480. "type": "integer"
  10481. },
  10482. "buyusername": {
  10483. "description": "采购方名称",
  10484. "type": "string"
  10485. },
  10486. "contracctstatus": {
  10487. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10488. "type": "integer"
  10489. },
  10490. "contractmargin": {
  10491. "description": "合同保证金",
  10492. "type": "number"
  10493. },
  10494. "contractno": {
  10495. "description": "现货合同编号",
  10496. "type": "string"
  10497. },
  10498. "contracttype": {
  10499. "description": "现货合同类型 - 1:采购 -1:销售",
  10500. "type": "integer"
  10501. },
  10502. "convertfactor": {
  10503. "description": "标仓系数",
  10504. "type": "number"
  10505. },
  10506. "createtime": {
  10507. "description": "创建时间",
  10508. "type": "string"
  10509. },
  10510. "deliveryenddate": {
  10511. "description": "交收期(结束)",
  10512. "type": "string"
  10513. },
  10514. "deliverygoodscode": {
  10515. "description": "现货品种代码",
  10516. "type": "string"
  10517. },
  10518. "deliverygoodsid": {
  10519. "description": "现货品种ID",
  10520. "type": "integer"
  10521. },
  10522. "deliverygoodsname": {
  10523. "description": "现货品种名称",
  10524. "type": "string"
  10525. },
  10526. "deliverystartdate": {
  10527. "description": "交收期(开始)",
  10528. "type": "string"
  10529. },
  10530. "enddate": {
  10531. "description": "点价结束日期 [2:点价 3:暂定价]",
  10532. "type": "string"
  10533. },
  10534. "enumdicname": {
  10535. "description": "单位名称",
  10536. "type": "string"
  10537. },
  10538. "goodscode": {
  10539. "description": "点价合约代码",
  10540. "type": "string"
  10541. },
  10542. "goodsid": {
  10543. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10544. "type": "integer"
  10545. },
  10546. "goodsname": {
  10547. "description": "点价商品名称",
  10548. "type": "string"
  10549. },
  10550. "margin": {
  10551. "description": "当前保证金",
  10552. "type": "number"
  10553. },
  10554. "modelname": {
  10555. "description": "型号名称",
  10556. "type": "string"
  10557. },
  10558. "price": {
  10559. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10560. "type": "number"
  10561. },
  10562. "pricemove": {
  10563. "description": "升贴水 [2:点价 3:暂定价]",
  10564. "type": "number"
  10565. },
  10566. "pricetype": {
  10567. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10568. "type": "integer"
  10569. },
  10570. "producttype": {
  10571. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10572. "type": "integer"
  10573. },
  10574. "qty": {
  10575. "description": "数量",
  10576. "type": "number"
  10577. },
  10578. "remark": {
  10579. "description": "备注",
  10580. "type": "string"
  10581. },
  10582. "selluserid": {
  10583. "description": "销售方ID",
  10584. "type": "integer"
  10585. },
  10586. "sellusername": {
  10587. "description": "销售方名称",
  10588. "type": "string"
  10589. },
  10590. "spotcontractid": {
  10591. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10592. "type": "string"
  10593. },
  10594. "spotgoodsbrandid": {
  10595. "description": "现货品牌ID",
  10596. "type": "integer"
  10597. },
  10598. "spotgoodsdesc": {
  10599. "description": "商品型号",
  10600. "type": "string"
  10601. },
  10602. "spotgoodsmodelid": {
  10603. "description": "现货型号ID",
  10604. "type": "integer"
  10605. },
  10606. "startdate": {
  10607. "description": "点价开始日期 [2:点价 3:暂定价]",
  10608. "type": "string"
  10609. },
  10610. "updatetime": {
  10611. "description": "更新时间",
  10612. "type": "string"
  10613. },
  10614. "userid": {
  10615. "description": "机构ID",
  10616. "type": "integer"
  10617. },
  10618. "wrstandardcode": {
  10619. "description": "现货商品代码",
  10620. "type": "string"
  10621. },
  10622. "wrstandardid": {
  10623. "description": "现货商品ID",
  10624. "type": "integer"
  10625. },
  10626. "wrstandardname": {
  10627. "description": "现货商品名称",
  10628. "type": "string"
  10629. }
  10630. }
  10631. },
  10632. "ermcp.QryUserInfoRsp": {
  10633. "type": "object",
  10634. "properties": {
  10635. "address": {
  10636. "description": "通讯地址",
  10637. "type": "string"
  10638. },
  10639. "attachment1": {
  10640. "description": "附件1",
  10641. "type": "string"
  10642. },
  10643. "audittime": {
  10644. "description": "审核时间",
  10645. "type": "string"
  10646. },
  10647. "cardfrontphotourl": {
  10648. "description": "证件正面图片地址",
  10649. "type": "string"
  10650. },
  10651. "cardnum": {
  10652. "description": "证件号码",
  10653. "type": "string"
  10654. },
  10655. "cardtype": {
  10656. "description": "证件类型",
  10657. "type": "integer"
  10658. },
  10659. "cardtypename": {
  10660. "description": "证件类型名称",
  10661. "type": "string"
  10662. },
  10663. "cityid": {
  10664. "description": "市",
  10665. "type": "integer"
  10666. },
  10667. "countryid": {
  10668. "description": "国家",
  10669. "type": "integer"
  10670. },
  10671. "createtime": {
  10672. "description": "创建时间",
  10673. "type": "string"
  10674. },
  10675. "customername": {
  10676. "description": "企业名称",
  10677. "type": "string"
  10678. },
  10679. "districtid": {
  10680. "description": "区域",
  10681. "type": "integer"
  10682. },
  10683. "memberuserid": {
  10684. "description": "所属机构ID",
  10685. "type": "integer"
  10686. },
  10687. "mobile": {
  10688. "description": "手机号码",
  10689. "type": "string"
  10690. },
  10691. "modifytime": {
  10692. "description": "修改时间",
  10693. "type": "string"
  10694. },
  10695. "provinceid": {
  10696. "description": "省",
  10697. "type": "integer"
  10698. },
  10699. "remark": {
  10700. "description": "备注",
  10701. "type": "string"
  10702. },
  10703. "status": {
  10704. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10705. "type": "integer"
  10706. },
  10707. "statusdesc": {
  10708. "description": "账户状态中文描述",
  10709. "type": "string"
  10710. },
  10711. "telphone": {
  10712. "description": "联系电话",
  10713. "type": "string"
  10714. },
  10715. "userid": {
  10716. "description": "用户ID",
  10717. "type": "integer"
  10718. },
  10719. "userinfotype": {
  10720. "description": "客户类型",
  10721. "type": "string"
  10722. }
  10723. }
  10724. },
  10725. "ermcp.QryWarehouseRsp": {
  10726. "type": "object",
  10727. "properties": {
  10728. "address": {
  10729. "description": "详细地址",
  10730. "type": "string"
  10731. },
  10732. "areauserid": {
  10733. "description": "所属机构",
  10734. "type": "integer"
  10735. },
  10736. "autoid": {
  10737. "description": "自增ID(仓库ID)",
  10738. "type": "integer"
  10739. },
  10740. "cityid": {
  10741. "description": "市",
  10742. "type": "integer"
  10743. },
  10744. "contactname": {
  10745. "description": "联系人",
  10746. "type": "string"
  10747. },
  10748. "contactnum": {
  10749. "description": "联系电话",
  10750. "type": "string"
  10751. },
  10752. "countryid": {
  10753. "description": "国家",
  10754. "type": "integer"
  10755. },
  10756. "createtime": {
  10757. "description": "创建时间",
  10758. "type": "string"
  10759. },
  10760. "districtid": {
  10761. "description": "区",
  10762. "type": "integer"
  10763. },
  10764. "hasvideo": {
  10765. "description": "是否有视频 - 0:无 1:有",
  10766. "type": "integer"
  10767. },
  10768. "provinceid": {
  10769. "description": "省",
  10770. "type": "integer"
  10771. },
  10772. "remark": {
  10773. "description": "审核备注",
  10774. "type": "string"
  10775. },
  10776. "videourl": {
  10777. "description": "视频地址",
  10778. "type": "string"
  10779. },
  10780. "warehousecode": {
  10781. "description": "仓库代码",
  10782. "type": "string"
  10783. },
  10784. "warehousename": {
  10785. "description": "仓库名称",
  10786. "type": "string"
  10787. },
  10788. "warehousestatus": {
  10789. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10790. "type": "integer"
  10791. },
  10792. "warehousetype": {
  10793. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10794. "type": "integer"
  10795. }
  10796. }
  10797. },
  10798. "ermcp.QryWrStandardDetailRsp": {
  10799. "type": "object",
  10800. "properties": {
  10801. "gbList": {
  10802. "description": "品牌列表",
  10803. "type": "array",
  10804. "items": {
  10805. "$ref": "#/definitions/models.GoodsBrand"
  10806. }
  10807. },
  10808. "goodsList": {
  10809. "description": "关联交易商品列表",
  10810. "type": "array",
  10811. "items": {
  10812. "$ref": "#/definitions/models.RelatedGoodsEx"
  10813. }
  10814. },
  10815. "gtList": {
  10816. "description": "型号列表",
  10817. "type": "array",
  10818. "items": {
  10819. "$ref": "#/definitions/models.GoodsTypeModel"
  10820. }
  10821. },
  10822. "wrd": {
  10823. "description": "基本信息",
  10824. "$ref": "#/definitions/models.ErmcpWrstandard"
  10825. },
  10826. "wrsList": {
  10827. "description": "套保信息列表",
  10828. "type": "array",
  10829. "items": {
  10830. "$ref": "#/definitions/models.WRSConverTDetail"
  10831. }
  10832. }
  10833. }
  10834. },
  10835. "ermcp.QryWrStandardRsp": {
  10836. "type": "object",
  10837. "properties": {
  10838. "areauserid": {
  10839. "description": "所属机构",
  10840. "type": "integer"
  10841. },
  10842. "createtime": {
  10843. "description": "创建时间",
  10844. "type": "string"
  10845. },
  10846. "creatorid": {
  10847. "description": "创建人",
  10848. "type": "integer"
  10849. },
  10850. "deliverygoodsid": {
  10851. "description": "品种ID",
  10852. "type": "integer"
  10853. },
  10854. "enumdicname": {
  10855. "description": "单位名称",
  10856. "type": "string"
  10857. },
  10858. "isvalid": {
  10859. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10860. "type": "integer"
  10861. },
  10862. "minivalue": {
  10863. "description": "最小变动值",
  10864. "type": "integer"
  10865. },
  10866. "minivaluedp": {
  10867. "description": "最小变动值小数位",
  10868. "type": "integer"
  10869. },
  10870. "realminivalue": {
  10871. "description": "实际最小变动值",
  10872. "type": "integer"
  10873. },
  10874. "realminivaluedp": {
  10875. "description": "实际最小变动值小数位",
  10876. "type": "integer"
  10877. },
  10878. "remark": {
  10879. "description": "备注",
  10880. "type": "string"
  10881. },
  10882. "unitid": {
  10883. "description": "单位ID",
  10884. "type": "integer"
  10885. },
  10886. "updatetime": {
  10887. "description": "更新时间",
  10888. "type": "string"
  10889. },
  10890. "wrstandardcode": {
  10891. "description": "现货商品代码",
  10892. "type": "string"
  10893. },
  10894. "wrstandardid": {
  10895. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10896. "type": "integer"
  10897. },
  10898. "wrstandardname": {
  10899. "description": "现货商品名称",
  10900. "type": "string"
  10901. }
  10902. }
  10903. },
  10904. "ermcp.QueryAreaStockApplySumRsp": {
  10905. "type": "object",
  10906. "properties": {
  10907. "brandname": {
  10908. "description": "品牌名称",
  10909. "type": "string"
  10910. },
  10911. "inouttype": {
  10912. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10913. "type": "integer"
  10914. },
  10915. "modelname": {
  10916. "description": "型号名称",
  10917. "type": "string"
  10918. },
  10919. "spotcontractid": {
  10920. "description": "关联现货合同ID",
  10921. "type": "string"
  10922. },
  10923. "spotgoodsbrandid": {
  10924. "description": "品牌id",
  10925. "type": "integer"
  10926. },
  10927. "spotgoodsmodelid": {
  10928. "description": "型号id",
  10929. "type": "integer"
  10930. },
  10931. "totalqty": {
  10932. "description": "总数量",
  10933. "type": "number"
  10934. }
  10935. }
  10936. },
  10937. "ermcp.QueryErmcpTradePositionRsp": {
  10938. "type": "object",
  10939. "properties": {
  10940. "agreeunit": {
  10941. "description": "合约单位",
  10942. "type": "number"
  10943. },
  10944. "buyorsell": {
  10945. "description": "方向 - 0:买 1:卖",
  10946. "type": "integer"
  10947. },
  10948. "curpositionqty": {
  10949. "description": "持仓(总仓数量, 期末头寸)",
  10950. "type": "integer"
  10951. },
  10952. "curtdposition": {
  10953. "description": "今仓数量(期末今日头寸)",
  10954. "type": "integer"
  10955. },
  10956. "curtdpositionenabled": {
  10957. "description": "今仓可用",
  10958. "type": "integer"
  10959. },
  10960. "decimalplace": {
  10961. "description": "报价小数位",
  10962. "type": "integer"
  10963. },
  10964. "enableqty": {
  10965. "description": "可用(总仓可用)",
  10966. "type": "integer"
  10967. },
  10968. "exexchangename": {
  10969. "description": "外部交易所名称",
  10970. "type": "string"
  10971. },
  10972. "goodscode": {
  10973. "description": "商品代码(内部)",
  10974. "type": "string"
  10975. },
  10976. "goodsid": {
  10977. "description": "商品ID(自增ID SEQ_GOODS)",
  10978. "type": "integer"
  10979. },
  10980. "goodsname": {
  10981. "description": "商品名称",
  10982. "type": "string"
  10983. },
  10984. "last": {
  10985. "description": "现价",
  10986. "type": "number"
  10987. },
  10988. "marketid": {
  10989. "description": "所属市场ID",
  10990. "type": "integer"
  10991. },
  10992. "openaverageprice": {
  10993. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10994. "type": "number"
  10995. },
  10996. "opencost": {
  10997. "description": "开仓成本",
  10998. "type": "number"
  10999. },
  11000. "openpl": {
  11001. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11002. "type": "number"
  11003. },
  11004. "outgoodscode": {
  11005. "description": "商品代码(外部)",
  11006. "type": "string"
  11007. },
  11008. "positionaverageprice": {
  11009. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11010. "type": "number"
  11011. },
  11012. "positioncost": {
  11013. "description": "持仓成本",
  11014. "type": "number"
  11015. },
  11016. "positionpl": {
  11017. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11018. "type": "number"
  11019. },
  11020. "positionplrate": {
  11021. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11022. "type": "number"
  11023. },
  11024. "usedmargin": {
  11025. "description": "占用保证金",
  11026. "type": "number"
  11027. }
  11028. }
  11029. },
  11030. "ermcp.RealtimeExposurePositionRsp": {
  11031. "type": "object",
  11032. "properties": {
  11033. "agreeunit": {
  11034. "description": "合约单位",
  11035. "type": "string"
  11036. },
  11037. "areauserid": {
  11038. "description": "所属机构id",
  11039. "type": "integer"
  11040. },
  11041. "convertratio": {
  11042. "description": "期货品种系数(折算系数)",
  11043. "type": "number"
  11044. },
  11045. "curqty": {
  11046. "description": "当前持仓",
  11047. "type": "integer"
  11048. },
  11049. "diffhedgeqty": {
  11050. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11051. "type": "number"
  11052. },
  11053. "diffqty": {
  11054. "description": "持仓变动量=当前持仓-昨日持仓",
  11055. "type": "integer"
  11056. },
  11057. "goodscode": {
  11058. "description": "商品代码",
  11059. "type": "string"
  11060. },
  11061. "goodsid": {
  11062. "description": "商品id",
  11063. "type": "integer"
  11064. },
  11065. "goodsname": {
  11066. "description": "商品名称",
  11067. "type": "string"
  11068. },
  11069. "middlegoodsid": {
  11070. "description": "套保商品id",
  11071. "type": "integer"
  11072. },
  11073. "ydqty": {
  11074. "description": "昨日持仓",
  11075. "type": "integer"
  11076. }
  11077. }
  11078. },
  11079. "ermcp.RealtimeExposureRsp": {
  11080. "type": "object",
  11081. "properties": {
  11082. "AreaUserID": {
  11083. "description": "所属机构",
  11084. "type": "integer"
  11085. },
  11086. "BuyFutureQty": {
  11087. "description": "买入期货数量",
  11088. "type": "number"
  11089. },
  11090. "BuyPlanQty": {
  11091. "description": "采购计划数量",
  11092. "type": "number"
  11093. },
  11094. "BuyPricedQty": {
  11095. "description": "采购合同已定价数量",
  11096. "type": "number"
  11097. },
  11098. "MiddleGoodsCode": {
  11099. "description": "套保品种代码",
  11100. "type": "string"
  11101. },
  11102. "MiddleGoodsHedgeRatio": {
  11103. "description": "应套保比例",
  11104. "type": "number"
  11105. },
  11106. "MiddleGoodsID": {
  11107. "description": "套保品种",
  11108. "type": "integer"
  11109. },
  11110. "MiddleGoodsName": {
  11111. "description": "套保品种名称",
  11112. "type": "string"
  11113. },
  11114. "NeedHedgeExposoure": {
  11115. "description": "应套保敞口",
  11116. "type": "number"
  11117. },
  11118. "NeedHedgeRatio": {
  11119. "description": "应套保敞口比例",
  11120. "type": "number"
  11121. },
  11122. "OriBuyFutureQty": {
  11123. "description": "期初买入期货数量",
  11124. "type": "number"
  11125. },
  11126. "OriBuyPlanQty": {
  11127. "description": "期初采购计划数量",
  11128. "type": "number"
  11129. },
  11130. "OriBuyPricedQty": {
  11131. "description": "期初采购合同已定价数量",
  11132. "type": "number"
  11133. },
  11134. "OriSellFutureQty": {
  11135. "description": "期初卖出期货数量",
  11136. "type": "number"
  11137. },
  11138. "OriSellPlanQty": {
  11139. "description": "期初销售计划数量",
  11140. "type": "number"
  11141. },
  11142. "OriSellPricedQty": {
  11143. "description": "期初销售合同已定价数量",
  11144. "type": "number"
  11145. },
  11146. "SellFutureQty": {
  11147. "description": "卖出期货数量",
  11148. "type": "number"
  11149. },
  11150. "SellPlanQty": {
  11151. "description": "销售计划数量",
  11152. "type": "number"
  11153. },
  11154. "SellPricedQty": {
  11155. "description": "销售合同已定价数量",
  11156. "type": "number"
  11157. },
  11158. "TotalExposure": {
  11159. "description": "总敞口",
  11160. "type": "number"
  11161. },
  11162. "TotalFutureQty": {
  11163. "description": "期货数量",
  11164. "type": "number"
  11165. },
  11166. "TotalHedgeRatio": {
  11167. "description": "敞口比例",
  11168. "type": "number"
  11169. },
  11170. "TotalNeedHedgeQty": {
  11171. "description": "期货应套保量",
  11172. "type": "number"
  11173. },
  11174. "TotalSpotQty": {
  11175. "description": "现货数量",
  11176. "type": "number"
  11177. },
  11178. "diffFutuQty": {
  11179. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11180. "type": "number"
  11181. },
  11182. "diffSpotQty": {
  11183. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11184. "type": "number"
  11185. },
  11186. "enumdicname": {
  11187. "description": "单位名称",
  11188. "type": "string"
  11189. },
  11190. "oriTotalFutuQty": {
  11191. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11192. "type": "number"
  11193. },
  11194. "oriTotalSpotQty": {
  11195. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11196. "type": "number"
  11197. }
  11198. }
  11199. },
  11200. "erms2.QueryArbitrageStrategyRsp": {
  11201. "type": "object",
  11202. "required": [
  11203. "asapplyid"
  11204. ],
  11205. "properties": {
  11206. "applybasis": {
  11207. "description": "申请基差",
  11208. "type": "number"
  11209. },
  11210. "asapplyid": {
  11211. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11212. "type": "string"
  11213. },
  11214. "asname": {
  11215. "description": "策略名称",
  11216. "type": "string"
  11217. },
  11218. "asno": {
  11219. "description": "策略编号",
  11220. "type": "string"
  11221. },
  11222. "basischangepl": {
  11223. "description": "基差变动损益[结算更新]",
  11224. "type": "number"
  11225. },
  11226. "biztype": {
  11227. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11228. "type": "integer"
  11229. },
  11230. "closetradedate": {
  11231. "description": "完结交易日(yyyyMMdd)",
  11232. "type": "string"
  11233. },
  11234. "curbasis": {
  11235. "description": "当前基差[结算更新]",
  11236. "type": "number"
  11237. },
  11238. "deliverygoodsid": {
  11239. "description": "现货品种ID",
  11240. "type": "integer"
  11241. },
  11242. "futureavgprice": {
  11243. "description": "期货建仓均价",
  11244. "type": "number"
  11245. },
  11246. "futurecloseamount": {
  11247. "description": "期货平仓金额",
  11248. "type": "number"
  11249. },
  11250. "futurecloseqty": {
  11251. "description": "期货平仓数量",
  11252. "type": "number"
  11253. },
  11254. "futureopenamount": {
  11255. "description": "期货开仓金额",
  11256. "type": "number"
  11257. },
  11258. "futureopenqty": {
  11259. "description": "期货开仓数量",
  11260. "type": "number"
  11261. },
  11262. "futurepl": {
  11263. "description": "期货总盈亏[结算更新]",
  11264. "type": "number"
  11265. },
  11266. "futureqty": {
  11267. "description": "期货持仓数量",
  11268. "type": "number"
  11269. },
  11270. "futurequote": {
  11271. "description": "期货额度",
  11272. "type": "number"
  11273. },
  11274. "goodsgroupid": {
  11275. "description": "期货品种ID",
  11276. "type": "integer"
  11277. },
  11278. "marketid": {
  11279. "description": "市场ID",
  11280. "type": "integer"
  11281. },
  11282. "netexposure": {
  11283. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11284. "type": "number"
  11285. },
  11286. "netexposurepl": {
  11287. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11288. "type": "number"
  11289. },
  11290. "netexposurerate": {
  11291. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11292. "type": "number"
  11293. },
  11294. "openbasis": {
  11295. "description": "建仓基差",
  11296. "type": "number"
  11297. },
  11298. "pricedspotqty": {
  11299. "description": "已定价现货数量",
  11300. "type": "number"
  11301. },
  11302. "pricedspotqtynotax": {
  11303. "description": "已定价现货不含税数量",
  11304. "type": "number"
  11305. },
  11306. "remark": {
  11307. "description": "备注",
  11308. "type": "string"
  11309. },
  11310. "spotavgprice": {
  11311. "description": "现货均价",
  11312. "type": "number"
  11313. },
  11314. "spotbuyamount": {
  11315. "description": "现货采购金额",
  11316. "type": "number"
  11317. },
  11318. "spotbuyqty": {
  11319. "description": "现货采购数量",
  11320. "type": "number"
  11321. },
  11322. "spotpl": {
  11323. "description": "现货总盈亏[结算更新]",
  11324. "type": "number"
  11325. },
  11326. "spotquota": {
  11327. "description": "现货额度",
  11328. "type": "number"
  11329. },
  11330. "spotsellamount": {
  11331. "description": "现货销售金额",
  11332. "type": "number"
  11333. },
  11334. "spotsellqty": {
  11335. "description": "现货销售数量",
  11336. "type": "number"
  11337. },
  11338. "spotusedquota": {
  11339. "description": "现货占用资金",
  11340. "type": "number"
  11341. },
  11342. "strategystatus": {
  11343. "description": "策略状态 - 0:未结束 1:已结束",
  11344. "type": "integer"
  11345. },
  11346. "totalpl": {
  11347. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11348. "type": "number"
  11349. },
  11350. "tradedate": {
  11351. "description": "交易日(yyyyMMdd)",
  11352. "type": "string"
  11353. },
  11354. "updatetime": {
  11355. "description": "更新时间",
  11356. "type": "string"
  11357. },
  11358. "usedquota": {
  11359. "description": "已占用资金",
  11360. "type": "number"
  11361. },
  11362. "userid": {
  11363. "description": "所属机构",
  11364. "type": "integer"
  11365. }
  11366. }
  11367. },
  11368. "erms2.QueryInnerTradeDetailRsp": {
  11369. "type": "object",
  11370. "required": [
  11371. "asapplyid",
  11372. "buyorsell",
  11373. "goodscode",
  11374. "goodsgroupid",
  11375. "goodsgroupname",
  11376. "goodsname",
  11377. "tradeid"
  11378. ],
  11379. "properties": {
  11380. "accountid": {
  11381. "description": "账号ID",
  11382. "type": "integer"
  11383. },
  11384. "agreeunit": {
  11385. "description": "合约单位",
  11386. "type": "number"
  11387. },
  11388. "asapplyid": {
  11389. "description": "策略申请ID",
  11390. "type": "integer"
  11391. },
  11392. "asname": {
  11393. "description": "策略名称",
  11394. "type": "string"
  11395. },
  11396. "asno": {
  11397. "description": "策略编号",
  11398. "type": "string"
  11399. },
  11400. "buyorsell": {
  11401. "description": "方向 - 0:买 1:卖",
  11402. "type": "integer"
  11403. },
  11404. "channelbuildtype": {
  11405. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11406. "type": "integer"
  11407. },
  11408. "closetype": {
  11409. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11410. "type": "integer"
  11411. },
  11412. "decimalplace": {
  11413. "description": "报价小数位",
  11414. "type": "integer"
  11415. },
  11416. "detailtype": {
  11417. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11418. "type": "integer"
  11419. },
  11420. "exexchangecode": {
  11421. "description": "外部交易所代码",
  11422. "type": "string"
  11423. },
  11424. "exexchangename": {
  11425. "description": "外部交易所名称",
  11426. "type": "string"
  11427. },
  11428. "goodscode": {
  11429. "description": "商品代码(合约)",
  11430. "type": "string"
  11431. },
  11432. "goodsgroupid": {
  11433. "description": "商品组ID(品种ID)",
  11434. "type": "integer"
  11435. },
  11436. "goodsgroupname": {
  11437. "description": "商品组名称(品种)",
  11438. "type": "string"
  11439. },
  11440. "goodsid": {
  11441. "description": "商品ID",
  11442. "type": "integer"
  11443. },
  11444. "goodsname": {
  11445. "description": "商品名称(合约)",
  11446. "type": "string"
  11447. },
  11448. "goodunit": {
  11449. "description": "报价单位",
  11450. "type": "string"
  11451. },
  11452. "marketid": {
  11453. "description": "市场ID",
  11454. "type": "integer"
  11455. },
  11456. "orderid": {
  11457. "description": "委托单号",
  11458. "type": "string"
  11459. },
  11460. "outgoodscode": {
  11461. "description": "商品代码(外部)",
  11462. "type": "string"
  11463. },
  11464. "relatedouttradeid": {
  11465. "description": "关联外部成交单ID",
  11466. "type": "string"
  11467. },
  11468. "remark": {
  11469. "description": "备注",
  11470. "type": "string"
  11471. },
  11472. "spotcontractid": {
  11473. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11474. "type": "integer"
  11475. },
  11476. "spotcontractno": {
  11477. "description": "现货合同编号",
  11478. "type": "string"
  11479. },
  11480. "tradeid": {
  11481. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11482. "type": "string"
  11483. },
  11484. "tradeprice": {
  11485. "description": "成交价格",
  11486. "type": "number"
  11487. },
  11488. "tradeqty": {
  11489. "description": "成交数量",
  11490. "type": "integer"
  11491. },
  11492. "tradetime": {
  11493. "description": "成交时间",
  11494. "type": "string"
  11495. },
  11496. "updatetime": {
  11497. "description": "更新时间",
  11498. "type": "string"
  11499. }
  11500. }
  11501. },
  11502. "erms2.QuerySpotContractRsp": {
  11503. "type": "object",
  11504. "required": [
  11505. "spotcontractid"
  11506. ],
  11507. "properties": {
  11508. "accountid": {
  11509. "description": "资金账户ID",
  11510. "type": "integer"
  11511. },
  11512. "areauserid": {
  11513. "description": "所属机构",
  11514. "type": "integer"
  11515. },
  11516. "closedate": {
  11517. "description": "终止日期",
  11518. "type": "string"
  11519. },
  11520. "closeremark": {
  11521. "description": "结束备注",
  11522. "type": "string"
  11523. },
  11524. "closetradedate": {
  11525. "description": "完结交易日(yyyyMMdd)",
  11526. "type": "string"
  11527. },
  11528. "closetype": {
  11529. "description": "终止类型 - 1:违约 2:提前终止",
  11530. "type": "integer"
  11531. },
  11532. "contractamount": {
  11533. "description": "合同金额",
  11534. "type": "number"
  11535. },
  11536. "contractattachment": {
  11537. "description": "合同附件",
  11538. "type": "string"
  11539. },
  11540. "contractno": {
  11541. "description": "现货合同编号",
  11542. "type": "string"
  11543. },
  11544. "contractqty": {
  11545. "description": "合同数量(数值) (用于计算)",
  11546. "type": "number"
  11547. },
  11548. "contractqtychar": {
  11549. "description": "合同数量\\已订价数量 (用于显示)",
  11550. "type": "string"
  11551. },
  11552. "contractstatus": {
  11553. "description": "合同状态 - 0:未结束 1:已结束",
  11554. "type": "integer"
  11555. },
  11556. "contracttype": {
  11557. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11558. "type": "integer"
  11559. },
  11560. "customeraccountid": {
  11561. "description": "客户资金账户ID",
  11562. "type": "integer"
  11563. },
  11564. "customeruserid": {
  11565. "description": "客户ID",
  11566. "type": "integer"
  11567. },
  11568. "deliverygoodsdesc": {
  11569. "description": "品种说明",
  11570. "type": "string"
  11571. },
  11572. "deliverygoodsid": {
  11573. "description": "现货品种ID",
  11574. "type": "integer"
  11575. },
  11576. "handlestatus": {
  11577. "description": "处理状态",
  11578. "type": "integer"
  11579. },
  11580. "invoiceatt": {
  11581. "description": "发票附件",
  11582. "type": "string"
  11583. },
  11584. "invoicedatetime": {
  11585. "description": "开收票更新时间",
  11586. "type": "string"
  11587. },
  11588. "invoiceopentime": {
  11589. "description": "开票时间",
  11590. "type": "string"
  11591. },
  11592. "invoiceremark": {
  11593. "description": "发票备注",
  11594. "type": "string"
  11595. },
  11596. "invoicestatus": {
  11597. "description": "开收票状态 - 0:未开票 1:已开票",
  11598. "type": "integer"
  11599. },
  11600. "lastdate": {
  11601. "description": "交货时间",
  11602. "type": "string"
  11603. },
  11604. "marketid": {
  11605. "description": "市场ID",
  11606. "type": "integer"
  11607. },
  11608. "paydatetime": {
  11609. "description": "收付款更新时间",
  11610. "type": "string"
  11611. },
  11612. "payremark": {
  11613. "description": "收付款备注",
  11614. "type": "string"
  11615. },
  11616. "paystatus": {
  11617. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11618. "type": "integer"
  11619. },
  11620. "positionqty": {
  11621. "description": "头寸数量 - 合同数量去小数部分",
  11622. "type": "integer"
  11623. },
  11624. "producttype": {
  11625. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11626. "type": "integer"
  11627. },
  11628. "relatedqty": {
  11629. "description": "已关联数量",
  11630. "type": "number"
  11631. },
  11632. "relatedstatus": {
  11633. "description": "关联完结状态 - 0:未结束 1:已结束",
  11634. "type": "integer"
  11635. },
  11636. "remark": {
  11637. "description": "备注",
  11638. "type": "string"
  11639. },
  11640. "signdate": {
  11641. "description": "签订日期",
  11642. "type": "string"
  11643. },
  11644. "spotcontractid": {
  11645. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11646. "type": "string"
  11647. },
  11648. "spotdatetime": {
  11649. "description": "收发货更新时间",
  11650. "type": "string"
  11651. },
  11652. "spotprice": {
  11653. "description": "价格",
  11654. "type": "number"
  11655. },
  11656. "spotremark": {
  11657. "description": "收发货备注",
  11658. "type": "string"
  11659. },
  11660. "spotstatus": {
  11661. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11662. "type": "integer"
  11663. },
  11664. "tradedate": {
  11665. "description": "交易日(yyyyMMdd)",
  11666. "type": "string"
  11667. },
  11668. "userid": {
  11669. "description": "业务员用户ID",
  11670. "type": "integer"
  11671. },
  11672. "warehouseid": {
  11673. "description": "仓库ID",
  11674. "type": "integer"
  11675. },
  11676. "wrfactortypeid": {
  11677. "description": "仓单要素类型ID",
  11678. "type": "integer"
  11679. },
  11680. "wrstandardid": {
  11681. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11682. "type": "integer"
  11683. }
  11684. }
  11685. },
  11686. "erms3.AddErms2ASApplyReq": {
  11687. "type": "object",
  11688. "required": [
  11689. "asapplyid"
  11690. ],
  11691. "properties": {
  11692. "applybasis": {
  11693. "description": "申请基差",
  11694. "type": "number"
  11695. },
  11696. "applystatus": {
  11697. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11698. "type": "integer"
  11699. },
  11700. "asapplyid": {
  11701. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11702. "type": "integer"
  11703. },
  11704. "asname": {
  11705. "description": "策略名称",
  11706. "type": "string"
  11707. },
  11708. "asno": {
  11709. "description": "策略编号",
  11710. "type": "string"
  11711. },
  11712. "auditid": {
  11713. "description": "审核人",
  11714. "type": "integer"
  11715. },
  11716. "auditremark": {
  11717. "description": "审核备注",
  11718. "type": "string"
  11719. },
  11720. "audittime": {
  11721. "description": "审核时间",
  11722. "type": "string"
  11723. },
  11724. "biztype": {
  11725. "description": "业务类型 - 1:正向套利 2:反向套利",
  11726. "type": "integer"
  11727. },
  11728. "createtime": {
  11729. "description": "创建时间",
  11730. "type": "string"
  11731. },
  11732. "creatorid": {
  11733. "description": "创建人",
  11734. "type": "integer"
  11735. },
  11736. "deliverygoodsid": {
  11737. "description": "现货品种ID",
  11738. "type": "integer"
  11739. },
  11740. "futurequote": {
  11741. "description": "期货额度",
  11742. "type": "number"
  11743. },
  11744. "goodsgroupid": {
  11745. "description": "期货品种ID",
  11746. "type": "integer"
  11747. },
  11748. "marketid": {
  11749. "description": "市场ID",
  11750. "type": "integer"
  11751. },
  11752. "remark": {
  11753. "description": "备注",
  11754. "type": "string"
  11755. },
  11756. "spotquota": {
  11757. "description": "现货额度",
  11758. "type": "number"
  11759. },
  11760. "tradedate": {
  11761. "description": "交易日(yyyyMMdd)",
  11762. "type": "string"
  11763. },
  11764. "userid": {
  11765. "description": "所属机构",
  11766. "type": "integer"
  11767. }
  11768. }
  11769. },
  11770. "erms3.AddErms2SpotTradeApplyReq": {
  11771. "type": "object",
  11772. "required": [
  11773. "spottradeid"
  11774. ],
  11775. "properties": {
  11776. "applyjsondetail": {
  11777. "description": "申请明细(JSON)",
  11778. "type": "string"
  11779. },
  11780. "applystatus": {
  11781. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11782. "type": "integer"
  11783. },
  11784. "areauserid": {
  11785. "description": "所属机构",
  11786. "type": "integer"
  11787. },
  11788. "auditid": {
  11789. "description": "审核人",
  11790. "type": "integer"
  11791. },
  11792. "auditremark": {
  11793. "description": "审核备注",
  11794. "type": "string"
  11795. },
  11796. "audittime": {
  11797. "description": "审核时间",
  11798. "type": "string"
  11799. },
  11800. "createtime": {
  11801. "description": "创建时间",
  11802. "type": "string"
  11803. },
  11804. "creatorid": {
  11805. "description": "创建人",
  11806. "type": "integer"
  11807. },
  11808. "deliverygoodsid": {
  11809. "description": "现货品种ID",
  11810. "type": "integer"
  11811. },
  11812. "futureaccountid": {
  11813. "description": "期货资金账户",
  11814. "type": "integer"
  11815. },
  11816. "goodsgroupid": {
  11817. "description": "期货品种",
  11818. "type": "integer"
  11819. },
  11820. "marketid": {
  11821. "description": "市场ID",
  11822. "type": "integer"
  11823. },
  11824. "remark": {
  11825. "description": "备注",
  11826. "type": "string"
  11827. },
  11828. "spotaccountid": {
  11829. "description": "现货资金账户",
  11830. "type": "integer"
  11831. },
  11832. "spottradeid": {
  11833. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11834. "type": "integer"
  11835. },
  11836. "spottradename": {
  11837. "description": "业务名称",
  11838. "type": "string"
  11839. },
  11840. "spottradeno": {
  11841. "description": "业务编号",
  11842. "type": "string"
  11843. },
  11844. "tradedate": {
  11845. "description": "交易日(yyyyMMdd)",
  11846. "type": "string"
  11847. },
  11848. "wrstandardid": {
  11849. "description": "仓单标准ID",
  11850. "type": "integer"
  11851. }
  11852. }
  11853. },
  11854. "erms3.AddSpotContractApplyReq": {
  11855. "type": "object",
  11856. "required": [
  11857. "accountid",
  11858. "areauserid",
  11859. "contractno",
  11860. "contracttype",
  11861. "customeraccountid",
  11862. "customeruserid",
  11863. "details",
  11864. "orimargin",
  11865. "signdate"
  11866. ],
  11867. "properties": {
  11868. "accountid": {
  11869. "description": "资金账户ID",
  11870. "type": "integer"
  11871. },
  11872. "areauserid": {
  11873. "description": "所属机构",
  11874. "type": "integer"
  11875. },
  11876. "contractattachment": {
  11877. "description": "合同附件",
  11878. "type": "string"
  11879. },
  11880. "contractno": {
  11881. "description": "现货合同编号",
  11882. "type": "string"
  11883. },
  11884. "contracttype": {
  11885. "description": "现货合同类型 - 1:采购 -1:销售",
  11886. "type": "integer"
  11887. },
  11888. "creatorid": {
  11889. "description": "申请人",
  11890. "type": "integer"
  11891. },
  11892. "customeraccountid": {
  11893. "description": "客户资金账户ID",
  11894. "type": "integer"
  11895. },
  11896. "customeruserid": {
  11897. "description": "客户ID",
  11898. "type": "integer"
  11899. },
  11900. "details": {
  11901. "description": "明细",
  11902. "type": "array",
  11903. "items": {
  11904. "$ref": "#/definitions/erms3.SoptContractDetail"
  11905. }
  11906. },
  11907. "orimargin": {
  11908. "description": "初始保证金",
  11909. "type": "number"
  11910. },
  11911. "remark": {
  11912. "description": "备注",
  11913. "type": "string"
  11914. },
  11915. "signdate": {
  11916. "description": "签订日期",
  11917. "type": "string"
  11918. }
  11919. }
  11920. },
  11921. "erms3.AddSpotContractApplyRsp": {
  11922. "type": "object",
  11923. "required": [
  11924. "contractno"
  11925. ],
  11926. "properties": {
  11927. "contractno": {
  11928. "description": "现货合同编号",
  11929. "type": "string"
  11930. },
  11931. "spotcontractid": {
  11932. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11933. "type": "integer"
  11934. }
  11935. }
  11936. },
  11937. "erms3.AddUserInfoApplyReq": {
  11938. "type": "object",
  11939. "required": [
  11940. "userid"
  11941. ],
  11942. "properties": {
  11943. "accountid": {
  11944. "description": "交易系统帐号Id (加密存储)",
  11945. "type": "integer"
  11946. },
  11947. "areacode": {
  11948. "description": "机构代码",
  11949. "type": "string"
  11950. },
  11951. "areaid": {
  11952. "description": "机构Id",
  11953. "type": "integer"
  11954. },
  11955. "attachment1": {
  11956. "description": "附件1",
  11957. "type": "string"
  11958. },
  11959. "attachment2": {
  11960. "description": "附件2",
  11961. "type": "string"
  11962. },
  11963. "attachment3": {
  11964. "description": "附件3",
  11965. "type": "string"
  11966. },
  11967. "attachment4": {
  11968. "description": "附件4",
  11969. "type": "string"
  11970. },
  11971. "attachment5": {
  11972. "description": "附件5",
  11973. "type": "string"
  11974. },
  11975. "auditedby": {
  11976. "description": "审核人",
  11977. "type": "string"
  11978. },
  11979. "auditime": {
  11980. "description": "审核时间",
  11981. "type": "string"
  11982. },
  11983. "bankaccount": {
  11984. "description": "银行帐号 (加密存储)",
  11985. "type": "string"
  11986. },
  11987. "bankaccountname": {
  11988. "description": "收款人名称",
  11989. "type": "string"
  11990. },
  11991. "bankcardbackphotourl": {
  11992. "description": "银行卡背面照地址",
  11993. "type": "string"
  11994. },
  11995. "bankcardfrontphotourl": {
  11996. "description": "银行卡正面照地址",
  11997. "type": "string"
  11998. },
  11999. "bankid": {
  12000. "description": "银行编码",
  12001. "type": "string"
  12002. },
  12003. "bankname": {
  12004. "description": "银行名称",
  12005. "type": "string"
  12006. },
  12007. "bankpictureurl": {
  12008. "description": "银行卡正面地址",
  12009. "type": "string"
  12010. },
  12011. "biznature": {
  12012. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12013. "type": "integer"
  12014. },
  12015. "bizscope": {
  12016. "description": "企业经营范围(企业)",
  12017. "type": "string"
  12018. },
  12019. "biztype": {
  12020. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12021. "type": "integer"
  12022. },
  12023. "brokerid": {
  12024. "description": "经纪人ID(加密存储)",
  12025. "type": "string"
  12026. },
  12027. "cardaddress": {
  12028. "description": "证件地址 (加密存储)",
  12029. "type": "string"
  12030. },
  12031. "cardbackphotourl": {
  12032. "description": "背面证件照地址",
  12033. "type": "string"
  12034. },
  12035. "cardfrontphotourl": {
  12036. "description": "正面证件照地址",
  12037. "type": "string"
  12038. },
  12039. "cardnum": {
  12040. "description": "证件号码 (加密存储)",
  12041. "type": "string"
  12042. },
  12043. "cardtype": {
  12044. "description": "证件类型",
  12045. "type": "integer"
  12046. },
  12047. "cityid": {
  12048. "description": "市",
  12049. "type": "integer"
  12050. },
  12051. "company": {
  12052. "description": "公司(个人)",
  12053. "type": "string"
  12054. },
  12055. "contactcardbackphotourl": {
  12056. "description": "联系人证件背面图片地址",
  12057. "type": "string"
  12058. },
  12059. "contactcardfrontphotourl": {
  12060. "description": "联系人证件正面图片地址",
  12061. "type": "string"
  12062. },
  12063. "contactname": {
  12064. "description": "联系人",
  12065. "type": "string"
  12066. },
  12067. "countryid": {
  12068. "description": "国家",
  12069. "type": "integer"
  12070. },
  12071. "createtime": {
  12072. "description": "开户申请时间",
  12073. "type": "string"
  12074. },
  12075. "cusbankid": {
  12076. "description": "签约类型",
  12077. "type": "string"
  12078. },
  12079. "cusbankname": {
  12080. "description": "签约类型名称",
  12081. "type": "string"
  12082. },
  12083. "customername": {
  12084. "description": "客户名称(企业名称)",
  12085. "type": "string"
  12086. },
  12087. "districtid": {
  12088. "description": "地区",
  12089. "type": "integer"
  12090. },
  12091. "email": {
  12092. "description": "Email地址(加密存储)",
  12093. "type": "string"
  12094. },
  12095. "halfbodyphotourl": {
  12096. "description": "半身照地址",
  12097. "type": "string"
  12098. },
  12099. "headurl": {
  12100. "description": "头像地址",
  12101. "type": "string"
  12102. },
  12103. "ipaddress": {
  12104. "description": "IP地址",
  12105. "type": "string"
  12106. },
  12107. "isvalidate": {
  12108. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12109. "type": "string"
  12110. },
  12111. "legalcardbackphotourl": {
  12112. "description": "法人身份证背面照地址",
  12113. "type": "string"
  12114. },
  12115. "legalcardfrontphotourl": {
  12116. "description": "法人身份证正面照地址",
  12117. "type": "string"
  12118. },
  12119. "legalpersonname": {
  12120. "description": "法人姓名(企业)",
  12121. "type": "string"
  12122. },
  12123. "logincode": {
  12124. "description": "登录帐号 (加密存储)",
  12125. "type": "string"
  12126. },
  12127. "memberareaid": {
  12128. "description": "所属会员ID",
  12129. "type": "integer"
  12130. },
  12131. "mobile2": {
  12132. "description": "手机号码[明文-尚志]",
  12133. "type": "string"
  12134. },
  12135. "mobilephone": {
  12136. "description": "手机号码 (加密存储)",
  12137. "type": "string"
  12138. },
  12139. "modifiedby": {
  12140. "description": "修改人帐号",
  12141. "type": "integer"
  12142. },
  12143. "modifiedtime": {
  12144. "description": "修改时间",
  12145. "type": "string"
  12146. },
  12147. "nickname": {
  12148. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12149. "type": "string"
  12150. },
  12151. "openmode": {
  12152. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12153. "type": "integer"
  12154. },
  12155. "otherurl": {
  12156. "description": "其它图片地址[使用分号分隔]",
  12157. "type": "string"
  12158. },
  12159. "postalcode": {
  12160. "description": "邮政编码",
  12161. "type": "string"
  12162. },
  12163. "provinceid": {
  12164. "description": "省",
  12165. "type": "integer"
  12166. },
  12167. "proxystatementurl": {
  12168. "description": "授权委托书",
  12169. "type": "string"
  12170. },
  12171. "qq": {
  12172. "description": "QQ(加密存储",
  12173. "type": "string"
  12174. },
  12175. "referral": {
  12176. "description": "推荐人编码",
  12177. "type": "string"
  12178. },
  12179. "remark": {
  12180. "description": "备注",
  12181. "type": "string"
  12182. },
  12183. "removebeforestatus": {
  12184. "description": "REMOVEBEFORESTATUS",
  12185. "type": "integer"
  12186. },
  12187. "sex": {
  12188. "description": "性别 - 0:女 1:男",
  12189. "type": "integer"
  12190. },
  12191. "signedstatus": {
  12192. "description": "账户一号签签约状态",
  12193. "type": "integer"
  12194. },
  12195. "signpdfurl": {
  12196. "description": "签约pdf文件",
  12197. "type": "string"
  12198. },
  12199. "subbranch": {
  12200. "description": "开户支行",
  12201. "type": "string"
  12202. },
  12203. "telphone": {
  12204. "description": "联系电话(加密存储)",
  12205. "type": "string"
  12206. },
  12207. "userid": {
  12208. "description": "用户ID(自增ID)",
  12209. "type": "integer"
  12210. },
  12211. "userinfotype": {
  12212. "description": "用户信息类型 - 1:个人 2:企业",
  12213. "type": "integer"
  12214. },
  12215. "username": {
  12216. "description": "用户姓名",
  12217. "type": "string"
  12218. },
  12219. "userstate": {
  12220. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12221. "type": "integer"
  12222. },
  12223. "usertype": {
  12224. "description": "用户类型 - 1:投资者 2:机构",
  12225. "type": "integer"
  12226. },
  12227. "videourl": {
  12228. "description": "视频地址",
  12229. "type": "string"
  12230. },
  12231. "wechat": {
  12232. "description": "微信号 (加密存储)",
  12233. "type": "string"
  12234. }
  12235. }
  12236. },
  12237. "erms3.CustomerInfo": {
  12238. "type": "object",
  12239. "required": [
  12240. "userid"
  12241. ],
  12242. "properties": {
  12243. "accountids": {
  12244. "description": "资金账户ID列表",
  12245. "type": "array",
  12246. "items": {
  12247. "type": "integer"
  12248. }
  12249. },
  12250. "customername": {
  12251. "description": "名称(企业名称)",
  12252. "type": "string"
  12253. },
  12254. "mobile": {
  12255. "description": "手机号码",
  12256. "type": "string"
  12257. },
  12258. "userid": {
  12259. "description": "用户ID",
  12260. "type": "integer"
  12261. }
  12262. }
  12263. },
  12264. "erms3.ModifyUserInfoApplyReq": {
  12265. "type": "object",
  12266. "required": [
  12267. "userid"
  12268. ],
  12269. "properties": {
  12270. "accountid": {
  12271. "description": "交易系统帐号Id (加密存储)",
  12272. "type": "integer"
  12273. },
  12274. "areacode": {
  12275. "description": "机构代码",
  12276. "type": "string"
  12277. },
  12278. "areaid": {
  12279. "description": "机构Id",
  12280. "type": "integer"
  12281. },
  12282. "attachment1": {
  12283. "description": "附件1",
  12284. "type": "string"
  12285. },
  12286. "attachment2": {
  12287. "description": "附件2",
  12288. "type": "string"
  12289. },
  12290. "attachment3": {
  12291. "description": "附件3",
  12292. "type": "string"
  12293. },
  12294. "attachment4": {
  12295. "description": "附件4",
  12296. "type": "string"
  12297. },
  12298. "attachment5": {
  12299. "description": "附件5",
  12300. "type": "string"
  12301. },
  12302. "auditedby": {
  12303. "description": "审核人",
  12304. "type": "string"
  12305. },
  12306. "auditime": {
  12307. "description": "审核时间",
  12308. "type": "string"
  12309. },
  12310. "bankaccount": {
  12311. "description": "银行帐号 (加密存储)",
  12312. "type": "string"
  12313. },
  12314. "bankaccountname": {
  12315. "description": "收款人名称",
  12316. "type": "string"
  12317. },
  12318. "bankcardbackphotourl": {
  12319. "description": "银行卡背面照地址",
  12320. "type": "string"
  12321. },
  12322. "bankcardfrontphotourl": {
  12323. "description": "银行卡正面照地址",
  12324. "type": "string"
  12325. },
  12326. "bankid": {
  12327. "description": "银行编码",
  12328. "type": "string"
  12329. },
  12330. "bankname": {
  12331. "description": "银行名称",
  12332. "type": "string"
  12333. },
  12334. "bankpictureurl": {
  12335. "description": "银行卡正面地址",
  12336. "type": "string"
  12337. },
  12338. "biznature": {
  12339. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12340. "type": "integer"
  12341. },
  12342. "bizscope": {
  12343. "description": "企业经营范围(企业)",
  12344. "type": "string"
  12345. },
  12346. "biztype": {
  12347. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12348. "type": "integer"
  12349. },
  12350. "brokerid": {
  12351. "description": "经纪人ID(加密存储)",
  12352. "type": "string"
  12353. },
  12354. "cardaddress": {
  12355. "description": "证件地址 (加密存储)",
  12356. "type": "string"
  12357. },
  12358. "cardbackphotourl": {
  12359. "description": "背面证件照地址",
  12360. "type": "string"
  12361. },
  12362. "cardfrontphotourl": {
  12363. "description": "正面证件照地址",
  12364. "type": "string"
  12365. },
  12366. "cardnum": {
  12367. "description": "证件号码 (加密存储)",
  12368. "type": "string"
  12369. },
  12370. "cardtype": {
  12371. "description": "证件类型",
  12372. "type": "integer"
  12373. },
  12374. "cityid": {
  12375. "description": "市",
  12376. "type": "integer"
  12377. },
  12378. "company": {
  12379. "description": "公司(个人)",
  12380. "type": "string"
  12381. },
  12382. "contactcardbackphotourl": {
  12383. "description": "联系人证件背面图片地址",
  12384. "type": "string"
  12385. },
  12386. "contactcardfrontphotourl": {
  12387. "description": "联系人证件正面图片地址",
  12388. "type": "string"
  12389. },
  12390. "contactname": {
  12391. "description": "联系人",
  12392. "type": "string"
  12393. },
  12394. "countryid": {
  12395. "description": "国家",
  12396. "type": "integer"
  12397. },
  12398. "createtime": {
  12399. "description": "开户申请时间",
  12400. "type": "string"
  12401. },
  12402. "cusbankid": {
  12403. "description": "签约类型",
  12404. "type": "string"
  12405. },
  12406. "cusbankname": {
  12407. "description": "签约类型名称",
  12408. "type": "string"
  12409. },
  12410. "customername": {
  12411. "description": "客户名称(企业名称)",
  12412. "type": "string"
  12413. },
  12414. "districtid": {
  12415. "description": "地区",
  12416. "type": "integer"
  12417. },
  12418. "email": {
  12419. "description": "Email地址(加密存储)",
  12420. "type": "string"
  12421. },
  12422. "halfbodyphotourl": {
  12423. "description": "半身照地址",
  12424. "type": "string"
  12425. },
  12426. "headurl": {
  12427. "description": "头像地址",
  12428. "type": "string"
  12429. },
  12430. "ipaddress": {
  12431. "description": "IP地址",
  12432. "type": "string"
  12433. },
  12434. "isvalidate": {
  12435. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12436. "type": "string"
  12437. },
  12438. "legalcardbackphotourl": {
  12439. "description": "法人身份证背面照地址",
  12440. "type": "string"
  12441. },
  12442. "legalcardfrontphotourl": {
  12443. "description": "法人身份证正面照地址",
  12444. "type": "string"
  12445. },
  12446. "legalpersonname": {
  12447. "description": "法人姓名(企业)",
  12448. "type": "string"
  12449. },
  12450. "logincode": {
  12451. "description": "登录帐号 (加密存储)",
  12452. "type": "string"
  12453. },
  12454. "memberareaid": {
  12455. "description": "所属会员ID",
  12456. "type": "integer"
  12457. },
  12458. "mobile2": {
  12459. "description": "手机号码[明文-尚志]",
  12460. "type": "string"
  12461. },
  12462. "mobilephone": {
  12463. "description": "手机号码 (加密存储)",
  12464. "type": "string"
  12465. },
  12466. "modifiedby": {
  12467. "description": "修改人帐号",
  12468. "type": "integer"
  12469. },
  12470. "modifiedtime": {
  12471. "description": "修改时间",
  12472. "type": "string"
  12473. },
  12474. "nickname": {
  12475. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12476. "type": "string"
  12477. },
  12478. "openmode": {
  12479. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12480. "type": "integer"
  12481. },
  12482. "otherurl": {
  12483. "description": "其它图片地址[使用分号分隔]",
  12484. "type": "string"
  12485. },
  12486. "postalcode": {
  12487. "description": "邮政编码",
  12488. "type": "string"
  12489. },
  12490. "provinceid": {
  12491. "description": "省",
  12492. "type": "integer"
  12493. },
  12494. "proxystatementurl": {
  12495. "description": "授权委托书",
  12496. "type": "string"
  12497. },
  12498. "qq": {
  12499. "description": "QQ(加密存储",
  12500. "type": "string"
  12501. },
  12502. "referral": {
  12503. "description": "推荐人编码",
  12504. "type": "string"
  12505. },
  12506. "remark": {
  12507. "description": "备注",
  12508. "type": "string"
  12509. },
  12510. "removebeforestatus": {
  12511. "description": "REMOVEBEFORESTATUS",
  12512. "type": "integer"
  12513. },
  12514. "sex": {
  12515. "description": "性别 - 0:女 1:男",
  12516. "type": "integer"
  12517. },
  12518. "signedstatus": {
  12519. "description": "账户一号签签约状态",
  12520. "type": "integer"
  12521. },
  12522. "signpdfurl": {
  12523. "description": "签约pdf文件",
  12524. "type": "string"
  12525. },
  12526. "subbranch": {
  12527. "description": "开户支行",
  12528. "type": "string"
  12529. },
  12530. "telphone": {
  12531. "description": "联系电话(加密存储)",
  12532. "type": "string"
  12533. },
  12534. "userid": {
  12535. "description": "用户ID(自增ID)",
  12536. "type": "integer"
  12537. },
  12538. "userinfotype": {
  12539. "description": "用户信息类型 - 1:个人 2:企业",
  12540. "type": "integer"
  12541. },
  12542. "username": {
  12543. "description": "用户姓名",
  12544. "type": "string"
  12545. },
  12546. "userstate": {
  12547. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12548. "type": "integer"
  12549. },
  12550. "usertype": {
  12551. "description": "用户类型 - 1:投资者 2:机构",
  12552. "type": "integer"
  12553. },
  12554. "videourl": {
  12555. "description": "视频地址",
  12556. "type": "string"
  12557. },
  12558. "wechat": {
  12559. "description": "微信号 (加密存储)",
  12560. "type": "string"
  12561. }
  12562. }
  12563. },
  12564. "erms3.QryAuditContractRsp": {
  12565. "type": "object",
  12566. "required": [
  12567. "matchcustomername",
  12568. "spotcontractid"
  12569. ],
  12570. "properties": {
  12571. "accountid": {
  12572. "description": "交易员ID",
  12573. "type": "string"
  12574. },
  12575. "applystatus": {
  12576. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12577. "type": "integer"
  12578. },
  12579. "curdeliveryqty": {
  12580. "description": "未交收量",
  12581. "type": "integer"
  12582. },
  12583. "customername": {
  12584. "description": "采购方ID",
  12585. "type": "string"
  12586. },
  12587. "deliverygoodsid": {
  12588. "description": "品种ID",
  12589. "type": "string"
  12590. },
  12591. "deliveryqty": {
  12592. "description": "交收量",
  12593. "type": "integer"
  12594. },
  12595. "enumdicname": {
  12596. "description": "单位名称",
  12597. "type": "string"
  12598. },
  12599. "matchaccountid": {
  12600. "description": "业务员ID",
  12601. "type": "string"
  12602. },
  12603. "matchcustomername": {
  12604. "description": "销售方ID",
  12605. "type": "string"
  12606. },
  12607. "pricedqty": {
  12608. "description": "定价量",
  12609. "type": "number"
  12610. },
  12611. "signdate": {
  12612. "description": "签订日期",
  12613. "type": "string"
  12614. },
  12615. "spotcontractid": {
  12616. "description": "合同ID",
  12617. "type": "string"
  12618. },
  12619. "totaldqty": {
  12620. "description": "合同量",
  12621. "type": "number"
  12622. },
  12623. "unpricedqty": {
  12624. "description": "未定价量",
  12625. "type": "number"
  12626. },
  12627. "wrstandardname": {
  12628. "description": "商品名称",
  12629. "type": "string"
  12630. }
  12631. }
  12632. },
  12633. "erms3.QryPendingBizRsp": {
  12634. "type": "object",
  12635. "properties": {
  12636. "accountid": {
  12637. "description": "现货账户",
  12638. "type": "string"
  12639. },
  12640. "areaname": {
  12641. "description": "所属部门",
  12642. "type": "string"
  12643. },
  12644. "bizid": {
  12645. "description": "业务ID",
  12646. "type": "string"
  12647. },
  12648. "bizname": {
  12649. "description": "业务名称",
  12650. "type": "string"
  12651. },
  12652. "status": {
  12653. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12654. "type": "integer"
  12655. },
  12656. "type": {
  12657. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12658. "type": "integer"
  12659. }
  12660. }
  12661. },
  12662. "erms3.QueryBusinessInfoRsp": {
  12663. "type": "object",
  12664. "properties": {
  12665. "businessid": {
  12666. "description": "业务ID.",
  12667. "type": "integer"
  12668. },
  12669. "buyamount": {
  12670. "description": "采购额.",
  12671. "type": "number"
  12672. },
  12673. "buyqty": {
  12674. "description": "采购量.",
  12675. "type": "string"
  12676. },
  12677. "futurepl": {
  12678. "description": "期货盈亏.",
  12679. "type": "number"
  12680. },
  12681. "futureqty": {
  12682. "description": "期货敞口.",
  12683. "type": "string"
  12684. },
  12685. "goodsid": {
  12686. "description": "商品名称/商品代码.",
  12687. "type": "string"
  12688. },
  12689. "hedgingqty": {
  12690. "description": "套保量.",
  12691. "type": "string"
  12692. },
  12693. "sellamount": {
  12694. "description": "销售额.",
  12695. "type": "number"
  12696. },
  12697. "sellqty": {
  12698. "description": "销售量.",
  12699. "type": "string"
  12700. },
  12701. "spotmarketvalue": {
  12702. "description": "现货市值.",
  12703. "type": "number"
  12704. },
  12705. "spotpl": {
  12706. "description": "浮动权益.",
  12707. "type": "number"
  12708. },
  12709. "spotqty": {
  12710. "description": "现货量.",
  12711. "type": "string"
  12712. },
  12713. "statu": {
  12714. "description": "状态,0-未结束 1-已结束.",
  12715. "type": "integer"
  12716. },
  12717. "totalpl": {
  12718. "description": "总盈亏.",
  12719. "type": "number"
  12720. },
  12721. "totalqty": {
  12722. "description": "总敞口.",
  12723. "type": "string"
  12724. },
  12725. "type": {
  12726. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12727. "type": "integer"
  12728. }
  12729. }
  12730. },
  12731. "erms3.QuerySpotContractAppleFormRsp": {
  12732. "type": "object",
  12733. "properties": {
  12734. "goodses": {
  12735. "description": "合约列表",
  12736. "type": "array",
  12737. "items": {
  12738. "$ref": "#/definitions/models.GoodsIDAndName"
  12739. }
  12740. },
  12741. "oppositeusers": {
  12742. "description": "对方账号列表",
  12743. "type": "array",
  12744. "items": {
  12745. "$ref": "#/definitions/erms3.CustomerInfo"
  12746. }
  12747. },
  12748. "ouruser": {
  12749. "description": "我方账号",
  12750. "$ref": "#/definitions/erms3.CustomerInfo"
  12751. },
  12752. "warehouseinfos": {
  12753. "description": "仓库信息列表",
  12754. "type": "array",
  12755. "items": {
  12756. "$ref": "#/definitions/models.Warehouseinfo"
  12757. }
  12758. },
  12759. "wrstandards": {
  12760. "description": "仓单标准列表",
  12761. "type": "array",
  12762. "items": {
  12763. "$ref": "#/definitions/models.WRStandardInfo"
  12764. }
  12765. }
  12766. }
  12767. },
  12768. "erms3.QuerySpotContractInfoRsp": {
  12769. "type": "object",
  12770. "properties": {
  12771. "accountid": {
  12772. "description": "表示交易员ID.",
  12773. "type": "integer"
  12774. },
  12775. "curdeliveryqty": {
  12776. "description": "表示未交收量.",
  12777. "type": "number"
  12778. },
  12779. "customername": {
  12780. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12781. "type": "string"
  12782. },
  12783. "deliverygoodsid": {
  12784. "description": "表示品种ID.",
  12785. "type": "string"
  12786. },
  12787. "deliveryqty": {
  12788. "description": "表示交收量.",
  12789. "type": "number"
  12790. },
  12791. "matchaccountid": {
  12792. "description": "表示业务员ID.",
  12793. "type": "integer"
  12794. },
  12795. "matchcustomername": {
  12796. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12797. "type": "string"
  12798. },
  12799. "priceqty": {
  12800. "description": "表示定价量.",
  12801. "type": "number"
  12802. },
  12803. "relatedbizid": {
  12804. "description": "表示业务ID.",
  12805. "type": "string"
  12806. },
  12807. "signdate": {
  12808. "description": "表示签订日期.",
  12809. "type": "string"
  12810. },
  12811. "spotcontractid": {
  12812. "description": "合同ID",
  12813. "type": "string"
  12814. },
  12815. "status": {
  12816. "description": "表示状态,0-履约中 1-已完成.",
  12817. "type": "integer"
  12818. },
  12819. "totalqty": {
  12820. "description": "表示合同量.",
  12821. "type": "number"
  12822. },
  12823. "unpricedqty": {
  12824. "description": "表示未定价量.",
  12825. "type": "number"
  12826. },
  12827. "wrstandardname": {
  12828. "description": "表示商品ID.",
  12829. "type": "string"
  12830. }
  12831. }
  12832. },
  12833. "erms3.QueryUserInfoAppliesRsp": {
  12834. "type": "object",
  12835. "required": [
  12836. "userid"
  12837. ],
  12838. "properties": {
  12839. "biznature": {
  12840. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12841. "type": "integer"
  12842. },
  12843. "contactname": {
  12844. "description": "联系人",
  12845. "type": "string"
  12846. },
  12847. "createtime": {
  12848. "description": "开户申请时间",
  12849. "type": "string"
  12850. },
  12851. "userid": {
  12852. "description": "用户ID(自增ID)",
  12853. "type": "integer"
  12854. },
  12855. "userinfotype": {
  12856. "description": "用户信息类型 - 1:个人 2:企业",
  12857. "type": "integer"
  12858. },
  12859. "username": {
  12860. "description": "用户姓名",
  12861. "type": "string"
  12862. },
  12863. "userstate": {
  12864. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12865. "type": "integer"
  12866. }
  12867. }
  12868. },
  12869. "erms3.QueryUserInfosRsp": {
  12870. "type": "object",
  12871. "required": [
  12872. "userid"
  12873. ],
  12874. "properties": {
  12875. "biznature": {
  12876. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12877. "type": "integer"
  12878. },
  12879. "contactname": {
  12880. "description": "联系人",
  12881. "type": "string"
  12882. },
  12883. "customername": {
  12884. "description": "客户名称(企业名称)",
  12885. "type": "string"
  12886. },
  12887. "userid": {
  12888. "description": "用户ID",
  12889. "type": "integer"
  12890. },
  12891. "userinfotype": {
  12892. "description": "用户信息类型 - 1:个人 2:企业",
  12893. "type": "integer"
  12894. },
  12895. "userstatus": {
  12896. "description": "用户状态 - 1:正常 2:注销",
  12897. "type": "integer"
  12898. }
  12899. }
  12900. },
  12901. "erms3.SoptContractDetail": {
  12902. "type": "object",
  12903. "required": [
  12904. "deliverygoodsid",
  12905. "producttype",
  12906. "unitname",
  12907. "warehouseid",
  12908. "wrstandardid",
  12909. "wrstandardname"
  12910. ],
  12911. "properties": {
  12912. "deliverygoodsdesc": {
  12913. "description": "现货品种说明",
  12914. "type": "string"
  12915. },
  12916. "deliverygoodsid": {
  12917. "description": "现货品种ID",
  12918. "type": "integer"
  12919. },
  12920. "deliverygoodsname": {
  12921. "description": "现货品种名称",
  12922. "type": "string"
  12923. },
  12924. "pointdesc": {
  12925. "description": "点价描述",
  12926. "type": "string"
  12927. },
  12928. "producttype": {
  12929. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12930. "type": "integer"
  12931. },
  12932. "producttypename": {
  12933. "description": "产品类型名称",
  12934. "type": "string"
  12935. },
  12936. "spotPointOrderVoList": {
  12937. "description": "点价列表",
  12938. "type": "array",
  12939. "items": {
  12940. "$ref": "#/definitions/erms3.SpotPointOrder"
  12941. }
  12942. },
  12943. "spotPriceOrderList": {
  12944. "description": "定价列表",
  12945. "type": "array",
  12946. "items": {
  12947. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12948. }
  12949. },
  12950. "unitname": {
  12951. "description": "单位名称",
  12952. "type": "string"
  12953. },
  12954. "warehouseid": {
  12955. "description": "仓库ID",
  12956. "type": "integer"
  12957. },
  12958. "warehousename": {
  12959. "description": "仓库名称",
  12960. "type": "string"
  12961. },
  12962. "wrstandardid": {
  12963. "description": "交易标的ID",
  12964. "type": "integer"
  12965. },
  12966. "wrstandardname": {
  12967. "description": "交易标的名称",
  12968. "type": "string"
  12969. }
  12970. }
  12971. },
  12972. "erms3.SpotPointOrder": {
  12973. "type": "object",
  12974. "required": [
  12975. "basic",
  12976. "goodsid",
  12977. "qty"
  12978. ],
  12979. "properties": {
  12980. "basic": {
  12981. "description": "基差",
  12982. "type": "number"
  12983. },
  12984. "deliveryenddate": {
  12985. "description": "交收结束日期",
  12986. "type": "string"
  12987. },
  12988. "deliverystartdate": {
  12989. "description": "交收开始日期",
  12990. "type": "string"
  12991. },
  12992. "enddate": {
  12993. "description": "点价结束日期",
  12994. "type": "string"
  12995. },
  12996. "goodsid": {
  12997. "description": "商品ID",
  12998. "type": "integer"
  12999. },
  13000. "goodsname": {
  13001. "description": "商品名称",
  13002. "type": "string"
  13003. },
  13004. "qty": {
  13005. "description": "数量",
  13006. "type": "number"
  13007. },
  13008. "startdate": {
  13009. "description": "点价开始日期",
  13010. "type": "string"
  13011. }
  13012. }
  13013. },
  13014. "erms3.SpotPriceOrder": {
  13015. "type": "object",
  13016. "required": [
  13017. "amount",
  13018. "price",
  13019. "qty"
  13020. ],
  13021. "properties": {
  13022. "amount": {
  13023. "description": "金额",
  13024. "type": "number"
  13025. },
  13026. "deliveryenddate": {
  13027. "description": "交收结束日期",
  13028. "type": "string"
  13029. },
  13030. "deliverystartdate": {
  13031. "description": "交收开始日期",
  13032. "type": "string"
  13033. },
  13034. "price": {
  13035. "description": "价格",
  13036. "type": "number"
  13037. },
  13038. "qty": {
  13039. "description": "数量",
  13040. "type": "number"
  13041. }
  13042. }
  13043. },
  13044. "hsby.GetHsbyMyCountRsp": {
  13045. "type": "object",
  13046. "properties": {
  13047. "myCouponCount": {
  13048. "description": "我的优惠卷数量",
  13049. "type": "integer"
  13050. },
  13051. "myOrderDetailListingCount": {
  13052. "description": "我的订单求购中数量",
  13053. "type": "integer"
  13054. },
  13055. "myOrderDetailPreCount": {
  13056. "description": "我的订单抢购中数量",
  13057. "type": "integer"
  13058. },
  13059. "myPackageUnReceiveCount": {
  13060. "description": "我的包裹待收货数量",
  13061. "type": "integer"
  13062. },
  13063. "myPackageUnSendCount": {
  13064. "description": "我的包裹待发货数量",
  13065. "type": "integer"
  13066. },
  13067. "myPayOrderCount": {
  13068. "description": "我的订单待付款数量",
  13069. "type": "integer"
  13070. }
  13071. }
  13072. },
  13073. "hsby.QueryProvincesAndCitiesRsp": {
  13074. "type": "object",
  13075. "properties": {
  13076. "cities": {
  13077. "description": "市",
  13078. "type": "array",
  13079. "items": {
  13080. "$ref": "#/definitions/models.Division"
  13081. }
  13082. },
  13083. "province": {
  13084. "description": "省",
  13085. "$ref": "#/definitions/models.Division"
  13086. }
  13087. }
  13088. },
  13089. "models.Clientfixedadconfig": {
  13090. "type": "object",
  13091. "required": [
  13092. "adsort",
  13093. "adtype"
  13094. ],
  13095. "properties": {
  13096. "adsort": {
  13097. "description": "排序",
  13098. "type": "integer"
  13099. },
  13100. "adtype": {
  13101. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13102. "type": "integer"
  13103. },
  13104. "areauserid": {
  13105. "description": "所属机构ID",
  13106. "type": "integer"
  13107. },
  13108. "createdate": {
  13109. "description": "创建时间",
  13110. "type": "string"
  13111. },
  13112. "creatorid": {
  13113. "description": "创建人",
  13114. "type": "integer"
  13115. },
  13116. "imagepath": {
  13117. "description": "图片",
  13118. "type": "string"
  13119. },
  13120. "isshow": {
  13121. "description": "是否展示 - 0:不展示 1:展示",
  13122. "type": "integer"
  13123. },
  13124. "modifierid": {
  13125. "description": "操作人",
  13126. "type": "integer"
  13127. },
  13128. "recsize": {
  13129. "description": "推荐尺寸",
  13130. "type": "string"
  13131. },
  13132. "title": {
  13133. "description": "标题",
  13134. "type": "string"
  13135. },
  13136. "updatedate": {
  13137. "description": "更新时间",
  13138. "type": "string"
  13139. },
  13140. "urlcontent": {
  13141. "description": "链接(地址或商品ID)",
  13142. "type": "string"
  13143. },
  13144. "urltype": {
  13145. "description": "链接类型 - 1:直接地址 2:商品ID",
  13146. "type": "integer"
  13147. }
  13148. }
  13149. },
  13150. "models.Division": {
  13151. "type": "object",
  13152. "required": [
  13153. "autoid",
  13154. "divisioncode"
  13155. ],
  13156. "properties": {
  13157. "autoid": {
  13158. "description": "自增ID",
  13159. "type": "integer"
  13160. },
  13161. "divisioncode": {
  13162. "description": "行政代码",
  13163. "type": "string"
  13164. },
  13165. "divisionlevel": {
  13166. "description": "行政级别",
  13167. "type": "string"
  13168. },
  13169. "divisionname": {
  13170. "description": "行政名称",
  13171. "type": "string"
  13172. },
  13173. "modifierid": {
  13174. "description": "修改人",
  13175. "type": "integer"
  13176. },
  13177. "modifytime": {
  13178. "description": "修改时间",
  13179. "type": "string"
  13180. },
  13181. "parentcode": {
  13182. "description": "上级行政代码",
  13183. "type": "string"
  13184. },
  13185. "pathname": {
  13186. "description": "路径名称",
  13187. "type": "string"
  13188. },
  13189. "postcode": {
  13190. "description": "邮政编码",
  13191. "type": "string"
  13192. },
  13193. "separablename": {
  13194. "description": "可拆分的全称",
  13195. "type": "string"
  13196. },
  13197. "shortcode": {
  13198. "description": "地区简码",
  13199. "type": "string"
  13200. }
  13201. }
  13202. },
  13203. "models.Enumdicitem": {
  13204. "type": "object",
  13205. "required": [
  13206. "autoid",
  13207. "enumdiccode",
  13208. "enumdicid",
  13209. "enumitemname"
  13210. ],
  13211. "properties": {
  13212. "autoid": {
  13213. "description": "自增ID",
  13214. "type": "integer"
  13215. },
  13216. "bankmappedvalue": {
  13217. "description": "银行服务对应值",
  13218. "type": "string"
  13219. },
  13220. "enumdiccode": {
  13221. "description": "所属枚举代码",
  13222. "type": "string"
  13223. },
  13224. "enumdicid": {
  13225. "description": "所属枚举ID",
  13226. "type": "integer"
  13227. },
  13228. "enumdicname": {
  13229. "description": "枚举项名称",
  13230. "type": "string"
  13231. },
  13232. "enumitemname": {
  13233. "description": "枚举项值",
  13234. "type": "integer"
  13235. },
  13236. "enumitemstatus": {
  13237. "description": "枚举项状态 - 1.启用 2.不启用",
  13238. "type": "integer"
  13239. },
  13240. "enumitemvalue": {
  13241. "description": "通用值 - [币种通用简写]",
  13242. "type": "string"
  13243. },
  13244. "param1": {
  13245. "description": "参数1[币种:币种小数位]",
  13246. "type": "string"
  13247. },
  13248. "param2": {
  13249. "description": "参数1[币种:币种显示单位]",
  13250. "type": "string"
  13251. },
  13252. "remark": {
  13253. "description": "备注",
  13254. "type": "string"
  13255. }
  13256. }
  13257. },
  13258. "models.ErmcpAreaStock": {
  13259. "type": "object",
  13260. "properties": {
  13261. "brandname": {
  13262. "description": "品牌名称",
  13263. "type": "string"
  13264. },
  13265. "curstock": {
  13266. "description": "期末库存量(今日量)",
  13267. "type": "number"
  13268. },
  13269. "deliverygoodsid": {
  13270. "description": "现货品种ID",
  13271. "type": "integer"
  13272. },
  13273. "enumdicname": {
  13274. "description": "单位名称",
  13275. "type": "string"
  13276. },
  13277. "modelname": {
  13278. "description": "型号名称",
  13279. "type": "string"
  13280. },
  13281. "oristock": {
  13282. "description": "期初库存量(昨日量)",
  13283. "type": "number"
  13284. },
  13285. "spotgoodsbrandid": {
  13286. "description": "现货品牌ID",
  13287. "type": "integer"
  13288. },
  13289. "spotgoodsmodelid": {
  13290. "description": "现货型号ID",
  13291. "type": "integer"
  13292. },
  13293. "todaybuyinqty": {
  13294. "description": "今日采购入库量",
  13295. "type": "number"
  13296. },
  13297. "todayproduceinqty": {
  13298. "description": "今日生产入库量",
  13299. "type": "number"
  13300. },
  13301. "todayproduceoutqty": {
  13302. "description": "今日生产出库量",
  13303. "type": "number"
  13304. },
  13305. "todayselloutqty": {
  13306. "description": "今日销售出库量",
  13307. "type": "number"
  13308. },
  13309. "unitid": {
  13310. "description": "单位id",
  13311. "type": "integer"
  13312. },
  13313. "updatetime": {
  13314. "description": "更新时间",
  13315. "type": "string"
  13316. },
  13317. "userid": {
  13318. "description": "机构ID",
  13319. "type": "integer"
  13320. },
  13321. "username": {
  13322. "description": "机构名称",
  13323. "type": "string"
  13324. },
  13325. "warehousecode": {
  13326. "description": "仓库代码",
  13327. "type": "string"
  13328. },
  13329. "warehouseinfoid": {
  13330. "description": "仓库ID",
  13331. "type": "string"
  13332. },
  13333. "warehousename": {
  13334. "description": "仓库名称",
  13335. "type": "string"
  13336. },
  13337. "warehousetype": {
  13338. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13339. "type": "integer"
  13340. },
  13341. "wrstandardcode": {
  13342. "description": "现货商品代码",
  13343. "type": "string"
  13344. },
  13345. "wrstandardid": {
  13346. "description": "现货商品ID",
  13347. "type": "string"
  13348. },
  13349. "wrstandardname": {
  13350. "description": "现货商品名称",
  13351. "type": "string"
  13352. }
  13353. }
  13354. },
  13355. "models.ErmcpAreaStockApply": {
  13356. "type": "object",
  13357. "properties": {
  13358. "applyid": {
  13359. "description": "申请人",
  13360. "type": "integer"
  13361. },
  13362. "applyname": {
  13363. "description": "申请人名称",
  13364. "type": "string"
  13365. },
  13366. "applyremark": {
  13367. "description": "申请备注",
  13368. "type": "string"
  13369. },
  13370. "applysrc": {
  13371. "description": "申请来源 - 1:管理端 2:终端",
  13372. "type": "integer"
  13373. },
  13374. "applystatus": {
  13375. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13376. "type": "integer"
  13377. },
  13378. "applytime": {
  13379. "description": "申请时间",
  13380. "type": "string"
  13381. },
  13382. "auditid": {
  13383. "description": "审核人",
  13384. "type": "integer"
  13385. },
  13386. "auditname": {
  13387. "description": "审核人名称",
  13388. "type": "string"
  13389. },
  13390. "auditremark": {
  13391. "description": "审核备注",
  13392. "type": "string"
  13393. },
  13394. "auditsrc": {
  13395. "description": "审核来源 - 1:管理端 2:终端",
  13396. "type": "integer"
  13397. },
  13398. "audittime": {
  13399. "description": "审核时间",
  13400. "type": "string"
  13401. },
  13402. "audittradedate": {
  13403. "description": "审核交易日(yyyyMMdd)",
  13404. "type": "string"
  13405. },
  13406. "brandname": {
  13407. "description": "品牌名称",
  13408. "type": "string"
  13409. },
  13410. "buyuserid": {
  13411. "description": "采购方userid",
  13412. "type": "integer"
  13413. },
  13414. "buyusername": {
  13415. "description": "采购方名称",
  13416. "type": "string"
  13417. },
  13418. "contractno": {
  13419. "description": "合同编号",
  13420. "type": "string"
  13421. },
  13422. "contractqty": {
  13423. "description": "合同量",
  13424. "type": "number"
  13425. },
  13426. "contracttype": {
  13427. "description": "现货合同类型 - 1:采购 -1:销售",
  13428. "type": "integer"
  13429. },
  13430. "deliverygoodsid": {
  13431. "description": "现货品种ID",
  13432. "type": "integer"
  13433. },
  13434. "enumdicname": {
  13435. "description": "现货商品单位名称",
  13436. "type": "string"
  13437. },
  13438. "inoutapplyid": {
  13439. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13440. "type": "string"
  13441. },
  13442. "inouttype": {
  13443. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13444. "type": "integer"
  13445. },
  13446. "modelname": {
  13447. "description": "型号名称",
  13448. "type": "string"
  13449. },
  13450. "pricetype": {
  13451. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13452. "type": "integer"
  13453. },
  13454. "qty": {
  13455. "description": "数量",
  13456. "type": "number"
  13457. },
  13458. "selluserid": {
  13459. "description": "销售方userid",
  13460. "type": "integer"
  13461. },
  13462. "sellusername": {
  13463. "description": "销售方名称",
  13464. "type": "string"
  13465. },
  13466. "spotcontractid": {
  13467. "description": "关联现货合同ID",
  13468. "type": "string"
  13469. },
  13470. "spotgoodsbrandid": {
  13471. "description": "现货品牌ID",
  13472. "type": "integer"
  13473. },
  13474. "spotgoodsmodelid": {
  13475. "description": "现货型号ID",
  13476. "type": "integer"
  13477. },
  13478. "unitid": {
  13479. "description": "单位id",
  13480. "type": "integer"
  13481. },
  13482. "userid": {
  13483. "description": "机构ID",
  13484. "type": "integer"
  13485. },
  13486. "warehousecode": {
  13487. "description": "仓库代码",
  13488. "type": "string"
  13489. },
  13490. "warehouseinfoid": {
  13491. "description": "现货仓库ID",
  13492. "type": "string"
  13493. },
  13494. "warehousename": {
  13495. "description": "仓库名称",
  13496. "type": "string"
  13497. },
  13498. "warehousetype": {
  13499. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13500. "type": "integer"
  13501. },
  13502. "wrstandardcode": {
  13503. "description": "现货商品代码",
  13504. "type": "string"
  13505. },
  13506. "wrstandardid": {
  13507. "description": "现货商品ID",
  13508. "type": "string"
  13509. },
  13510. "wrstandardname": {
  13511. "description": "现货商品名称",
  13512. "type": "string"
  13513. }
  13514. }
  13515. },
  13516. "models.ErmcpAreaStockReport": {
  13517. "type": "object",
  13518. "properties": {
  13519. "brandname": {
  13520. "description": "品牌名称",
  13521. "type": "string"
  13522. },
  13523. "curstock": {
  13524. "description": "期末库存量",
  13525. "type": "number"
  13526. },
  13527. "deliverygoodsid": {
  13528. "description": "现货品种ID",
  13529. "type": "integer"
  13530. },
  13531. "enumdicname": {
  13532. "description": "单位名称",
  13533. "type": "string"
  13534. },
  13535. "modelname": {
  13536. "description": "型号名称",
  13537. "type": "string"
  13538. },
  13539. "oristock": {
  13540. "description": "期初库存量",
  13541. "type": "number"
  13542. },
  13543. "spotgoodsbrandid": {
  13544. "description": "现货品牌ID",
  13545. "type": "integer"
  13546. },
  13547. "spotgoodsmodelid": {
  13548. "description": "现货型号ID",
  13549. "type": "integer"
  13550. },
  13551. "todaybuyinqty": {
  13552. "description": "今日采购入库量",
  13553. "type": "number"
  13554. },
  13555. "todayproduceinqty": {
  13556. "description": "今日生产入库量",
  13557. "type": "number"
  13558. },
  13559. "todayproduceoutqty": {
  13560. "description": "今日生产出库量",
  13561. "type": "number"
  13562. },
  13563. "todayselloutqty": {
  13564. "description": "今日销售出库量",
  13565. "type": "number"
  13566. },
  13567. "unitid": {
  13568. "description": "单位id",
  13569. "type": "integer"
  13570. },
  13571. "updatetime": {
  13572. "description": "更新时间",
  13573. "type": "string"
  13574. },
  13575. "userid": {
  13576. "description": "机构ID",
  13577. "type": "integer"
  13578. },
  13579. "username": {
  13580. "description": "机构名称",
  13581. "type": "string"
  13582. },
  13583. "warehousecode": {
  13584. "description": "仓库代码",
  13585. "type": "string"
  13586. },
  13587. "warehouseinfoid": {
  13588. "description": "仓库ID",
  13589. "type": "string"
  13590. },
  13591. "warehousename": {
  13592. "description": "仓库名称",
  13593. "type": "string"
  13594. },
  13595. "warehousetype": {
  13596. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13597. "type": "integer"
  13598. },
  13599. "wrstandardcode": {
  13600. "description": "现货商品代码",
  13601. "type": "string"
  13602. },
  13603. "wrstandardid": {
  13604. "description": "现货商品ID",
  13605. "type": "string"
  13606. },
  13607. "wrstandardname": {
  13608. "description": "现货商品名称",
  13609. "type": "string"
  13610. }
  13611. }
  13612. },
  13613. "models.ErmcpGoodsBrand": {
  13614. "type": "object",
  13615. "properties": {
  13616. "areauserid": {
  13617. "description": "所属机构",
  13618. "type": "integer"
  13619. },
  13620. "brandid": {
  13621. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13622. "type": "integer"
  13623. },
  13624. "brandname": {
  13625. "description": "品牌名称",
  13626. "type": "string"
  13627. },
  13628. "createtime": {
  13629. "description": "创建时间",
  13630. "type": "string"
  13631. },
  13632. "creatorid": {
  13633. "description": "创建人",
  13634. "type": "integer"
  13635. },
  13636. "creatorsrc": {
  13637. "description": "创建人来源 - 1:管理端 2:终端",
  13638. "type": "integer"
  13639. },
  13640. "deliverygoodsid": {
  13641. "description": "现货品种ID",
  13642. "type": "integer"
  13643. },
  13644. "isvalid": {
  13645. "description": "是否有效 - 0:无效 1:有效",
  13646. "type": "integer"
  13647. },
  13648. "updatetime": {
  13649. "description": "更新时间",
  13650. "type": "string"
  13651. },
  13652. "updatorid": {
  13653. "description": "更新人",
  13654. "type": "integer"
  13655. },
  13656. "updatorsrc": {
  13657. "description": "更新人来源 - 1:管理端 2:终端",
  13658. "type": "integer"
  13659. },
  13660. "wrstandardid": {
  13661. "description": "现货商品ID",
  13662. "type": "integer"
  13663. }
  13664. }
  13665. },
  13666. "models.ErmcpGoodsModel": {
  13667. "type": "object",
  13668. "properties": {
  13669. "areauserid": {
  13670. "description": "所属机构",
  13671. "type": "integer"
  13672. },
  13673. "createtime": {
  13674. "description": "创建时间",
  13675. "type": "string"
  13676. },
  13677. "creatorid": {
  13678. "description": "创建人",
  13679. "type": "integer"
  13680. },
  13681. "creatorsrc": {
  13682. "description": "创建人来源 - 1:管理端 2:终端",
  13683. "type": "integer"
  13684. },
  13685. "deliverygoodsid": {
  13686. "description": "现货品种ID",
  13687. "type": "integer"
  13688. },
  13689. "isvalid": {
  13690. "description": "是否有效 - 0:无效 1:有效",
  13691. "type": "integer"
  13692. },
  13693. "modelid": {
  13694. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13695. "type": "integer"
  13696. },
  13697. "modelname": {
  13698. "description": "型号名称",
  13699. "type": "string"
  13700. },
  13701. "updatetime": {
  13702. "description": "更新时间",
  13703. "type": "string"
  13704. },
  13705. "updatorid": {
  13706. "description": "更新人",
  13707. "type": "integer"
  13708. },
  13709. "updatorsrc": {
  13710. "description": "更新人来源 - 1:管理端 2:终端",
  13711. "type": "integer"
  13712. },
  13713. "wrstandardid": {
  13714. "description": "现货商品ID",
  13715. "type": "integer"
  13716. }
  13717. }
  13718. },
  13719. "models.ErmcpHisExposure": {
  13720. "type": "object",
  13721. "properties": {
  13722. "needhedgeexposoure": {
  13723. "description": "应套保敞口",
  13724. "type": "number"
  13725. },
  13726. "reckondate": {
  13727. "description": "日照时期(yyyyMMdd)",
  13728. "type": "string"
  13729. },
  13730. "totalexposure": {
  13731. "description": "总敞口",
  13732. "type": "number"
  13733. }
  13734. }
  13735. },
  13736. "models.ErmcpMiddleGoodsModel": {
  13737. "type": "object",
  13738. "properties": {
  13739. "areauserid": {
  13740. "description": "机构用户ID",
  13741. "type": "integer"
  13742. },
  13743. "createtime": {
  13744. "description": "修改时间",
  13745. "type": "string"
  13746. },
  13747. "enumdicname": {
  13748. "description": "单位名称",
  13749. "type": "string"
  13750. },
  13751. "evaluateratio": {
  13752. "description": "估价系数",
  13753. "type": "number"
  13754. },
  13755. "goodsgroupid": {
  13756. "description": "关联期货品种ID",
  13757. "type": "integer"
  13758. },
  13759. "isvalid": {
  13760. "description": "状态 0-无效(停用) 1-有效(正常)",
  13761. "type": "integer"
  13762. },
  13763. "middlegoodscode": {
  13764. "description": "套保品种代码",
  13765. "type": "string"
  13766. },
  13767. "middlegoodsid": {
  13768. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13769. "type": "integer"
  13770. },
  13771. "middlegoodsname": {
  13772. "description": "套保品种名称",
  13773. "type": "string"
  13774. },
  13775. "modifytime": {
  13776. "description": "修改时间",
  13777. "type": "string"
  13778. },
  13779. "needhedgeratio": {
  13780. "description": "套保比率",
  13781. "type": "number"
  13782. },
  13783. "qtydecimalplace": {
  13784. "description": "数量小数位",
  13785. "type": "integer"
  13786. },
  13787. "relatedgoodsid": {
  13788. "description": "关联交易商品ID",
  13789. "type": "integer"
  13790. },
  13791. "relatedgoodstype": {
  13792. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13793. "type": "integer"
  13794. },
  13795. "remark": {
  13796. "description": "备注",
  13797. "type": "string"
  13798. }
  13799. }
  13800. },
  13801. "models.ErmcpReportDayFR": {
  13802. "type": "object",
  13803. "properties": {
  13804. "areauserid": {
  13805. "description": "所属机构",
  13806. "type": "integer"
  13807. },
  13808. "collectinvoiceamount": {
  13809. "description": "今日开票金额",
  13810. "type": "number"
  13811. },
  13812. "collectinvoicecount": {
  13813. "description": "今日开票笔数",
  13814. "type": "integer"
  13815. },
  13816. "collectmoneyamount": {
  13817. "description": "今日收款金额",
  13818. "type": "number"
  13819. },
  13820. "collectmoneycount": {
  13821. "description": "今日收款笔数",
  13822. "type": "integer"
  13823. },
  13824. "payinvoiceamount": {
  13825. "description": "今日收票金额",
  13826. "type": "number"
  13827. },
  13828. "payinvoicecount": {
  13829. "description": "今日收票笔数",
  13830. "type": "integer"
  13831. },
  13832. "paymoneyamount": {
  13833. "description": "今日付款金额",
  13834. "type": "number"
  13835. },
  13836. "paymoneycount": {
  13837. "description": "今日付款笔数",
  13838. "type": "integer"
  13839. },
  13840. "reckondate": {
  13841. "description": "日照时期(yyyyMMdd)",
  13842. "type": "string"
  13843. },
  13844. "updatetime": {
  13845. "description": "更新时间",
  13846. "type": "string"
  13847. }
  13848. }
  13849. },
  13850. "models.ErmcpWrstandard": {
  13851. "type": "object",
  13852. "properties": {
  13853. "areauserid": {
  13854. "description": "所属机构",
  13855. "type": "integer"
  13856. },
  13857. "createtime": {
  13858. "description": "创建时间",
  13859. "type": "string"
  13860. },
  13861. "creatorid": {
  13862. "description": "创建人",
  13863. "type": "integer"
  13864. },
  13865. "deliverygoodsid": {
  13866. "description": "品种ID",
  13867. "type": "integer"
  13868. },
  13869. "enumdicname": {
  13870. "description": "单位名称",
  13871. "type": "string"
  13872. },
  13873. "isvalid": {
  13874. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13875. "type": "integer"
  13876. },
  13877. "minivalue": {
  13878. "description": "最小变动值",
  13879. "type": "integer"
  13880. },
  13881. "minivaluedp": {
  13882. "description": "最小变动值小数位",
  13883. "type": "integer"
  13884. },
  13885. "realminivalue": {
  13886. "description": "实际最小变动值",
  13887. "type": "integer"
  13888. },
  13889. "realminivaluedp": {
  13890. "description": "实际最小变动值小数位",
  13891. "type": "integer"
  13892. },
  13893. "remark": {
  13894. "description": "备注",
  13895. "type": "string"
  13896. },
  13897. "unitid": {
  13898. "description": "单位ID",
  13899. "type": "integer"
  13900. },
  13901. "updatetime": {
  13902. "description": "更新时间",
  13903. "type": "string"
  13904. },
  13905. "wrstandardcode": {
  13906. "description": "现货商品代码",
  13907. "type": "string"
  13908. },
  13909. "wrstandardid": {
  13910. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13911. "type": "integer"
  13912. },
  13913. "wrstandardname": {
  13914. "description": "现货商品名称",
  13915. "type": "string"
  13916. }
  13917. }
  13918. },
  13919. "models.Externalexchange": {
  13920. "type": "object",
  13921. "required": [
  13922. "autoid"
  13923. ],
  13924. "properties": {
  13925. "autoid": {
  13926. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13927. "type": "integer"
  13928. },
  13929. "exchangefullname": {
  13930. "description": "外部交易所全称",
  13931. "type": "string"
  13932. },
  13933. "exexchangecode": {
  13934. "description": "外部交易所代码",
  13935. "type": "string"
  13936. },
  13937. "exexchangename": {
  13938. "description": "外部交易所名称(简称)",
  13939. "type": "string"
  13940. },
  13941. "ismarketprice": {
  13942. "description": "是否支持市价 - 0:不支持 1:支持",
  13943. "type": "integer"
  13944. },
  13945. "quotegear": {
  13946. "description": "行情档位(1-10)",
  13947. "type": "integer"
  13948. },
  13949. "showbrokerflag": {
  13950. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13951. "type": "integer"
  13952. },
  13953. "updatetime": {
  13954. "description": "更新时间",
  13955. "type": "string"
  13956. }
  13957. }
  13958. },
  13959. "models.Funcmenulist": {
  13960. "type": "object",
  13961. "required": [
  13962. "resourcecode"
  13963. ],
  13964. "properties": {
  13965. "iconame": {
  13966. "description": "菜单图标",
  13967. "type": "string"
  13968. },
  13969. "menutype": {
  13970. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13971. "type": "integer"
  13972. },
  13973. "parentcode": {
  13974. "description": "上级资源代码",
  13975. "type": "string"
  13976. },
  13977. "remark": {
  13978. "description": "备注",
  13979. "type": "string"
  13980. },
  13981. "resourcecode": {
  13982. "description": "资源代码",
  13983. "type": "string"
  13984. },
  13985. "resourcelevel": {
  13986. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13987. "type": "integer"
  13988. },
  13989. "resourcename": {
  13990. "description": "资源名",
  13991. "type": "string"
  13992. },
  13993. "sort": {
  13994. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13995. "type": "integer"
  13996. },
  13997. "url": {
  13998. "description": "URL",
  13999. "type": "string"
  14000. }
  14001. }
  14002. },
  14003. "models.Goods": {
  14004. "type": "object",
  14005. "required": [
  14006. "goodscode",
  14007. "goodsid",
  14008. "goodsname",
  14009. "marketid"
  14010. ],
  14011. "properties": {
  14012. "agreeunit": {
  14013. "description": "合约单位",
  14014. "type": "number"
  14015. },
  14016. "auditaccountid": {
  14017. "description": "审核操作员账号",
  14018. "type": "integer"
  14019. },
  14020. "audittime": {
  14021. "description": "审核时间",
  14022. "type": "string"
  14023. },
  14024. "cancelaccountid": {
  14025. "description": "注销操作员账号",
  14026. "type": "integer"
  14027. },
  14028. "canceltime": {
  14029. "description": "注销时间",
  14030. "type": "string"
  14031. },
  14032. "closepricemode": {
  14033. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14034. "type": "integer"
  14035. },
  14036. "closepriceparam": {
  14037. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  14038. "type": "number"
  14039. },
  14040. "createtime": {
  14041. "description": "创建时间",
  14042. "type": "string"
  14043. },
  14044. "creatorid": {
  14045. "description": "创建人",
  14046. "type": "integer"
  14047. },
  14048. "currencyid": {
  14049. "description": "报价货币ID",
  14050. "type": "integer"
  14051. },
  14052. "cutmode": {
  14053. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  14054. "type": "integer"
  14055. },
  14056. "decimalplace": {
  14057. "description": "报价小数位",
  14058. "type": "integer"
  14059. },
  14060. "delistingdate": {
  14061. "description": "商品退市时间(状态:退市) -- 已作废",
  14062. "type": "string"
  14063. },
  14064. "delistingmode": {
  14065. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  14066. "type": "integer"
  14067. },
  14068. "deliveryflag": {
  14069. "description": "交割标志 - 0:不可交割 1:可交割",
  14070. "type": "integer"
  14071. },
  14072. "forceclosemode": {
  14073. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  14074. "type": "integer"
  14075. },
  14076. "forceclosevalue": {
  14077. "description": "定期强平参数 [收益权]",
  14078. "type": "integer"
  14079. },
  14080. "goodscode": {
  14081. "description": "商品代码(内部)",
  14082. "type": "string"
  14083. },
  14084. "goodscurrencyid": {
  14085. "description": "合约货币ID",
  14086. "type": "integer"
  14087. },
  14088. "goodsgroupid": {
  14089. "description": "所属商品组ID",
  14090. "type": "integer"
  14091. },
  14092. "goodsid": {
  14093. "description": "商品ID(自增ID SEQ_GOODS)",
  14094. "type": "integer"
  14095. },
  14096. "goodsname": {
  14097. "description": "商品名称",
  14098. "type": "string"
  14099. },
  14100. "goodsquotetype": {
  14101. "description": "合约报价类型: 1-直接报价 2-间接报价",
  14102. "type": "integer"
  14103. },
  14104. "goodsstatus": {
  14105. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14106. "type": "integer"
  14107. },
  14108. "goodstradetype": {
  14109. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  14110. "type": "integer"
  14111. },
  14112. "goodunitid": {
  14113. "description": "报价单位ID",
  14114. "type": "integer"
  14115. },
  14116. "hasquoter": {
  14117. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  14118. "type": "integer"
  14119. },
  14120. "hqprotecttime": {
  14121. "description": "行情保护时间(秒)",
  14122. "type": "integer"
  14123. },
  14124. "innerdealmode": {
  14125. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14126. "type": "integer"
  14127. },
  14128. "isbuylimited": {
  14129. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14130. "type": "integer"
  14131. },
  14132. "lasttradedate": {
  14133. "description": "最后交易日期(状态:待退市)",
  14134. "type": "string"
  14135. },
  14136. "listingdate": {
  14137. "description": "交易开始日期",
  14138. "type": "string"
  14139. },
  14140. "marketid": {
  14141. "description": "所属市场ID",
  14142. "type": "integer"
  14143. },
  14144. "modifierid": {
  14145. "description": "修改人",
  14146. "type": "integer"
  14147. },
  14148. "modifystatus": {
  14149. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  14150. "type": "integer"
  14151. },
  14152. "modifytime": {
  14153. "description": "修改时间",
  14154. "type": "string"
  14155. },
  14156. "outerdealmode": {
  14157. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14158. "type": "integer"
  14159. },
  14160. "outgoodscode": {
  14161. "description": "商品代码(外部)",
  14162. "type": "string"
  14163. },
  14164. "qtydecimalplace": {
  14165. "description": "成交量小数位",
  14166. "type": "integer"
  14167. },
  14168. "quotegear": {
  14169. "description": "行情档位(1-10)",
  14170. "type": "integer"
  14171. },
  14172. "quoteminunit": {
  14173. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14174. "type": "integer"
  14175. },
  14176. "quoteshowtype": {
  14177. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  14178. "type": "integer"
  14179. },
  14180. "quoteshowtypeinterval": {
  14181. "description": "行情报价间隔时间(秒)(成交价时为0)",
  14182. "type": "integer"
  14183. },
  14184. "remark": {
  14185. "description": "备注",
  14186. "type": "string"
  14187. }
  14188. }
  14189. },
  14190. "models.GoodsBrand": {
  14191. "type": "object",
  14192. "properties": {
  14193. "brandid": {
  14194. "description": "品牌ID",
  14195. "type": "integer"
  14196. },
  14197. "brandname": {
  14198. "description": "品牌名称",
  14199. "type": "string"
  14200. },
  14201. "isvalid": {
  14202. "description": "是否有效 - 0:无效 1:有效",
  14203. "type": "integer"
  14204. }
  14205. }
  14206. },
  14207. "models.GoodsGroupConvert": {
  14208. "type": "object",
  14209. "properties": {
  14210. "convertratio": {
  14211. "description": "折算系数",
  14212. "type": "number"
  14213. },
  14214. "dstgoodsgroupid": {
  14215. "description": "目标期货品种ID",
  14216. "type": "integer"
  14217. },
  14218. "goodsgroupname": {
  14219. "description": "期货品种名称",
  14220. "type": "string"
  14221. },
  14222. "outergroupcode": {
  14223. "description": "期货品种代码",
  14224. "type": "string"
  14225. },
  14226. "srcgoodsgroupid": {
  14227. "description": "源期货品种ID",
  14228. "type": "integer"
  14229. }
  14230. }
  14231. },
  14232. "models.GoodsIDAndName": {
  14233. "type": "object",
  14234. "required": [
  14235. "goodscode",
  14236. "goodsid",
  14237. "goodsname",
  14238. "marketid"
  14239. ],
  14240. "properties": {
  14241. "goodscode": {
  14242. "description": "商品代码(内部)",
  14243. "type": "string"
  14244. },
  14245. "goodsid": {
  14246. "description": "商品ID(自增ID SEQ_GOODS)",
  14247. "type": "integer"
  14248. },
  14249. "goodsname": {
  14250. "description": "商品名称",
  14251. "type": "string"
  14252. },
  14253. "marketid": {
  14254. "description": "所属市场ID",
  14255. "type": "integer"
  14256. }
  14257. }
  14258. },
  14259. "models.GoodsTypeModel": {
  14260. "type": "object",
  14261. "properties": {
  14262. "modelid": {
  14263. "description": "型号ID",
  14264. "type": "integer"
  14265. },
  14266. "modelname": {
  14267. "description": "型号名称",
  14268. "type": "string"
  14269. },
  14270. "updatetime": {
  14271. "description": "更新时间",
  14272. "type": "string"
  14273. }
  14274. }
  14275. },
  14276. "models.Goodsgroup": {
  14277. "type": "object",
  14278. "required": [
  14279. "goodsgroupid",
  14280. "goodsgroupname",
  14281. "goodsgroupstatus",
  14282. "marketid"
  14283. ],
  14284. "properties": {
  14285. "agreeunit": {
  14286. "description": "合约单位",
  14287. "type": "number"
  14288. },
  14289. "canshort": {
  14290. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14291. "type": "integer"
  14292. },
  14293. "closepricemode": {
  14294. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14295. "type": "integer"
  14296. },
  14297. "closepriceparam": {
  14298. "description": "强平最新价浮动比例 - 方式为2时使用",
  14299. "type": "number"
  14300. },
  14301. "createtime": {
  14302. "description": "创建时间",
  14303. "type": "string"
  14304. },
  14305. "creatorid": {
  14306. "description": "创建人",
  14307. "type": "integer"
  14308. },
  14309. "currencyid": {
  14310. "description": "报价货币ID",
  14311. "type": "integer"
  14312. },
  14313. "decimalplace": {
  14314. "description": "报价小数位",
  14315. "type": "integer"
  14316. },
  14317. "exercisetype": {
  14318. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  14319. "type": "integer"
  14320. },
  14321. "exexchangeid": {
  14322. "description": "外部交易所ID[通道交易]",
  14323. "type": "integer"
  14324. },
  14325. "goodsgroupid": {
  14326. "description": "商品组ID(自增ID)",
  14327. "type": "integer"
  14328. },
  14329. "goodsgroupname": {
  14330. "description": "商品组名称",
  14331. "type": "string"
  14332. },
  14333. "goodsgroupstatus": {
  14334. "description": "商品组状态 - 1:正常 2:注销",
  14335. "type": "integer"
  14336. },
  14337. "goodunitid": {
  14338. "description": "报价单位ID",
  14339. "type": "integer"
  14340. },
  14341. "innerdealmode": {
  14342. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14343. "type": "integer"
  14344. },
  14345. "isbuylimited": {
  14346. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14347. "type": "integer"
  14348. },
  14349. "marketid": {
  14350. "description": "所属市场ID",
  14351. "type": "integer"
  14352. },
  14353. "modifierid": {
  14354. "description": "修改人",
  14355. "type": "integer"
  14356. },
  14357. "modifytime": {
  14358. "description": "修改时间",
  14359. "type": "string"
  14360. },
  14361. "outerdealmode": {
  14362. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14363. "type": "integer"
  14364. },
  14365. "outergroupcode": {
  14366. "description": "外部商品组代码[通道交易]",
  14367. "type": "string"
  14368. },
  14369. "premiumdecimalplace": {
  14370. "description": "权利金小数位[场外期权]",
  14371. "type": "integer"
  14372. },
  14373. "premiumspreadalgorithm": {
  14374. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14375. "type": "integer"
  14376. },
  14377. "premiumspreadvalue": {
  14378. "description": "权利金点差值[场外期权]",
  14379. "type": "number"
  14380. },
  14381. "qtydecimalplace": {
  14382. "description": "成交量小数位",
  14383. "type": "integer"
  14384. },
  14385. "quotegear": {
  14386. "description": "行情档位(1-10)",
  14387. "type": "integer"
  14388. },
  14389. "quoteminunit": {
  14390. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14391. "type": "integer"
  14392. },
  14393. "quoterid": {
  14394. "description": "报价商ID[场外期权]",
  14395. "type": "integer"
  14396. },
  14397. "quotesourcegroupid": {
  14398. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14399. "type": "integer"
  14400. },
  14401. "syncgoodsqty": {
  14402. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14403. "type": "integer"
  14404. }
  14405. }
  14406. },
  14407. "models.Goodssortbypreposition": {
  14408. "type": "object",
  14409. "required": [
  14410. "goodscode",
  14411. "tradedate"
  14412. ],
  14413. "properties": {
  14414. "goodscode": {
  14415. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  14416. "type": "string"
  14417. },
  14418. "goodsgroupcode": {
  14419. "description": "品种代码",
  14420. "type": "string"
  14421. },
  14422. "prepositionqty": {
  14423. "description": "昨持仓量",
  14424. "type": "integer"
  14425. },
  14426. "sortindex": {
  14427. "description": "排序",
  14428. "type": "integer"
  14429. },
  14430. "tradedate": {
  14431. "description": "交易日",
  14432. "type": "string"
  14433. },
  14434. "updatetime": {
  14435. "description": "更新时间",
  14436. "type": "string"
  14437. }
  14438. }
  14439. },
  14440. "models.HsbyBuyMyPayOrder": {
  14441. "type": "object",
  14442. "required": [
  14443. "goodscode",
  14444. "goodsname",
  14445. "tradeid",
  14446. "trademode"
  14447. ],
  14448. "properties": {
  14449. "agreeunit": {
  14450. "description": "合约单位",
  14451. "type": "number"
  14452. },
  14453. "buyaccountid": {
  14454. "description": "买方账号ID[报价币种]",
  14455. "type": "integer"
  14456. },
  14457. "buyorderid": {
  14458. "description": "买方委托单号",
  14459. "type": "string"
  14460. },
  14461. "createtime": {
  14462. "description": "创建时间",
  14463. "type": "string"
  14464. },
  14465. "currencysign": {
  14466. "description": "货币符号",
  14467. "type": "string"
  14468. },
  14469. "decimalplace": {
  14470. "description": "报价小数位",
  14471. "type": "integer"
  14472. },
  14473. "goodscode": {
  14474. "description": "商品代码(内部)",
  14475. "type": "string"
  14476. },
  14477. "goodsid": {
  14478. "description": "商品ID",
  14479. "type": "integer"
  14480. },
  14481. "goodsname": {
  14482. "description": "商品名称",
  14483. "type": "string"
  14484. },
  14485. "marketid": {
  14486. "description": "市场ID",
  14487. "type": "integer"
  14488. },
  14489. "offamount": {
  14490. "description": "优惠金额",
  14491. "type": "number"
  14492. },
  14493. "originalamount": {
  14494. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14495. "type": "number"
  14496. },
  14497. "payamount": {
  14498. "description": "支付金额 = TradeAmount + TradeCharge",
  14499. "type": "number"
  14500. },
  14501. "payflag": {
  14502. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14503. "type": "integer"
  14504. },
  14505. "paylimitedtime": {
  14506. "description": "支付期限",
  14507. "type": "string"
  14508. },
  14509. "paytime": {
  14510. "description": "付款时间",
  14511. "type": "string"
  14512. },
  14513. "picurls1": {
  14514. "description": "预售商品介绍图片[多张用逗号分隔]",
  14515. "type": "string"
  14516. },
  14517. "picurls2": {
  14518. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14519. "type": "string"
  14520. },
  14521. "sellaccountid": {
  14522. "description": "卖方账号ID[报价币种]",
  14523. "type": "integer"
  14524. },
  14525. "sellorderid": {
  14526. "description": "卖方委托单号",
  14527. "type": "string"
  14528. },
  14529. "tradeamount": {
  14530. "description": "成交金额",
  14531. "type": "number"
  14532. },
  14533. "tradecharge": {
  14534. "description": "成交手续费(买方)",
  14535. "type": "number"
  14536. },
  14537. "tradedate": {
  14538. "description": "交易日(yyyyMMdd)",
  14539. "type": "string"
  14540. },
  14541. "tradeid": {
  14542. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14543. "type": "string"
  14544. },
  14545. "trademode": {
  14546. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14547. "type": "integer"
  14548. },
  14549. "tradeprice": {
  14550. "description": "成交价格",
  14551. "type": "number"
  14552. },
  14553. "tradeqty": {
  14554. "description": "成交数量",
  14555. "type": "integer"
  14556. },
  14557. "vendorname1": {
  14558. "description": "预售商品供应商名称",
  14559. "type": "string"
  14560. },
  14561. "vendorname2": {
  14562. "description": "挂牌商品供应商名称",
  14563. "type": "string"
  14564. }
  14565. }
  14566. },
  14567. "models.HsbyBuyMyTradeDetail": {
  14568. "type": "object",
  14569. "required": [
  14570. "accountid",
  14571. "buyorsell",
  14572. "goodscode",
  14573. "goodsid",
  14574. "goodsname",
  14575. "marketid",
  14576. "orderid",
  14577. "qty",
  14578. "time",
  14579. "trademode"
  14580. ],
  14581. "properties": {
  14582. "accountid": {
  14583. "description": "账户ID[报价币种]",
  14584. "type": "integer"
  14585. },
  14586. "agreeunit": {
  14587. "description": "合约单位",
  14588. "type": "number"
  14589. },
  14590. "amount": {
  14591. "description": "金额 = 价格 * 数量 * 合约单位",
  14592. "type": "number"
  14593. },
  14594. "buyorsell": {
  14595. "description": "买卖 - 0:买 1:卖",
  14596. "type": "integer"
  14597. },
  14598. "currencysign": {
  14599. "description": "货币符号",
  14600. "type": "string"
  14601. },
  14602. "decimalplace": {
  14603. "description": "报价小数位",
  14604. "type": "integer"
  14605. },
  14606. "goodscode": {
  14607. "description": "商品代码(内部)",
  14608. "type": "string"
  14609. },
  14610. "goodsid": {
  14611. "description": "商品ID",
  14612. "type": "integer"
  14613. },
  14614. "goodsname": {
  14615. "description": "商品名称",
  14616. "type": "string"
  14617. },
  14618. "marketid": {
  14619. "description": "市场ID",
  14620. "type": "integer"
  14621. },
  14622. "orderamount": {
  14623. "description": "委托金额",
  14624. "type": "number"
  14625. },
  14626. "orderid": {
  14627. "description": "单号(成交单号)",
  14628. "type": "string"
  14629. },
  14630. "picurls1": {
  14631. "description": "预售商品介绍图片[多张用逗号分隔]",
  14632. "type": "string"
  14633. },
  14634. "picurls2": {
  14635. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14636. "type": "string"
  14637. },
  14638. "price": {
  14639. "description": "价格",
  14640. "type": "number"
  14641. },
  14642. "qty": {
  14643. "description": "数量",
  14644. "type": "integer"
  14645. },
  14646. "time": {
  14647. "description": "时间",
  14648. "type": "string"
  14649. },
  14650. "trademode": {
  14651. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14652. "type": "integer"
  14653. },
  14654. "vendorname1": {
  14655. "description": "预售商品供应商名称",
  14656. "type": "string"
  14657. },
  14658. "vendorname2": {
  14659. "description": "挂牌商品供应商名称",
  14660. "type": "string"
  14661. }
  14662. }
  14663. },
  14664. "models.HsbyGoodsOrderDetail": {
  14665. "type": "object",
  14666. "required": [
  14667. "buyorsell",
  14668. "orderid",
  14669. "ordertime"
  14670. ],
  14671. "properties": {
  14672. "buyorsell": {
  14673. "description": "买卖 - 0:买 1:卖",
  14674. "type": "integer"
  14675. },
  14676. "currencysign": {
  14677. "description": "货币符号",
  14678. "type": "string"
  14679. },
  14680. "customername": {
  14681. "description": "客户名称(企业名称),已脱敏",
  14682. "type": "string"
  14683. },
  14684. "enableqty": {
  14685. "description": "可用数量",
  14686. "type": "integer"
  14687. },
  14688. "goodunit": {
  14689. "description": "报价单位",
  14690. "type": "string"
  14691. },
  14692. "orderid": {
  14693. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14694. "type": "string"
  14695. },
  14696. "orderprice": {
  14697. "description": "委托价格",
  14698. "type": "number"
  14699. },
  14700. "ordertime": {
  14701. "description": "委托时间",
  14702. "type": "string"
  14703. }
  14704. }
  14705. },
  14706. "models.HsbyListingGoodsDetail": {
  14707. "type": "object",
  14708. "required": [
  14709. "goodscode",
  14710. "goodsid",
  14711. "goodsname",
  14712. "marketid",
  14713. "trademode"
  14714. ],
  14715. "properties": {
  14716. "agreeunit": {
  14717. "description": "合约单位",
  14718. "type": "number"
  14719. },
  14720. "buymaxqty": {
  14721. "description": "购买上限 [71] - 0为不限",
  14722. "type": "integer"
  14723. },
  14724. "currency": {
  14725. "description": "货币",
  14726. "type": "string"
  14727. },
  14728. "currencysign": {
  14729. "description": "货币符号",
  14730. "type": "string"
  14731. },
  14732. "decimalplace": {
  14733. "description": "报价小数位",
  14734. "type": "integer"
  14735. },
  14736. "desccityid": {
  14737. "description": "目的地(市)ID",
  14738. "type": "integer"
  14739. },
  14740. "descprovinceid": {
  14741. "description": "目的地(省)ID",
  14742. "type": "integer"
  14743. },
  14744. "goodscode": {
  14745. "description": "商品代码(内部)",
  14746. "type": "string"
  14747. },
  14748. "goodsdesc": {
  14749. "description": "商品详情",
  14750. "type": "string"
  14751. },
  14752. "goodsid": {
  14753. "description": "商品ID(自增ID SEQ_GOODS)",
  14754. "type": "integer"
  14755. },
  14756. "goodsname": {
  14757. "description": "商品名称",
  14758. "type": "string"
  14759. },
  14760. "goodsprice": {
  14761. "description": "商品价格",
  14762. "type": "number"
  14763. },
  14764. "hotindex": {
  14765. "description": "景点热度",
  14766. "type": "integer"
  14767. },
  14768. "last": {
  14769. "description": "现价",
  14770. "type": "number"
  14771. },
  14772. "limitdown": {
  14773. "description": "跌停价",
  14774. "type": "number"
  14775. },
  14776. "limitup": {
  14777. "description": "涨停价",
  14778. "type": "number"
  14779. },
  14780. "lotsize": {
  14781. "description": "手数最小变动单位",
  14782. "type": "integer"
  14783. },
  14784. "marketid": {
  14785. "description": "所属市场ID",
  14786. "type": "integer"
  14787. },
  14788. "picurls": {
  14789. "description": "介绍图片[多张用逗号分隔]",
  14790. "type": "string"
  14791. },
  14792. "quoteminunit": {
  14793. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14794. "type": "integer"
  14795. },
  14796. "stepvalue": {
  14797. "description": "价格最小变动单位",
  14798. "type": "number"
  14799. },
  14800. "trademode": {
  14801. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14802. "type": "integer"
  14803. },
  14804. "vendorattr": {
  14805. "description": "供应商附件(多张,逗号分隔)",
  14806. "type": "string"
  14807. },
  14808. "vendorname": {
  14809. "description": "供应商名称",
  14810. "type": "string"
  14811. },
  14812. "vendorphone": {
  14813. "description": "供应商客服电话",
  14814. "type": "string"
  14815. },
  14816. "videourls": {
  14817. "description": "介绍视频[多张用逗号分隔]",
  14818. "type": "string"
  14819. }
  14820. }
  14821. },
  14822. "models.HsbyMarketGoods": {
  14823. "type": "object",
  14824. "required": [
  14825. "accountid",
  14826. "buyorsell",
  14827. "goodscode",
  14828. "goodsid",
  14829. "goodsname",
  14830. "marketid",
  14831. "orderid",
  14832. "trademode"
  14833. ],
  14834. "properties": {
  14835. "accountid": {
  14836. "description": "账户ID[报价币种]",
  14837. "type": "integer"
  14838. },
  14839. "agreeunit": {
  14840. "description": "合约单位",
  14841. "type": "number"
  14842. },
  14843. "buyorsell": {
  14844. "description": "买卖 - 0:买 1:卖",
  14845. "type": "integer"
  14846. },
  14847. "categoryid": {
  14848. "description": "类别ID(WRCATEGORY)",
  14849. "type": "integer"
  14850. },
  14851. "currency": {
  14852. "description": "货币",
  14853. "type": "string"
  14854. },
  14855. "currencysign": {
  14856. "description": "货币符号",
  14857. "type": "string"
  14858. },
  14859. "customername": {
  14860. "description": "卖家名称",
  14861. "type": "string"
  14862. },
  14863. "decimalplace": {
  14864. "description": "报价小数位",
  14865. "type": "integer"
  14866. },
  14867. "goodscode": {
  14868. "description": "商品代码(内部)",
  14869. "type": "string"
  14870. },
  14871. "goodsid": {
  14872. "description": "商品ID",
  14873. "type": "integer"
  14874. },
  14875. "goodsname": {
  14876. "description": "商品名称",
  14877. "type": "string"
  14878. },
  14879. "goodsprice": {
  14880. "description": "商品价格",
  14881. "type": "number"
  14882. },
  14883. "hascoupon": {
  14884. "description": "是否可用优惠卷",
  14885. "type": "boolean"
  14886. },
  14887. "hotindex": {
  14888. "description": "景点热度",
  14889. "type": "integer"
  14890. },
  14891. "marketid": {
  14892. "description": "市场ID",
  14893. "type": "integer"
  14894. },
  14895. "orderid": {
  14896. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14897. "type": "string"
  14898. },
  14899. "orderprice": {
  14900. "description": "委托价格",
  14901. "type": "number"
  14902. },
  14903. "orderstatus": {
  14904. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14905. "type": "integer"
  14906. },
  14907. "picurls": {
  14908. "description": "介绍图片[多张用逗号分隔]",
  14909. "type": "string"
  14910. },
  14911. "quoteminunit": {
  14912. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14913. "type": "integer"
  14914. },
  14915. "sellUserID": {
  14916. "description": "卖方UserID",
  14917. "type": "integer"
  14918. },
  14919. "trademode": {
  14920. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14921. "type": "integer"
  14922. },
  14923. "videourls": {
  14924. "description": "介绍视频[多张用逗号分隔]",
  14925. "type": "string"
  14926. }
  14927. }
  14928. },
  14929. "models.HsbyMarketGoodsDetail": {
  14930. "type": "object",
  14931. "required": [
  14932. "accountid",
  14933. "buyorsell",
  14934. "goodscode",
  14935. "goodsid",
  14936. "goodsname",
  14937. "marketid",
  14938. "orderid",
  14939. "orderqty",
  14940. "trademode"
  14941. ],
  14942. "properties": {
  14943. "accountid": {
  14944. "description": "账户ID[报价币种]",
  14945. "type": "integer"
  14946. },
  14947. "agreeunit": {
  14948. "description": "合约单位",
  14949. "type": "number"
  14950. },
  14951. "buymaxqty": {
  14952. "description": "购买上限 [71] - 0为不限",
  14953. "type": "integer"
  14954. },
  14955. "buyorsell": {
  14956. "description": "买卖 - 0:买 1:卖",
  14957. "type": "integer"
  14958. },
  14959. "cancelqty": {
  14960. "description": "撤单数量",
  14961. "type": "integer"
  14962. },
  14963. "categoryid": {
  14964. "description": "类别ID(WRCATEGORY)",
  14965. "type": "integer"
  14966. },
  14967. "currency": {
  14968. "description": "货币",
  14969. "type": "string"
  14970. },
  14971. "currencysign": {
  14972. "description": "货币符号",
  14973. "type": "string"
  14974. },
  14975. "customername": {
  14976. "description": "卖家名称",
  14977. "type": "string"
  14978. },
  14979. "decimalplace": {
  14980. "description": "报价小数位",
  14981. "type": "integer"
  14982. },
  14983. "goodscode": {
  14984. "description": "商品代码(内部)",
  14985. "type": "string"
  14986. },
  14987. "goodsdesc": {
  14988. "description": "商品详情",
  14989. "type": "string"
  14990. },
  14991. "goodsid": {
  14992. "description": "商品ID",
  14993. "type": "integer"
  14994. },
  14995. "goodsname": {
  14996. "description": "商品名称",
  14997. "type": "string"
  14998. },
  14999. "goodsprice": {
  15000. "description": "商品价格",
  15001. "type": "number"
  15002. },
  15003. "hotindex": {
  15004. "description": "景点热度",
  15005. "type": "integer"
  15006. },
  15007. "lotsize": {
  15008. "description": "手数最小变动单位",
  15009. "type": "integer"
  15010. },
  15011. "marketid": {
  15012. "description": "市场ID",
  15013. "type": "integer"
  15014. },
  15015. "orderid": {
  15016. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15017. "type": "string"
  15018. },
  15019. "orderprice": {
  15020. "description": "委托价格",
  15021. "type": "number"
  15022. },
  15023. "orderqty": {
  15024. "description": "委托数量",
  15025. "type": "integer"
  15026. },
  15027. "orderstatus": {
  15028. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15029. "type": "integer"
  15030. },
  15031. "picurls": {
  15032. "description": "介绍图片[多张用逗号分隔]",
  15033. "type": "string"
  15034. },
  15035. "quoteminunit": {
  15036. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15037. "type": "integer"
  15038. },
  15039. "sellUserID": {
  15040. "description": "卖方UserID",
  15041. "type": "integer"
  15042. },
  15043. "trademode": {
  15044. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15045. "type": "integer"
  15046. },
  15047. "tradeqty": {
  15048. "description": "成交数量",
  15049. "type": "integer"
  15050. },
  15051. "vendorattr": {
  15052. "description": "供应商附件(多张,逗号分隔)",
  15053. "type": "string"
  15054. },
  15055. "vendorname": {
  15056. "description": "供应商名称",
  15057. "type": "string"
  15058. },
  15059. "vendorphone": {
  15060. "description": "供应商客服电话",
  15061. "type": "string"
  15062. },
  15063. "videourls": {
  15064. "description": "介绍视频[多张用逗号分隔]",
  15065. "type": "string"
  15066. }
  15067. }
  15068. },
  15069. "models.HsbyMarketInfo": {
  15070. "type": "object",
  15071. "required": [
  15072. "marketid",
  15073. "marketstatus",
  15074. "trademode"
  15075. ],
  15076. "properties": {
  15077. "marketid": {
  15078. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15079. "type": "integer"
  15080. },
  15081. "marketname": {
  15082. "description": "市场名称",
  15083. "type": "string"
  15084. },
  15085. "marketstatus": {
  15086. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15087. "type": "integer"
  15088. },
  15089. "trademode": {
  15090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15091. "type": "integer"
  15092. }
  15093. }
  15094. },
  15095. "models.HsbyMyGoods": {
  15096. "type": "object",
  15097. "required": [
  15098. "accountid",
  15099. "goodscode",
  15100. "goodsid",
  15101. "goodsname",
  15102. "marketid",
  15103. "trademode"
  15104. ],
  15105. "properties": {
  15106. "accountid": {
  15107. "description": "账号Id",
  15108. "type": "integer"
  15109. },
  15110. "agreeunit": {
  15111. "description": "合约单位",
  15112. "type": "number"
  15113. },
  15114. "buyaverageprice": {
  15115. "description": "持仓均价",
  15116. "type": "number"
  15117. },
  15118. "buycurholderamount": {
  15119. "description": "买当前持仓总金额[商品币种]",
  15120. "type": "number"
  15121. },
  15122. "buycurpositionqty": {
  15123. "description": "买当前持仓总数量",
  15124. "type": "integer"
  15125. },
  15126. "buymaxqty": {
  15127. "description": "购买上限 [71] - 0为不限",
  15128. "type": "integer"
  15129. },
  15130. "currencysign": {
  15131. "description": "货币符号",
  15132. "type": "string"
  15133. },
  15134. "decimalplace": {
  15135. "description": "报价小数位",
  15136. "type": "integer"
  15137. },
  15138. "enableqty": {
  15139. "description": "可用数量",
  15140. "type": "integer"
  15141. },
  15142. "goodscode": {
  15143. "description": "商品代码(内部)",
  15144. "type": "string"
  15145. },
  15146. "goodsid": {
  15147. "description": "商品Id",
  15148. "type": "integer"
  15149. },
  15150. "goodsname": {
  15151. "description": "商品名称",
  15152. "type": "string"
  15153. },
  15154. "goodsprice": {
  15155. "description": "商品价格",
  15156. "type": "number"
  15157. },
  15158. "goodsstatus": {
  15159. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15160. "type": "integer"
  15161. },
  15162. "last": {
  15163. "description": "现价(仅使用于挂牌点选)",
  15164. "type": "number"
  15165. },
  15166. "limitdown": {
  15167. "description": "跌停价(仅使用于挂牌点选)",
  15168. "type": "number"
  15169. },
  15170. "limitup": {
  15171. "description": "涨停价(仅使用于挂牌点选)",
  15172. "type": "number"
  15173. },
  15174. "lotsize": {
  15175. "description": "手数最小变动单位",
  15176. "type": "integer"
  15177. },
  15178. "marketid": {
  15179. "description": "所属市场ID",
  15180. "type": "integer"
  15181. },
  15182. "picurls": {
  15183. "description": "介绍图片[多张用逗号分隔]",
  15184. "type": "string"
  15185. },
  15186. "quoteminunit": {
  15187. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15188. "type": "integer"
  15189. },
  15190. "stepvalue": {
  15191. "description": "价格最小变动单位",
  15192. "type": "number"
  15193. },
  15194. "trademode": {
  15195. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15196. "type": "integer"
  15197. }
  15198. }
  15199. },
  15200. "models.HsbyMyPackage": {
  15201. "type": "object",
  15202. "required": [
  15203. "goodscode",
  15204. "goodsname",
  15205. "takeorderid",
  15206. "trademode"
  15207. ],
  15208. "properties": {
  15209. "accountid": {
  15210. "description": "账户ID",
  15211. "type": "integer"
  15212. },
  15213. "address": {
  15214. "description": "提货人详细地址",
  15215. "type": "string"
  15216. },
  15217. "agreeunit": {
  15218. "description": "合约单位",
  15219. "type": "number"
  15220. },
  15221. "amount": {
  15222. "description": "提货金额",
  15223. "type": "number"
  15224. },
  15225. "auditer": {
  15226. "description": "审核人",
  15227. "type": "integer"
  15228. },
  15229. "audittime": {
  15230. "description": "审核时间",
  15231. "type": "string"
  15232. },
  15233. "averageprice": {
  15234. "description": "均价",
  15235. "type": "number"
  15236. },
  15237. "cardnum": {
  15238. "description": "提货人证件号码",
  15239. "type": "string"
  15240. },
  15241. "cardtypeid": {
  15242. "description": "提货人证件类型",
  15243. "type": "integer"
  15244. },
  15245. "checkremark": {
  15246. "description": "审核备注",
  15247. "type": "string"
  15248. },
  15249. "currencysign": {
  15250. "description": "货币符号",
  15251. "type": "string"
  15252. },
  15253. "decimalplace": {
  15254. "description": "报价小数位",
  15255. "type": "integer"
  15256. },
  15257. "goodscode": {
  15258. "description": "商品代码(内部)",
  15259. "type": "string"
  15260. },
  15261. "goodsid": {
  15262. "description": "商品ID",
  15263. "type": "integer"
  15264. },
  15265. "goodsname": {
  15266. "description": "商品名称",
  15267. "type": "string"
  15268. },
  15269. "handlestatus": {
  15270. "description": "处理状态",
  15271. "type": "integer"
  15272. },
  15273. "marketid": {
  15274. "description": "市场ID",
  15275. "type": "integer"
  15276. },
  15277. "phonenum": {
  15278. "description": "提货人联系方式",
  15279. "type": "string"
  15280. },
  15281. "picurls": {
  15282. "description": "介绍图片[多张用逗号分隔]",
  15283. "type": "string"
  15284. },
  15285. "qty": {
  15286. "description": "提货数量",
  15287. "type": "number"
  15288. },
  15289. "recivername": {
  15290. "description": "提货人姓名",
  15291. "type": "string"
  15292. },
  15293. "reqtime": {
  15294. "description": "更新时间",
  15295. "type": "string"
  15296. },
  15297. "takemode": {
  15298. "description": "提货方式 - 2:自提 3:配送",
  15299. "type": "integer"
  15300. },
  15301. "takeorderid": {
  15302. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15303. "type": "string"
  15304. },
  15305. "takeorderstatus": {
  15306. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15307. "type": "integer"
  15308. },
  15309. "takeremark": {
  15310. "description": "提货备注",
  15311. "type": "string"
  15312. },
  15313. "tradedate": {
  15314. "description": "交易日(yyyyMMdd)",
  15315. "type": "string"
  15316. },
  15317. "trademode": {
  15318. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15319. "type": "integer"
  15320. },
  15321. "userid": {
  15322. "description": "用户ID",
  15323. "type": "integer"
  15324. },
  15325. "vendorname": {
  15326. "description": "供应商名称",
  15327. "type": "string"
  15328. }
  15329. }
  15330. },
  15331. "models.HsbyPreGoods": {
  15332. "type": "object",
  15333. "required": [
  15334. "goodscode",
  15335. "goodsid",
  15336. "goodsname",
  15337. "marketid",
  15338. "trademode"
  15339. ],
  15340. "properties": {
  15341. "agreeunit": {
  15342. "description": "合约单位",
  15343. "type": "number"
  15344. },
  15345. "currency": {
  15346. "description": "货币",
  15347. "type": "string"
  15348. },
  15349. "currencysign": {
  15350. "description": "货币符号",
  15351. "type": "string"
  15352. },
  15353. "decimalplace": {
  15354. "description": "报价小数位",
  15355. "type": "integer"
  15356. },
  15357. "desccityid": {
  15358. "description": "目的地(市)",
  15359. "type": "integer"
  15360. },
  15361. "descprovinceid": {
  15362. "description": "目的地(省)",
  15363. "type": "integer"
  15364. },
  15365. "enableqty": {
  15366. "description": "剩余数量",
  15367. "type": "integer"
  15368. },
  15369. "goodscode": {
  15370. "description": "商品代码(内部)",
  15371. "type": "string"
  15372. },
  15373. "goodsid": {
  15374. "description": "商品ID(自增ID SEQ_GOODS)",
  15375. "type": "integer"
  15376. },
  15377. "goodsname": {
  15378. "description": "商品名称",
  15379. "type": "string"
  15380. },
  15381. "goodsstatus": {
  15382. "description": "商品状态- 2:未上市 3:上市",
  15383. "type": "integer"
  15384. },
  15385. "lasttradedate": {
  15386. "description": "最后交易日期(状态:待退市)",
  15387. "type": "string"
  15388. },
  15389. "listingdate": {
  15390. "description": "交易开始日期",
  15391. "type": "string"
  15392. },
  15393. "marketid": {
  15394. "description": "所属市场ID",
  15395. "type": "integer"
  15396. },
  15397. "picurls": {
  15398. "description": "介绍图片[多张用逗号分隔]",
  15399. "type": "string"
  15400. },
  15401. "presaledqty": {
  15402. "description": "已预售量(预售结束时更新)",
  15403. "type": "integer"
  15404. },
  15405. "presaleqty": {
  15406. "description": "预售数量",
  15407. "type": "integer"
  15408. },
  15409. "quoteminunit": {
  15410. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15411. "type": "integer"
  15412. },
  15413. "refprice": {
  15414. "description": "参考价格[一口价]",
  15415. "type": "number"
  15416. },
  15417. "relatedgoodsid": {
  15418. "description": "关联交易合约ID",
  15419. "type": "integer"
  15420. },
  15421. "trademode": {
  15422. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15423. "type": "integer"
  15424. },
  15425. "videourls": {
  15426. "description": "介绍视频[多张用逗号分隔]",
  15427. "type": "string"
  15428. }
  15429. }
  15430. },
  15431. "models.HsbyPreGoodsDetail": {
  15432. "type": "object",
  15433. "required": [
  15434. "goodscode",
  15435. "goodsid",
  15436. "goodsname",
  15437. "marketid",
  15438. "trademode"
  15439. ],
  15440. "properties": {
  15441. "agreeunit": {
  15442. "description": "合约单位",
  15443. "type": "number"
  15444. },
  15445. "buymaxqty": {
  15446. "description": "购买上限 [71] - 0为不限",
  15447. "type": "integer"
  15448. },
  15449. "currency": {
  15450. "description": "货币",
  15451. "type": "string"
  15452. },
  15453. "currencysign": {
  15454. "description": "货币符号",
  15455. "type": "string"
  15456. },
  15457. "customername": {
  15458. "description": "发行单位",
  15459. "type": "string"
  15460. },
  15461. "decimalplace": {
  15462. "description": "报价小数位",
  15463. "type": "integer"
  15464. },
  15465. "desccityid": {
  15466. "description": "目的地(市)ID",
  15467. "type": "integer"
  15468. },
  15469. "descprovinceid": {
  15470. "description": "目的地(省)ID",
  15471. "type": "integer"
  15472. },
  15473. "enableqty": {
  15474. "description": "剩余数量",
  15475. "type": "integer"
  15476. },
  15477. "goodscode": {
  15478. "description": "商品代码(内部)",
  15479. "type": "string"
  15480. },
  15481. "goodsdesc": {
  15482. "description": "商品详情",
  15483. "type": "string"
  15484. },
  15485. "goodsid": {
  15486. "description": "商品ID(自增ID SEQ_GOODS)",
  15487. "type": "integer"
  15488. },
  15489. "goodsname": {
  15490. "description": "商品名称",
  15491. "type": "string"
  15492. },
  15493. "goodsstatus": {
  15494. "description": "商品状态- 2:未上市 3:上市",
  15495. "type": "integer"
  15496. },
  15497. "goodunit": {
  15498. "description": "报价单位",
  15499. "type": "string"
  15500. },
  15501. "lasttradedate": {
  15502. "description": "最后交易日期(状态:待退市)",
  15503. "type": "string"
  15504. },
  15505. "listingdate": {
  15506. "description": "交易开始日期",
  15507. "type": "string"
  15508. },
  15509. "lotsize": {
  15510. "description": "手数最小变动单位",
  15511. "type": "integer"
  15512. },
  15513. "marketid": {
  15514. "description": "所属市场ID",
  15515. "type": "integer"
  15516. },
  15517. "picurls": {
  15518. "description": "介绍图片[多张用逗号分隔]",
  15519. "type": "string"
  15520. },
  15521. "presaledqty": {
  15522. "description": "已预售量(预售结束时更新)",
  15523. "type": "integer"
  15524. },
  15525. "presaleqty": {
  15526. "description": "预售数量",
  15527. "type": "integer"
  15528. },
  15529. "quoteminunit": {
  15530. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15531. "type": "integer"
  15532. },
  15533. "refprice": {
  15534. "description": "参考价格[一口价]",
  15535. "type": "number"
  15536. },
  15537. "relatedgoodsid": {
  15538. "description": "关联交易合约ID",
  15539. "type": "integer"
  15540. },
  15541. "stepvalue": {
  15542. "description": "价格最小变动单位",
  15543. "type": "number"
  15544. },
  15545. "trademode": {
  15546. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15547. "type": "integer"
  15548. },
  15549. "vendorattr": {
  15550. "description": "供应商附件(多张,逗号分隔)",
  15551. "type": "string"
  15552. },
  15553. "vendorname": {
  15554. "description": "供应商名称",
  15555. "type": "string"
  15556. },
  15557. "vendorphone": {
  15558. "description": "供应商客服电话",
  15559. "type": "string"
  15560. },
  15561. "videourls": {
  15562. "description": "介绍视频[多张用逗号分隔]",
  15563. "type": "string"
  15564. }
  15565. }
  15566. },
  15567. "models.HsbySellCollectionOrder": {
  15568. "type": "object",
  15569. "required": [
  15570. "goodscode",
  15571. "goodsname",
  15572. "tradeid",
  15573. "trademode"
  15574. ],
  15575. "properties": {
  15576. "agreeunit": {
  15577. "description": "合约单位",
  15578. "type": "number"
  15579. },
  15580. "buyaccountid": {
  15581. "description": "买方账号ID[报价币种]",
  15582. "type": "integer"
  15583. },
  15584. "buyorderid": {
  15585. "description": "买方委托单号",
  15586. "type": "string"
  15587. },
  15588. "createtime": {
  15589. "description": "创建时间",
  15590. "type": "string"
  15591. },
  15592. "currencysign": {
  15593. "description": "货币符号",
  15594. "type": "string"
  15595. },
  15596. "decimalplace": {
  15597. "description": "报价小数位",
  15598. "type": "integer"
  15599. },
  15600. "goodscode": {
  15601. "description": "商品代码(内部)",
  15602. "type": "string"
  15603. },
  15604. "goodsid": {
  15605. "description": "商品ID",
  15606. "type": "integer"
  15607. },
  15608. "goodsname": {
  15609. "description": "商品名称",
  15610. "type": "string"
  15611. },
  15612. "marketid": {
  15613. "description": "市场ID",
  15614. "type": "integer"
  15615. },
  15616. "offamount": {
  15617. "description": "优惠金额",
  15618. "type": "number"
  15619. },
  15620. "payamount": {
  15621. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15622. "type": "number"
  15623. },
  15624. "payflag": {
  15625. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15626. "type": "integer"
  15627. },
  15628. "paylimitedtime": {
  15629. "description": "支付期限",
  15630. "type": "string"
  15631. },
  15632. "paytime": {
  15633. "description": "付款时间",
  15634. "type": "string"
  15635. },
  15636. "picurls": {
  15637. "description": "商品介绍图片[多张用逗号分隔]",
  15638. "type": "string"
  15639. },
  15640. "sellaccountid": {
  15641. "description": "卖方账号ID[报价币种]",
  15642. "type": "integer"
  15643. },
  15644. "sellorderid": {
  15645. "description": "卖方委托单号",
  15646. "type": "string"
  15647. },
  15648. "tradeamount": {
  15649. "description": "成交金额",
  15650. "type": "number"
  15651. },
  15652. "tradecharge": {
  15653. "description": "成交手续费(买方)",
  15654. "type": "number"
  15655. },
  15656. "tradedate": {
  15657. "description": "交易日(yyyyMMdd)",
  15658. "type": "string"
  15659. },
  15660. "tradeid": {
  15661. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15662. "type": "string"
  15663. },
  15664. "trademode": {
  15665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15666. "type": "integer"
  15667. },
  15668. "tradeprice": {
  15669. "description": "成交价格",
  15670. "type": "number"
  15671. },
  15672. "tradeqty": {
  15673. "description": "成交数量",
  15674. "type": "integer"
  15675. }
  15676. }
  15677. },
  15678. "models.HsbySellMyDetail": {
  15679. "type": "object",
  15680. "required": [
  15681. "accountid",
  15682. "buyorsell",
  15683. "goodscode",
  15684. "goodsid",
  15685. "goodsname",
  15686. "marketid",
  15687. "orderid",
  15688. "time",
  15689. "trademode"
  15690. ],
  15691. "properties": {
  15692. "accountid": {
  15693. "description": "账户ID[报价币种]",
  15694. "type": "integer"
  15695. },
  15696. "agreeunit": {
  15697. "description": "合约单位",
  15698. "type": "number"
  15699. },
  15700. "buyorsell": {
  15701. "description": "买卖 - 0:买 1:卖",
  15702. "type": "integer"
  15703. },
  15704. "currencysign": {
  15705. "description": "货币符号",
  15706. "type": "string"
  15707. },
  15708. "decimalplace": {
  15709. "description": "报价小数位",
  15710. "type": "integer"
  15711. },
  15712. "goodscode": {
  15713. "description": "商品代码(内部)",
  15714. "type": "string"
  15715. },
  15716. "goodsid": {
  15717. "description": "商品ID",
  15718. "type": "integer"
  15719. },
  15720. "goodsname": {
  15721. "description": "商品名称",
  15722. "type": "string"
  15723. },
  15724. "marketid": {
  15725. "description": "市场ID",
  15726. "type": "integer"
  15727. },
  15728. "orderid": {
  15729. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15730. "type": "string"
  15731. },
  15732. "ordertype": {
  15733. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15734. "type": "integer"
  15735. },
  15736. "picurls": {
  15737. "description": "介绍图片[多张用逗号分隔]",
  15738. "type": "string"
  15739. },
  15740. "price": {
  15741. "description": "价格",
  15742. "type": "number"
  15743. },
  15744. "qty": {
  15745. "description": "数量",
  15746. "type": "integer"
  15747. },
  15748. "time": {
  15749. "description": "时间",
  15750. "type": "string"
  15751. },
  15752. "trademode": {
  15753. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15754. "type": "integer"
  15755. },
  15756. "vendorname": {
  15757. "description": "供应商名称",
  15758. "type": "string"
  15759. }
  15760. }
  15761. },
  15762. "models.HsbyTopGoods": {
  15763. "type": "object",
  15764. "required": [
  15765. "goodscode",
  15766. "goodsid",
  15767. "goodsname",
  15768. "marketid",
  15769. "trademode"
  15770. ],
  15771. "properties": {
  15772. "agreeunit": {
  15773. "description": "合约单位",
  15774. "type": "number"
  15775. },
  15776. "currency": {
  15777. "description": "货币",
  15778. "type": "string"
  15779. },
  15780. "currencysign": {
  15781. "description": "货币符号",
  15782. "type": "string"
  15783. },
  15784. "decimalplace": {
  15785. "description": "报价小数位",
  15786. "type": "integer"
  15787. },
  15788. "desccityid": {
  15789. "description": "目的地(市)",
  15790. "type": "integer"
  15791. },
  15792. "descprovinceid": {
  15793. "description": "目的地(省)",
  15794. "type": "integer"
  15795. },
  15796. "goodscode": {
  15797. "description": "商品代码(内部)",
  15798. "type": "string"
  15799. },
  15800. "goodsid": {
  15801. "description": "商品ID(自增ID SEQ_GOODS)",
  15802. "type": "integer"
  15803. },
  15804. "goodsname": {
  15805. "description": "商品名称",
  15806. "type": "string"
  15807. },
  15808. "hotindex": {
  15809. "description": "景点热度",
  15810. "type": "integer"
  15811. },
  15812. "last": {
  15813. "description": "现价",
  15814. "type": "number"
  15815. },
  15816. "marketid": {
  15817. "description": "所属市场ID",
  15818. "type": "integer"
  15819. },
  15820. "picurls": {
  15821. "description": "介绍图片[多张用逗号分隔]",
  15822. "type": "string"
  15823. },
  15824. "quoteminunit": {
  15825. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15826. "type": "integer"
  15827. },
  15828. "trademode": {
  15829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15830. "type": "integer"
  15831. },
  15832. "videourls": {
  15833. "description": "介绍视频[多张用逗号分隔]",
  15834. "type": "string"
  15835. }
  15836. }
  15837. },
  15838. "models.HybsMyBuyOrderDetail": {
  15839. "type": "object",
  15840. "required": [
  15841. "accountid",
  15842. "buyorsell",
  15843. "goodscode",
  15844. "goodsid",
  15845. "goodsname",
  15846. "marketid",
  15847. "orderid",
  15848. "orderqty",
  15849. "ordertime",
  15850. "trademode"
  15851. ],
  15852. "properties": {
  15853. "accountid": {
  15854. "description": "账户ID[报价币种]",
  15855. "type": "integer"
  15856. },
  15857. "agreeunit": {
  15858. "description": "合约单位",
  15859. "type": "number"
  15860. },
  15861. "buyorsell": {
  15862. "description": "买卖 - 0:买 1:卖",
  15863. "type": "integer"
  15864. },
  15865. "cancelqty": {
  15866. "description": "撤单数量",
  15867. "type": "integer"
  15868. },
  15869. "currencysign": {
  15870. "description": "货币符号",
  15871. "type": "string"
  15872. },
  15873. "decimalplace": {
  15874. "description": "报价小数位",
  15875. "type": "integer"
  15876. },
  15877. "goodscode": {
  15878. "description": "商品代码(内部)",
  15879. "type": "string"
  15880. },
  15881. "goodsid": {
  15882. "description": "商品ID",
  15883. "type": "integer"
  15884. },
  15885. "goodsname": {
  15886. "description": "商品名称",
  15887. "type": "string"
  15888. },
  15889. "listingselecttype": {
  15890. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15891. "type": "integer"
  15892. },
  15893. "marketid": {
  15894. "description": "市场ID",
  15895. "type": "integer"
  15896. },
  15897. "mybuystatus": {
  15898. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15899. "type": "integer"
  15900. },
  15901. "orderamount": {
  15902. "description": "委托金额",
  15903. "type": "number"
  15904. },
  15905. "orderid": {
  15906. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15907. "type": "string"
  15908. },
  15909. "orderprice": {
  15910. "description": "委托价格",
  15911. "type": "number"
  15912. },
  15913. "orderqty": {
  15914. "description": "委托数量",
  15915. "type": "integer"
  15916. },
  15917. "orderstatus": {
  15918. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15919. "type": "integer"
  15920. },
  15921. "ordertime": {
  15922. "description": "委托时间",
  15923. "type": "string"
  15924. },
  15925. "picurls1": {
  15926. "description": "预售商品介绍图片[多张用逗号分隔]",
  15927. "type": "string"
  15928. },
  15929. "picurls2": {
  15930. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15931. "type": "string"
  15932. },
  15933. "trademode": {
  15934. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15935. "type": "integer"
  15936. },
  15937. "tradeqty": {
  15938. "description": "成交数量",
  15939. "type": "integer"
  15940. },
  15941. "vendorname1": {
  15942. "description": "预售商品供应商名称",
  15943. "type": "string"
  15944. },
  15945. "vendorname2": {
  15946. "description": "挂牌商品供应商名称",
  15947. "type": "string"
  15948. }
  15949. }
  15950. },
  15951. "models.Loginaccount": {
  15952. "type": "object",
  15953. "required": [
  15954. "loginid"
  15955. ],
  15956. "properties": {
  15957. "canoutin": {
  15958. "description": "是否可出入金 - 0:不可 1:可",
  15959. "type": "integer"
  15960. },
  15961. "clientroleid": {
  15962. "description": "终端角色ID",
  15963. "type": "integer"
  15964. },
  15965. "haslogined": {
  15966. "description": "是否已登录 - 0:未登录 1:已登录",
  15967. "type": "integer"
  15968. },
  15969. "hasupdatedpwd": {
  15970. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15971. "type": "integer"
  15972. },
  15973. "lastloginip": {
  15974. "description": "最新登录地址",
  15975. "type": "string"
  15976. },
  15977. "lastloginmode": {
  15978. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15979. "type": "integer"
  15980. },
  15981. "lastloginremark": {
  15982. "description": "最新登录描述",
  15983. "type": "string"
  15984. },
  15985. "lastlogintime": {
  15986. "description": "最新登录时间",
  15987. "type": "string"
  15988. },
  15989. "logincode": {
  15990. "description": "登录代码",
  15991. "type": "string"
  15992. },
  15993. "loginfailnum": {
  15994. "description": "连续登录失败次数(登录成功时清零)",
  15995. "type": "integer"
  15996. },
  15997. "loginid": {
  15998. "description": "登陆账号",
  15999. "type": "integer"
  16000. },
  16001. "loginport": {
  16002. "description": "最新登录端口",
  16003. "type": "integer"
  16004. },
  16005. "loginstatus": {
  16006. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  16007. "type": "integer"
  16008. },
  16009. "loginusertype": {
  16010. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  16011. "type": "integer"
  16012. },
  16013. "modifierid": {
  16014. "description": "修改人",
  16015. "type": "integer"
  16016. },
  16017. "modifytime": {
  16018. "description": "修改时间",
  16019. "type": "string"
  16020. },
  16021. "pwdwrongcount": {
  16022. "description": "密码错误次数",
  16023. "type": "integer"
  16024. },
  16025. "taaccountrighttype": {
  16026. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  16027. "type": "integer"
  16028. },
  16029. "unfreezetime": {
  16030. "description": "账户解冻时间",
  16031. "type": "string"
  16032. },
  16033. "userid": {
  16034. "description": "用户ID",
  16035. "type": "integer"
  16036. }
  16037. }
  16038. },
  16039. "models.Market": {
  16040. "type": "object",
  16041. "required": [
  16042. "marketid",
  16043. "marketstatus",
  16044. "openmethod",
  16045. "reckonpricealgorithm",
  16046. "trademode",
  16047. "tradeproperty"
  16048. ],
  16049. "properties": {
  16050. "auctionwrtype": {
  16051. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  16052. "type": "integer"
  16053. },
  16054. "canacceptquote": {
  16055. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  16056. "type": "integer"
  16057. },
  16058. "cangoodsexercise": {
  16059. "description": "[期权]是否可现货行权- 0:否 1:是",
  16060. "type": "integer"
  16061. },
  16062. "cangoodsexercisetype": {
  16063. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  16064. "type": "integer"
  16065. },
  16066. "canmanualquotestrike": {
  16067. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  16068. "type": "integer"
  16069. },
  16070. "canmutistage": {
  16071. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  16072. "type": "integer"
  16073. },
  16074. "canpreexercise": {
  16075. "description": "[期权]是否可预申报- 0:否 1:是",
  16076. "type": "integer"
  16077. },
  16078. "clearinterval": {
  16079. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  16080. "type": "integer"
  16081. },
  16082. "contracttmp": {
  16083. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  16084. "type": "string"
  16085. },
  16086. "exchareaid": {
  16087. "description": "所属交易所,可以没有",
  16088. "type": "integer"
  16089. },
  16090. "goodstype": {
  16091. "description": "商品类型 - 1:交易商品 2:仓单商品",
  16092. "type": "integer"
  16093. },
  16094. "hasrebate": {
  16095. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  16096. "type": "integer"
  16097. },
  16098. "hastradecredit": {
  16099. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  16100. "type": "integer"
  16101. },
  16102. "haswr": {
  16103. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  16104. "type": "integer"
  16105. },
  16106. "isdeductmargin": {
  16107. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  16108. "type": "integer"
  16109. },
  16110. "isrecordsource": {
  16111. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  16112. "type": "integer"
  16113. },
  16114. "isreleasemargin": {
  16115. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  16116. "type": "integer"
  16117. },
  16118. "marginformula": {
  16119. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16120. "type": "integer"
  16121. },
  16122. "marginformula2": {
  16123. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16124. "type": "integer"
  16125. },
  16126. "marketid": {
  16127. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16128. "type": "integer"
  16129. },
  16130. "marketname": {
  16131. "description": "市场名称",
  16132. "type": "string"
  16133. },
  16134. "marketserviceid": {
  16135. "description": "市场服务ID",
  16136. "type": "integer"
  16137. },
  16138. "marketstatus": {
  16139. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16140. "type": "integer"
  16141. },
  16142. "markettype": {
  16143. "description": "市场类型- 1:非交易服务 2:交易服务",
  16144. "type": "integer"
  16145. },
  16146. "matchermode": {
  16147. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  16148. "type": "integer"
  16149. },
  16150. "openmethod": {
  16151. "description": "开盘模式 - 0 自动 1手动",
  16152. "type": "integer"
  16153. },
  16154. "otcuserid": {
  16155. "description": "场外期权做市商[场外期权]",
  16156. "type": "integer"
  16157. },
  16158. "outersynctime": {
  16159. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  16160. "type": "string"
  16161. },
  16162. "pendingflag": {
  16163. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  16164. "type": "integer"
  16165. },
  16166. "pendingtime": {
  16167. "description": "待开市时间[通道交易-对冲](HH:mm)",
  16168. "type": "string"
  16169. },
  16170. "performancetempid": {
  16171. "description": "履约计划模板ID - 作废",
  16172. "type": "integer"
  16173. },
  16174. "premiumquotemode": {
  16175. "description": "权利金报价方式 - 1:自动 2:手动",
  16176. "type": "integer"
  16177. },
  16178. "rebateratio": {
  16179. "description": "返利比率[竞价式]",
  16180. "type": "number"
  16181. },
  16182. "reckonorder": {
  16183. "description": "结算顺序",
  16184. "type": "integer"
  16185. },
  16186. "reckonpricealgorithm": {
  16187. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  16188. "type": "integer"
  16189. },
  16190. "reckonpriceparam": {
  16191. "description": "结算价参数",
  16192. "type": "integer"
  16193. },
  16194. "reckontime": {
  16195. "description": "结算时间[通道交易-对冲](HH:mm)",
  16196. "type": "string"
  16197. },
  16198. "roleprioritytype": {
  16199. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  16200. "type": "integer"
  16201. },
  16202. "selllistingauditflag": {
  16203. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  16204. "type": "integer"
  16205. },
  16206. "trademarkettype": {
  16207. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  16208. "type": "integer"
  16209. },
  16210. "trademode": {
  16211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16212. "type": "integer"
  16213. },
  16214. "tradeproperty": {
  16215. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  16216. "type": "integer"
  16217. },
  16218. "tradetype": {
  16219. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  16220. "type": "integer"
  16221. }
  16222. }
  16223. },
  16224. "models.Marketrun": {
  16225. "type": "object",
  16226. "required": [
  16227. "marketid",
  16228. "nexttradedate",
  16229. "reckonflag",
  16230. "runstatus",
  16231. "tradedate",
  16232. "tradedate2"
  16233. ],
  16234. "properties": {
  16235. "afternexttradedate": {
  16236. "description": "下下交易日",
  16237. "type": "string"
  16238. },
  16239. "clearquoteflag": {
  16240. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  16241. "type": "integer"
  16242. },
  16243. "lastreckondate": {
  16244. "description": "最新交易日(结算成功)",
  16245. "type": "string"
  16246. },
  16247. "machinedate": {
  16248. "description": "机器时间",
  16249. "type": "string"
  16250. },
  16251. "manualflag": {
  16252. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  16253. "type": "integer"
  16254. },
  16255. "marketid": {
  16256. "description": "市场ID",
  16257. "type": "integer"
  16258. },
  16259. "nexttradedate": {
  16260. "description": "下一交易日",
  16261. "type": "string"
  16262. },
  16263. "pretradedate": {
  16264. "description": "上一交易日",
  16265. "type": "string"
  16266. },
  16267. "reckonflag": {
  16268. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  16269. "type": "integer"
  16270. },
  16271. "runstatus": {
  16272. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  16273. "type": "integer"
  16274. },
  16275. "sectionid": {
  16276. "description": "时间段号[多时段时用]",
  16277. "type": "integer"
  16278. },
  16279. "tradedate": {
  16280. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  16281. "type": "string"
  16282. },
  16283. "tradedate2": {
  16284. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  16285. "type": "string"
  16286. },
  16287. "updatetime": {
  16288. "description": "更新时间",
  16289. "type": "string"
  16290. }
  16291. }
  16292. },
  16293. "models.Messageboard": {
  16294. "type": "object",
  16295. "required": [
  16296. "messageboardid"
  16297. ],
  16298. "properties": {
  16299. "contactnum": {
  16300. "description": "联系电话",
  16301. "type": "string"
  16302. },
  16303. "createtime": {
  16304. "description": "创建时间",
  16305. "type": "string"
  16306. },
  16307. "message": {
  16308. "description": "留言信息",
  16309. "type": "string"
  16310. },
  16311. "messageboardid": {
  16312. "description": "留言簿ID(SEQ_MessageBoard)",
  16313. "type": "integer"
  16314. },
  16315. "userid": {
  16316. "description": "用户ID",
  16317. "type": "integer"
  16318. }
  16319. }
  16320. },
  16321. "models.MyCoupon": {
  16322. "type": "object",
  16323. "required": [
  16324. "accountid",
  16325. "coupontypeid"
  16326. ],
  16327. "properties": {
  16328. "accountid": {
  16329. "description": "资金账户ID",
  16330. "type": "integer"
  16331. },
  16332. "areauserid": {
  16333. "description": "所属机构",
  16334. "type": "integer"
  16335. },
  16336. "conditionvalue": {
  16337. "description": "条件阈值(可为0)",
  16338. "type": "number"
  16339. },
  16340. "couponcategroy": {
  16341. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  16342. "type": "integer"
  16343. },
  16344. "couponname": {
  16345. "description": "优惠券名称",
  16346. "type": "string"
  16347. },
  16348. "coupontypeid": {
  16349. "description": "优惠券类型ID",
  16350. "type": "string"
  16351. },
  16352. "couponvalue": {
  16353. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16354. "type": "number"
  16355. },
  16356. "curfreezeqty": {
  16357. "description": "期末冻结数量",
  16358. "type": "integer"
  16359. },
  16360. "curqty": {
  16361. "description": "期末数量",
  16362. "type": "integer"
  16363. },
  16364. "isgeneral": {
  16365. "description": "是否通用券 - 0:否 1:是",
  16366. "type": "integer"
  16367. },
  16368. "isunusable": {
  16369. "description": "是否不可用",
  16370. "type": "boolean"
  16371. },
  16372. "limitedflag": {
  16373. "description": "是否指定商品 - 0:不限 1:限制",
  16374. "type": "integer"
  16375. },
  16376. "limitedgoodsids": {
  16377. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16378. "type": "string"
  16379. },
  16380. "orifreezeqty": {
  16381. "description": "期初冻结数量",
  16382. "type": "integer"
  16383. },
  16384. "oriqty": {
  16385. "description": "期初数量",
  16386. "type": "integer"
  16387. },
  16388. "reasontype": {
  16389. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16390. "type": "integer"
  16391. },
  16392. "todaydecrease": {
  16393. "description": "今日减少",
  16394. "type": "integer"
  16395. },
  16396. "todayincrease": {
  16397. "description": "今日增加",
  16398. "type": "integer"
  16399. },
  16400. "userid": {
  16401. "description": "用户ID",
  16402. "type": "integer"
  16403. },
  16404. "userscope": {
  16405. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16406. "type": "string"
  16407. }
  16408. }
  16409. },
  16410. "models.MyCouponHold": {
  16411. "type": "object",
  16412. "required": [
  16413. "couponholdid"
  16414. ],
  16415. "properties": {
  16416. "accountid": {
  16417. "description": "资金账户ID",
  16418. "type": "integer"
  16419. },
  16420. "conditionvalue": {
  16421. "description": "条件阈值(可为0)",
  16422. "type": "number"
  16423. },
  16424. "couponcategroy": {
  16425. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16426. "type": "integer"
  16427. },
  16428. "couponholdid": {
  16429. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16430. "type": "string"
  16431. },
  16432. "couponname": {
  16433. "description": "优惠券名称",
  16434. "type": "string"
  16435. },
  16436. "coupontypeid": {
  16437. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16438. "type": "string"
  16439. },
  16440. "couponvalue": {
  16441. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16442. "type": "number"
  16443. },
  16444. "createtime": {
  16445. "description": "创建时间",
  16446. "type": "string"
  16447. },
  16448. "enddate": {
  16449. "description": "结束日期",
  16450. "type": "string"
  16451. },
  16452. "giveapplyid": {
  16453. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16454. "type": "integer"
  16455. },
  16456. "holdstatus": {
  16457. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16458. "type": "integer"
  16459. },
  16460. "isgeneral": {
  16461. "description": "是否通用券 - 0:否 1:是",
  16462. "type": "integer"
  16463. },
  16464. "limitedflag": {
  16465. "description": "是否指定商品 - 0:不限 1:限制",
  16466. "type": "integer"
  16467. },
  16468. "limitedgoodsids": {
  16469. "description": "指定商品IDs[逗号分隔]",
  16470. "type": "string"
  16471. },
  16472. "qty": {
  16473. "description": "数量(按1平铺)",
  16474. "type": "integer"
  16475. },
  16476. "startdate": {
  16477. "description": "开始日期",
  16478. "type": "string"
  16479. },
  16480. "userid": {
  16481. "description": "用户ID",
  16482. "type": "integer"
  16483. },
  16484. "userscope": {
  16485. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16486. "type": "string"
  16487. }
  16488. }
  16489. },
  16490. "models.MyUsedCoupon": {
  16491. "type": "object",
  16492. "required": [
  16493. "coupontypeid",
  16494. "orderid"
  16495. ],
  16496. "properties": {
  16497. "accountid": {
  16498. "description": "资金账户ID(买方)",
  16499. "type": "integer"
  16500. },
  16501. "conditionvalue": {
  16502. "description": "条件阈值(可为0)",
  16503. "type": "number"
  16504. },
  16505. "couponcategroy": {
  16506. "description": "种类 - 1:现金券 2:折扣券",
  16507. "type": "integer"
  16508. },
  16509. "couponname": {
  16510. "description": "优惠券名称",
  16511. "type": "string"
  16512. },
  16513. "coupontypeid": {
  16514. "description": "优惠券类型ID(买方)",
  16515. "type": "string"
  16516. },
  16517. "couponvalue": {
  16518. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16519. "type": "number"
  16520. },
  16521. "createtime": {
  16522. "description": "创建时间",
  16523. "type": "string"
  16524. },
  16525. "goodsid": {
  16526. "description": "商品ID",
  16527. "type": "integer"
  16528. },
  16529. "handlestatus": {
  16530. "description": "处理状态",
  16531. "type": "integer"
  16532. },
  16533. "marketid": {
  16534. "description": "市场ID",
  16535. "type": "integer"
  16536. },
  16537. "offamount": {
  16538. "description": "优惠金额",
  16539. "type": "number"
  16540. },
  16541. "orderid": {
  16542. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16543. "type": "string"
  16544. },
  16545. "sellaccountid": {
  16546. "description": "资金账户ID(卖方)",
  16547. "type": "integer"
  16548. },
  16549. "tradeamount": {
  16550. "description": "成交金额",
  16551. "type": "number"
  16552. },
  16553. "tradeid": {
  16554. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16555. "type": "string"
  16556. },
  16557. "usedqty": {
  16558. "description": "使用数量",
  16559. "type": "integer"
  16560. }
  16561. }
  16562. },
  16563. "models.OperationPrimaryMenu": {
  16564. "type": "object",
  16565. "properties": {
  16566. "Children": {
  16567. "description": "二级功能菜单",
  16568. "type": "array",
  16569. "items": {
  16570. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16571. }
  16572. },
  16573. "Key": {
  16574. "description": "菜单KEY",
  16575. "type": "string"
  16576. },
  16577. "Label": {
  16578. "description": "菜单标题",
  16579. "type": "string"
  16580. }
  16581. }
  16582. },
  16583. "models.OperationSecondaryMenu": {
  16584. "type": "object",
  16585. "properties": {
  16586. "Key": {
  16587. "description": "菜单KEY",
  16588. "type": "string"
  16589. },
  16590. "Label": {
  16591. "description": "菜单标题",
  16592. "type": "string"
  16593. },
  16594. "TabList": {
  16595. "description": "三级功能菜单",
  16596. "type": "array",
  16597. "items": {
  16598. "$ref": "#/definitions/models.OperationTabMenu"
  16599. }
  16600. }
  16601. }
  16602. },
  16603. "models.OperationTabMenu": {
  16604. "type": "object",
  16605. "properties": {
  16606. "Key": {
  16607. "description": "菜单KEY",
  16608. "type": "string"
  16609. },
  16610. "Label": {
  16611. "description": "菜单标题",
  16612. "type": "string"
  16613. }
  16614. }
  16615. },
  16616. "models.QueryErrorInfosRsp": {
  16617. "type": "object",
  16618. "required": [
  16619. "errorid"
  16620. ],
  16621. "properties": {
  16622. "description": {
  16623. "description": "异常描述",
  16624. "type": "string"
  16625. },
  16626. "errorcode": {
  16627. "description": "异常代码",
  16628. "type": "string"
  16629. },
  16630. "errorid": {
  16631. "description": "异常ID",
  16632. "type": "integer"
  16633. },
  16634. "modulecode": {
  16635. "description": "所属模块",
  16636. "type": "string"
  16637. },
  16638. "operatecode": {
  16639. "description": "所属操作",
  16640. "type": "string"
  16641. },
  16642. "rownumber": {
  16643. "description": "行号",
  16644. "type": "string"
  16645. }
  16646. }
  16647. },
  16648. "models.QueryHedgeOrderDetailRsp": {
  16649. "type": "object",
  16650. "properties": {
  16651. "accountid": {
  16652. "description": "账户ID",
  16653. "type": "integer"
  16654. },
  16655. "buyorsell": {
  16656. "description": "买卖 - 0:买 1:卖",
  16657. "type": "integer"
  16658. },
  16659. "cancellogincode": {
  16660. "description": "撤单人",
  16661. "type": "string"
  16662. },
  16663. "channelbuildtype": {
  16664. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16665. "type": "integer"
  16666. },
  16667. "channelinnerorderstatus": {
  16668. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16669. "type": "integer"
  16670. },
  16671. "channeloperatetype": {
  16672. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16673. "type": "integer"
  16674. },
  16675. "closetype": {
  16676. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16677. "type": "integer"
  16678. },
  16679. "curexchangerate": {
  16680. "description": "当前汇率",
  16681. "type": "number"
  16682. },
  16683. "exchangefullname": {
  16684. "description": "外部交易所全称",
  16685. "type": "string"
  16686. },
  16687. "goodscode": {
  16688. "description": "商品代码(内部)",
  16689. "type": "string"
  16690. },
  16691. "goodsid": {
  16692. "description": "商品ID",
  16693. "type": "integer"
  16694. },
  16695. "goodsname": {
  16696. "description": "商品名称",
  16697. "type": "string"
  16698. },
  16699. "marketid": {
  16700. "description": "市场ID",
  16701. "type": "integer"
  16702. },
  16703. "openfreezemargin": {
  16704. "description": "冻结保证金(冻结交易金额)",
  16705. "type": "number"
  16706. },
  16707. "orderid": {
  16708. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16709. "type": "string"
  16710. },
  16711. "orderlogincode": {
  16712. "description": "委托人",
  16713. "type": "string"
  16714. },
  16715. "orderprice": {
  16716. "description": "委托价格(账户)",
  16717. "type": "number"
  16718. },
  16719. "orderqty": {
  16720. "description": "委托数量",
  16721. "type": "integer"
  16722. },
  16723. "ordertime": {
  16724. "description": "委托时间",
  16725. "type": "string"
  16726. },
  16727. "pricemode": {
  16728. "description": "取价方式 - 1:市价 2: 限价",
  16729. "type": "integer"
  16730. },
  16731. "tradedate": {
  16732. "description": "交易日(yyyyMMdd)",
  16733. "type": "string"
  16734. },
  16735. "tradeqty": {
  16736. "description": "成交数量",
  16737. "type": "integer"
  16738. }
  16739. }
  16740. },
  16741. "models.QueryHedgeTradeDetailRsp": {
  16742. "type": "object",
  16743. "properties": {
  16744. "accountid": {
  16745. "description": "账号ID",
  16746. "type": "integer"
  16747. },
  16748. "buyorsell": {
  16749. "description": "方向 - 0:买 1:卖",
  16750. "type": "integer"
  16751. },
  16752. "channelbuildtype": {
  16753. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16754. "type": "integer"
  16755. },
  16756. "closecharge": {
  16757. "description": "平仓手续费(账户)",
  16758. "type": "number"
  16759. },
  16760. "closecharge2": {
  16761. "description": "平仓手续费(商品)",
  16762. "type": "number"
  16763. },
  16764. "closetype": {
  16765. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16766. "type": "integer"
  16767. },
  16768. "curexchangerate": {
  16769. "description": "当前汇率",
  16770. "type": "number"
  16771. },
  16772. "exchangefullname": {
  16773. "description": "外部交易所全称",
  16774. "type": "string"
  16775. },
  16776. "goodscode": {
  16777. "description": "商品代码(内部)",
  16778. "type": "string"
  16779. },
  16780. "goodsid": {
  16781. "description": "商品ID",
  16782. "type": "integer"
  16783. },
  16784. "goodsname": {
  16785. "description": "商品名称",
  16786. "type": "string"
  16787. },
  16788. "marketid": {
  16789. "description": "市场ID",
  16790. "type": "integer"
  16791. },
  16792. "opencharge": {
  16793. "description": "建仓手续费(账户)",
  16794. "type": "number"
  16795. },
  16796. "opencharge2": {
  16797. "description": "建仓手续费(商品)",
  16798. "type": "number"
  16799. },
  16800. "orderid": {
  16801. "description": "委托单号",
  16802. "type": "string"
  16803. },
  16804. "orderlogincode": {
  16805. "description": "委托人",
  16806. "type": "string"
  16807. },
  16808. "tradeamount": {
  16809. "description": "成交金额(账户)",
  16810. "type": "number"
  16811. },
  16812. "tradedate": {
  16813. "description": "交易日(yyyyMMdd)",
  16814. "type": "string"
  16815. },
  16816. "tradeid": {
  16817. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16818. "type": "string"
  16819. },
  16820. "tradeprice": {
  16821. "description": "成交价格",
  16822. "type": "number"
  16823. },
  16824. "tradeqty": {
  16825. "description": "成交数量",
  16826. "type": "integer"
  16827. },
  16828. "tradetime": {
  16829. "description": "成交时间",
  16830. "type": "string"
  16831. },
  16832. "tradetype": {
  16833. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16834. "type": "integer"
  16835. }
  16836. }
  16837. },
  16838. "models.QuotePrimaryMenu": {
  16839. "type": "object",
  16840. "properties": {
  16841. "Index": {
  16842. "description": "序号",
  16843. "type": "integer"
  16844. },
  16845. "Key": {
  16846. "description": "键名",
  16847. "type": "string"
  16848. },
  16849. "Name": {
  16850. "description": "菜单名称",
  16851. "type": "string"
  16852. },
  16853. "SubMenus": {
  16854. "description": "子菜单",
  16855. "type": "array",
  16856. "items": {
  16857. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16858. }
  16859. },
  16860. "SubTitleType": {
  16861. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16862. "type": "integer"
  16863. },
  16864. "TradeModes": {
  16865. "description": "包含市场交易类型",
  16866. "type": "string"
  16867. }
  16868. }
  16869. },
  16870. "models.QuoteSecondaryMenu": {
  16871. "type": "object",
  16872. "properties": {
  16873. "ExExchangeCode": {
  16874. "description": "外部交易所代码",
  16875. "type": "string"
  16876. },
  16877. "ExExchangeID": {
  16878. "description": "外部交易所ID",
  16879. "type": "integer"
  16880. },
  16881. "GoodsGroupIDs": {
  16882. "description": "商品组ID列表",
  16883. "type": "array",
  16884. "items": {
  16885. "type": "integer"
  16886. }
  16887. },
  16888. "Index": {
  16889. "description": "序号",
  16890. "type": "integer"
  16891. },
  16892. "MarketID": {
  16893. "description": "市场ID",
  16894. "type": "integer"
  16895. },
  16896. "MenuTitle": {
  16897. "description": "菜单标题(市场名称或外部交易所名称)",
  16898. "type": "string"
  16899. },
  16900. "TradeMode": {
  16901. "description": "交易模式",
  16902. "type": "integer"
  16903. }
  16904. }
  16905. },
  16906. "models.RelatedGoodsEx": {
  16907. "type": "object",
  16908. "properties": {
  16909. "goodscode": {
  16910. "description": "商品代码",
  16911. "type": "string"
  16912. },
  16913. "goodsid": {
  16914. "description": "商品id",
  16915. "type": "integer"
  16916. },
  16917. "goodsname": {
  16918. "description": "商品名称",
  16919. "type": "string"
  16920. }
  16921. }
  16922. },
  16923. "models.SearchGoods": {
  16924. "type": "object",
  16925. "required": [
  16926. "goodscode",
  16927. "goodsid",
  16928. "goodsname",
  16929. "marketid",
  16930. "trademode"
  16931. ],
  16932. "properties": {
  16933. "goodscode": {
  16934. "description": "商品代码(内部)",
  16935. "type": "string"
  16936. },
  16937. "goodsid": {
  16938. "description": "商品ID(自增ID SEQ_GOODS)",
  16939. "type": "integer"
  16940. },
  16941. "goodsname": {
  16942. "description": "商品名称",
  16943. "type": "string"
  16944. },
  16945. "marketid": {
  16946. "description": "所属市场ID",
  16947. "type": "integer"
  16948. },
  16949. "marketname": {
  16950. "description": "市场名称",
  16951. "type": "string"
  16952. },
  16953. "trademode": {
  16954. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16955. "type": "integer"
  16956. }
  16957. }
  16958. },
  16959. "models.Systemparam": {
  16960. "type": "object",
  16961. "required": [
  16962. "paramcode"
  16963. ],
  16964. "properties": {
  16965. "loginid": {
  16966. "description": "更新用户账号,登录账号",
  16967. "type": "string"
  16968. },
  16969. "modifyflag": {
  16970. "description": "修改标志0 不允许修改 1 允许修改",
  16971. "type": "integer"
  16972. },
  16973. "paramcode": {
  16974. "description": "参数代码",
  16975. "type": "string"
  16976. },
  16977. "paramname": {
  16978. "description": "参数名",
  16979. "type": "string"
  16980. },
  16981. "paramtype": {
  16982. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16983. "type": "integer"
  16984. },
  16985. "paramvalue": {
  16986. "description": "参数值",
  16987. "type": "string"
  16988. },
  16989. "paramvalue2": {
  16990. "description": "参数值(CLOB)",
  16991. "type": "string"
  16992. },
  16993. "regexpress": {
  16994. "description": "正则表达式",
  16995. "type": "string"
  16996. },
  16997. "remark": {
  16998. "description": "备注",
  16999. "type": "string"
  17000. },
  17001. "serverip": {
  17002. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  17003. "type": "string"
  17004. },
  17005. "showflag": {
  17006. "description": "是否显示0 不显示 1 显示",
  17007. "type": "integer"
  17008. },
  17009. "updatetime": {
  17010. "description": "更新时间",
  17011. "type": "string"
  17012. },
  17013. "userid": {
  17014. "description": "更新用户ID",
  17015. "type": "integer"
  17016. }
  17017. }
  17018. },
  17019. "models.Szdz3convertconfig": {
  17020. "type": "object",
  17021. "required": [
  17022. "converttype",
  17023. "innergoodsid",
  17024. "outergoodscode"
  17025. ],
  17026. "properties": {
  17027. "canin": {
  17028. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  17029. "type": "integer"
  17030. },
  17031. "canout": {
  17032. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  17033. "type": "integer"
  17034. },
  17035. "converttype": {
  17036. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  17037. "type": "integer"
  17038. },
  17039. "createtime": {
  17040. "description": "创建时间",
  17041. "type": "string"
  17042. },
  17043. "creatorid": {
  17044. "description": "创建人",
  17045. "type": "integer"
  17046. },
  17047. "daymaxvalue": {
  17048. "description": "当日最大转入限制",
  17049. "type": "number"
  17050. },
  17051. "freezedays": {
  17052. "description": "冻结天数 [5:花生米转交易]",
  17053. "type": "integer"
  17054. },
  17055. "innergoodsid": {
  17056. "description": "内部商品ID[交易]",
  17057. "type": "integer"
  17058. },
  17059. "inratio": {
  17060. "description": "目标值",
  17061. "type": "integer"
  17062. },
  17063. "modifierid": {
  17064. "description": "修改人",
  17065. "type": "integer"
  17066. },
  17067. "modifytime": {
  17068. "description": "修改时间",
  17069. "type": "string"
  17070. },
  17071. "outergoodscode": {
  17072. "description": "外部商品代码[JD\\PD]",
  17073. "type": "string"
  17074. },
  17075. "outratio": {
  17076. "description": "源值",
  17077. "type": "integer"
  17078. },
  17079. "pddecimalplace": {
  17080. "description": "PD小数位",
  17081. "type": "integer"
  17082. },
  17083. "timemaxvalue": {
  17084. "description": "单次最大转入限制",
  17085. "type": "number"
  17086. },
  17087. "timeminvalue": {
  17088. "description": "单次最小转入限制",
  17089. "type": "number"
  17090. }
  17091. }
  17092. },
  17093. "models.Szdz3searchwhitelist": {
  17094. "type": "object",
  17095. "required": [
  17096. "userid"
  17097. ],
  17098. "properties": {
  17099. "createtime": {
  17100. "description": "创建时间",
  17101. "type": "string"
  17102. },
  17103. "creatorid": {
  17104. "description": "创建人",
  17105. "type": "integer"
  17106. },
  17107. "modifierid": {
  17108. "description": "修改人",
  17109. "type": "integer"
  17110. },
  17111. "modifytime": {
  17112. "description": "修改时间",
  17113. "type": "string"
  17114. },
  17115. "userid": {
  17116. "description": "用户ID",
  17117. "type": "integer"
  17118. }
  17119. }
  17120. },
  17121. "models.Taaccount": {
  17122. "type": "object",
  17123. "required": [
  17124. "accountid",
  17125. "userid"
  17126. ],
  17127. "properties": {
  17128. "accountflag": {
  17129. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  17130. "type": "integer"
  17131. },
  17132. "accountid": {
  17133. "description": "资金账户ID",
  17134. "type": "integer"
  17135. },
  17136. "accountname": {
  17137. "description": "账户名称",
  17138. "type": "string"
  17139. },
  17140. "balance": {
  17141. "description": "期初余额",
  17142. "type": "number"
  17143. },
  17144. "capitalbalance": {
  17145. "description": "本金余额[外部子账户实际出入金余额]",
  17146. "type": "number"
  17147. },
  17148. "changeflag": {
  17149. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  17150. "type": "integer"
  17151. },
  17152. "changetime": {
  17153. "description": "账户状态变更时间",
  17154. "type": "string"
  17155. },
  17156. "closepl": {
  17157. "description": "今日平仓盈亏",
  17158. "type": "number"
  17159. },
  17160. "creditdecrease": {
  17161. "description": "今日授信减少",
  17162. "type": "number"
  17163. },
  17164. "creditincrease": {
  17165. "description": "今日授信增加",
  17166. "type": "number"
  17167. },
  17168. "currencyid": {
  17169. "description": "货币ID",
  17170. "type": "integer"
  17171. },
  17172. "currentbalance": {
  17173. "description": "期末余额",
  17174. "type": "number"
  17175. },
  17176. "freezecharge": {
  17177. "description": "手续费冻结",
  17178. "type": "number"
  17179. },
  17180. "freezemargin": {
  17181. "description": "冻结保证金",
  17182. "type": "number"
  17183. },
  17184. "fromaccountid": {
  17185. "description": "所属上级账户",
  17186. "type": "integer"
  17187. },
  17188. "inamount": {
  17189. "description": "今日入金金额(包括三方入金)",
  17190. "type": "number"
  17191. },
  17192. "ismain": {
  17193. "description": "是否母账号 0:不是母账户 1:是母账户",
  17194. "type": "integer"
  17195. },
  17196. "ismarketaccount": {
  17197. "description": "是否机构接单账号 0:不是 1:是",
  17198. "type": "integer"
  17199. },
  17200. "isreckonaccount": {
  17201. "description": "是否机构分润账号 0:不是 1:是",
  17202. "type": "integer"
  17203. },
  17204. "mortgagecredit": {
  17205. "description": "授信金额",
  17206. "type": "number"
  17207. },
  17208. "orifreezecharge": {
  17209. "description": "期初手续费冻结",
  17210. "type": "number"
  17211. },
  17212. "orifreezemargin": {
  17213. "description": "期初冻结保证金",
  17214. "type": "number"
  17215. },
  17216. "orimortgagecredit": {
  17217. "description": "期初授信金额",
  17218. "type": "number"
  17219. },
  17220. "oriothercredit": {
  17221. "description": "期初其它授信金额",
  17222. "type": "number"
  17223. },
  17224. "oriotherfreezemargin": {
  17225. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17226. "type": "number"
  17227. },
  17228. "orioutamountfreeze": {
  17229. "description": "期初出金冻结",
  17230. "type": "number"
  17231. },
  17232. "oriusedmargin": {
  17233. "description": "期初占用保证金",
  17234. "type": "number"
  17235. },
  17236. "othercredit": {
  17237. "description": "其它授信金额",
  17238. "type": "number"
  17239. },
  17240. "othercreditdecrease": {
  17241. "description": "今日其它授信减少",
  17242. "type": "number"
  17243. },
  17244. "othercreditincrease": {
  17245. "description": "今日其它授信增加",
  17246. "type": "number"
  17247. },
  17248. "otherfreezemargin": {
  17249. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17250. "type": "number"
  17251. },
  17252. "otherincome": {
  17253. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  17254. "type": "number"
  17255. },
  17256. "otherpay": {
  17257. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  17258. "type": "number"
  17259. },
  17260. "outamount": {
  17261. "description": "今日出金金额(包括三方出金)",
  17262. "type": "number"
  17263. },
  17264. "outamountfreeze": {
  17265. "description": "出金冻结",
  17266. "type": "number"
  17267. },
  17268. "outthreshold": {
  17269. "description": "出金阈值",
  17270. "type": "number"
  17271. },
  17272. "parentaccountid": {
  17273. "description": "所属根账号",
  17274. "type": "integer"
  17275. },
  17276. "paycharge": {
  17277. "description": "今日手续费支出",
  17278. "type": "number"
  17279. },
  17280. "relatedaccountstatus": {
  17281. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  17282. "type": "integer"
  17283. },
  17284. "relateduserid": {
  17285. "description": "关联用户",
  17286. "type": "integer"
  17287. },
  17288. "serivcegroup": {
  17289. "description": "服务分组",
  17290. "type": "integer"
  17291. },
  17292. "signstatus": {
  17293. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17294. "type": "integer"
  17295. },
  17296. "sublevelpath": {
  17297. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17298. "type": "string"
  17299. },
  17300. "taaccounttype": {
  17301. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17302. "type": "integer"
  17303. },
  17304. "thirdinamount": {
  17305. "description": "今日三方入金",
  17306. "type": "number"
  17307. },
  17308. "thirdoutamount": {
  17309. "description": "今日三方出金",
  17310. "type": "number"
  17311. },
  17312. "tradestatus": {
  17313. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17314. "type": "integer"
  17315. },
  17316. "tradestatuschangetime": {
  17317. "description": "激活时间",
  17318. "type": "string"
  17319. },
  17320. "transferamount": {
  17321. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17322. "type": "number"
  17323. },
  17324. "usedmargin": {
  17325. "description": "占用保证金",
  17326. "type": "number"
  17327. },
  17328. "userid": {
  17329. "description": "用户ID",
  17330. "type": "integer"
  17331. }
  17332. }
  17333. },
  17334. "models.Tablecolumnconfig": {
  17335. "type": "object",
  17336. "required": [
  17337. "autoid"
  17338. ],
  17339. "properties": {
  17340. "aligntype": {
  17341. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  17342. "type": "integer"
  17343. },
  17344. "autoid": {
  17345. "description": "AutoID",
  17346. "type": "integer"
  17347. },
  17348. "columnfield": {
  17349. "description": "列字段",
  17350. "type": "string"
  17351. },
  17352. "columntitle": {
  17353. "description": "列Title",
  17354. "type": "string"
  17355. },
  17356. "columnwidth": {
  17357. "description": "列宽",
  17358. "type": "string"
  17359. },
  17360. "formatterstring": {
  17361. "description": "格式化字符",
  17362. "type": "string"
  17363. },
  17364. "formattertype": {
  17365. "description": "格式化类型",
  17366. "type": "string"
  17367. },
  17368. "groupname": {
  17369. "description": "表头分组名称",
  17370. "type": "string"
  17371. },
  17372. "isshow": {
  17373. "description": "是否显示 - 0:不显示 1:显示",
  17374. "type": "integer"
  17375. },
  17376. "needsummary": {
  17377. "description": "是否需要汇总 - 0:不需要 1:需要",
  17378. "type": "integer"
  17379. },
  17380. "orderindex": {
  17381. "description": "顺序",
  17382. "type": "integer"
  17383. },
  17384. "remark": {
  17385. "description": "备注",
  17386. "type": "string"
  17387. },
  17388. "summarytype": {
  17389. "description": "汇总类型 - 1:加总 2:最后一个",
  17390. "type": "integer"
  17391. },
  17392. "tablekey": {
  17393. "description": "列表Key",
  17394. "type": "string"
  17395. }
  17396. }
  17397. },
  17398. "models.Useraccount": {
  17399. "type": "object",
  17400. "required": [
  17401. "userid"
  17402. ],
  17403. "properties": {
  17404. "accountname": {
  17405. "description": "账户名称(机构名称)",
  17406. "type": "string"
  17407. },
  17408. "accountstatus": {
  17409. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17410. "type": "integer"
  17411. },
  17412. "auditremark": {
  17413. "description": "审核备注",
  17414. "type": "string"
  17415. },
  17416. "audittime": {
  17417. "description": "审核时间",
  17418. "type": "string"
  17419. },
  17420. "audituserid": {
  17421. "description": "审核人",
  17422. "type": "integer"
  17423. },
  17424. "broker": {
  17425. "description": "所属经纪人ID",
  17426. "type": "integer"
  17427. },
  17428. "canceltime": {
  17429. "description": "销户时间",
  17430. "type": "string"
  17431. },
  17432. "canceluserid": {
  17433. "description": "销户人",
  17434. "type": "integer"
  17435. },
  17436. "createtime": {
  17437. "description": "创建时间",
  17438. "type": "string"
  17439. },
  17440. "creatorid": {
  17441. "description": "创建人",
  17442. "type": "integer"
  17443. },
  17444. "hasauth": {
  17445. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17446. "type": "integer"
  17447. },
  17448. "isanonymous": {
  17449. "description": "是否匿名下单 - 0:否 1:是",
  17450. "type": "integer"
  17451. },
  17452. "maxinvestornum": {
  17453. "description": "最大用户数(经纪会员下投资者个数)",
  17454. "type": "integer"
  17455. },
  17456. "memberuserid": {
  17457. "description": "所属会员ID",
  17458. "type": "integer"
  17459. },
  17460. "modifierid": {
  17461. "description": "修改人",
  17462. "type": "integer"
  17463. },
  17464. "modifyremark": {
  17465. "description": "变更备注",
  17466. "type": "string"
  17467. },
  17468. "modifystatus": {
  17469. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17470. "type": "integer"
  17471. },
  17472. "modifytime": {
  17473. "description": "修改时间",
  17474. "type": "string"
  17475. },
  17476. "parentuserid": {
  17477. "description": "所属机构ID",
  17478. "type": "integer"
  17479. },
  17480. "reckonaccountid": {
  17481. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17482. "type": "integer"
  17483. },
  17484. "refercount": {
  17485. "description": "推荐总人数",
  17486. "type": "integer"
  17487. },
  17488. "refereeuserid": {
  17489. "description": "推荐人ID",
  17490. "type": "integer"
  17491. },
  17492. "refernum": {
  17493. "description": "推荐码",
  17494. "type": "string"
  17495. },
  17496. "subarealevelpath": {
  17497. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17498. "type": "string"
  17499. },
  17500. "userid": {
  17501. "description": "用户ID",
  17502. "type": "integer"
  17503. },
  17504. "usertype": {
  17505. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17506. "type": "integer"
  17507. }
  17508. }
  17509. },
  17510. "models.Userfavoritegoods": {
  17511. "type": "object",
  17512. "required": [
  17513. "goodsid"
  17514. ],
  17515. "properties": {
  17516. "goodsid": {
  17517. "description": "商品ID",
  17518. "type": "integer"
  17519. }
  17520. }
  17521. },
  17522. "models.Userinfo": {
  17523. "type": "object",
  17524. "required": [
  17525. "userid"
  17526. ],
  17527. "properties": {
  17528. "address": {
  17529. "description": "地址",
  17530. "type": "string"
  17531. },
  17532. "attachment1": {
  17533. "description": "附件1",
  17534. "type": "string"
  17535. },
  17536. "attachment2": {
  17537. "description": "附件2",
  17538. "type": "string"
  17539. },
  17540. "bankaccount": {
  17541. "description": "银行帐号 (加密存储)",
  17542. "type": "string"
  17543. },
  17544. "bankaccountname": {
  17545. "description": "收款人名称",
  17546. "type": "string"
  17547. },
  17548. "bankcardfrontphotourl": {
  17549. "description": "银行卡正面照地址",
  17550. "type": "string"
  17551. },
  17552. "bankid": {
  17553. "description": "银行编码",
  17554. "type": "string"
  17555. },
  17556. "bankname": {
  17557. "description": "银行名称",
  17558. "type": "string"
  17559. },
  17560. "biznature": {
  17561. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17562. "type": "integer"
  17563. },
  17564. "bizscope": {
  17565. "description": "企业经营范围(企业)",
  17566. "type": "string"
  17567. },
  17568. "cardbackphotourl": {
  17569. "description": "证件背面图片地址",
  17570. "type": "string"
  17571. },
  17572. "cardfrontphotourl": {
  17573. "description": "证件正面图片地址",
  17574. "type": "string"
  17575. },
  17576. "cardnum": {
  17577. "description": "证件号码(加密存储)",
  17578. "type": "string"
  17579. },
  17580. "cardtypeid": {
  17581. "description": "证件类型ID",
  17582. "type": "integer"
  17583. },
  17584. "cityid": {
  17585. "description": "市",
  17586. "type": "integer"
  17587. },
  17588. "company": {
  17589. "description": "公司(个人)",
  17590. "type": "string"
  17591. },
  17592. "contactname": {
  17593. "description": "联系人",
  17594. "type": "string"
  17595. },
  17596. "countryid": {
  17597. "description": "国家",
  17598. "type": "integer"
  17599. },
  17600. "createtime": {
  17601. "description": "创建时间",
  17602. "type": "string"
  17603. },
  17604. "creatorid": {
  17605. "description": "创建人",
  17606. "type": "integer"
  17607. },
  17608. "customername": {
  17609. "description": "客户名称(企业名称)",
  17610. "type": "string"
  17611. },
  17612. "districtid": {
  17613. "description": "地区",
  17614. "type": "integer"
  17615. },
  17616. "email": {
  17617. "description": "邮件(加密存储)",
  17618. "type": "string"
  17619. },
  17620. "fax": {
  17621. "description": "传真(加密存储)",
  17622. "type": "string"
  17623. },
  17624. "halfbodyphotourl": {
  17625. "description": "半身照地址",
  17626. "type": "string"
  17627. },
  17628. "hasencrypt": {
  17629. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17630. "type": "integer"
  17631. },
  17632. "headurl": {
  17633. "description": "头像地址",
  17634. "type": "string"
  17635. },
  17636. "legalcardbackphotourl": {
  17637. "description": "法人身份证背面照地址",
  17638. "type": "string"
  17639. },
  17640. "legalcardfrontphotourl": {
  17641. "description": "法人身份证正面照地址",
  17642. "type": "string"
  17643. },
  17644. "legalpersonname": {
  17645. "description": "法人姓名(企业)",
  17646. "type": "string"
  17647. },
  17648. "mobile": {
  17649. "description": "手机号码(加密存储)",
  17650. "type": "string"
  17651. },
  17652. "mobile2": {
  17653. "description": "手机号码[明文-尚志]",
  17654. "type": "string"
  17655. },
  17656. "modifierid": {
  17657. "description": "修改人",
  17658. "type": "integer"
  17659. },
  17660. "modifiertime": {
  17661. "description": "修改时间",
  17662. "type": "string"
  17663. },
  17664. "needinvoice": {
  17665. "description": "是否需要发票 - 0:不需要 1:需要",
  17666. "type": "integer"
  17667. },
  17668. "nickname": {
  17669. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17670. "type": "string"
  17671. },
  17672. "openmode": {
  17673. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17674. "type": "integer"
  17675. },
  17676. "otherurl": {
  17677. "description": "其它图片地址[使用分号分隔]",
  17678. "type": "string"
  17679. },
  17680. "postalcode": {
  17681. "description": "邮政编码",
  17682. "type": "string"
  17683. },
  17684. "provinceid": {
  17685. "description": "省",
  17686. "type": "integer"
  17687. },
  17688. "qq": {
  17689. "description": "QQ(加密存储",
  17690. "type": "string"
  17691. },
  17692. "remark": {
  17693. "description": "备注",
  17694. "type": "string"
  17695. },
  17696. "sex": {
  17697. "description": "用户性别 0: 女 1: 男",
  17698. "type": "integer"
  17699. },
  17700. "signpdfurl": {
  17701. "description": "签约pdf文件",
  17702. "type": "string"
  17703. },
  17704. "telphone": {
  17705. "description": "联系电话(加密存储)",
  17706. "type": "string"
  17707. },
  17708. "userid": {
  17709. "description": "用户ID",
  17710. "type": "integer"
  17711. },
  17712. "userinfotype": {
  17713. "description": "用户信息类型 - 1:个人 2:企业",
  17714. "type": "integer"
  17715. },
  17716. "userstatus": {
  17717. "description": "用户状态 - 1:正常 2:注销",
  17718. "type": "integer"
  17719. },
  17720. "usertype": {
  17721. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17722. "type": "integer"
  17723. },
  17724. "wechat": {
  17725. "description": "微信(加密存储)",
  17726. "type": "string"
  17727. },
  17728. "wskhinfo": {
  17729. "description": "开户申请信息(JSON)",
  17730. "type": "string"
  17731. }
  17732. }
  17733. },
  17734. "models.WRCategoryTree": {
  17735. "type": "object",
  17736. "required": [
  17737. "categoryid"
  17738. ],
  17739. "properties": {
  17740. "areauserid": {
  17741. "description": "所属机构",
  17742. "type": "integer"
  17743. },
  17744. "categorydesc": {
  17745. "description": "类别描述",
  17746. "type": "string"
  17747. },
  17748. "categoryid": {
  17749. "description": "类别ID(SEQ_WRCATEGORY)",
  17750. "type": "integer"
  17751. },
  17752. "categoryname": {
  17753. "description": "类别名称",
  17754. "type": "string"
  17755. },
  17756. "iconurl": {
  17757. "description": "图标地址",
  17758. "type": "string"
  17759. },
  17760. "orderindex": {
  17761. "description": "顺序",
  17762. "type": "integer"
  17763. },
  17764. "parentcategoryid": {
  17765. "description": "父类别ID",
  17766. "type": "integer"
  17767. },
  17768. "subcategory": {
  17769. "description": "子分类",
  17770. "type": "array",
  17771. "items": {
  17772. "$ref": "#/definitions/models.WRCategoryTree"
  17773. }
  17774. }
  17775. }
  17776. },
  17777. "models.WRSConverTDetail": {
  17778. "type": "object",
  17779. "properties": {
  17780. "convertratio": {
  17781. "description": "套保系数",
  17782. "type": "number"
  17783. },
  17784. "deliverygoodsid": {
  17785. "description": "现货品种ID",
  17786. "type": "integer"
  17787. },
  17788. "middlegoodscode": {
  17789. "description": "套保品种代码",
  17790. "type": "string"
  17791. },
  17792. "middlegoodsid": {
  17793. "description": "套保品种ID",
  17794. "type": "integer"
  17795. },
  17796. "middlegoodsname": {
  17797. "description": "套保品种名称",
  17798. "type": "string"
  17799. },
  17800. "modifytime": {
  17801. "description": "修改时间",
  17802. "type": "string"
  17803. },
  17804. "wrstandardid": {
  17805. "description": "现货商品ID",
  17806. "type": "integer"
  17807. }
  17808. }
  17809. },
  17810. "models.WRStandardInfo": {
  17811. "type": "object",
  17812. "required": [
  17813. "wrstandardid"
  17814. ],
  17815. "properties": {
  17816. "createtime": {
  17817. "description": "创建时间",
  17818. "type": "string"
  17819. },
  17820. "creatorid": {
  17821. "description": "创建人",
  17822. "type": "integer"
  17823. },
  17824. "deliverygoodsid": {
  17825. "description": "品种ID",
  17826. "type": "integer"
  17827. },
  17828. "deliverygoodsname": {
  17829. "description": "交割商品名称",
  17830. "type": "string"
  17831. },
  17832. "factoryitemjson": {
  17833. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17834. "type": "string"
  17835. },
  17836. "isvalid": {
  17837. "description": "是否有效 - 0:无效 1:有效",
  17838. "type": "integer"
  17839. },
  17840. "minivalue": {
  17841. "description": "最小变动值",
  17842. "type": "integer"
  17843. },
  17844. "minivaluedp": {
  17845. "description": "最小变动值小数位",
  17846. "type": "integer"
  17847. },
  17848. "realminivalue": {
  17849. "description": "实际最小变动值",
  17850. "type": "integer"
  17851. },
  17852. "realminivaluedp": {
  17853. "description": "实际最小变动值小数位",
  17854. "type": "integer"
  17855. },
  17856. "unitid": {
  17857. "description": "单位ID",
  17858. "type": "integer"
  17859. },
  17860. "unitname": {
  17861. "description": "单位",
  17862. "type": "string"
  17863. },
  17864. "updatetime": {
  17865. "description": "更新时间",
  17866. "type": "string"
  17867. },
  17868. "updatorid": {
  17869. "description": "更新人",
  17870. "type": "integer"
  17871. },
  17872. "wrsstatus": {
  17873. "description": "状态 - 作废 - 0:未激活 1:正常",
  17874. "type": "integer"
  17875. },
  17876. "wrstandardcode": {
  17877. "description": "仓单标准代码",
  17878. "type": "string"
  17879. },
  17880. "wrstandardid": {
  17881. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17882. "type": "integer"
  17883. },
  17884. "wrstandardname": {
  17885. "description": "仓单标准名称",
  17886. "type": "string"
  17887. }
  17888. }
  17889. },
  17890. "models.Warehouseinfo": {
  17891. "type": "object",
  17892. "required": [
  17893. "autoid",
  17894. "warehousecode"
  17895. ],
  17896. "properties": {
  17897. "address": {
  17898. "description": "详细地址",
  17899. "type": "string"
  17900. },
  17901. "areauserid": {
  17902. "description": "所属机构",
  17903. "type": "integer"
  17904. },
  17905. "autoid": {
  17906. "description": "自增ID",
  17907. "type": "integer"
  17908. },
  17909. "cityid": {
  17910. "description": "市",
  17911. "type": "integer"
  17912. },
  17913. "contactname": {
  17914. "description": "联系人",
  17915. "type": "string"
  17916. },
  17917. "contactnum": {
  17918. "description": "联系电话",
  17919. "type": "string"
  17920. },
  17921. "countryid": {
  17922. "description": "国家",
  17923. "type": "integer"
  17924. },
  17925. "createtime": {
  17926. "description": "创建时间",
  17927. "type": "string"
  17928. },
  17929. "districtid": {
  17930. "description": "区",
  17931. "type": "integer"
  17932. },
  17933. "hasvideo": {
  17934. "description": "是否有视频 - 0:无 1:有",
  17935. "type": "integer"
  17936. },
  17937. "provinceid": {
  17938. "description": "省",
  17939. "type": "integer"
  17940. },
  17941. "remark": {
  17942. "description": "审核备注",
  17943. "type": "string"
  17944. },
  17945. "videourl": {
  17946. "description": "视频地址",
  17947. "type": "string"
  17948. },
  17949. "warehousecode": {
  17950. "description": "仓库代码",
  17951. "type": "string"
  17952. },
  17953. "warehousename": {
  17954. "description": "仓库名称",
  17955. "type": "string"
  17956. },
  17957. "warehousestatus": {
  17958. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17959. "type": "integer"
  17960. },
  17961. "warehousetype": {
  17962. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17963. "type": "integer"
  17964. }
  17965. }
  17966. },
  17967. "order.QueryHisTradeDetailRsp": {
  17968. "type": "object",
  17969. "required": [
  17970. "accountid",
  17971. "buyorsell",
  17972. "goodsid",
  17973. "histradedate",
  17974. "marketid",
  17975. "memberuserid",
  17976. "orderid",
  17977. "tradeamount",
  17978. "tradedate",
  17979. "tradeid",
  17980. "tradeprice",
  17981. "tradeqty",
  17982. "tradetime"
  17983. ],
  17984. "properties": {
  17985. "accountid": {
  17986. "description": "账户ID[报价币种]",
  17987. "type": "integer"
  17988. },
  17989. "buildtype": {
  17990. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17991. "type": "integer"
  17992. },
  17993. "buyorsell": {
  17994. "description": "方向 - 0:买 1:卖",
  17995. "type": "integer"
  17996. },
  17997. "charge": {
  17998. "description": "手续费",
  17999. "type": "number"
  18000. },
  18001. "closecharge": {
  18002. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18003. "type": "number"
  18004. },
  18005. "closeexchagechargevalue": {
  18006. "description": "平仓交易所手续费设置值",
  18007. "type": "number"
  18008. },
  18009. "closefeealgorithm": {
  18010. "description": "平仓手续费收取方式 1:比率 2:固定",
  18011. "type": "integer"
  18012. },
  18013. "closememberchargevalue": {
  18014. "description": "平仓会员手续费设置值",
  18015. "type": "number"
  18016. },
  18017. "closepl": {
  18018. "description": "平仓盈亏",
  18019. "type": "number"
  18020. },
  18021. "closepl2": {
  18022. "description": "平仓盈亏[逐笔]",
  18023. "type": "number"
  18024. },
  18025. "closeqty": {
  18026. "description": "平仓数量(先建后平操作 需要记录)",
  18027. "type": "integer"
  18028. },
  18029. "creditamount": {
  18030. "description": "授信金额",
  18031. "type": "number"
  18032. },
  18033. "gcaccountid": {
  18034. "description": "账户ID[合约币种]",
  18035. "type": "integer"
  18036. },
  18037. "goodscode": {
  18038. "description": "商品代码",
  18039. "type": "string"
  18040. },
  18041. "goodsid": {
  18042. "description": "商品ID",
  18043. "type": "integer"
  18044. },
  18045. "goodsname": {
  18046. "description": "商品名称",
  18047. "type": "string"
  18048. },
  18049. "histradedate": {
  18050. "description": "历史交易日",
  18051. "type": "string"
  18052. },
  18053. "intclosepl": {
  18054. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18055. "type": "integer"
  18056. },
  18057. "isconfirmexercise": {
  18058. "description": "是否确认行权- 0:否 1:是",
  18059. "type": "integer"
  18060. },
  18061. "ismain": {
  18062. "description": "是否主单 - 0:不是 1:是",
  18063. "type": "integer"
  18064. },
  18065. "ispreexercise": {
  18066. "description": "是否预申报- 0:否 1:是",
  18067. "type": "integer"
  18068. },
  18069. "isreckoned": {
  18070. "description": "是否结算 - 0:未结算 1:已结算",
  18071. "type": "integer"
  18072. },
  18073. "isvaliddata": {
  18074. "description": "是否有效 - 0:无效 1:有效",
  18075. "type": "integer"
  18076. },
  18077. "listingselecttype": {
  18078. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18079. "type": "integer"
  18080. },
  18081. "marketid": {
  18082. "description": "市场ID",
  18083. "type": "integer"
  18084. },
  18085. "marketname": {
  18086. "description": "市场名称",
  18087. "type": "string"
  18088. },
  18089. "matchaccountid": {
  18090. "description": "对手账号id",
  18091. "type": "integer"
  18092. },
  18093. "memberuserid": {
  18094. "description": "会员id 个人投资者 需要填写",
  18095. "type": "integer"
  18096. },
  18097. "opencharge": {
  18098. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18099. "type": "number"
  18100. },
  18101. "openexchagechargevalue": {
  18102. "description": "建仓交易所手续费设置值",
  18103. "type": "number"
  18104. },
  18105. "openfeealgorithm": {
  18106. "description": "建仓手续费收取方式 1:比率 2:固定",
  18107. "type": "integer"
  18108. },
  18109. "openmemberchargevalue": {
  18110. "description": "建仓会员手续费设置值",
  18111. "type": "number"
  18112. },
  18113. "openqty": {
  18114. "description": "开仓数量(先建后平操作 需要记录)",
  18115. "type": "integer"
  18116. },
  18117. "optiontype": {
  18118. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18119. "type": "integer"
  18120. },
  18121. "orderid": {
  18122. "description": "委托单号",
  18123. "type": "string"
  18124. },
  18125. "performanceplanid": {
  18126. "description": "履约计划ID[期权]",
  18127. "type": "integer"
  18128. },
  18129. "performancestatus": {
  18130. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18131. "type": "integer"
  18132. },
  18133. "preexerciseprice": {
  18134. "description": "预申报价格",
  18135. "type": "number"
  18136. },
  18137. "premium": {
  18138. "description": "权利金 - [持仓单的权利金]",
  18139. "type": "number"
  18140. },
  18141. "relatedouttradeid": {
  18142. "description": "关联外部成交单ID",
  18143. "type": "integer"
  18144. },
  18145. "status": {
  18146. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18147. "type": "integer"
  18148. },
  18149. "tradeamount": {
  18150. "description": "成交金额[账户币种,用于所有权]",
  18151. "type": "number"
  18152. },
  18153. "tradedate": {
  18154. "description": "交易日(yyyyMMdd)",
  18155. "type": "string"
  18156. },
  18157. "tradeid": {
  18158. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18159. "type": "string"
  18160. },
  18161. "trademode": {
  18162. "description": "交易模式",
  18163. "type": "integer"
  18164. },
  18165. "tradeprice": {
  18166. "description": "成交价格",
  18167. "type": "number"
  18168. },
  18169. "tradeproperty": {
  18170. "description": "交易属性",
  18171. "type": "integer"
  18172. },
  18173. "tradeqty": {
  18174. "description": "成交数量",
  18175. "type": "integer"
  18176. },
  18177. "tradetime": {
  18178. "description": "成交时间",
  18179. "type": "string"
  18180. },
  18181. "tradetype": {
  18182. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18183. "type": "integer"
  18184. }
  18185. }
  18186. },
  18187. "order.QueryHisTradeOrderDetailRsp": {
  18188. "type": "object",
  18189. "required": [
  18190. "accountid",
  18191. "buildtype",
  18192. "buyorsell",
  18193. "goodsid",
  18194. "histradedate",
  18195. "marketid",
  18196. "memberuserid",
  18197. "operatetype",
  18198. "orderid",
  18199. "orderqty",
  18200. "ordertime",
  18201. "pricemode",
  18202. "tradedate",
  18203. "validtype"
  18204. ],
  18205. "properties": {
  18206. "accountid": {
  18207. "description": "账户ID[报价币种]",
  18208. "type": "integer"
  18209. },
  18210. "buildtype": {
  18211. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18212. "type": "integer"
  18213. },
  18214. "buyorsell": {
  18215. "description": "买卖 - 0:买 1:卖",
  18216. "type": "integer"
  18217. },
  18218. "cancelorderid": {
  18219. "description": "撤单单号(撤单时填写)",
  18220. "type": "string"
  18221. },
  18222. "cancelqty": {
  18223. "description": "撤单数量",
  18224. "type": "integer"
  18225. },
  18226. "clientordertime": {
  18227. "description": "客户端委托时间",
  18228. "type": "string"
  18229. },
  18230. "clientticket": {
  18231. "description": "客户端流水号",
  18232. "type": "string"
  18233. },
  18234. "clienttype": {
  18235. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18236. "type": "integer"
  18237. },
  18238. "closeexchagechargevalue": {
  18239. "description": "平仓交易所手续费设置值",
  18240. "type": "number"
  18241. },
  18242. "closefeealgorithm": {
  18243. "description": "平仓手续费收取方式 1:比率 2:固定",
  18244. "type": "integer"
  18245. },
  18246. "closefreezecharge": {
  18247. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18248. "type": "number"
  18249. },
  18250. "closememberchargevalue": {
  18251. "description": "平仓会员手续费设置值",
  18252. "type": "number"
  18253. },
  18254. "closeqty": {
  18255. "description": "平仓数量(先建后平操作 需要记录)",
  18256. "type": "integer"
  18257. },
  18258. "closetradeqty": {
  18259. "description": "平仓成交数量(先建后平操作,需要记录)",
  18260. "type": "integer"
  18261. },
  18262. "closeunfreezecharge": {
  18263. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18264. "type": "number"
  18265. },
  18266. "delistingtype": {
  18267. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18268. "type": "integer"
  18269. },
  18270. "freezecharge": {
  18271. "description": "冻结手续费",
  18272. "type": "number"
  18273. },
  18274. "freezemargin": {
  18275. "description": "冻结保证金(冻结交易金额)",
  18276. "type": "number"
  18277. },
  18278. "gcaccountid": {
  18279. "description": "账户ID[合约币种]",
  18280. "type": "integer"
  18281. },
  18282. "goodscode": {
  18283. "description": "商品代码",
  18284. "type": "string"
  18285. },
  18286. "goodsid": {
  18287. "description": "商品ID",
  18288. "type": "integer"
  18289. },
  18290. "goodsname": {
  18291. "description": "商品名称",
  18292. "type": "string"
  18293. },
  18294. "histradedate": {
  18295. "description": "历史交易日",
  18296. "type": "string"
  18297. },
  18298. "isconfirmexercise": {
  18299. "description": "是否确认行权- 0:否 1:是",
  18300. "type": "integer"
  18301. },
  18302. "ispreexercise": {
  18303. "description": "是否预申报- 0:否 1:是",
  18304. "type": "integer"
  18305. },
  18306. "isvaliddata": {
  18307. "description": "是否有效 - 0:无效 1:有效",
  18308. "type": "integer"
  18309. },
  18310. "listingselecttype": {
  18311. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18312. "type": "integer"
  18313. },
  18314. "marginalgorithm": {
  18315. "description": "保证金收取方式 1:比率 2:固定",
  18316. "type": "integer"
  18317. },
  18318. "marginvalue": {
  18319. "description": "即市保证金设置值",
  18320. "type": "number"
  18321. },
  18322. "marketid": {
  18323. "description": "市场ID",
  18324. "type": "integer"
  18325. },
  18326. "marketmaxsub": {
  18327. "description": "市价最大偏移范围",
  18328. "type": "number"
  18329. },
  18330. "marketname": {
  18331. "description": "市场名称",
  18332. "type": "string"
  18333. },
  18334. "memberuserid": {
  18335. "description": "所属会员UserID",
  18336. "type": "integer"
  18337. },
  18338. "openexchagechargevalue": {
  18339. "description": "建仓交易所手续费设置值",
  18340. "type": "number"
  18341. },
  18342. "openfeealgorithm": {
  18343. "description": "建仓手续费收取方式 1:比率 2:固定",
  18344. "type": "integer"
  18345. },
  18346. "openfreezecharge": {
  18347. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18348. "type": "number"
  18349. },
  18350. "openmemberchargevalue": {
  18351. "description": "建仓会员手续费设置值",
  18352. "type": "number"
  18353. },
  18354. "openqty": {
  18355. "description": "开仓数量(先建后平操作,需要记录)",
  18356. "type": "integer"
  18357. },
  18358. "opentradeqty": {
  18359. "description": "开仓成交数量(先建后平操作,需要记录)",
  18360. "type": "integer"
  18361. },
  18362. "openunfreezecharge": {
  18363. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18364. "type": "number"
  18365. },
  18366. "operatetype": {
  18367. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18368. "type": "integer"
  18369. },
  18370. "operatorid": {
  18371. "description": "登录账号(LoginID)",
  18372. "type": "integer"
  18373. },
  18374. "optiontype": {
  18375. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18376. "type": "integer"
  18377. },
  18378. "orderid": {
  18379. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18380. "type": "string"
  18381. },
  18382. "orderprice": {
  18383. "description": "委托价格",
  18384. "type": "number"
  18385. },
  18386. "orderqty": {
  18387. "description": "委托数量",
  18388. "type": "integer"
  18389. },
  18390. "ordersrc": {
  18391. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18392. "type": "integer"
  18393. },
  18394. "orderstatus": {
  18395. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18396. "type": "integer"
  18397. },
  18398. "ordertime": {
  18399. "description": "委托时间",
  18400. "type": "string"
  18401. },
  18402. "preexerciseprice": {
  18403. "description": "预申报价格",
  18404. "type": "number"
  18405. },
  18406. "premium": {
  18407. "description": "权利金",
  18408. "type": "number"
  18409. },
  18410. "preorderid": {
  18411. "description": "关联预埋单号(止盈止损单时填写)",
  18412. "type": "string"
  18413. },
  18414. "pricemode": {
  18415. "description": "取价方式 - 1:市价 2: 限价",
  18416. "type": "integer"
  18417. },
  18418. "quoteid": {
  18419. "description": "报价单ID",
  18420. "type": "integer"
  18421. },
  18422. "relatedid": {
  18423. "description": "关联单号(交割单)",
  18424. "type": "string"
  18425. },
  18426. "retcode": {
  18427. "description": "错误代码",
  18428. "type": "integer"
  18429. },
  18430. "sessionid": {
  18431. "description": "会话ID",
  18432. "type": "integer"
  18433. },
  18434. "tradedate": {
  18435. "description": "交易日(yyyyMMdd)",
  18436. "type": "string"
  18437. },
  18438. "trademode": {
  18439. "description": "交易模式",
  18440. "type": "integer"
  18441. },
  18442. "tradeproperty": {
  18443. "description": "交易属性",
  18444. "type": "integer"
  18445. },
  18446. "tradeqty": {
  18447. "description": "成交数量",
  18448. "type": "integer"
  18449. },
  18450. "unfreezecharge": {
  18451. "description": "解冻手续费",
  18452. "type": "number"
  18453. },
  18454. "unfreezemargin": {
  18455. "description": "解冻保证金",
  18456. "type": "number"
  18457. },
  18458. "updatetime": {
  18459. "description": "更新时间",
  18460. "type": "string"
  18461. },
  18462. "uuid": {
  18463. "description": "发起端唯一id",
  18464. "type": "string"
  18465. },
  18466. "validtime": {
  18467. "description": "有效期限",
  18468. "type": "string"
  18469. },
  18470. "validtype": {
  18471. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18472. "type": "integer"
  18473. },
  18474. "volumetype": {
  18475. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18476. "type": "integer"
  18477. }
  18478. }
  18479. },
  18480. "order.QueryTradeDetailRsp": {
  18481. "type": "object",
  18482. "required": [
  18483. "accountid",
  18484. "buyorsell",
  18485. "goodsid",
  18486. "marketid",
  18487. "memberuserid",
  18488. "orderid",
  18489. "tradeamount",
  18490. "tradedate",
  18491. "tradeid",
  18492. "tradeprice",
  18493. "tradeqty",
  18494. "tradetime"
  18495. ],
  18496. "properties": {
  18497. "accountid": {
  18498. "description": "账户ID[报价币种]",
  18499. "type": "integer"
  18500. },
  18501. "buildtype": {
  18502. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18503. "type": "integer"
  18504. },
  18505. "buyorsell": {
  18506. "description": "方向 - 0:买 1:卖",
  18507. "type": "integer"
  18508. },
  18509. "charge": {
  18510. "description": "手续费",
  18511. "type": "number"
  18512. },
  18513. "closecharge": {
  18514. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18515. "type": "number"
  18516. },
  18517. "closeexchagechargevalue": {
  18518. "description": "平仓交易所手续费设置值",
  18519. "type": "number"
  18520. },
  18521. "closefeealgorithm": {
  18522. "description": "平仓手续费收取方式 1:比率 2:固定",
  18523. "type": "integer"
  18524. },
  18525. "closememberchargevalue": {
  18526. "description": "平仓会员手续费设置值",
  18527. "type": "number"
  18528. },
  18529. "closepl": {
  18530. "description": "平仓盈亏",
  18531. "type": "number"
  18532. },
  18533. "closepl2": {
  18534. "description": "平仓盈亏[逐笔]",
  18535. "type": "number"
  18536. },
  18537. "closeqty": {
  18538. "description": "平仓数量(先建后平操作 需要记录)",
  18539. "type": "integer"
  18540. },
  18541. "creditamount": {
  18542. "description": "授信金额",
  18543. "type": "number"
  18544. },
  18545. "gcaccountid": {
  18546. "description": "账户ID[合约币种]",
  18547. "type": "integer"
  18548. },
  18549. "goodscode": {
  18550. "description": "商品代码",
  18551. "type": "string"
  18552. },
  18553. "goodsid": {
  18554. "description": "商品ID",
  18555. "type": "integer"
  18556. },
  18557. "goodsname": {
  18558. "description": "商品名称",
  18559. "type": "string"
  18560. },
  18561. "intclosepl": {
  18562. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18563. "type": "integer"
  18564. },
  18565. "isconfirmexercise": {
  18566. "description": "是否确认行权- 0:否 1:是",
  18567. "type": "integer"
  18568. },
  18569. "ismain": {
  18570. "description": "是否主单 - 0:不是 1:是",
  18571. "type": "integer"
  18572. },
  18573. "ispreexercise": {
  18574. "description": "是否预申报- 0:否 1:是",
  18575. "type": "integer"
  18576. },
  18577. "isreckoned": {
  18578. "description": "是否结算 - 0:未结算 1:已结算",
  18579. "type": "integer"
  18580. },
  18581. "listingselecttype": {
  18582. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18583. "type": "integer"
  18584. },
  18585. "marketid": {
  18586. "description": "市场ID",
  18587. "type": "integer"
  18588. },
  18589. "marketname": {
  18590. "description": "市场名称",
  18591. "type": "string"
  18592. },
  18593. "matchaccountid": {
  18594. "description": "对手账号id",
  18595. "type": "integer"
  18596. },
  18597. "memberuserid": {
  18598. "description": "会员id 个人投资者 需要填写",
  18599. "type": "integer"
  18600. },
  18601. "opencharge": {
  18602. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18603. "type": "number"
  18604. },
  18605. "openexchagechargevalue": {
  18606. "description": "建仓交易所手续费设置值",
  18607. "type": "number"
  18608. },
  18609. "openfeealgorithm": {
  18610. "description": "建仓手续费收取方式 1:比率 2:固定",
  18611. "type": "integer"
  18612. },
  18613. "openmemberchargevalue": {
  18614. "description": "建仓会员手续费设置值",
  18615. "type": "number"
  18616. },
  18617. "openqty": {
  18618. "description": "开仓数量(先建后平操作 需要记录)",
  18619. "type": "integer"
  18620. },
  18621. "optiontype": {
  18622. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18623. "type": "integer"
  18624. },
  18625. "orderid": {
  18626. "description": "委托单号",
  18627. "type": "string"
  18628. },
  18629. "performanceplanid": {
  18630. "description": "履约计划ID[期权]",
  18631. "type": "integer"
  18632. },
  18633. "performancestatus": {
  18634. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18635. "type": "integer"
  18636. },
  18637. "preexerciseprice": {
  18638. "description": "预申报价格",
  18639. "type": "number"
  18640. },
  18641. "premium": {
  18642. "description": "权利金 - [持仓单的权利金]",
  18643. "type": "number"
  18644. },
  18645. "relatedouttradeid": {
  18646. "description": "关联外部成交单ID",
  18647. "type": "integer"
  18648. },
  18649. "status": {
  18650. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18651. "type": "integer"
  18652. },
  18653. "tradeamount": {
  18654. "description": "成交金额[账户币种,用于所有权]",
  18655. "type": "number"
  18656. },
  18657. "tradedate": {
  18658. "description": "交易日(yyyyMMdd)",
  18659. "type": "string"
  18660. },
  18661. "tradeid": {
  18662. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18663. "type": "string"
  18664. },
  18665. "trademode": {
  18666. "description": "交易模式",
  18667. "type": "integer"
  18668. },
  18669. "tradeprice": {
  18670. "description": "成交价格",
  18671. "type": "number"
  18672. },
  18673. "tradeproperty": {
  18674. "description": "交易属性",
  18675. "type": "integer"
  18676. },
  18677. "tradeqty": {
  18678. "description": "成交数量",
  18679. "type": "integer"
  18680. },
  18681. "tradetime": {
  18682. "description": "成交时间",
  18683. "type": "string"
  18684. },
  18685. "tradetype": {
  18686. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18687. "type": "integer"
  18688. }
  18689. }
  18690. },
  18691. "order.QueryTradeOrderDetailRsp": {
  18692. "type": "object",
  18693. "required": [
  18694. "accountid",
  18695. "buildtype",
  18696. "buyorsell",
  18697. "goodsid",
  18698. "marketid",
  18699. "operatetype",
  18700. "orderqty",
  18701. "ordertime",
  18702. "pricemode",
  18703. "tradedate",
  18704. "validtype"
  18705. ],
  18706. "properties": {
  18707. "accountid": {
  18708. "description": "账户ID[报价币种]",
  18709. "type": "integer"
  18710. },
  18711. "buildtype": {
  18712. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18713. "type": "integer"
  18714. },
  18715. "buyorsell": {
  18716. "description": "买卖 - 0:买 1:卖",
  18717. "type": "integer"
  18718. },
  18719. "cancelorderid": {
  18720. "description": "撤单单号(撤单时填写)",
  18721. "type": "string"
  18722. },
  18723. "cancelqty": {
  18724. "description": "撤单数量",
  18725. "type": "integer"
  18726. },
  18727. "clienttype": {
  18728. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18729. "type": "integer"
  18730. },
  18731. "closefreezecharge": {
  18732. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18733. "type": "number"
  18734. },
  18735. "closeqty": {
  18736. "description": "平仓数量(先建后平操作 需要记录)",
  18737. "type": "integer"
  18738. },
  18739. "closetradeqty": {
  18740. "description": "平仓成交数量(先建后平操作,需要记录)",
  18741. "type": "integer"
  18742. },
  18743. "closeunfreezecharge": {
  18744. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18745. "type": "number"
  18746. },
  18747. "delistingtype": {
  18748. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18749. "type": "integer"
  18750. },
  18751. "enableqty": {
  18752. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18753. "type": "integer"
  18754. },
  18755. "freezecharge": {
  18756. "description": "冻结手续费",
  18757. "type": "number"
  18758. },
  18759. "freezemargin": {
  18760. "description": "冻结保证金(冻结交易金额)",
  18761. "type": "number"
  18762. },
  18763. "goodscode": {
  18764. "description": "商品代码",
  18765. "type": "string"
  18766. },
  18767. "goodsid": {
  18768. "description": "商品ID",
  18769. "type": "integer"
  18770. },
  18771. "goodsname": {
  18772. "description": "商品名称",
  18773. "type": "string"
  18774. },
  18775. "listingselecttype": {
  18776. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18777. "type": "integer"
  18778. },
  18779. "marketid": {
  18780. "description": "市场ID",
  18781. "type": "integer"
  18782. },
  18783. "marketname": {
  18784. "description": "市场名称",
  18785. "type": "string"
  18786. },
  18787. "openfreezecharge": {
  18788. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18789. "type": "number"
  18790. },
  18791. "openqty": {
  18792. "description": "开仓数量(先建后平操作,需要记录)",
  18793. "type": "integer"
  18794. },
  18795. "opentradeqty": {
  18796. "description": "开仓成交数量(先建后平操作,需要记录)",
  18797. "type": "integer"
  18798. },
  18799. "openunfreezecharge": {
  18800. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18801. "type": "number"
  18802. },
  18803. "operatetype": {
  18804. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18805. "type": "integer"
  18806. },
  18807. "operatorid": {
  18808. "description": "登录账号(LoginID)",
  18809. "type": "integer"
  18810. },
  18811. "orderid": {
  18812. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18813. "type": "string"
  18814. },
  18815. "orderprice": {
  18816. "description": "委托价格",
  18817. "type": "number"
  18818. },
  18819. "orderqty": {
  18820. "description": "委托数量",
  18821. "type": "integer"
  18822. },
  18823. "ordersrc": {
  18824. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18825. "type": "integer"
  18826. },
  18827. "orderstatus": {
  18828. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18829. "type": "integer"
  18830. },
  18831. "ordertime": {
  18832. "description": "委托时间",
  18833. "type": "string"
  18834. },
  18835. "preorderid": {
  18836. "description": "关联预埋单号(止盈止损单时填写)",
  18837. "type": "string"
  18838. },
  18839. "pricemode": {
  18840. "description": "取价方式 - 1:市价 2: 限价",
  18841. "type": "integer"
  18842. },
  18843. "relatedid": {
  18844. "description": "关联单号(交割单)",
  18845. "type": "string"
  18846. },
  18847. "tradedate": {
  18848. "description": "交易日(yyyyMMdd)",
  18849. "type": "string"
  18850. },
  18851. "trademode": {
  18852. "description": "交易模式",
  18853. "type": "integer"
  18854. },
  18855. "tradeqty": {
  18856. "description": "成交数量",
  18857. "type": "integer"
  18858. },
  18859. "unfreezecharge": {
  18860. "description": "解冻手续费",
  18861. "type": "number"
  18862. },
  18863. "unfreezemargin": {
  18864. "description": "解冻保证金",
  18865. "type": "number"
  18866. },
  18867. "validtime": {
  18868. "description": "有效期限",
  18869. "type": "string"
  18870. },
  18871. "validtype": {
  18872. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18873. "type": "integer"
  18874. },
  18875. "volumetype": {
  18876. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18877. "type": "integer"
  18878. }
  18879. }
  18880. },
  18881. "order.QueryTradePositionRsp": {
  18882. "type": "object",
  18883. "required": [
  18884. "goodsid"
  18885. ],
  18886. "properties": {
  18887. "accountid": {
  18888. "description": "资金账户",
  18889. "type": "integer"
  18890. },
  18891. "agreeunit": {
  18892. "description": "合约单位",
  18893. "type": "number"
  18894. },
  18895. "averageprice": {
  18896. "description": "持仓均价",
  18897. "type": "number"
  18898. },
  18899. "buyorsell": {
  18900. "description": "方向 - 0:买 1:卖",
  18901. "type": "integer"
  18902. },
  18903. "closetotalqty": {
  18904. "description": "平仓总数量",
  18905. "type": "integer"
  18906. },
  18907. "curholderamount": {
  18908. "description": "当前持仓总金额[商品币种]",
  18909. "type": "number"
  18910. },
  18911. "curpositionqty": {
  18912. "description": "当前持仓总数量",
  18913. "type": "integer"
  18914. },
  18915. "currencyid": {
  18916. "description": "报价货币ID",
  18917. "type": "integer"
  18918. },
  18919. "curtdposition": {
  18920. "description": "期末今日头寸",
  18921. "type": "integer"
  18922. },
  18923. "decimalplace": {
  18924. "description": "报价小数位",
  18925. "type": "integer"
  18926. },
  18927. "enableqty": {
  18928. "description": "可用量",
  18929. "type": "integer"
  18930. },
  18931. "fretdposition": {
  18932. "description": "冻结今日头寸",
  18933. "type": "integer"
  18934. },
  18935. "frozenqty": {
  18936. "description": "持仓冻结数量",
  18937. "type": "integer"
  18938. },
  18939. "goodscode": {
  18940. "description": "商品代码",
  18941. "type": "string"
  18942. },
  18943. "goodsid": {
  18944. "description": "商品Id",
  18945. "type": "integer"
  18946. },
  18947. "goodsname": {
  18948. "description": "商品名称",
  18949. "type": "string"
  18950. },
  18951. "goodunit": {
  18952. "description": "报价单位",
  18953. "type": "string"
  18954. },
  18955. "goodunitid": {
  18956. "description": "报价单位ID",
  18957. "type": "integer"
  18958. },
  18959. "holderamount": {
  18960. "description": "期初持仓总金额[商品币种]",
  18961. "type": "number"
  18962. },
  18963. "marketid": {
  18964. "description": "所属市场ID",
  18965. "type": "integer"
  18966. },
  18967. "openreqqty": {
  18968. "description": "开仓申请数量(用于比较最大持仓数量)",
  18969. "type": "integer"
  18970. },
  18971. "opentotalqty": {
  18972. "description": "开仓总数量",
  18973. "type": "integer"
  18974. },
  18975. "otherfrozenqty": {
  18976. "description": "持仓其他冻结数量(交割冻结)",
  18977. "type": "integer"
  18978. },
  18979. "positionqty": {
  18980. "description": "期初持仓数量",
  18981. "type": "integer"
  18982. },
  18983. "tnqty": {
  18984. "description": "T+N冻结总量",
  18985. "type": "integer"
  18986. },
  18987. "tnusedqty": {
  18988. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18989. "type": "integer"
  18990. },
  18991. "trademode": {
  18992. "description": "交易模式",
  18993. "type": "integer"
  18994. },
  18995. "usedmargin": {
  18996. "description": "占用保证金[商品币种]",
  18997. "type": "number"
  18998. }
  18999. }
  19000. },
  19001. "quote.HistoryData": {
  19002. "type": "object",
  19003. "properties": {
  19004. "c": {
  19005. "description": "收盘价",
  19006. "type": "number"
  19007. },
  19008. "f": {
  19009. "description": "是否补充数据",
  19010. "type": "boolean"
  19011. },
  19012. "h": {
  19013. "description": "最高价",
  19014. "type": "number"
  19015. },
  19016. "hv": {
  19017. "description": "持仓量",
  19018. "type": "integer"
  19019. },
  19020. "l": {
  19021. "description": "最低价",
  19022. "type": "number"
  19023. },
  19024. "o": {
  19025. "description": "开盘价",
  19026. "type": "number"
  19027. },
  19028. "s": {
  19029. "description": "结算价,日线周期(包括)以上才有",
  19030. "type": "number"
  19031. },
  19032. "ts": {
  19033. "description": "时间",
  19034. "type": "string"
  19035. },
  19036. "tt": {
  19037. "description": "总金额",
  19038. "type": "number"
  19039. },
  19040. "tv": {
  19041. "description": "总量",
  19042. "type": "integer"
  19043. }
  19044. }
  19045. },
  19046. "quote.HistoryTikData": {
  19047. "type": "object",
  19048. "properties": {
  19049. "AV": {
  19050. "description": "卖量",
  19051. "type": "integer"
  19052. },
  19053. "Ask": {
  19054. "description": "卖价",
  19055. "type": "number"
  19056. },
  19057. "BV": {
  19058. "description": "买量",
  19059. "type": "integer"
  19060. },
  19061. "Bid": {
  19062. "description": "买价",
  19063. "type": "number"
  19064. },
  19065. "HI": {
  19066. "description": "单笔持仓",
  19067. "type": "integer"
  19068. },
  19069. "HV": {
  19070. "description": "持仓量",
  19071. "type": "integer"
  19072. },
  19073. "PE": {
  19074. "description": "现价",
  19075. "type": "number"
  19076. },
  19077. "TDR": {
  19078. "description": "交易方向,0:买 1:卖",
  19079. "type": "integer"
  19080. },
  19081. "TK": {
  19082. "description": "交易类型",
  19083. "type": "integer"
  19084. },
  19085. "TS": {
  19086. "description": "行情时间文本",
  19087. "type": "string"
  19088. },
  19089. "TT": {
  19090. "description": "现金额",
  19091. "type": "number"
  19092. },
  19093. "Vol": {
  19094. "description": "现量",
  19095. "type": "integer"
  19096. }
  19097. }
  19098. },
  19099. "quote.QueryQuoteDayRsp": {
  19100. "type": "object",
  19101. "properties": {
  19102. "ask": {
  19103. "description": "卖1",
  19104. "type": "number"
  19105. },
  19106. "ask10": {
  19107. "description": "卖10",
  19108. "type": "number"
  19109. },
  19110. "ask2": {
  19111. "description": "卖2",
  19112. "type": "number"
  19113. },
  19114. "ask3": {
  19115. "description": "卖3",
  19116. "type": "number"
  19117. },
  19118. "ask4": {
  19119. "description": "卖4",
  19120. "type": "number"
  19121. },
  19122. "ask5": {
  19123. "description": "卖5",
  19124. "type": "number"
  19125. },
  19126. "ask6": {
  19127. "description": "卖6",
  19128. "type": "number"
  19129. },
  19130. "ask7": {
  19131. "description": "卖7",
  19132. "type": "number"
  19133. },
  19134. "ask8": {
  19135. "description": "卖8",
  19136. "type": "number"
  19137. },
  19138. "ask9": {
  19139. "description": "卖9",
  19140. "type": "number"
  19141. },
  19142. "askorderid": {
  19143. "description": "卖单号1",
  19144. "type": "integer"
  19145. },
  19146. "askorderid2": {
  19147. "description": "卖单号2",
  19148. "type": "integer"
  19149. },
  19150. "askorderid3": {
  19151. "description": "卖单号3",
  19152. "type": "integer"
  19153. },
  19154. "askorderid4": {
  19155. "description": "卖单号4",
  19156. "type": "integer"
  19157. },
  19158. "askorderid5": {
  19159. "description": "卖单号5",
  19160. "type": "integer"
  19161. },
  19162. "askordervolume": {
  19163. "description": "卖单量1",
  19164. "type": "integer"
  19165. },
  19166. "askordervolume10": {
  19167. "description": "卖单量10",
  19168. "type": "integer"
  19169. },
  19170. "askordervolume2": {
  19171. "description": "卖单量2",
  19172. "type": "integer"
  19173. },
  19174. "askordervolume3": {
  19175. "description": "卖单量3",
  19176. "type": "integer"
  19177. },
  19178. "askordervolume4": {
  19179. "description": "卖单量4",
  19180. "type": "integer"
  19181. },
  19182. "askordervolume5": {
  19183. "description": "卖单量5",
  19184. "type": "integer"
  19185. },
  19186. "askordervolume6": {
  19187. "description": "卖单量6",
  19188. "type": "integer"
  19189. },
  19190. "askordervolume7": {
  19191. "description": "卖单量7",
  19192. "type": "integer"
  19193. },
  19194. "askordervolume8": {
  19195. "description": "卖单量8",
  19196. "type": "integer"
  19197. },
  19198. "askordervolume9": {
  19199. "description": "卖单量9",
  19200. "type": "integer"
  19201. },
  19202. "askqueueinfo": {
  19203. "description": "大利市卖港股用",
  19204. "type": "string"
  19205. },
  19206. "askvolume": {
  19207. "description": "卖量1",
  19208. "type": "integer"
  19209. },
  19210. "askvolume10": {
  19211. "description": "卖量10",
  19212. "type": "integer"
  19213. },
  19214. "askvolume2": {
  19215. "description": "卖量2",
  19216. "type": "integer"
  19217. },
  19218. "askvolume3": {
  19219. "description": "卖量3",
  19220. "type": "integer"
  19221. },
  19222. "askvolume4": {
  19223. "description": "卖量4",
  19224. "type": "integer"
  19225. },
  19226. "askvolume5": {
  19227. "description": "卖量5",
  19228. "type": "integer"
  19229. },
  19230. "askvolume6": {
  19231. "description": "卖量6",
  19232. "type": "integer"
  19233. },
  19234. "askvolume7": {
  19235. "description": "卖量7",
  19236. "type": "integer"
  19237. },
  19238. "askvolume8": {
  19239. "description": "卖量8",
  19240. "type": "integer"
  19241. },
  19242. "askvolume9": {
  19243. "description": "卖量9",
  19244. "type": "integer"
  19245. },
  19246. "averageprice": {
  19247. "description": "均价",
  19248. "type": "number"
  19249. },
  19250. "bid": {
  19251. "description": "买1",
  19252. "type": "number"
  19253. },
  19254. "bid10": {
  19255. "description": "买10",
  19256. "type": "number"
  19257. },
  19258. "bid2": {
  19259. "description": "买2",
  19260. "type": "number"
  19261. },
  19262. "bid3": {
  19263. "description": "买3",
  19264. "type": "number"
  19265. },
  19266. "bid4": {
  19267. "description": "买4",
  19268. "type": "number"
  19269. },
  19270. "bid5": {
  19271. "description": "买5",
  19272. "type": "number"
  19273. },
  19274. "bid6": {
  19275. "description": "买6",
  19276. "type": "number"
  19277. },
  19278. "bid7": {
  19279. "description": "买7",
  19280. "type": "number"
  19281. },
  19282. "bid8": {
  19283. "description": "买8",
  19284. "type": "number"
  19285. },
  19286. "bid9": {
  19287. "description": "买9",
  19288. "type": "number"
  19289. },
  19290. "bidorderid": {
  19291. "description": "买单号1",
  19292. "type": "integer"
  19293. },
  19294. "bidorderid2": {
  19295. "description": "买单号2",
  19296. "type": "integer"
  19297. },
  19298. "bidorderid3": {
  19299. "description": "买单号3",
  19300. "type": "integer"
  19301. },
  19302. "bidorderid4": {
  19303. "description": "买单号4",
  19304. "type": "integer"
  19305. },
  19306. "bidorderid5": {
  19307. "description": "买单号5",
  19308. "type": "integer"
  19309. },
  19310. "bidordervolume": {
  19311. "description": "买单量1",
  19312. "type": "integer"
  19313. },
  19314. "bidordervolume10": {
  19315. "description": "买单量10",
  19316. "type": "integer"
  19317. },
  19318. "bidordervolume2": {
  19319. "description": "买单量2",
  19320. "type": "integer"
  19321. },
  19322. "bidordervolume3": {
  19323. "description": "买单量3",
  19324. "type": "integer"
  19325. },
  19326. "bidordervolume4": {
  19327. "description": "买单量4",
  19328. "type": "integer"
  19329. },
  19330. "bidordervolume5": {
  19331. "description": "买单量5",
  19332. "type": "integer"
  19333. },
  19334. "bidordervolume6": {
  19335. "description": "买单量6",
  19336. "type": "integer"
  19337. },
  19338. "bidordervolume7": {
  19339. "description": "买单量7",
  19340. "type": "integer"
  19341. },
  19342. "bidordervolume8": {
  19343. "description": "买单量8",
  19344. "type": "integer"
  19345. },
  19346. "bidordervolume9": {
  19347. "description": "买单量9",
  19348. "type": "integer"
  19349. },
  19350. "bidqueueinfo": {
  19351. "description": "大利市买港股用",
  19352. "type": "string"
  19353. },
  19354. "bidvolume": {
  19355. "description": "买量1",
  19356. "type": "integer"
  19357. },
  19358. "bidvolume10": {
  19359. "description": "买量10",
  19360. "type": "integer"
  19361. },
  19362. "bidvolume2": {
  19363. "description": "买量2",
  19364. "type": "integer"
  19365. },
  19366. "bidvolume3": {
  19367. "description": "买量3",
  19368. "type": "integer"
  19369. },
  19370. "bidvolume4": {
  19371. "description": "买量4",
  19372. "type": "integer"
  19373. },
  19374. "bidvolume5": {
  19375. "description": "买量5",
  19376. "type": "integer"
  19377. },
  19378. "bidvolume6": {
  19379. "description": "买量6",
  19380. "type": "integer"
  19381. },
  19382. "bidvolume7": {
  19383. "description": "买量7",
  19384. "type": "integer"
  19385. },
  19386. "bidvolume8": {
  19387. "description": "买量8",
  19388. "type": "integer"
  19389. },
  19390. "bidvolume9": {
  19391. "description": "买量9",
  19392. "type": "integer"
  19393. },
  19394. "calloptionpremiums": {
  19395. "description": "认购期权1",
  19396. "type": "integer"
  19397. },
  19398. "calloptionpremiums2": {
  19399. "description": "认购期权2",
  19400. "type": "integer"
  19401. },
  19402. "calloptionpremiums3": {
  19403. "description": "认购期权3",
  19404. "type": "integer"
  19405. },
  19406. "calloptionpremiums4": {
  19407. "description": "认购期权4",
  19408. "type": "integer"
  19409. },
  19410. "calloptionpremiums5": {
  19411. "description": "认购期权5",
  19412. "type": "integer"
  19413. },
  19414. "cleartime": {
  19415. "description": "清盘时间",
  19416. "type": "integer"
  19417. },
  19418. "exchangecode": {
  19419. "description": "交易所代码",
  19420. "type": "integer"
  19421. },
  19422. "exchangedate": {
  19423. "description": "交易日",
  19424. "type": "integer"
  19425. },
  19426. "goodscode": {
  19427. "description": "商品代码",
  19428. "type": "string"
  19429. },
  19430. "grepmarketprice": {
  19431. "description": "暗盘价 港股专用",
  19432. "type": "number"
  19433. },
  19434. "highest": {
  19435. "description": "最高价",
  19436. "type": "number"
  19437. },
  19438. "holdincrement": {
  19439. "description": "单笔持仓",
  19440. "type": "integer"
  19441. },
  19442. "holdvolume": {
  19443. "description": "持仓",
  19444. "type": "integer"
  19445. },
  19446. "iep": {
  19447. "description": "平衡价 港股专用",
  19448. "type": "number"
  19449. },
  19450. "iev": {
  19451. "description": "平衡量 港股专用",
  19452. "type": "number"
  19453. },
  19454. "inventory": {
  19455. "description": "库存",
  19456. "type": "integer"
  19457. },
  19458. "iscleared": {
  19459. "description": "是否清盘标志",
  19460. "type": "integer"
  19461. },
  19462. "issettled": {
  19463. "description": "是否结算标志",
  19464. "type": "integer"
  19465. },
  19466. "last": {
  19467. "description": "最新价",
  19468. "type": "number"
  19469. },
  19470. "lastlot": {
  19471. "description": "最新成交手数",
  19472. "type": "integer"
  19473. },
  19474. "lasttime": {
  19475. "description": "行情时间(只有现价变化行情时间才变化)",
  19476. "type": "string"
  19477. },
  19478. "lastturnover": {
  19479. "description": "最新成交金额",
  19480. "type": "number"
  19481. },
  19482. "lastvolume": {
  19483. "description": "最新成交量",
  19484. "type": "integer"
  19485. },
  19486. "limitdown": {
  19487. "description": "跌停价",
  19488. "type": "number"
  19489. },
  19490. "limitup": {
  19491. "description": "涨停价",
  19492. "type": "number"
  19493. },
  19494. "lowest": {
  19495. "description": "最低价",
  19496. "type": "number"
  19497. },
  19498. "nontotalholdervolume": {
  19499. "description": "非交易持仓量",
  19500. "type": "integer"
  19501. },
  19502. "nontotallot": {
  19503. "description": "非交易总手数",
  19504. "type": "integer"
  19505. },
  19506. "nontotalturnover": {
  19507. "description": "非交易总金额",
  19508. "type": "integer"
  19509. },
  19510. "nontotalvolume": {
  19511. "description": "非交易总量",
  19512. "type": "integer"
  19513. },
  19514. "opened": {
  19515. "description": "开盘价",
  19516. "type": "number"
  19517. },
  19518. "opentime": {
  19519. "description": "开盘时间",
  19520. "type": "string"
  19521. },
  19522. "orderid": {
  19523. "description": "序号",
  19524. "type": "integer"
  19525. },
  19526. "preclose": {
  19527. "description": "昨收",
  19528. "type": "number"
  19529. },
  19530. "preholdvolume": {
  19531. "description": "昨持仓",
  19532. "type": "integer"
  19533. },
  19534. "presettle": {
  19535. "description": "昨结价",
  19536. "type": "number"
  19537. },
  19538. "publictradetype": {
  19539. "description": "公共交易标志类型 港股专用",
  19540. "type": "string"
  19541. },
  19542. "putoptionpremiums": {
  19543. "description": "认沽期权1",
  19544. "type": "integer"
  19545. },
  19546. "putoptionpremiums2": {
  19547. "description": "认沽期权2",
  19548. "type": "integer"
  19549. },
  19550. "putoptionpremiums3": {
  19551. "description": "认沽期权3",
  19552. "type": "integer"
  19553. },
  19554. "putoptionpremiums4": {
  19555. "description": "认沽期权4",
  19556. "type": "integer"
  19557. },
  19558. "putoptionpremiums5": {
  19559. "description": "认沽期权5",
  19560. "type": "integer"
  19561. },
  19562. "settle": {
  19563. "description": "结算价",
  19564. "type": "number"
  19565. },
  19566. "strikeprice": {
  19567. "description": "发行价",
  19568. "type": "number"
  19569. },
  19570. "totalaskvolume": {
  19571. "description": "内盘",
  19572. "type": "integer"
  19573. },
  19574. "totalbidvolume": {
  19575. "description": "外盘",
  19576. "type": "integer"
  19577. },
  19578. "totallot": {
  19579. "description": "总手数",
  19580. "type": "integer"
  19581. },
  19582. "totalturnover": {
  19583. "description": "总金额",
  19584. "type": "number"
  19585. },
  19586. "totalvolume": {
  19587. "description": "总量",
  19588. "type": "integer"
  19589. },
  19590. "utclasttime": {
  19591. "description": "utc的行情时间",
  19592. "type": "string"
  19593. }
  19594. }
  19595. },
  19596. "quote.QueryTSDataRsp": {
  19597. "type": "object",
  19598. "properties": {
  19599. "decimalPlace": {
  19600. "description": "小数位",
  19601. "type": "integer"
  19602. },
  19603. "endTime": {
  19604. "description": "结束时间",
  19605. "type": "string"
  19606. },
  19607. "goodsCode": {
  19608. "description": "商品代码",
  19609. "type": "string"
  19610. },
  19611. "historyDatas": {
  19612. "description": "历史数据",
  19613. "type": "array",
  19614. "items": {
  19615. "$ref": "#/definitions/quote.HistoryData"
  19616. }
  19617. },
  19618. "outGoodsCode": {
  19619. "description": "外部商品代码",
  19620. "type": "string"
  19621. },
  19622. "preSettle": {
  19623. "description": "昨结价",
  19624. "type": "number"
  19625. },
  19626. "removeCount": {
  19627. "description": "交易日中休市时周期点数",
  19628. "type": "integer"
  19629. },
  19630. "runSteps": {
  19631. "description": "交易日开休市计划",
  19632. "type": "array",
  19633. "items": {
  19634. "$ref": "#/definitions/quote.TSDataRunStep"
  19635. }
  19636. },
  19637. "startTime": {
  19638. "description": "开始时间",
  19639. "type": "string"
  19640. },
  19641. "tradeDate": {
  19642. "description": "交易日",
  19643. "type": "string"
  19644. }
  19645. }
  19646. },
  19647. "quote.TSDataRunStep": {
  19648. "type": "object",
  19649. "properties": {
  19650. "end": {
  19651. "description": "真实结束时间",
  19652. "type": "string"
  19653. },
  19654. "endflag": {
  19655. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  19656. "type": "integer"
  19657. },
  19658. "endtime": {
  19659. "description": "结束时间(HH:mm)",
  19660. "type": "string"
  19661. },
  19662. "endweekday": {
  19663. "description": "结束周几",
  19664. "type": "integer"
  19665. },
  19666. "groupid": {
  19667. "description": "分组ID",
  19668. "type": "integer"
  19669. },
  19670. "runstep": {
  19671. "description": "运行阶段 - 2:连续交易",
  19672. "type": "integer"
  19673. },
  19674. "sectionid": {
  19675. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  19676. "type": "integer"
  19677. },
  19678. "start": {
  19679. "description": "真实开始时间",
  19680. "type": "string"
  19681. },
  19682. "startflag": {
  19683. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  19684. "type": "integer"
  19685. },
  19686. "starttime": {
  19687. "description": "起始时间(HH:mm)",
  19688. "type": "string"
  19689. },
  19690. "startweekday": {
  19691. "description": "起始周几",
  19692. "type": "integer"
  19693. },
  19694. "tradeweekday": {
  19695. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  19696. "type": "integer"
  19697. }
  19698. }
  19699. },
  19700. "szdz.QueryConvertLogRsp": {
  19701. "type": "object",
  19702. "required": [
  19703. "logid"
  19704. ],
  19705. "properties": {
  19706. "accountid": {
  19707. "description": "资金账户ID",
  19708. "type": "integer"
  19709. },
  19710. "clientticket": {
  19711. "description": "客户端流水号",
  19712. "type": "string"
  19713. },
  19714. "converttype": {
  19715. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19716. "type": "integer"
  19717. },
  19718. "createtime": {
  19719. "description": "记账时间",
  19720. "type": "string"
  19721. },
  19722. "daymaxvalue": {
  19723. "description": "配置当日最大转入限制",
  19724. "type": "number"
  19725. },
  19726. "daymaxvalue2": {
  19727. "description": "配置当日最大转入限制(转入)",
  19728. "type": "number"
  19729. },
  19730. "goodscode": {
  19731. "description": "商品代码",
  19732. "type": "string"
  19733. },
  19734. "goodsname": {
  19735. "description": "商品名称",
  19736. "type": "string"
  19737. },
  19738. "handlestatus": {
  19739. "description": "处理状态",
  19740. "type": "integer"
  19741. },
  19742. "innergoodsid": {
  19743. "description": "内部商品ID",
  19744. "type": "integer"
  19745. },
  19746. "inratio": {
  19747. "description": "配置转入比值",
  19748. "type": "integer"
  19749. },
  19750. "invalue": {
  19751. "description": "目标值",
  19752. "type": "number"
  19753. },
  19754. "logid": {
  19755. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19756. "type": "integer"
  19757. },
  19758. "mobile": {
  19759. "description": "手机号码(加密存储)",
  19760. "type": "string"
  19761. },
  19762. "outergoodscode": {
  19763. "description": "外部商品代码[JD\\PD]",
  19764. "type": "string"
  19765. },
  19766. "outratio": {
  19767. "description": "配置转出比值",
  19768. "type": "integer"
  19769. },
  19770. "outvalue": {
  19771. "description": "源值",
  19772. "type": "number"
  19773. },
  19774. "pddecimalplace": {
  19775. "description": "PD小数位",
  19776. "type": "integer"
  19777. },
  19778. "qty": {
  19779. "description": "数量",
  19780. "type": "string"
  19781. },
  19782. "remark": {
  19783. "description": "备注",
  19784. "type": "string"
  19785. },
  19786. "sessionid": {
  19787. "description": "会话ID",
  19788. "type": "integer"
  19789. },
  19790. "timemaxvalue": {
  19791. "description": "配置单次最大转入限制",
  19792. "type": "number"
  19793. },
  19794. "timemaxvalue2": {
  19795. "description": "配置单次最大转入限制(转入)",
  19796. "type": "number"
  19797. },
  19798. "timeminvalue": {
  19799. "description": "配置单次最小数量限制",
  19800. "type": "number"
  19801. },
  19802. "timeminvalue2": {
  19803. "description": "配置单次最小数量限制(转入)",
  19804. "type": "number"
  19805. },
  19806. "tradedate": {
  19807. "description": "交易日(yyyyMMdd)",
  19808. "type": "string"
  19809. },
  19810. "userid": {
  19811. "description": "用户ID",
  19812. "type": "integer"
  19813. }
  19814. }
  19815. },
  19816. "szdz.QueryGoodsPickupRsp": {
  19817. "type": "object",
  19818. "required": [
  19819. "takeorderid"
  19820. ],
  19821. "properties": {
  19822. "accountid": {
  19823. "description": "账户ID",
  19824. "type": "integer"
  19825. },
  19826. "address": {
  19827. "description": "提货人详细地址",
  19828. "type": "string"
  19829. },
  19830. "auditer": {
  19831. "description": "审核人",
  19832. "type": "integer"
  19833. },
  19834. "audittime": {
  19835. "description": "审核时间",
  19836. "type": "string"
  19837. },
  19838. "cardnum": {
  19839. "description": "提货人证件号码",
  19840. "type": "string"
  19841. },
  19842. "cardtypeid": {
  19843. "description": "提货人证件类型",
  19844. "type": "integer"
  19845. },
  19846. "checkremark": {
  19847. "description": "审核备注",
  19848. "type": "string"
  19849. },
  19850. "goodscode": {
  19851. "description": "商品代码",
  19852. "type": "string"
  19853. },
  19854. "goodsid": {
  19855. "description": "商品ID",
  19856. "type": "integer"
  19857. },
  19858. "goodsname": {
  19859. "description": "商品名称",
  19860. "type": "string"
  19861. },
  19862. "handlestatus": {
  19863. "description": "处理状态",
  19864. "type": "integer"
  19865. },
  19866. "marketid": {
  19867. "description": "市场ID",
  19868. "type": "integer"
  19869. },
  19870. "phonenum": {
  19871. "description": "提货人联系方式",
  19872. "type": "string"
  19873. },
  19874. "qty": {
  19875. "description": "提货数量",
  19876. "type": "number"
  19877. },
  19878. "recivername": {
  19879. "description": "提货人姓名",
  19880. "type": "string"
  19881. },
  19882. "reqtime": {
  19883. "description": "更新时间",
  19884. "type": "string"
  19885. },
  19886. "takemode": {
  19887. "description": "提货方式 - 2:自提 3:配送",
  19888. "type": "integer"
  19889. },
  19890. "takeorderid": {
  19891. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19892. "type": "string"
  19893. },
  19894. "takeorderstatus": {
  19895. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19896. "type": "integer"
  19897. },
  19898. "takeremark": {
  19899. "description": "提货备注",
  19900. "type": "string"
  19901. },
  19902. "tradedate": {
  19903. "description": "交易日(yyyyMMdd)",
  19904. "type": "string"
  19905. },
  19906. "userid": {
  19907. "description": "用户ID",
  19908. "type": "integer"
  19909. }
  19910. }
  19911. },
  19912. "szdz.QueryRecieptOrderRsp": {
  19913. "type": "object",
  19914. "required": [
  19915. "ordertime"
  19916. ],
  19917. "properties": {
  19918. "accountName": {
  19919. "description": "所属账号名称(已脱敏)",
  19920. "type": "string"
  19921. },
  19922. "accountid": {
  19923. "description": "资金账号",
  19924. "type": "integer"
  19925. },
  19926. "buyorsell": {
  19927. "description": "方向 - 0:买 1:卖",
  19928. "type": "integer"
  19929. },
  19930. "enableqty": {
  19931. "description": "可摘数量",
  19932. "type": "integer"
  19933. },
  19934. "goodscode": {
  19935. "description": "商品代码",
  19936. "type": "string"
  19937. },
  19938. "goodsid": {
  19939. "description": "商品ID",
  19940. "type": "integer"
  19941. },
  19942. "goodsname": {
  19943. "description": "商品名称",
  19944. "type": "string"
  19945. },
  19946. "orderid": {
  19947. "description": "委托单号",
  19948. "type": "string"
  19949. },
  19950. "orderprice": {
  19951. "description": "委托价格",
  19952. "type": "number"
  19953. },
  19954. "ordertime": {
  19955. "description": "委托时间",
  19956. "type": "string"
  19957. },
  19958. "tradedate": {
  19959. "description": "交易日(yyyyMMdd)",
  19960. "type": "string"
  19961. }
  19962. }
  19963. },
  19964. "szdz.QuerySZDZTradePositionRsp": {
  19965. "type": "object",
  19966. "properties": {
  19967. "accountid": {
  19968. "description": "账号Id",
  19969. "type": "integer"
  19970. },
  19971. "agreeunit": {
  19972. "description": "合约单位",
  19973. "type": "number"
  19974. },
  19975. "averageprice": {
  19976. "description": "持仓均价",
  19977. "type": "number"
  19978. },
  19979. "buyorsell": {
  19980. "description": "方向 - 0:买 1:卖",
  19981. "type": "integer"
  19982. },
  19983. "closetotalqty": {
  19984. "description": "平仓总数量",
  19985. "type": "integer"
  19986. },
  19987. "curholderamount": {
  19988. "description": "当前持仓总金额",
  19989. "type": "number"
  19990. },
  19991. "curpositionqty": {
  19992. "description": "当前持仓总数量",
  19993. "type": "integer"
  19994. },
  19995. "currencyid": {
  19996. "description": "报价货币ID",
  19997. "type": "integer"
  19998. },
  19999. "curtdposition": {
  20000. "description": "期末今日头寸",
  20001. "type": "integer"
  20002. },
  20003. "decimalplace": {
  20004. "description": "报价小数位",
  20005. "type": "integer"
  20006. },
  20007. "enableqty": {
  20008. "description": "可用量",
  20009. "type": "integer"
  20010. },
  20011. "fretdposition": {
  20012. "description": "冻结今日头寸",
  20013. "type": "integer"
  20014. },
  20015. "frozenqty": {
  20016. "description": "持仓冻结数量",
  20017. "type": "integer"
  20018. },
  20019. "goodscode": {
  20020. "description": "商品代码(内部)",
  20021. "type": "string"
  20022. },
  20023. "goodsid": {
  20024. "description": "商品Id",
  20025. "type": "integer"
  20026. },
  20027. "goodsname": {
  20028. "description": "商品名称",
  20029. "type": "string"
  20030. },
  20031. "goodunit": {
  20032. "description": "报价单位",
  20033. "type": "string"
  20034. },
  20035. "goodunitid": {
  20036. "description": "报价单位ID",
  20037. "type": "integer"
  20038. },
  20039. "holderamount": {
  20040. "description": "期初持仓总金额",
  20041. "type": "number"
  20042. },
  20043. "marketid": {
  20044. "description": "市场ID",
  20045. "type": "integer"
  20046. },
  20047. "openreqqty": {
  20048. "description": "开仓申请数量",
  20049. "type": "integer"
  20050. },
  20051. "opentotalqty": {
  20052. "description": "开仓总数量",
  20053. "type": "integer"
  20054. },
  20055. "otherfrozenqty": {
  20056. "description": "持仓其他冻结数量(交割冻结)",
  20057. "type": "integer"
  20058. },
  20059. "positionqty": {
  20060. "description": "期初持仓数量",
  20061. "type": "integer"
  20062. },
  20063. "szdz3freezqty": {
  20064. "description": "尚志大宗转换冻结总数量",
  20065. "type": "integer"
  20066. },
  20067. "tnqty": {
  20068. "description": "T+N冻结总量",
  20069. "type": "integer"
  20070. },
  20071. "tnusedqty": {
  20072. "description": "T+N使用量",
  20073. "type": "integer"
  20074. },
  20075. "trademode": {
  20076. "description": "交易模式",
  20077. "type": "integer"
  20078. },
  20079. "usedmargin": {
  20080. "description": "占用保证金",
  20081. "type": "number"
  20082. }
  20083. }
  20084. },
  20085. "taaccount.QueryAmountLogRsp": {
  20086. "type": "object",
  20087. "required": [
  20088. "accountid",
  20089. "amount",
  20090. "amountadjusttype",
  20091. "autoid",
  20092. "balance",
  20093. "createtime",
  20094. "currentbalance",
  20095. "operatetype"
  20096. ],
  20097. "properties": {
  20098. "OPERATETYPENAME": {
  20099. "description": "资金操作类型名称",
  20100. "type": "string"
  20101. },
  20102. "accountid": {
  20103. "description": "资金账户ID",
  20104. "type": "integer"
  20105. },
  20106. "agoodscode": {
  20107. "description": "竞拍商品代码",
  20108. "type": "string"
  20109. },
  20110. "agoodsname": {
  20111. "description": "竞拍商品名称",
  20112. "type": "string"
  20113. },
  20114. "amount": {
  20115. "description": "资金金额",
  20116. "type": "number"
  20117. },
  20118. "amountadjusttype": {
  20119. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20120. "type": "integer"
  20121. },
  20122. "autoid": {
  20123. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20124. "type": "integer"
  20125. },
  20126. "balance": {
  20127. "description": "期初余额",
  20128. "type": "number"
  20129. },
  20130. "businesscode": {
  20131. "description": "业务编号",
  20132. "type": "integer"
  20133. },
  20134. "createtime": {
  20135. "description": "发生时间",
  20136. "type": "string"
  20137. },
  20138. "currencyid": {
  20139. "description": "币种ID",
  20140. "type": "integer"
  20141. },
  20142. "currentbalance": {
  20143. "description": "期末余额(变动后金额)",
  20144. "type": "number"
  20145. },
  20146. "dgoodscode": {
  20147. "description": "交割商品代码",
  20148. "type": "string"
  20149. },
  20150. "dgoodsname": {
  20151. "description": "交割商品名称",
  20152. "type": "string"
  20153. },
  20154. "goodscode": {
  20155. "description": "商品代码",
  20156. "type": "string"
  20157. },
  20158. "goodsid": {
  20159. "description": "商品ID",
  20160. "type": "integer"
  20161. },
  20162. "goodsname": {
  20163. "description": "商品名称",
  20164. "type": "string"
  20165. },
  20166. "marketid": {
  20167. "description": "市场ID",
  20168. "type": "integer"
  20169. },
  20170. "marketname": {
  20171. "description": "市场名称",
  20172. "type": "string"
  20173. },
  20174. "moneyticket": {
  20175. "description": "资金流水号:银行端流水号",
  20176. "type": "integer"
  20177. },
  20178. "operatetype": {
  20179. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  20180. "type": "integer"
  20181. },
  20182. "relationorderid": {
  20183. "description": "关联单号",
  20184. "type": "string"
  20185. },
  20186. "remark": {
  20187. "description": "备注",
  20188. "type": "string"
  20189. },
  20190. "trademode": {
  20191. "description": "交易模式",
  20192. "type": "integer"
  20193. }
  20194. }
  20195. },
  20196. "taaccount.QueryHisAmountLogRsp": {
  20197. "type": "object",
  20198. "required": [
  20199. "accountid",
  20200. "amount",
  20201. "amountadjusttype",
  20202. "autoid",
  20203. "balance",
  20204. "createtime",
  20205. "currentbalance",
  20206. "histradedate",
  20207. "operatetype"
  20208. ],
  20209. "properties": {
  20210. "OPERATETYPENAME": {
  20211. "description": "资金操作类型名称",
  20212. "type": "string"
  20213. },
  20214. "accountid": {
  20215. "description": "资金账户ID",
  20216. "type": "integer"
  20217. },
  20218. "agoodscode": {
  20219. "description": "竞拍商品代码",
  20220. "type": "string"
  20221. },
  20222. "agoodsname": {
  20223. "description": "竞拍商品名称",
  20224. "type": "string"
  20225. },
  20226. "amount": {
  20227. "description": "资金金额",
  20228. "type": "number"
  20229. },
  20230. "amountadjusttype": {
  20231. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20232. "type": "integer"
  20233. },
  20234. "autoid": {
  20235. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20236. "type": "integer"
  20237. },
  20238. "balance": {
  20239. "description": "期初余额",
  20240. "type": "number"
  20241. },
  20242. "businesscode": {
  20243. "description": "业务编号",
  20244. "type": "integer"
  20245. },
  20246. "createtime": {
  20247. "description": "发生时间",
  20248. "type": "string"
  20249. },
  20250. "currencyid": {
  20251. "description": "币种ID",
  20252. "type": "integer"
  20253. },
  20254. "currentbalance": {
  20255. "description": "期末余额(变动后金额)",
  20256. "type": "number"
  20257. },
  20258. "dgoodscode": {
  20259. "description": "交割商品代码",
  20260. "type": "string"
  20261. },
  20262. "dgoodsname": {
  20263. "description": "交割商品名称",
  20264. "type": "string"
  20265. },
  20266. "goodscode": {
  20267. "description": "商品代码",
  20268. "type": "string"
  20269. },
  20270. "goodsid": {
  20271. "description": "商品ID",
  20272. "type": "integer"
  20273. },
  20274. "goodsname": {
  20275. "description": "商品名称",
  20276. "type": "string"
  20277. },
  20278. "histradedate": {
  20279. "description": "历史交易日",
  20280. "type": "string"
  20281. },
  20282. "isvaliddata": {
  20283. "description": "是否有效 - 0:无效 1:有效",
  20284. "type": "integer"
  20285. },
  20286. "marketid": {
  20287. "description": "市场ID",
  20288. "type": "integer"
  20289. },
  20290. "marketname": {
  20291. "description": "市场名称",
  20292. "type": "string"
  20293. },
  20294. "moneyticket": {
  20295. "description": "资金流水号:银行端流水号",
  20296. "type": "integer"
  20297. },
  20298. "operatetype": {
  20299. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  20300. "type": "integer"
  20301. },
  20302. "relationorderid": {
  20303. "description": "关联单号",
  20304. "type": "string"
  20305. },
  20306. "remark": {
  20307. "description": "备注",
  20308. "type": "string"
  20309. },
  20310. "trademode": {
  20311. "description": "交易模式",
  20312. "type": "integer"
  20313. }
  20314. }
  20315. },
  20316. "trade.QueryRecieptOrderRsp": {
  20317. "type": "object",
  20318. "required": [
  20319. "ordertime"
  20320. ],
  20321. "properties": {
  20322. "accountName": {
  20323. "description": "所属账号名称(已脱敏)",
  20324. "type": "string"
  20325. },
  20326. "accountid": {
  20327. "description": "资金账号",
  20328. "type": "integer"
  20329. },
  20330. "buyorsell": {
  20331. "description": "方向 - 0:买 1:卖",
  20332. "type": "integer"
  20333. },
  20334. "enableqty": {
  20335. "description": "可摘数量",
  20336. "type": "integer"
  20337. },
  20338. "goodscode": {
  20339. "description": "商品代码",
  20340. "type": "string"
  20341. },
  20342. "goodsid": {
  20343. "description": "商品ID",
  20344. "type": "integer"
  20345. },
  20346. "goodsname": {
  20347. "description": "商品名称",
  20348. "type": "string"
  20349. },
  20350. "orderid": {
  20351. "description": "委托单号",
  20352. "type": "string"
  20353. },
  20354. "orderprice": {
  20355. "description": "委托价格",
  20356. "type": "number"
  20357. },
  20358. "ordertime": {
  20359. "description": "委托时间",
  20360. "type": "string"
  20361. },
  20362. "tradedate": {
  20363. "description": "交易日(yyyyMMdd)",
  20364. "type": "string"
  20365. }
  20366. }
  20367. },
  20368. "user.LoginQueryRsp": {
  20369. "type": "object",
  20370. "properties": {
  20371. "externalExchanges": {
  20372. "description": "外部交易所",
  20373. "type": "array",
  20374. "items": {
  20375. "$ref": "#/definitions/models.Externalexchange"
  20376. }
  20377. },
  20378. "goodsgroups": {
  20379. "description": "商品组",
  20380. "type": "array",
  20381. "items": {
  20382. "$ref": "#/definitions/models.Goodsgroup"
  20383. }
  20384. },
  20385. "loginAccount": {
  20386. "description": "登录账号",
  20387. "$ref": "#/definitions/models.Loginaccount"
  20388. },
  20389. "markets": {
  20390. "description": "市场",
  20391. "type": "array",
  20392. "items": {
  20393. "$ref": "#/definitions/models.Market"
  20394. }
  20395. },
  20396. "systemParams": {
  20397. "description": "系统参数",
  20398. "type": "array",
  20399. "items": {
  20400. "$ref": "#/definitions/models.Systemparam"
  20401. }
  20402. },
  20403. "userAccount": {
  20404. "description": "用户账号",
  20405. "$ref": "#/definitions/models.Useraccount"
  20406. },
  20407. "userInfo": {
  20408. "description": "用户信息",
  20409. "$ref": "#/definitions/models.Userinfo"
  20410. },
  20411. "username": {
  20412. "description": "用户姓名",
  20413. "type": "string"
  20414. }
  20415. }
  20416. }
  20417. },
  20418. "securityDefinitions": {
  20419. "ApiKeyAuth": {
  20420. "type": "apiKey",
  20421. "name": "Authorization",
  20422. "in": "header"
  20423. }
  20424. }
  20425. }`
  20426. type swaggerInfo struct {
  20427. Version string
  20428. Host string
  20429. BasePath string
  20430. Schemes []string
  20431. Title string
  20432. Description string
  20433. }
  20434. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20435. var SwaggerInfo = swaggerInfo{
  20436. Version: "1.0",
  20437. Host: "",
  20438. BasePath: "/api",
  20439. Schemes: []string{},
  20440. Title: "MTP2.0 查询服务 API",
  20441. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20442. }
  20443. type s struct{}
  20444. func (s *s) ReadDoc() string {
  20445. sInfo := SwaggerInfo
  20446. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20447. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20448. "marshal": func(v interface{}) string {
  20449. a, _ := json.Marshal(v)
  20450. return string(a)
  20451. },
  20452. }).Parse(doc)
  20453. if err != nil {
  20454. return doc
  20455. }
  20456. var tpl bytes.Buffer
  20457. if err := t.Execute(&tpl, sInfo); err != nil {
  20458. return doc
  20459. }
  20460. return tpl.String()
  20461. }
  20462. func init() {
  20463. swag.Register(swag.Name, &s{})
  20464. }