docs.go 651 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096
  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/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "integer",
  806. "description": "已存末尾商品编号",
  807. "name": "lastID",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/QryReportDayExposure": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  841. "parameters": [
  842. {
  843. "type": "integer",
  844. "description": "用户ID",
  845. "name": "userid",
  846. "in": "query",
  847. "required": true
  848. },
  849. {
  850. "type": "string",
  851. "description": "交易日(格式:yyyyMMdd)",
  852. "name": "tradedate",
  853. "in": "query",
  854. "required": true
  855. }
  856. ],
  857. "responses": {
  858. "200": {
  859. "description": "OK",
  860. "schema": {
  861. "type": "array",
  862. "items": {
  863. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  864. }
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/QryReportDayFinance": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  890. "parameters": [
  891. {
  892. "type": "integer",
  893. "description": "用户ID",
  894. "name": "userid",
  895. "in": "query",
  896. "required": true
  897. },
  898. {
  899. "type": "string",
  900. "description": "交易日(格式:yyyyMMdd)",
  901. "name": "tradedate",
  902. "in": "query",
  903. "required": true
  904. }
  905. ],
  906. "responses": {
  907. "200": {
  908. "description": "OK",
  909. "schema": {
  910. "type": "array",
  911. "items": {
  912. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  913. }
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Ermcp/QryReportDayFinanceFp": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "企业风险管理(app)"
  937. ],
  938. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  939. "parameters": [
  940. {
  941. "type": "integer",
  942. "description": "用户ID",
  943. "name": "userid",
  944. "in": "query",
  945. "required": true
  946. },
  947. {
  948. "type": "string",
  949. "description": "交易日(格式:yyyyMMdd)",
  950. "name": "tradedate",
  951. "in": "query",
  952. "required": true
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "type": "array",
  960. "items": {
  961. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  962. }
  963. }
  964. },
  965. "500": {
  966. "description": "Internal Server Error",
  967. "schema": {
  968. "$ref": "#/definitions/app.Response"
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "/Ermcp/QryReportDayFinanceKx": {
  975. "get": {
  976. "security": [
  977. {
  978. "ApiKeyAuth": []
  979. }
  980. ],
  981. "produces": [
  982. "application/json"
  983. ],
  984. "tags": [
  985. "企业风险管理(app)"
  986. ],
  987. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  988. "parameters": [
  989. {
  990. "type": "integer",
  991. "description": "用户ID",
  992. "name": "userid",
  993. "in": "query",
  994. "required": true
  995. },
  996. {
  997. "type": "string",
  998. "description": "交易日(格式:yyyyMMdd)",
  999. "name": "tradedate",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Ermcp/QryReportDaySpot": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "企业风险管理(app)"
  1035. ],
  1036. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "用户ID",
  1041. "name": "userid",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "交易日(格式:yyyyMMdd)",
  1048. "name": "tradedate",
  1049. "in": "query",
  1050. "required": true
  1051. }
  1052. ],
  1053. "responses": {
  1054. "200": {
  1055. "description": "OK",
  1056. "schema": {
  1057. "type": "array",
  1058. "items": {
  1059. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1060. }
  1061. }
  1062. },
  1063. "500": {
  1064. "description": "Internal Server Error",
  1065. "schema": {
  1066. "$ref": "#/definitions/app.Response"
  1067. }
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "/Ermcp/QryReportDaySpotDetail": {
  1073. "get": {
  1074. "security": [
  1075. {
  1076. "ApiKeyAuth": []
  1077. }
  1078. ],
  1079. "produces": [
  1080. "application/json"
  1081. ],
  1082. "tags": [
  1083. "企业风险管理(app)"
  1084. ],
  1085. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1086. "parameters": [
  1087. {
  1088. "type": "integer",
  1089. "description": "用户ID",
  1090. "name": "userid",
  1091. "in": "query",
  1092. "required": true
  1093. },
  1094. {
  1095. "type": "integer",
  1096. "description": "现货商品id",
  1097. "name": "wrstandardid",
  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.QryReportDaySpotDetailRsp"
  1116. }
  1117. }
  1118. },
  1119. "500": {
  1120. "description": "Internal Server Error",
  1121. "schema": {
  1122. "$ref": "#/definitions/app.Response"
  1123. }
  1124. }
  1125. }
  1126. }
  1127. },
  1128. "/Ermcp/QryReportMonthFinance": {
  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": "周期时间:月(格式:yyyyMM)",
  1153. "name": "cycletime",
  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.QryReportFinanceMonRsp"
  1165. }
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/app.Response"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/Ermcp/QryReportMonthSpot": {
  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": "string",
  1201. "description": "周期时间:月(格式:yyyyMM)",
  1202. "name": "cycletime",
  1203. "in": "query",
  1204. "required": true
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QryReportMonthSpotDetail": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "企业风险管理(app)"
  1238. ],
  1239. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "用户ID",
  1244. "name": "userid",
  1245. "in": "query",
  1246. "required": true
  1247. },
  1248. {
  1249. "type": "integer",
  1250. "description": "现货商品id",
  1251. "name": "wrstandardid",
  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.QryReportSpotMonthDetailRsp"
  1270. }
  1271. }
  1272. },
  1273. "500": {
  1274. "description": "Internal Server Error",
  1275. "schema": {
  1276. "$ref": "#/definitions/app.Response"
  1277. }
  1278. }
  1279. }
  1280. }
  1281. },
  1282. "/Ermcp/QueryAvaildGoodsGroup": {
  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. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "type": "array",
  1310. "items": {
  1311. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1312. }
  1313. }
  1314. },
  1315. "500": {
  1316. "description": "Internal Server Error",
  1317. "schema": {
  1318. "$ref": "#/definitions/app.Response"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. },
  1324. "/Ermcp/QueryBusinessDj": {
  1325. "get": {
  1326. "security": [
  1327. {
  1328. "ApiKeyAuth": []
  1329. }
  1330. ],
  1331. "produces": [
  1332. "application/json"
  1333. ],
  1334. "tags": [
  1335. "企业风险管理(app)"
  1336. ],
  1337. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1338. "parameters": [
  1339. {
  1340. "type": "integer",
  1341. "description": "用户ID",
  1342. "name": "UserId",
  1343. "in": "query",
  1344. "required": true
  1345. },
  1346. {
  1347. "type": "string",
  1348. "description": "现货合同ID, 不填则查所有",
  1349. "name": "relatedid",
  1350. "in": "query"
  1351. }
  1352. ],
  1353. "responses": {
  1354. "200": {
  1355. "description": "OK",
  1356. "schema": {
  1357. "type": "array",
  1358. "items": {
  1359. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1360. }
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Ermcp/QueryBusinessFp": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "企业风险管理(app)"
  1384. ],
  1385. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "用户ID",
  1390. "name": "UserId",
  1391. "in": "query",
  1392. "required": true
  1393. },
  1394. {
  1395. "type": "string",
  1396. "description": "现货合同ID, 不填则查所有",
  1397. "name": "relatedid",
  1398. "in": "query"
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "type": "array",
  1406. "items": {
  1407. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1408. }
  1409. }
  1410. },
  1411. "500": {
  1412. "description": "Internal Server Error",
  1413. "schema": {
  1414. "$ref": "#/definitions/app.Response"
  1415. }
  1416. }
  1417. }
  1418. }
  1419. },
  1420. "/Ermcp/QueryBusinessJs": {
  1421. "get": {
  1422. "security": [
  1423. {
  1424. "ApiKeyAuth": []
  1425. }
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "企业风险管理(app)"
  1432. ],
  1433. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1434. "parameters": [
  1435. {
  1436. "type": "integer",
  1437. "description": "用户ID",
  1438. "name": "UserId",
  1439. "in": "query",
  1440. "required": true
  1441. },
  1442. {
  1443. "type": "string",
  1444. "description": "现货合同ID, 不填则查所有",
  1445. "name": "relatedid",
  1446. "in": "query"
  1447. }
  1448. ],
  1449. "responses": {
  1450. "200": {
  1451. "description": "OK",
  1452. "schema": {
  1453. "type": "array",
  1454. "items": {
  1455. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1456. }
  1457. }
  1458. },
  1459. "500": {
  1460. "description": "Internal Server Error",
  1461. "schema": {
  1462. "$ref": "#/definitions/app.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/Ermcp/QueryBusinessJsEx": {
  1469. "get": {
  1470. "security": [
  1471. {
  1472. "ApiKeyAuth": []
  1473. }
  1474. ],
  1475. "produces": [
  1476. "application/json"
  1477. ],
  1478. "tags": [
  1479. "企业风险管理(app)"
  1480. ],
  1481. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1482. "parameters": [
  1483. {
  1484. "type": "integer",
  1485. "description": "用户ID",
  1486. "name": "UserId",
  1487. "in": "query",
  1488. "required": true
  1489. },
  1490. {
  1491. "type": "string",
  1492. "description": "现货合同ID, 不填则查所有",
  1493. "name": "relatedid",
  1494. "in": "query"
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryBusinessKx": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "用户ID",
  1534. "name": "UserId",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "string",
  1540. "description": "现货合同ID, 不填则查所有",
  1541. "name": "relatedid",
  1542. "in": "query"
  1543. }
  1544. ],
  1545. "responses": {
  1546. "200": {
  1547. "description": "OK",
  1548. "schema": {
  1549. "type": "array",
  1550. "items": {
  1551. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1552. }
  1553. }
  1554. },
  1555. "500": {
  1556. "description": "Internal Server Error",
  1557. "schema": {
  1558. "$ref": "#/definitions/app.Response"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. },
  1564. "/Ermcp/QueryChangeLog": {
  1565. "get": {
  1566. "security": [
  1567. {
  1568. "ApiKeyAuth": []
  1569. }
  1570. ],
  1571. "produces": [
  1572. "application/json"
  1573. ],
  1574. "tags": [
  1575. "企业风险管理(app)"
  1576. ],
  1577. "summary": "查询变更记录",
  1578. "parameters": [
  1579. {
  1580. "type": "string",
  1581. "description": "合同ID",
  1582. "name": "RelatedId",
  1583. "in": "query",
  1584. "required": true
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryContract": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询合同(采购和销售)",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userId",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "合同类型 1-采购, -1-销售",
  1631. "name": "contracttype",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1638. "name": "querytype",
  1639. "in": "query",
  1640. "required": true
  1641. }
  1642. ],
  1643. "responses": {
  1644. "200": {
  1645. "description": "OK",
  1646. "schema": {
  1647. "type": "array",
  1648. "items": {
  1649. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1650. }
  1651. }
  1652. },
  1653. "500": {
  1654. "description": "Internal Server Error",
  1655. "schema": {
  1656. "$ref": "#/definitions/app.Response"
  1657. }
  1658. }
  1659. }
  1660. }
  1661. },
  1662. "/Ermcp/QueryErmcpOrderDetails": {
  1663. "get": {
  1664. "security": [
  1665. {
  1666. "ApiKeyAuth": []
  1667. }
  1668. ],
  1669. "produces": [
  1670. "application/json"
  1671. ],
  1672. "tags": [
  1673. "企业风险管理(app)"
  1674. ],
  1675. "summary": "获取企业风管期货委托单信息",
  1676. "parameters": [
  1677. {
  1678. "type": "integer",
  1679. "description": "资金账户ID",
  1680. "name": "accountID",
  1681. "in": "query",
  1682. "required": true
  1683. }
  1684. ],
  1685. "responses": {
  1686. "200": {
  1687. "description": "OK",
  1688. "schema": {
  1689. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1690. }
  1691. },
  1692. "500": {
  1693. "description": "Internal Server Error",
  1694. "schema": {
  1695. "$ref": "#/definitions/app.Response"
  1696. }
  1697. }
  1698. }
  1699. }
  1700. },
  1701. "/Ermcp/QueryErmcpTradeDetails": {
  1702. "get": {
  1703. "security": [
  1704. {
  1705. "ApiKeyAuth": []
  1706. }
  1707. ],
  1708. "produces": [
  1709. "application/json"
  1710. ],
  1711. "tags": [
  1712. "企业风险管理(app)"
  1713. ],
  1714. "summary": "获取企业风管期货成交单信息",
  1715. "parameters": [
  1716. {
  1717. "type": "integer",
  1718. "description": "资金账户ID",
  1719. "name": "accountID",
  1720. "in": "query",
  1721. "required": true
  1722. },
  1723. {
  1724. "type": "integer",
  1725. "description": "商品ID",
  1726. "name": "goodsID",
  1727. "in": "query"
  1728. },
  1729. {
  1730. "type": "integer",
  1731. "description": "买卖方向,0:买 1:卖",
  1732. "name": "buyOrSell",
  1733. "in": "query"
  1734. }
  1735. ],
  1736. "responses": {
  1737. "200": {
  1738. "description": "OK",
  1739. "schema": {
  1740. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1741. }
  1742. },
  1743. "500": {
  1744. "description": "Internal Server Error",
  1745. "schema": {
  1746. "$ref": "#/definitions/app.Response"
  1747. }
  1748. }
  1749. }
  1750. }
  1751. },
  1752. "/Ermcp/QueryErmcpTradePosition": {
  1753. "get": {
  1754. "security": [
  1755. {
  1756. "ApiKeyAuth": []
  1757. }
  1758. ],
  1759. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "获取企业风管期货持仓头寸信息",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "资金账户ID",
  1771. "name": "accountID",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "所属市场ID",
  1778. "name": "marketID",
  1779. "in": "query"
  1780. }
  1781. ],
  1782. "responses": {
  1783. "200": {
  1784. "description": "OK",
  1785. "schema": {
  1786. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/app.Response"
  1793. }
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "/Ermcp/QueryExposureDetail": {
  1799. "get": {
  1800. "security": [
  1801. {
  1802. "ApiKeyAuth": []
  1803. }
  1804. ],
  1805. "produces": [
  1806. "application/json"
  1807. ],
  1808. "tags": [
  1809. "企业风险管理(app)"
  1810. ],
  1811. "summary": "查询敞口现货明细",
  1812. "parameters": [
  1813. {
  1814. "type": "integer",
  1815. "description": "所属机构ID",
  1816. "name": "areaUserId",
  1817. "in": "query",
  1818. "required": true
  1819. },
  1820. {
  1821. "type": "integer",
  1822. "description": "套保商品",
  1823. "name": "middleGoodsId",
  1824. "in": "query",
  1825. "required": true
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "type": "array",
  1833. "items": {
  1834. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1835. }
  1836. }
  1837. },
  1838. "500": {
  1839. "description": "Internal Server Error",
  1840. "schema": {
  1841. "$ref": "#/definitions/app.Response"
  1842. }
  1843. }
  1844. }
  1845. }
  1846. },
  1847. "/Ermcp/QueryExposureHedgePosition": {
  1848. "get": {
  1849. "security": [
  1850. {
  1851. "ApiKeyAuth": []
  1852. }
  1853. ],
  1854. "produces": [
  1855. "application/json"
  1856. ],
  1857. "tags": [
  1858. "企业风险管理(app)"
  1859. ],
  1860. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1861. "parameters": [
  1862. {
  1863. "type": "integer",
  1864. "description": "所属机构ID",
  1865. "name": "areaUserId",
  1866. "in": "query",
  1867. "required": true
  1868. }
  1869. ],
  1870. "responses": {
  1871. "200": {
  1872. "description": "OK",
  1873. "schema": {
  1874. "type": "array",
  1875. "items": {
  1876. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1877. }
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryExposureHedgePositionDetail": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "所属机构ID",
  1907. "name": "areaUserId",
  1908. "in": "query",
  1909. "required": true
  1910. },
  1911. {
  1912. "type": "integer",
  1913. "description": "商品id",
  1914. "name": "goodsId",
  1915. "in": "query",
  1916. "required": true
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryExposureSpot": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1952. "parameters": [
  1953. {
  1954. "type": "integer",
  1955. "description": "所属机构ID",
  1956. "name": "areaUserId",
  1957. "in": "query",
  1958. "required": true
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryExposureSpotDetail": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "所属机构ID",
  1998. "name": "areaUserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "现货品种ID",
  2005. "name": "wrstandardId",
  2006. "in": "query",
  2007. "required": true
  2008. }
  2009. ],
  2010. "responses": {
  2011. "200": {
  2012. "description": "OK",
  2013. "schema": {
  2014. "type": "array",
  2015. "items": {
  2016. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2017. }
  2018. }
  2019. },
  2020. "500": {
  2021. "description": "Internal Server Error",
  2022. "schema": {
  2023. "$ref": "#/definitions/app.Response"
  2024. }
  2025. }
  2026. }
  2027. }
  2028. },
  2029. "/Ermcp/QueryGGConvertConfig": {
  2030. "get": {
  2031. "security": [
  2032. {
  2033. "ApiKeyAuth": []
  2034. }
  2035. ],
  2036. "produces": [
  2037. "application/json"
  2038. ],
  2039. "tags": [
  2040. "企业风险管理(app)"
  2041. ],
  2042. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2043. "parameters": [
  2044. {
  2045. "type": "integer",
  2046. "description": "品种id(不填则查所有)",
  2047. "name": "goodsgroupid",
  2048. "in": "query"
  2049. }
  2050. ],
  2051. "responses": {
  2052. "200": {
  2053. "description": "OK",
  2054. "schema": {
  2055. "type": "array",
  2056. "items": {
  2057. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2058. }
  2059. }
  2060. },
  2061. "500": {
  2062. "description": "Internal Server Error",
  2063. "schema": {
  2064. "$ref": "#/definitions/app.Response"
  2065. }
  2066. }
  2067. }
  2068. }
  2069. },
  2070. "/Ermcp/QueryHedgePlan": {
  2071. "get": {
  2072. "security": [
  2073. {
  2074. "ApiKeyAuth": []
  2075. }
  2076. ],
  2077. "produces": [
  2078. "application/json"
  2079. ],
  2080. "tags": [
  2081. "企业风险管理(app)"
  2082. ],
  2083. "summary": "查询套保计划",
  2084. "parameters": [
  2085. {
  2086. "type": "integer",
  2087. "description": "用户ID",
  2088. "name": "userId",
  2089. "in": "query",
  2090. "required": true
  2091. },
  2092. {
  2093. "type": "string",
  2094. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2095. "name": "HedgePlanStatus",
  2096. "in": "query",
  2097. "required": true
  2098. }
  2099. ],
  2100. "responses": {
  2101. "200": {
  2102. "description": "OK",
  2103. "schema": {
  2104. "type": "array",
  2105. "items": {
  2106. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2107. }
  2108. }
  2109. },
  2110. "500": {
  2111. "description": "Internal Server Error",
  2112. "schema": {
  2113. "$ref": "#/definitions/app.Response"
  2114. }
  2115. }
  2116. }
  2117. }
  2118. },
  2119. "/Ermcp/QueryHisExposure": {
  2120. "get": {
  2121. "security": [
  2122. {
  2123. "ApiKeyAuth": []
  2124. }
  2125. ],
  2126. "produces": [
  2127. "application/json"
  2128. ],
  2129. "tags": [
  2130. "企业风险管理(app)"
  2131. ],
  2132. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2133. "parameters": [
  2134. {
  2135. "type": "integer",
  2136. "description": "所属机构ID",
  2137. "name": "areaUserId",
  2138. "in": "query",
  2139. "required": true
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "每个品种记录数",
  2144. "name": "lastNum",
  2145. "in": "query",
  2146. "required": true
  2147. }
  2148. ],
  2149. "responses": {
  2150. "200": {
  2151. "description": "OK",
  2152. "schema": {
  2153. "type": "array",
  2154. "items": {
  2155. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2156. }
  2157. }
  2158. },
  2159. "500": {
  2160. "description": "Internal Server Error",
  2161. "schema": {
  2162. "$ref": "#/definitions/app.Response"
  2163. }
  2164. }
  2165. }
  2166. }
  2167. },
  2168. "/Ermcp/QueryMiddleGoods": {
  2169. "get": {
  2170. "security": [
  2171. {
  2172. "ApiKeyAuth": []
  2173. }
  2174. ],
  2175. "produces": [
  2176. "application/json"
  2177. ],
  2178. "tags": [
  2179. "企业风险管理(app)"
  2180. ],
  2181. "summary": "查询套保品种(菜单:套保品种)",
  2182. "parameters": [
  2183. {
  2184. "type": "integer",
  2185. "description": "所属机构ID",
  2186. "name": "userid",
  2187. "in": "query",
  2188. "required": true
  2189. },
  2190. {
  2191. "type": "integer",
  2192. "description": "状态 0-停用 1-正常",
  2193. "name": "status",
  2194. "in": "query",
  2195. "required": true
  2196. }
  2197. ],
  2198. "responses": {
  2199. "200": {
  2200. "description": "OK",
  2201. "schema": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2205. }
  2206. }
  2207. },
  2208. "500": {
  2209. "description": "Internal Server Error",
  2210. "schema": {
  2211. "$ref": "#/definitions/app.Response"
  2212. }
  2213. }
  2214. }
  2215. }
  2216. },
  2217. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2218. "get": {
  2219. "security": [
  2220. {
  2221. "ApiKeyAuth": []
  2222. }
  2223. ],
  2224. "produces": [
  2225. "application/json"
  2226. ],
  2227. "tags": [
  2228. "企业风险管理(app)"
  2229. ],
  2230. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2231. "parameters": [
  2232. {
  2233. "type": "integer",
  2234. "description": "所属机构ID",
  2235. "name": "userid",
  2236. "in": "query",
  2237. "required": true
  2238. },
  2239. {
  2240. "type": "integer",
  2241. "description": "套保品种id",
  2242. "name": "middlegoodsid",
  2243. "in": "query",
  2244. "required": true
  2245. }
  2246. ],
  2247. "responses": {
  2248. "200": {
  2249. "description": "OK",
  2250. "schema": {
  2251. "type": "array",
  2252. "items": {
  2253. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2254. }
  2255. }
  2256. },
  2257. "500": {
  2258. "description": "Internal Server Error",
  2259. "schema": {
  2260. "$ref": "#/definitions/app.Response"
  2261. }
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "/Ermcp/QueryMiddleGoodsDetail": {
  2267. "get": {
  2268. "security": [
  2269. {
  2270. "ApiKeyAuth": []
  2271. }
  2272. ],
  2273. "produces": [
  2274. "application/json"
  2275. ],
  2276. "tags": [
  2277. "企业风险管理(app)"
  2278. ],
  2279. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2280. "parameters": [
  2281. {
  2282. "type": "integer",
  2283. "description": "所属机构ID",
  2284. "name": "userid",
  2285. "in": "query",
  2286. "required": true
  2287. },
  2288. {
  2289. "type": "integer",
  2290. "description": "套保品种id",
  2291. "name": "middlegoodsid",
  2292. "in": "query",
  2293. "required": true
  2294. }
  2295. ],
  2296. "responses": {
  2297. "200": {
  2298. "description": "OK",
  2299. "schema": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2303. }
  2304. }
  2305. },
  2306. "500": {
  2307. "description": "Internal Server Error",
  2308. "schema": {
  2309. "$ref": "#/definitions/app.Response"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/Ermcp/QueryPendingAuditInfo": {
  2316. "get": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "produces": [
  2323. "application/json"
  2324. ],
  2325. "tags": [
  2326. "企业风险管理(app)"
  2327. ],
  2328. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2329. "parameters": [
  2330. {
  2331. "type": "integer",
  2332. "description": "用户ID",
  2333. "name": "UserId",
  2334. "in": "query",
  2335. "required": true
  2336. }
  2337. ],
  2338. "responses": {
  2339. "200": {
  2340. "description": "OK",
  2341. "schema": {
  2342. "type": "array",
  2343. "items": {
  2344. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2345. }
  2346. }
  2347. },
  2348. "500": {
  2349. "description": "Internal Server Error",
  2350. "schema": {
  2351. "$ref": "#/definitions/app.Response"
  2352. }
  2353. }
  2354. }
  2355. }
  2356. },
  2357. "/Ermcp/QueryRealtimeExposure": {
  2358. "get": {
  2359. "security": [
  2360. {
  2361. "ApiKeyAuth": []
  2362. }
  2363. ],
  2364. "produces": [
  2365. "application/json"
  2366. ],
  2367. "tags": [
  2368. "企业风险管理(app)"
  2369. ],
  2370. "summary": "查询实时敞口",
  2371. "parameters": [
  2372. {
  2373. "type": "integer",
  2374. "description": "所属机构ID",
  2375. "name": "AreaUserID",
  2376. "in": "query",
  2377. "required": true
  2378. }
  2379. ],
  2380. "responses": {
  2381. "200": {
  2382. "description": "OK",
  2383. "schema": {
  2384. "type": "array",
  2385. "items": {
  2386. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2387. }
  2388. }
  2389. },
  2390. "500": {
  2391. "description": "Internal Server Error",
  2392. "schema": {
  2393. "$ref": "#/definitions/app.Response"
  2394. }
  2395. }
  2396. }
  2397. }
  2398. },
  2399. "/Ermcp/QueryRealtimeExposurePosition": {
  2400. "get": {
  2401. "security": [
  2402. {
  2403. "ApiKeyAuth": []
  2404. }
  2405. ],
  2406. "produces": [
  2407. "application/json"
  2408. ],
  2409. "tags": [
  2410. "企业风险管理(app)"
  2411. ],
  2412. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2413. "parameters": [
  2414. {
  2415. "type": "integer",
  2416. "description": "所属机构ID",
  2417. "name": "areaUserId",
  2418. "in": "query",
  2419. "required": true
  2420. },
  2421. {
  2422. "type": "integer",
  2423. "description": "套保商品ID",
  2424. "name": "middleGoodsId",
  2425. "in": "query",
  2426. "required": true
  2427. }
  2428. ],
  2429. "responses": {
  2430. "200": {
  2431. "description": "OK",
  2432. "schema": {
  2433. "type": "array",
  2434. "items": {
  2435. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2436. }
  2437. }
  2438. },
  2439. "500": {
  2440. "description": "Internal Server Error",
  2441. "schema": {
  2442. "$ref": "#/definitions/app.Response"
  2443. }
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "/Ermcp/QuerySpotContract": {
  2449. "get": {
  2450. "security": [
  2451. {
  2452. "ApiKeyAuth": []
  2453. }
  2454. ],
  2455. "produces": [
  2456. "application/json"
  2457. ],
  2458. "tags": [
  2459. "企业风险管理(app)"
  2460. ],
  2461. "summary": "查询现货合同(对应现货合同菜单)",
  2462. "parameters": [
  2463. {
  2464. "type": "integer",
  2465. "description": "用户ID",
  2466. "name": "userId",
  2467. "in": "query",
  2468. "required": true
  2469. },
  2470. {
  2471. "type": "integer",
  2472. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2473. "name": "QueryType",
  2474. "in": "query",
  2475. "required": true
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "type": "array",
  2483. "items": {
  2484. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2485. }
  2486. }
  2487. },
  2488. "500": {
  2489. "description": "Internal Server Error",
  2490. "schema": {
  2491. "$ref": "#/definitions/app.Response"
  2492. }
  2493. }
  2494. }
  2495. }
  2496. },
  2497. "/Ermcp/QueryUserInfo": {
  2498. "get": {
  2499. "security": [
  2500. {
  2501. "ApiKeyAuth": []
  2502. }
  2503. ],
  2504. "produces": [
  2505. "application/json"
  2506. ],
  2507. "tags": [
  2508. "企业风险管理(app)"
  2509. ],
  2510. "summary": "查询客户资料",
  2511. "parameters": [
  2512. {
  2513. "type": "integer",
  2514. "description": "所属机构用户ID",
  2515. "name": "MemberUserID",
  2516. "in": "query",
  2517. "required": true
  2518. },
  2519. {
  2520. "type": "integer",
  2521. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2522. "name": "queryType",
  2523. "in": "query",
  2524. "required": true
  2525. }
  2526. ],
  2527. "responses": {
  2528. "200": {
  2529. "description": "OK",
  2530. "schema": {
  2531. "type": "array",
  2532. "items": {
  2533. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2534. }
  2535. }
  2536. },
  2537. "500": {
  2538. "description": "Internal Server Error",
  2539. "schema": {
  2540. "$ref": "#/definitions/app.Response"
  2541. }
  2542. }
  2543. }
  2544. }
  2545. },
  2546. "/Ermcp/QueryWrStandard": {
  2547. "get": {
  2548. "security": [
  2549. {
  2550. "ApiKeyAuth": []
  2551. }
  2552. ],
  2553. "produces": [
  2554. "application/json"
  2555. ],
  2556. "tags": [
  2557. "企业风险管理(app)"
  2558. ],
  2559. "summary": "查询现货商品",
  2560. "parameters": [
  2561. {
  2562. "type": "integer",
  2563. "description": "所属机构ID",
  2564. "name": "userid",
  2565. "in": "query",
  2566. "required": true
  2567. },
  2568. {
  2569. "type": "integer",
  2570. "description": "状态 0-停用 1-正常",
  2571. "name": "status",
  2572. "in": "query",
  2573. "required": true
  2574. }
  2575. ],
  2576. "responses": {
  2577. "200": {
  2578. "description": "OK",
  2579. "schema": {
  2580. "type": "array",
  2581. "items": {
  2582. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2583. }
  2584. }
  2585. },
  2586. "500": {
  2587. "description": "Internal Server Error",
  2588. "schema": {
  2589. "$ref": "#/definitions/app.Response"
  2590. }
  2591. }
  2592. }
  2593. }
  2594. },
  2595. "/Ermcp/QueryWrStandardDetail": {
  2596. "get": {
  2597. "security": [
  2598. {
  2599. "ApiKeyAuth": []
  2600. }
  2601. ],
  2602. "produces": [
  2603. "application/json"
  2604. ],
  2605. "tags": [
  2606. "企业风险管理(app)"
  2607. ],
  2608. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2609. "parameters": [
  2610. {
  2611. "type": "integer",
  2612. "description": "所属机构ID",
  2613. "name": "userid",
  2614. "in": "query",
  2615. "required": true
  2616. },
  2617. {
  2618. "type": "integer",
  2619. "description": "现货商品ID",
  2620. "name": "wrstandardid",
  2621. "in": "query",
  2622. "required": true
  2623. }
  2624. ],
  2625. "responses": {
  2626. "200": {
  2627. "description": "OK",
  2628. "schema": {
  2629. "type": "array",
  2630. "items": {
  2631. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2632. }
  2633. }
  2634. },
  2635. "500": {
  2636. "description": "Internal Server Error",
  2637. "schema": {
  2638. "$ref": "#/definitions/app.Response"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "/Erms2/QueryArbitrageStrategy": {
  2645. "get": {
  2646. "security": [
  2647. {
  2648. "ApiKeyAuth": []
  2649. }
  2650. ],
  2651. "produces": [
  2652. "application/json"
  2653. ],
  2654. "tags": [
  2655. "风险管理"
  2656. ],
  2657. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2658. "parameters": [
  2659. {
  2660. "type": "integer",
  2661. "description": "账户ID",
  2662. "name": "userid",
  2663. "in": "query",
  2664. "required": true
  2665. },
  2666. {
  2667. "type": "string",
  2668. "description": "商品组ID(品种ID)",
  2669. "name": "goodsgroupid",
  2670. "in": "query"
  2671. }
  2672. ],
  2673. "responses": {
  2674. "200": {
  2675. "description": "OK",
  2676. "schema": {
  2677. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2678. }
  2679. },
  2680. "500": {
  2681. "description": "Internal Server Error",
  2682. "schema": {
  2683. "$ref": "#/definitions/app.Response"
  2684. }
  2685. }
  2686. }
  2687. }
  2688. },
  2689. "/Erms2/QueryInnerTradeDetail": {
  2690. "get": {
  2691. "security": [
  2692. {
  2693. "ApiKeyAuth": []
  2694. }
  2695. ],
  2696. "produces": [
  2697. "application/json"
  2698. ],
  2699. "tags": [
  2700. "风险管理"
  2701. ],
  2702. "summary": "查询内部成交单信息",
  2703. "parameters": [
  2704. {
  2705. "type": "integer",
  2706. "description": "资金账户",
  2707. "name": "accountid",
  2708. "in": "query",
  2709. "required": true
  2710. }
  2711. ],
  2712. "responses": {
  2713. "200": {
  2714. "description": "OK",
  2715. "schema": {
  2716. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Erms2/QuerySpotContract": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "风险管理"
  2740. ],
  2741. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "策略申请ID",
  2746. "name": "asapplyid",
  2747. "in": "query",
  2748. "required": true
  2749. },
  2750. {
  2751. "type": "integer",
  2752. "description": "现货合同ID",
  2753. "name": "spotcontractid",
  2754. "in": "query"
  2755. }
  2756. ],
  2757. "responses": {
  2758. "200": {
  2759. "description": "OK",
  2760. "schema": {
  2761. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2762. }
  2763. },
  2764. "500": {
  2765. "description": "Internal Server Error",
  2766. "schema": {
  2767. "$ref": "#/definitions/app.Response"
  2768. }
  2769. }
  2770. }
  2771. }
  2772. },
  2773. "/Erms3/AddErms2ASApply": {
  2774. "post": {
  2775. "security": [
  2776. {
  2777. "ApiKeyAuth": []
  2778. }
  2779. ],
  2780. "produces": [
  2781. "application/json"
  2782. ],
  2783. "tags": [
  2784. "风险管理v3"
  2785. ],
  2786. "summary": "新增期现套利业务申请",
  2787. "parameters": [
  2788. {
  2789. "description": "申请参数",
  2790. "name": "jsonBody",
  2791. "in": "body",
  2792. "required": true,
  2793. "schema": {
  2794. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2795. }
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/Erms3/AddErms2SpotTradeApply": {
  2815. "post": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "produces": [
  2822. "application/json"
  2823. ],
  2824. "tags": [
  2825. "风险管理v3"
  2826. ],
  2827. "summary": "新增现货贸易业务申请",
  2828. "parameters": [
  2829. {
  2830. "description": "申请参数",
  2831. "name": "jsonBody",
  2832. "in": "body",
  2833. "required": true,
  2834. "schema": {
  2835. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2836. }
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Erms3/AddSpotContractApply": {
  2856. "post": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "风险管理v3"
  2867. ],
  2868. "summary": "新增现货合同申请",
  2869. "parameters": [
  2870. {
  2871. "description": "申请参数",
  2872. "name": "jsonBody",
  2873. "in": "body",
  2874. "required": true,
  2875. "schema": {
  2876. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2877. }
  2878. }
  2879. ],
  2880. "responses": {
  2881. "200": {
  2882. "description": "OK",
  2883. "schema": {
  2884. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2885. }
  2886. },
  2887. "500": {
  2888. "description": "Internal Server Error",
  2889. "schema": {
  2890. "$ref": "#/definitions/app.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/Erms3/AddUserInfoApply": {
  2897. "post": {
  2898. "security": [
  2899. {
  2900. "ApiKeyAuth": []
  2901. }
  2902. ],
  2903. "produces": [
  2904. "application/json"
  2905. ],
  2906. "tags": [
  2907. "风险管理v3"
  2908. ],
  2909. "summary": "新增客户申请",
  2910. "parameters": [
  2911. {
  2912. "description": "用户信息",
  2913. "name": "jsonBody",
  2914. "in": "body",
  2915. "required": true,
  2916. "schema": {
  2917. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2918. }
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. },
  2928. "500": {
  2929. "description": "Internal Server Error",
  2930. "schema": {
  2931. "$ref": "#/definitions/app.Response"
  2932. }
  2933. }
  2934. }
  2935. }
  2936. },
  2937. "/Erms3/ModifyUserInfoApply": {
  2938. "post": {
  2939. "security": [
  2940. {
  2941. "ApiKeyAuth": []
  2942. }
  2943. ],
  2944. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2945. "produces": [
  2946. "application/json"
  2947. ],
  2948. "tags": [
  2949. "风险管理v3"
  2950. ],
  2951. "summary": "修改客户申请",
  2952. "parameters": [
  2953. {
  2954. "description": "用户信息",
  2955. "name": "jsonBody",
  2956. "in": "body",
  2957. "required": true,
  2958. "schema": {
  2959. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2960. }
  2961. }
  2962. ],
  2963. "responses": {
  2964. "200": {
  2965. "description": "OK",
  2966. "schema": {
  2967. "$ref": "#/definitions/app.Response"
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Erms3/QueryBusinessInfo": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "风险管理v3"
  2991. ],
  2992. "summary": "查询业务表单数据",
  2993. "parameters": [
  2994. {
  2995. "type": "string",
  2996. "description": "资金账号ID列表,用逗号分隔",
  2997. "name": "accountids",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "状态,0为未结束 1为已结束",
  3004. "name": "status",
  3005. "in": "query",
  3006. "required": true
  3007. }
  3008. ],
  3009. "responses": {
  3010. "200": {
  3011. "description": "OK",
  3012. "schema": {
  3013. "type": "array",
  3014. "items": {
  3015. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3016. }
  3017. }
  3018. },
  3019. "500": {
  3020. "description": "Internal Server Error",
  3021. "schema": {
  3022. "$ref": "#/definitions/app.Response"
  3023. }
  3024. }
  3025. }
  3026. }
  3027. },
  3028. "/Erms3/QueryPendingAuditContract": {
  3029. "get": {
  3030. "security": [
  3031. {
  3032. "ApiKeyAuth": []
  3033. }
  3034. ],
  3035. "produces": [
  3036. "application/json"
  3037. ],
  3038. "tags": [
  3039. "风险管理v3"
  3040. ],
  3041. "summary": "查询待审核合同",
  3042. "parameters": [
  3043. {
  3044. "type": "string",
  3045. "description": "资金账号ID列表,逗号隔开",
  3046. "name": "accountids",
  3047. "in": "query",
  3048. "required": true
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": "合同类型 1-采购 -1-销售",
  3053. "name": "contracttype",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": "合同模式 1-普通 2-回购",
  3060. "name": "contractmode",
  3061. "in": "query",
  3062. "required": true
  3063. }
  3064. ],
  3065. "responses": {
  3066. "200": {
  3067. "description": "OK",
  3068. "schema": {
  3069. "type": "array",
  3070. "items": {
  3071. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3072. }
  3073. }
  3074. },
  3075. "500": {
  3076. "description": "Internal Server Error",
  3077. "schema": {
  3078. "$ref": "#/definitions/app.Response"
  3079. }
  3080. }
  3081. }
  3082. }
  3083. },
  3084. "/Erms3/QueryPendingBusiness": {
  3085. "get": {
  3086. "security": [
  3087. {
  3088. "ApiKeyAuth": []
  3089. }
  3090. ],
  3091. "produces": [
  3092. "application/json"
  3093. ],
  3094. "tags": [
  3095. "风险管理v3"
  3096. ],
  3097. "summary": "查询待审核基差贸易业务",
  3098. "parameters": [
  3099. {
  3100. "type": "string",
  3101. "description": "资金账号ID列表,逗号隔开",
  3102. "name": "accountids",
  3103. "in": "query",
  3104. "required": true
  3105. }
  3106. ],
  3107. "responses": {
  3108. "200": {
  3109. "description": "OK",
  3110. "schema": {
  3111. "type": "array",
  3112. "items": {
  3113. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3114. }
  3115. }
  3116. },
  3117. "500": {
  3118. "description": "Internal Server Error",
  3119. "schema": {
  3120. "$ref": "#/definitions/app.Response"
  3121. }
  3122. }
  3123. }
  3124. }
  3125. },
  3126. "/Erms3/QuerySpotContractAppleForm": {
  3127. "get": {
  3128. "security": [
  3129. {
  3130. "ApiKeyAuth": []
  3131. }
  3132. ],
  3133. "produces": [
  3134. "application/json"
  3135. ],
  3136. "tags": [
  3137. "风险管理v3"
  3138. ],
  3139. "summary": "查询合同申请表单数据",
  3140. "parameters": [
  3141. {
  3142. "type": "integer",
  3143. "description": "登录账号",
  3144. "name": "loginID",
  3145. "in": "query",
  3146. "required": true
  3147. }
  3148. ],
  3149. "responses": {
  3150. "200": {
  3151. "description": "OK",
  3152. "schema": {
  3153. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Erms3/QuerySpotContractDetail": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "风险管理v3"
  3177. ],
  3178. "summary": "查询合同详细信息",
  3179. "parameters": [
  3180. {
  3181. "type": "string",
  3182. "description": "资金账号ID列表,用逗号分隔",
  3183. "name": "accountids",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "integer",
  3189. "description": "合同类型,1为采购合同 -1为销售合同",
  3190. "name": "contracttype",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "合同模式,1为普通合同 2为回购销售合同",
  3197. "name": "contractmode",
  3198. "in": "query",
  3199. "required": true
  3200. },
  3201. {
  3202. "type": "integer",
  3203. "description": "状态,0为履约中 1为已完成",
  3204. "name": "status",
  3205. "in": "query",
  3206. "required": true
  3207. }
  3208. ],
  3209. "responses": {
  3210. "200": {
  3211. "description": "OK",
  3212. "schema": {
  3213. "type": "array",
  3214. "items": {
  3215. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3216. }
  3217. }
  3218. },
  3219. "500": {
  3220. "description": "Internal Server Error",
  3221. "schema": {
  3222. "$ref": "#/definitions/app.Response"
  3223. }
  3224. }
  3225. }
  3226. }
  3227. },
  3228. "/Erms3/QueryUserInfoApplies": {
  3229. "get": {
  3230. "security": [
  3231. {
  3232. "ApiKeyAuth": []
  3233. }
  3234. ],
  3235. "produces": [
  3236. "application/json"
  3237. ],
  3238. "tags": [
  3239. "风险管理v3"
  3240. ],
  3241. "summary": "客户申请信息查询",
  3242. "parameters": [
  3243. {
  3244. "type": "integer",
  3245. "description": "页码",
  3246. "name": "page",
  3247. "in": "query"
  3248. },
  3249. {
  3250. "type": "integer",
  3251. "description": "每页条数",
  3252. "name": "pagesize",
  3253. "in": "query"
  3254. },
  3255. {
  3256. "type": "string",
  3257. "description": "客户名称,支持模糊查询",
  3258. "name": "userName",
  3259. "in": "query"
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3267. }
  3268. },
  3269. "500": {
  3270. "description": "Internal Server Error",
  3271. "schema": {
  3272. "$ref": "#/definitions/app.Response"
  3273. }
  3274. }
  3275. }
  3276. }
  3277. },
  3278. "/Erms3/QueryUserInfos": {
  3279. "get": {
  3280. "security": [
  3281. {
  3282. "ApiKeyAuth": []
  3283. }
  3284. ],
  3285. "produces": [
  3286. "application/json"
  3287. ],
  3288. "tags": [
  3289. "风险管理v3"
  3290. ],
  3291. "summary": "客户信息查询",
  3292. "parameters": [
  3293. {
  3294. "type": "integer",
  3295. "description": "页码",
  3296. "name": "page",
  3297. "in": "query"
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "每页条数",
  3302. "name": "pagesize",
  3303. "in": "query"
  3304. },
  3305. {
  3306. "type": "string",
  3307. "description": "客户名称,支持模糊查询",
  3308. "name": "userName",
  3309. "in": "query"
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/HSBY/GetHsbyMyCount": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "description": "说明: 不包括已完成的数量。",
  3336. "produces": [
  3337. "application/json"
  3338. ],
  3339. "tags": [
  3340. "定制【海商报业】"
  3341. ],
  3342. "summary": "获取我的订单与包裹数量",
  3343. "parameters": [
  3344. {
  3345. "type": "string",
  3346. "description": "资金账户列表,格式:1,2,3",
  3347. "name": "accountIDs",
  3348. "in": "query",
  3349. "required": true
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3357. }
  3358. },
  3359. "500": {
  3360. "description": "Internal Server Error",
  3361. "schema": {
  3362. "$ref": "#/definitions/app.Response"
  3363. }
  3364. }
  3365. }
  3366. }
  3367. },
  3368. "/HSBY/QueryClientFixedADConfigs": {
  3369. "get": {
  3370. "security": [
  3371. {
  3372. "ApiKeyAuth": []
  3373. }
  3374. ],
  3375. "produces": [
  3376. "application/json"
  3377. ],
  3378. "tags": [
  3379. "定制【海商报业】"
  3380. ],
  3381. "summary": "获取终端固定广告配置",
  3382. "responses": {
  3383. "200": {
  3384. "description": "OK",
  3385. "schema": {
  3386. "$ref": "#/definitions/models.Clientfixedadconfig"
  3387. }
  3388. },
  3389. "500": {
  3390. "description": "Internal Server Error",
  3391. "schema": {
  3392. "$ref": "#/definitions/app.Response"
  3393. }
  3394. }
  3395. }
  3396. }
  3397. },
  3398. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3399. "get": {
  3400. "security": [
  3401. {
  3402. "ApiKeyAuth": []
  3403. }
  3404. ],
  3405. "produces": [
  3406. "application/json"
  3407. ],
  3408. "tags": [
  3409. "定制【海商报业】"
  3410. ],
  3411. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3412. "parameters": [
  3413. {
  3414. "type": "integer",
  3415. "description": "页码",
  3416. "name": "page",
  3417. "in": "query"
  3418. },
  3419. {
  3420. "type": "integer",
  3421. "description": "每页条数",
  3422. "name": "pagesize",
  3423. "in": "query"
  3424. },
  3425. {
  3426. "type": "string",
  3427. "description": "资金账户列表,格式:1,2,3",
  3428. "name": "accountIDs",
  3429. "in": "query",
  3430. "required": true
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "description": "说明:查询结果已按委托价格和委托时间排序",
  3457. "produces": [
  3458. "application/json"
  3459. ],
  3460. "tags": [
  3461. "定制【海商报业】"
  3462. ],
  3463. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3464. "parameters": [
  3465. {
  3466. "type": "integer",
  3467. "description": "商品ID",
  3468. "name": "goodsID",
  3469. "in": "query",
  3470. "required": true
  3471. },
  3472. {
  3473. "type": "string",
  3474. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3475. "name": "accountIDs",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3481. "name": "buyOrSell",
  3482. "in": "query"
  3483. },
  3484. {
  3485. "type": "number",
  3486. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3487. "name": "price",
  3488. "in": "query"
  3489. },
  3490. {
  3491. "type": "integer",
  3492. "description": "档位,不传则默认为3档",
  3493. "name": "speed",
  3494. "in": "query"
  3495. }
  3496. ],
  3497. "responses": {
  3498. "200": {
  3499. "description": "OK",
  3500. "schema": {
  3501. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3502. }
  3503. },
  3504. "500": {
  3505. "description": "Internal Server Error",
  3506. "schema": {
  3507. "$ref": "#/definitions/app.Response"
  3508. }
  3509. }
  3510. }
  3511. }
  3512. },
  3513. "/HSBY/QueryHsbyListingGoodsDetail": {
  3514. "get": {
  3515. "security": [
  3516. {
  3517. "ApiKeyAuth": []
  3518. }
  3519. ],
  3520. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3521. "produces": [
  3522. "application/json"
  3523. ],
  3524. "tags": [
  3525. "定制【海商报业】"
  3526. ],
  3527. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3528. "parameters": [
  3529. {
  3530. "type": "integer",
  3531. "description": "商品ID",
  3532. "name": "goodsID",
  3533. "in": "query",
  3534. "required": true
  3535. },
  3536. {
  3537. "type": "integer",
  3538. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3539. "name": "accountID",
  3540. "in": "query"
  3541. }
  3542. ],
  3543. "responses": {
  3544. "200": {
  3545. "description": "OK",
  3546. "schema": {
  3547. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "定制【海商报业】"
  3571. ],
  3572. "summary": "查询三级市场(商城)商品信息详情",
  3573. "parameters": [
  3574. {
  3575. "type": "integer",
  3576. "description": "委托单号",
  3577. "name": "orderID",
  3578. "in": "query",
  3579. "required": true
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3584. "name": "accountID",
  3585. "in": "query"
  3586. }
  3587. ],
  3588. "responses": {
  3589. "200": {
  3590. "description": "OK",
  3591. "schema": {
  3592. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3593. }
  3594. },
  3595. "500": {
  3596. "description": "Internal Server Error",
  3597. "schema": {
  3598. "$ref": "#/definitions/app.Response"
  3599. }
  3600. }
  3601. }
  3602. }
  3603. },
  3604. "/HSBY/QueryHsbyMarketGoodses": {
  3605. "get": {
  3606. "security": [
  3607. {
  3608. "ApiKeyAuth": []
  3609. }
  3610. ],
  3611. "produces": [
  3612. "application/json"
  3613. ],
  3614. "tags": [
  3615. "定制【海商报业】"
  3616. ],
  3617. "summary": "查询特卖商品列表(三级商城)",
  3618. "parameters": [
  3619. {
  3620. "type": "integer",
  3621. "description": "页码",
  3622. "name": "page",
  3623. "in": "query"
  3624. },
  3625. {
  3626. "type": "integer",
  3627. "description": "每页条数",
  3628. "name": "pagesize",
  3629. "in": "query"
  3630. },
  3631. {
  3632. "type": "string",
  3633. "description": "市场ID列表,格式:1,2,3",
  3634. "name": "marketIDs",
  3635. "in": "query",
  3636. "required": true
  3637. },
  3638. {
  3639. "type": "integer",
  3640. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3641. "name": "accountID",
  3642. "in": "query",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "类别ID",
  3648. "name": "categoryID",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3654. "name": "goodsIDs",
  3655. "in": "query"
  3656. },
  3657. {
  3658. "type": "integer",
  3659. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3660. "name": "couponTypeID",
  3661. "in": "query"
  3662. }
  3663. ],
  3664. "responses": {
  3665. "200": {
  3666. "description": "OK",
  3667. "schema": {
  3668. "$ref": "#/definitions/models.HsbyMarketGoods"
  3669. }
  3670. },
  3671. "500": {
  3672. "description": "Internal Server Error",
  3673. "schema": {
  3674. "$ref": "#/definitions/app.Response"
  3675. }
  3676. }
  3677. }
  3678. }
  3679. },
  3680. "/HSBY/QueryHsbyMarkets": {
  3681. "get": {
  3682. "security": [
  3683. {
  3684. "ApiKeyAuth": []
  3685. }
  3686. ],
  3687. "produces": [
  3688. "application/json"
  3689. ],
  3690. "tags": [
  3691. "定制【海商报业】"
  3692. ],
  3693. "summary": "查询海商报业相关市场信息",
  3694. "responses": {
  3695. "200": {
  3696. "description": "OK",
  3697. "schema": {
  3698. "$ref": "#/definitions/models.HsbyMarketInfo"
  3699. }
  3700. },
  3701. "500": {
  3702. "description": "Internal Server Error",
  3703. "schema": {
  3704. "$ref": "#/definitions/app.Response"
  3705. }
  3706. }
  3707. }
  3708. }
  3709. },
  3710. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3711. "get": {
  3712. "security": [
  3713. {
  3714. "ApiKeyAuth": []
  3715. }
  3716. ],
  3717. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3718. "produces": [
  3719. "application/json"
  3720. ],
  3721. "tags": [
  3722. "定制【海商报业】"
  3723. ],
  3724. "summary": "查询“我的订单”信息",
  3725. "parameters": [
  3726. {
  3727. "type": "string",
  3728. "description": "资金账户列表,格式:1,2,3",
  3729. "name": "accountIDs",
  3730. "in": "query",
  3731. "required": true
  3732. }
  3733. ],
  3734. "responses": {
  3735. "200": {
  3736. "description": "OK",
  3737. "schema": {
  3738. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/HSBY/QueryHsbyMyGoods": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3758. "produces": [
  3759. "application/json"
  3760. ],
  3761. "tags": [
  3762. "定制【海商报业】"
  3763. ],
  3764. "summary": "查询“我的商品”信息",
  3765. "parameters": [
  3766. {
  3767. "type": "string",
  3768. "description": "资金账户列表,格式:1,2,3",
  3769. "name": "accountIDs",
  3770. "in": "query",
  3771. "required": true
  3772. }
  3773. ],
  3774. "responses": {
  3775. "200": {
  3776. "description": "OK",
  3777. "schema": {
  3778. "$ref": "#/definitions/models.HsbyMyGoods"
  3779. }
  3780. },
  3781. "500": {
  3782. "description": "Internal Server Error",
  3783. "schema": {
  3784. "$ref": "#/definitions/app.Response"
  3785. }
  3786. }
  3787. }
  3788. }
  3789. },
  3790. "/HSBY/QueryHsbyMyPackages": {
  3791. "get": {
  3792. "security": [
  3793. {
  3794. "ApiKeyAuth": []
  3795. }
  3796. ],
  3797. "produces": [
  3798. "application/json"
  3799. ],
  3800. "tags": [
  3801. "定制【海商报业】"
  3802. ],
  3803. "summary": "查询我的包裹信息",
  3804. "parameters": [
  3805. {
  3806. "type": "string",
  3807. "description": "资金账户列表,格式:1,2,3",
  3808. "name": "accountIDs",
  3809. "in": "query",
  3810. "required": true
  3811. },
  3812. {
  3813. "type": "integer",
  3814. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3815. "name": "takeOrderStatus",
  3816. "in": "query"
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "$ref": "#/definitions/models.HsbyMyPackage"
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/HSBY/QueryHsbyPreGoodsDetail": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "定制【海商报业】"
  3847. ],
  3848. "summary": "查询一级市场(预售)商品信息详情",
  3849. "parameters": [
  3850. {
  3851. "type": "integer",
  3852. "description": "商品ID",
  3853. "name": "goodsID",
  3854. "in": "query",
  3855. "required": true
  3856. },
  3857. {
  3858. "type": "integer",
  3859. "description": "资金账户,主要用于获取预售商品购买上限",
  3860. "name": "accountID",
  3861. "in": "query"
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3869. }
  3870. },
  3871. "500": {
  3872. "description": "Internal Server Error",
  3873. "schema": {
  3874. "$ref": "#/definitions/app.Response"
  3875. }
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "/HSBY/QueryHsbyPreGoodses": {
  3881. "get": {
  3882. "security": [
  3883. {
  3884. "ApiKeyAuth": []
  3885. }
  3886. ],
  3887. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3888. "produces": [
  3889. "application/json"
  3890. ],
  3891. "tags": [
  3892. "定制【海商报业】"
  3893. ],
  3894. "summary": "查询新品上市商品列表(一级市场预售)",
  3895. "parameters": [
  3896. {
  3897. "type": "integer",
  3898. "description": "页码",
  3899. "name": "page",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "每页条数",
  3905. "name": "pagesize",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "string",
  3910. "description": "市场ID列表,格式:1,2,3",
  3911. "name": "marketIDs",
  3912. "in": "query",
  3913. "required": true
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "目的地(省)ID",
  3918. "name": "descProvinceID",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "目的地(市)ID",
  3924. "name": "descCityID",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "$ref": "#/definitions/models.HsbyPreGoods"
  3933. }
  3934. },
  3935. "500": {
  3936. "description": "Internal Server Error",
  3937. "schema": {
  3938. "$ref": "#/definitions/app.Response"
  3939. }
  3940. }
  3941. }
  3942. }
  3943. },
  3944. "/HSBY/QueryHsbySellMyDetails": {
  3945. "get": {
  3946. "security": [
  3947. {
  3948. "ApiKeyAuth": []
  3949. }
  3950. ],
  3951. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "定制【海商报业】"
  3957. ],
  3958. "summary": "查询\"我的闲置\"单据信息",
  3959. "parameters": [
  3960. {
  3961. "type": "integer",
  3962. "description": "页码",
  3963. "name": "page",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "integer",
  3968. "description": "每页条数",
  3969. "name": "pagesize",
  3970. "in": "query"
  3971. },
  3972. {
  3973. "type": "string",
  3974. "description": "资金账户列表,格式:1,2,3",
  3975. "name": "accountIDs",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3982. "name": "orderType",
  3983. "in": "query"
  3984. }
  3985. ],
  3986. "responses": {
  3987. "200": {
  3988. "description": "OK",
  3989. "schema": {
  3990. "$ref": "#/definitions/models.HsbySellMyDetail"
  3991. }
  3992. },
  3993. "500": {
  3994. "description": "Internal Server Error",
  3995. "schema": {
  3996. "$ref": "#/definitions/app.Response"
  3997. }
  3998. }
  3999. }
  4000. }
  4001. },
  4002. "/HSBY/QueryHsbyTopGoodses": {
  4003. "get": {
  4004. "security": [
  4005. {
  4006. "ApiKeyAuth": []
  4007. }
  4008. ],
  4009. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4010. "produces": [
  4011. "application/json"
  4012. ],
  4013. "tags": [
  4014. "定制【海商报业】"
  4015. ],
  4016. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4017. "parameters": [
  4018. {
  4019. "type": "integer",
  4020. "description": "页码",
  4021. "name": "page",
  4022. "in": "query"
  4023. },
  4024. {
  4025. "type": "integer",
  4026. "description": "每页条数",
  4027. "name": "pagesize",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "string",
  4032. "description": "市场ID列表,格式:1,2,3",
  4033. "name": "marketIDs",
  4034. "in": "query",
  4035. "required": true
  4036. },
  4037. {
  4038. "type": "integer",
  4039. "description": "目的地(省)ID",
  4040. "name": "descProvinceID",
  4041. "in": "query"
  4042. },
  4043. {
  4044. "type": "integer",
  4045. "description": "目的地(市)ID",
  4046. "name": "descCityID",
  4047. "in": "query"
  4048. }
  4049. ],
  4050. "responses": {
  4051. "200": {
  4052. "description": "OK",
  4053. "schema": {
  4054. "$ref": "#/definitions/models.HsbyTopGoods"
  4055. }
  4056. },
  4057. "500": {
  4058. "description": "Internal Server Error",
  4059. "schema": {
  4060. "$ref": "#/definitions/app.Response"
  4061. }
  4062. }
  4063. }
  4064. }
  4065. },
  4066. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4067. "get": {
  4068. "security": [
  4069. {
  4070. "ApiKeyAuth": []
  4071. }
  4072. ],
  4073. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4074. "produces": [
  4075. "application/json"
  4076. ],
  4077. "tags": [
  4078. "定制【海商报业】"
  4079. ],
  4080. "summary": "查询游客三级市场(商城)商品信息详情",
  4081. "parameters": [
  4082. {
  4083. "type": "integer",
  4084. "description": "商品ID",
  4085. "name": "goodsID",
  4086. "in": "query",
  4087. "required": true
  4088. }
  4089. ],
  4090. "responses": {
  4091. "200": {
  4092. "description": "OK",
  4093. "schema": {
  4094. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4095. }
  4096. },
  4097. "500": {
  4098. "description": "Internal Server Error",
  4099. "schema": {
  4100. "$ref": "#/definitions/app.Response"
  4101. }
  4102. }
  4103. }
  4104. }
  4105. },
  4106. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4107. "get": {
  4108. "security": [
  4109. {
  4110. "ApiKeyAuth": []
  4111. }
  4112. ],
  4113. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4114. "produces": [
  4115. "application/json"
  4116. ],
  4117. "tags": [
  4118. "定制【海商报业】"
  4119. ],
  4120. "summary": "查询游客特卖商品列表(三级商城)",
  4121. "parameters": [
  4122. {
  4123. "type": "integer",
  4124. "description": "页码",
  4125. "name": "page",
  4126. "in": "query"
  4127. },
  4128. {
  4129. "type": "integer",
  4130. "description": "每页条数",
  4131. "name": "pagesize",
  4132. "in": "query"
  4133. },
  4134. {
  4135. "type": "string",
  4136. "description": "市场ID列表,格式:1,2,3",
  4137. "name": "marketIDs",
  4138. "in": "query",
  4139. "required": true
  4140. },
  4141. {
  4142. "type": "integer",
  4143. "description": "类别ID",
  4144. "name": "categoryID",
  4145. "in": "query"
  4146. },
  4147. {
  4148. "type": "string",
  4149. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4150. "name": "goodsIDs",
  4151. "in": "query"
  4152. }
  4153. ],
  4154. "responses": {
  4155. "200": {
  4156. "description": "OK",
  4157. "schema": {
  4158. "$ref": "#/definitions/models.HsbyMarketGoods"
  4159. }
  4160. },
  4161. "500": {
  4162. "description": "Internal Server Error",
  4163. "schema": {
  4164. "$ref": "#/definitions/app.Response"
  4165. }
  4166. }
  4167. }
  4168. }
  4169. },
  4170. "/HSBY/QueryMyCollectionOrders": {
  4171. "get": {
  4172. "security": [
  4173. {
  4174. "ApiKeyAuth": []
  4175. }
  4176. ],
  4177. "produces": [
  4178. "application/json"
  4179. ],
  4180. "tags": [
  4181. "定制【海商报业】"
  4182. ],
  4183. "summary": "我的闲置中收款信息查询",
  4184. "parameters": [
  4185. {
  4186. "type": "integer",
  4187. "description": "页码",
  4188. "name": "page",
  4189. "in": "query"
  4190. },
  4191. {
  4192. "type": "integer",
  4193. "description": "每页条数",
  4194. "name": "pagesize",
  4195. "in": "query"
  4196. },
  4197. {
  4198. "type": "string",
  4199. "description": "资金账户,格式:1,2,3",
  4200. "name": "accountIDs",
  4201. "in": "query",
  4202. "required": true
  4203. }
  4204. ],
  4205. "responses": {
  4206. "200": {
  4207. "description": "OK",
  4208. "schema": {
  4209. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4210. }
  4211. },
  4212. "500": {
  4213. "description": "Internal Server Error",
  4214. "schema": {
  4215. "$ref": "#/definitions/app.Response"
  4216. }
  4217. }
  4218. }
  4219. }
  4220. },
  4221. "/HSBY/QueryMyCouponHolds": {
  4222. "get": {
  4223. "security": [
  4224. {
  4225. "ApiKeyAuth": []
  4226. }
  4227. ],
  4228. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "定制【海商报业】"
  4234. ],
  4235. "summary": "我的优惠卷持仓查询",
  4236. "parameters": [
  4237. {
  4238. "type": "string",
  4239. "description": "资金账户列表,格式:1,2,3",
  4240. "name": "accountIDs",
  4241. "in": "query",
  4242. "required": true
  4243. },
  4244. {
  4245. "type": "string",
  4246. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4247. "name": "holdStatus",
  4248. "in": "query"
  4249. }
  4250. ],
  4251. "responses": {
  4252. "200": {
  4253. "description": "OK",
  4254. "schema": {
  4255. "$ref": "#/definitions/models.MyCouponHold"
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/HSBY/QueryMyCoupons": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "定制【海商报业】"
  4279. ],
  4280. "summary": "我的优惠卷查询",
  4281. "parameters": [
  4282. {
  4283. "type": "string",
  4284. "description": "资金账户列表,格式:1,2,3",
  4285. "name": "accountIDs",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "商品ID, 一般与sellUserID配套传入",
  4292. "name": "goodsID",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "卖方UserID",
  4298. "name": "sellUserID",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "$ref": "#/definitions/models.MyCoupon"
  4307. }
  4308. },
  4309. "500": {
  4310. "description": "Internal Server Error",
  4311. "schema": {
  4312. "$ref": "#/definitions/app.Response"
  4313. }
  4314. }
  4315. }
  4316. }
  4317. },
  4318. "/HSBY/QueryMyPayOrders": {
  4319. "get": {
  4320. "security": [
  4321. {
  4322. "ApiKeyAuth": []
  4323. }
  4324. ],
  4325. "produces": [
  4326. "application/json"
  4327. ],
  4328. "tags": [
  4329. "定制【海商报业】"
  4330. ],
  4331. "summary": "获取我的订单中待付款信息",
  4332. "parameters": [
  4333. {
  4334. "type": "integer",
  4335. "description": "页码",
  4336. "name": "page",
  4337. "in": "query"
  4338. },
  4339. {
  4340. "type": "integer",
  4341. "description": "每页条数",
  4342. "name": "pagesize",
  4343. "in": "query"
  4344. },
  4345. {
  4346. "type": "string",
  4347. "description": "资金账户列表,格式:1,2,3",
  4348. "name": "accountIDs",
  4349. "in": "query",
  4350. "required": true
  4351. },
  4352. {
  4353. "type": "integer",
  4354. "description": "买方委托单号",
  4355. "name": "buyOrderID",
  4356. "in": "query"
  4357. },
  4358. {
  4359. "type": "integer",
  4360. "description": "卖方委托单号",
  4361. "name": "sellOrderID",
  4362. "in": "query"
  4363. }
  4364. ],
  4365. "responses": {
  4366. "200": {
  4367. "description": "OK",
  4368. "schema": {
  4369. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/HSBY/QueryMyUsedCoupon": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "定制【海商报业】"
  4393. ],
  4394. "summary": "已使用优惠卷查询",
  4395. "parameters": [
  4396. {
  4397. "type": "string",
  4398. "description": "资金账户列表,格式:1,2,3",
  4399. "name": "accountIDs",
  4400. "in": "query",
  4401. "required": true
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "$ref": "#/definitions/models.MyUsedCoupon"
  4409. }
  4410. },
  4411. "500": {
  4412. "description": "Internal Server Error",
  4413. "schema": {
  4414. "$ref": "#/definitions/app.Response"
  4415. }
  4416. }
  4417. }
  4418. }
  4419. },
  4420. "/HSBY/QueryProvincesAndCities": {
  4421. "get": {
  4422. "security": [
  4423. {
  4424. "ApiKeyAuth": []
  4425. }
  4426. ],
  4427. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4428. "produces": [
  4429. "application/json"
  4430. ],
  4431. "tags": [
  4432. "定制【海商报业】"
  4433. ],
  4434. "summary": "查询省市信息(不包括区)",
  4435. "parameters": [
  4436. {
  4437. "type": "integer",
  4438. "description": "省ID",
  4439. "name": "provinceID",
  4440. "in": "query"
  4441. }
  4442. ],
  4443. "responses": {
  4444. "200": {
  4445. "description": "OK",
  4446. "schema": {
  4447. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4448. }
  4449. },
  4450. "500": {
  4451. "description": "Internal Server Error",
  4452. "schema": {
  4453. "$ref": "#/definitions/app.Response"
  4454. }
  4455. }
  4456. }
  4457. }
  4458. },
  4459. "/HSBY/SetHsbyMyPackagesStatus": {
  4460. "post": {
  4461. "security": [
  4462. {
  4463. "ApiKeyAuth": []
  4464. }
  4465. ],
  4466. "produces": [
  4467. "application/json"
  4468. ],
  4469. "tags": [
  4470. "定制【海商报业】"
  4471. ],
  4472. "summary": "设置我的包裹已收货状态",
  4473. "parameters": [
  4474. {
  4475. "type": "string",
  4476. "description": "提货单号",
  4477. "name": "takeOrderID",
  4478. "in": "query",
  4479. "required": true
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "资金账号",
  4484. "name": "accountID",
  4485. "in": "query",
  4486. "required": true
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "$ref": "#/definitions/app.Response"
  4494. }
  4495. },
  4496. "500": {
  4497. "description": "Internal Server Error",
  4498. "schema": {
  4499. "$ref": "#/definitions/app.Response"
  4500. }
  4501. }
  4502. }
  4503. }
  4504. },
  4505. "/Market/QueryGoodsesByLoginID": {
  4506. "get": {
  4507. "security": [
  4508. {
  4509. "ApiKeyAuth": []
  4510. }
  4511. ],
  4512. "produces": [
  4513. "application/json"
  4514. ],
  4515. "tags": [
  4516. "通用市场"
  4517. ],
  4518. "summary": "获取登录账号有权限的商品信息",
  4519. "parameters": [
  4520. {
  4521. "type": "integer",
  4522. "description": "登录账号",
  4523. "name": "loginID",
  4524. "in": "query",
  4525. "required": true
  4526. },
  4527. {
  4528. "type": "string",
  4529. "description": "市场ID列表,格式:1,2,3",
  4530. "name": "marketIDs",
  4531. "in": "query"
  4532. }
  4533. ],
  4534. "responses": {
  4535. "200": {
  4536. "description": "OK",
  4537. "schema": {
  4538. "$ref": "#/definitions/models.Goods"
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/Market/QueryMarketRun": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "通用市场"
  4562. ],
  4563. "summary": "查询市场运行信息",
  4564. "parameters": [
  4565. {
  4566. "type": "integer",
  4567. "description": "市场ID,不传返回所有",
  4568. "name": "marketID",
  4569. "in": "query"
  4570. }
  4571. ],
  4572. "responses": {
  4573. "200": {
  4574. "description": "OK",
  4575. "schema": {
  4576. "$ref": "#/definitions/models.Marketrun"
  4577. }
  4578. },
  4579. "500": {
  4580. "description": "Internal Server Error",
  4581. "schema": {
  4582. "$ref": "#/definitions/app.Response"
  4583. }
  4584. }
  4585. }
  4586. }
  4587. },
  4588. "/Market/QueryMarketsByLoginID": {
  4589. "get": {
  4590. "security": [
  4591. {
  4592. "ApiKeyAuth": []
  4593. }
  4594. ],
  4595. "produces": [
  4596. "application/json"
  4597. ],
  4598. "tags": [
  4599. "通用市场"
  4600. ],
  4601. "summary": "获取登录账号有权限的市场信息",
  4602. "parameters": [
  4603. {
  4604. "type": "integer",
  4605. "description": "登录账号",
  4606. "name": "loginID",
  4607. "in": "query",
  4608. "required": true
  4609. }
  4610. ],
  4611. "responses": {
  4612. "200": {
  4613. "description": "OK",
  4614. "schema": {
  4615. "$ref": "#/definitions/models.Market"
  4616. }
  4617. },
  4618. "500": {
  4619. "description": "Internal Server Error",
  4620. "schema": {
  4621. "$ref": "#/definitions/app.Response"
  4622. }
  4623. }
  4624. }
  4625. }
  4626. },
  4627. "/Order/QueryHisTradeDetail": {
  4628. "get": {
  4629. "security": [
  4630. {
  4631. "ApiKeyAuth": []
  4632. }
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "通用单据"
  4639. ],
  4640. "summary": "历史成交单查询(合约市场)",
  4641. "parameters": [
  4642. {
  4643. "type": "string",
  4644. "description": "资金账户 - 格式:1,2,3",
  4645. "name": "accountID",
  4646. "in": "query",
  4647. "required": true
  4648. },
  4649. {
  4650. "type": "integer",
  4651. "description": "成交单号",
  4652. "name": "tradeID",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "委托单号",
  4658. "name": "orderID",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "string",
  4663. "description": "交易模式 - 格式:1,2,3",
  4664. "name": "tradeMode",
  4665. "in": "query"
  4666. },
  4667. {
  4668. "type": "integer",
  4669. "description": "委托单据类型",
  4670. "name": "buildType",
  4671. "in": "query"
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "成交类别 - 格式:1,2,3",
  4676. "name": "tradeType",
  4677. "in": "query"
  4678. },
  4679. {
  4680. "type": "string",
  4681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4682. "name": "startDate",
  4683. "in": "query"
  4684. },
  4685. {
  4686. "type": "string",
  4687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4688. "name": "endDate",
  4689. "in": "query"
  4690. }
  4691. ],
  4692. "responses": {
  4693. "200": {
  4694. "description": "OK",
  4695. "schema": {
  4696. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4697. }
  4698. },
  4699. "500": {
  4700. "description": "Internal Server Error",
  4701. "schema": {
  4702. "$ref": "#/definitions/app.Response"
  4703. }
  4704. }
  4705. }
  4706. }
  4707. },
  4708. "/Order/QueryHisTradeOrderDetail": {
  4709. "get": {
  4710. "security": [
  4711. {
  4712. "ApiKeyAuth": []
  4713. }
  4714. ],
  4715. "produces": [
  4716. "application/json"
  4717. ],
  4718. "tags": [
  4719. "通用单据"
  4720. ],
  4721. "summary": "历史委托单查询请求(合约市场)",
  4722. "parameters": [
  4723. {
  4724. "type": "string",
  4725. "description": "资金账户 - 格式:1,2,3",
  4726. "name": "accountID",
  4727. "in": "query",
  4728. "required": true
  4729. },
  4730. {
  4731. "type": "string",
  4732. "description": "交易模式 - 格式:1,2,3",
  4733. "name": "tradeMode",
  4734. "in": "query"
  4735. },
  4736. {
  4737. "type": "string",
  4738. "description": "委托状态 - 格式:1,2,3",
  4739. "name": "orderStatus",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "委托单号",
  4745. "name": "orderID",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "string",
  4750. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4751. "name": "startDate",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "string",
  4756. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4757. "name": "endDate",
  4758. "in": "query"
  4759. }
  4760. ],
  4761. "responses": {
  4762. "200": {
  4763. "description": "OK",
  4764. "schema": {
  4765. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4766. }
  4767. },
  4768. "500": {
  4769. "description": "Internal Server Error",
  4770. "schema": {
  4771. "$ref": "#/definitions/app.Response"
  4772. }
  4773. }
  4774. }
  4775. }
  4776. },
  4777. "/Order/QueryTradeDetail": {
  4778. "get": {
  4779. "security": [
  4780. {
  4781. "ApiKeyAuth": []
  4782. }
  4783. ],
  4784. "produces": [
  4785. "application/json"
  4786. ],
  4787. "tags": [
  4788. "通用单据"
  4789. ],
  4790. "summary": "成交单查询(合约市场)",
  4791. "parameters": [
  4792. {
  4793. "type": "string",
  4794. "description": "资金账户 - 格式:1,2,3",
  4795. "name": "accountID",
  4796. "in": "query",
  4797. "required": true
  4798. },
  4799. {
  4800. "type": "integer",
  4801. "description": "成交单号",
  4802. "name": "tradeID",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "integer",
  4807. "description": "委托单号",
  4808. "name": "orderID",
  4809. "in": "query"
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "交易模式 - 格式:1,2,3",
  4814. "name": "tradeMode",
  4815. "in": "query"
  4816. },
  4817. {
  4818. "type": "integer",
  4819. "description": "委托单据类型",
  4820. "name": "buildType",
  4821. "in": "query"
  4822. },
  4823. {
  4824. "type": "string",
  4825. "description": "成交类别 - 格式:1,2,3",
  4826. "name": "tradeType",
  4827. "in": "query"
  4828. }
  4829. ],
  4830. "responses": {
  4831. "200": {
  4832. "description": "OK",
  4833. "schema": {
  4834. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4835. }
  4836. },
  4837. "500": {
  4838. "description": "Internal Server Error",
  4839. "schema": {
  4840. "$ref": "#/definitions/app.Response"
  4841. }
  4842. }
  4843. }
  4844. }
  4845. },
  4846. "/Order/QueryTradeOrderDetail": {
  4847. "get": {
  4848. "security": [
  4849. {
  4850. "ApiKeyAuth": []
  4851. }
  4852. ],
  4853. "produces": [
  4854. "application/json"
  4855. ],
  4856. "tags": [
  4857. "通用单据"
  4858. ],
  4859. "summary": "委托单查询请求(合约市场)",
  4860. "parameters": [
  4861. {
  4862. "type": "string",
  4863. "description": "资金账户 - 格式:1,2,3",
  4864. "name": "accountID",
  4865. "in": "query",
  4866. "required": true
  4867. },
  4868. {
  4869. "type": "string",
  4870. "description": "交易模式 - 格式:1,2,3",
  4871. "name": "tradeMode",
  4872. "in": "query"
  4873. },
  4874. {
  4875. "type": "string",
  4876. "description": "委托状态 - 格式:1,2,3",
  4877. "name": "orderStatus",
  4878. "in": "query"
  4879. },
  4880. {
  4881. "type": "integer",
  4882. "description": "委托单号",
  4883. "name": "orderID",
  4884. "in": "query"
  4885. }
  4886. ],
  4887. "responses": {
  4888. "200": {
  4889. "description": "OK",
  4890. "schema": {
  4891. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4892. }
  4893. },
  4894. "500": {
  4895. "description": "Internal Server Error",
  4896. "schema": {
  4897. "$ref": "#/definitions/app.Response"
  4898. }
  4899. }
  4900. }
  4901. }
  4902. },
  4903. "/Order/QueryTradePosition": {
  4904. "get": {
  4905. "security": [
  4906. {
  4907. "ApiKeyAuth": []
  4908. }
  4909. ],
  4910. "produces": [
  4911. "application/json"
  4912. ],
  4913. "tags": [
  4914. "通用单据"
  4915. ],
  4916. "summary": "持仓汇总查询(合约市场)",
  4917. "parameters": [
  4918. {
  4919. "type": "string",
  4920. "description": "资金账户 - 格式:1,2,3",
  4921. "name": "accountID",
  4922. "in": "query",
  4923. "required": true
  4924. },
  4925. {
  4926. "type": "string",
  4927. "description": "交易模式 - 格式:1,2,3",
  4928. "name": "tradeMode",
  4929. "in": "query"
  4930. }
  4931. ],
  4932. "responses": {
  4933. "200": {
  4934. "description": "OK",
  4935. "schema": {
  4936. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/Quote/QueryHistoryDatas": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "行情服务"
  4960. ],
  4961. "summary": "查询行情历史数据",
  4962. "parameters": [
  4963. {
  4964. "type": "integer",
  4965. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4966. "name": "cycleType",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "商品代码",
  4973. "name": "goodsCode",
  4974. "in": "query",
  4975. "required": true
  4976. },
  4977. {
  4978. "type": "string",
  4979. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4980. "name": "startTime",
  4981. "in": "query"
  4982. },
  4983. {
  4984. "type": "string",
  4985. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4986. "name": "endTime",
  4987. "in": "query"
  4988. },
  4989. {
  4990. "type": "integer",
  4991. "description": "条数",
  4992. "name": "count",
  4993. "in": "query"
  4994. },
  4995. {
  4996. "type": "boolean",
  4997. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4998. "name": "isAsc",
  4999. "in": "query"
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "$ref": "#/definitions/quote.HistoryData"
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Quote/QueryQuoteDay": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "行情服务"
  5030. ],
  5031. "summary": "获取商品盘面信息",
  5032. "parameters": [
  5033. {
  5034. "type": "string",
  5035. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5036. "name": "goodsCodes",
  5037. "in": "query",
  5038. "required": true
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5046. }
  5047. },
  5048. "500": {
  5049. "description": "Internal Server Error",
  5050. "schema": {
  5051. "$ref": "#/definitions/app.Response"
  5052. }
  5053. }
  5054. }
  5055. }
  5056. },
  5057. "/Quote/QueryTSData": {
  5058. "get": {
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "行情服务"
  5064. ],
  5065. "summary": "分时图数据查询",
  5066. "parameters": [
  5067. {
  5068. "type": "string",
  5069. "description": "商品代码",
  5070. "name": "goodsCode",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/SZDZ/QueryConvertConfig": {
  5092. "get": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "produces": [
  5099. "application/json"
  5100. ],
  5101. "tags": [
  5102. "定制【尚志大宗】"
  5103. ],
  5104. "summary": "查询交易系统转换设置",
  5105. "parameters": [
  5106. {
  5107. "type": "integer",
  5108. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5109. "name": "convertType",
  5110. "in": "query"
  5111. },
  5112. {
  5113. "type": "string",
  5114. "description": "外部商品代码[JD\\PD]",
  5115. "name": "outerGoodsCode",
  5116. "in": "query"
  5117. },
  5118. {
  5119. "type": "string",
  5120. "description": "内部商品ID列表[交易],格式:1,2,3",
  5121. "name": "innerGoodsIDs",
  5122. "in": "query"
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/models.Szdz3convertconfig"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/SZDZ/QueryConvertLog": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "定制【尚志大宗】"
  5153. ],
  5154. "summary": "交易系统转换流水查询",
  5155. "parameters": [
  5156. {
  5157. "type": "string",
  5158. "description": "资金账户 - 格式:1,2,3",
  5159. "name": "accountID",
  5160. "in": "query",
  5161. "required": true
  5162. },
  5163. {
  5164. "type": "string",
  5165. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5166. "name": "startDate",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5172. "name": "endDate",
  5173. "in": "query"
  5174. }
  5175. ],
  5176. "responses": {
  5177. "200": {
  5178. "description": "OK",
  5179. "schema": {
  5180. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/SZDZ/QueryGoodsPickup": {
  5193. "get": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "produces": [
  5200. "application/json"
  5201. ],
  5202. "tags": [
  5203. "定制【尚志大宗】"
  5204. ],
  5205. "summary": "商品提货单查询",
  5206. "parameters": [
  5207. {
  5208. "type": "string",
  5209. "description": "资金账户 - 格式:1,2,3",
  5210. "name": "accountID",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "integer",
  5216. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5217. "name": "takeOrderStatus",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5226. }
  5227. },
  5228. "500": {
  5229. "description": "Internal Server Error",
  5230. "schema": {
  5231. "$ref": "#/definitions/app.Response"
  5232. }
  5233. }
  5234. }
  5235. }
  5236. },
  5237. "/SZDZ/QueryRecieptOrder": {
  5238. "get": {
  5239. "security": [
  5240. {
  5241. "ApiKeyAuth": []
  5242. }
  5243. ],
  5244. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "定制【尚志大宗】"
  5250. ],
  5251. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5252. "parameters": [
  5253. {
  5254. "type": "integer",
  5255. "description": "页码",
  5256. "name": "page",
  5257. "in": "query"
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "每页条数",
  5262. "name": "pagesize",
  5263. "in": "query"
  5264. },
  5265. {
  5266. "type": "integer",
  5267. "description": "商品ID",
  5268. "name": "goodsID",
  5269. "in": "query",
  5270. "required": true
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "所属账户名称",
  5275. "name": "accountName",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "市场ID",
  5281. "name": "marketID",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "方向 - 0:买 1:卖",
  5287. "name": "buyorsell",
  5288. "in": "query",
  5289. "required": true
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5297. }
  5298. },
  5299. "500": {
  5300. "description": "Internal Server Error",
  5301. "schema": {
  5302. "$ref": "#/definitions/app.Response"
  5303. }
  5304. }
  5305. }
  5306. }
  5307. },
  5308. "/SZDZ/QuerySZDZTradePosition": {
  5309. "get": {
  5310. "security": [
  5311. {
  5312. "ApiKeyAuth": []
  5313. }
  5314. ],
  5315. "produces": [
  5316. "application/json"
  5317. ],
  5318. "tags": [
  5319. "定制【尚志大宗】"
  5320. ],
  5321. "summary": "持仓汇总查询(尚志大宗)",
  5322. "parameters": [
  5323. {
  5324. "type": "integer",
  5325. "description": "资金账户",
  5326. "name": "accountID",
  5327. "in": "query",
  5328. "required": true
  5329. }
  5330. ],
  5331. "responses": {
  5332. "200": {
  5333. "description": "OK",
  5334. "schema": {
  5335. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5336. }
  5337. },
  5338. "500": {
  5339. "description": "Internal Server Error",
  5340. "schema": {
  5341. "$ref": "#/definitions/app.Response"
  5342. }
  5343. }
  5344. }
  5345. }
  5346. },
  5347. "/SZDZ/SearchWhite": {
  5348. "get": {
  5349. "security": [
  5350. {
  5351. "ApiKeyAuth": []
  5352. }
  5353. ],
  5354. "produces": [
  5355. "application/json"
  5356. ],
  5357. "tags": [
  5358. "定制【尚志大宗】"
  5359. ],
  5360. "summary": "搜索白名单",
  5361. "parameters": [
  5362. {
  5363. "type": "integer",
  5364. "description": "用户ID",
  5365. "name": "userID",
  5366. "in": "query",
  5367. "required": true
  5368. }
  5369. ],
  5370. "responses": {
  5371. "200": {
  5372. "description": "OK",
  5373. "schema": {
  5374. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5375. }
  5376. },
  5377. "500": {
  5378. "description": "Internal Server Error",
  5379. "schema": {
  5380. "$ref": "#/definitions/app.Response"
  5381. }
  5382. }
  5383. }
  5384. }
  5385. },
  5386. "/Search/SearchGoodses": {
  5387. "get": {
  5388. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "检索服务"
  5394. ],
  5395. "summary": "检索商品信息",
  5396. "parameters": [
  5397. {
  5398. "type": "string",
  5399. "description": "检索内容",
  5400. "name": "content",
  5401. "in": "query",
  5402. "required": true
  5403. },
  5404. {
  5405. "type": "string",
  5406. "description": "交易模式,格式:1,2,3",
  5407. "name": "tradeModes",
  5408. "in": "query"
  5409. }
  5410. ],
  5411. "responses": {
  5412. "200": {
  5413. "description": "OK",
  5414. "schema": {
  5415. "$ref": "#/definitions/models.SearchGoods"
  5416. }
  5417. },
  5418. "500": {
  5419. "description": "Internal Server Error",
  5420. "schema": {
  5421. "$ref": "#/definitions/app.Response"
  5422. }
  5423. }
  5424. }
  5425. }
  5426. },
  5427. "/TaAccount/GetTaAccounts": {
  5428. "get": {
  5429. "security": [
  5430. {
  5431. "ApiKeyAuth": []
  5432. }
  5433. ],
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "资金账户"
  5439. ],
  5440. "summary": "获取资金账户信息",
  5441. "parameters": [
  5442. {
  5443. "type": "integer",
  5444. "description": "登录账户",
  5445. "name": "loginID",
  5446. "in": "query",
  5447. "required": true
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5452. "name": "taAccountType",
  5453. "in": "query"
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "$ref": "#/definitions/models.Taaccount"
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/TaAccount/QueryAmountLog": {
  5473. "get": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "资金账户"
  5484. ],
  5485. "summary": "资金流水查询(当前)",
  5486. "parameters": [
  5487. {
  5488. "type": "integer",
  5489. "description": "页码",
  5490. "name": "page",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "integer",
  5495. "description": "每页条数",
  5496. "name": "pagesize",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "资金账户 - 格式:1,2,3",
  5502. "name": "accountID",
  5503. "in": "query",
  5504. "required": true
  5505. },
  5506. {
  5507. "type": "string",
  5508. "description": "资金操作类型 - 格式:1,2,3",
  5509. "name": "OperateType",
  5510. "in": "query"
  5511. }
  5512. ],
  5513. "responses": {
  5514. "200": {
  5515. "description": "OK",
  5516. "schema": {
  5517. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5518. }
  5519. },
  5520. "500": {
  5521. "description": "Internal Server Error",
  5522. "schema": {
  5523. "$ref": "#/definitions/app.Response"
  5524. }
  5525. }
  5526. }
  5527. }
  5528. },
  5529. "/TaAccount/QueryHisAmountLog": {
  5530. "get": {
  5531. "security": [
  5532. {
  5533. "ApiKeyAuth": []
  5534. }
  5535. ],
  5536. "produces": [
  5537. "application/json"
  5538. ],
  5539. "tags": [
  5540. "资金账户"
  5541. ],
  5542. "summary": "资金流水查询(历史)",
  5543. "parameters": [
  5544. {
  5545. "type": "integer",
  5546. "description": "页码",
  5547. "name": "page",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "integer",
  5552. "description": "每页条数",
  5553. "name": "pagesize",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "资金账户 - 格式:1,2,3",
  5559. "name": "accountID",
  5560. "in": "query",
  5561. "required": true
  5562. },
  5563. {
  5564. "type": "string",
  5565. "description": "资金操作类型 - 格式:1,2,3",
  5566. "name": "OperateType",
  5567. "in": "query"
  5568. },
  5569. {
  5570. "type": "string",
  5571. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5572. "name": "startDate",
  5573. "in": "query"
  5574. },
  5575. {
  5576. "type": "string",
  5577. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5578. "name": "endDate",
  5579. "in": "query"
  5580. }
  5581. ],
  5582. "responses": {
  5583. "200": {
  5584. "description": "OK",
  5585. "schema": {
  5586. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5587. }
  5588. },
  5589. "500": {
  5590. "description": "Internal Server Error",
  5591. "schema": {
  5592. "$ref": "#/definitions/app.Response"
  5593. }
  5594. }
  5595. }
  5596. }
  5597. },
  5598. "/Trade/QueryRecieptOrder": {
  5599. "get": {
  5600. "security": [
  5601. {
  5602. "ApiKeyAuth": []
  5603. }
  5604. ],
  5605. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5606. "produces": [
  5607. "application/json"
  5608. ],
  5609. "tags": [
  5610. "通用交易"
  5611. ],
  5612. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5613. "parameters": [
  5614. {
  5615. "type": "integer",
  5616. "description": "页码",
  5617. "name": "page",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "每页条数",
  5623. "name": "pagesize",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "商品ID",
  5629. "name": "goodsID",
  5630. "in": "query",
  5631. "required": true
  5632. },
  5633. {
  5634. "type": "string",
  5635. "description": "所属账户名称",
  5636. "name": "accountName",
  5637. "in": "query"
  5638. },
  5639. {
  5640. "type": "integer",
  5641. "description": "市场ID",
  5642. "name": "marketID",
  5643. "in": "query"
  5644. },
  5645. {
  5646. "type": "integer",
  5647. "description": "方向 - 0:买 1:卖",
  5648. "name": "buyorsell",
  5649. "in": "query",
  5650. "required": true
  5651. }
  5652. ],
  5653. "responses": {
  5654. "200": {
  5655. "description": "OK",
  5656. "schema": {
  5657. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5658. }
  5659. },
  5660. "500": {
  5661. "description": "Internal Server Error",
  5662. "schema": {
  5663. "$ref": "#/definitions/app.Response"
  5664. }
  5665. }
  5666. }
  5667. }
  5668. },
  5669. "/User/AddMessageBoard": {
  5670. "post": {
  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": "用户ID",
  5687. "name": "userID",
  5688. "in": "query",
  5689. "required": true
  5690. },
  5691. {
  5692. "type": "string",
  5693. "description": "留言信息",
  5694. "name": "message",
  5695. "in": "query",
  5696. "required": true
  5697. },
  5698. {
  5699. "type": "string",
  5700. "description": "联系电话",
  5701. "name": "contactNum",
  5702. "in": "query",
  5703. "required": true
  5704. }
  5705. ],
  5706. "responses": {
  5707. "200": {
  5708. "description": "OK",
  5709. "schema": {
  5710. "$ref": "#/definitions/app.Response"
  5711. }
  5712. },
  5713. "500": {
  5714. "description": "Internal Server Error",
  5715. "schema": {
  5716. "$ref": "#/definitions/app.Response"
  5717. }
  5718. }
  5719. }
  5720. }
  5721. },
  5722. "/User/AddUserFavoriteGoods": {
  5723. "post": {
  5724. "security": [
  5725. {
  5726. "ApiKeyAuth": []
  5727. }
  5728. ],
  5729. "produces": [
  5730. "application/json"
  5731. ],
  5732. "tags": [
  5733. "用户信息"
  5734. ],
  5735. "summary": "添加用户商品收藏信息",
  5736. "parameters": [
  5737. {
  5738. "type": "integer",
  5739. "description": "用户ID",
  5740. "name": "userID",
  5741. "in": "query",
  5742. "required": true
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "商品ID",
  5747. "name": "goodsID",
  5748. "in": "query",
  5749. "required": true
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/User/GetLoginID": {
  5769. "get": {
  5770. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5771. "produces": [
  5772. "application/json"
  5773. ],
  5774. "tags": [
  5775. "用户信息"
  5776. ],
  5777. "summary": "获取登录ID",
  5778. "parameters": [
  5779. {
  5780. "type": "string",
  5781. "description": "登录代码",
  5782. "name": "username",
  5783. "in": "query",
  5784. "required": true
  5785. }
  5786. ],
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/app.Response"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/User/GetUserAccount": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "produces": [
  5811. "application/json"
  5812. ],
  5813. "tags": [
  5814. "用户信息"
  5815. ],
  5816. "summary": "获取用户账号信息",
  5817. "parameters": [
  5818. {
  5819. "type": "integer",
  5820. "description": "用户ID",
  5821. "name": "userID",
  5822. "in": "query",
  5823. "required": true
  5824. }
  5825. ],
  5826. "responses": {
  5827. "200": {
  5828. "description": "OK",
  5829. "schema": {
  5830. "$ref": "#/definitions/models.Useraccount"
  5831. }
  5832. },
  5833. "500": {
  5834. "description": "Internal Server Error",
  5835. "schema": {
  5836. "$ref": "#/definitions/app.Response"
  5837. }
  5838. }
  5839. }
  5840. }
  5841. },
  5842. "/User/GetUserAuthStatus": {
  5843. "get": {
  5844. "security": [
  5845. {
  5846. "ApiKeyAuth": []
  5847. }
  5848. ],
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "用户信息"
  5854. ],
  5855. "summary": "获取用户实名认证状态",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "用户ID",
  5860. "name": "userID",
  5861. "in": "query",
  5862. "required": true
  5863. }
  5864. ],
  5865. "responses": {
  5866. "200": {
  5867. "description": "OK",
  5868. "schema": {
  5869. "$ref": "#/definitions/app.Response"
  5870. }
  5871. },
  5872. "500": {
  5873. "description": "Internal Server Error",
  5874. "schema": {
  5875. "$ref": "#/definitions/app.Response"
  5876. }
  5877. }
  5878. }
  5879. }
  5880. },
  5881. "/User/QueryMessageBoard": {
  5882. "get": {
  5883. "security": [
  5884. {
  5885. "ApiKeyAuth": []
  5886. }
  5887. ],
  5888. "produces": [
  5889. "application/json"
  5890. ],
  5891. "tags": [
  5892. "用户信息"
  5893. ],
  5894. "summary": "获取用户留言板信息",
  5895. "parameters": [
  5896. {
  5897. "type": "integer",
  5898. "description": "用户ID",
  5899. "name": "userID",
  5900. "in": "query",
  5901. "required": true
  5902. }
  5903. ],
  5904. "responses": {
  5905. "200": {
  5906. "description": "OK",
  5907. "schema": {
  5908. "$ref": "#/definitions/models.Messageboard"
  5909. }
  5910. },
  5911. "500": {
  5912. "description": "Internal Server Error",
  5913. "schema": {
  5914. "$ref": "#/definitions/app.Response"
  5915. }
  5916. }
  5917. }
  5918. }
  5919. },
  5920. "/User/QueryUserFavoriteGoodses": {
  5921. "get": {
  5922. "security": [
  5923. {
  5924. "ApiKeyAuth": []
  5925. }
  5926. ],
  5927. "produces": [
  5928. "application/json"
  5929. ],
  5930. "tags": [
  5931. "用户信息"
  5932. ],
  5933. "summary": "获取用户商品收藏信息",
  5934. "parameters": [
  5935. {
  5936. "type": "integer",
  5937. "description": "用户ID",
  5938. "name": "userID",
  5939. "in": "query",
  5940. "required": true
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.Userfavoritegoods"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/User/QueryUserInfo": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "用户信息"
  5971. ],
  5972. "summary": "获取用户信息",
  5973. "parameters": [
  5974. {
  5975. "type": "integer",
  5976. "description": "用户ID",
  5977. "name": "userID",
  5978. "in": "query",
  5979. "required": true
  5980. }
  5981. ],
  5982. "responses": {
  5983. "200": {
  5984. "description": "OK",
  5985. "schema": {
  5986. "$ref": "#/definitions/models.Userinfo"
  5987. }
  5988. },
  5989. "500": {
  5990. "description": "Internal Server Error",
  5991. "schema": {
  5992. "$ref": "#/definitions/app.Response"
  5993. }
  5994. }
  5995. }
  5996. }
  5997. },
  5998. "/User/QueryUserReferNum": {
  5999. "get": {
  6000. "produces": [
  6001. "application/json"
  6002. ],
  6003. "tags": [
  6004. "用户信息"
  6005. ],
  6006. "summary": "获取用户邀请码",
  6007. "parameters": [
  6008. {
  6009. "type": "integer",
  6010. "description": "用户ID",
  6011. "name": "userID",
  6012. "in": "query",
  6013. "required": true
  6014. }
  6015. ],
  6016. "responses": {
  6017. "200": {
  6018. "description": "OK",
  6019. "schema": {
  6020. "$ref": "#/definitions/app.Response"
  6021. }
  6022. },
  6023. "500": {
  6024. "description": "Internal Server Error",
  6025. "schema": {
  6026. "$ref": "#/definitions/app.Response"
  6027. }
  6028. }
  6029. }
  6030. }
  6031. },
  6032. "/User/RemoveUserFavoriteGoods": {
  6033. "post": {
  6034. "security": [
  6035. {
  6036. "ApiKeyAuth": []
  6037. }
  6038. ],
  6039. "produces": [
  6040. "application/json"
  6041. ],
  6042. "tags": [
  6043. "用户信息"
  6044. ],
  6045. "summary": "移除用户商品收藏信息",
  6046. "parameters": [
  6047. {
  6048. "type": "integer",
  6049. "description": "用户ID",
  6050. "name": "userID",
  6051. "in": "query",
  6052. "required": true
  6053. },
  6054. {
  6055. "type": "integer",
  6056. "description": "商品ID",
  6057. "name": "goodsID",
  6058. "in": "query",
  6059. "required": true
  6060. }
  6061. ],
  6062. "responses": {
  6063. "200": {
  6064. "description": "OK",
  6065. "schema": {
  6066. "$ref": "#/definitions/app.Response"
  6067. }
  6068. },
  6069. "500": {
  6070. "description": "Internal Server Error",
  6071. "schema": {
  6072. "$ref": "#/definitions/app.Response"
  6073. }
  6074. }
  6075. }
  6076. }
  6077. },
  6078. "/User/UpdateUserAccountStatus": {
  6079. "post": {
  6080. "security": [
  6081. {
  6082. "ApiKeyAuth": []
  6083. }
  6084. ],
  6085. "produces": [
  6086. "application/json"
  6087. ],
  6088. "tags": [
  6089. "用户信息"
  6090. ],
  6091. "summary": "更新用户状态",
  6092. "parameters": [
  6093. {
  6094. "type": "integer",
  6095. "description": "用户ID",
  6096. "name": "userID",
  6097. "in": "query",
  6098. "required": true
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "账户状态 - 4:正常 6:注销(停用)",
  6103. "name": "accountStatus",
  6104. "in": "query",
  6105. "required": true
  6106. }
  6107. ],
  6108. "responses": {
  6109. "200": {
  6110. "description": "OK",
  6111. "schema": {
  6112. "$ref": "#/definitions/app.Response"
  6113. }
  6114. },
  6115. "500": {
  6116. "description": "Internal Server Error",
  6117. "schema": {
  6118. "$ref": "#/definitions/app.Response"
  6119. }
  6120. }
  6121. }
  6122. }
  6123. },
  6124. "/WR/GetWRCategoryInfo": {
  6125. "get": {
  6126. "produces": [
  6127. "application/json"
  6128. ],
  6129. "tags": [
  6130. "仓单服务"
  6131. ],
  6132. "summary": "获取现货分类信息",
  6133. "responses": {
  6134. "200": {
  6135. "description": "OK",
  6136. "schema": {
  6137. "$ref": "#/definitions/models.WRCategoryTree"
  6138. }
  6139. },
  6140. "500": {
  6141. "description": "Internal Server Error",
  6142. "schema": {
  6143. "$ref": "#/definitions/app.Response"
  6144. }
  6145. }
  6146. }
  6147. }
  6148. },
  6149. "/WRTrade/GetAllDeliveryGoods": {
  6150. "get": {
  6151. "security": [
  6152. {
  6153. "ApiKeyAuth": []
  6154. },
  6155. {
  6156. "ApiKeyAuth": []
  6157. }
  6158. ],
  6159. "produces": [
  6160. "application/json",
  6161. "application/json"
  6162. ],
  6163. "tags": [
  6164. "仓单贸易",
  6165. "仓单贸易"
  6166. ],
  6167. "summary": "获取带仓单分类的种类信息",
  6168. "responses": {
  6169. "200": {
  6170. "description": "OK",
  6171. "schema": {
  6172. "$ref": "#/definitions/app.Response"
  6173. }
  6174. },
  6175. "500": {
  6176. "description": "Internal Server Error",
  6177. "schema": {
  6178. "$ref": "#/definitions/app.Response"
  6179. }
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "definitions": {
  6186. "app.Response": {
  6187. "type": "object",
  6188. "properties": {
  6189. "code": {
  6190. "type": "integer"
  6191. },
  6192. "data": {
  6193. "type": "object"
  6194. },
  6195. "msg": {
  6196. "type": "string"
  6197. },
  6198. "page": {
  6199. "description": "页码",
  6200. "type": "integer"
  6201. },
  6202. "pagesize": {
  6203. "description": "每页条数",
  6204. "type": "integer"
  6205. },
  6206. "total": {
  6207. "description": "总条数",
  6208. "type": "integer"
  6209. }
  6210. }
  6211. },
  6212. "common.QueryImageConfigsRsp": {
  6213. "type": "object",
  6214. "required": [
  6215. "configid"
  6216. ],
  6217. "properties": {
  6218. "areauserid": {
  6219. "description": "所属机构ID",
  6220. "type": "integer"
  6221. },
  6222. "configid": {
  6223. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6224. "type": "integer"
  6225. },
  6226. "createdate": {
  6227. "description": "创建时间",
  6228. "type": "string"
  6229. },
  6230. "creatorid": {
  6231. "description": "创建人",
  6232. "type": "integer"
  6233. },
  6234. "imagepath": {
  6235. "description": "图片",
  6236. "type": "string"
  6237. },
  6238. "imagetype": {
  6239. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6240. "type": "integer"
  6241. },
  6242. "isshow": {
  6243. "description": "是否展示 - 0:不展示 1:展示",
  6244. "type": "integer"
  6245. },
  6246. "marketid": {
  6247. "description": "市场ID",
  6248. "type": "integer"
  6249. },
  6250. "modifierid": {
  6251. "description": "操作人",
  6252. "type": "integer"
  6253. },
  6254. "sort": {
  6255. "description": "排序",
  6256. "type": "integer"
  6257. },
  6258. "title": {
  6259. "description": "标题",
  6260. "type": "string"
  6261. },
  6262. "trademode": {
  6263. "description": "交易模式",
  6264. "type": "integer"
  6265. },
  6266. "updatedate": {
  6267. "description": "修改时间",
  6268. "type": "string"
  6269. },
  6270. "url": {
  6271. "description": "链接(地址或商品ID)",
  6272. "type": "string"
  6273. },
  6274. "urltype": {
  6275. "description": "链接类型 - 1:直接地址 2:商品ID",
  6276. "type": "integer"
  6277. }
  6278. }
  6279. },
  6280. "common.QueryNoticeRsp": {
  6281. "type": "object",
  6282. "required": [
  6283. "autoid"
  6284. ],
  6285. "properties": {
  6286. "auditoruserid": {
  6287. "description": "审核人",
  6288. "type": "integer"
  6289. },
  6290. "auditremark": {
  6291. "description": "审核备注",
  6292. "type": "string"
  6293. },
  6294. "audittime": {
  6295. "description": "审核日期",
  6296. "type": "string"
  6297. },
  6298. "autoid": {
  6299. "description": "自增ID",
  6300. "type": "integer"
  6301. },
  6302. "content": {
  6303. "description": "内容",
  6304. "type": "string"
  6305. },
  6306. "createtime": {
  6307. "description": "创建时间",
  6308. "type": "string"
  6309. },
  6310. "creatorid": {
  6311. "description": "建仓人",
  6312. "type": "integer"
  6313. },
  6314. "endtime": {
  6315. "description": "结束时间",
  6316. "type": "string"
  6317. },
  6318. "istop": {
  6319. "description": "是否置顶 - 0:不置顶 1:置顶",
  6320. "type": "integer"
  6321. },
  6322. "msgiconurl": {
  6323. "description": "消息图标Url",
  6324. "type": "string"
  6325. },
  6326. "msgtype": {
  6327. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6328. "type": "integer"
  6329. },
  6330. "publisher": {
  6331. "description": "消息发布者",
  6332. "type": "string"
  6333. },
  6334. "readed": {
  6335. "description": "是否已读",
  6336. "type": "boolean"
  6337. },
  6338. "scheduletime": {
  6339. "description": "计划发送时间",
  6340. "type": "string"
  6341. },
  6342. "sendtype": {
  6343. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6344. "type": "integer"
  6345. },
  6346. "sentstatus": {
  6347. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6348. "type": "integer"
  6349. },
  6350. "title": {
  6351. "description": "标题",
  6352. "type": "string"
  6353. },
  6354. "userid": {
  6355. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6356. "type": "integer"
  6357. }
  6358. }
  6359. },
  6360. "common.QueryProvincesAndCitiesRsp": {
  6361. "type": "object",
  6362. "properties": {
  6363. "cities": {
  6364. "description": "市",
  6365. "type": "array",
  6366. "items": {
  6367. "$ref": "#/definitions/models.Division"
  6368. }
  6369. },
  6370. "province": {
  6371. "description": "省",
  6372. "$ref": "#/definitions/models.Division"
  6373. }
  6374. }
  6375. },
  6376. "common.QueryTableDefineRsp": {
  6377. "type": "object",
  6378. "required": [
  6379. "tablekey"
  6380. ],
  6381. "properties": {
  6382. "columns": {
  6383. "description": "列头信息数组",
  6384. "type": "array",
  6385. "items": {
  6386. "$ref": "#/definitions/models.Tablecolumnconfig"
  6387. }
  6388. },
  6389. "remark": {
  6390. "description": "Remark",
  6391. "type": "string"
  6392. },
  6393. "tabelmenu": {
  6394. "description": "列表菜单",
  6395. "type": "string"
  6396. },
  6397. "tablekey": {
  6398. "description": "列表Key",
  6399. "type": "string"
  6400. },
  6401. "tablename": {
  6402. "description": "列表名称",
  6403. "type": "string"
  6404. },
  6405. "tabletype": {
  6406. "description": "列表类型 - 1:管理端 2:终端",
  6407. "type": "integer"
  6408. }
  6409. }
  6410. },
  6411. "common.QueryTraderMenuRsp": {
  6412. "type": "object",
  6413. "properties": {
  6414. "OperationMenu": {
  6415. "description": "功能菜单",
  6416. "type": "array",
  6417. "items": {
  6418. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6419. }
  6420. },
  6421. "QuoteMenu": {
  6422. "description": "报价牌分类菜单",
  6423. "type": "array",
  6424. "items": {
  6425. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6426. }
  6427. }
  6428. }
  6429. },
  6430. "cptrade.Cptradepositioncancel": {
  6431. "type": "object",
  6432. "required": [
  6433. "cancelid"
  6434. ],
  6435. "properties": {
  6436. "accountid": {
  6437. "description": "申请人账户ID",
  6438. "type": "integer"
  6439. },
  6440. "applystatus": {
  6441. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6442. "type": "integer"
  6443. },
  6444. "applytime": {
  6445. "description": "申请时间",
  6446. "type": "string"
  6447. },
  6448. "cancelid": {
  6449. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6450. "type": "integer"
  6451. },
  6452. "cancelqty": {
  6453. "description": "注销数量",
  6454. "type": "integer"
  6455. },
  6456. "createtime": {
  6457. "description": "创建时间",
  6458. "type": "string"
  6459. },
  6460. "creatorid": {
  6461. "description": "创建人ID",
  6462. "type": "integer"
  6463. },
  6464. "creatorname": {
  6465. "description": "创建人",
  6466. "type": "string"
  6467. },
  6468. "goodscode": {
  6469. "description": "订单商品代码",
  6470. "type": "string"
  6471. },
  6472. "goodsid": {
  6473. "description": "商品ID",
  6474. "type": "integer"
  6475. },
  6476. "goodsname": {
  6477. "description": "订单商品名称",
  6478. "type": "string"
  6479. },
  6480. "goodunit": {
  6481. "description": "报价单位",
  6482. "type": "string"
  6483. },
  6484. "handlestatus": {
  6485. "description": "处理状态",
  6486. "type": "integer"
  6487. },
  6488. "marketid": {
  6489. "description": "市场ID",
  6490. "type": "integer"
  6491. },
  6492. "marketname": {
  6493. "description": "市场名称",
  6494. "type": "string"
  6495. },
  6496. "tradedate": {
  6497. "description": "交易日(yyyyMMdd)",
  6498. "type": "string"
  6499. },
  6500. "userid": {
  6501. "description": "申请人ID",
  6502. "type": "integer"
  6503. }
  6504. }
  6505. },
  6506. "cptrade.Cptradepresaleapply": {
  6507. "type": "object",
  6508. "required": [
  6509. "applyid"
  6510. ],
  6511. "properties": {
  6512. "accountid": {
  6513. "description": "申请人账户ID",
  6514. "type": "integer"
  6515. },
  6516. "applyid": {
  6517. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6518. "type": "integer"
  6519. },
  6520. "applyremark": {
  6521. "description": "申请备注",
  6522. "type": "string"
  6523. },
  6524. "applystatus": {
  6525. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6526. "type": "integer"
  6527. },
  6528. "applytime": {
  6529. "description": "申请时间",
  6530. "type": "string"
  6531. },
  6532. "attachmenturl": {
  6533. "description": "附件地址",
  6534. "type": "string"
  6535. },
  6536. "endtime": {
  6537. "description": "预售结束时间",
  6538. "type": "string"
  6539. },
  6540. "goodscode": {
  6541. "description": "商品代码",
  6542. "type": "string"
  6543. },
  6544. "goodsid": {
  6545. "description": "商品ID",
  6546. "type": "integer"
  6547. },
  6548. "goodsname": {
  6549. "description": "商品名称",
  6550. "type": "string"
  6551. },
  6552. "goodunit": {
  6553. "description": "报价单位",
  6554. "type": "string"
  6555. },
  6556. "handlestatus": {
  6557. "description": "处理状态",
  6558. "type": "integer"
  6559. },
  6560. "marketid": {
  6561. "description": "预售市场ID",
  6562. "type": "integer"
  6563. },
  6564. "marketname": {
  6565. "description": "预售市场名称",
  6566. "type": "string"
  6567. },
  6568. "presaleqty": {
  6569. "description": "预售数量",
  6570. "type": "integer"
  6571. },
  6572. "relatedgoodscode": {
  6573. "description": "关联交易合约代码",
  6574. "type": "string"
  6575. },
  6576. "relatedgoodsid": {
  6577. "description": "关联交易合约ID",
  6578. "type": "integer"
  6579. },
  6580. "relatedgoodsname": {
  6581. "description": "关联交易合约名称",
  6582. "type": "string"
  6583. },
  6584. "starttime": {
  6585. "description": "预售开始时间",
  6586. "type": "string"
  6587. },
  6588. "tradedate": {
  6589. "description": "交易日(yyyyMMdd)",
  6590. "type": "string"
  6591. },
  6592. "trademode": {
  6593. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6594. "type": "integer"
  6595. },
  6596. "userid": {
  6597. "description": "申请人ID",
  6598. "type": "integer"
  6599. }
  6600. }
  6601. },
  6602. "cptrade.Cptradeusergoodsdata": {
  6603. "type": "object",
  6604. "required": [
  6605. "accountid",
  6606. "goodsid"
  6607. ],
  6608. "properties": {
  6609. "EnabledQty": {
  6610. "description": "可用量",
  6611. "type": "integer"
  6612. },
  6613. "GoodsCode": {
  6614. "description": "订单商品代码",
  6615. "type": "string"
  6616. },
  6617. "GoodsName": {
  6618. "description": "订单商品名称",
  6619. "type": "string"
  6620. },
  6621. "WRStandardCode": {
  6622. "description": "仓单标准代码",
  6623. "type": "string"
  6624. },
  6625. "WRStandardName": {
  6626. "description": "仓单标准名称",
  6627. "type": "string"
  6628. },
  6629. "accountid": {
  6630. "description": "账户ID",
  6631. "type": "integer"
  6632. },
  6633. "cancelqty": {
  6634. "description": "注销量",
  6635. "type": "integer"
  6636. },
  6637. "curpresaleqty": {
  6638. "description": "当前预售量",
  6639. "type": "integer"
  6640. },
  6641. "deliveryqty": {
  6642. "description": "交割量",
  6643. "type": "integer"
  6644. },
  6645. "freezeamount": {
  6646. "description": "冻结金额",
  6647. "type": "number"
  6648. },
  6649. "goodsid": {
  6650. "description": "商品ID",
  6651. "type": "integer"
  6652. },
  6653. "goodunit": {
  6654. "description": "报价单位",
  6655. "type": "string"
  6656. },
  6657. "hasspotfreeze": {
  6658. "description": "是否有现货冻结 - 0:否 1:有",
  6659. "type": "integer"
  6660. },
  6661. "inqty": {
  6662. "description": "转入量(总数量)",
  6663. "type": "integer"
  6664. },
  6665. "marketid": {
  6666. "description": "市场ID",
  6667. "type": "integer"
  6668. },
  6669. "presaledamount": {
  6670. "description": "已预售总金额",
  6671. "type": "integer"
  6672. },
  6673. "presaledqty": {
  6674. "description": "已预售量",
  6675. "type": "integer"
  6676. },
  6677. "userid": {
  6678. "description": "用户ID",
  6679. "type": "integer"
  6680. },
  6681. "wrstandardid": {
  6682. "description": "仓单标准ID",
  6683. "type": "integer"
  6684. }
  6685. }
  6686. },
  6687. "cptrade.QueryCPTradeMyBidRsp": {
  6688. "type": "object",
  6689. "required": [
  6690. "accountid",
  6691. "goodsid",
  6692. "marketid",
  6693. "orderid",
  6694. "orderqty",
  6695. "ordertime",
  6696. "tradeprice",
  6697. "tradeqty"
  6698. ],
  6699. "properties": {
  6700. "accountid": {
  6701. "description": "账户ID[报价币种]",
  6702. "type": "integer"
  6703. },
  6704. "goodsid": {
  6705. "description": "商品ID",
  6706. "type": "integer"
  6707. },
  6708. "goodunit": {
  6709. "description": "报价单位",
  6710. "type": "string"
  6711. },
  6712. "marketid": {
  6713. "description": "市场ID",
  6714. "type": "integer"
  6715. },
  6716. "orderid": {
  6717. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6718. "type": "integer"
  6719. },
  6720. "orderprice": {
  6721. "description": "委托价格",
  6722. "type": "number"
  6723. },
  6724. "orderqty": {
  6725. "description": "委托数量",
  6726. "type": "integer"
  6727. },
  6728. "ordertime": {
  6729. "description": "委托时间",
  6730. "type": "string"
  6731. },
  6732. "ordertotalprice": {
  6733. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6734. "type": "number"
  6735. },
  6736. "ordertotalweight": {
  6737. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6738. "type": "integer"
  6739. },
  6740. "totaltotalprice": {
  6741. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6742. "type": "number"
  6743. },
  6744. "tradeprice": {
  6745. "description": "成交价格",
  6746. "type": "number"
  6747. },
  6748. "tradeqty": {
  6749. "description": "成交数量",
  6750. "type": "integer"
  6751. }
  6752. }
  6753. },
  6754. "cptrade.QueryCPTradeOrderDetailRsq": {
  6755. "type": "object",
  6756. "required": [
  6757. "accountid",
  6758. "buildtype",
  6759. "buyorsell",
  6760. "goodsid",
  6761. "marketid",
  6762. "memberuserid",
  6763. "operatetype",
  6764. "orderqty",
  6765. "ordertime",
  6766. "pricemode",
  6767. "strorderid",
  6768. "tradedate",
  6769. "validtype"
  6770. ],
  6771. "properties": {
  6772. "accountid": {
  6773. "description": "账户ID[报价币种]",
  6774. "type": "integer"
  6775. },
  6776. "buildtype": {
  6777. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6778. "type": "integer"
  6779. },
  6780. "buyorsell": {
  6781. "description": "买卖 - 0:买 1:卖",
  6782. "type": "integer"
  6783. },
  6784. "cancelorderid": {
  6785. "description": "撤单单号(撤单时填写)",
  6786. "type": "integer"
  6787. },
  6788. "cancelqty": {
  6789. "description": "撤单数量",
  6790. "type": "integer"
  6791. },
  6792. "clientordertime": {
  6793. "description": "客户端委托时间",
  6794. "type": "string"
  6795. },
  6796. "clientticket": {
  6797. "description": "客户端流水号",
  6798. "type": "string"
  6799. },
  6800. "clienttype": {
  6801. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6802. "type": "integer"
  6803. },
  6804. "closeexchagechargevalue": {
  6805. "description": "平仓交易所手续费设置值",
  6806. "type": "number"
  6807. },
  6808. "closefeealgorithm": {
  6809. "description": "平仓手续费收取方式 1:比率 2:固定",
  6810. "type": "integer"
  6811. },
  6812. "closefreezecharge": {
  6813. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6814. "type": "number"
  6815. },
  6816. "closememberchargevalue": {
  6817. "description": "平仓会员手续费设置值",
  6818. "type": "number"
  6819. },
  6820. "closeqty": {
  6821. "description": "平仓数量(先建后平操作 需要记录)",
  6822. "type": "integer"
  6823. },
  6824. "closetradeqty": {
  6825. "description": "平仓成交数量(先建后平操作,需要记录)",
  6826. "type": "integer"
  6827. },
  6828. "closeunfreezecharge": {
  6829. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6830. "type": "number"
  6831. },
  6832. "delistingtype": {
  6833. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6834. "type": "integer"
  6835. },
  6836. "freezecharge": {
  6837. "description": "冻结手续费",
  6838. "type": "number"
  6839. },
  6840. "freezemargin": {
  6841. "description": "冻结保证金(冻结交易金额)",
  6842. "type": "number"
  6843. },
  6844. "gcaccountid": {
  6845. "description": "账户ID[合约币种]",
  6846. "type": "integer"
  6847. },
  6848. "goodsid": {
  6849. "description": "商品ID",
  6850. "type": "integer"
  6851. },
  6852. "isconfirmexercise": {
  6853. "description": "是否确认行权- 0:否 1:是",
  6854. "type": "integer"
  6855. },
  6856. "ispreexercise": {
  6857. "description": "是否预申报- 0:否 1:是",
  6858. "type": "integer"
  6859. },
  6860. "listingselecttype": {
  6861. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6862. "type": "integer"
  6863. },
  6864. "marginalgorithm": {
  6865. "description": "保证金收取方式 1:比率 2:固定",
  6866. "type": "integer"
  6867. },
  6868. "marginvalue": {
  6869. "description": "即市保证金设置值",
  6870. "type": "number"
  6871. },
  6872. "marketid": {
  6873. "description": "市场ID",
  6874. "type": "integer"
  6875. },
  6876. "marketmaxsub": {
  6877. "description": "市价最大偏移范围",
  6878. "type": "number"
  6879. },
  6880. "memberuserid": {
  6881. "description": "所属会员UserID",
  6882. "type": "integer"
  6883. },
  6884. "openexchagechargevalue": {
  6885. "description": "建仓交易所手续费设置值",
  6886. "type": "number"
  6887. },
  6888. "openfeealgorithm": {
  6889. "description": "建仓手续费收取方式 1:比率 2:固定",
  6890. "type": "integer"
  6891. },
  6892. "openfreezecharge": {
  6893. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6894. "type": "number"
  6895. },
  6896. "openmemberchargevalue": {
  6897. "description": "建仓会员手续费设置值",
  6898. "type": "number"
  6899. },
  6900. "openqty": {
  6901. "description": "开仓数量(先建后平操作,需要记录)",
  6902. "type": "integer"
  6903. },
  6904. "opentradeqty": {
  6905. "description": "开仓成交数量(先建后平操作,需要记录)",
  6906. "type": "integer"
  6907. },
  6908. "openunfreezecharge": {
  6909. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6910. "type": "number"
  6911. },
  6912. "operatetype": {
  6913. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6914. "type": "integer"
  6915. },
  6916. "operatorid": {
  6917. "description": "登录账号(LoginID)",
  6918. "type": "integer"
  6919. },
  6920. "optiontype": {
  6921. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6922. "type": "integer"
  6923. },
  6924. "orderprice": {
  6925. "description": "委托价格",
  6926. "type": "number"
  6927. },
  6928. "orderqty": {
  6929. "description": "委托数量",
  6930. "type": "integer"
  6931. },
  6932. "ordersrc": {
  6933. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6934. "type": "integer"
  6935. },
  6936. "orderstatus": {
  6937. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6938. "type": "integer"
  6939. },
  6940. "ordertime": {
  6941. "description": "委托时间",
  6942. "type": "string"
  6943. },
  6944. "preexerciseprice": {
  6945. "description": "预申报价格",
  6946. "type": "number"
  6947. },
  6948. "premium": {
  6949. "description": "权利金",
  6950. "type": "number"
  6951. },
  6952. "preorderid": {
  6953. "description": "关联预埋单号(止盈止损单时填写)",
  6954. "type": "integer"
  6955. },
  6956. "pricemode": {
  6957. "description": "取价方式 - 1:市价 2: 限价",
  6958. "type": "integer"
  6959. },
  6960. "quoteid": {
  6961. "description": "报价单ID",
  6962. "type": "integer"
  6963. },
  6964. "relatedid": {
  6965. "description": "关联单号(交割单)",
  6966. "type": "integer"
  6967. },
  6968. "retcode": {
  6969. "description": "错误代码",
  6970. "type": "integer"
  6971. },
  6972. "sessionid": {
  6973. "description": "会话ID",
  6974. "type": "integer"
  6975. },
  6976. "strorderid": {
  6977. "description": "委托单号",
  6978. "type": "string"
  6979. },
  6980. "tradedate": {
  6981. "description": "交易日(yyyyMMdd)",
  6982. "type": "string"
  6983. },
  6984. "tradeproperty": {
  6985. "description": "交易属性",
  6986. "type": "integer"
  6987. },
  6988. "tradeqty": {
  6989. "description": "成交数量",
  6990. "type": "integer"
  6991. },
  6992. "unfreezecharge": {
  6993. "description": "解冻手续费",
  6994. "type": "number"
  6995. },
  6996. "unfreezemargin": {
  6997. "description": "解冻保证金",
  6998. "type": "number"
  6999. },
  7000. "updatetime": {
  7001. "description": "更新时间",
  7002. "type": "string"
  7003. },
  7004. "uuid": {
  7005. "description": "发起端唯一id",
  7006. "type": "string"
  7007. },
  7008. "validtime": {
  7009. "description": "有效期限",
  7010. "type": "string"
  7011. },
  7012. "validtype": {
  7013. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7014. "type": "integer"
  7015. },
  7016. "volumetype": {
  7017. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7018. "type": "integer"
  7019. }
  7020. }
  7021. },
  7022. "cptrade.QueryMyCPTradeGoodsRsp": {
  7023. "type": "object",
  7024. "required": [
  7025. "goodscode",
  7026. "goodsid",
  7027. "goodsname",
  7028. "marketid",
  7029. "relatedgoodscode",
  7030. "relatedgoodsname"
  7031. ],
  7032. "properties": {
  7033. "accountid": {
  7034. "description": "卖方账户ID",
  7035. "type": "integer"
  7036. },
  7037. "agreeunit": {
  7038. "description": "合约单位",
  7039. "type": "number"
  7040. },
  7041. "applyid": {
  7042. "description": "关联申请ID",
  7043. "type": "integer"
  7044. },
  7045. "attachmenturl": {
  7046. "description": "附件地址",
  7047. "type": "string"
  7048. },
  7049. "createtime": {
  7050. "description": "创建时间",
  7051. "type": "string"
  7052. },
  7053. "currencyid": {
  7054. "description": "报价货币ID",
  7055. "type": "integer"
  7056. },
  7057. "decimalplace": {
  7058. "description": "报价小数位",
  7059. "type": "integer"
  7060. },
  7061. "endtime": {
  7062. "description": "预售结束时间",
  7063. "type": "string"
  7064. },
  7065. "floorprice": {
  7066. "description": "底价[大宗式竞拍]",
  7067. "type": "number"
  7068. },
  7069. "goodscode": {
  7070. "description": "商品代码(预售)",
  7071. "type": "string"
  7072. },
  7073. "goodsdetail": {
  7074. "description": "详情[大宗]",
  7075. "type": "string"
  7076. },
  7077. "goodsid": {
  7078. "description": "商品ID(自增ID SEQ_GOODS)",
  7079. "type": "integer"
  7080. },
  7081. "goodsname": {
  7082. "description": "商品名称(预售)",
  7083. "type": "string"
  7084. },
  7085. "goodunit": {
  7086. "description": "报价单位",
  7087. "type": "string"
  7088. },
  7089. "goodunitid": {
  7090. "description": "报价单位ID",
  7091. "type": "integer"
  7092. },
  7093. "marketid": {
  7094. "description": "所属市场ID",
  7095. "type": "integer"
  7096. },
  7097. "marketname": {
  7098. "description": "预售市场名称",
  7099. "type": "string"
  7100. },
  7101. "presaledamount": {
  7102. "description": "已预售总金额(预售结束时更新)",
  7103. "type": "number"
  7104. },
  7105. "presaledqty": {
  7106. "description": "已预售量(预售结束时更新)",
  7107. "type": "integer"
  7108. },
  7109. "presalemode": {
  7110. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7111. "type": "integer"
  7112. },
  7113. "presaleqty": {
  7114. "description": "预售数量",
  7115. "type": "integer"
  7116. },
  7117. "refprice": {
  7118. "description": "参考价格[一口价]",
  7119. "type": "number"
  7120. },
  7121. "relatedgoodscode": {
  7122. "description": "商品代码(订单)",
  7123. "type": "string"
  7124. },
  7125. "relatedgoodsid": {
  7126. "description": "关联交易合约ID",
  7127. "type": "integer"
  7128. },
  7129. "relatedgoodsname": {
  7130. "description": "商品名称(订单)",
  7131. "type": "string"
  7132. },
  7133. "relatedmarketid": {
  7134. "description": "关联交易合约市场ID",
  7135. "type": "integer"
  7136. },
  7137. "sellstatus": {
  7138. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7139. "type": "integer"
  7140. },
  7141. "startprice": {
  7142. "description": "起拍价[大宗式竞拍]",
  7143. "type": "number"
  7144. },
  7145. "starttime": {
  7146. "description": "预售开始时间",
  7147. "type": "string"
  7148. },
  7149. "tradedate": {
  7150. "description": "交易日(yyyyMMdd)",
  7151. "type": "string"
  7152. },
  7153. "tradeprice": {
  7154. "description": "成交价[大宗]",
  7155. "type": "number"
  7156. },
  7157. "userid": {
  7158. "description": "卖方用户ID",
  7159. "type": "integer"
  7160. }
  7161. }
  7162. },
  7163. "cptrade.QueryPresaleGoodsExRsp": {
  7164. "type": "object",
  7165. "required": [
  7166. "goodsid"
  7167. ],
  7168. "properties": {
  7169. "attachmenturl": {
  7170. "description": "附件地址",
  7171. "type": "string"
  7172. },
  7173. "createtime": {
  7174. "description": "创建时间",
  7175. "type": "string"
  7176. },
  7177. "endtime": {
  7178. "description": "预售结束时间",
  7179. "type": "string"
  7180. },
  7181. "floorprice": {
  7182. "description": "底价[大宗式竞拍]",
  7183. "type": "number"
  7184. },
  7185. "goodsdetail": {
  7186. "description": "详情[大宗]",
  7187. "type": "string"
  7188. },
  7189. "goodsid": {
  7190. "description": "商品ID(预售)",
  7191. "type": "integer"
  7192. },
  7193. "goodunit": {
  7194. "description": "报价单位",
  7195. "type": "string"
  7196. },
  7197. "marketid": {
  7198. "description": "预售市场ID - 根据预售模式选择市场",
  7199. "type": "integer"
  7200. },
  7201. "presaledamount": {
  7202. "description": "已预售总金额(预售结束时更新)",
  7203. "type": "number"
  7204. },
  7205. "presaledqty": {
  7206. "description": "已预售量(预售结束时更新)",
  7207. "type": "integer"
  7208. },
  7209. "presalemode": {
  7210. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7211. "type": "integer"
  7212. },
  7213. "presaleqty": {
  7214. "description": "预售数量",
  7215. "type": "integer"
  7216. },
  7217. "refprice": {
  7218. "description": "参考价格[一口价]",
  7219. "type": "number"
  7220. },
  7221. "relatedgoodsid": {
  7222. "description": "关联交易合约ID",
  7223. "type": "integer"
  7224. },
  7225. "relatedmarketid": {
  7226. "description": "关联交易合约市场ID",
  7227. "type": "integer"
  7228. },
  7229. "sellstatus": {
  7230. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7231. "type": "integer"
  7232. },
  7233. "startprice": {
  7234. "description": "起拍价[大宗式竞拍]",
  7235. "type": "number"
  7236. },
  7237. "starttime": {
  7238. "description": "预售开始时间",
  7239. "type": "string"
  7240. },
  7241. "tradedate": {
  7242. "description": "交易日(yyyyMMdd)",
  7243. "type": "string"
  7244. },
  7245. "tradeprice": {
  7246. "description": "成交价[大宗]",
  7247. "type": "number"
  7248. }
  7249. }
  7250. },
  7251. "delivery.QueryDeliveryRelationRsp": {
  7252. "type": "object",
  7253. "required": [
  7254. "begindate",
  7255. "enddate",
  7256. "goodsid",
  7257. "mindeliveryqty",
  7258. "xdeliveryratio"
  7259. ],
  7260. "properties": {
  7261. "begindate": {
  7262. "description": "起始日期(yyyyMMdd)",
  7263. "type": "string"
  7264. },
  7265. "buytemplateid": {
  7266. "description": "买履约计划模板ID",
  7267. "type": "integer"
  7268. },
  7269. "deliverygoodscode": {
  7270. "description": "品种代码",
  7271. "type": "string"
  7272. },
  7273. "deliverygoodsid": {
  7274. "description": "交割商品",
  7275. "type": "integer"
  7276. },
  7277. "deliverygoodsname": {
  7278. "description": "品种名称",
  7279. "type": "string"
  7280. },
  7281. "deliverymode": {
  7282. "description": "交割方式 - 1:点选式 2:申报式",
  7283. "type": "integer"
  7284. },
  7285. "deliverypricerule": {
  7286. "description": "交割价规则- 1:行情价 2:建仓价",
  7287. "type": "integer"
  7288. },
  7289. "deliverytype": {
  7290. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7291. "type": "integer"
  7292. },
  7293. "enddate": {
  7294. "description": "结束日期(yyyyMMdd)",
  7295. "type": "string"
  7296. },
  7297. "goodscode": {
  7298. "description": "商品代码",
  7299. "type": "string"
  7300. },
  7301. "goodsid": {
  7302. "description": "交易合约ID",
  7303. "type": "integer"
  7304. },
  7305. "goodsname": {
  7306. "description": "商品名称",
  7307. "type": "string"
  7308. },
  7309. "marketid": {
  7310. "description": "市场ID",
  7311. "type": "integer"
  7312. },
  7313. "mindeliveryqty": {
  7314. "description": "最小交割系数(K)",
  7315. "type": "integer"
  7316. },
  7317. "p2deliveryprice": {
  7318. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7319. "type": "number"
  7320. },
  7321. "p2deliveryratio": {
  7322. "description": "P2合约系数(p)",
  7323. "type": "integer"
  7324. },
  7325. "p2goodsid": {
  7326. "description": "P2合约ID",
  7327. "type": "integer"
  7328. },
  7329. "p2pricemode": {
  7330. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7331. "type": "integer"
  7332. },
  7333. "pdeliveryprice": {
  7334. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7335. "type": "number"
  7336. },
  7337. "pdeliveryratio": {
  7338. "description": "P合约系数(n)",
  7339. "type": "integer"
  7340. },
  7341. "pgoodsid": {
  7342. "description": "P合约ID",
  7343. "type": "integer"
  7344. },
  7345. "ppricemode": {
  7346. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7347. "type": "integer"
  7348. },
  7349. "rratio": {
  7350. "description": "兑换系数(R)",
  7351. "type": "integer"
  7352. },
  7353. "rratio1": {
  7354. "description": "兑换系数(交易合约)(R1)",
  7355. "type": "integer"
  7356. },
  7357. "rratio2": {
  7358. "description": "兑换系数(仓单标准)(R2)",
  7359. "type": "integer"
  7360. },
  7361. "selltemplateid": {
  7362. "description": "卖履约计划模板ID",
  7363. "type": "integer"
  7364. },
  7365. "wrstandardid": {
  7366. "description": "仓单标准ID",
  7367. "type": "integer"
  7368. },
  7369. "xdeliveryratio": {
  7370. "description": "交易合约系数(m)",
  7371. "type": "integer"
  7372. }
  7373. }
  7374. },
  7375. "ermcp.ExposureDetailRsp": {
  7376. "type": "object",
  7377. "properties": {
  7378. "areauserid": {
  7379. "description": "机构ID",
  7380. "type": "integer"
  7381. },
  7382. "changeQty": {
  7383. "description": "套保变动量",
  7384. "type": "number"
  7385. },
  7386. "contracttype": {
  7387. "description": "现货合同类型 - 1:采购 -1:销售",
  7388. "type": "integer"
  7389. },
  7390. "convertfactor": {
  7391. "description": "标仓系数",
  7392. "type": "number"
  7393. },
  7394. "convertratio": {
  7395. "description": "套保系数",
  7396. "type": "number"
  7397. },
  7398. "createtime": {
  7399. "description": "时间",
  7400. "type": "string"
  7401. },
  7402. "enumdicname": {
  7403. "description": "现货商品单位名称",
  7404. "type": "string"
  7405. },
  7406. "logtype": {
  7407. "description": "类型 - 1:套保计划 2:现货合同",
  7408. "type": "integer"
  7409. },
  7410. "middlegoodsId": {
  7411. "description": "套保商品id",
  7412. "type": "integer"
  7413. },
  7414. "middlegoodscode": {
  7415. "description": "套保商品代码",
  7416. "type": "string"
  7417. },
  7418. "middlegoodsname": {
  7419. "description": "套保商品名称",
  7420. "type": "string"
  7421. },
  7422. "qty": {
  7423. "description": "数量",
  7424. "type": "number"
  7425. },
  7426. "relateNo": {
  7427. "description": "现货合同/套保计划编号",
  7428. "type": "string"
  7429. },
  7430. "wrstandardcode": {
  7431. "description": "现货商品代码",
  7432. "type": "string"
  7433. },
  7434. "wrstandardid": {
  7435. "description": "现货商品ID",
  7436. "type": "integer"
  7437. },
  7438. "wrstandardname": {
  7439. "description": "现货商品名称",
  7440. "type": "string"
  7441. }
  7442. }
  7443. },
  7444. "ermcp.ExposureHedgePosDetailRsp": {
  7445. "type": "object",
  7446. "properties": {
  7447. "buyorsell": {
  7448. "description": "买卖方向 0-买 1-卖",
  7449. "type": "integer"
  7450. },
  7451. "channelbuildtype": {
  7452. "description": "开平方向 1-建仓 2-平仓",
  7453. "type": "integer"
  7454. },
  7455. "goodscode": {
  7456. "description": "商品代码",
  7457. "type": "string"
  7458. },
  7459. "goodsname": {
  7460. "description": "商品名称",
  7461. "type": "string"
  7462. },
  7463. "hedgegoodsid": {
  7464. "description": "商品id",
  7465. "type": "integer"
  7466. },
  7467. "tradeqty": {
  7468. "description": "数量(成交数量)",
  7469. "type": "integer"
  7470. },
  7471. "tradetime": {
  7472. "description": "时间(成交时间)",
  7473. "type": "string"
  7474. }
  7475. }
  7476. },
  7477. "ermcp.ExposureHedgePositionRsp": {
  7478. "type": "object",
  7479. "properties": {
  7480. "accountid": {
  7481. "description": "资金账号[外部母账户]",
  7482. "type": "integer"
  7483. },
  7484. "curbuyposition": {
  7485. "description": "期末买头寸",
  7486. "type": "integer"
  7487. },
  7488. "cursellposition": {
  7489. "description": "期末卖头寸",
  7490. "type": "integer"
  7491. },
  7492. "curtdbuyposition": {
  7493. "description": "期末今日买头寸",
  7494. "type": "integer"
  7495. },
  7496. "curtdsellposition": {
  7497. "description": "期末今日卖头寸",
  7498. "type": "integer"
  7499. },
  7500. "curydbuyposition": {
  7501. "description": "期末上日买头寸",
  7502. "type": "integer"
  7503. },
  7504. "curydsellposition": {
  7505. "description": "期末上日卖头寸",
  7506. "type": "integer"
  7507. },
  7508. "decreaseqty": {
  7509. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7510. "type": "integer"
  7511. },
  7512. "fretdbuyposition": {
  7513. "description": "冻结今日买头寸",
  7514. "type": "integer"
  7515. },
  7516. "fretdsellposition": {
  7517. "description": "冻结今日卖头寸",
  7518. "type": "integer"
  7519. },
  7520. "freydbuyposition": {
  7521. "description": "冻结上日买头寸",
  7522. "type": "integer"
  7523. },
  7524. "freydsellposition": {
  7525. "description": "冻结上日卖头寸",
  7526. "type": "integer"
  7527. },
  7528. "goodscode": {
  7529. "description": "商品代码",
  7530. "type": "string"
  7531. },
  7532. "goodsid": {
  7533. "description": "商品id",
  7534. "type": "integer"
  7535. },
  7536. "goodsname": {
  7537. "description": "商品名称",
  7538. "type": "string"
  7539. },
  7540. "hedgeaccountcode": {
  7541. "description": "对冲账号",
  7542. "type": "string"
  7543. },
  7544. "hedgegoodsid": {
  7545. "description": "对冲合约ID",
  7546. "type": "integer"
  7547. },
  7548. "increaseqty": {
  7549. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7550. "type": "integer"
  7551. },
  7552. "marketid": {
  7553. "description": "市场ID",
  7554. "type": "integer"
  7555. },
  7556. "relateduserid": {
  7557. "description": "关联用户id",
  7558. "type": "integer"
  7559. },
  7560. "totalcurqty": {
  7561. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7562. "type": "integer"
  7563. },
  7564. "totalydqty": {
  7565. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7566. "type": "integer"
  7567. },
  7568. "tradedate": {
  7569. "description": "交易日(yyyyMMdd)",
  7570. "type": "string"
  7571. },
  7572. "ydbuyposition": {
  7573. "description": "期初买头寸",
  7574. "type": "integer"
  7575. },
  7576. "ydsellposition": {
  7577. "description": "期初卖头寸",
  7578. "type": "integer"
  7579. }
  7580. }
  7581. },
  7582. "ermcp.ExposureSpotDetailRsp": {
  7583. "type": "object",
  7584. "properties": {
  7585. "contracttype": {
  7586. "description": "合同类型 1-采购 -1-销售",
  7587. "type": "integer"
  7588. },
  7589. "createtime": {
  7590. "description": "创建时间",
  7591. "type": "string"
  7592. },
  7593. "enumdicname": {
  7594. "description": "现货商品单位名称",
  7595. "type": "string"
  7596. },
  7597. "logtype": {
  7598. "description": "记录类型 1-套保 2-现货合同",
  7599. "type": "integer"
  7600. },
  7601. "qty": {
  7602. "description": "数量",
  7603. "type": "number"
  7604. },
  7605. "recordname": {
  7606. "description": "类型名称",
  7607. "type": "string"
  7608. },
  7609. "relatedid": {
  7610. "description": "套保计划ID/现货合同ID",
  7611. "type": "string"
  7612. },
  7613. "relatedno": {
  7614. "description": "编号",
  7615. "type": "string"
  7616. },
  7617. "strtime": {
  7618. "description": "时间",
  7619. "type": "string"
  7620. },
  7621. "wrstandardcode": {
  7622. "description": "现货商品代码",
  7623. "type": "string"
  7624. },
  7625. "wrstandardname": {
  7626. "description": "现货商品名称",
  7627. "type": "string"
  7628. }
  7629. }
  7630. },
  7631. "ermcp.ExposureSpotRsp": {
  7632. "type": "object",
  7633. "properties": {
  7634. "areauserid": {
  7635. "description": "所属机构",
  7636. "type": "integer"
  7637. },
  7638. "decreaseqty": {
  7639. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7640. "type": "number"
  7641. },
  7642. "increaseqty": {
  7643. "description": "增加数量=销售计划数量+采购已定价数量",
  7644. "type": "number"
  7645. },
  7646. "oritoalspotqty": {
  7647. "description": "昨日数量",
  7648. "type": "number"
  7649. },
  7650. "totalspotqty": {
  7651. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7652. "type": "number"
  7653. },
  7654. "updatetime": {
  7655. "description": "更新时间",
  7656. "type": "string"
  7657. },
  7658. "wrstandardcode": {
  7659. "description": "现货品种代码",
  7660. "type": "string"
  7661. },
  7662. "wrstandardid": {
  7663. "description": "现货商品ID",
  7664. "type": "integer"
  7665. },
  7666. "wrstandardname": {
  7667. "description": "现货品种",
  7668. "type": "string"
  7669. }
  7670. }
  7671. },
  7672. "ermcp.HisExposureRsp": {
  7673. "type": "object",
  7674. "properties": {
  7675. "data": {
  7676. "description": "历史敞口",
  7677. "type": "array",
  7678. "items": {
  7679. "$ref": "#/definitions/models.ErmcpHisExposure"
  7680. }
  7681. },
  7682. "enumdicname": {
  7683. "description": "单位名称",
  7684. "type": "string"
  7685. },
  7686. "middlegoodscode": {
  7687. "description": "套保品种代码",
  7688. "type": "string"
  7689. },
  7690. "middlegoodsid": {
  7691. "description": "套保品种ID",
  7692. "type": "integer"
  7693. },
  7694. "middlegoodsname": {
  7695. "description": "套保品种名称",
  7696. "type": "string"
  7697. }
  7698. }
  7699. },
  7700. "ermcp.PendingAuditCntRsp": {
  7701. "type": "object",
  7702. "properties": {
  7703. "businessdjqty": {
  7704. "description": "待审核数量: 点价",
  7705. "type": "integer"
  7706. },
  7707. "businessfpqty": {
  7708. "description": "待审核数量: 发票",
  7709. "type": "integer"
  7710. },
  7711. "businessjsqty": {
  7712. "description": "待审核数量: 结算",
  7713. "type": "integer"
  7714. },
  7715. "businesskxqty": {
  7716. "description": "待审核数量: 款项",
  7717. "type": "integer"
  7718. },
  7719. "hedgeplanqty": {
  7720. "description": "待审核数量: 套保计划",
  7721. "type": "integer"
  7722. },
  7723. "spotcontractqty": {
  7724. "description": "待审核数量: 现货合同",
  7725. "type": "integer"
  7726. },
  7727. "userqty": {
  7728. "description": "待审核数量: 用户",
  7729. "type": "integer"
  7730. }
  7731. }
  7732. },
  7733. "ermcp.QryAvalidGPRsp": {
  7734. "type": "object",
  7735. "properties": {
  7736. "goodsgroupid": {
  7737. "description": "期货品种id",
  7738. "type": "integer"
  7739. },
  7740. "goodsgroupname": {
  7741. "description": "期货品种名称",
  7742. "type": "string"
  7743. },
  7744. "goodunitid": {
  7745. "description": "品种单位id",
  7746. "type": "integer"
  7747. },
  7748. "goodunitname": {
  7749. "description": "品种单位名称",
  7750. "type": "string"
  7751. },
  7752. "outergroupcode": {
  7753. "description": "期货品种代码",
  7754. "type": "string"
  7755. }
  7756. }
  7757. },
  7758. "ermcp.QryBusinessDjRsp": {
  7759. "type": "object",
  7760. "properties": {
  7761. "amount": {
  7762. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7763. "type": "number"
  7764. },
  7765. "applyid": {
  7766. "description": "申请人",
  7767. "type": "string"
  7768. },
  7769. "applyname": {
  7770. "description": "申请人名称",
  7771. "type": "string"
  7772. },
  7773. "applystatus": {
  7774. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7775. "type": "integer"
  7776. },
  7777. "applytime": {
  7778. "description": "申请时间",
  7779. "type": "string"
  7780. },
  7781. "attachurl": {
  7782. "description": "附件",
  7783. "type": "string"
  7784. },
  7785. "auditname": {
  7786. "description": "审核人名称",
  7787. "type": "string"
  7788. },
  7789. "audittime": {
  7790. "description": "审核时间",
  7791. "type": "string"
  7792. },
  7793. "buyusername": {
  7794. "description": "采购方名称",
  7795. "type": "string"
  7796. },
  7797. "contractno": {
  7798. "description": "合同编号",
  7799. "type": "string"
  7800. },
  7801. "contractstatus": {
  7802. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7803. "type": "integer"
  7804. },
  7805. "contracttype": {
  7806. "description": "现货合同类型 - 1:采购 -1:销售",
  7807. "type": "integer"
  7808. },
  7809. "enumdicname": {
  7810. "description": "单位名称",
  7811. "type": "string"
  7812. },
  7813. "goodscode": {
  7814. "description": "点价合约",
  7815. "type": "string"
  7816. },
  7817. "goodsname": {
  7818. "description": "商品名称",
  7819. "type": "string"
  7820. },
  7821. "operateapplyid": {
  7822. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7823. "type": "string"
  7824. },
  7825. "operateapplytype": {
  7826. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7827. "type": "integer"
  7828. },
  7829. "pricedPrice": {
  7830. "description": "点价价格(非必填)",
  7831. "type": "number"
  7832. },
  7833. "pricedQty": {
  7834. "description": "点价数量(非必填)",
  7835. "type": "number"
  7836. },
  7837. "pricemove": {
  7838. "description": "升贴水",
  7839. "type": "number"
  7840. },
  7841. "pricetype": {
  7842. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7843. "type": "integer"
  7844. },
  7845. "relatedid": {
  7846. "description": "现货合同ID",
  7847. "type": "string"
  7848. },
  7849. "sellusername": {
  7850. "description": "销售方名字",
  7851. "type": "string"
  7852. },
  7853. "userid": {
  7854. "description": "用户ID",
  7855. "type": "integer"
  7856. }
  7857. }
  7858. },
  7859. "ermcp.QryBussinessFpRsp": {
  7860. "type": "object",
  7861. "properties": {
  7862. "applyid": {
  7863. "description": "申请人",
  7864. "type": "string"
  7865. },
  7866. "applyname": {
  7867. "description": "申请人名称",
  7868. "type": "string"
  7869. },
  7870. "applystatus": {
  7871. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7872. "type": "integer"
  7873. },
  7874. "applytime": {
  7875. "description": "申请时间",
  7876. "type": "string"
  7877. },
  7878. "attachurl": {
  7879. "description": "附件",
  7880. "type": "string"
  7881. },
  7882. "auditname": {
  7883. "description": "审核人名称",
  7884. "type": "string"
  7885. },
  7886. "audittime": {
  7887. "description": "审核时间",
  7888. "type": "string"
  7889. },
  7890. "buyusername": {
  7891. "description": "采购方名称",
  7892. "type": "string"
  7893. },
  7894. "contractno": {
  7895. "description": "合同编号",
  7896. "type": "string"
  7897. },
  7898. "contractstatus": {
  7899. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7900. "type": "integer"
  7901. },
  7902. "contracttype": {
  7903. "description": "现货合同类型 - 1:采购 -1:销售",
  7904. "type": "integer"
  7905. },
  7906. "enumdicname": {
  7907. "description": "单位名称",
  7908. "type": "string"
  7909. },
  7910. "goodscode": {
  7911. "description": "点价合约",
  7912. "type": "string"
  7913. },
  7914. "goodsname": {
  7915. "description": "商品名称",
  7916. "type": "string"
  7917. },
  7918. "invoiceAmount": {
  7919. "description": "已开收票金额(销售为开票,采购为收票)",
  7920. "type": "number"
  7921. },
  7922. "operateapplyid": {
  7923. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7924. "type": "string"
  7925. },
  7926. "operateapplytype": {
  7927. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7928. "type": "integer"
  7929. },
  7930. "pricemove": {
  7931. "description": "升贴水",
  7932. "type": "number"
  7933. },
  7934. "pricetype": {
  7935. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7936. "type": "integer"
  7937. },
  7938. "relatedid": {
  7939. "description": "现货合同ID",
  7940. "type": "string"
  7941. },
  7942. "sellusername": {
  7943. "description": "销售方名字",
  7944. "type": "string"
  7945. },
  7946. "userid": {
  7947. "description": "用户ID",
  7948. "type": "integer"
  7949. }
  7950. }
  7951. },
  7952. "ermcp.QryBussinessJsExRsp": {
  7953. "type": "object",
  7954. "properties": {
  7955. "applyid": {
  7956. "description": "申请人",
  7957. "type": "string"
  7958. },
  7959. "applyname": {
  7960. "description": "申请人名称",
  7961. "type": "string"
  7962. },
  7963. "applystatus": {
  7964. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7965. "type": "integer"
  7966. },
  7967. "applytime": {
  7968. "description": "申请时间",
  7969. "type": "string"
  7970. },
  7971. "attachurl": {
  7972. "description": "附件",
  7973. "type": "string"
  7974. },
  7975. "auditname": {
  7976. "description": "审核人名称",
  7977. "type": "string"
  7978. },
  7979. "audittime": {
  7980. "description": "审核时间",
  7981. "type": "string"
  7982. },
  7983. "buyusername": {
  7984. "description": "采购方名称",
  7985. "type": "string"
  7986. },
  7987. "contractno": {
  7988. "description": "合同编号",
  7989. "type": "string"
  7990. },
  7991. "contractstatus": {
  7992. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7993. "type": "integer"
  7994. },
  7995. "contracttype": {
  7996. "description": "现货合同类型 - 1:采购 -1:销售",
  7997. "type": "integer"
  7998. },
  7999. "enumdicname": {
  8000. "description": "单位名称",
  8001. "type": "string"
  8002. },
  8003. "goodscode": {
  8004. "description": "点价合约",
  8005. "type": "string"
  8006. },
  8007. "goodsname": {
  8008. "description": "商品名称",
  8009. "type": "string"
  8010. },
  8011. "operateapplyid": {
  8012. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8013. "type": "string"
  8014. },
  8015. "operateapplytype": {
  8016. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8017. "type": "integer"
  8018. },
  8019. "pricemove": {
  8020. "description": "升贴水",
  8021. "type": "number"
  8022. },
  8023. "pricetype": {
  8024. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8025. "type": "integer"
  8026. },
  8027. "reckontype": {
  8028. "description": "结算类型",
  8029. "type": "string"
  8030. },
  8031. "reckonvalue": {
  8032. "description": "值",
  8033. "type": "number"
  8034. },
  8035. "relatedid": {
  8036. "description": "现货合同ID",
  8037. "type": "string"
  8038. },
  8039. "sellusername": {
  8040. "description": "销售方名字",
  8041. "type": "string"
  8042. },
  8043. "userid": {
  8044. "description": "用户ID",
  8045. "type": "integer"
  8046. }
  8047. }
  8048. },
  8049. "ermcp.QryBussinessJsRsp": {
  8050. "type": "object",
  8051. "properties": {
  8052. "addmargin": {
  8053. "description": "追加保证金(非必填)",
  8054. "type": "number"
  8055. },
  8056. "applyid": {
  8057. "description": "申请人",
  8058. "type": "string"
  8059. },
  8060. "applyname": {
  8061. "description": "申请人名称",
  8062. "type": "string"
  8063. },
  8064. "applystatus": {
  8065. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8066. "type": "integer"
  8067. },
  8068. "applytime": {
  8069. "description": "申请时间",
  8070. "type": "string"
  8071. },
  8072. "attachurl": {
  8073. "description": "附件",
  8074. "type": "string"
  8075. },
  8076. "auditname": {
  8077. "description": "审核人名称",
  8078. "type": "string"
  8079. },
  8080. "audittime": {
  8081. "description": "审核时间",
  8082. "type": "string"
  8083. },
  8084. "buyusername": {
  8085. "description": "采购方名称",
  8086. "type": "string"
  8087. },
  8088. "contractno": {
  8089. "description": "合同编号",
  8090. "type": "string"
  8091. },
  8092. "contractstatus": {
  8093. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8094. "type": "integer"
  8095. },
  8096. "contracttype": {
  8097. "description": "现货合同类型 - 1:采购 -1:销售",
  8098. "type": "integer"
  8099. },
  8100. "decmargin": {
  8101. "description": "减少保证金(非必填)",
  8102. "type": "number"
  8103. },
  8104. "enumdicname": {
  8105. "description": "单位名称",
  8106. "type": "string"
  8107. },
  8108. "goodscode": {
  8109. "description": "点价合约",
  8110. "type": "string"
  8111. },
  8112. "goodsname": {
  8113. "description": "商品名称",
  8114. "type": "string"
  8115. },
  8116. "operateapplyid": {
  8117. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8118. "type": "string"
  8119. },
  8120. "operateapplytype": {
  8121. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8122. "type": "integer"
  8123. },
  8124. "pricemove": {
  8125. "description": "升贴水",
  8126. "type": "number"
  8127. },
  8128. "pricetype": {
  8129. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8130. "type": "integer"
  8131. },
  8132. "reckonadjustamount": {
  8133. "description": "结算调整金额(非必填)",
  8134. "type": "number"
  8135. },
  8136. "reckonosamount": {
  8137. "description": "结算溢短金额(非必填)",
  8138. "type": "number"
  8139. },
  8140. "reckonotheramount": {
  8141. "description": "结算其他费用(非必填)",
  8142. "type": "number"
  8143. },
  8144. "reckonrealqty": {
  8145. "description": "结算实际数量(非必填)",
  8146. "type": "number"
  8147. },
  8148. "relatedid": {
  8149. "description": "现货合同ID",
  8150. "type": "string"
  8151. },
  8152. "sellusername": {
  8153. "description": "销售方名字",
  8154. "type": "string"
  8155. },
  8156. "userid": {
  8157. "description": "用户ID",
  8158. "type": "integer"
  8159. }
  8160. }
  8161. },
  8162. "ermcp.QryBussinessKxRsp": {
  8163. "type": "object",
  8164. "properties": {
  8165. "applyid": {
  8166. "description": "申请人",
  8167. "type": "string"
  8168. },
  8169. "applyname": {
  8170. "description": "申请人名称",
  8171. "type": "string"
  8172. },
  8173. "applystatus": {
  8174. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8175. "type": "integer"
  8176. },
  8177. "applytime": {
  8178. "description": "申请时间",
  8179. "type": "string"
  8180. },
  8181. "attachurl": {
  8182. "description": "附件",
  8183. "type": "string"
  8184. },
  8185. "auditname": {
  8186. "description": "审核人名称",
  8187. "type": "string"
  8188. },
  8189. "audittime": {
  8190. "description": "审核时间",
  8191. "type": "string"
  8192. },
  8193. "buyusername": {
  8194. "description": "采购方名称",
  8195. "type": "string"
  8196. },
  8197. "contractno": {
  8198. "description": "合同编号",
  8199. "type": "string"
  8200. },
  8201. "contractstatus": {
  8202. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8203. "type": "integer"
  8204. },
  8205. "contracttype": {
  8206. "description": "现货合同类型 - 1:采购 -1:销售",
  8207. "type": "integer"
  8208. },
  8209. "deductamount": {
  8210. "description": "退款(非必填)",
  8211. "type": "number"
  8212. },
  8213. "enumdicname": {
  8214. "description": "单位名称",
  8215. "type": "string"
  8216. },
  8217. "goodscode": {
  8218. "description": "点价合约",
  8219. "type": "string"
  8220. },
  8221. "goodsname": {
  8222. "description": "商品名称",
  8223. "type": "string"
  8224. },
  8225. "kxtype": {
  8226. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8227. "type": "integer"
  8228. },
  8229. "operateapplyid": {
  8230. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8231. "type": "string"
  8232. },
  8233. "operateapplytype": {
  8234. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8235. "type": "integer"
  8236. },
  8237. "payamount": {
  8238. "description": "收付款(非必填)",
  8239. "type": "number"
  8240. },
  8241. "pricemove": {
  8242. "description": "升贴水",
  8243. "type": "number"
  8244. },
  8245. "pricetype": {
  8246. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8247. "type": "integer"
  8248. },
  8249. "relatedid": {
  8250. "description": "现货合同ID",
  8251. "type": "string"
  8252. },
  8253. "sellusername": {
  8254. "description": "销售方名字",
  8255. "type": "string"
  8256. },
  8257. "userid": {
  8258. "description": "用户ID",
  8259. "type": "integer"
  8260. }
  8261. }
  8262. },
  8263. "ermcp.QryErmcpRsp": {
  8264. "type": "object",
  8265. "properties": {
  8266. "accountname": {
  8267. "description": "账户名称",
  8268. "type": "string"
  8269. },
  8270. "attachment": {
  8271. "description": "附件",
  8272. "type": "string"
  8273. },
  8274. "audittime": {
  8275. "description": "审核时间",
  8276. "type": "string"
  8277. },
  8278. "contracctstatus": {
  8279. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8280. "type": "integer"
  8281. },
  8282. "contractmargin": {
  8283. "description": "合同保证金",
  8284. "type": "number"
  8285. },
  8286. "contractno": {
  8287. "description": "合同编号",
  8288. "type": "string"
  8289. },
  8290. "contracttype": {
  8291. "description": "合同类型 1-采购, -1-销售",
  8292. "type": "integer"
  8293. },
  8294. "convertfactor": {
  8295. "description": "标仓系数",
  8296. "type": "number"
  8297. },
  8298. "createtime": {
  8299. "description": "创建时间",
  8300. "type": "string"
  8301. },
  8302. "daikaiamount": {
  8303. "description": "待开票额",
  8304. "type": "number"
  8305. },
  8306. "deliveryenddate": {
  8307. "description": "交割结束日",
  8308. "type": "string"
  8309. },
  8310. "deliverygoodscode": {
  8311. "description": "现货商品代码",
  8312. "type": "string"
  8313. },
  8314. "deliverygoodsid": {
  8315. "description": "现货商品ID",
  8316. "type": "integer"
  8317. },
  8318. "deliverygoodsname": {
  8319. "description": "现货商品名称",
  8320. "type": "string"
  8321. },
  8322. "deliverystartdate": {
  8323. "description": "交割开始日",
  8324. "type": "string"
  8325. },
  8326. "enddate": {
  8327. "description": "点价结束日",
  8328. "type": "string"
  8329. },
  8330. "enumdicname": {
  8331. "description": "单位名称",
  8332. "type": "string"
  8333. },
  8334. "goodscode": {
  8335. "description": "点价商品代码",
  8336. "type": "string"
  8337. },
  8338. "goodsid": {
  8339. "description": "点价商品ID",
  8340. "type": "integer"
  8341. },
  8342. "goodsname": {
  8343. "description": "点价商品名称",
  8344. "type": "string"
  8345. },
  8346. "invoiceamount": {
  8347. "description": "已开票额",
  8348. "type": "number"
  8349. },
  8350. "loanamount": {
  8351. "description": "贷款总额=已定价额+调整金额",
  8352. "type": "number"
  8353. },
  8354. "margin": {
  8355. "description": "保证金",
  8356. "type": "number"
  8357. },
  8358. "payamount": {
  8359. "description": "已收付额(收款或付款)",
  8360. "type": "number"
  8361. },
  8362. "price": {
  8363. "description": "价格",
  8364. "type": "number"
  8365. },
  8366. "pricedamount": {
  8367. "description": "已定价额",
  8368. "type": "number"
  8369. },
  8370. "pricedavg": {
  8371. "description": "已点均价",
  8372. "type": "number"
  8373. },
  8374. "pricedqty": {
  8375. "description": "已定价量",
  8376. "type": "number"
  8377. },
  8378. "pricemove": {
  8379. "description": "升贴水",
  8380. "type": "number"
  8381. },
  8382. "pricetype": {
  8383. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8384. "type": "integer"
  8385. },
  8386. "producttype": {
  8387. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8388. "type": "integer"
  8389. },
  8390. "qty": {
  8391. "description": "合同量",
  8392. "type": "number"
  8393. },
  8394. "reckonadjustamount": {
  8395. "description": "调整金额",
  8396. "type": "number"
  8397. },
  8398. "reckonedamount": {
  8399. "description": "已收付额(已确定额)",
  8400. "type": "number"
  8401. },
  8402. "reckonotheramount": {
  8403. "description": "其它费用",
  8404. "type": "number"
  8405. },
  8406. "reckonrealqty": {
  8407. "description": "已确定量",
  8408. "type": "number"
  8409. },
  8410. "remark": {
  8411. "description": "备注",
  8412. "type": "string"
  8413. },
  8414. "spotcontractid": {
  8415. "description": "合同ID",
  8416. "type": "string"
  8417. },
  8418. "spotgoodsdesc": {
  8419. "description": "商品型号(商品规格)",
  8420. "type": "string"
  8421. },
  8422. "startdate": {
  8423. "description": "点价开始日",
  8424. "type": "string"
  8425. },
  8426. "totalamount": {
  8427. "description": "合计总额",
  8428. "type": "number"
  8429. },
  8430. "unpayamount": {
  8431. "description": "待支收额(支付或收款)",
  8432. "type": "number"
  8433. },
  8434. "unpricedqty": {
  8435. "description": "未定价量",
  8436. "type": "number"
  8437. },
  8438. "unsureqty": {
  8439. "description": "未确定量",
  8440. "type": "number"
  8441. },
  8442. "userid": {
  8443. "description": "用户ID",
  8444. "type": "integer"
  8445. }
  8446. }
  8447. },
  8448. "ermcp.QryGGCovertCfgRsp": {
  8449. "type": "object",
  8450. "properties": {
  8451. "convertratio": {
  8452. "description": "折算系数",
  8453. "type": "number"
  8454. },
  8455. "destgoodsgroupid": {
  8456. "description": "目标品种ID",
  8457. "type": "integer"
  8458. },
  8459. "dstcode": {
  8460. "description": "目录品种代码",
  8461. "type": "string"
  8462. },
  8463. "dstexchangecode": {
  8464. "description": "目标期货交易所",
  8465. "type": "string"
  8466. },
  8467. "dstname": {
  8468. "description": "目标品种名称",
  8469. "type": "string"
  8470. },
  8471. "dstunitid": {
  8472. "description": "目标品种单位ID",
  8473. "type": "integer"
  8474. },
  8475. "dstunitidname": {
  8476. "description": "目标品种单位名称",
  8477. "type": "string"
  8478. },
  8479. "srccode": {
  8480. "description": "源品种代码",
  8481. "type": "string"
  8482. },
  8483. "srcexchangecode": {
  8484. "description": "源期货交易所",
  8485. "type": "string"
  8486. },
  8487. "srcgoodsgroupid": {
  8488. "description": "源品种ID",
  8489. "type": "integer"
  8490. },
  8491. "srcname": {
  8492. "description": "源品种名称",
  8493. "type": "string"
  8494. },
  8495. "srcunitid": {
  8496. "description": "源品种单位ID",
  8497. "type": "integer"
  8498. },
  8499. "srcunitidname": {
  8500. "description": "源品种单位名称",
  8501. "type": "string"
  8502. }
  8503. }
  8504. },
  8505. "ermcp.QryHedgePlanRsp": {
  8506. "type": "object",
  8507. "properties": {
  8508. "areauserid": {
  8509. "description": "用户ID",
  8510. "type": "integer"
  8511. },
  8512. "contracttype": {
  8513. "description": "计划类型 - 1:采购 -1:销售",
  8514. "type": "integer"
  8515. },
  8516. "convertfactor": {
  8517. "description": "标仓系数",
  8518. "type": "number"
  8519. },
  8520. "createtime": {
  8521. "description": "创建时间",
  8522. "type": "string"
  8523. },
  8524. "deliverygoodsid": {
  8525. "description": "现货品种ID",
  8526. "type": "integer"
  8527. },
  8528. "deliverygoodsname": {
  8529. "description": "现货品种名称",
  8530. "type": "string"
  8531. },
  8532. "hedgeplanid": {
  8533. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8534. "type": "string"
  8535. },
  8536. "hedgeplanno": {
  8537. "description": "套保计划编号(名称)",
  8538. "type": "string"
  8539. },
  8540. "hedgeplanstatus": {
  8541. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8542. "type": "integer"
  8543. },
  8544. "planqty": {
  8545. "description": "计划数量",
  8546. "type": "number"
  8547. },
  8548. "plantime": {
  8549. "description": "计划时间",
  8550. "type": "string"
  8551. },
  8552. "producttype": {
  8553. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8554. "type": "integer"
  8555. },
  8556. "remark": {
  8557. "description": "备注",
  8558. "type": "string"
  8559. },
  8560. "spotgoodsdesc": {
  8561. "description": "商品型号",
  8562. "type": "string"
  8563. },
  8564. "wrstandardid": {
  8565. "description": "现货商品ID",
  8566. "type": "integer"
  8567. },
  8568. "wrstandardname": {
  8569. "description": "现货商品名称",
  8570. "type": "string"
  8571. }
  8572. }
  8573. },
  8574. "ermcp.QryMGChangeLogRsp": {
  8575. "type": "object",
  8576. "properties": {
  8577. "aftervalue": {
  8578. "description": "变更后",
  8579. "type": "number"
  8580. },
  8581. "applyid": {
  8582. "description": "操作人",
  8583. "type": "integer"
  8584. },
  8585. "applyname": {
  8586. "description": "操作人名称",
  8587. "type": "string"
  8588. },
  8589. "applysrc": {
  8590. "description": "操作来源 - 1:管理端 2:终端",
  8591. "type": "integer"
  8592. },
  8593. "beforevalue": {
  8594. "description": "变更前",
  8595. "type": "number"
  8596. },
  8597. "changelogtype": {
  8598. "description": "变更流水类型 - 1:套保比率变更",
  8599. "type": "integer"
  8600. },
  8601. "handlestatus": {
  8602. "description": "处理状态",
  8603. "type": "integer"
  8604. },
  8605. "logdatetime": {
  8606. "description": "流水日期",
  8607. "type": "string"
  8608. },
  8609. "logid": {
  8610. "description": "流水ID",
  8611. "type": "integer"
  8612. },
  8613. "logremark": {
  8614. "description": "流水备注",
  8615. "type": "string"
  8616. },
  8617. "middlegoodsid": {
  8618. "description": "套保品种ID",
  8619. "type": "integer"
  8620. },
  8621. "tradedate": {
  8622. "description": "交易日(yyyyMMdd)",
  8623. "type": "string"
  8624. },
  8625. "updatetime": {
  8626. "description": "更新时间",
  8627. "type": "string"
  8628. }
  8629. }
  8630. },
  8631. "ermcp.QryMiddleGoodsDetailRsp": {
  8632. "type": "object",
  8633. "properties": {
  8634. "cvList": {
  8635. "description": "期货品种折算列表",
  8636. "type": "array",
  8637. "items": {
  8638. "$ref": "#/definitions/models.GoodsGroupConvert"
  8639. }
  8640. },
  8641. "mg": {
  8642. "description": "套保品种基本信息",
  8643. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8644. }
  8645. }
  8646. },
  8647. "ermcp.QryMiddleGoodsRsp": {
  8648. "type": "object",
  8649. "properties": {
  8650. "areauserid": {
  8651. "description": "机构用户ID",
  8652. "type": "integer"
  8653. },
  8654. "enumdicname": {
  8655. "description": "单位名称",
  8656. "type": "string"
  8657. },
  8658. "evaluateratio": {
  8659. "description": "估价系数",
  8660. "type": "number"
  8661. },
  8662. "goodsgroupid": {
  8663. "description": "关联期货品种ID",
  8664. "type": "integer"
  8665. },
  8666. "isvalid": {
  8667. "description": "状态 0-无效(停用) 1-有效(正常)",
  8668. "type": "integer"
  8669. },
  8670. "middlegoodscode": {
  8671. "description": "套保品种代码",
  8672. "type": "string"
  8673. },
  8674. "middlegoodsid": {
  8675. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8676. "type": "integer"
  8677. },
  8678. "middlegoodsname": {
  8679. "description": "套保品种名称",
  8680. "type": "string"
  8681. },
  8682. "modifytime": {
  8683. "description": "修改时间",
  8684. "type": "string"
  8685. },
  8686. "needhedgeratio": {
  8687. "description": "套保比率",
  8688. "type": "number"
  8689. },
  8690. "qtydecimalplace": {
  8691. "description": "数量小数位",
  8692. "type": "integer"
  8693. },
  8694. "relatedgoodsid": {
  8695. "description": "关联交易商品ID",
  8696. "type": "integer"
  8697. },
  8698. "relatedgoodstype": {
  8699. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8700. "type": "integer"
  8701. }
  8702. }
  8703. },
  8704. "ermcp.QryOPLogRsp": {
  8705. "type": "object",
  8706. "properties": {
  8707. "aftervalue": {
  8708. "description": "变更后",
  8709. "type": "number"
  8710. },
  8711. "applyid": {
  8712. "description": "操作人ID",
  8713. "type": "string"
  8714. },
  8715. "applyname": {
  8716. "description": "操作人名称",
  8717. "type": "string"
  8718. },
  8719. "beforevalue": {
  8720. "description": "变更前",
  8721. "type": "number"
  8722. },
  8723. "biztype": {
  8724. "description": "业务类型 - 1:套保计划 2:现货合同",
  8725. "type": "integer"
  8726. },
  8727. "contracttype": {
  8728. "description": "现货合同类型 - 1:采购 -1:销售",
  8729. "type": "integer"
  8730. },
  8731. "logvalue": {
  8732. "description": "数值",
  8733. "type": "number"
  8734. },
  8735. "operatelogtype": {
  8736. "description": "操作流水类型",
  8737. "type": "integer"
  8738. },
  8739. "operatelogtypedesc": {
  8740. "description": "操作流水类型名称",
  8741. "type": "string"
  8742. },
  8743. "relatedid": {
  8744. "description": "现货合同ID\\套保计划",
  8745. "type": "string"
  8746. },
  8747. "updatetime": {
  8748. "description": "更新时间",
  8749. "type": "string"
  8750. }
  8751. }
  8752. },
  8753. "ermcp.QryReportDaySpotDetailRsp": {
  8754. "type": "object",
  8755. "properties": {
  8756. "applyid": {
  8757. "description": "操作人",
  8758. "type": "integer"
  8759. },
  8760. "applyname": {
  8761. "description": "操作人名称",
  8762. "type": "string"
  8763. },
  8764. "biztype": {
  8765. "description": "业务类型 - 1:套保计划 2:现货合同",
  8766. "type": "integer"
  8767. },
  8768. "contracttype": {
  8769. "description": "现货合同类型 - 1:采购 -1:销售",
  8770. "type": "integer"
  8771. },
  8772. "enumdicName": {
  8773. "description": "单位名称",
  8774. "type": "string"
  8775. },
  8776. "logdatetime": {
  8777. "description": "流水日期(时间)",
  8778. "type": "string"
  8779. },
  8780. "logid": {
  8781. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8782. "type": "string"
  8783. },
  8784. "logtypename": {
  8785. "description": "合同类型(名称)",
  8786. "type": "string"
  8787. },
  8788. "logvalue": {
  8789. "description": "数值",
  8790. "type": "string"
  8791. },
  8792. "operatelogtype": {
  8793. "description": "操作流水类型 -",
  8794. "type": "integer"
  8795. },
  8796. "optypename": {
  8797. "description": "流水类型名称",
  8798. "type": "string"
  8799. },
  8800. "relatedid": {
  8801. "description": "现货合同ID\\套保计划",
  8802. "type": "string"
  8803. },
  8804. "relatedno": {
  8805. "description": "合同编号",
  8806. "type": "string"
  8807. },
  8808. "tradedate": {
  8809. "description": "交易日(yyyyMMdd)",
  8810. "type": "string"
  8811. },
  8812. "userid": {
  8813. "description": "机构ID",
  8814. "type": "integer"
  8815. },
  8816. "wrstandardcode": {
  8817. "description": "现货商品代码",
  8818. "type": "string"
  8819. },
  8820. "wrstandardid": {
  8821. "description": "现货商品ID",
  8822. "type": "integer"
  8823. },
  8824. "wrstandardname": {
  8825. "description": "现货商品名称",
  8826. "type": "string"
  8827. }
  8828. }
  8829. },
  8830. "ermcp.QryReportExposureDayRsp": {
  8831. "type": "object",
  8832. "properties": {
  8833. "areauserid": {
  8834. "description": "所属机构",
  8835. "type": "integer"
  8836. },
  8837. "buyfutureqty": {
  8838. "description": "买入期货数量",
  8839. "type": "number"
  8840. },
  8841. "buyplanqty": {
  8842. "description": "采购计划数量",
  8843. "type": "number"
  8844. },
  8845. "buypricedqty": {
  8846. "description": "采购合同已定价数量",
  8847. "type": "number"
  8848. },
  8849. "diffFutuQty": {
  8850. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8851. "type": "number"
  8852. },
  8853. "diffSpotQty": {
  8854. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8855. "type": "number"
  8856. },
  8857. "enumdicname": {
  8858. "description": "单位名称",
  8859. "type": "string"
  8860. },
  8861. "middlegoodscode": {
  8862. "description": "套保品种代码",
  8863. "type": "string"
  8864. },
  8865. "middlegoodshedgeratio": {
  8866. "description": "应套保比例",
  8867. "type": "number"
  8868. },
  8869. "middlegoodsid": {
  8870. "description": "套保品种ID",
  8871. "type": "integer"
  8872. },
  8873. "middlegoodsname": {
  8874. "description": "套保品种名称",
  8875. "type": "string"
  8876. },
  8877. "needhedgeexposoure": {
  8878. "description": "应套保敞口",
  8879. "type": "number"
  8880. },
  8881. "needhedgeratio": {
  8882. "description": "应套保敞口比例",
  8883. "type": "number"
  8884. },
  8885. "oriTotalFutuQty": {
  8886. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8887. "type": "number"
  8888. },
  8889. "oriTotalSpotQty": {
  8890. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8891. "type": "number"
  8892. },
  8893. "oribuyfutureqty": {
  8894. "description": "期初买入期货数量",
  8895. "type": "number"
  8896. },
  8897. "oribuyplanqty": {
  8898. "description": "期初采购计划数量",
  8899. "type": "number"
  8900. },
  8901. "oribuypricedqty": {
  8902. "description": "期初采购合同已定价数量",
  8903. "type": "number"
  8904. },
  8905. "orisellfutureqty": {
  8906. "description": "期初卖出期货数量",
  8907. "type": "number"
  8908. },
  8909. "orisellplanqty": {
  8910. "description": "期初销售计划数量",
  8911. "type": "number"
  8912. },
  8913. "orisellpricedqty": {
  8914. "description": "期初销售合同已定价数量",
  8915. "type": "number"
  8916. },
  8917. "reckondate": {
  8918. "description": "日照时期(yyyyMMdd)",
  8919. "type": "string"
  8920. },
  8921. "sellfutureqty": {
  8922. "description": "卖出期货数量",
  8923. "type": "number"
  8924. },
  8925. "sellplanqty": {
  8926. "description": "销售计划数量",
  8927. "type": "number"
  8928. },
  8929. "sellpricedqty": {
  8930. "description": "销售合同已定价数量",
  8931. "type": "number"
  8932. },
  8933. "totalexposure": {
  8934. "description": "总敞口",
  8935. "type": "number"
  8936. },
  8937. "totalfutureqty": {
  8938. "description": "期货数量",
  8939. "type": "number"
  8940. },
  8941. "totalhedgeratio": {
  8942. "description": "敞口比例",
  8943. "type": "number"
  8944. },
  8945. "totalneedhedgeqty": {
  8946. "description": "期货应套保量",
  8947. "type": "number"
  8948. },
  8949. "totalspotqty": {
  8950. "description": "现货数量",
  8951. "type": "number"
  8952. }
  8953. }
  8954. },
  8955. "ermcp.QryReportFinanceDayRsp": {
  8956. "type": "object",
  8957. "properties": {
  8958. "areauserid": {
  8959. "description": "所属机构",
  8960. "type": "integer"
  8961. },
  8962. "collectinvoiceamount": {
  8963. "description": "今日开票金额",
  8964. "type": "number"
  8965. },
  8966. "collectinvoicecount": {
  8967. "description": "今日开票笔数",
  8968. "type": "integer"
  8969. },
  8970. "collectmoneyamount": {
  8971. "description": "今日收款金额",
  8972. "type": "number"
  8973. },
  8974. "collectmoneycount": {
  8975. "description": "今日收款笔数",
  8976. "type": "integer"
  8977. },
  8978. "payinvoiceamount": {
  8979. "description": "今日收票金额",
  8980. "type": "number"
  8981. },
  8982. "payinvoicecount": {
  8983. "description": "今日收票笔数",
  8984. "type": "integer"
  8985. },
  8986. "paymoneyamount": {
  8987. "description": "今日付款金额",
  8988. "type": "number"
  8989. },
  8990. "paymoneycount": {
  8991. "description": "今日付款笔数",
  8992. "type": "integer"
  8993. },
  8994. "reckondate": {
  8995. "description": "日照时期(yyyyMMdd)",
  8996. "type": "string"
  8997. },
  8998. "updatetime": {
  8999. "description": "更新时间",
  9000. "type": "string"
  9001. }
  9002. }
  9003. },
  9004. "ermcp.QryReportFinanceKxRsp": {
  9005. "type": "object",
  9006. "properties": {
  9007. "applyid": {
  9008. "description": "操作人",
  9009. "type": "integer"
  9010. },
  9011. "applyname": {
  9012. "description": "操作人名称",
  9013. "type": "string"
  9014. },
  9015. "biztype": {
  9016. "description": "业务类型 - 1:套保计划 2:现货合同",
  9017. "type": "integer"
  9018. },
  9019. "contracttype": {
  9020. "description": "现货合同类型 - 1:采购 -1:销售",
  9021. "type": "integer"
  9022. },
  9023. "enumdicName": {
  9024. "description": "单位名称",
  9025. "type": "string"
  9026. },
  9027. "logdatetime": {
  9028. "description": "流水日期(时间)",
  9029. "type": "string"
  9030. },
  9031. "logid": {
  9032. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9033. "type": "string"
  9034. },
  9035. "logtypename": {
  9036. "description": "合同类型(名称)",
  9037. "type": "string"
  9038. },
  9039. "logvalue": {
  9040. "description": "数值",
  9041. "type": "string"
  9042. },
  9043. "operatelogtype": {
  9044. "description": "操作流水类型 -",
  9045. "type": "integer"
  9046. },
  9047. "optypename": {
  9048. "description": "流水类型名称",
  9049. "type": "string"
  9050. },
  9051. "relatedid": {
  9052. "description": "现货合同ID\\套保计划",
  9053. "type": "string"
  9054. },
  9055. "relatedno": {
  9056. "description": "合同编号",
  9057. "type": "string"
  9058. },
  9059. "tradedate": {
  9060. "description": "交易日(yyyyMMdd)",
  9061. "type": "string"
  9062. },
  9063. "userid": {
  9064. "description": "机构ID",
  9065. "type": "integer"
  9066. },
  9067. "wrstandardcode": {
  9068. "description": "现货商品代码",
  9069. "type": "string"
  9070. },
  9071. "wrstandardid": {
  9072. "description": "现货商品ID",
  9073. "type": "integer"
  9074. },
  9075. "wrstandardname": {
  9076. "description": "现货商品名称",
  9077. "type": "string"
  9078. }
  9079. }
  9080. },
  9081. "ermcp.QryReportFinanceMonRsp": {
  9082. "type": "object",
  9083. "properties": {
  9084. "areauserid": {
  9085. "description": "所属机构【原值】",
  9086. "type": "integer"
  9087. },
  9088. "collectinvoiceamount": {
  9089. "description": "今日开票金额【汇总】",
  9090. "type": "number"
  9091. },
  9092. "collectinvoicecount": {
  9093. "description": "今日开票笔数【汇总】",
  9094. "type": "integer"
  9095. },
  9096. "collectmoneyamount": {
  9097. "description": "今日收款金额【汇总】",
  9098. "type": "number"
  9099. },
  9100. "collectmoneycount": {
  9101. "description": "今日收款笔数 【汇总】",
  9102. "type": "integer"
  9103. },
  9104. "cycletime": {
  9105. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9106. "type": "string"
  9107. },
  9108. "cycletype": {
  9109. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9110. "type": "integer"
  9111. },
  9112. "dayFr": {
  9113. "description": "日报表明细",
  9114. "type": "array",
  9115. "items": {
  9116. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9117. }
  9118. },
  9119. "payinvoiceamount": {
  9120. "description": "今日收票金额【汇总】",
  9121. "type": "number"
  9122. },
  9123. "payinvoicecount": {
  9124. "description": "今日收票笔数【汇总】",
  9125. "type": "integer"
  9126. },
  9127. "paymoneyamount": {
  9128. "description": "今日付款金额【汇总】",
  9129. "type": "number"
  9130. },
  9131. "paymoneycount": {
  9132. "description": "今日付款笔数【汇总】",
  9133. "type": "integer"
  9134. },
  9135. "updatetime": {
  9136. "description": "更新时间",
  9137. "type": "string"
  9138. }
  9139. }
  9140. },
  9141. "ermcp.QryReportSpotDayRsp": {
  9142. "type": "object",
  9143. "properties": {
  9144. "areauserid": {
  9145. "description": "所属机构T",
  9146. "type": "integer"
  9147. },
  9148. "enumdicname": {
  9149. "description": "现货商品单位名称",
  9150. "type": "string"
  9151. },
  9152. "reckondate": {
  9153. "description": "日照时期(yyyyMMdd)",
  9154. "type": "string"
  9155. },
  9156. "todaybuyreckonqty": {
  9157. "description": "采购确定量",
  9158. "type": "number"
  9159. },
  9160. "todaysellreckonqty": {
  9161. "description": "销售确定量",
  9162. "type": "number"
  9163. },
  9164. "totalbuypricedqty": {
  9165. "description": "采购定价量 = 期末 - 期初",
  9166. "type": "number"
  9167. },
  9168. "totalsellpricedqty": {
  9169. "description": "销售定价量 = 期末 - 期初",
  9170. "type": "number"
  9171. },
  9172. "wrstandardcode": {
  9173. "description": "现货商品代码",
  9174. "type": "string"
  9175. },
  9176. "wrstandardid": {
  9177. "description": "现货商品ID",
  9178. "type": "integer"
  9179. },
  9180. "wrstandardname": {
  9181. "description": "现货商品名称",
  9182. "type": "string"
  9183. }
  9184. }
  9185. },
  9186. "ermcp.QryReportSpotMonRsp": {
  9187. "type": "object",
  9188. "properties": {
  9189. "areauserid": {
  9190. "description": "所属机构T",
  9191. "type": "integer"
  9192. },
  9193. "cycletime": {
  9194. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9195. "type": "string"
  9196. },
  9197. "cycletype": {
  9198. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9199. "type": "integer"
  9200. },
  9201. "enumdicname": {
  9202. "description": "现货商品单位名称",
  9203. "type": "string"
  9204. },
  9205. "todaybuyreckonqty": {
  9206. "description": "采购确定量",
  9207. "type": "number"
  9208. },
  9209. "todaysellreckonqty": {
  9210. "description": "销售确定量",
  9211. "type": "number"
  9212. },
  9213. "totalbuypricedqty": {
  9214. "description": "采购定价量 = 期末 - 期初",
  9215. "type": "number"
  9216. },
  9217. "totalsellpricedqty": {
  9218. "description": "销售定价量 = 期末 - 期初",
  9219. "type": "number"
  9220. },
  9221. "wrstandardcode": {
  9222. "description": "现货商品代码",
  9223. "type": "string"
  9224. },
  9225. "wrstandardid": {
  9226. "description": "现货商品ID",
  9227. "type": "integer"
  9228. },
  9229. "wrstandardname": {
  9230. "description": "现货商品名称",
  9231. "type": "string"
  9232. }
  9233. }
  9234. },
  9235. "ermcp.QryReportSpotMonthDetailRsp": {
  9236. "type": "object",
  9237. "properties": {
  9238. "areauserid": {
  9239. "description": "所属机构T",
  9240. "type": "integer"
  9241. },
  9242. "enumdicname": {
  9243. "description": "现货商品单位名称",
  9244. "type": "string"
  9245. },
  9246. "reckondate": {
  9247. "description": "日照时期(yyyyMMdd)",
  9248. "type": "string"
  9249. },
  9250. "todaybuyreckonqty": {
  9251. "description": "采购确定量",
  9252. "type": "number"
  9253. },
  9254. "todaysellreckonqty": {
  9255. "description": "销售确定量",
  9256. "type": "number"
  9257. },
  9258. "totalbuypricedqty": {
  9259. "description": "采购定价量 = 期末 - 期初",
  9260. "type": "number"
  9261. },
  9262. "totalsellpricedqty": {
  9263. "description": "销售定价量 = 期末 - 期初",
  9264. "type": "number"
  9265. },
  9266. "wrstandardcode": {
  9267. "description": "现货商品代码",
  9268. "type": "string"
  9269. },
  9270. "wrstandardid": {
  9271. "description": "现货商品ID",
  9272. "type": "integer"
  9273. },
  9274. "wrstandardname": {
  9275. "description": "现货商品名称",
  9276. "type": "string"
  9277. }
  9278. }
  9279. },
  9280. "ermcp.QrySpotContractRsp": {
  9281. "type": "object",
  9282. "properties": {
  9283. "amount": {
  9284. "description": "金额 [1:一口价、3:暂定价]",
  9285. "type": "number"
  9286. },
  9287. "attachment": {
  9288. "description": "附件",
  9289. "type": "string"
  9290. },
  9291. "auditremark": {
  9292. "description": "审核意见",
  9293. "type": "string"
  9294. },
  9295. "audittime": {
  9296. "description": "审核时间",
  9297. "type": "string"
  9298. },
  9299. "brandname": {
  9300. "description": "品牌名称",
  9301. "type": "string"
  9302. },
  9303. "buyuserid": {
  9304. "description": "采购方ID",
  9305. "type": "integer"
  9306. },
  9307. "buyusername": {
  9308. "description": "采购方名称",
  9309. "type": "string"
  9310. },
  9311. "contracctstatus": {
  9312. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9313. "type": "integer"
  9314. },
  9315. "contractmargin": {
  9316. "description": "合同保证金",
  9317. "type": "number"
  9318. },
  9319. "contractno": {
  9320. "description": "现货合同编号",
  9321. "type": "string"
  9322. },
  9323. "contracttype": {
  9324. "description": "现货合同类型 - 1:采购 -1:销售",
  9325. "type": "integer"
  9326. },
  9327. "convertfactor": {
  9328. "description": "标仓系数",
  9329. "type": "number"
  9330. },
  9331. "createtime": {
  9332. "description": "创建时间",
  9333. "type": "string"
  9334. },
  9335. "deliveryenddate": {
  9336. "description": "交收期(结束)",
  9337. "type": "string"
  9338. },
  9339. "deliverygoodscode": {
  9340. "description": "现货品种代码",
  9341. "type": "string"
  9342. },
  9343. "deliverygoodsid": {
  9344. "description": "现货品种ID",
  9345. "type": "integer"
  9346. },
  9347. "deliverygoodsname": {
  9348. "description": "现货品种名称",
  9349. "type": "string"
  9350. },
  9351. "deliverystartdate": {
  9352. "description": "交收期(开始)",
  9353. "type": "string"
  9354. },
  9355. "enddate": {
  9356. "description": "点价结束日期 [2:点价 3:暂定价]",
  9357. "type": "string"
  9358. },
  9359. "enumdicname": {
  9360. "description": "单位名称",
  9361. "type": "string"
  9362. },
  9363. "goodscode": {
  9364. "description": "点价合约代码",
  9365. "type": "string"
  9366. },
  9367. "goodsid": {
  9368. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9369. "type": "integer"
  9370. },
  9371. "goodsname": {
  9372. "description": "点价商品名称",
  9373. "type": "string"
  9374. },
  9375. "margin": {
  9376. "description": "当前保证金",
  9377. "type": "number"
  9378. },
  9379. "modelname": {
  9380. "description": "型号名称",
  9381. "type": "string"
  9382. },
  9383. "price": {
  9384. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9385. "type": "number"
  9386. },
  9387. "pricemove": {
  9388. "description": "升贴水 [2:点价 3:暂定价]",
  9389. "type": "number"
  9390. },
  9391. "pricetype": {
  9392. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9393. "type": "integer"
  9394. },
  9395. "producttype": {
  9396. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9397. "type": "integer"
  9398. },
  9399. "qty": {
  9400. "description": "数量",
  9401. "type": "number"
  9402. },
  9403. "remark": {
  9404. "description": "备注",
  9405. "type": "string"
  9406. },
  9407. "selluserid": {
  9408. "description": "销售方ID",
  9409. "type": "integer"
  9410. },
  9411. "sellusername": {
  9412. "description": "销售方名称",
  9413. "type": "string"
  9414. },
  9415. "spotcontractid": {
  9416. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9417. "type": "string"
  9418. },
  9419. "spotgoodsbrandid": {
  9420. "description": "现货品牌ID",
  9421. "type": "integer"
  9422. },
  9423. "spotgoodsdesc": {
  9424. "description": "商品型号",
  9425. "type": "string"
  9426. },
  9427. "spotgoodsmodelid": {
  9428. "description": "现货型号ID",
  9429. "type": "integer"
  9430. },
  9431. "startdate": {
  9432. "description": "点价开始日期 [2:点价 3:暂定价]",
  9433. "type": "string"
  9434. },
  9435. "userid": {
  9436. "description": "机构ID",
  9437. "type": "integer"
  9438. },
  9439. "wrstandardid": {
  9440. "description": "现货商品ID",
  9441. "type": "integer"
  9442. }
  9443. }
  9444. },
  9445. "ermcp.QryUserInfoRsp": {
  9446. "type": "object",
  9447. "properties": {
  9448. "address": {
  9449. "description": "通讯地址",
  9450. "type": "string"
  9451. },
  9452. "attachment1": {
  9453. "description": "附件1",
  9454. "type": "string"
  9455. },
  9456. "cardfrontphotourl": {
  9457. "description": "证件正面图片地址",
  9458. "type": "string"
  9459. },
  9460. "cardnum": {
  9461. "description": "证件号码",
  9462. "type": "string"
  9463. },
  9464. "cardtype": {
  9465. "description": "证件类型",
  9466. "type": "integer"
  9467. },
  9468. "cardtypename": {
  9469. "description": "证件类型名称",
  9470. "type": "string"
  9471. },
  9472. "cityid": {
  9473. "description": "市",
  9474. "type": "integer"
  9475. },
  9476. "countryid": {
  9477. "description": "国家",
  9478. "type": "integer"
  9479. },
  9480. "createtime": {
  9481. "description": "创建时间",
  9482. "type": "string"
  9483. },
  9484. "customername": {
  9485. "description": "企业名称",
  9486. "type": "string"
  9487. },
  9488. "memberuserid": {
  9489. "description": "所属机构ID",
  9490. "type": "integer"
  9491. },
  9492. "mobile": {
  9493. "description": "手机号码",
  9494. "type": "string"
  9495. },
  9496. "provinceid": {
  9497. "description": "省",
  9498. "type": "integer"
  9499. },
  9500. "remark": {
  9501. "description": "备注",
  9502. "type": "string"
  9503. },
  9504. "status": {
  9505. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9506. "type": "integer"
  9507. },
  9508. "statusdesc": {
  9509. "description": "账户状态中文描述",
  9510. "type": "string"
  9511. },
  9512. "telphone": {
  9513. "description": "联系电话",
  9514. "type": "string"
  9515. },
  9516. "userid": {
  9517. "description": "用户ID",
  9518. "type": "integer"
  9519. },
  9520. "userinfotype": {
  9521. "description": "客户类型",
  9522. "type": "string"
  9523. }
  9524. }
  9525. },
  9526. "ermcp.QryWrStandardDetailRsp": {
  9527. "type": "object",
  9528. "properties": {
  9529. "gbList": {
  9530. "description": "品牌列表",
  9531. "type": "array",
  9532. "items": {
  9533. "$ref": "#/definitions/models.GoodsBrand"
  9534. }
  9535. },
  9536. "gtList": {
  9537. "description": "型号列表",
  9538. "type": "array",
  9539. "items": {
  9540. "$ref": "#/definitions/models.GoodsTypeModel"
  9541. }
  9542. },
  9543. "wrd": {
  9544. "description": "基本信息",
  9545. "$ref": "#/definitions/models.ErmcpWrstandard"
  9546. },
  9547. "wrsList": {
  9548. "description": "套保信息列表",
  9549. "type": "array",
  9550. "items": {
  9551. "$ref": "#/definitions/models.WRSConverTDetail"
  9552. }
  9553. }
  9554. }
  9555. },
  9556. "ermcp.QryWrStandardRsp": {
  9557. "type": "object",
  9558. "properties": {
  9559. "areauserid": {
  9560. "description": "所属机构",
  9561. "type": "integer"
  9562. },
  9563. "createtime": {
  9564. "description": "创建时间",
  9565. "type": "string"
  9566. },
  9567. "creatorid": {
  9568. "description": "创建人",
  9569. "type": "integer"
  9570. },
  9571. "deliverygoodsid": {
  9572. "description": "品种ID",
  9573. "type": "integer"
  9574. },
  9575. "enumdicname": {
  9576. "description": "单位名称",
  9577. "type": "string"
  9578. },
  9579. "isvalid": {
  9580. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9581. "type": "integer"
  9582. },
  9583. "minivalue": {
  9584. "description": "最小变动值",
  9585. "type": "integer"
  9586. },
  9587. "minivaluedp": {
  9588. "description": "最小变动值小数位",
  9589. "type": "integer"
  9590. },
  9591. "realminivalue": {
  9592. "description": "实际最小变动值",
  9593. "type": "integer"
  9594. },
  9595. "realminivaluedp": {
  9596. "description": "实际最小变动值小数位",
  9597. "type": "integer"
  9598. },
  9599. "remark": {
  9600. "description": "备注",
  9601. "type": "string"
  9602. },
  9603. "unitid": {
  9604. "description": "单位ID",
  9605. "type": "integer"
  9606. },
  9607. "updatetime": {
  9608. "description": "更新时间",
  9609. "type": "string"
  9610. },
  9611. "wrstandardcode": {
  9612. "description": "现货商品代码",
  9613. "type": "string"
  9614. },
  9615. "wrstandardid": {
  9616. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9617. "type": "integer"
  9618. },
  9619. "wrstandardname": {
  9620. "description": "现货商品名称",
  9621. "type": "string"
  9622. }
  9623. }
  9624. },
  9625. "ermcp.QueryErmcpTradePositionRsp": {
  9626. "type": "object",
  9627. "properties": {
  9628. "agreeunit": {
  9629. "description": "合约单位",
  9630. "type": "number"
  9631. },
  9632. "buyorsell": {
  9633. "description": "方向 - 0:买 1:卖",
  9634. "type": "integer"
  9635. },
  9636. "curpositionqty": {
  9637. "description": "持仓(总仓数量, 期末头寸)",
  9638. "type": "integer"
  9639. },
  9640. "curtdposition": {
  9641. "description": "今仓数量(期末今日头寸)",
  9642. "type": "integer"
  9643. },
  9644. "curtdpositionenabled": {
  9645. "description": "今仓可用",
  9646. "type": "integer"
  9647. },
  9648. "decimalplace": {
  9649. "description": "报价小数位",
  9650. "type": "integer"
  9651. },
  9652. "enableqty": {
  9653. "description": "可用(总仓可用)",
  9654. "type": "integer"
  9655. },
  9656. "exexchangename": {
  9657. "description": "外部交易所名称",
  9658. "type": "string"
  9659. },
  9660. "goodscode": {
  9661. "description": "商品代码(内部)",
  9662. "type": "string"
  9663. },
  9664. "goodsid": {
  9665. "description": "商品ID(自增ID SEQ_GOODS)",
  9666. "type": "integer"
  9667. },
  9668. "goodsname": {
  9669. "description": "商品名称",
  9670. "type": "string"
  9671. },
  9672. "last": {
  9673. "description": "现价",
  9674. "type": "number"
  9675. },
  9676. "marketid": {
  9677. "description": "所属市场ID",
  9678. "type": "integer"
  9679. },
  9680. "openaverageprice": {
  9681. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9682. "type": "number"
  9683. },
  9684. "opencost": {
  9685. "description": "开仓成本",
  9686. "type": "number"
  9687. },
  9688. "openpl": {
  9689. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9690. "type": "number"
  9691. },
  9692. "outgoodscode": {
  9693. "description": "商品代码(外部)",
  9694. "type": "string"
  9695. },
  9696. "positionaverageprice": {
  9697. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9698. "type": "number"
  9699. },
  9700. "positioncost": {
  9701. "description": "持仓成本",
  9702. "type": "number"
  9703. },
  9704. "positionpl": {
  9705. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9706. "type": "number"
  9707. },
  9708. "positionplrate": {
  9709. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9710. "type": "number"
  9711. },
  9712. "usedmargin": {
  9713. "description": "占用保证金",
  9714. "type": "number"
  9715. }
  9716. }
  9717. },
  9718. "ermcp.RealtimeExposurePositionRsp": {
  9719. "type": "object",
  9720. "properties": {
  9721. "agreeunit": {
  9722. "description": "合约单位",
  9723. "type": "string"
  9724. },
  9725. "areauserid": {
  9726. "description": "所属机构id",
  9727. "type": "integer"
  9728. },
  9729. "convertratio": {
  9730. "description": "期货品种系数(折算系数)",
  9731. "type": "number"
  9732. },
  9733. "curqty": {
  9734. "description": "当前持仓",
  9735. "type": "integer"
  9736. },
  9737. "diffhedgeqty": {
  9738. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9739. "type": "number"
  9740. },
  9741. "diffqty": {
  9742. "description": "持仓变动量=当前持仓-昨日持仓",
  9743. "type": "integer"
  9744. },
  9745. "goodscode": {
  9746. "description": "商品代码",
  9747. "type": "string"
  9748. },
  9749. "goodsid": {
  9750. "description": "商品id",
  9751. "type": "integer"
  9752. },
  9753. "goodsname": {
  9754. "description": "商品名称",
  9755. "type": "string"
  9756. },
  9757. "middlegoodsid": {
  9758. "description": "套保商品id",
  9759. "type": "integer"
  9760. },
  9761. "ydqty": {
  9762. "description": "昨日持仓",
  9763. "type": "integer"
  9764. }
  9765. }
  9766. },
  9767. "ermcp.RealtimeExposureRsp": {
  9768. "type": "object",
  9769. "properties": {
  9770. "areaUserID": {
  9771. "description": "所属机构",
  9772. "type": "integer"
  9773. },
  9774. "buyFutureQty": {
  9775. "description": "买入期货数量",
  9776. "type": "number"
  9777. },
  9778. "buyPlanQty": {
  9779. "description": "采购计划数量",
  9780. "type": "number"
  9781. },
  9782. "buyPricedQty": {
  9783. "description": "采购合同已定价数量",
  9784. "type": "number"
  9785. },
  9786. "diffFutuQty": {
  9787. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9788. "type": "number"
  9789. },
  9790. "diffSpotQty": {
  9791. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9792. "type": "number"
  9793. },
  9794. "enumdicname": {
  9795. "description": "单位名称",
  9796. "type": "string"
  9797. },
  9798. "middleGoodsCode": {
  9799. "description": "套保品种代码",
  9800. "type": "string"
  9801. },
  9802. "middleGoodsHedgeRatio": {
  9803. "description": "应套保比例",
  9804. "type": "number"
  9805. },
  9806. "middleGoodsID": {
  9807. "description": "套保品种",
  9808. "type": "integer"
  9809. },
  9810. "middleGoodsName": {
  9811. "description": "套保品种名称",
  9812. "type": "string"
  9813. },
  9814. "needHedgeExposoure": {
  9815. "description": "应套保敞口",
  9816. "type": "number"
  9817. },
  9818. "needHedgeRatio": {
  9819. "description": "应套保敞口比例",
  9820. "type": "number"
  9821. },
  9822. "oriBuyFutureQty": {
  9823. "description": "期初买入期货数量",
  9824. "type": "number"
  9825. },
  9826. "oriBuyPlanQty": {
  9827. "description": "期初采购计划数量",
  9828. "type": "number"
  9829. },
  9830. "oriBuyPricedQty": {
  9831. "description": "期初采购合同已定价数量",
  9832. "type": "number"
  9833. },
  9834. "oriSellFutureQty": {
  9835. "description": "期初卖出期货数量",
  9836. "type": "number"
  9837. },
  9838. "oriSellPlanQty": {
  9839. "description": "期初销售计划数量",
  9840. "type": "number"
  9841. },
  9842. "oriSellPricedQty": {
  9843. "description": "期初销售合同已定价数量",
  9844. "type": "number"
  9845. },
  9846. "oriTotalFutuQty": {
  9847. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9848. "type": "number"
  9849. },
  9850. "oriTotalSpotQty": {
  9851. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9852. "type": "number"
  9853. },
  9854. "sellFutureQty": {
  9855. "description": "卖出期货数量",
  9856. "type": "number"
  9857. },
  9858. "sellPlanQty": {
  9859. "description": "销售计划数量",
  9860. "type": "number"
  9861. },
  9862. "sellPricedQty": {
  9863. "description": "销售合同已定价数量",
  9864. "type": "number"
  9865. },
  9866. "totalExposure": {
  9867. "description": "总敞口",
  9868. "type": "number"
  9869. },
  9870. "totalFutureQty": {
  9871. "description": "期货数量",
  9872. "type": "number"
  9873. },
  9874. "totalHedgeRatio": {
  9875. "description": "敞口比例",
  9876. "type": "number"
  9877. },
  9878. "totalNeedHedgeQty": {
  9879. "description": "期货应套保量",
  9880. "type": "number"
  9881. },
  9882. "totalSpotQty": {
  9883. "description": "现货数量",
  9884. "type": "number"
  9885. }
  9886. }
  9887. },
  9888. "erms2.QueryArbitrageStrategyRsp": {
  9889. "type": "object",
  9890. "required": [
  9891. "asapplyid"
  9892. ],
  9893. "properties": {
  9894. "applybasis": {
  9895. "description": "申请基差",
  9896. "type": "number"
  9897. },
  9898. "asapplyid": {
  9899. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9900. "type": "string"
  9901. },
  9902. "asname": {
  9903. "description": "策略名称",
  9904. "type": "string"
  9905. },
  9906. "asno": {
  9907. "description": "策略编号",
  9908. "type": "string"
  9909. },
  9910. "basischangepl": {
  9911. "description": "基差变动损益[结算更新]",
  9912. "type": "number"
  9913. },
  9914. "biztype": {
  9915. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9916. "type": "integer"
  9917. },
  9918. "closetradedate": {
  9919. "description": "完结交易日(yyyyMMdd)",
  9920. "type": "string"
  9921. },
  9922. "curbasis": {
  9923. "description": "当前基差[结算更新]",
  9924. "type": "number"
  9925. },
  9926. "deliverygoodsid": {
  9927. "description": "现货品种ID",
  9928. "type": "integer"
  9929. },
  9930. "futureavgprice": {
  9931. "description": "期货建仓均价",
  9932. "type": "number"
  9933. },
  9934. "futurecloseamount": {
  9935. "description": "期货平仓金额",
  9936. "type": "number"
  9937. },
  9938. "futurecloseqty": {
  9939. "description": "期货平仓数量",
  9940. "type": "number"
  9941. },
  9942. "futureopenamount": {
  9943. "description": "期货开仓金额",
  9944. "type": "number"
  9945. },
  9946. "futureopenqty": {
  9947. "description": "期货开仓数量",
  9948. "type": "number"
  9949. },
  9950. "futurepl": {
  9951. "description": "期货总盈亏[结算更新]",
  9952. "type": "number"
  9953. },
  9954. "futureqty": {
  9955. "description": "期货持仓数量",
  9956. "type": "number"
  9957. },
  9958. "futurequote": {
  9959. "description": "期货额度",
  9960. "type": "number"
  9961. },
  9962. "goodsgroupid": {
  9963. "description": "期货品种ID",
  9964. "type": "integer"
  9965. },
  9966. "marketid": {
  9967. "description": "市场ID",
  9968. "type": "integer"
  9969. },
  9970. "netexposure": {
  9971. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9972. "type": "number"
  9973. },
  9974. "netexposurepl": {
  9975. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9976. "type": "number"
  9977. },
  9978. "netexposurerate": {
  9979. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9980. "type": "number"
  9981. },
  9982. "openbasis": {
  9983. "description": "建仓基差",
  9984. "type": "number"
  9985. },
  9986. "pricedspotqty": {
  9987. "description": "已定价现货数量",
  9988. "type": "number"
  9989. },
  9990. "pricedspotqtynotax": {
  9991. "description": "已定价现货不含税数量",
  9992. "type": "number"
  9993. },
  9994. "remark": {
  9995. "description": "备注",
  9996. "type": "string"
  9997. },
  9998. "spotavgprice": {
  9999. "description": "现货均价",
  10000. "type": "number"
  10001. },
  10002. "spotbuyamount": {
  10003. "description": "现货采购金额",
  10004. "type": "number"
  10005. },
  10006. "spotbuyqty": {
  10007. "description": "现货采购数量",
  10008. "type": "number"
  10009. },
  10010. "spotpl": {
  10011. "description": "现货总盈亏[结算更新]",
  10012. "type": "number"
  10013. },
  10014. "spotquota": {
  10015. "description": "现货额度",
  10016. "type": "number"
  10017. },
  10018. "spotsellamount": {
  10019. "description": "现货销售金额",
  10020. "type": "number"
  10021. },
  10022. "spotsellqty": {
  10023. "description": "现货销售数量",
  10024. "type": "number"
  10025. },
  10026. "spotusedquota": {
  10027. "description": "现货占用资金",
  10028. "type": "number"
  10029. },
  10030. "strategystatus": {
  10031. "description": "策略状态 - 0:未结束 1:已结束",
  10032. "type": "integer"
  10033. },
  10034. "totalpl": {
  10035. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10036. "type": "number"
  10037. },
  10038. "tradedate": {
  10039. "description": "交易日(yyyyMMdd)",
  10040. "type": "string"
  10041. },
  10042. "updatetime": {
  10043. "description": "更新时间",
  10044. "type": "string"
  10045. },
  10046. "usedquota": {
  10047. "description": "已占用资金",
  10048. "type": "number"
  10049. },
  10050. "userid": {
  10051. "description": "所属机构",
  10052. "type": "integer"
  10053. }
  10054. }
  10055. },
  10056. "erms2.QueryInnerTradeDetailRsp": {
  10057. "type": "object",
  10058. "required": [
  10059. "asapplyid",
  10060. "buyorsell",
  10061. "goodscode",
  10062. "goodsgroupid",
  10063. "goodsgroupname",
  10064. "goodsname",
  10065. "tradeid"
  10066. ],
  10067. "properties": {
  10068. "accountid": {
  10069. "description": "账号ID",
  10070. "type": "integer"
  10071. },
  10072. "agreeunit": {
  10073. "description": "合约单位",
  10074. "type": "number"
  10075. },
  10076. "asapplyid": {
  10077. "description": "策略申请ID",
  10078. "type": "integer"
  10079. },
  10080. "asname": {
  10081. "description": "策略名称",
  10082. "type": "string"
  10083. },
  10084. "asno": {
  10085. "description": "策略编号",
  10086. "type": "string"
  10087. },
  10088. "buyorsell": {
  10089. "description": "方向 - 0:买 1:卖",
  10090. "type": "integer"
  10091. },
  10092. "channelbuildtype": {
  10093. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10094. "type": "integer"
  10095. },
  10096. "closetype": {
  10097. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10098. "type": "integer"
  10099. },
  10100. "decimalplace": {
  10101. "description": "报价小数位",
  10102. "type": "integer"
  10103. },
  10104. "detailtype": {
  10105. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10106. "type": "integer"
  10107. },
  10108. "exexchangecode": {
  10109. "description": "外部交易所代码",
  10110. "type": "string"
  10111. },
  10112. "exexchangename": {
  10113. "description": "外部交易所名称",
  10114. "type": "string"
  10115. },
  10116. "goodscode": {
  10117. "description": "商品代码(合约)",
  10118. "type": "string"
  10119. },
  10120. "goodsgroupid": {
  10121. "description": "商品组ID(品种ID)",
  10122. "type": "integer"
  10123. },
  10124. "goodsgroupname": {
  10125. "description": "商品组名称(品种)",
  10126. "type": "string"
  10127. },
  10128. "goodsid": {
  10129. "description": "商品ID",
  10130. "type": "integer"
  10131. },
  10132. "goodsname": {
  10133. "description": "商品名称(合约)",
  10134. "type": "string"
  10135. },
  10136. "goodunit": {
  10137. "description": "报价单位",
  10138. "type": "string"
  10139. },
  10140. "marketid": {
  10141. "description": "市场ID",
  10142. "type": "integer"
  10143. },
  10144. "orderid": {
  10145. "description": "委托单号",
  10146. "type": "string"
  10147. },
  10148. "outgoodscode": {
  10149. "description": "商品代码(外部)",
  10150. "type": "string"
  10151. },
  10152. "relatedouttradeid": {
  10153. "description": "关联外部成交单ID",
  10154. "type": "string"
  10155. },
  10156. "remark": {
  10157. "description": "备注",
  10158. "type": "string"
  10159. },
  10160. "spotcontractid": {
  10161. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10162. "type": "integer"
  10163. },
  10164. "spotcontractno": {
  10165. "description": "现货合同编号",
  10166. "type": "string"
  10167. },
  10168. "tradeid": {
  10169. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10170. "type": "string"
  10171. },
  10172. "tradeprice": {
  10173. "description": "成交价格",
  10174. "type": "number"
  10175. },
  10176. "tradeqty": {
  10177. "description": "成交数量",
  10178. "type": "integer"
  10179. },
  10180. "tradetime": {
  10181. "description": "成交时间",
  10182. "type": "string"
  10183. },
  10184. "updatetime": {
  10185. "description": "更新时间",
  10186. "type": "string"
  10187. }
  10188. }
  10189. },
  10190. "erms2.QuerySpotContractRsp": {
  10191. "type": "object",
  10192. "required": [
  10193. "spotcontractid"
  10194. ],
  10195. "properties": {
  10196. "accountid": {
  10197. "description": "资金账户ID",
  10198. "type": "integer"
  10199. },
  10200. "areauserid": {
  10201. "description": "所属机构",
  10202. "type": "integer"
  10203. },
  10204. "closedate": {
  10205. "description": "终止日期",
  10206. "type": "string"
  10207. },
  10208. "closeremark": {
  10209. "description": "结束备注",
  10210. "type": "string"
  10211. },
  10212. "closetradedate": {
  10213. "description": "完结交易日(yyyyMMdd)",
  10214. "type": "string"
  10215. },
  10216. "closetype": {
  10217. "description": "终止类型 - 1:违约 2:提前终止",
  10218. "type": "integer"
  10219. },
  10220. "contractamount": {
  10221. "description": "合同金额",
  10222. "type": "number"
  10223. },
  10224. "contractattachment": {
  10225. "description": "合同附件",
  10226. "type": "string"
  10227. },
  10228. "contractno": {
  10229. "description": "现货合同编号",
  10230. "type": "string"
  10231. },
  10232. "contractqty": {
  10233. "description": "合同数量(数值) (用于计算)",
  10234. "type": "number"
  10235. },
  10236. "contractqtychar": {
  10237. "description": "合同数量\\已订价数量 (用于显示)",
  10238. "type": "string"
  10239. },
  10240. "contractstatus": {
  10241. "description": "合同状态 - 0:未结束 1:已结束",
  10242. "type": "integer"
  10243. },
  10244. "contracttype": {
  10245. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10246. "type": "integer"
  10247. },
  10248. "customeraccountid": {
  10249. "description": "客户资金账户ID",
  10250. "type": "integer"
  10251. },
  10252. "customeruserid": {
  10253. "description": "客户ID",
  10254. "type": "integer"
  10255. },
  10256. "deliverygoodsdesc": {
  10257. "description": "品种说明",
  10258. "type": "string"
  10259. },
  10260. "deliverygoodsid": {
  10261. "description": "现货品种ID",
  10262. "type": "integer"
  10263. },
  10264. "handlestatus": {
  10265. "description": "处理状态",
  10266. "type": "integer"
  10267. },
  10268. "invoiceatt": {
  10269. "description": "发票附件",
  10270. "type": "string"
  10271. },
  10272. "invoicedatetime": {
  10273. "description": "开收票更新时间",
  10274. "type": "string"
  10275. },
  10276. "invoiceopentime": {
  10277. "description": "开票时间",
  10278. "type": "string"
  10279. },
  10280. "invoiceremark": {
  10281. "description": "发票备注",
  10282. "type": "string"
  10283. },
  10284. "invoicestatus": {
  10285. "description": "开收票状态 - 0:未开票 1:已开票",
  10286. "type": "integer"
  10287. },
  10288. "lastdate": {
  10289. "description": "交货时间",
  10290. "type": "string"
  10291. },
  10292. "marketid": {
  10293. "description": "市场ID",
  10294. "type": "integer"
  10295. },
  10296. "paydatetime": {
  10297. "description": "收付款更新时间",
  10298. "type": "string"
  10299. },
  10300. "payremark": {
  10301. "description": "收付款备注",
  10302. "type": "string"
  10303. },
  10304. "paystatus": {
  10305. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10306. "type": "integer"
  10307. },
  10308. "positionqty": {
  10309. "description": "头寸数量 - 合同数量去小数部分",
  10310. "type": "integer"
  10311. },
  10312. "producttype": {
  10313. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10314. "type": "integer"
  10315. },
  10316. "relatedqty": {
  10317. "description": "已关联数量",
  10318. "type": "number"
  10319. },
  10320. "relatedstatus": {
  10321. "description": "关联完结状态 - 0:未结束 1:已结束",
  10322. "type": "integer"
  10323. },
  10324. "remark": {
  10325. "description": "备注",
  10326. "type": "string"
  10327. },
  10328. "signdate": {
  10329. "description": "签订日期",
  10330. "type": "string"
  10331. },
  10332. "spotcontractid": {
  10333. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10334. "type": "string"
  10335. },
  10336. "spotdatetime": {
  10337. "description": "收发货更新时间",
  10338. "type": "string"
  10339. },
  10340. "spotprice": {
  10341. "description": "价格",
  10342. "type": "number"
  10343. },
  10344. "spotremark": {
  10345. "description": "收发货备注",
  10346. "type": "string"
  10347. },
  10348. "spotstatus": {
  10349. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10350. "type": "integer"
  10351. },
  10352. "tradedate": {
  10353. "description": "交易日(yyyyMMdd)",
  10354. "type": "string"
  10355. },
  10356. "userid": {
  10357. "description": "业务员用户ID",
  10358. "type": "integer"
  10359. },
  10360. "warehouseid": {
  10361. "description": "仓库ID",
  10362. "type": "integer"
  10363. },
  10364. "wrfactortypeid": {
  10365. "description": "仓单要素类型ID",
  10366. "type": "integer"
  10367. },
  10368. "wrstandardid": {
  10369. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10370. "type": "integer"
  10371. }
  10372. }
  10373. },
  10374. "erms3.AddErms2ASApplyReq": {
  10375. "type": "object",
  10376. "required": [
  10377. "asapplyid"
  10378. ],
  10379. "properties": {
  10380. "applybasis": {
  10381. "description": "申请基差",
  10382. "type": "number"
  10383. },
  10384. "applystatus": {
  10385. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10386. "type": "integer"
  10387. },
  10388. "asapplyid": {
  10389. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10390. "type": "integer"
  10391. },
  10392. "asname": {
  10393. "description": "策略名称",
  10394. "type": "string"
  10395. },
  10396. "asno": {
  10397. "description": "策略编号",
  10398. "type": "string"
  10399. },
  10400. "auditid": {
  10401. "description": "审核人",
  10402. "type": "integer"
  10403. },
  10404. "auditremark": {
  10405. "description": "审核备注",
  10406. "type": "string"
  10407. },
  10408. "audittime": {
  10409. "description": "审核时间",
  10410. "type": "string"
  10411. },
  10412. "biztype": {
  10413. "description": "业务类型 - 1:正向套利 2:反向套利",
  10414. "type": "integer"
  10415. },
  10416. "createtime": {
  10417. "description": "创建时间",
  10418. "type": "string"
  10419. },
  10420. "creatorid": {
  10421. "description": "创建人",
  10422. "type": "integer"
  10423. },
  10424. "deliverygoodsid": {
  10425. "description": "现货品种ID",
  10426. "type": "integer"
  10427. },
  10428. "futurequote": {
  10429. "description": "期货额度",
  10430. "type": "number"
  10431. },
  10432. "goodsgroupid": {
  10433. "description": "期货品种ID",
  10434. "type": "integer"
  10435. },
  10436. "marketid": {
  10437. "description": "市场ID",
  10438. "type": "integer"
  10439. },
  10440. "remark": {
  10441. "description": "备注",
  10442. "type": "string"
  10443. },
  10444. "spotquota": {
  10445. "description": "现货额度",
  10446. "type": "number"
  10447. },
  10448. "tradedate": {
  10449. "description": "交易日(yyyyMMdd)",
  10450. "type": "string"
  10451. },
  10452. "userid": {
  10453. "description": "所属机构",
  10454. "type": "integer"
  10455. }
  10456. }
  10457. },
  10458. "erms3.AddErms2SpotTradeApplyReq": {
  10459. "type": "object",
  10460. "required": [
  10461. "spottradeid"
  10462. ],
  10463. "properties": {
  10464. "applyjsondetail": {
  10465. "description": "申请明细(JSON)",
  10466. "type": "string"
  10467. },
  10468. "applystatus": {
  10469. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10470. "type": "integer"
  10471. },
  10472. "areauserid": {
  10473. "description": "所属机构",
  10474. "type": "integer"
  10475. },
  10476. "auditid": {
  10477. "description": "审核人",
  10478. "type": "integer"
  10479. },
  10480. "auditremark": {
  10481. "description": "审核备注",
  10482. "type": "string"
  10483. },
  10484. "audittime": {
  10485. "description": "审核时间",
  10486. "type": "string"
  10487. },
  10488. "createtime": {
  10489. "description": "创建时间",
  10490. "type": "string"
  10491. },
  10492. "creatorid": {
  10493. "description": "创建人",
  10494. "type": "integer"
  10495. },
  10496. "deliverygoodsid": {
  10497. "description": "现货品种ID",
  10498. "type": "integer"
  10499. },
  10500. "futureaccountid": {
  10501. "description": "期货资金账户",
  10502. "type": "integer"
  10503. },
  10504. "goodsgroupid": {
  10505. "description": "期货品种",
  10506. "type": "integer"
  10507. },
  10508. "marketid": {
  10509. "description": "市场ID",
  10510. "type": "integer"
  10511. },
  10512. "remark": {
  10513. "description": "备注",
  10514. "type": "string"
  10515. },
  10516. "spotaccountid": {
  10517. "description": "现货资金账户",
  10518. "type": "integer"
  10519. },
  10520. "spottradeid": {
  10521. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10522. "type": "integer"
  10523. },
  10524. "spottradename": {
  10525. "description": "业务名称",
  10526. "type": "string"
  10527. },
  10528. "spottradeno": {
  10529. "description": "业务编号",
  10530. "type": "string"
  10531. },
  10532. "tradedate": {
  10533. "description": "交易日(yyyyMMdd)",
  10534. "type": "string"
  10535. },
  10536. "wrstandardid": {
  10537. "description": "仓单标准ID",
  10538. "type": "integer"
  10539. }
  10540. }
  10541. },
  10542. "erms3.AddSpotContractApplyReq": {
  10543. "type": "object",
  10544. "required": [
  10545. "accountid",
  10546. "areauserid",
  10547. "contractno",
  10548. "contracttype",
  10549. "customeraccountid",
  10550. "customeruserid",
  10551. "details",
  10552. "orimargin",
  10553. "signdate"
  10554. ],
  10555. "properties": {
  10556. "accountid": {
  10557. "description": "资金账户ID",
  10558. "type": "integer"
  10559. },
  10560. "areauserid": {
  10561. "description": "所属机构",
  10562. "type": "integer"
  10563. },
  10564. "contractattachment": {
  10565. "description": "合同附件",
  10566. "type": "string"
  10567. },
  10568. "contractno": {
  10569. "description": "现货合同编号",
  10570. "type": "string"
  10571. },
  10572. "contracttype": {
  10573. "description": "现货合同类型 - 1:采购 -1:销售",
  10574. "type": "integer"
  10575. },
  10576. "creatorid": {
  10577. "description": "申请人",
  10578. "type": "integer"
  10579. },
  10580. "customeraccountid": {
  10581. "description": "客户资金账户ID",
  10582. "type": "integer"
  10583. },
  10584. "customeruserid": {
  10585. "description": "客户ID",
  10586. "type": "integer"
  10587. },
  10588. "details": {
  10589. "description": "明细",
  10590. "type": "array",
  10591. "items": {
  10592. "$ref": "#/definitions/erms3.SoptContractDetail"
  10593. }
  10594. },
  10595. "orimargin": {
  10596. "description": "初始保证金",
  10597. "type": "number"
  10598. },
  10599. "remark": {
  10600. "description": "备注",
  10601. "type": "string"
  10602. },
  10603. "signdate": {
  10604. "description": "签订日期",
  10605. "type": "string"
  10606. }
  10607. }
  10608. },
  10609. "erms3.AddSpotContractApplyRsp": {
  10610. "type": "object",
  10611. "required": [
  10612. "contractno"
  10613. ],
  10614. "properties": {
  10615. "contractno": {
  10616. "description": "现货合同编号",
  10617. "type": "string"
  10618. },
  10619. "spotcontractid": {
  10620. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10621. "type": "integer"
  10622. }
  10623. }
  10624. },
  10625. "erms3.AddUserInfoApplyReq": {
  10626. "type": "object",
  10627. "required": [
  10628. "userid"
  10629. ],
  10630. "properties": {
  10631. "accountid": {
  10632. "description": "交易系统帐号Id (加密存储)",
  10633. "type": "integer"
  10634. },
  10635. "areacode": {
  10636. "description": "机构代码",
  10637. "type": "string"
  10638. },
  10639. "areaid": {
  10640. "description": "机构Id",
  10641. "type": "integer"
  10642. },
  10643. "attachment1": {
  10644. "description": "附件1",
  10645. "type": "string"
  10646. },
  10647. "attachment2": {
  10648. "description": "附件2",
  10649. "type": "string"
  10650. },
  10651. "attachment3": {
  10652. "description": "附件3",
  10653. "type": "string"
  10654. },
  10655. "attachment4": {
  10656. "description": "附件4",
  10657. "type": "string"
  10658. },
  10659. "attachment5": {
  10660. "description": "附件5",
  10661. "type": "string"
  10662. },
  10663. "auditedby": {
  10664. "description": "审核人",
  10665. "type": "string"
  10666. },
  10667. "auditime": {
  10668. "description": "审核时间",
  10669. "type": "string"
  10670. },
  10671. "bankaccount": {
  10672. "description": "银行帐号 (加密存储)",
  10673. "type": "string"
  10674. },
  10675. "bankaccountname": {
  10676. "description": "收款人名称",
  10677. "type": "string"
  10678. },
  10679. "bankcardbackphotourl": {
  10680. "description": "银行卡背面照地址",
  10681. "type": "string"
  10682. },
  10683. "bankcardfrontphotourl": {
  10684. "description": "银行卡正面照地址",
  10685. "type": "string"
  10686. },
  10687. "bankid": {
  10688. "description": "银行编码",
  10689. "type": "string"
  10690. },
  10691. "bankname": {
  10692. "description": "银行名称",
  10693. "type": "string"
  10694. },
  10695. "bankpictureurl": {
  10696. "description": "银行卡正面地址",
  10697. "type": "string"
  10698. },
  10699. "biznature": {
  10700. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10701. "type": "integer"
  10702. },
  10703. "bizscope": {
  10704. "description": "企业经营范围(企业)",
  10705. "type": "string"
  10706. },
  10707. "biztype": {
  10708. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10709. "type": "integer"
  10710. },
  10711. "brokerid": {
  10712. "description": "经纪人ID(加密存储)",
  10713. "type": "string"
  10714. },
  10715. "cardaddress": {
  10716. "description": "证件地址 (加密存储)",
  10717. "type": "string"
  10718. },
  10719. "cardbackphotourl": {
  10720. "description": "背面证件照地址",
  10721. "type": "string"
  10722. },
  10723. "cardfrontphotourl": {
  10724. "description": "正面证件照地址",
  10725. "type": "string"
  10726. },
  10727. "cardnum": {
  10728. "description": "证件号码 (加密存储)",
  10729. "type": "string"
  10730. },
  10731. "cardtype": {
  10732. "description": "证件类型",
  10733. "type": "integer"
  10734. },
  10735. "cityid": {
  10736. "description": "市",
  10737. "type": "integer"
  10738. },
  10739. "company": {
  10740. "description": "公司(个人)",
  10741. "type": "string"
  10742. },
  10743. "contactcardbackphotourl": {
  10744. "description": "联系人证件背面图片地址",
  10745. "type": "string"
  10746. },
  10747. "contactcardfrontphotourl": {
  10748. "description": "联系人证件正面图片地址",
  10749. "type": "string"
  10750. },
  10751. "contactname": {
  10752. "description": "联系人",
  10753. "type": "string"
  10754. },
  10755. "countryid": {
  10756. "description": "国家",
  10757. "type": "integer"
  10758. },
  10759. "createtime": {
  10760. "description": "开户申请时间",
  10761. "type": "string"
  10762. },
  10763. "cusbankid": {
  10764. "description": "签约类型",
  10765. "type": "string"
  10766. },
  10767. "cusbankname": {
  10768. "description": "签约类型名称",
  10769. "type": "string"
  10770. },
  10771. "customername": {
  10772. "description": "客户名称(企业名称)",
  10773. "type": "string"
  10774. },
  10775. "districtid": {
  10776. "description": "地区",
  10777. "type": "integer"
  10778. },
  10779. "email": {
  10780. "description": "Email地址(加密存储)",
  10781. "type": "string"
  10782. },
  10783. "halfbodyphotourl": {
  10784. "description": "半身照地址",
  10785. "type": "string"
  10786. },
  10787. "headurl": {
  10788. "description": "头像地址",
  10789. "type": "string"
  10790. },
  10791. "ipaddress": {
  10792. "description": "IP地址",
  10793. "type": "string"
  10794. },
  10795. "isvalidate": {
  10796. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10797. "type": "string"
  10798. },
  10799. "legalcardbackphotourl": {
  10800. "description": "法人身份证背面照地址",
  10801. "type": "string"
  10802. },
  10803. "legalcardfrontphotourl": {
  10804. "description": "法人身份证正面照地址",
  10805. "type": "string"
  10806. },
  10807. "legalpersonname": {
  10808. "description": "法人姓名(企业)",
  10809. "type": "string"
  10810. },
  10811. "logincode": {
  10812. "description": "登录帐号 (加密存储)",
  10813. "type": "string"
  10814. },
  10815. "memberareaid": {
  10816. "description": "所属会员ID",
  10817. "type": "integer"
  10818. },
  10819. "mobile2": {
  10820. "description": "手机号码[明文-尚志]",
  10821. "type": "string"
  10822. },
  10823. "mobilephone": {
  10824. "description": "手机号码 (加密存储)",
  10825. "type": "string"
  10826. },
  10827. "modifiedby": {
  10828. "description": "修改人帐号",
  10829. "type": "integer"
  10830. },
  10831. "modifiedtime": {
  10832. "description": "修改时间",
  10833. "type": "string"
  10834. },
  10835. "nickname": {
  10836. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10837. "type": "string"
  10838. },
  10839. "openmode": {
  10840. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10841. "type": "integer"
  10842. },
  10843. "otherurl": {
  10844. "description": "其它图片地址[使用分号分隔]",
  10845. "type": "string"
  10846. },
  10847. "postalcode": {
  10848. "description": "邮政编码",
  10849. "type": "string"
  10850. },
  10851. "provinceid": {
  10852. "description": "省",
  10853. "type": "integer"
  10854. },
  10855. "proxystatementurl": {
  10856. "description": "授权委托书",
  10857. "type": "string"
  10858. },
  10859. "qq": {
  10860. "description": "QQ(加密存储",
  10861. "type": "string"
  10862. },
  10863. "referral": {
  10864. "description": "推荐人编码",
  10865. "type": "string"
  10866. },
  10867. "remark": {
  10868. "description": "备注",
  10869. "type": "string"
  10870. },
  10871. "removebeforestatus": {
  10872. "description": "REMOVEBEFORESTATUS",
  10873. "type": "integer"
  10874. },
  10875. "sex": {
  10876. "description": "性别 - 0:女 1:男",
  10877. "type": "integer"
  10878. },
  10879. "signedstatus": {
  10880. "description": "账户一号签签约状态",
  10881. "type": "integer"
  10882. },
  10883. "signpdfurl": {
  10884. "description": "签约pdf文件",
  10885. "type": "string"
  10886. },
  10887. "subbranch": {
  10888. "description": "开户支行",
  10889. "type": "string"
  10890. },
  10891. "telphone": {
  10892. "description": "联系电话(加密存储)",
  10893. "type": "string"
  10894. },
  10895. "userid": {
  10896. "description": "用户ID(自增ID)",
  10897. "type": "integer"
  10898. },
  10899. "userinfotype": {
  10900. "description": "用户信息类型 - 1:个人 2:企业",
  10901. "type": "integer"
  10902. },
  10903. "username": {
  10904. "description": "用户姓名",
  10905. "type": "string"
  10906. },
  10907. "userstate": {
  10908. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10909. "type": "integer"
  10910. },
  10911. "usertype": {
  10912. "description": "用户类型 - 1:投资者 2:机构",
  10913. "type": "integer"
  10914. },
  10915. "videourl": {
  10916. "description": "视频地址",
  10917. "type": "string"
  10918. },
  10919. "wechat": {
  10920. "description": "微信号 (加密存储)",
  10921. "type": "string"
  10922. }
  10923. }
  10924. },
  10925. "erms3.CustomerInfo": {
  10926. "type": "object",
  10927. "required": [
  10928. "userid"
  10929. ],
  10930. "properties": {
  10931. "accountids": {
  10932. "description": "资金账户ID列表",
  10933. "type": "array",
  10934. "items": {
  10935. "type": "integer"
  10936. }
  10937. },
  10938. "customername": {
  10939. "description": "名称(企业名称)",
  10940. "type": "string"
  10941. },
  10942. "mobile": {
  10943. "description": "手机号码",
  10944. "type": "string"
  10945. },
  10946. "userid": {
  10947. "description": "用户ID",
  10948. "type": "integer"
  10949. }
  10950. }
  10951. },
  10952. "erms3.ModifyUserInfoApplyReq": {
  10953. "type": "object",
  10954. "required": [
  10955. "userid"
  10956. ],
  10957. "properties": {
  10958. "accountid": {
  10959. "description": "交易系统帐号Id (加密存储)",
  10960. "type": "integer"
  10961. },
  10962. "areacode": {
  10963. "description": "机构代码",
  10964. "type": "string"
  10965. },
  10966. "areaid": {
  10967. "description": "机构Id",
  10968. "type": "integer"
  10969. },
  10970. "attachment1": {
  10971. "description": "附件1",
  10972. "type": "string"
  10973. },
  10974. "attachment2": {
  10975. "description": "附件2",
  10976. "type": "string"
  10977. },
  10978. "attachment3": {
  10979. "description": "附件3",
  10980. "type": "string"
  10981. },
  10982. "attachment4": {
  10983. "description": "附件4",
  10984. "type": "string"
  10985. },
  10986. "attachment5": {
  10987. "description": "附件5",
  10988. "type": "string"
  10989. },
  10990. "auditedby": {
  10991. "description": "审核人",
  10992. "type": "string"
  10993. },
  10994. "auditime": {
  10995. "description": "审核时间",
  10996. "type": "string"
  10997. },
  10998. "bankaccount": {
  10999. "description": "银行帐号 (加密存储)",
  11000. "type": "string"
  11001. },
  11002. "bankaccountname": {
  11003. "description": "收款人名称",
  11004. "type": "string"
  11005. },
  11006. "bankcardbackphotourl": {
  11007. "description": "银行卡背面照地址",
  11008. "type": "string"
  11009. },
  11010. "bankcardfrontphotourl": {
  11011. "description": "银行卡正面照地址",
  11012. "type": "string"
  11013. },
  11014. "bankid": {
  11015. "description": "银行编码",
  11016. "type": "string"
  11017. },
  11018. "bankname": {
  11019. "description": "银行名称",
  11020. "type": "string"
  11021. },
  11022. "bankpictureurl": {
  11023. "description": "银行卡正面地址",
  11024. "type": "string"
  11025. },
  11026. "biznature": {
  11027. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11028. "type": "integer"
  11029. },
  11030. "bizscope": {
  11031. "description": "企业经营范围(企业)",
  11032. "type": "string"
  11033. },
  11034. "biztype": {
  11035. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11036. "type": "integer"
  11037. },
  11038. "brokerid": {
  11039. "description": "经纪人ID(加密存储)",
  11040. "type": "string"
  11041. },
  11042. "cardaddress": {
  11043. "description": "证件地址 (加密存储)",
  11044. "type": "string"
  11045. },
  11046. "cardbackphotourl": {
  11047. "description": "背面证件照地址",
  11048. "type": "string"
  11049. },
  11050. "cardfrontphotourl": {
  11051. "description": "正面证件照地址",
  11052. "type": "string"
  11053. },
  11054. "cardnum": {
  11055. "description": "证件号码 (加密存储)",
  11056. "type": "string"
  11057. },
  11058. "cardtype": {
  11059. "description": "证件类型",
  11060. "type": "integer"
  11061. },
  11062. "cityid": {
  11063. "description": "市",
  11064. "type": "integer"
  11065. },
  11066. "company": {
  11067. "description": "公司(个人)",
  11068. "type": "string"
  11069. },
  11070. "contactcardbackphotourl": {
  11071. "description": "联系人证件背面图片地址",
  11072. "type": "string"
  11073. },
  11074. "contactcardfrontphotourl": {
  11075. "description": "联系人证件正面图片地址",
  11076. "type": "string"
  11077. },
  11078. "contactname": {
  11079. "description": "联系人",
  11080. "type": "string"
  11081. },
  11082. "countryid": {
  11083. "description": "国家",
  11084. "type": "integer"
  11085. },
  11086. "createtime": {
  11087. "description": "开户申请时间",
  11088. "type": "string"
  11089. },
  11090. "cusbankid": {
  11091. "description": "签约类型",
  11092. "type": "string"
  11093. },
  11094. "cusbankname": {
  11095. "description": "签约类型名称",
  11096. "type": "string"
  11097. },
  11098. "customername": {
  11099. "description": "客户名称(企业名称)",
  11100. "type": "string"
  11101. },
  11102. "districtid": {
  11103. "description": "地区",
  11104. "type": "integer"
  11105. },
  11106. "email": {
  11107. "description": "Email地址(加密存储)",
  11108. "type": "string"
  11109. },
  11110. "halfbodyphotourl": {
  11111. "description": "半身照地址",
  11112. "type": "string"
  11113. },
  11114. "headurl": {
  11115. "description": "头像地址",
  11116. "type": "string"
  11117. },
  11118. "ipaddress": {
  11119. "description": "IP地址",
  11120. "type": "string"
  11121. },
  11122. "isvalidate": {
  11123. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11124. "type": "string"
  11125. },
  11126. "legalcardbackphotourl": {
  11127. "description": "法人身份证背面照地址",
  11128. "type": "string"
  11129. },
  11130. "legalcardfrontphotourl": {
  11131. "description": "法人身份证正面照地址",
  11132. "type": "string"
  11133. },
  11134. "legalpersonname": {
  11135. "description": "法人姓名(企业)",
  11136. "type": "string"
  11137. },
  11138. "logincode": {
  11139. "description": "登录帐号 (加密存储)",
  11140. "type": "string"
  11141. },
  11142. "memberareaid": {
  11143. "description": "所属会员ID",
  11144. "type": "integer"
  11145. },
  11146. "mobile2": {
  11147. "description": "手机号码[明文-尚志]",
  11148. "type": "string"
  11149. },
  11150. "mobilephone": {
  11151. "description": "手机号码 (加密存储)",
  11152. "type": "string"
  11153. },
  11154. "modifiedby": {
  11155. "description": "修改人帐号",
  11156. "type": "integer"
  11157. },
  11158. "modifiedtime": {
  11159. "description": "修改时间",
  11160. "type": "string"
  11161. },
  11162. "nickname": {
  11163. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11164. "type": "string"
  11165. },
  11166. "openmode": {
  11167. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11168. "type": "integer"
  11169. },
  11170. "otherurl": {
  11171. "description": "其它图片地址[使用分号分隔]",
  11172. "type": "string"
  11173. },
  11174. "postalcode": {
  11175. "description": "邮政编码",
  11176. "type": "string"
  11177. },
  11178. "provinceid": {
  11179. "description": "省",
  11180. "type": "integer"
  11181. },
  11182. "proxystatementurl": {
  11183. "description": "授权委托书",
  11184. "type": "string"
  11185. },
  11186. "qq": {
  11187. "description": "QQ(加密存储",
  11188. "type": "string"
  11189. },
  11190. "referral": {
  11191. "description": "推荐人编码",
  11192. "type": "string"
  11193. },
  11194. "remark": {
  11195. "description": "备注",
  11196. "type": "string"
  11197. },
  11198. "removebeforestatus": {
  11199. "description": "REMOVEBEFORESTATUS",
  11200. "type": "integer"
  11201. },
  11202. "sex": {
  11203. "description": "性别 - 0:女 1:男",
  11204. "type": "integer"
  11205. },
  11206. "signedstatus": {
  11207. "description": "账户一号签签约状态",
  11208. "type": "integer"
  11209. },
  11210. "signpdfurl": {
  11211. "description": "签约pdf文件",
  11212. "type": "string"
  11213. },
  11214. "subbranch": {
  11215. "description": "开户支行",
  11216. "type": "string"
  11217. },
  11218. "telphone": {
  11219. "description": "联系电话(加密存储)",
  11220. "type": "string"
  11221. },
  11222. "userid": {
  11223. "description": "用户ID(自增ID)",
  11224. "type": "integer"
  11225. },
  11226. "userinfotype": {
  11227. "description": "用户信息类型 - 1:个人 2:企业",
  11228. "type": "integer"
  11229. },
  11230. "username": {
  11231. "description": "用户姓名",
  11232. "type": "string"
  11233. },
  11234. "userstate": {
  11235. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11236. "type": "integer"
  11237. },
  11238. "usertype": {
  11239. "description": "用户类型 - 1:投资者 2:机构",
  11240. "type": "integer"
  11241. },
  11242. "videourl": {
  11243. "description": "视频地址",
  11244. "type": "string"
  11245. },
  11246. "wechat": {
  11247. "description": "微信号 (加密存储)",
  11248. "type": "string"
  11249. }
  11250. }
  11251. },
  11252. "erms3.QryAuditContractRsp": {
  11253. "type": "object",
  11254. "required": [
  11255. "matchcustomername",
  11256. "spotcontractid"
  11257. ],
  11258. "properties": {
  11259. "accountid": {
  11260. "description": "交易员ID",
  11261. "type": "string"
  11262. },
  11263. "applystatus": {
  11264. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11265. "type": "integer"
  11266. },
  11267. "curdeliveryqty": {
  11268. "description": "未交收量",
  11269. "type": "integer"
  11270. },
  11271. "customername": {
  11272. "description": "采购方ID",
  11273. "type": "string"
  11274. },
  11275. "deliverygoodsid": {
  11276. "description": "品种ID",
  11277. "type": "string"
  11278. },
  11279. "deliveryqty": {
  11280. "description": "交收量",
  11281. "type": "integer"
  11282. },
  11283. "enumdicname": {
  11284. "description": "单位名称",
  11285. "type": "string"
  11286. },
  11287. "matchaccountid": {
  11288. "description": "业务员ID",
  11289. "type": "string"
  11290. },
  11291. "matchcustomername": {
  11292. "description": "销售方ID",
  11293. "type": "string"
  11294. },
  11295. "pricedqty": {
  11296. "description": "定价量",
  11297. "type": "number"
  11298. },
  11299. "signdate": {
  11300. "description": "签订日期",
  11301. "type": "string"
  11302. },
  11303. "spotcontractid": {
  11304. "description": "合同ID",
  11305. "type": "string"
  11306. },
  11307. "totaldqty": {
  11308. "description": "合同量",
  11309. "type": "number"
  11310. },
  11311. "unpricedqty": {
  11312. "description": "未定价量",
  11313. "type": "number"
  11314. },
  11315. "wrstandardname": {
  11316. "description": "商品名称",
  11317. "type": "string"
  11318. }
  11319. }
  11320. },
  11321. "erms3.QryPendingBizRsp": {
  11322. "type": "object",
  11323. "properties": {
  11324. "accountid": {
  11325. "description": "现货账户",
  11326. "type": "string"
  11327. },
  11328. "areaname": {
  11329. "description": "所属部门",
  11330. "type": "string"
  11331. },
  11332. "bizid": {
  11333. "description": "业务ID",
  11334. "type": "string"
  11335. },
  11336. "bizname": {
  11337. "description": "业务名称",
  11338. "type": "string"
  11339. },
  11340. "status": {
  11341. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11342. "type": "integer"
  11343. },
  11344. "type": {
  11345. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11346. "type": "integer"
  11347. }
  11348. }
  11349. },
  11350. "erms3.QueryBusinessInfoRsp": {
  11351. "type": "object",
  11352. "properties": {
  11353. "businessid": {
  11354. "description": "业务ID.",
  11355. "type": "integer"
  11356. },
  11357. "buyamount": {
  11358. "description": "采购额.",
  11359. "type": "number"
  11360. },
  11361. "buyqty": {
  11362. "description": "采购量.",
  11363. "type": "string"
  11364. },
  11365. "futurepl": {
  11366. "description": "期货盈亏.",
  11367. "type": "number"
  11368. },
  11369. "futureqty": {
  11370. "description": "期货敞口.",
  11371. "type": "string"
  11372. },
  11373. "goodsid": {
  11374. "description": "商品名称/商品代码.",
  11375. "type": "string"
  11376. },
  11377. "hedgingqty": {
  11378. "description": "套保量.",
  11379. "type": "string"
  11380. },
  11381. "sellamount": {
  11382. "description": "销售额.",
  11383. "type": "number"
  11384. },
  11385. "sellqty": {
  11386. "description": "销售量.",
  11387. "type": "string"
  11388. },
  11389. "spotmarketvalue": {
  11390. "description": "现货市值.",
  11391. "type": "number"
  11392. },
  11393. "spotpl": {
  11394. "description": "浮动权益.",
  11395. "type": "number"
  11396. },
  11397. "spotqty": {
  11398. "description": "现货量.",
  11399. "type": "string"
  11400. },
  11401. "statu": {
  11402. "description": "状态,0-未结束 1-已结束.",
  11403. "type": "integer"
  11404. },
  11405. "totalpl": {
  11406. "description": "总盈亏.",
  11407. "type": "number"
  11408. },
  11409. "totalqty": {
  11410. "description": "总敞口.",
  11411. "type": "string"
  11412. },
  11413. "type": {
  11414. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11415. "type": "integer"
  11416. }
  11417. }
  11418. },
  11419. "erms3.QuerySpotContractAppleFormRsp": {
  11420. "type": "object",
  11421. "properties": {
  11422. "goodses": {
  11423. "description": "合约列表",
  11424. "type": "array",
  11425. "items": {
  11426. "$ref": "#/definitions/models.GoodsIDAndName"
  11427. }
  11428. },
  11429. "oppositeusers": {
  11430. "description": "对方账号列表",
  11431. "type": "array",
  11432. "items": {
  11433. "$ref": "#/definitions/erms3.CustomerInfo"
  11434. }
  11435. },
  11436. "ouruser": {
  11437. "description": "我方账号",
  11438. "$ref": "#/definitions/erms3.CustomerInfo"
  11439. },
  11440. "warehouseinfos": {
  11441. "description": "仓库信息列表",
  11442. "type": "array",
  11443. "items": {
  11444. "$ref": "#/definitions/models.Warehouseinfo"
  11445. }
  11446. },
  11447. "wrstandards": {
  11448. "description": "仓单标准列表",
  11449. "type": "array",
  11450. "items": {
  11451. "$ref": "#/definitions/models.WRStandardInfo"
  11452. }
  11453. }
  11454. }
  11455. },
  11456. "erms3.QuerySpotContractInfoRsp": {
  11457. "type": "object",
  11458. "properties": {
  11459. "accountid": {
  11460. "description": "表示交易员ID.",
  11461. "type": "integer"
  11462. },
  11463. "curdeliveryqty": {
  11464. "description": "表示未交收量.",
  11465. "type": "number"
  11466. },
  11467. "customername": {
  11468. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11469. "type": "string"
  11470. },
  11471. "deliverygoodsid": {
  11472. "description": "表示品种ID.",
  11473. "type": "string"
  11474. },
  11475. "deliveryqty": {
  11476. "description": "表示交收量.",
  11477. "type": "number"
  11478. },
  11479. "matchaccountid": {
  11480. "description": "表示业务员ID.",
  11481. "type": "integer"
  11482. },
  11483. "matchcustomername": {
  11484. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11485. "type": "string"
  11486. },
  11487. "priceqty": {
  11488. "description": "表示定价量.",
  11489. "type": "number"
  11490. },
  11491. "relatedbizid": {
  11492. "description": "表示业务ID.",
  11493. "type": "string"
  11494. },
  11495. "signdate": {
  11496. "description": "表示签订日期.",
  11497. "type": "string"
  11498. },
  11499. "spotcontractid": {
  11500. "description": "合同ID",
  11501. "type": "string"
  11502. },
  11503. "status": {
  11504. "description": "表示状态,0-履约中 1-已完成.",
  11505. "type": "integer"
  11506. },
  11507. "totalqty": {
  11508. "description": "表示合同量.",
  11509. "type": "number"
  11510. },
  11511. "unpricedqty": {
  11512. "description": "表示未定价量.",
  11513. "type": "number"
  11514. },
  11515. "wrstandardname": {
  11516. "description": "表示商品ID.",
  11517. "type": "string"
  11518. }
  11519. }
  11520. },
  11521. "erms3.QueryUserInfoAppliesRsp": {
  11522. "type": "object",
  11523. "required": [
  11524. "userid"
  11525. ],
  11526. "properties": {
  11527. "biznature": {
  11528. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11529. "type": "integer"
  11530. },
  11531. "contactname": {
  11532. "description": "联系人",
  11533. "type": "string"
  11534. },
  11535. "createtime": {
  11536. "description": "开户申请时间",
  11537. "type": "string"
  11538. },
  11539. "userid": {
  11540. "description": "用户ID(自增ID)",
  11541. "type": "integer"
  11542. },
  11543. "userinfotype": {
  11544. "description": "用户信息类型 - 1:个人 2:企业",
  11545. "type": "integer"
  11546. },
  11547. "username": {
  11548. "description": "用户姓名",
  11549. "type": "string"
  11550. },
  11551. "userstate": {
  11552. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11553. "type": "integer"
  11554. }
  11555. }
  11556. },
  11557. "erms3.QueryUserInfosRsp": {
  11558. "type": "object",
  11559. "required": [
  11560. "userid"
  11561. ],
  11562. "properties": {
  11563. "biznature": {
  11564. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11565. "type": "integer"
  11566. },
  11567. "contactname": {
  11568. "description": "联系人",
  11569. "type": "string"
  11570. },
  11571. "customername": {
  11572. "description": "客户名称(企业名称)",
  11573. "type": "string"
  11574. },
  11575. "userid": {
  11576. "description": "用户ID",
  11577. "type": "integer"
  11578. },
  11579. "userinfotype": {
  11580. "description": "用户信息类型 - 1:个人 2:企业",
  11581. "type": "integer"
  11582. },
  11583. "userstatus": {
  11584. "description": "用户状态 - 1:正常 2:注销",
  11585. "type": "integer"
  11586. }
  11587. }
  11588. },
  11589. "erms3.SoptContractDetail": {
  11590. "type": "object",
  11591. "required": [
  11592. "deliverygoodsid",
  11593. "producttype",
  11594. "unitname",
  11595. "warehouseid",
  11596. "wrstandardid",
  11597. "wrstandardname"
  11598. ],
  11599. "properties": {
  11600. "deliverygoodsdesc": {
  11601. "description": "现货品种说明",
  11602. "type": "string"
  11603. },
  11604. "deliverygoodsid": {
  11605. "description": "现货品种ID",
  11606. "type": "integer"
  11607. },
  11608. "deliverygoodsname": {
  11609. "description": "现货品种名称",
  11610. "type": "string"
  11611. },
  11612. "pointdesc": {
  11613. "description": "点价描述",
  11614. "type": "string"
  11615. },
  11616. "producttype": {
  11617. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11618. "type": "integer"
  11619. },
  11620. "producttypename": {
  11621. "description": "产品类型名称",
  11622. "type": "string"
  11623. },
  11624. "spotPointOrderVoList": {
  11625. "description": "点价列表",
  11626. "type": "array",
  11627. "items": {
  11628. "$ref": "#/definitions/erms3.SpotPointOrder"
  11629. }
  11630. },
  11631. "spotPriceOrderList": {
  11632. "description": "定价列表",
  11633. "type": "array",
  11634. "items": {
  11635. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11636. }
  11637. },
  11638. "unitname": {
  11639. "description": "单位名称",
  11640. "type": "string"
  11641. },
  11642. "warehouseid": {
  11643. "description": "仓库ID",
  11644. "type": "integer"
  11645. },
  11646. "warehousename": {
  11647. "description": "仓库名称",
  11648. "type": "string"
  11649. },
  11650. "wrstandardid": {
  11651. "description": "交易标的ID",
  11652. "type": "integer"
  11653. },
  11654. "wrstandardname": {
  11655. "description": "交易标的名称",
  11656. "type": "string"
  11657. }
  11658. }
  11659. },
  11660. "erms3.SpotPointOrder": {
  11661. "type": "object",
  11662. "required": [
  11663. "basic",
  11664. "goodsid",
  11665. "qty"
  11666. ],
  11667. "properties": {
  11668. "basic": {
  11669. "description": "基差",
  11670. "type": "number"
  11671. },
  11672. "deliveryenddate": {
  11673. "description": "交收结束日期",
  11674. "type": "string"
  11675. },
  11676. "deliverystartdate": {
  11677. "description": "交收开始日期",
  11678. "type": "string"
  11679. },
  11680. "enddate": {
  11681. "description": "点价结束日期",
  11682. "type": "string"
  11683. },
  11684. "goodsid": {
  11685. "description": "商品ID",
  11686. "type": "integer"
  11687. },
  11688. "goodsname": {
  11689. "description": "商品名称",
  11690. "type": "string"
  11691. },
  11692. "qty": {
  11693. "description": "数量",
  11694. "type": "number"
  11695. },
  11696. "startdate": {
  11697. "description": "点价开始日期",
  11698. "type": "string"
  11699. }
  11700. }
  11701. },
  11702. "erms3.SpotPriceOrder": {
  11703. "type": "object",
  11704. "required": [
  11705. "amount",
  11706. "price",
  11707. "qty"
  11708. ],
  11709. "properties": {
  11710. "amount": {
  11711. "description": "金额",
  11712. "type": "number"
  11713. },
  11714. "deliveryenddate": {
  11715. "description": "交收结束日期",
  11716. "type": "string"
  11717. },
  11718. "deliverystartdate": {
  11719. "description": "交收开始日期",
  11720. "type": "string"
  11721. },
  11722. "price": {
  11723. "description": "价格",
  11724. "type": "number"
  11725. },
  11726. "qty": {
  11727. "description": "数量",
  11728. "type": "number"
  11729. }
  11730. }
  11731. },
  11732. "hsby.GetHsbyMyCountRsp": {
  11733. "type": "object",
  11734. "properties": {
  11735. "myCouponCount": {
  11736. "description": "我的优惠卷数量",
  11737. "type": "integer"
  11738. },
  11739. "myOrderDetailListingCount": {
  11740. "description": "我的订单求购中数量",
  11741. "type": "integer"
  11742. },
  11743. "myOrderDetailPreCount": {
  11744. "description": "我的订单抢购中数量",
  11745. "type": "integer"
  11746. },
  11747. "myPackageUnReceiveCount": {
  11748. "description": "我的包裹待收货数量",
  11749. "type": "integer"
  11750. },
  11751. "myPackageUnSendCount": {
  11752. "description": "我的包裹待发货数量",
  11753. "type": "integer"
  11754. },
  11755. "myPayOrderCount": {
  11756. "description": "我的订单待付款数量",
  11757. "type": "integer"
  11758. }
  11759. }
  11760. },
  11761. "hsby.QueryProvincesAndCitiesRsp": {
  11762. "type": "object",
  11763. "properties": {
  11764. "cities": {
  11765. "description": "市",
  11766. "type": "array",
  11767. "items": {
  11768. "$ref": "#/definitions/models.Division"
  11769. }
  11770. },
  11771. "province": {
  11772. "description": "省",
  11773. "$ref": "#/definitions/models.Division"
  11774. }
  11775. }
  11776. },
  11777. "models.Clientfixedadconfig": {
  11778. "type": "object",
  11779. "required": [
  11780. "adsort",
  11781. "adtype"
  11782. ],
  11783. "properties": {
  11784. "adsort": {
  11785. "description": "排序",
  11786. "type": "integer"
  11787. },
  11788. "adtype": {
  11789. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11790. "type": "integer"
  11791. },
  11792. "areauserid": {
  11793. "description": "所属机构ID",
  11794. "type": "integer"
  11795. },
  11796. "createdate": {
  11797. "description": "创建时间",
  11798. "type": "string"
  11799. },
  11800. "creatorid": {
  11801. "description": "创建人",
  11802. "type": "integer"
  11803. },
  11804. "imagepath": {
  11805. "description": "图片",
  11806. "type": "string"
  11807. },
  11808. "isshow": {
  11809. "description": "是否展示 - 0:不展示 1:展示",
  11810. "type": "integer"
  11811. },
  11812. "modifierid": {
  11813. "description": "操作人",
  11814. "type": "integer"
  11815. },
  11816. "recsize": {
  11817. "description": "推荐尺寸",
  11818. "type": "string"
  11819. },
  11820. "title": {
  11821. "description": "标题",
  11822. "type": "string"
  11823. },
  11824. "updatedate": {
  11825. "description": "更新时间",
  11826. "type": "string"
  11827. },
  11828. "urlcontent": {
  11829. "description": "链接(地址或商品ID)",
  11830. "type": "string"
  11831. },
  11832. "urltype": {
  11833. "description": "链接类型 - 1:直接地址 2:商品ID",
  11834. "type": "integer"
  11835. }
  11836. }
  11837. },
  11838. "models.Division": {
  11839. "type": "object",
  11840. "required": [
  11841. "autoid",
  11842. "divisioncode"
  11843. ],
  11844. "properties": {
  11845. "autoid": {
  11846. "description": "自增ID",
  11847. "type": "integer"
  11848. },
  11849. "divisioncode": {
  11850. "description": "行政代码",
  11851. "type": "string"
  11852. },
  11853. "divisionlevel": {
  11854. "description": "行政级别",
  11855. "type": "string"
  11856. },
  11857. "divisionname": {
  11858. "description": "行政名称",
  11859. "type": "string"
  11860. },
  11861. "modifierid": {
  11862. "description": "修改人",
  11863. "type": "integer"
  11864. },
  11865. "modifytime": {
  11866. "description": "修改时间",
  11867. "type": "string"
  11868. },
  11869. "parentcode": {
  11870. "description": "上级行政代码",
  11871. "type": "string"
  11872. },
  11873. "pathname": {
  11874. "description": "路径名称",
  11875. "type": "string"
  11876. },
  11877. "postcode": {
  11878. "description": "邮政编码",
  11879. "type": "string"
  11880. },
  11881. "separablename": {
  11882. "description": "可拆分的全称",
  11883. "type": "string"
  11884. },
  11885. "shortcode": {
  11886. "description": "地区简码",
  11887. "type": "string"
  11888. }
  11889. }
  11890. },
  11891. "models.Enumdicitem": {
  11892. "type": "object",
  11893. "required": [
  11894. "autoid",
  11895. "enumdiccode",
  11896. "enumdicid",
  11897. "enumitemname"
  11898. ],
  11899. "properties": {
  11900. "autoid": {
  11901. "description": "自增ID",
  11902. "type": "integer"
  11903. },
  11904. "bankmappedvalue": {
  11905. "description": "银行服务对应值",
  11906. "type": "string"
  11907. },
  11908. "enumdiccode": {
  11909. "description": "所属枚举代码",
  11910. "type": "string"
  11911. },
  11912. "enumdicid": {
  11913. "description": "所属枚举ID",
  11914. "type": "integer"
  11915. },
  11916. "enumdicname": {
  11917. "description": "枚举项名称",
  11918. "type": "string"
  11919. },
  11920. "enumitemname": {
  11921. "description": "枚举项值",
  11922. "type": "integer"
  11923. },
  11924. "enumitemstatus": {
  11925. "description": "枚举项状态 - 1.启用 2.不启用",
  11926. "type": "integer"
  11927. },
  11928. "enumitemvalue": {
  11929. "description": "通用值 - [币种通用简写]",
  11930. "type": "string"
  11931. },
  11932. "param1": {
  11933. "description": "参数1[币种:币种小数位]",
  11934. "type": "string"
  11935. },
  11936. "param2": {
  11937. "description": "参数1[币种:币种显示单位]",
  11938. "type": "string"
  11939. },
  11940. "remark": {
  11941. "description": "备注",
  11942. "type": "string"
  11943. }
  11944. }
  11945. },
  11946. "models.ErmcpHisExposure": {
  11947. "type": "object",
  11948. "properties": {
  11949. "needhedgeexposoure": {
  11950. "description": "应套保敞口",
  11951. "type": "number"
  11952. },
  11953. "reckondate": {
  11954. "description": "日照时期(yyyyMMdd)",
  11955. "type": "string"
  11956. },
  11957. "totalexposure": {
  11958. "description": "总敞口",
  11959. "type": "number"
  11960. }
  11961. }
  11962. },
  11963. "models.ErmcpMiddleGoodsModel": {
  11964. "type": "object",
  11965. "properties": {
  11966. "areauserid": {
  11967. "description": "机构用户ID",
  11968. "type": "integer"
  11969. },
  11970. "enumdicname": {
  11971. "description": "单位名称",
  11972. "type": "string"
  11973. },
  11974. "evaluateratio": {
  11975. "description": "估价系数",
  11976. "type": "number"
  11977. },
  11978. "goodsgroupid": {
  11979. "description": "关联期货品种ID",
  11980. "type": "integer"
  11981. },
  11982. "isvalid": {
  11983. "description": "状态 0-无效(停用) 1-有效(正常)",
  11984. "type": "integer"
  11985. },
  11986. "middlegoodscode": {
  11987. "description": "套保品种代码",
  11988. "type": "string"
  11989. },
  11990. "middlegoodsid": {
  11991. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11992. "type": "integer"
  11993. },
  11994. "middlegoodsname": {
  11995. "description": "套保品种名称",
  11996. "type": "string"
  11997. },
  11998. "modifytime": {
  11999. "description": "修改时间",
  12000. "type": "string"
  12001. },
  12002. "needhedgeratio": {
  12003. "description": "套保比率",
  12004. "type": "number"
  12005. },
  12006. "qtydecimalplace": {
  12007. "description": "数量小数位",
  12008. "type": "integer"
  12009. },
  12010. "relatedgoodsid": {
  12011. "description": "关联交易商品ID",
  12012. "type": "integer"
  12013. },
  12014. "relatedgoodstype": {
  12015. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12016. "type": "integer"
  12017. }
  12018. }
  12019. },
  12020. "models.ErmcpReportDayFR": {
  12021. "type": "object",
  12022. "properties": {
  12023. "areauserid": {
  12024. "description": "所属机构",
  12025. "type": "integer"
  12026. },
  12027. "collectinvoiceamount": {
  12028. "description": "今日开票金额",
  12029. "type": "number"
  12030. },
  12031. "collectinvoicecount": {
  12032. "description": "今日开票笔数",
  12033. "type": "integer"
  12034. },
  12035. "collectmoneyamount": {
  12036. "description": "今日收款金额",
  12037. "type": "number"
  12038. },
  12039. "collectmoneycount": {
  12040. "description": "今日收款笔数",
  12041. "type": "integer"
  12042. },
  12043. "payinvoiceamount": {
  12044. "description": "今日收票金额",
  12045. "type": "number"
  12046. },
  12047. "payinvoicecount": {
  12048. "description": "今日收票笔数",
  12049. "type": "integer"
  12050. },
  12051. "paymoneyamount": {
  12052. "description": "今日付款金额",
  12053. "type": "number"
  12054. },
  12055. "paymoneycount": {
  12056. "description": "今日付款笔数",
  12057. "type": "integer"
  12058. },
  12059. "reckondate": {
  12060. "description": "日照时期(yyyyMMdd)",
  12061. "type": "string"
  12062. },
  12063. "updatetime": {
  12064. "description": "更新时间",
  12065. "type": "string"
  12066. }
  12067. }
  12068. },
  12069. "models.ErmcpWrstandard": {
  12070. "type": "object",
  12071. "properties": {
  12072. "areauserid": {
  12073. "description": "所属机构",
  12074. "type": "integer"
  12075. },
  12076. "createtime": {
  12077. "description": "创建时间",
  12078. "type": "string"
  12079. },
  12080. "creatorid": {
  12081. "description": "创建人",
  12082. "type": "integer"
  12083. },
  12084. "deliverygoodsid": {
  12085. "description": "品种ID",
  12086. "type": "integer"
  12087. },
  12088. "enumdicname": {
  12089. "description": "单位名称",
  12090. "type": "string"
  12091. },
  12092. "isvalid": {
  12093. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12094. "type": "integer"
  12095. },
  12096. "minivalue": {
  12097. "description": "最小变动值",
  12098. "type": "integer"
  12099. },
  12100. "minivaluedp": {
  12101. "description": "最小变动值小数位",
  12102. "type": "integer"
  12103. },
  12104. "realminivalue": {
  12105. "description": "实际最小变动值",
  12106. "type": "integer"
  12107. },
  12108. "realminivaluedp": {
  12109. "description": "实际最小变动值小数位",
  12110. "type": "integer"
  12111. },
  12112. "remark": {
  12113. "description": "备注",
  12114. "type": "string"
  12115. },
  12116. "unitid": {
  12117. "description": "单位ID",
  12118. "type": "integer"
  12119. },
  12120. "updatetime": {
  12121. "description": "更新时间",
  12122. "type": "string"
  12123. },
  12124. "wrstandardcode": {
  12125. "description": "现货商品代码",
  12126. "type": "string"
  12127. },
  12128. "wrstandardid": {
  12129. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12130. "type": "integer"
  12131. },
  12132. "wrstandardname": {
  12133. "description": "现货商品名称",
  12134. "type": "string"
  12135. }
  12136. }
  12137. },
  12138. "models.Goods": {
  12139. "type": "object",
  12140. "required": [
  12141. "goodscode",
  12142. "goodsid",
  12143. "goodsname",
  12144. "marketid"
  12145. ],
  12146. "properties": {
  12147. "agreeunit": {
  12148. "description": "合约单位",
  12149. "type": "number"
  12150. },
  12151. "auditaccountid": {
  12152. "description": "审核操作员账号",
  12153. "type": "integer"
  12154. },
  12155. "audittime": {
  12156. "description": "审核时间",
  12157. "type": "string"
  12158. },
  12159. "cancelaccountid": {
  12160. "description": "注销操作员账号",
  12161. "type": "integer"
  12162. },
  12163. "canceltime": {
  12164. "description": "注销时间",
  12165. "type": "string"
  12166. },
  12167. "closepricemode": {
  12168. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12169. "type": "integer"
  12170. },
  12171. "closepriceparam": {
  12172. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12173. "type": "number"
  12174. },
  12175. "createtime": {
  12176. "description": "创建时间",
  12177. "type": "string"
  12178. },
  12179. "creatorid": {
  12180. "description": "创建人",
  12181. "type": "integer"
  12182. },
  12183. "currencyid": {
  12184. "description": "报价货币ID",
  12185. "type": "integer"
  12186. },
  12187. "cutmode": {
  12188. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12189. "type": "integer"
  12190. },
  12191. "decimalplace": {
  12192. "description": "报价小数位",
  12193. "type": "integer"
  12194. },
  12195. "delistingdate": {
  12196. "description": "商品退市时间(状态:退市) -- 已作废",
  12197. "type": "string"
  12198. },
  12199. "delistingmode": {
  12200. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12201. "type": "integer"
  12202. },
  12203. "deliveryflag": {
  12204. "description": "交割标志 - 0:不可交割 1:可交割",
  12205. "type": "integer"
  12206. },
  12207. "forceclosemode": {
  12208. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12209. "type": "integer"
  12210. },
  12211. "forceclosevalue": {
  12212. "description": "定期强平参数 [收益权]",
  12213. "type": "integer"
  12214. },
  12215. "goodscode": {
  12216. "description": "商品代码(内部)",
  12217. "type": "string"
  12218. },
  12219. "goodscurrencyid": {
  12220. "description": "合约货币ID",
  12221. "type": "integer"
  12222. },
  12223. "goodsgroupid": {
  12224. "description": "所属商品组ID",
  12225. "type": "integer"
  12226. },
  12227. "goodsid": {
  12228. "description": "商品ID(自增ID SEQ_GOODS)",
  12229. "type": "integer"
  12230. },
  12231. "goodsname": {
  12232. "description": "商品名称",
  12233. "type": "string"
  12234. },
  12235. "goodsquotetype": {
  12236. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12237. "type": "integer"
  12238. },
  12239. "goodsstatus": {
  12240. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12241. "type": "integer"
  12242. },
  12243. "goodstradetype": {
  12244. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12245. "type": "integer"
  12246. },
  12247. "goodunitid": {
  12248. "description": "报价单位ID",
  12249. "type": "integer"
  12250. },
  12251. "hasquoter": {
  12252. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12253. "type": "integer"
  12254. },
  12255. "hqprotecttime": {
  12256. "description": "行情保护时间(秒)",
  12257. "type": "integer"
  12258. },
  12259. "innerdealmode": {
  12260. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12261. "type": "integer"
  12262. },
  12263. "isbuylimited": {
  12264. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12265. "type": "integer"
  12266. },
  12267. "lasttradedate": {
  12268. "description": "最后交易日期(状态:待退市)",
  12269. "type": "string"
  12270. },
  12271. "listingdate": {
  12272. "description": "交易开始日期",
  12273. "type": "string"
  12274. },
  12275. "marketid": {
  12276. "description": "所属市场ID",
  12277. "type": "integer"
  12278. },
  12279. "modifierid": {
  12280. "description": "修改人",
  12281. "type": "integer"
  12282. },
  12283. "modifystatus": {
  12284. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12285. "type": "integer"
  12286. },
  12287. "modifytime": {
  12288. "description": "修改时间",
  12289. "type": "string"
  12290. },
  12291. "outerdealmode": {
  12292. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12293. "type": "integer"
  12294. },
  12295. "outgoodscode": {
  12296. "description": "商品代码(外部)",
  12297. "type": "string"
  12298. },
  12299. "qtydecimalplace": {
  12300. "description": "成交量小数位",
  12301. "type": "integer"
  12302. },
  12303. "quotegear": {
  12304. "description": "行情档位(1-10)",
  12305. "type": "integer"
  12306. },
  12307. "quoteminunit": {
  12308. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12309. "type": "integer"
  12310. },
  12311. "quoteshowtype": {
  12312. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12313. "type": "integer"
  12314. },
  12315. "quoteshowtypeinterval": {
  12316. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12317. "type": "integer"
  12318. },
  12319. "remark": {
  12320. "description": "备注",
  12321. "type": "string"
  12322. }
  12323. }
  12324. },
  12325. "models.GoodsBrand": {
  12326. "type": "object",
  12327. "properties": {
  12328. "brandid": {
  12329. "description": "品牌ID",
  12330. "type": "integer"
  12331. },
  12332. "brandname": {
  12333. "description": "品牌名称",
  12334. "type": "string"
  12335. },
  12336. "isvalid": {
  12337. "description": "是否有效 - 0:无效 1:有效",
  12338. "type": "integer"
  12339. }
  12340. }
  12341. },
  12342. "models.GoodsGroupConvert": {
  12343. "type": "object",
  12344. "properties": {
  12345. "convertratio": {
  12346. "description": "折算系数",
  12347. "type": "number"
  12348. },
  12349. "dstgoodsgroupid": {
  12350. "description": "目标期货品种ID",
  12351. "type": "integer"
  12352. },
  12353. "goodsgroupname": {
  12354. "description": "期货品种名称",
  12355. "type": "string"
  12356. },
  12357. "outergroupcode": {
  12358. "description": "期货品种代码",
  12359. "type": "string"
  12360. },
  12361. "srcgoodsgroupid": {
  12362. "description": "源期货品种ID",
  12363. "type": "integer"
  12364. }
  12365. }
  12366. },
  12367. "models.GoodsIDAndName": {
  12368. "type": "object",
  12369. "required": [
  12370. "goodscode",
  12371. "goodsid",
  12372. "goodsname",
  12373. "marketid"
  12374. ],
  12375. "properties": {
  12376. "goodscode": {
  12377. "description": "商品代码(内部)",
  12378. "type": "string"
  12379. },
  12380. "goodsid": {
  12381. "description": "商品ID(自增ID SEQ_GOODS)",
  12382. "type": "integer"
  12383. },
  12384. "goodsname": {
  12385. "description": "商品名称",
  12386. "type": "string"
  12387. },
  12388. "marketid": {
  12389. "description": "所属市场ID",
  12390. "type": "integer"
  12391. }
  12392. }
  12393. },
  12394. "models.GoodsTypeModel": {
  12395. "type": "object",
  12396. "properties": {
  12397. "modelid": {
  12398. "description": "型号ID",
  12399. "type": "integer"
  12400. },
  12401. "modelname": {
  12402. "description": "型号名称",
  12403. "type": "string"
  12404. },
  12405. "updatetime": {
  12406. "description": "更新时间",
  12407. "type": "string"
  12408. }
  12409. }
  12410. },
  12411. "models.HsbyBuyMyPayOrder": {
  12412. "type": "object",
  12413. "required": [
  12414. "goodscode",
  12415. "goodsname",
  12416. "tradeid",
  12417. "trademode"
  12418. ],
  12419. "properties": {
  12420. "agreeunit": {
  12421. "description": "合约单位",
  12422. "type": "number"
  12423. },
  12424. "buyaccountid": {
  12425. "description": "买方账号ID[报价币种]",
  12426. "type": "integer"
  12427. },
  12428. "buyorderid": {
  12429. "description": "买方委托单号",
  12430. "type": "string"
  12431. },
  12432. "createtime": {
  12433. "description": "创建时间",
  12434. "type": "string"
  12435. },
  12436. "currencysign": {
  12437. "description": "货币符号",
  12438. "type": "string"
  12439. },
  12440. "decimalplace": {
  12441. "description": "报价小数位",
  12442. "type": "integer"
  12443. },
  12444. "goodscode": {
  12445. "description": "商品代码(内部)",
  12446. "type": "string"
  12447. },
  12448. "goodsid": {
  12449. "description": "商品ID",
  12450. "type": "integer"
  12451. },
  12452. "goodsname": {
  12453. "description": "商品名称",
  12454. "type": "string"
  12455. },
  12456. "marketid": {
  12457. "description": "市场ID",
  12458. "type": "integer"
  12459. },
  12460. "offamount": {
  12461. "description": "优惠金额",
  12462. "type": "number"
  12463. },
  12464. "payamount": {
  12465. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12466. "type": "number"
  12467. },
  12468. "payflag": {
  12469. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12470. "type": "integer"
  12471. },
  12472. "paylimitedtime": {
  12473. "description": "支付期限",
  12474. "type": "string"
  12475. },
  12476. "paytime": {
  12477. "description": "付款时间",
  12478. "type": "string"
  12479. },
  12480. "picurls1": {
  12481. "description": "预售商品介绍图片[多张用逗号分隔]",
  12482. "type": "string"
  12483. },
  12484. "picurls2": {
  12485. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12486. "type": "string"
  12487. },
  12488. "sellaccountid": {
  12489. "description": "卖方账号ID[报价币种]",
  12490. "type": "integer"
  12491. },
  12492. "sellorderid": {
  12493. "description": "卖方委托单号",
  12494. "type": "string"
  12495. },
  12496. "tradeamount": {
  12497. "description": "成交金额",
  12498. "type": "number"
  12499. },
  12500. "tradecharge": {
  12501. "description": "成交手续费(买方)",
  12502. "type": "number"
  12503. },
  12504. "tradedate": {
  12505. "description": "交易日(yyyyMMdd)",
  12506. "type": "string"
  12507. },
  12508. "tradeid": {
  12509. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12510. "type": "string"
  12511. },
  12512. "trademode": {
  12513. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12514. "type": "integer"
  12515. },
  12516. "tradeprice": {
  12517. "description": "成交价格",
  12518. "type": "number"
  12519. },
  12520. "tradeqty": {
  12521. "description": "成交数量",
  12522. "type": "integer"
  12523. },
  12524. "vendorname1": {
  12525. "description": "预售商品供应商名称",
  12526. "type": "string"
  12527. },
  12528. "vendorname2": {
  12529. "description": "挂牌商品供应商名称",
  12530. "type": "string"
  12531. }
  12532. }
  12533. },
  12534. "models.HsbyBuyMyTradeDetail": {
  12535. "type": "object",
  12536. "required": [
  12537. "accountid",
  12538. "buyorsell",
  12539. "goodscode",
  12540. "goodsid",
  12541. "goodsname",
  12542. "marketid",
  12543. "orderid",
  12544. "qty",
  12545. "time",
  12546. "trademode"
  12547. ],
  12548. "properties": {
  12549. "accountid": {
  12550. "description": "账户ID[报价币种]",
  12551. "type": "integer"
  12552. },
  12553. "agreeunit": {
  12554. "description": "合约单位",
  12555. "type": "number"
  12556. },
  12557. "amount": {
  12558. "description": "金额 = 价格 * 数量 * 合约单位",
  12559. "type": "number"
  12560. },
  12561. "buyorsell": {
  12562. "description": "买卖 - 0:买 1:卖",
  12563. "type": "integer"
  12564. },
  12565. "currencysign": {
  12566. "description": "货币符号",
  12567. "type": "string"
  12568. },
  12569. "decimalplace": {
  12570. "description": "报价小数位",
  12571. "type": "integer"
  12572. },
  12573. "goodscode": {
  12574. "description": "商品代码(内部)",
  12575. "type": "string"
  12576. },
  12577. "goodsid": {
  12578. "description": "商品ID",
  12579. "type": "integer"
  12580. },
  12581. "goodsname": {
  12582. "description": "商品名称",
  12583. "type": "string"
  12584. },
  12585. "marketid": {
  12586. "description": "市场ID",
  12587. "type": "integer"
  12588. },
  12589. "orderid": {
  12590. "description": "单号(成交单号)",
  12591. "type": "string"
  12592. },
  12593. "picurls1": {
  12594. "description": "预售商品介绍图片[多张用逗号分隔]",
  12595. "type": "string"
  12596. },
  12597. "picurls2": {
  12598. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12599. "type": "string"
  12600. },
  12601. "price": {
  12602. "description": "价格",
  12603. "type": "number"
  12604. },
  12605. "qty": {
  12606. "description": "数量",
  12607. "type": "integer"
  12608. },
  12609. "time": {
  12610. "description": "时间",
  12611. "type": "string"
  12612. },
  12613. "trademode": {
  12614. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12615. "type": "integer"
  12616. },
  12617. "vendorname1": {
  12618. "description": "预售商品供应商名称",
  12619. "type": "string"
  12620. },
  12621. "vendorname2": {
  12622. "description": "挂牌商品供应商名称",
  12623. "type": "string"
  12624. }
  12625. }
  12626. },
  12627. "models.HsbyGoodsOrderDetail": {
  12628. "type": "object",
  12629. "required": [
  12630. "buyorsell",
  12631. "orderid",
  12632. "ordertime"
  12633. ],
  12634. "properties": {
  12635. "buyorsell": {
  12636. "description": "买卖 - 0:买 1:卖",
  12637. "type": "integer"
  12638. },
  12639. "currencysign": {
  12640. "description": "货币符号",
  12641. "type": "string"
  12642. },
  12643. "customername": {
  12644. "description": "客户名称(企业名称),已脱敏",
  12645. "type": "string"
  12646. },
  12647. "enableqty": {
  12648. "description": "可用数量",
  12649. "type": "integer"
  12650. },
  12651. "goodunit": {
  12652. "description": "报价单位",
  12653. "type": "string"
  12654. },
  12655. "orderid": {
  12656. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12657. "type": "string"
  12658. },
  12659. "orderprice": {
  12660. "description": "委托价格",
  12661. "type": "number"
  12662. },
  12663. "ordertime": {
  12664. "description": "委托时间",
  12665. "type": "string"
  12666. }
  12667. }
  12668. },
  12669. "models.HsbyListingGoodsDetail": {
  12670. "type": "object",
  12671. "required": [
  12672. "goodscode",
  12673. "goodsid",
  12674. "goodsname",
  12675. "marketid",
  12676. "trademode"
  12677. ],
  12678. "properties": {
  12679. "agreeunit": {
  12680. "description": "合约单位",
  12681. "type": "number"
  12682. },
  12683. "buymaxqty": {
  12684. "description": "购买上限 [71] - 0为不限",
  12685. "type": "integer"
  12686. },
  12687. "currency": {
  12688. "description": "货币",
  12689. "type": "string"
  12690. },
  12691. "currencysign": {
  12692. "description": "货币符号",
  12693. "type": "string"
  12694. },
  12695. "decimalplace": {
  12696. "description": "报价小数位",
  12697. "type": "integer"
  12698. },
  12699. "desccityid": {
  12700. "description": "目的地(市)ID",
  12701. "type": "integer"
  12702. },
  12703. "descprovinceid": {
  12704. "description": "目的地(省)ID",
  12705. "type": "integer"
  12706. },
  12707. "goodscode": {
  12708. "description": "商品代码(内部)",
  12709. "type": "string"
  12710. },
  12711. "goodsdesc": {
  12712. "description": "商品详情",
  12713. "type": "string"
  12714. },
  12715. "goodsid": {
  12716. "description": "商品ID(自增ID SEQ_GOODS)",
  12717. "type": "integer"
  12718. },
  12719. "goodsname": {
  12720. "description": "商品名称",
  12721. "type": "string"
  12722. },
  12723. "goodsprice": {
  12724. "description": "商品价格",
  12725. "type": "number"
  12726. },
  12727. "hotindex": {
  12728. "description": "景点热度",
  12729. "type": "integer"
  12730. },
  12731. "last": {
  12732. "description": "现价",
  12733. "type": "number"
  12734. },
  12735. "limitdown": {
  12736. "description": "跌停价",
  12737. "type": "number"
  12738. },
  12739. "limitup": {
  12740. "description": "涨停价",
  12741. "type": "number"
  12742. },
  12743. "lotsize": {
  12744. "description": "手数最小变动单位",
  12745. "type": "integer"
  12746. },
  12747. "marketid": {
  12748. "description": "所属市场ID",
  12749. "type": "integer"
  12750. },
  12751. "picurls": {
  12752. "description": "介绍图片[多张用逗号分隔]",
  12753. "type": "string"
  12754. },
  12755. "quoteminunit": {
  12756. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12757. "type": "integer"
  12758. },
  12759. "stepvalue": {
  12760. "description": "价格最小变动单位",
  12761. "type": "number"
  12762. },
  12763. "trademode": {
  12764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12765. "type": "integer"
  12766. },
  12767. "vendorattr": {
  12768. "description": "供应商附件(多张,逗号分隔)",
  12769. "type": "string"
  12770. },
  12771. "vendorname": {
  12772. "description": "供应商名称",
  12773. "type": "string"
  12774. },
  12775. "vendorphone": {
  12776. "description": "供应商客服电话",
  12777. "type": "string"
  12778. },
  12779. "videourls": {
  12780. "description": "介绍视频[多张用逗号分隔]",
  12781. "type": "string"
  12782. }
  12783. }
  12784. },
  12785. "models.HsbyMarketGoods": {
  12786. "type": "object",
  12787. "required": [
  12788. "accountid",
  12789. "buyorsell",
  12790. "goodscode",
  12791. "goodsid",
  12792. "goodsname",
  12793. "marketid",
  12794. "orderid",
  12795. "trademode"
  12796. ],
  12797. "properties": {
  12798. "accountid": {
  12799. "description": "账户ID[报价币种]",
  12800. "type": "integer"
  12801. },
  12802. "agreeunit": {
  12803. "description": "合约单位",
  12804. "type": "number"
  12805. },
  12806. "buyorsell": {
  12807. "description": "买卖 - 0:买 1:卖",
  12808. "type": "integer"
  12809. },
  12810. "categoryid": {
  12811. "description": "类别ID(WRCATEGORY)",
  12812. "type": "integer"
  12813. },
  12814. "currency": {
  12815. "description": "货币",
  12816. "type": "string"
  12817. },
  12818. "currencysign": {
  12819. "description": "货币符号",
  12820. "type": "string"
  12821. },
  12822. "customername": {
  12823. "description": "卖家名称",
  12824. "type": "string"
  12825. },
  12826. "decimalplace": {
  12827. "description": "报价小数位",
  12828. "type": "integer"
  12829. },
  12830. "goodscode": {
  12831. "description": "商品代码(内部)",
  12832. "type": "string"
  12833. },
  12834. "goodsid": {
  12835. "description": "商品ID",
  12836. "type": "integer"
  12837. },
  12838. "goodsname": {
  12839. "description": "商品名称",
  12840. "type": "string"
  12841. },
  12842. "goodsprice": {
  12843. "description": "商品价格",
  12844. "type": "number"
  12845. },
  12846. "hascoupon": {
  12847. "description": "是否可用优惠卷",
  12848. "type": "boolean"
  12849. },
  12850. "hotindex": {
  12851. "description": "景点热度",
  12852. "type": "integer"
  12853. },
  12854. "marketid": {
  12855. "description": "市场ID",
  12856. "type": "integer"
  12857. },
  12858. "orderid": {
  12859. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12860. "type": "string"
  12861. },
  12862. "orderprice": {
  12863. "description": "委托价格",
  12864. "type": "number"
  12865. },
  12866. "orderstatus": {
  12867. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12868. "type": "integer"
  12869. },
  12870. "picurls": {
  12871. "description": "介绍图片[多张用逗号分隔]",
  12872. "type": "string"
  12873. },
  12874. "quoteminunit": {
  12875. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12876. "type": "integer"
  12877. },
  12878. "sellUserID": {
  12879. "description": "卖方UserID",
  12880. "type": "integer"
  12881. },
  12882. "trademode": {
  12883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12884. "type": "integer"
  12885. },
  12886. "videourls": {
  12887. "description": "介绍视频[多张用逗号分隔]",
  12888. "type": "string"
  12889. }
  12890. }
  12891. },
  12892. "models.HsbyMarketGoodsDetail": {
  12893. "type": "object",
  12894. "required": [
  12895. "accountid",
  12896. "buyorsell",
  12897. "goodscode",
  12898. "goodsid",
  12899. "goodsname",
  12900. "marketid",
  12901. "orderid",
  12902. "orderqty",
  12903. "trademode"
  12904. ],
  12905. "properties": {
  12906. "accountid": {
  12907. "description": "账户ID[报价币种]",
  12908. "type": "integer"
  12909. },
  12910. "agreeunit": {
  12911. "description": "合约单位",
  12912. "type": "number"
  12913. },
  12914. "buymaxqty": {
  12915. "description": "购买上限 [71] - 0为不限",
  12916. "type": "integer"
  12917. },
  12918. "buyorsell": {
  12919. "description": "买卖 - 0:买 1:卖",
  12920. "type": "integer"
  12921. },
  12922. "cancelqty": {
  12923. "description": "撤单数量",
  12924. "type": "integer"
  12925. },
  12926. "categoryid": {
  12927. "description": "类别ID(WRCATEGORY)",
  12928. "type": "integer"
  12929. },
  12930. "currency": {
  12931. "description": "货币",
  12932. "type": "string"
  12933. },
  12934. "currencysign": {
  12935. "description": "货币符号",
  12936. "type": "string"
  12937. },
  12938. "customername": {
  12939. "description": "卖家名称",
  12940. "type": "string"
  12941. },
  12942. "decimalplace": {
  12943. "description": "报价小数位",
  12944. "type": "integer"
  12945. },
  12946. "goodscode": {
  12947. "description": "商品代码(内部)",
  12948. "type": "string"
  12949. },
  12950. "goodsdesc": {
  12951. "description": "商品详情",
  12952. "type": "string"
  12953. },
  12954. "goodsid": {
  12955. "description": "商品ID",
  12956. "type": "integer"
  12957. },
  12958. "goodsname": {
  12959. "description": "商品名称",
  12960. "type": "string"
  12961. },
  12962. "goodsprice": {
  12963. "description": "商品价格",
  12964. "type": "number"
  12965. },
  12966. "hotindex": {
  12967. "description": "景点热度",
  12968. "type": "integer"
  12969. },
  12970. "lotsize": {
  12971. "description": "手数最小变动单位",
  12972. "type": "integer"
  12973. },
  12974. "marketid": {
  12975. "description": "市场ID",
  12976. "type": "integer"
  12977. },
  12978. "orderid": {
  12979. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12980. "type": "string"
  12981. },
  12982. "orderprice": {
  12983. "description": "委托价格",
  12984. "type": "number"
  12985. },
  12986. "orderqty": {
  12987. "description": "委托数量",
  12988. "type": "integer"
  12989. },
  12990. "orderstatus": {
  12991. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12992. "type": "integer"
  12993. },
  12994. "picurls": {
  12995. "description": "介绍图片[多张用逗号分隔]",
  12996. "type": "string"
  12997. },
  12998. "quoteminunit": {
  12999. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13000. "type": "integer"
  13001. },
  13002. "sellUserID": {
  13003. "description": "卖方UserID",
  13004. "type": "integer"
  13005. },
  13006. "trademode": {
  13007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13008. "type": "integer"
  13009. },
  13010. "tradeqty": {
  13011. "description": "成交数量",
  13012. "type": "integer"
  13013. },
  13014. "vendorattr": {
  13015. "description": "供应商附件(多张,逗号分隔)",
  13016. "type": "string"
  13017. },
  13018. "vendorname": {
  13019. "description": "供应商名称",
  13020. "type": "string"
  13021. },
  13022. "vendorphone": {
  13023. "description": "供应商客服电话",
  13024. "type": "string"
  13025. },
  13026. "videourls": {
  13027. "description": "介绍视频[多张用逗号分隔]",
  13028. "type": "string"
  13029. }
  13030. }
  13031. },
  13032. "models.HsbyMarketInfo": {
  13033. "type": "object",
  13034. "required": [
  13035. "marketid",
  13036. "marketstatus",
  13037. "trademode"
  13038. ],
  13039. "properties": {
  13040. "marketid": {
  13041. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13042. "type": "integer"
  13043. },
  13044. "marketname": {
  13045. "description": "市场名称",
  13046. "type": "string"
  13047. },
  13048. "marketstatus": {
  13049. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13050. "type": "integer"
  13051. },
  13052. "trademode": {
  13053. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13054. "type": "integer"
  13055. }
  13056. }
  13057. },
  13058. "models.HsbyMyGoods": {
  13059. "type": "object",
  13060. "required": [
  13061. "accountid",
  13062. "goodscode",
  13063. "goodsid",
  13064. "goodsname",
  13065. "marketid",
  13066. "trademode"
  13067. ],
  13068. "properties": {
  13069. "accountid": {
  13070. "description": "账号Id",
  13071. "type": "integer"
  13072. },
  13073. "agreeunit": {
  13074. "description": "合约单位",
  13075. "type": "number"
  13076. },
  13077. "buyaverageprice": {
  13078. "description": "持仓均价",
  13079. "type": "number"
  13080. },
  13081. "buycurholderamount": {
  13082. "description": "买当前持仓总金额[商品币种]",
  13083. "type": "number"
  13084. },
  13085. "buycurpositionqty": {
  13086. "description": "买当前持仓总数量",
  13087. "type": "integer"
  13088. },
  13089. "buymaxqty": {
  13090. "description": "购买上限 [71] - 0为不限",
  13091. "type": "integer"
  13092. },
  13093. "currencysign": {
  13094. "description": "货币符号",
  13095. "type": "string"
  13096. },
  13097. "decimalplace": {
  13098. "description": "报价小数位",
  13099. "type": "integer"
  13100. },
  13101. "enableqty": {
  13102. "description": "可用数量",
  13103. "type": "integer"
  13104. },
  13105. "goodscode": {
  13106. "description": "商品代码(内部)",
  13107. "type": "string"
  13108. },
  13109. "goodsid": {
  13110. "description": "商品Id",
  13111. "type": "integer"
  13112. },
  13113. "goodsname": {
  13114. "description": "商品名称",
  13115. "type": "string"
  13116. },
  13117. "goodsprice": {
  13118. "description": "商品价格",
  13119. "type": "number"
  13120. },
  13121. "goodsstatus": {
  13122. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13123. "type": "integer"
  13124. },
  13125. "last": {
  13126. "description": "现价(仅使用于挂牌点选)",
  13127. "type": "number"
  13128. },
  13129. "limitdown": {
  13130. "description": "跌停价(仅使用于挂牌点选)",
  13131. "type": "number"
  13132. },
  13133. "limitup": {
  13134. "description": "涨停价(仅使用于挂牌点选)",
  13135. "type": "number"
  13136. },
  13137. "lotsize": {
  13138. "description": "手数最小变动单位",
  13139. "type": "integer"
  13140. },
  13141. "marketid": {
  13142. "description": "所属市场ID",
  13143. "type": "integer"
  13144. },
  13145. "picurls": {
  13146. "description": "介绍图片[多张用逗号分隔]",
  13147. "type": "string"
  13148. },
  13149. "quoteminunit": {
  13150. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13151. "type": "integer"
  13152. },
  13153. "stepvalue": {
  13154. "description": "价格最小变动单位",
  13155. "type": "number"
  13156. },
  13157. "trademode": {
  13158. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13159. "type": "integer"
  13160. }
  13161. }
  13162. },
  13163. "models.HsbyMyPackage": {
  13164. "type": "object",
  13165. "required": [
  13166. "goodscode",
  13167. "goodsname",
  13168. "takeorderid",
  13169. "trademode"
  13170. ],
  13171. "properties": {
  13172. "accountid": {
  13173. "description": "账户ID",
  13174. "type": "integer"
  13175. },
  13176. "address": {
  13177. "description": "提货人详细地址",
  13178. "type": "string"
  13179. },
  13180. "agreeunit": {
  13181. "description": "合约单位",
  13182. "type": "number"
  13183. },
  13184. "amount": {
  13185. "description": "提货金额",
  13186. "type": "number"
  13187. },
  13188. "auditer": {
  13189. "description": "审核人",
  13190. "type": "integer"
  13191. },
  13192. "audittime": {
  13193. "description": "审核时间",
  13194. "type": "string"
  13195. },
  13196. "averageprice": {
  13197. "description": "均价",
  13198. "type": "number"
  13199. },
  13200. "cardnum": {
  13201. "description": "提货人证件号码",
  13202. "type": "string"
  13203. },
  13204. "cardtypeid": {
  13205. "description": "提货人证件类型",
  13206. "type": "integer"
  13207. },
  13208. "checkremark": {
  13209. "description": "审核备注",
  13210. "type": "string"
  13211. },
  13212. "currencysign": {
  13213. "description": "货币符号",
  13214. "type": "string"
  13215. },
  13216. "decimalplace": {
  13217. "description": "报价小数位",
  13218. "type": "integer"
  13219. },
  13220. "goodscode": {
  13221. "description": "商品代码(内部)",
  13222. "type": "string"
  13223. },
  13224. "goodsid": {
  13225. "description": "商品ID",
  13226. "type": "integer"
  13227. },
  13228. "goodsname": {
  13229. "description": "商品名称",
  13230. "type": "string"
  13231. },
  13232. "handlestatus": {
  13233. "description": "处理状态",
  13234. "type": "integer"
  13235. },
  13236. "marketid": {
  13237. "description": "市场ID",
  13238. "type": "integer"
  13239. },
  13240. "phonenum": {
  13241. "description": "提货人联系方式",
  13242. "type": "string"
  13243. },
  13244. "picurls": {
  13245. "description": "介绍图片[多张用逗号分隔]",
  13246. "type": "string"
  13247. },
  13248. "qty": {
  13249. "description": "提货数量",
  13250. "type": "number"
  13251. },
  13252. "recivername": {
  13253. "description": "提货人姓名",
  13254. "type": "string"
  13255. },
  13256. "reqtime": {
  13257. "description": "更新时间",
  13258. "type": "string"
  13259. },
  13260. "takemode": {
  13261. "description": "提货方式 - 2:自提 3:配送",
  13262. "type": "integer"
  13263. },
  13264. "takeorderid": {
  13265. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13266. "type": "string"
  13267. },
  13268. "takeorderstatus": {
  13269. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13270. "type": "integer"
  13271. },
  13272. "takeremark": {
  13273. "description": "提货备注",
  13274. "type": "string"
  13275. },
  13276. "tradedate": {
  13277. "description": "交易日(yyyyMMdd)",
  13278. "type": "string"
  13279. },
  13280. "trademode": {
  13281. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13282. "type": "integer"
  13283. },
  13284. "userid": {
  13285. "description": "用户ID",
  13286. "type": "integer"
  13287. },
  13288. "vendorname": {
  13289. "description": "供应商名称",
  13290. "type": "string"
  13291. }
  13292. }
  13293. },
  13294. "models.HsbyPreGoods": {
  13295. "type": "object",
  13296. "required": [
  13297. "goodscode",
  13298. "goodsid",
  13299. "goodsname",
  13300. "marketid",
  13301. "trademode"
  13302. ],
  13303. "properties": {
  13304. "agreeunit": {
  13305. "description": "合约单位",
  13306. "type": "number"
  13307. },
  13308. "currency": {
  13309. "description": "货币",
  13310. "type": "string"
  13311. },
  13312. "currencysign": {
  13313. "description": "货币符号",
  13314. "type": "string"
  13315. },
  13316. "decimalplace": {
  13317. "description": "报价小数位",
  13318. "type": "integer"
  13319. },
  13320. "desccityid": {
  13321. "description": "目的地(市)",
  13322. "type": "integer"
  13323. },
  13324. "descprovinceid": {
  13325. "description": "目的地(省)",
  13326. "type": "integer"
  13327. },
  13328. "enableqty": {
  13329. "description": "剩余数量",
  13330. "type": "integer"
  13331. },
  13332. "goodscode": {
  13333. "description": "商品代码(内部)",
  13334. "type": "string"
  13335. },
  13336. "goodsid": {
  13337. "description": "商品ID(自增ID SEQ_GOODS)",
  13338. "type": "integer"
  13339. },
  13340. "goodsname": {
  13341. "description": "商品名称",
  13342. "type": "string"
  13343. },
  13344. "goodsstatus": {
  13345. "description": "商品状态- 2:未上市 3:上市",
  13346. "type": "integer"
  13347. },
  13348. "lasttradedate": {
  13349. "description": "最后交易日期(状态:待退市)",
  13350. "type": "string"
  13351. },
  13352. "listingdate": {
  13353. "description": "交易开始日期",
  13354. "type": "string"
  13355. },
  13356. "marketid": {
  13357. "description": "所属市场ID",
  13358. "type": "integer"
  13359. },
  13360. "picurls": {
  13361. "description": "介绍图片[多张用逗号分隔]",
  13362. "type": "string"
  13363. },
  13364. "presaledqty": {
  13365. "description": "已预售量(预售结束时更新)",
  13366. "type": "integer"
  13367. },
  13368. "presaleqty": {
  13369. "description": "预售数量",
  13370. "type": "integer"
  13371. },
  13372. "quoteminunit": {
  13373. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13374. "type": "integer"
  13375. },
  13376. "refprice": {
  13377. "description": "参考价格[一口价]",
  13378. "type": "number"
  13379. },
  13380. "relatedgoodsid": {
  13381. "description": "关联交易合约ID",
  13382. "type": "integer"
  13383. },
  13384. "trademode": {
  13385. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13386. "type": "integer"
  13387. },
  13388. "videourls": {
  13389. "description": "介绍视频[多张用逗号分隔]",
  13390. "type": "string"
  13391. }
  13392. }
  13393. },
  13394. "models.HsbyPreGoodsDetail": {
  13395. "type": "object",
  13396. "required": [
  13397. "goodscode",
  13398. "goodsid",
  13399. "goodsname",
  13400. "marketid",
  13401. "trademode"
  13402. ],
  13403. "properties": {
  13404. "agreeunit": {
  13405. "description": "合约单位",
  13406. "type": "number"
  13407. },
  13408. "buymaxqty": {
  13409. "description": "购买上限 [71] - 0为不限",
  13410. "type": "integer"
  13411. },
  13412. "currency": {
  13413. "description": "货币",
  13414. "type": "string"
  13415. },
  13416. "currencysign": {
  13417. "description": "货币符号",
  13418. "type": "string"
  13419. },
  13420. "customername": {
  13421. "description": "发行单位",
  13422. "type": "string"
  13423. },
  13424. "decimalplace": {
  13425. "description": "报价小数位",
  13426. "type": "integer"
  13427. },
  13428. "desccityid": {
  13429. "description": "目的地(市)ID",
  13430. "type": "integer"
  13431. },
  13432. "descprovinceid": {
  13433. "description": "目的地(省)ID",
  13434. "type": "integer"
  13435. },
  13436. "enableqty": {
  13437. "description": "剩余数量",
  13438. "type": "integer"
  13439. },
  13440. "goodscode": {
  13441. "description": "商品代码(内部)",
  13442. "type": "string"
  13443. },
  13444. "goodsdesc": {
  13445. "description": "商品详情",
  13446. "type": "string"
  13447. },
  13448. "goodsid": {
  13449. "description": "商品ID(自增ID SEQ_GOODS)",
  13450. "type": "integer"
  13451. },
  13452. "goodsname": {
  13453. "description": "商品名称",
  13454. "type": "string"
  13455. },
  13456. "goodsstatus": {
  13457. "description": "商品状态- 2:未上市 3:上市",
  13458. "type": "integer"
  13459. },
  13460. "goodunit": {
  13461. "description": "报价单位",
  13462. "type": "string"
  13463. },
  13464. "lasttradedate": {
  13465. "description": "最后交易日期(状态:待退市)",
  13466. "type": "string"
  13467. },
  13468. "listingdate": {
  13469. "description": "交易开始日期",
  13470. "type": "string"
  13471. },
  13472. "lotsize": {
  13473. "description": "手数最小变动单位",
  13474. "type": "integer"
  13475. },
  13476. "marketid": {
  13477. "description": "所属市场ID",
  13478. "type": "integer"
  13479. },
  13480. "picurls": {
  13481. "description": "介绍图片[多张用逗号分隔]",
  13482. "type": "string"
  13483. },
  13484. "presaledqty": {
  13485. "description": "已预售量(预售结束时更新)",
  13486. "type": "integer"
  13487. },
  13488. "presaleqty": {
  13489. "description": "预售数量",
  13490. "type": "integer"
  13491. },
  13492. "quoteminunit": {
  13493. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13494. "type": "integer"
  13495. },
  13496. "refprice": {
  13497. "description": "参考价格[一口价]",
  13498. "type": "number"
  13499. },
  13500. "relatedgoodsid": {
  13501. "description": "关联交易合约ID",
  13502. "type": "integer"
  13503. },
  13504. "stepvalue": {
  13505. "description": "价格最小变动单位",
  13506. "type": "number"
  13507. },
  13508. "trademode": {
  13509. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13510. "type": "integer"
  13511. },
  13512. "vendorattr": {
  13513. "description": "供应商附件(多张,逗号分隔)",
  13514. "type": "string"
  13515. },
  13516. "vendorname": {
  13517. "description": "供应商名称",
  13518. "type": "string"
  13519. },
  13520. "vendorphone": {
  13521. "description": "供应商客服电话",
  13522. "type": "string"
  13523. },
  13524. "videourls": {
  13525. "description": "介绍视频[多张用逗号分隔]",
  13526. "type": "string"
  13527. }
  13528. }
  13529. },
  13530. "models.HsbySellCollectionOrder": {
  13531. "type": "object",
  13532. "required": [
  13533. "goodscode",
  13534. "goodsname",
  13535. "tradeid",
  13536. "trademode"
  13537. ],
  13538. "properties": {
  13539. "agreeunit": {
  13540. "description": "合约单位",
  13541. "type": "number"
  13542. },
  13543. "buyaccountid": {
  13544. "description": "买方账号ID[报价币种]",
  13545. "type": "integer"
  13546. },
  13547. "buyorderid": {
  13548. "description": "买方委托单号",
  13549. "type": "string"
  13550. },
  13551. "createtime": {
  13552. "description": "创建时间",
  13553. "type": "string"
  13554. },
  13555. "currencysign": {
  13556. "description": "货币符号",
  13557. "type": "string"
  13558. },
  13559. "decimalplace": {
  13560. "description": "报价小数位",
  13561. "type": "integer"
  13562. },
  13563. "goodscode": {
  13564. "description": "商品代码(内部)",
  13565. "type": "string"
  13566. },
  13567. "goodsid": {
  13568. "description": "商品ID",
  13569. "type": "integer"
  13570. },
  13571. "goodsname": {
  13572. "description": "商品名称",
  13573. "type": "string"
  13574. },
  13575. "marketid": {
  13576. "description": "市场ID",
  13577. "type": "integer"
  13578. },
  13579. "offamount": {
  13580. "description": "优惠金额",
  13581. "type": "number"
  13582. },
  13583. "payamount": {
  13584. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13585. "type": "number"
  13586. },
  13587. "payflag": {
  13588. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13589. "type": "integer"
  13590. },
  13591. "paylimitedtime": {
  13592. "description": "支付期限",
  13593. "type": "string"
  13594. },
  13595. "paytime": {
  13596. "description": "付款时间",
  13597. "type": "string"
  13598. },
  13599. "picurls": {
  13600. "description": "商品介绍图片[多张用逗号分隔]",
  13601. "type": "string"
  13602. },
  13603. "sellaccountid": {
  13604. "description": "卖方账号ID[报价币种]",
  13605. "type": "integer"
  13606. },
  13607. "sellorderid": {
  13608. "description": "卖方委托单号",
  13609. "type": "string"
  13610. },
  13611. "tradeamount": {
  13612. "description": "成交金额",
  13613. "type": "number"
  13614. },
  13615. "tradecharge": {
  13616. "description": "成交手续费(买方)",
  13617. "type": "number"
  13618. },
  13619. "tradedate": {
  13620. "description": "交易日(yyyyMMdd)",
  13621. "type": "string"
  13622. },
  13623. "tradeid": {
  13624. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13625. "type": "string"
  13626. },
  13627. "trademode": {
  13628. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13629. "type": "integer"
  13630. },
  13631. "tradeprice": {
  13632. "description": "成交价格",
  13633. "type": "number"
  13634. },
  13635. "tradeqty": {
  13636. "description": "成交数量",
  13637. "type": "integer"
  13638. }
  13639. }
  13640. },
  13641. "models.HsbySellMyDetail": {
  13642. "type": "object",
  13643. "required": [
  13644. "accountid",
  13645. "buyorsell",
  13646. "goodscode",
  13647. "goodsid",
  13648. "goodsname",
  13649. "marketid",
  13650. "orderid",
  13651. "time",
  13652. "trademode"
  13653. ],
  13654. "properties": {
  13655. "accountid": {
  13656. "description": "账户ID[报价币种]",
  13657. "type": "integer"
  13658. },
  13659. "agreeunit": {
  13660. "description": "合约单位",
  13661. "type": "number"
  13662. },
  13663. "buyorsell": {
  13664. "description": "买卖 - 0:买 1:卖",
  13665. "type": "integer"
  13666. },
  13667. "currencysign": {
  13668. "description": "货币符号",
  13669. "type": "string"
  13670. },
  13671. "decimalplace": {
  13672. "description": "报价小数位",
  13673. "type": "integer"
  13674. },
  13675. "goodscode": {
  13676. "description": "商品代码(内部)",
  13677. "type": "string"
  13678. },
  13679. "goodsid": {
  13680. "description": "商品ID",
  13681. "type": "integer"
  13682. },
  13683. "goodsname": {
  13684. "description": "商品名称",
  13685. "type": "string"
  13686. },
  13687. "marketid": {
  13688. "description": "市场ID",
  13689. "type": "integer"
  13690. },
  13691. "orderid": {
  13692. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13693. "type": "string"
  13694. },
  13695. "ordertype": {
  13696. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13697. "type": "integer"
  13698. },
  13699. "picurls": {
  13700. "description": "介绍图片[多张用逗号分隔]",
  13701. "type": "string"
  13702. },
  13703. "price": {
  13704. "description": "价格",
  13705. "type": "number"
  13706. },
  13707. "qty": {
  13708. "description": "数量",
  13709. "type": "integer"
  13710. },
  13711. "time": {
  13712. "description": "时间",
  13713. "type": "string"
  13714. },
  13715. "trademode": {
  13716. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13717. "type": "integer"
  13718. },
  13719. "vendorname": {
  13720. "description": "供应商名称",
  13721. "type": "string"
  13722. }
  13723. }
  13724. },
  13725. "models.HsbyTopGoods": {
  13726. "type": "object",
  13727. "required": [
  13728. "goodscode",
  13729. "goodsid",
  13730. "goodsname",
  13731. "marketid",
  13732. "trademode"
  13733. ],
  13734. "properties": {
  13735. "agreeunit": {
  13736. "description": "合约单位",
  13737. "type": "number"
  13738. },
  13739. "currency": {
  13740. "description": "货币",
  13741. "type": "string"
  13742. },
  13743. "currencysign": {
  13744. "description": "货币符号",
  13745. "type": "string"
  13746. },
  13747. "decimalplace": {
  13748. "description": "报价小数位",
  13749. "type": "integer"
  13750. },
  13751. "desccityid": {
  13752. "description": "目的地(市)",
  13753. "type": "integer"
  13754. },
  13755. "descprovinceid": {
  13756. "description": "目的地(省)",
  13757. "type": "integer"
  13758. },
  13759. "goodscode": {
  13760. "description": "商品代码(内部)",
  13761. "type": "string"
  13762. },
  13763. "goodsid": {
  13764. "description": "商品ID(自增ID SEQ_GOODS)",
  13765. "type": "integer"
  13766. },
  13767. "goodsname": {
  13768. "description": "商品名称",
  13769. "type": "string"
  13770. },
  13771. "hotindex": {
  13772. "description": "景点热度",
  13773. "type": "integer"
  13774. },
  13775. "last": {
  13776. "description": "现价",
  13777. "type": "number"
  13778. },
  13779. "marketid": {
  13780. "description": "所属市场ID",
  13781. "type": "integer"
  13782. },
  13783. "picurls": {
  13784. "description": "介绍图片[多张用逗号分隔]",
  13785. "type": "string"
  13786. },
  13787. "quoteminunit": {
  13788. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13789. "type": "integer"
  13790. },
  13791. "trademode": {
  13792. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13793. "type": "integer"
  13794. },
  13795. "videourls": {
  13796. "description": "介绍视频[多张用逗号分隔]",
  13797. "type": "string"
  13798. }
  13799. }
  13800. },
  13801. "models.HybsMyBuyOrderDetail": {
  13802. "type": "object",
  13803. "required": [
  13804. "accountid",
  13805. "buyorsell",
  13806. "goodscode",
  13807. "goodsid",
  13808. "goodsname",
  13809. "marketid",
  13810. "orderid",
  13811. "orderqty",
  13812. "ordertime",
  13813. "trademode"
  13814. ],
  13815. "properties": {
  13816. "accountid": {
  13817. "description": "账户ID[报价币种]",
  13818. "type": "integer"
  13819. },
  13820. "agreeunit": {
  13821. "description": "合约单位",
  13822. "type": "number"
  13823. },
  13824. "buyorsell": {
  13825. "description": "买卖 - 0:买 1:卖",
  13826. "type": "integer"
  13827. },
  13828. "cancelqty": {
  13829. "description": "撤单数量",
  13830. "type": "integer"
  13831. },
  13832. "currencysign": {
  13833. "description": "货币符号",
  13834. "type": "string"
  13835. },
  13836. "decimalplace": {
  13837. "description": "报价小数位",
  13838. "type": "integer"
  13839. },
  13840. "goodscode": {
  13841. "description": "商品代码(内部)",
  13842. "type": "string"
  13843. },
  13844. "goodsid": {
  13845. "description": "商品ID",
  13846. "type": "integer"
  13847. },
  13848. "goodsname": {
  13849. "description": "商品名称",
  13850. "type": "string"
  13851. },
  13852. "listingselecttype": {
  13853. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13854. "type": "integer"
  13855. },
  13856. "marketid": {
  13857. "description": "市场ID",
  13858. "type": "integer"
  13859. },
  13860. "mybuystatus": {
  13861. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13862. "type": "integer"
  13863. },
  13864. "orderamount": {
  13865. "description": "委托金额",
  13866. "type": "number"
  13867. },
  13868. "orderid": {
  13869. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13870. "type": "string"
  13871. },
  13872. "orderprice": {
  13873. "description": "委托价格",
  13874. "type": "number"
  13875. },
  13876. "orderqty": {
  13877. "description": "委托数量",
  13878. "type": "integer"
  13879. },
  13880. "orderstatus": {
  13881. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13882. "type": "integer"
  13883. },
  13884. "ordertime": {
  13885. "description": "委托时间",
  13886. "type": "string"
  13887. },
  13888. "picurls1": {
  13889. "description": "预售商品介绍图片[多张用逗号分隔]",
  13890. "type": "string"
  13891. },
  13892. "picurls2": {
  13893. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13894. "type": "string"
  13895. },
  13896. "trademode": {
  13897. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13898. "type": "integer"
  13899. },
  13900. "tradeqty": {
  13901. "description": "成交数量",
  13902. "type": "integer"
  13903. },
  13904. "vendorname1": {
  13905. "description": "预售商品供应商名称",
  13906. "type": "string"
  13907. },
  13908. "vendorname2": {
  13909. "description": "挂牌商品供应商名称",
  13910. "type": "string"
  13911. }
  13912. }
  13913. },
  13914. "models.Market": {
  13915. "type": "object",
  13916. "required": [
  13917. "marketid",
  13918. "marketstatus",
  13919. "openmethod",
  13920. "reckonpricealgorithm",
  13921. "trademode",
  13922. "tradeproperty"
  13923. ],
  13924. "properties": {
  13925. "auctionwrtype": {
  13926. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13927. "type": "integer"
  13928. },
  13929. "canacceptquote": {
  13930. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13931. "type": "integer"
  13932. },
  13933. "cangoodsexercise": {
  13934. "description": "[期权]是否可现货行权- 0:否 1:是",
  13935. "type": "integer"
  13936. },
  13937. "cangoodsexercisetype": {
  13938. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13939. "type": "integer"
  13940. },
  13941. "canmanualquotestrike": {
  13942. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13943. "type": "integer"
  13944. },
  13945. "canmutistage": {
  13946. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13947. "type": "integer"
  13948. },
  13949. "canpreexercise": {
  13950. "description": "[期权]是否可预申报- 0:否 1:是",
  13951. "type": "integer"
  13952. },
  13953. "clearinterval": {
  13954. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13955. "type": "integer"
  13956. },
  13957. "contracttmp": {
  13958. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13959. "type": "string"
  13960. },
  13961. "exchareaid": {
  13962. "description": "所属交易所,可以没有",
  13963. "type": "integer"
  13964. },
  13965. "goodstype": {
  13966. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13967. "type": "integer"
  13968. },
  13969. "hasrebate": {
  13970. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13971. "type": "integer"
  13972. },
  13973. "hastradecredit": {
  13974. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13975. "type": "integer"
  13976. },
  13977. "haswr": {
  13978. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13979. "type": "integer"
  13980. },
  13981. "isdeductmargin": {
  13982. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13983. "type": "integer"
  13984. },
  13985. "isrecordsource": {
  13986. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13987. "type": "integer"
  13988. },
  13989. "isreleasemargin": {
  13990. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13991. "type": "integer"
  13992. },
  13993. "marginformula": {
  13994. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13995. "type": "integer"
  13996. },
  13997. "marginformula2": {
  13998. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13999. "type": "integer"
  14000. },
  14001. "marketid": {
  14002. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14003. "type": "integer"
  14004. },
  14005. "marketname": {
  14006. "description": "市场名称",
  14007. "type": "string"
  14008. },
  14009. "marketserviceid": {
  14010. "description": "市场服务ID",
  14011. "type": "integer"
  14012. },
  14013. "marketstatus": {
  14014. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14015. "type": "integer"
  14016. },
  14017. "markettype": {
  14018. "description": "市场类型- 1:非交易服务 2:交易服务",
  14019. "type": "integer"
  14020. },
  14021. "matchermode": {
  14022. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14023. "type": "integer"
  14024. },
  14025. "openmethod": {
  14026. "description": "开盘模式 - 0 自动 1手动",
  14027. "type": "integer"
  14028. },
  14029. "otcuserid": {
  14030. "description": "场外期权做市商[场外期权]",
  14031. "type": "integer"
  14032. },
  14033. "outersynctime": {
  14034. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14035. "type": "string"
  14036. },
  14037. "pendingflag": {
  14038. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14039. "type": "integer"
  14040. },
  14041. "pendingtime": {
  14042. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14043. "type": "string"
  14044. },
  14045. "performancetempid": {
  14046. "description": "履约计划模板ID - 作废",
  14047. "type": "integer"
  14048. },
  14049. "premiumquotemode": {
  14050. "description": "权利金报价方式 - 1:自动 2:手动",
  14051. "type": "integer"
  14052. },
  14053. "rebateratio": {
  14054. "description": "返利比率[竞价式]",
  14055. "type": "number"
  14056. },
  14057. "reckonorder": {
  14058. "description": "结算顺序",
  14059. "type": "integer"
  14060. },
  14061. "reckonpricealgorithm": {
  14062. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14063. "type": "integer"
  14064. },
  14065. "reckonpriceparam": {
  14066. "description": "结算价参数",
  14067. "type": "integer"
  14068. },
  14069. "reckontime": {
  14070. "description": "结算时间[通道交易-对冲](HH:mm)",
  14071. "type": "string"
  14072. },
  14073. "roleprioritytype": {
  14074. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14075. "type": "integer"
  14076. },
  14077. "selllistingauditflag": {
  14078. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14079. "type": "integer"
  14080. },
  14081. "trademarkettype": {
  14082. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14083. "type": "integer"
  14084. },
  14085. "trademode": {
  14086. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14087. "type": "integer"
  14088. },
  14089. "tradeproperty": {
  14090. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14091. "type": "integer"
  14092. },
  14093. "tradetype": {
  14094. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14095. "type": "integer"
  14096. }
  14097. }
  14098. },
  14099. "models.Marketrun": {
  14100. "type": "object",
  14101. "required": [
  14102. "marketid",
  14103. "nexttradedate",
  14104. "reckonflag",
  14105. "runstatus",
  14106. "tradedate",
  14107. "tradedate2"
  14108. ],
  14109. "properties": {
  14110. "afternexttradedate": {
  14111. "description": "下下交易日",
  14112. "type": "string"
  14113. },
  14114. "clearquoteflag": {
  14115. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14116. "type": "integer"
  14117. },
  14118. "lastreckondate": {
  14119. "description": "最新交易日(结算成功)",
  14120. "type": "string"
  14121. },
  14122. "machinedate": {
  14123. "description": "机器时间",
  14124. "type": "string"
  14125. },
  14126. "manualflag": {
  14127. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14128. "type": "integer"
  14129. },
  14130. "marketid": {
  14131. "description": "市场ID",
  14132. "type": "integer"
  14133. },
  14134. "nexttradedate": {
  14135. "description": "下一交易日",
  14136. "type": "string"
  14137. },
  14138. "pretradedate": {
  14139. "description": "上一交易日",
  14140. "type": "string"
  14141. },
  14142. "reckonflag": {
  14143. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14144. "type": "integer"
  14145. },
  14146. "runstatus": {
  14147. "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.今日免清算",
  14148. "type": "integer"
  14149. },
  14150. "sectionid": {
  14151. "description": "时间段号[多时段时用]",
  14152. "type": "integer"
  14153. },
  14154. "tradedate": {
  14155. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14156. "type": "string"
  14157. },
  14158. "tradedate2": {
  14159. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14160. "type": "string"
  14161. },
  14162. "updatetime": {
  14163. "description": "更新时间",
  14164. "type": "string"
  14165. }
  14166. }
  14167. },
  14168. "models.Messageboard": {
  14169. "type": "object",
  14170. "required": [
  14171. "messageboardid"
  14172. ],
  14173. "properties": {
  14174. "contactnum": {
  14175. "description": "联系电话",
  14176. "type": "string"
  14177. },
  14178. "createtime": {
  14179. "description": "创建时间",
  14180. "type": "string"
  14181. },
  14182. "message": {
  14183. "description": "留言信息",
  14184. "type": "string"
  14185. },
  14186. "messageboardid": {
  14187. "description": "留言簿ID(SEQ_MessageBoard)",
  14188. "type": "integer"
  14189. },
  14190. "userid": {
  14191. "description": "用户ID",
  14192. "type": "integer"
  14193. }
  14194. }
  14195. },
  14196. "models.MyCoupon": {
  14197. "type": "object",
  14198. "required": [
  14199. "accountid",
  14200. "coupontypeid"
  14201. ],
  14202. "properties": {
  14203. "accountid": {
  14204. "description": "资金账户ID",
  14205. "type": "integer"
  14206. },
  14207. "areauserid": {
  14208. "description": "所属机构",
  14209. "type": "integer"
  14210. },
  14211. "conditionvalue": {
  14212. "description": "条件阈值(可为0)",
  14213. "type": "number"
  14214. },
  14215. "couponcategroy": {
  14216. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14217. "type": "integer"
  14218. },
  14219. "couponname": {
  14220. "description": "优惠券名称",
  14221. "type": "string"
  14222. },
  14223. "coupontypeid": {
  14224. "description": "优惠券类型ID",
  14225. "type": "string"
  14226. },
  14227. "couponvalue": {
  14228. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14229. "type": "number"
  14230. },
  14231. "curfreezeqty": {
  14232. "description": "期末冻结数量",
  14233. "type": "integer"
  14234. },
  14235. "curqty": {
  14236. "description": "期末数量",
  14237. "type": "integer"
  14238. },
  14239. "isgeneral": {
  14240. "description": "是否通用券 - 0:否 1:是",
  14241. "type": "integer"
  14242. },
  14243. "isunusable": {
  14244. "description": "是否不可用",
  14245. "type": "boolean"
  14246. },
  14247. "limitedflag": {
  14248. "description": "是否指定商品 - 0:不限 1:限制",
  14249. "type": "integer"
  14250. },
  14251. "limitedgoodsids": {
  14252. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14253. "type": "string"
  14254. },
  14255. "orifreezeqty": {
  14256. "description": "期初冻结数量",
  14257. "type": "integer"
  14258. },
  14259. "oriqty": {
  14260. "description": "期初数量",
  14261. "type": "integer"
  14262. },
  14263. "reasontype": {
  14264. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14265. "type": "integer"
  14266. },
  14267. "todaydecrease": {
  14268. "description": "今日减少",
  14269. "type": "integer"
  14270. },
  14271. "todayincrease": {
  14272. "description": "今日增加",
  14273. "type": "integer"
  14274. },
  14275. "userid": {
  14276. "description": "用户ID",
  14277. "type": "integer"
  14278. },
  14279. "userscope": {
  14280. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14281. "type": "string"
  14282. }
  14283. }
  14284. },
  14285. "models.MyCouponHold": {
  14286. "type": "object",
  14287. "required": [
  14288. "couponholdid"
  14289. ],
  14290. "properties": {
  14291. "accountid": {
  14292. "description": "资金账户ID",
  14293. "type": "integer"
  14294. },
  14295. "conditionvalue": {
  14296. "description": "条件阈值(可为0)",
  14297. "type": "number"
  14298. },
  14299. "couponcategroy": {
  14300. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14301. "type": "integer"
  14302. },
  14303. "couponholdid": {
  14304. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14305. "type": "string"
  14306. },
  14307. "couponname": {
  14308. "description": "优惠券名称",
  14309. "type": "string"
  14310. },
  14311. "coupontypeid": {
  14312. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14313. "type": "string"
  14314. },
  14315. "couponvalue": {
  14316. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14317. "type": "number"
  14318. },
  14319. "createtime": {
  14320. "description": "创建时间",
  14321. "type": "string"
  14322. },
  14323. "enddate": {
  14324. "description": "结束日期",
  14325. "type": "string"
  14326. },
  14327. "giveapplyid": {
  14328. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14329. "type": "integer"
  14330. },
  14331. "holdstatus": {
  14332. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14333. "type": "integer"
  14334. },
  14335. "isgeneral": {
  14336. "description": "是否通用券 - 0:否 1:是",
  14337. "type": "integer"
  14338. },
  14339. "limitedflag": {
  14340. "description": "是否指定商品 - 0:不限 1:限制",
  14341. "type": "integer"
  14342. },
  14343. "limitedgoodsids": {
  14344. "description": "指定商品IDs[逗号分隔]",
  14345. "type": "string"
  14346. },
  14347. "qty": {
  14348. "description": "数量(按1平铺)",
  14349. "type": "integer"
  14350. },
  14351. "startdate": {
  14352. "description": "开始日期",
  14353. "type": "string"
  14354. },
  14355. "userid": {
  14356. "description": "用户ID",
  14357. "type": "integer"
  14358. },
  14359. "userscope": {
  14360. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14361. "type": "string"
  14362. }
  14363. }
  14364. },
  14365. "models.MyUsedCoupon": {
  14366. "type": "object",
  14367. "required": [
  14368. "coupontypeid",
  14369. "orderid"
  14370. ],
  14371. "properties": {
  14372. "accountid": {
  14373. "description": "资金账户ID(买方)",
  14374. "type": "integer"
  14375. },
  14376. "conditionvalue": {
  14377. "description": "条件阈值(可为0)",
  14378. "type": "number"
  14379. },
  14380. "couponcategroy": {
  14381. "description": "种类 - 1:现金券 2:折扣券",
  14382. "type": "integer"
  14383. },
  14384. "couponname": {
  14385. "description": "优惠券名称",
  14386. "type": "string"
  14387. },
  14388. "coupontypeid": {
  14389. "description": "优惠券类型ID(买方)",
  14390. "type": "string"
  14391. },
  14392. "couponvalue": {
  14393. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14394. "type": "number"
  14395. },
  14396. "createtime": {
  14397. "description": "创建时间",
  14398. "type": "string"
  14399. },
  14400. "goodsid": {
  14401. "description": "商品ID",
  14402. "type": "integer"
  14403. },
  14404. "handlestatus": {
  14405. "description": "处理状态",
  14406. "type": "integer"
  14407. },
  14408. "marketid": {
  14409. "description": "市场ID",
  14410. "type": "integer"
  14411. },
  14412. "offamount": {
  14413. "description": "优惠金额",
  14414. "type": "number"
  14415. },
  14416. "orderid": {
  14417. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14418. "type": "string"
  14419. },
  14420. "sellaccountid": {
  14421. "description": "资金账户ID(卖方)",
  14422. "type": "integer"
  14423. },
  14424. "tradeamount": {
  14425. "description": "成交金额",
  14426. "type": "number"
  14427. },
  14428. "tradeid": {
  14429. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14430. "type": "string"
  14431. },
  14432. "usedqty": {
  14433. "description": "使用数量",
  14434. "type": "integer"
  14435. }
  14436. }
  14437. },
  14438. "models.OperationPrimaryMenu": {
  14439. "type": "object",
  14440. "properties": {
  14441. "Children": {
  14442. "description": "二级功能菜单",
  14443. "type": "array",
  14444. "items": {
  14445. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14446. }
  14447. },
  14448. "Key": {
  14449. "description": "菜单KEY",
  14450. "type": "string"
  14451. },
  14452. "Label": {
  14453. "description": "菜单标题",
  14454. "type": "string"
  14455. }
  14456. }
  14457. },
  14458. "models.OperationSecondaryMenu": {
  14459. "type": "object",
  14460. "properties": {
  14461. "Key": {
  14462. "description": "菜单KEY",
  14463. "type": "string"
  14464. },
  14465. "Label": {
  14466. "description": "菜单标题",
  14467. "type": "string"
  14468. },
  14469. "TabList": {
  14470. "description": "三级功能菜单",
  14471. "type": "array",
  14472. "items": {
  14473. "$ref": "#/definitions/models.OperationTabMenu"
  14474. }
  14475. }
  14476. }
  14477. },
  14478. "models.OperationTabMenu": {
  14479. "type": "object",
  14480. "properties": {
  14481. "Key": {
  14482. "description": "菜单KEY",
  14483. "type": "string"
  14484. },
  14485. "Label": {
  14486. "description": "菜单标题",
  14487. "type": "string"
  14488. }
  14489. }
  14490. },
  14491. "models.QueryErrorInfosRsp": {
  14492. "type": "object",
  14493. "required": [
  14494. "errorid"
  14495. ],
  14496. "properties": {
  14497. "description": {
  14498. "description": "异常描述",
  14499. "type": "string"
  14500. },
  14501. "errorcode": {
  14502. "description": "异常代码",
  14503. "type": "string"
  14504. },
  14505. "errorid": {
  14506. "description": "异常ID",
  14507. "type": "integer"
  14508. },
  14509. "modulecode": {
  14510. "description": "所属模块",
  14511. "type": "string"
  14512. },
  14513. "operatecode": {
  14514. "description": "所属操作",
  14515. "type": "string"
  14516. },
  14517. "rownumber": {
  14518. "description": "行号",
  14519. "type": "string"
  14520. }
  14521. }
  14522. },
  14523. "models.QueryHedgeOrderDetailRsp": {
  14524. "type": "object",
  14525. "properties": {
  14526. "accountid": {
  14527. "description": "账户ID",
  14528. "type": "integer"
  14529. },
  14530. "buyorsell": {
  14531. "description": "买卖 - 0:买 1:卖",
  14532. "type": "integer"
  14533. },
  14534. "channelbuildtype": {
  14535. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14536. "type": "integer"
  14537. },
  14538. "channelinnerorderstatus": {
  14539. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14540. "type": "integer"
  14541. },
  14542. "channeloperatetype": {
  14543. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14544. "type": "integer"
  14545. },
  14546. "closetype": {
  14547. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14548. "type": "integer"
  14549. },
  14550. "curexchangerate": {
  14551. "description": "当前汇率",
  14552. "type": "number"
  14553. },
  14554. "exchangefullname": {
  14555. "description": "外部交易所全称",
  14556. "type": "string"
  14557. },
  14558. "goodscode": {
  14559. "description": "商品代码(内部)",
  14560. "type": "string"
  14561. },
  14562. "goodsid": {
  14563. "description": "商品ID",
  14564. "type": "integer"
  14565. },
  14566. "goodsname": {
  14567. "description": "商品名称",
  14568. "type": "string"
  14569. },
  14570. "marketid": {
  14571. "description": "市场ID",
  14572. "type": "integer"
  14573. },
  14574. "openfreezemargin": {
  14575. "description": "冻结保证金(冻结交易金额)",
  14576. "type": "number"
  14577. },
  14578. "orderid": {
  14579. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14580. "type": "string"
  14581. },
  14582. "orderprice": {
  14583. "description": "委托价格(账户)",
  14584. "type": "number"
  14585. },
  14586. "orderqty": {
  14587. "description": "委托数量",
  14588. "type": "integer"
  14589. },
  14590. "ordertime": {
  14591. "description": "委托时间",
  14592. "type": "string"
  14593. },
  14594. "pricemode": {
  14595. "description": "取价方式 - 1:市价 2: 限价",
  14596. "type": "integer"
  14597. },
  14598. "tradedate": {
  14599. "description": "交易日(yyyyMMdd)",
  14600. "type": "string"
  14601. },
  14602. "tradeqty": {
  14603. "description": "成交数量",
  14604. "type": "integer"
  14605. }
  14606. }
  14607. },
  14608. "models.QueryHedgeTradeDetailRsp": {
  14609. "type": "object",
  14610. "properties": {
  14611. "accountid": {
  14612. "description": "账号ID",
  14613. "type": "integer"
  14614. },
  14615. "buyorsell": {
  14616. "description": "方向 - 0:买 1:卖",
  14617. "type": "integer"
  14618. },
  14619. "channelbuildtype": {
  14620. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14621. "type": "integer"
  14622. },
  14623. "closecharge": {
  14624. "description": "平仓手续费(账户)",
  14625. "type": "number"
  14626. },
  14627. "closecharge2": {
  14628. "description": "平仓手续费(商品)",
  14629. "type": "number"
  14630. },
  14631. "closetype": {
  14632. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14633. "type": "integer"
  14634. },
  14635. "curexchangerate": {
  14636. "description": "当前汇率",
  14637. "type": "number"
  14638. },
  14639. "exchangefullname": {
  14640. "description": "外部交易所全称",
  14641. "type": "string"
  14642. },
  14643. "goodscode": {
  14644. "description": "商品代码(内部)",
  14645. "type": "string"
  14646. },
  14647. "goodsid": {
  14648. "description": "商品ID",
  14649. "type": "integer"
  14650. },
  14651. "goodsname": {
  14652. "description": "商品名称",
  14653. "type": "string"
  14654. },
  14655. "marketid": {
  14656. "description": "市场ID",
  14657. "type": "integer"
  14658. },
  14659. "opencharge": {
  14660. "description": "建仓手续费(账户)",
  14661. "type": "number"
  14662. },
  14663. "opencharge2": {
  14664. "description": "建仓手续费(商品)",
  14665. "type": "number"
  14666. },
  14667. "orderid": {
  14668. "description": "委托单号",
  14669. "type": "string"
  14670. },
  14671. "tradeamount": {
  14672. "description": "成交金额(账户)",
  14673. "type": "number"
  14674. },
  14675. "tradedate": {
  14676. "description": "交易日(yyyyMMdd)",
  14677. "type": "string"
  14678. },
  14679. "tradeid": {
  14680. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14681. "type": "string"
  14682. },
  14683. "tradeprice": {
  14684. "description": "成交价格",
  14685. "type": "number"
  14686. },
  14687. "tradeqty": {
  14688. "description": "成交数量",
  14689. "type": "integer"
  14690. },
  14691. "tradetime": {
  14692. "description": "成交时间",
  14693. "type": "string"
  14694. },
  14695. "tradetype": {
  14696. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  14697. "type": "integer"
  14698. }
  14699. }
  14700. },
  14701. "models.QuotePrimaryMenu": {
  14702. "type": "object",
  14703. "properties": {
  14704. "Index": {
  14705. "description": "序号",
  14706. "type": "integer"
  14707. },
  14708. "Key": {
  14709. "description": "键名",
  14710. "type": "string"
  14711. },
  14712. "Name": {
  14713. "description": "菜单名称",
  14714. "type": "string"
  14715. },
  14716. "SubMenus": {
  14717. "description": "子菜单",
  14718. "type": "array",
  14719. "items": {
  14720. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14721. }
  14722. },
  14723. "SubTitleType": {
  14724. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14725. "type": "integer"
  14726. },
  14727. "TradeModes": {
  14728. "description": "包含市场交易类型",
  14729. "type": "string"
  14730. }
  14731. }
  14732. },
  14733. "models.QuoteSecondaryMenu": {
  14734. "type": "object",
  14735. "properties": {
  14736. "ExExchangeCode": {
  14737. "description": "外部交易所代码",
  14738. "type": "string"
  14739. },
  14740. "ExExchangeID": {
  14741. "description": "外部交易所ID",
  14742. "type": "integer"
  14743. },
  14744. "GoodsGroupIDs": {
  14745. "description": "商品组ID列表",
  14746. "type": "array",
  14747. "items": {
  14748. "type": "integer"
  14749. }
  14750. },
  14751. "Index": {
  14752. "description": "序号",
  14753. "type": "integer"
  14754. },
  14755. "MarketID": {
  14756. "description": "市场ID",
  14757. "type": "integer"
  14758. },
  14759. "MenuTitle": {
  14760. "description": "菜单标题(市场名称或外部交易所名称)",
  14761. "type": "string"
  14762. },
  14763. "TradeMode": {
  14764. "description": "交易模式",
  14765. "type": "integer"
  14766. }
  14767. }
  14768. },
  14769. "models.SearchGoods": {
  14770. "type": "object",
  14771. "required": [
  14772. "goodscode",
  14773. "goodsid",
  14774. "goodsname",
  14775. "marketid",
  14776. "trademode"
  14777. ],
  14778. "properties": {
  14779. "goodscode": {
  14780. "description": "商品代码(内部)",
  14781. "type": "string"
  14782. },
  14783. "goodsid": {
  14784. "description": "商品ID(自增ID SEQ_GOODS)",
  14785. "type": "integer"
  14786. },
  14787. "goodsname": {
  14788. "description": "商品名称",
  14789. "type": "string"
  14790. },
  14791. "marketid": {
  14792. "description": "所属市场ID",
  14793. "type": "integer"
  14794. },
  14795. "marketname": {
  14796. "description": "市场名称",
  14797. "type": "string"
  14798. },
  14799. "trademode": {
  14800. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14801. "type": "integer"
  14802. }
  14803. }
  14804. },
  14805. "models.Szdz3convertconfig": {
  14806. "type": "object",
  14807. "required": [
  14808. "converttype",
  14809. "innergoodsid",
  14810. "outergoodscode"
  14811. ],
  14812. "properties": {
  14813. "canin": {
  14814. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14815. "type": "integer"
  14816. },
  14817. "canout": {
  14818. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14819. "type": "integer"
  14820. },
  14821. "converttype": {
  14822. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14823. "type": "integer"
  14824. },
  14825. "createtime": {
  14826. "description": "创建时间",
  14827. "type": "string"
  14828. },
  14829. "creatorid": {
  14830. "description": "创建人",
  14831. "type": "integer"
  14832. },
  14833. "daymaxvalue": {
  14834. "description": "当日最大转入限制",
  14835. "type": "number"
  14836. },
  14837. "freezedays": {
  14838. "description": "冻结天数 [5:花生米转交易]",
  14839. "type": "integer"
  14840. },
  14841. "innergoodsid": {
  14842. "description": "内部商品ID[交易]",
  14843. "type": "integer"
  14844. },
  14845. "inratio": {
  14846. "description": "目标值",
  14847. "type": "integer"
  14848. },
  14849. "modifierid": {
  14850. "description": "修改人",
  14851. "type": "integer"
  14852. },
  14853. "modifytime": {
  14854. "description": "修改时间",
  14855. "type": "string"
  14856. },
  14857. "outergoodscode": {
  14858. "description": "外部商品代码[JD\\PD]",
  14859. "type": "string"
  14860. },
  14861. "outratio": {
  14862. "description": "源值",
  14863. "type": "integer"
  14864. },
  14865. "pddecimalplace": {
  14866. "description": "PD小数位",
  14867. "type": "integer"
  14868. },
  14869. "timemaxvalue": {
  14870. "description": "单次最大转入限制",
  14871. "type": "number"
  14872. },
  14873. "timeminvalue": {
  14874. "description": "单次最小转入限制",
  14875. "type": "number"
  14876. }
  14877. }
  14878. },
  14879. "models.Szdz3searchwhitelist": {
  14880. "type": "object",
  14881. "required": [
  14882. "userid"
  14883. ],
  14884. "properties": {
  14885. "createtime": {
  14886. "description": "创建时间",
  14887. "type": "string"
  14888. },
  14889. "creatorid": {
  14890. "description": "创建人",
  14891. "type": "integer"
  14892. },
  14893. "modifierid": {
  14894. "description": "修改人",
  14895. "type": "integer"
  14896. },
  14897. "modifytime": {
  14898. "description": "修改时间",
  14899. "type": "string"
  14900. },
  14901. "userid": {
  14902. "description": "用户ID",
  14903. "type": "integer"
  14904. }
  14905. }
  14906. },
  14907. "models.Taaccount": {
  14908. "type": "object",
  14909. "required": [
  14910. "accountid",
  14911. "userid"
  14912. ],
  14913. "properties": {
  14914. "accountflag": {
  14915. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14916. "type": "integer"
  14917. },
  14918. "accountid": {
  14919. "description": "资金账户ID",
  14920. "type": "integer"
  14921. },
  14922. "accountname": {
  14923. "description": "账户名称",
  14924. "type": "string"
  14925. },
  14926. "balance": {
  14927. "description": "期初余额",
  14928. "type": "number"
  14929. },
  14930. "capitalbalance": {
  14931. "description": "本金余额[外部子账户实际出入金余额]",
  14932. "type": "number"
  14933. },
  14934. "changeflag": {
  14935. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14936. "type": "integer"
  14937. },
  14938. "changetime": {
  14939. "description": "账户状态变更时间",
  14940. "type": "string"
  14941. },
  14942. "closepl": {
  14943. "description": "今日平仓盈亏",
  14944. "type": "number"
  14945. },
  14946. "creditdecrease": {
  14947. "description": "今日授信减少",
  14948. "type": "number"
  14949. },
  14950. "creditincrease": {
  14951. "description": "今日授信增加",
  14952. "type": "number"
  14953. },
  14954. "currencyid": {
  14955. "description": "货币ID",
  14956. "type": "integer"
  14957. },
  14958. "currentbalance": {
  14959. "description": "期末余额",
  14960. "type": "number"
  14961. },
  14962. "freezecharge": {
  14963. "description": "手续费冻结",
  14964. "type": "number"
  14965. },
  14966. "freezemargin": {
  14967. "description": "冻结保证金",
  14968. "type": "number"
  14969. },
  14970. "fromaccountid": {
  14971. "description": "所属上级账户",
  14972. "type": "integer"
  14973. },
  14974. "inamount": {
  14975. "description": "今日入金金额(包括三方入金)",
  14976. "type": "number"
  14977. },
  14978. "ismain": {
  14979. "description": "是否母账号 0:不是母账户 1:是母账户",
  14980. "type": "integer"
  14981. },
  14982. "ismarketaccount": {
  14983. "description": "是否机构接单账号 0:不是 1:是",
  14984. "type": "integer"
  14985. },
  14986. "isreckonaccount": {
  14987. "description": "是否机构分润账号 0:不是 1:是",
  14988. "type": "integer"
  14989. },
  14990. "mortgagecredit": {
  14991. "description": "授信金额",
  14992. "type": "number"
  14993. },
  14994. "orifreezecharge": {
  14995. "description": "期初手续费冻结",
  14996. "type": "number"
  14997. },
  14998. "orifreezemargin": {
  14999. "description": "期初冻结保证金",
  15000. "type": "number"
  15001. },
  15002. "orimortgagecredit": {
  15003. "description": "期初授信金额",
  15004. "type": "number"
  15005. },
  15006. "oriothercredit": {
  15007. "description": "期初其它授信金额",
  15008. "type": "number"
  15009. },
  15010. "oriotherfreezemargin": {
  15011. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15012. "type": "number"
  15013. },
  15014. "orioutamountfreeze": {
  15015. "description": "期初出金冻结",
  15016. "type": "number"
  15017. },
  15018. "oriusedmargin": {
  15019. "description": "期初占用保证金",
  15020. "type": "number"
  15021. },
  15022. "othercredit": {
  15023. "description": "其它授信金额",
  15024. "type": "number"
  15025. },
  15026. "othercreditdecrease": {
  15027. "description": "今日其它授信减少",
  15028. "type": "number"
  15029. },
  15030. "othercreditincrease": {
  15031. "description": "今日其它授信增加",
  15032. "type": "number"
  15033. },
  15034. "otherfreezemargin": {
  15035. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15036. "type": "number"
  15037. },
  15038. "otherincome": {
  15039. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15040. "type": "number"
  15041. },
  15042. "otherpay": {
  15043. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15044. "type": "number"
  15045. },
  15046. "outamount": {
  15047. "description": "今日出金金额(包括三方出金)",
  15048. "type": "number"
  15049. },
  15050. "outamountfreeze": {
  15051. "description": "出金冻结",
  15052. "type": "number"
  15053. },
  15054. "outthreshold": {
  15055. "description": "出金阈值",
  15056. "type": "number"
  15057. },
  15058. "parentaccountid": {
  15059. "description": "所属根账号",
  15060. "type": "integer"
  15061. },
  15062. "paycharge": {
  15063. "description": "今日手续费支出",
  15064. "type": "number"
  15065. },
  15066. "relatedaccountstatus": {
  15067. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15068. "type": "integer"
  15069. },
  15070. "relateduserid": {
  15071. "description": "关联用户",
  15072. "type": "integer"
  15073. },
  15074. "serivcegroup": {
  15075. "description": "服务分组",
  15076. "type": "integer"
  15077. },
  15078. "signstatus": {
  15079. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15080. "type": "integer"
  15081. },
  15082. "sublevelpath": {
  15083. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15084. "type": "string"
  15085. },
  15086. "taaccounttype": {
  15087. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15088. "type": "integer"
  15089. },
  15090. "thirdinamount": {
  15091. "description": "今日三方入金",
  15092. "type": "number"
  15093. },
  15094. "thirdoutamount": {
  15095. "description": "今日三方出金",
  15096. "type": "number"
  15097. },
  15098. "tradestatus": {
  15099. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15100. "type": "integer"
  15101. },
  15102. "tradestatuschangetime": {
  15103. "description": "激活时间",
  15104. "type": "string"
  15105. },
  15106. "transferamount": {
  15107. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15108. "type": "number"
  15109. },
  15110. "usedmargin": {
  15111. "description": "占用保证金",
  15112. "type": "number"
  15113. },
  15114. "userid": {
  15115. "description": "用户ID",
  15116. "type": "integer"
  15117. }
  15118. }
  15119. },
  15120. "models.Tablecolumnconfig": {
  15121. "type": "object",
  15122. "required": [
  15123. "autoid"
  15124. ],
  15125. "properties": {
  15126. "aligntype": {
  15127. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15128. "type": "integer"
  15129. },
  15130. "autoid": {
  15131. "description": "AutoID",
  15132. "type": "integer"
  15133. },
  15134. "columnfield": {
  15135. "description": "列字段",
  15136. "type": "string"
  15137. },
  15138. "columntitle": {
  15139. "description": "列Title",
  15140. "type": "string"
  15141. },
  15142. "columnwidth": {
  15143. "description": "列宽",
  15144. "type": "string"
  15145. },
  15146. "formatterstring": {
  15147. "description": "格式化字符",
  15148. "type": "string"
  15149. },
  15150. "formattertype": {
  15151. "description": "格式化类型",
  15152. "type": "string"
  15153. },
  15154. "groupname": {
  15155. "description": "表头分组名称",
  15156. "type": "string"
  15157. },
  15158. "isshow": {
  15159. "description": "是否显示 - 0:不显示 1:显示",
  15160. "type": "integer"
  15161. },
  15162. "needsummary": {
  15163. "description": "是否需要汇总 - 0:不需要 1:需要",
  15164. "type": "integer"
  15165. },
  15166. "orderindex": {
  15167. "description": "顺序",
  15168. "type": "integer"
  15169. },
  15170. "remark": {
  15171. "description": "备注",
  15172. "type": "string"
  15173. },
  15174. "summarytype": {
  15175. "description": "汇总类型 - 1:加总 2:最后一个",
  15176. "type": "integer"
  15177. },
  15178. "tablekey": {
  15179. "description": "列表Key",
  15180. "type": "string"
  15181. }
  15182. }
  15183. },
  15184. "models.Useraccount": {
  15185. "type": "object",
  15186. "required": [
  15187. "userid"
  15188. ],
  15189. "properties": {
  15190. "accountname": {
  15191. "description": "账户名称(机构名称)",
  15192. "type": "string"
  15193. },
  15194. "accountstatus": {
  15195. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15196. "type": "integer"
  15197. },
  15198. "auditremark": {
  15199. "description": "审核备注",
  15200. "type": "string"
  15201. },
  15202. "audittime": {
  15203. "description": "审核时间",
  15204. "type": "string"
  15205. },
  15206. "audituserid": {
  15207. "description": "审核人",
  15208. "type": "integer"
  15209. },
  15210. "broker": {
  15211. "description": "所属经纪人ID",
  15212. "type": "integer"
  15213. },
  15214. "canceltime": {
  15215. "description": "销户时间",
  15216. "type": "string"
  15217. },
  15218. "canceluserid": {
  15219. "description": "销户人",
  15220. "type": "integer"
  15221. },
  15222. "createtime": {
  15223. "description": "创建时间",
  15224. "type": "string"
  15225. },
  15226. "creatorid": {
  15227. "description": "创建人",
  15228. "type": "integer"
  15229. },
  15230. "hasauth": {
  15231. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15232. "type": "integer"
  15233. },
  15234. "isanonymous": {
  15235. "description": "是否匿名下单 - 0:否 1:是",
  15236. "type": "integer"
  15237. },
  15238. "maxinvestornum": {
  15239. "description": "最大用户数(经纪会员下投资者个数)",
  15240. "type": "integer"
  15241. },
  15242. "memberuserid": {
  15243. "description": "所属会员ID",
  15244. "type": "integer"
  15245. },
  15246. "modifierid": {
  15247. "description": "修改人",
  15248. "type": "integer"
  15249. },
  15250. "modifyremark": {
  15251. "description": "变更备注",
  15252. "type": "string"
  15253. },
  15254. "modifystatus": {
  15255. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15256. "type": "integer"
  15257. },
  15258. "modifytime": {
  15259. "description": "修改时间",
  15260. "type": "string"
  15261. },
  15262. "parentuserid": {
  15263. "description": "所属机构ID",
  15264. "type": "integer"
  15265. },
  15266. "reckonaccountid": {
  15267. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15268. "type": "integer"
  15269. },
  15270. "refercount": {
  15271. "description": "推荐总人数",
  15272. "type": "integer"
  15273. },
  15274. "refereeuserid": {
  15275. "description": "推荐人ID",
  15276. "type": "integer"
  15277. },
  15278. "refernum": {
  15279. "description": "推荐码",
  15280. "type": "string"
  15281. },
  15282. "subarealevelpath": {
  15283. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15284. "type": "string"
  15285. },
  15286. "userid": {
  15287. "description": "用户ID",
  15288. "type": "integer"
  15289. },
  15290. "usertype": {
  15291. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15292. "type": "integer"
  15293. }
  15294. }
  15295. },
  15296. "models.Userfavoritegoods": {
  15297. "type": "object",
  15298. "required": [
  15299. "goodsid"
  15300. ],
  15301. "properties": {
  15302. "goodsid": {
  15303. "description": "商品ID",
  15304. "type": "integer"
  15305. }
  15306. }
  15307. },
  15308. "models.Userinfo": {
  15309. "type": "object",
  15310. "required": [
  15311. "userid"
  15312. ],
  15313. "properties": {
  15314. "address": {
  15315. "description": "地址",
  15316. "type": "string"
  15317. },
  15318. "attachment1": {
  15319. "description": "附件1",
  15320. "type": "string"
  15321. },
  15322. "attachment2": {
  15323. "description": "附件2",
  15324. "type": "string"
  15325. },
  15326. "bankaccount": {
  15327. "description": "银行帐号 (加密存储)",
  15328. "type": "string"
  15329. },
  15330. "bankaccountname": {
  15331. "description": "收款人名称",
  15332. "type": "string"
  15333. },
  15334. "bankcardfrontphotourl": {
  15335. "description": "银行卡正面照地址",
  15336. "type": "string"
  15337. },
  15338. "bankid": {
  15339. "description": "银行编码",
  15340. "type": "string"
  15341. },
  15342. "bankname": {
  15343. "description": "银行名称",
  15344. "type": "string"
  15345. },
  15346. "biznature": {
  15347. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15348. "type": "integer"
  15349. },
  15350. "bizscope": {
  15351. "description": "企业经营范围(企业)",
  15352. "type": "string"
  15353. },
  15354. "cardbackphotourl": {
  15355. "description": "证件背面图片地址",
  15356. "type": "string"
  15357. },
  15358. "cardfrontphotourl": {
  15359. "description": "证件正面图片地址",
  15360. "type": "string"
  15361. },
  15362. "cardnum": {
  15363. "description": "证件号码(加密存储)",
  15364. "type": "string"
  15365. },
  15366. "cardtypeid": {
  15367. "description": "证件类型ID",
  15368. "type": "integer"
  15369. },
  15370. "cityid": {
  15371. "description": "市",
  15372. "type": "integer"
  15373. },
  15374. "company": {
  15375. "description": "公司(个人)",
  15376. "type": "string"
  15377. },
  15378. "contactname": {
  15379. "description": "联系人",
  15380. "type": "string"
  15381. },
  15382. "countryid": {
  15383. "description": "国家",
  15384. "type": "integer"
  15385. },
  15386. "createtime": {
  15387. "description": "创建时间",
  15388. "type": "string"
  15389. },
  15390. "creatorid": {
  15391. "description": "创建人",
  15392. "type": "integer"
  15393. },
  15394. "customername": {
  15395. "description": "客户名称(企业名称)",
  15396. "type": "string"
  15397. },
  15398. "districtid": {
  15399. "description": "地区",
  15400. "type": "integer"
  15401. },
  15402. "email": {
  15403. "description": "邮件(加密存储)",
  15404. "type": "string"
  15405. },
  15406. "fax": {
  15407. "description": "传真(加密存储)",
  15408. "type": "string"
  15409. },
  15410. "halfbodyphotourl": {
  15411. "description": "半身照地址",
  15412. "type": "string"
  15413. },
  15414. "hasencrypt": {
  15415. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15416. "type": "integer"
  15417. },
  15418. "headurl": {
  15419. "description": "头像地址",
  15420. "type": "string"
  15421. },
  15422. "legalcardbackphotourl": {
  15423. "description": "法人身份证背面照地址",
  15424. "type": "string"
  15425. },
  15426. "legalcardfrontphotourl": {
  15427. "description": "法人身份证正面照地址",
  15428. "type": "string"
  15429. },
  15430. "legalpersonname": {
  15431. "description": "法人姓名(企业)",
  15432. "type": "string"
  15433. },
  15434. "mobile": {
  15435. "description": "手机号码(加密存储)",
  15436. "type": "string"
  15437. },
  15438. "mobile2": {
  15439. "description": "手机号码[明文-尚志]",
  15440. "type": "string"
  15441. },
  15442. "modifierid": {
  15443. "description": "修改人",
  15444. "type": "integer"
  15445. },
  15446. "modifiertime": {
  15447. "description": "修改时间",
  15448. "type": "string"
  15449. },
  15450. "needinvoice": {
  15451. "description": "是否需要发票 - 0:不需要 1:需要",
  15452. "type": "integer"
  15453. },
  15454. "nickname": {
  15455. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15456. "type": "string"
  15457. },
  15458. "openmode": {
  15459. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15460. "type": "integer"
  15461. },
  15462. "otherurl": {
  15463. "description": "其它图片地址[使用分号分隔]",
  15464. "type": "string"
  15465. },
  15466. "postalcode": {
  15467. "description": "邮政编码",
  15468. "type": "string"
  15469. },
  15470. "provinceid": {
  15471. "description": "省",
  15472. "type": "integer"
  15473. },
  15474. "qq": {
  15475. "description": "QQ(加密存储",
  15476. "type": "string"
  15477. },
  15478. "remark": {
  15479. "description": "备注",
  15480. "type": "string"
  15481. },
  15482. "sex": {
  15483. "description": "用户性别 0: 女 1: 男",
  15484. "type": "integer"
  15485. },
  15486. "signpdfurl": {
  15487. "description": "签约pdf文件",
  15488. "type": "string"
  15489. },
  15490. "telphone": {
  15491. "description": "联系电话(加密存储)",
  15492. "type": "string"
  15493. },
  15494. "userid": {
  15495. "description": "用户ID",
  15496. "type": "integer"
  15497. },
  15498. "userinfotype": {
  15499. "description": "用户信息类型 - 1:个人 2:企业",
  15500. "type": "integer"
  15501. },
  15502. "userstatus": {
  15503. "description": "用户状态 - 1:正常 2:注销",
  15504. "type": "integer"
  15505. },
  15506. "usertype": {
  15507. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15508. "type": "integer"
  15509. },
  15510. "wechat": {
  15511. "description": "微信(加密存储)",
  15512. "type": "string"
  15513. },
  15514. "wskhinfo": {
  15515. "description": "开户申请信息(JSON)",
  15516. "type": "string"
  15517. }
  15518. }
  15519. },
  15520. "models.WRCategoryTree": {
  15521. "type": "object",
  15522. "required": [
  15523. "categoryid"
  15524. ],
  15525. "properties": {
  15526. "areauserid": {
  15527. "description": "所属机构",
  15528. "type": "integer"
  15529. },
  15530. "categorydesc": {
  15531. "description": "类别描述",
  15532. "type": "string"
  15533. },
  15534. "categoryid": {
  15535. "description": "类别ID(SEQ_WRCATEGORY)",
  15536. "type": "integer"
  15537. },
  15538. "categoryname": {
  15539. "description": "类别名称",
  15540. "type": "string"
  15541. },
  15542. "iconurl": {
  15543. "description": "图标地址",
  15544. "type": "string"
  15545. },
  15546. "orderindex": {
  15547. "description": "顺序",
  15548. "type": "integer"
  15549. },
  15550. "parentcategoryid": {
  15551. "description": "父类别ID",
  15552. "type": "integer"
  15553. },
  15554. "subcategory": {
  15555. "description": "子分类",
  15556. "type": "array",
  15557. "items": {
  15558. "$ref": "#/definitions/models.WRCategoryTree"
  15559. }
  15560. }
  15561. }
  15562. },
  15563. "models.WRSConverTDetail": {
  15564. "type": "object",
  15565. "properties": {
  15566. "convertratio": {
  15567. "description": "套保系数",
  15568. "type": "number"
  15569. },
  15570. "deliverygoodsid": {
  15571. "description": "现货品种ID",
  15572. "type": "integer"
  15573. },
  15574. "middlegoodscode": {
  15575. "description": "套保品种代码",
  15576. "type": "string"
  15577. },
  15578. "middlegoodsid": {
  15579. "description": "套保品种ID",
  15580. "type": "integer"
  15581. },
  15582. "middlegoodsname": {
  15583. "description": "套保品种名称",
  15584. "type": "string"
  15585. },
  15586. "modifytime": {
  15587. "description": "修改时间",
  15588. "type": "string"
  15589. },
  15590. "wrstandardid": {
  15591. "description": "现货商品ID",
  15592. "type": "integer"
  15593. }
  15594. }
  15595. },
  15596. "models.WRStandardInfo": {
  15597. "type": "object",
  15598. "required": [
  15599. "wrstandardid"
  15600. ],
  15601. "properties": {
  15602. "createtime": {
  15603. "description": "创建时间",
  15604. "type": "string"
  15605. },
  15606. "creatorid": {
  15607. "description": "创建人",
  15608. "type": "integer"
  15609. },
  15610. "deliverygoodsid": {
  15611. "description": "品种ID",
  15612. "type": "integer"
  15613. },
  15614. "deliverygoodsname": {
  15615. "description": "交割商品名称",
  15616. "type": "string"
  15617. },
  15618. "factoryitemjson": {
  15619. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15620. "type": "string"
  15621. },
  15622. "isvalid": {
  15623. "description": "是否有效 - 0:无效 1:有效",
  15624. "type": "integer"
  15625. },
  15626. "minivalue": {
  15627. "description": "最小变动值",
  15628. "type": "integer"
  15629. },
  15630. "minivaluedp": {
  15631. "description": "最小变动值小数位",
  15632. "type": "integer"
  15633. },
  15634. "realminivalue": {
  15635. "description": "实际最小变动值",
  15636. "type": "integer"
  15637. },
  15638. "realminivaluedp": {
  15639. "description": "实际最小变动值小数位",
  15640. "type": "integer"
  15641. },
  15642. "unitid": {
  15643. "description": "单位ID",
  15644. "type": "integer"
  15645. },
  15646. "unitname": {
  15647. "description": "单位",
  15648. "type": "string"
  15649. },
  15650. "updatetime": {
  15651. "description": "更新时间",
  15652. "type": "string"
  15653. },
  15654. "updatorid": {
  15655. "description": "更新人",
  15656. "type": "integer"
  15657. },
  15658. "wrsstatus": {
  15659. "description": "状态 - 作废 - 0:未激活 1:正常",
  15660. "type": "integer"
  15661. },
  15662. "wrstandardcode": {
  15663. "description": "仓单标准代码",
  15664. "type": "string"
  15665. },
  15666. "wrstandardid": {
  15667. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15668. "type": "integer"
  15669. },
  15670. "wrstandardname": {
  15671. "description": "仓单标准名称",
  15672. "type": "string"
  15673. }
  15674. }
  15675. },
  15676. "models.Warehouseinfo": {
  15677. "type": "object",
  15678. "required": [
  15679. "autoid",
  15680. "warehousecode"
  15681. ],
  15682. "properties": {
  15683. "address": {
  15684. "description": "详细地址",
  15685. "type": "string"
  15686. },
  15687. "areauserid": {
  15688. "description": "所属机构",
  15689. "type": "integer"
  15690. },
  15691. "autoid": {
  15692. "description": "自增ID",
  15693. "type": "integer"
  15694. },
  15695. "cityid": {
  15696. "description": "市",
  15697. "type": "integer"
  15698. },
  15699. "contactname": {
  15700. "description": "联系人",
  15701. "type": "string"
  15702. },
  15703. "contactnum": {
  15704. "description": "联系电话",
  15705. "type": "string"
  15706. },
  15707. "countryid": {
  15708. "description": "国家",
  15709. "type": "integer"
  15710. },
  15711. "createtime": {
  15712. "description": "创建时间",
  15713. "type": "string"
  15714. },
  15715. "districtid": {
  15716. "description": "区",
  15717. "type": "integer"
  15718. },
  15719. "hasvideo": {
  15720. "description": "是否有视频 - 0:无 1:有",
  15721. "type": "integer"
  15722. },
  15723. "provinceid": {
  15724. "description": "省",
  15725. "type": "integer"
  15726. },
  15727. "remark": {
  15728. "description": "审核备注",
  15729. "type": "string"
  15730. },
  15731. "videourl": {
  15732. "description": "视频地址",
  15733. "type": "string"
  15734. },
  15735. "warehousecode": {
  15736. "description": "仓库代码",
  15737. "type": "string"
  15738. },
  15739. "warehousename": {
  15740. "description": "仓库名称",
  15741. "type": "string"
  15742. },
  15743. "warehousestatus": {
  15744. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15745. "type": "integer"
  15746. },
  15747. "warehousetype": {
  15748. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15749. "type": "integer"
  15750. }
  15751. }
  15752. },
  15753. "order.QueryHisTradeDetailRsp": {
  15754. "type": "object",
  15755. "required": [
  15756. "accountid",
  15757. "buyorsell",
  15758. "goodsid",
  15759. "histradedate",
  15760. "marketid",
  15761. "memberuserid",
  15762. "orderid",
  15763. "tradeamount",
  15764. "tradedate",
  15765. "tradeid",
  15766. "tradeprice",
  15767. "tradeqty",
  15768. "tradetime"
  15769. ],
  15770. "properties": {
  15771. "accountid": {
  15772. "description": "账户ID[报价币种]",
  15773. "type": "integer"
  15774. },
  15775. "buildtype": {
  15776. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15777. "type": "integer"
  15778. },
  15779. "buyorsell": {
  15780. "description": "方向 - 0:买 1:卖",
  15781. "type": "integer"
  15782. },
  15783. "charge": {
  15784. "description": "手续费",
  15785. "type": "number"
  15786. },
  15787. "closecharge": {
  15788. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15789. "type": "number"
  15790. },
  15791. "closeexchagechargevalue": {
  15792. "description": "平仓交易所手续费设置值",
  15793. "type": "number"
  15794. },
  15795. "closefeealgorithm": {
  15796. "description": "平仓手续费收取方式 1:比率 2:固定",
  15797. "type": "integer"
  15798. },
  15799. "closememberchargevalue": {
  15800. "description": "平仓会员手续费设置值",
  15801. "type": "number"
  15802. },
  15803. "closepl": {
  15804. "description": "平仓盈亏",
  15805. "type": "number"
  15806. },
  15807. "closepl2": {
  15808. "description": "平仓盈亏[逐笔]",
  15809. "type": "number"
  15810. },
  15811. "closeqty": {
  15812. "description": "平仓数量(先建后平操作 需要记录)",
  15813. "type": "integer"
  15814. },
  15815. "creditamount": {
  15816. "description": "授信金额",
  15817. "type": "number"
  15818. },
  15819. "gcaccountid": {
  15820. "description": "账户ID[合约币种]",
  15821. "type": "integer"
  15822. },
  15823. "goodscode": {
  15824. "description": "商品代码",
  15825. "type": "string"
  15826. },
  15827. "goodsid": {
  15828. "description": "商品ID",
  15829. "type": "integer"
  15830. },
  15831. "goodsname": {
  15832. "description": "商品名称",
  15833. "type": "string"
  15834. },
  15835. "histradedate": {
  15836. "description": "历史交易日",
  15837. "type": "string"
  15838. },
  15839. "intclosepl": {
  15840. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15841. "type": "integer"
  15842. },
  15843. "isconfirmexercise": {
  15844. "description": "是否确认行权- 0:否 1:是",
  15845. "type": "integer"
  15846. },
  15847. "ismain": {
  15848. "description": "是否主单 - 0:不是 1:是",
  15849. "type": "integer"
  15850. },
  15851. "ispreexercise": {
  15852. "description": "是否预申报- 0:否 1:是",
  15853. "type": "integer"
  15854. },
  15855. "isreckoned": {
  15856. "description": "是否结算 - 0:未结算 1:已结算",
  15857. "type": "integer"
  15858. },
  15859. "isvaliddata": {
  15860. "description": "是否有效 - 0:无效 1:有效",
  15861. "type": "integer"
  15862. },
  15863. "listingselecttype": {
  15864. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15865. "type": "integer"
  15866. },
  15867. "marketid": {
  15868. "description": "市场ID",
  15869. "type": "integer"
  15870. },
  15871. "marketname": {
  15872. "description": "市场名称",
  15873. "type": "string"
  15874. },
  15875. "matchaccountid": {
  15876. "description": "对手账号id",
  15877. "type": "integer"
  15878. },
  15879. "memberuserid": {
  15880. "description": "会员id 个人投资者 需要填写",
  15881. "type": "integer"
  15882. },
  15883. "opencharge": {
  15884. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15885. "type": "number"
  15886. },
  15887. "openexchagechargevalue": {
  15888. "description": "建仓交易所手续费设置值",
  15889. "type": "number"
  15890. },
  15891. "openfeealgorithm": {
  15892. "description": "建仓手续费收取方式 1:比率 2:固定",
  15893. "type": "integer"
  15894. },
  15895. "openmemberchargevalue": {
  15896. "description": "建仓会员手续费设置值",
  15897. "type": "number"
  15898. },
  15899. "openqty": {
  15900. "description": "开仓数量(先建后平操作 需要记录)",
  15901. "type": "integer"
  15902. },
  15903. "optiontype": {
  15904. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15905. "type": "integer"
  15906. },
  15907. "orderid": {
  15908. "description": "委托单号",
  15909. "type": "string"
  15910. },
  15911. "performanceplanid": {
  15912. "description": "履约计划ID[期权]",
  15913. "type": "integer"
  15914. },
  15915. "performancestatus": {
  15916. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15917. "type": "integer"
  15918. },
  15919. "preexerciseprice": {
  15920. "description": "预申报价格",
  15921. "type": "number"
  15922. },
  15923. "premium": {
  15924. "description": "权利金 - [持仓单的权利金]",
  15925. "type": "number"
  15926. },
  15927. "relatedouttradeid": {
  15928. "description": "关联外部成交单ID",
  15929. "type": "integer"
  15930. },
  15931. "status": {
  15932. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15933. "type": "integer"
  15934. },
  15935. "tradeamount": {
  15936. "description": "成交金额[账户币种,用于所有权]",
  15937. "type": "number"
  15938. },
  15939. "tradedate": {
  15940. "description": "交易日(yyyyMMdd)",
  15941. "type": "string"
  15942. },
  15943. "tradeid": {
  15944. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15945. "type": "string"
  15946. },
  15947. "trademode": {
  15948. "description": "交易模式",
  15949. "type": "integer"
  15950. },
  15951. "tradeprice": {
  15952. "description": "成交价格",
  15953. "type": "number"
  15954. },
  15955. "tradeproperty": {
  15956. "description": "交易属性",
  15957. "type": "integer"
  15958. },
  15959. "tradeqty": {
  15960. "description": "成交数量",
  15961. "type": "integer"
  15962. },
  15963. "tradetime": {
  15964. "description": "成交时间",
  15965. "type": "string"
  15966. },
  15967. "tradetype": {
  15968. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15969. "type": "integer"
  15970. }
  15971. }
  15972. },
  15973. "order.QueryHisTradeOrderDetailRsp": {
  15974. "type": "object",
  15975. "required": [
  15976. "accountid",
  15977. "buildtype",
  15978. "buyorsell",
  15979. "goodsid",
  15980. "histradedate",
  15981. "marketid",
  15982. "memberuserid",
  15983. "operatetype",
  15984. "orderid",
  15985. "orderqty",
  15986. "ordertime",
  15987. "pricemode",
  15988. "tradedate",
  15989. "validtype"
  15990. ],
  15991. "properties": {
  15992. "accountid": {
  15993. "description": "账户ID[报价币种]",
  15994. "type": "integer"
  15995. },
  15996. "buildtype": {
  15997. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15998. "type": "integer"
  15999. },
  16000. "buyorsell": {
  16001. "description": "买卖 - 0:买 1:卖",
  16002. "type": "integer"
  16003. },
  16004. "cancelorderid": {
  16005. "description": "撤单单号(撤单时填写)",
  16006. "type": "string"
  16007. },
  16008. "cancelqty": {
  16009. "description": "撤单数量",
  16010. "type": "integer"
  16011. },
  16012. "clientordertime": {
  16013. "description": "客户端委托时间",
  16014. "type": "string"
  16015. },
  16016. "clientticket": {
  16017. "description": "客户端流水号",
  16018. "type": "string"
  16019. },
  16020. "clienttype": {
  16021. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16022. "type": "integer"
  16023. },
  16024. "closeexchagechargevalue": {
  16025. "description": "平仓交易所手续费设置值",
  16026. "type": "number"
  16027. },
  16028. "closefeealgorithm": {
  16029. "description": "平仓手续费收取方式 1:比率 2:固定",
  16030. "type": "integer"
  16031. },
  16032. "closefreezecharge": {
  16033. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16034. "type": "number"
  16035. },
  16036. "closememberchargevalue": {
  16037. "description": "平仓会员手续费设置值",
  16038. "type": "number"
  16039. },
  16040. "closeqty": {
  16041. "description": "平仓数量(先建后平操作 需要记录)",
  16042. "type": "integer"
  16043. },
  16044. "closetradeqty": {
  16045. "description": "平仓成交数量(先建后平操作,需要记录)",
  16046. "type": "integer"
  16047. },
  16048. "closeunfreezecharge": {
  16049. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16050. "type": "number"
  16051. },
  16052. "delistingtype": {
  16053. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16054. "type": "integer"
  16055. },
  16056. "freezecharge": {
  16057. "description": "冻结手续费",
  16058. "type": "number"
  16059. },
  16060. "freezemargin": {
  16061. "description": "冻结保证金(冻结交易金额)",
  16062. "type": "number"
  16063. },
  16064. "gcaccountid": {
  16065. "description": "账户ID[合约币种]",
  16066. "type": "integer"
  16067. },
  16068. "goodscode": {
  16069. "description": "商品代码",
  16070. "type": "string"
  16071. },
  16072. "goodsid": {
  16073. "description": "商品ID",
  16074. "type": "integer"
  16075. },
  16076. "goodsname": {
  16077. "description": "商品名称",
  16078. "type": "string"
  16079. },
  16080. "histradedate": {
  16081. "description": "历史交易日",
  16082. "type": "string"
  16083. },
  16084. "isconfirmexercise": {
  16085. "description": "是否确认行权- 0:否 1:是",
  16086. "type": "integer"
  16087. },
  16088. "ispreexercise": {
  16089. "description": "是否预申报- 0:否 1:是",
  16090. "type": "integer"
  16091. },
  16092. "isvaliddata": {
  16093. "description": "是否有效 - 0:无效 1:有效",
  16094. "type": "integer"
  16095. },
  16096. "listingselecttype": {
  16097. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16098. "type": "integer"
  16099. },
  16100. "marginalgorithm": {
  16101. "description": "保证金收取方式 1:比率 2:固定",
  16102. "type": "integer"
  16103. },
  16104. "marginvalue": {
  16105. "description": "即市保证金设置值",
  16106. "type": "number"
  16107. },
  16108. "marketid": {
  16109. "description": "市场ID",
  16110. "type": "integer"
  16111. },
  16112. "marketmaxsub": {
  16113. "description": "市价最大偏移范围",
  16114. "type": "number"
  16115. },
  16116. "marketname": {
  16117. "description": "市场名称",
  16118. "type": "string"
  16119. },
  16120. "memberuserid": {
  16121. "description": "所属会员UserID",
  16122. "type": "integer"
  16123. },
  16124. "openexchagechargevalue": {
  16125. "description": "建仓交易所手续费设置值",
  16126. "type": "number"
  16127. },
  16128. "openfeealgorithm": {
  16129. "description": "建仓手续费收取方式 1:比率 2:固定",
  16130. "type": "integer"
  16131. },
  16132. "openfreezecharge": {
  16133. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16134. "type": "number"
  16135. },
  16136. "openmemberchargevalue": {
  16137. "description": "建仓会员手续费设置值",
  16138. "type": "number"
  16139. },
  16140. "openqty": {
  16141. "description": "开仓数量(先建后平操作,需要记录)",
  16142. "type": "integer"
  16143. },
  16144. "opentradeqty": {
  16145. "description": "开仓成交数量(先建后平操作,需要记录)",
  16146. "type": "integer"
  16147. },
  16148. "openunfreezecharge": {
  16149. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16150. "type": "number"
  16151. },
  16152. "operatetype": {
  16153. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16154. "type": "integer"
  16155. },
  16156. "operatorid": {
  16157. "description": "登录账号(LoginID)",
  16158. "type": "integer"
  16159. },
  16160. "optiontype": {
  16161. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16162. "type": "integer"
  16163. },
  16164. "orderid": {
  16165. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16166. "type": "string"
  16167. },
  16168. "orderprice": {
  16169. "description": "委托价格",
  16170. "type": "number"
  16171. },
  16172. "orderqty": {
  16173. "description": "委托数量",
  16174. "type": "integer"
  16175. },
  16176. "ordersrc": {
  16177. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16178. "type": "integer"
  16179. },
  16180. "orderstatus": {
  16181. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16182. "type": "integer"
  16183. },
  16184. "ordertime": {
  16185. "description": "委托时间",
  16186. "type": "string"
  16187. },
  16188. "preexerciseprice": {
  16189. "description": "预申报价格",
  16190. "type": "number"
  16191. },
  16192. "premium": {
  16193. "description": "权利金",
  16194. "type": "number"
  16195. },
  16196. "preorderid": {
  16197. "description": "关联预埋单号(止盈止损单时填写)",
  16198. "type": "string"
  16199. },
  16200. "pricemode": {
  16201. "description": "取价方式 - 1:市价 2: 限价",
  16202. "type": "integer"
  16203. },
  16204. "quoteid": {
  16205. "description": "报价单ID",
  16206. "type": "integer"
  16207. },
  16208. "relatedid": {
  16209. "description": "关联单号(交割单)",
  16210. "type": "string"
  16211. },
  16212. "retcode": {
  16213. "description": "错误代码",
  16214. "type": "integer"
  16215. },
  16216. "sessionid": {
  16217. "description": "会话ID",
  16218. "type": "integer"
  16219. },
  16220. "tradedate": {
  16221. "description": "交易日(yyyyMMdd)",
  16222. "type": "string"
  16223. },
  16224. "trademode": {
  16225. "description": "交易模式",
  16226. "type": "integer"
  16227. },
  16228. "tradeproperty": {
  16229. "description": "交易属性",
  16230. "type": "integer"
  16231. },
  16232. "tradeqty": {
  16233. "description": "成交数量",
  16234. "type": "integer"
  16235. },
  16236. "unfreezecharge": {
  16237. "description": "解冻手续费",
  16238. "type": "number"
  16239. },
  16240. "unfreezemargin": {
  16241. "description": "解冻保证金",
  16242. "type": "number"
  16243. },
  16244. "updatetime": {
  16245. "description": "更新时间",
  16246. "type": "string"
  16247. },
  16248. "uuid": {
  16249. "description": "发起端唯一id",
  16250. "type": "string"
  16251. },
  16252. "validtime": {
  16253. "description": "有效期限",
  16254. "type": "string"
  16255. },
  16256. "validtype": {
  16257. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16258. "type": "integer"
  16259. },
  16260. "volumetype": {
  16261. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16262. "type": "integer"
  16263. }
  16264. }
  16265. },
  16266. "order.QueryTradeDetailRsp": {
  16267. "type": "object",
  16268. "required": [
  16269. "accountid",
  16270. "buyorsell",
  16271. "goodsid",
  16272. "marketid",
  16273. "memberuserid",
  16274. "orderid",
  16275. "tradeamount",
  16276. "tradedate",
  16277. "tradeid",
  16278. "tradeprice",
  16279. "tradeqty",
  16280. "tradetime"
  16281. ],
  16282. "properties": {
  16283. "accountid": {
  16284. "description": "账户ID[报价币种]",
  16285. "type": "integer"
  16286. },
  16287. "buildtype": {
  16288. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16289. "type": "integer"
  16290. },
  16291. "buyorsell": {
  16292. "description": "方向 - 0:买 1:卖",
  16293. "type": "integer"
  16294. },
  16295. "charge": {
  16296. "description": "手续费",
  16297. "type": "number"
  16298. },
  16299. "closecharge": {
  16300. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16301. "type": "number"
  16302. },
  16303. "closeexchagechargevalue": {
  16304. "description": "平仓交易所手续费设置值",
  16305. "type": "number"
  16306. },
  16307. "closefeealgorithm": {
  16308. "description": "平仓手续费收取方式 1:比率 2:固定",
  16309. "type": "integer"
  16310. },
  16311. "closememberchargevalue": {
  16312. "description": "平仓会员手续费设置值",
  16313. "type": "number"
  16314. },
  16315. "closepl": {
  16316. "description": "平仓盈亏",
  16317. "type": "number"
  16318. },
  16319. "closepl2": {
  16320. "description": "平仓盈亏[逐笔]",
  16321. "type": "number"
  16322. },
  16323. "closeqty": {
  16324. "description": "平仓数量(先建后平操作 需要记录)",
  16325. "type": "integer"
  16326. },
  16327. "creditamount": {
  16328. "description": "授信金额",
  16329. "type": "number"
  16330. },
  16331. "gcaccountid": {
  16332. "description": "账户ID[合约币种]",
  16333. "type": "integer"
  16334. },
  16335. "goodscode": {
  16336. "description": "商品代码",
  16337. "type": "string"
  16338. },
  16339. "goodsid": {
  16340. "description": "商品ID",
  16341. "type": "integer"
  16342. },
  16343. "goodsname": {
  16344. "description": "商品名称",
  16345. "type": "string"
  16346. },
  16347. "intclosepl": {
  16348. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16349. "type": "integer"
  16350. },
  16351. "isconfirmexercise": {
  16352. "description": "是否确认行权- 0:否 1:是",
  16353. "type": "integer"
  16354. },
  16355. "ismain": {
  16356. "description": "是否主单 - 0:不是 1:是",
  16357. "type": "integer"
  16358. },
  16359. "ispreexercise": {
  16360. "description": "是否预申报- 0:否 1:是",
  16361. "type": "integer"
  16362. },
  16363. "isreckoned": {
  16364. "description": "是否结算 - 0:未结算 1:已结算",
  16365. "type": "integer"
  16366. },
  16367. "listingselecttype": {
  16368. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16369. "type": "integer"
  16370. },
  16371. "marketid": {
  16372. "description": "市场ID",
  16373. "type": "integer"
  16374. },
  16375. "marketname": {
  16376. "description": "市场名称",
  16377. "type": "string"
  16378. },
  16379. "matchaccountid": {
  16380. "description": "对手账号id",
  16381. "type": "integer"
  16382. },
  16383. "memberuserid": {
  16384. "description": "会员id 个人投资者 需要填写",
  16385. "type": "integer"
  16386. },
  16387. "opencharge": {
  16388. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16389. "type": "number"
  16390. },
  16391. "openexchagechargevalue": {
  16392. "description": "建仓交易所手续费设置值",
  16393. "type": "number"
  16394. },
  16395. "openfeealgorithm": {
  16396. "description": "建仓手续费收取方式 1:比率 2:固定",
  16397. "type": "integer"
  16398. },
  16399. "openmemberchargevalue": {
  16400. "description": "建仓会员手续费设置值",
  16401. "type": "number"
  16402. },
  16403. "openqty": {
  16404. "description": "开仓数量(先建后平操作 需要记录)",
  16405. "type": "integer"
  16406. },
  16407. "optiontype": {
  16408. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16409. "type": "integer"
  16410. },
  16411. "orderid": {
  16412. "description": "委托单号",
  16413. "type": "string"
  16414. },
  16415. "performanceplanid": {
  16416. "description": "履约计划ID[期权]",
  16417. "type": "integer"
  16418. },
  16419. "performancestatus": {
  16420. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16421. "type": "integer"
  16422. },
  16423. "preexerciseprice": {
  16424. "description": "预申报价格",
  16425. "type": "number"
  16426. },
  16427. "premium": {
  16428. "description": "权利金 - [持仓单的权利金]",
  16429. "type": "number"
  16430. },
  16431. "relatedouttradeid": {
  16432. "description": "关联外部成交单ID",
  16433. "type": "integer"
  16434. },
  16435. "status": {
  16436. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16437. "type": "integer"
  16438. },
  16439. "tradeamount": {
  16440. "description": "成交金额[账户币种,用于所有权]",
  16441. "type": "number"
  16442. },
  16443. "tradedate": {
  16444. "description": "交易日(yyyyMMdd)",
  16445. "type": "string"
  16446. },
  16447. "tradeid": {
  16448. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16449. "type": "string"
  16450. },
  16451. "trademode": {
  16452. "description": "交易模式",
  16453. "type": "integer"
  16454. },
  16455. "tradeprice": {
  16456. "description": "成交价格",
  16457. "type": "number"
  16458. },
  16459. "tradeproperty": {
  16460. "description": "交易属性",
  16461. "type": "integer"
  16462. },
  16463. "tradeqty": {
  16464. "description": "成交数量",
  16465. "type": "integer"
  16466. },
  16467. "tradetime": {
  16468. "description": "成交时间",
  16469. "type": "string"
  16470. },
  16471. "tradetype": {
  16472. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16473. "type": "integer"
  16474. }
  16475. }
  16476. },
  16477. "order.QueryTradeOrderDetailRsp": {
  16478. "type": "object",
  16479. "required": [
  16480. "accountid",
  16481. "buildtype",
  16482. "buyorsell",
  16483. "goodsid",
  16484. "marketid",
  16485. "operatetype",
  16486. "orderqty",
  16487. "ordertime",
  16488. "pricemode",
  16489. "tradedate",
  16490. "validtype"
  16491. ],
  16492. "properties": {
  16493. "accountid": {
  16494. "description": "账户ID[报价币种]",
  16495. "type": "integer"
  16496. },
  16497. "buildtype": {
  16498. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16499. "type": "integer"
  16500. },
  16501. "buyorsell": {
  16502. "description": "买卖 - 0:买 1:卖",
  16503. "type": "integer"
  16504. },
  16505. "cancelorderid": {
  16506. "description": "撤单单号(撤单时填写)",
  16507. "type": "string"
  16508. },
  16509. "cancelqty": {
  16510. "description": "撤单数量",
  16511. "type": "integer"
  16512. },
  16513. "clienttype": {
  16514. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16515. "type": "integer"
  16516. },
  16517. "closefreezecharge": {
  16518. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16519. "type": "number"
  16520. },
  16521. "closeqty": {
  16522. "description": "平仓数量(先建后平操作 需要记录)",
  16523. "type": "integer"
  16524. },
  16525. "closetradeqty": {
  16526. "description": "平仓成交数量(先建后平操作,需要记录)",
  16527. "type": "integer"
  16528. },
  16529. "closeunfreezecharge": {
  16530. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16531. "type": "number"
  16532. },
  16533. "delistingtype": {
  16534. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16535. "type": "integer"
  16536. },
  16537. "enableqty": {
  16538. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16539. "type": "integer"
  16540. },
  16541. "freezecharge": {
  16542. "description": "冻结手续费",
  16543. "type": "number"
  16544. },
  16545. "freezemargin": {
  16546. "description": "冻结保证金(冻结交易金额)",
  16547. "type": "number"
  16548. },
  16549. "goodscode": {
  16550. "description": "商品代码",
  16551. "type": "string"
  16552. },
  16553. "goodsid": {
  16554. "description": "商品ID",
  16555. "type": "integer"
  16556. },
  16557. "goodsname": {
  16558. "description": "商品名称",
  16559. "type": "string"
  16560. },
  16561. "listingselecttype": {
  16562. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16563. "type": "integer"
  16564. },
  16565. "marketid": {
  16566. "description": "市场ID",
  16567. "type": "integer"
  16568. },
  16569. "marketname": {
  16570. "description": "市场名称",
  16571. "type": "string"
  16572. },
  16573. "openfreezecharge": {
  16574. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16575. "type": "number"
  16576. },
  16577. "openqty": {
  16578. "description": "开仓数量(先建后平操作,需要记录)",
  16579. "type": "integer"
  16580. },
  16581. "opentradeqty": {
  16582. "description": "开仓成交数量(先建后平操作,需要记录)",
  16583. "type": "integer"
  16584. },
  16585. "openunfreezecharge": {
  16586. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16587. "type": "number"
  16588. },
  16589. "operatetype": {
  16590. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16591. "type": "integer"
  16592. },
  16593. "operatorid": {
  16594. "description": "登录账号(LoginID)",
  16595. "type": "integer"
  16596. },
  16597. "orderid": {
  16598. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16599. "type": "string"
  16600. },
  16601. "orderprice": {
  16602. "description": "委托价格",
  16603. "type": "number"
  16604. },
  16605. "orderqty": {
  16606. "description": "委托数量",
  16607. "type": "integer"
  16608. },
  16609. "ordersrc": {
  16610. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16611. "type": "integer"
  16612. },
  16613. "orderstatus": {
  16614. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16615. "type": "integer"
  16616. },
  16617. "ordertime": {
  16618. "description": "委托时间",
  16619. "type": "string"
  16620. },
  16621. "preorderid": {
  16622. "description": "关联预埋单号(止盈止损单时填写)",
  16623. "type": "string"
  16624. },
  16625. "pricemode": {
  16626. "description": "取价方式 - 1:市价 2: 限价",
  16627. "type": "integer"
  16628. },
  16629. "relatedid": {
  16630. "description": "关联单号(交割单)",
  16631. "type": "string"
  16632. },
  16633. "tradedate": {
  16634. "description": "交易日(yyyyMMdd)",
  16635. "type": "string"
  16636. },
  16637. "trademode": {
  16638. "description": "交易模式",
  16639. "type": "integer"
  16640. },
  16641. "tradeqty": {
  16642. "description": "成交数量",
  16643. "type": "integer"
  16644. },
  16645. "unfreezecharge": {
  16646. "description": "解冻手续费",
  16647. "type": "number"
  16648. },
  16649. "unfreezemargin": {
  16650. "description": "解冻保证金",
  16651. "type": "number"
  16652. },
  16653. "validtime": {
  16654. "description": "有效期限",
  16655. "type": "string"
  16656. },
  16657. "validtype": {
  16658. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16659. "type": "integer"
  16660. },
  16661. "volumetype": {
  16662. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16663. "type": "integer"
  16664. }
  16665. }
  16666. },
  16667. "order.QueryTradePositionRsp": {
  16668. "type": "object",
  16669. "required": [
  16670. "goodsid"
  16671. ],
  16672. "properties": {
  16673. "accountid": {
  16674. "description": "资金账户",
  16675. "type": "integer"
  16676. },
  16677. "agreeunit": {
  16678. "description": "合约单位",
  16679. "type": "number"
  16680. },
  16681. "averageprice": {
  16682. "description": "持仓均价",
  16683. "type": "number"
  16684. },
  16685. "buyorsell": {
  16686. "description": "方向 - 0:买 1:卖",
  16687. "type": "integer"
  16688. },
  16689. "closetotalqty": {
  16690. "description": "平仓总数量",
  16691. "type": "integer"
  16692. },
  16693. "curholderamount": {
  16694. "description": "当前持仓总金额[商品币种]",
  16695. "type": "number"
  16696. },
  16697. "curpositionqty": {
  16698. "description": "当前持仓总数量",
  16699. "type": "integer"
  16700. },
  16701. "currencyid": {
  16702. "description": "报价货币ID",
  16703. "type": "integer"
  16704. },
  16705. "curtdposition": {
  16706. "description": "期末今日头寸",
  16707. "type": "integer"
  16708. },
  16709. "decimalplace": {
  16710. "description": "报价小数位",
  16711. "type": "integer"
  16712. },
  16713. "enableqty": {
  16714. "description": "可用量",
  16715. "type": "integer"
  16716. },
  16717. "fretdposition": {
  16718. "description": "冻结今日头寸",
  16719. "type": "integer"
  16720. },
  16721. "frozenqty": {
  16722. "description": "持仓冻结数量",
  16723. "type": "integer"
  16724. },
  16725. "goodscode": {
  16726. "description": "商品代码",
  16727. "type": "string"
  16728. },
  16729. "goodsid": {
  16730. "description": "商品Id",
  16731. "type": "integer"
  16732. },
  16733. "goodsname": {
  16734. "description": "商品名称",
  16735. "type": "string"
  16736. },
  16737. "goodunit": {
  16738. "description": "报价单位",
  16739. "type": "string"
  16740. },
  16741. "goodunitid": {
  16742. "description": "报价单位ID",
  16743. "type": "integer"
  16744. },
  16745. "holderamount": {
  16746. "description": "期初持仓总金额[商品币种]",
  16747. "type": "number"
  16748. },
  16749. "marketid": {
  16750. "description": "所属市场ID",
  16751. "type": "integer"
  16752. },
  16753. "openreqqty": {
  16754. "description": "开仓申请数量(用于比较最大持仓数量)",
  16755. "type": "integer"
  16756. },
  16757. "opentotalqty": {
  16758. "description": "开仓总数量",
  16759. "type": "integer"
  16760. },
  16761. "otherfrozenqty": {
  16762. "description": "持仓其他冻结数量(交割冻结)",
  16763. "type": "integer"
  16764. },
  16765. "positionqty": {
  16766. "description": "期初持仓数量",
  16767. "type": "integer"
  16768. },
  16769. "tnqty": {
  16770. "description": "T+N冻结总量",
  16771. "type": "integer"
  16772. },
  16773. "tnusedqty": {
  16774. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16775. "type": "integer"
  16776. },
  16777. "trademode": {
  16778. "description": "交易模式",
  16779. "type": "integer"
  16780. },
  16781. "usedmargin": {
  16782. "description": "占用保证金[商品币种]",
  16783. "type": "number"
  16784. }
  16785. }
  16786. },
  16787. "quote.HistoryData": {
  16788. "type": "object",
  16789. "properties": {
  16790. "c": {
  16791. "description": "收盘价",
  16792. "type": "number"
  16793. },
  16794. "f": {
  16795. "description": "是否补充数据",
  16796. "type": "boolean"
  16797. },
  16798. "h": {
  16799. "description": "最高价",
  16800. "type": "number"
  16801. },
  16802. "hv": {
  16803. "description": "持仓量",
  16804. "type": "integer"
  16805. },
  16806. "l": {
  16807. "description": "最低价",
  16808. "type": "number"
  16809. },
  16810. "o": {
  16811. "description": "开盘价",
  16812. "type": "number"
  16813. },
  16814. "s": {
  16815. "description": "结算价,日线周期(包括)以上才有",
  16816. "type": "number"
  16817. },
  16818. "ts": {
  16819. "description": "时间",
  16820. "type": "string"
  16821. },
  16822. "tt": {
  16823. "description": "总金额",
  16824. "type": "number"
  16825. },
  16826. "tv": {
  16827. "description": "总量",
  16828. "type": "integer"
  16829. }
  16830. }
  16831. },
  16832. "quote.QueryQuoteDayRsp": {
  16833. "type": "object",
  16834. "properties": {
  16835. "ask": {
  16836. "description": "卖1",
  16837. "type": "number"
  16838. },
  16839. "ask10": {
  16840. "description": "卖10",
  16841. "type": "number"
  16842. },
  16843. "ask2": {
  16844. "description": "卖2",
  16845. "type": "number"
  16846. },
  16847. "ask3": {
  16848. "description": "卖3",
  16849. "type": "number"
  16850. },
  16851. "ask4": {
  16852. "description": "卖4",
  16853. "type": "number"
  16854. },
  16855. "ask5": {
  16856. "description": "卖5",
  16857. "type": "number"
  16858. },
  16859. "ask6": {
  16860. "description": "卖6",
  16861. "type": "number"
  16862. },
  16863. "ask7": {
  16864. "description": "卖7",
  16865. "type": "number"
  16866. },
  16867. "ask8": {
  16868. "description": "卖8",
  16869. "type": "number"
  16870. },
  16871. "ask9": {
  16872. "description": "卖9",
  16873. "type": "number"
  16874. },
  16875. "askorderid": {
  16876. "description": "卖单号1",
  16877. "type": "integer"
  16878. },
  16879. "askorderid2": {
  16880. "description": "卖单号2",
  16881. "type": "integer"
  16882. },
  16883. "askorderid3": {
  16884. "description": "卖单号3",
  16885. "type": "integer"
  16886. },
  16887. "askorderid4": {
  16888. "description": "卖单号4",
  16889. "type": "integer"
  16890. },
  16891. "askorderid5": {
  16892. "description": "卖单号5",
  16893. "type": "integer"
  16894. },
  16895. "askordervolume": {
  16896. "description": "卖单量1",
  16897. "type": "integer"
  16898. },
  16899. "askordervolume10": {
  16900. "description": "卖单量10",
  16901. "type": "integer"
  16902. },
  16903. "askordervolume2": {
  16904. "description": "卖单量2",
  16905. "type": "integer"
  16906. },
  16907. "askordervolume3": {
  16908. "description": "卖单量3",
  16909. "type": "integer"
  16910. },
  16911. "askordervolume4": {
  16912. "description": "卖单量4",
  16913. "type": "integer"
  16914. },
  16915. "askordervolume5": {
  16916. "description": "卖单量5",
  16917. "type": "integer"
  16918. },
  16919. "askordervolume6": {
  16920. "description": "卖单量6",
  16921. "type": "integer"
  16922. },
  16923. "askordervolume7": {
  16924. "description": "卖单量7",
  16925. "type": "integer"
  16926. },
  16927. "askordervolume8": {
  16928. "description": "卖单量8",
  16929. "type": "integer"
  16930. },
  16931. "askordervolume9": {
  16932. "description": "卖单量9",
  16933. "type": "integer"
  16934. },
  16935. "askqueueinfo": {
  16936. "description": "大利市卖港股用",
  16937. "type": "string"
  16938. },
  16939. "askvolume": {
  16940. "description": "卖量1",
  16941. "type": "integer"
  16942. },
  16943. "askvolume10": {
  16944. "description": "卖量10",
  16945. "type": "integer"
  16946. },
  16947. "askvolume2": {
  16948. "description": "卖量2",
  16949. "type": "integer"
  16950. },
  16951. "askvolume3": {
  16952. "description": "卖量3",
  16953. "type": "integer"
  16954. },
  16955. "askvolume4": {
  16956. "description": "卖量4",
  16957. "type": "integer"
  16958. },
  16959. "askvolume5": {
  16960. "description": "卖量5",
  16961. "type": "integer"
  16962. },
  16963. "askvolume6": {
  16964. "description": "卖量6",
  16965. "type": "integer"
  16966. },
  16967. "askvolume7": {
  16968. "description": "卖量7",
  16969. "type": "integer"
  16970. },
  16971. "askvolume8": {
  16972. "description": "卖量8",
  16973. "type": "integer"
  16974. },
  16975. "askvolume9": {
  16976. "description": "卖量9",
  16977. "type": "integer"
  16978. },
  16979. "averageprice": {
  16980. "description": "均价",
  16981. "type": "number"
  16982. },
  16983. "bid": {
  16984. "description": "买1",
  16985. "type": "number"
  16986. },
  16987. "bid10": {
  16988. "description": "买10",
  16989. "type": "number"
  16990. },
  16991. "bid2": {
  16992. "description": "买2",
  16993. "type": "number"
  16994. },
  16995. "bid3": {
  16996. "description": "买3",
  16997. "type": "number"
  16998. },
  16999. "bid4": {
  17000. "description": "买4",
  17001. "type": "number"
  17002. },
  17003. "bid5": {
  17004. "description": "买5",
  17005. "type": "number"
  17006. },
  17007. "bid6": {
  17008. "description": "买6",
  17009. "type": "number"
  17010. },
  17011. "bid7": {
  17012. "description": "买7",
  17013. "type": "number"
  17014. },
  17015. "bid8": {
  17016. "description": "买8",
  17017. "type": "number"
  17018. },
  17019. "bid9": {
  17020. "description": "买9",
  17021. "type": "number"
  17022. },
  17023. "bidorderid": {
  17024. "description": "买单号1",
  17025. "type": "integer"
  17026. },
  17027. "bidorderid2": {
  17028. "description": "买单号2",
  17029. "type": "integer"
  17030. },
  17031. "bidorderid3": {
  17032. "description": "买单号3",
  17033. "type": "integer"
  17034. },
  17035. "bidorderid4": {
  17036. "description": "买单号4",
  17037. "type": "integer"
  17038. },
  17039. "bidorderid5": {
  17040. "description": "买单号5",
  17041. "type": "integer"
  17042. },
  17043. "bidordervolume": {
  17044. "description": "买单量1",
  17045. "type": "integer"
  17046. },
  17047. "bidordervolume10": {
  17048. "description": "买单量10",
  17049. "type": "integer"
  17050. },
  17051. "bidordervolume2": {
  17052. "description": "买单量2",
  17053. "type": "integer"
  17054. },
  17055. "bidordervolume3": {
  17056. "description": "买单量3",
  17057. "type": "integer"
  17058. },
  17059. "bidordervolume4": {
  17060. "description": "买单量4",
  17061. "type": "integer"
  17062. },
  17063. "bidordervolume5": {
  17064. "description": "买单量5",
  17065. "type": "integer"
  17066. },
  17067. "bidordervolume6": {
  17068. "description": "买单量6",
  17069. "type": "integer"
  17070. },
  17071. "bidordervolume7": {
  17072. "description": "买单量7",
  17073. "type": "integer"
  17074. },
  17075. "bidordervolume8": {
  17076. "description": "买单量8",
  17077. "type": "integer"
  17078. },
  17079. "bidordervolume9": {
  17080. "description": "买单量9",
  17081. "type": "integer"
  17082. },
  17083. "bidqueueinfo": {
  17084. "description": "大利市买港股用",
  17085. "type": "string"
  17086. },
  17087. "bidvolume": {
  17088. "description": "买量1",
  17089. "type": "integer"
  17090. },
  17091. "bidvolume10": {
  17092. "description": "买量10",
  17093. "type": "integer"
  17094. },
  17095. "bidvolume2": {
  17096. "description": "买量2",
  17097. "type": "integer"
  17098. },
  17099. "bidvolume3": {
  17100. "description": "买量3",
  17101. "type": "integer"
  17102. },
  17103. "bidvolume4": {
  17104. "description": "买量4",
  17105. "type": "integer"
  17106. },
  17107. "bidvolume5": {
  17108. "description": "买量5",
  17109. "type": "integer"
  17110. },
  17111. "bidvolume6": {
  17112. "description": "买量6",
  17113. "type": "integer"
  17114. },
  17115. "bidvolume7": {
  17116. "description": "买量7",
  17117. "type": "integer"
  17118. },
  17119. "bidvolume8": {
  17120. "description": "买量8",
  17121. "type": "integer"
  17122. },
  17123. "bidvolume9": {
  17124. "description": "买量9",
  17125. "type": "integer"
  17126. },
  17127. "calloptionpremiums": {
  17128. "description": "认购期权1",
  17129. "type": "integer"
  17130. },
  17131. "calloptionpremiums2": {
  17132. "description": "认购期权2",
  17133. "type": "integer"
  17134. },
  17135. "calloptionpremiums3": {
  17136. "description": "认购期权3",
  17137. "type": "integer"
  17138. },
  17139. "calloptionpremiums4": {
  17140. "description": "认购期权4",
  17141. "type": "integer"
  17142. },
  17143. "calloptionpremiums5": {
  17144. "description": "认购期权5",
  17145. "type": "integer"
  17146. },
  17147. "cleartime": {
  17148. "description": "清盘时间",
  17149. "type": "integer"
  17150. },
  17151. "exchangecode": {
  17152. "description": "交易所代码",
  17153. "type": "integer"
  17154. },
  17155. "exchangedate": {
  17156. "description": "交易日",
  17157. "type": "integer"
  17158. },
  17159. "goodscode": {
  17160. "description": "商品代码",
  17161. "type": "string"
  17162. },
  17163. "grepmarketprice": {
  17164. "description": "暗盘价 港股专用",
  17165. "type": "number"
  17166. },
  17167. "highest": {
  17168. "description": "最高价",
  17169. "type": "number"
  17170. },
  17171. "holdincrement": {
  17172. "description": "单笔持仓",
  17173. "type": "integer"
  17174. },
  17175. "holdvolume": {
  17176. "description": "持仓",
  17177. "type": "integer"
  17178. },
  17179. "iep": {
  17180. "description": "平衡价 港股专用",
  17181. "type": "number"
  17182. },
  17183. "iev": {
  17184. "description": "平衡量 港股专用",
  17185. "type": "number"
  17186. },
  17187. "inventory": {
  17188. "description": "库存",
  17189. "type": "integer"
  17190. },
  17191. "iscleared": {
  17192. "description": "是否清盘标志",
  17193. "type": "integer"
  17194. },
  17195. "issettled": {
  17196. "description": "是否结算标志",
  17197. "type": "integer"
  17198. },
  17199. "last": {
  17200. "description": "最新价",
  17201. "type": "number"
  17202. },
  17203. "lastlot": {
  17204. "description": "最新成交手数",
  17205. "type": "integer"
  17206. },
  17207. "lasttime": {
  17208. "description": "行情时间(只有现价变化行情时间才变化)",
  17209. "type": "string"
  17210. },
  17211. "lastturnover": {
  17212. "description": "最新成交金额",
  17213. "type": "number"
  17214. },
  17215. "lastvolume": {
  17216. "description": "最新成交量",
  17217. "type": "integer"
  17218. },
  17219. "limitdown": {
  17220. "description": "跌停价",
  17221. "type": "number"
  17222. },
  17223. "limitup": {
  17224. "description": "涨停价",
  17225. "type": "number"
  17226. },
  17227. "lowest": {
  17228. "description": "最低价",
  17229. "type": "number"
  17230. },
  17231. "nontotalholdervolume": {
  17232. "description": "非交易持仓量",
  17233. "type": "integer"
  17234. },
  17235. "nontotallot": {
  17236. "description": "非交易总手数",
  17237. "type": "integer"
  17238. },
  17239. "nontotalturnover": {
  17240. "description": "非交易总金额",
  17241. "type": "integer"
  17242. },
  17243. "nontotalvolume": {
  17244. "description": "非交易总量",
  17245. "type": "integer"
  17246. },
  17247. "opened": {
  17248. "description": "开盘价",
  17249. "type": "number"
  17250. },
  17251. "opentime": {
  17252. "description": "开盘时间",
  17253. "type": "string"
  17254. },
  17255. "orderid": {
  17256. "description": "序号",
  17257. "type": "integer"
  17258. },
  17259. "preclose": {
  17260. "description": "昨收",
  17261. "type": "number"
  17262. },
  17263. "preholdvolume": {
  17264. "description": "昨持仓",
  17265. "type": "integer"
  17266. },
  17267. "presettle": {
  17268. "description": "昨结价",
  17269. "type": "number"
  17270. },
  17271. "publictradetype": {
  17272. "description": "公共交易标志类型 港股专用",
  17273. "type": "string"
  17274. },
  17275. "putoptionpremiums": {
  17276. "description": "认沽期权1",
  17277. "type": "integer"
  17278. },
  17279. "putoptionpremiums2": {
  17280. "description": "认沽期权2",
  17281. "type": "integer"
  17282. },
  17283. "putoptionpremiums3": {
  17284. "description": "认沽期权3",
  17285. "type": "integer"
  17286. },
  17287. "putoptionpremiums4": {
  17288. "description": "认沽期权4",
  17289. "type": "integer"
  17290. },
  17291. "putoptionpremiums5": {
  17292. "description": "认沽期权5",
  17293. "type": "integer"
  17294. },
  17295. "settle": {
  17296. "description": "结算价",
  17297. "type": "number"
  17298. },
  17299. "strikeprice": {
  17300. "description": "发行价",
  17301. "type": "number"
  17302. },
  17303. "totalaskvolume": {
  17304. "description": "内盘",
  17305. "type": "integer"
  17306. },
  17307. "totalbidvolume": {
  17308. "description": "外盘",
  17309. "type": "integer"
  17310. },
  17311. "totallot": {
  17312. "description": "总手数",
  17313. "type": "integer"
  17314. },
  17315. "totalturnover": {
  17316. "description": "总金额",
  17317. "type": "number"
  17318. },
  17319. "totalvolume": {
  17320. "description": "总量",
  17321. "type": "integer"
  17322. },
  17323. "utclasttime": {
  17324. "description": "utc的行情时间",
  17325. "type": "string"
  17326. }
  17327. }
  17328. },
  17329. "quote.QueryTSDataRsp": {
  17330. "type": "object",
  17331. "properties": {
  17332. "decimalPlace": {
  17333. "description": "小数位",
  17334. "type": "integer"
  17335. },
  17336. "endTime": {
  17337. "description": "结束时间",
  17338. "type": "string"
  17339. },
  17340. "goodsCode": {
  17341. "description": "商品代码",
  17342. "type": "string"
  17343. },
  17344. "historyDatas": {
  17345. "description": "历史数据",
  17346. "type": "array",
  17347. "items": {
  17348. "$ref": "#/definitions/quote.HistoryData"
  17349. }
  17350. },
  17351. "outGoodsCode": {
  17352. "description": "外部商品代码",
  17353. "type": "string"
  17354. },
  17355. "preSettle": {
  17356. "description": "昨结",
  17357. "type": "number"
  17358. },
  17359. "startTime": {
  17360. "description": "开始时间",
  17361. "type": "string"
  17362. },
  17363. "tradeDate": {
  17364. "description": "交易日",
  17365. "type": "string"
  17366. }
  17367. }
  17368. },
  17369. "szdz.QueryConvertLogRsp": {
  17370. "type": "object",
  17371. "required": [
  17372. "logid"
  17373. ],
  17374. "properties": {
  17375. "accountid": {
  17376. "description": "资金账户ID",
  17377. "type": "integer"
  17378. },
  17379. "clientticket": {
  17380. "description": "客户端流水号",
  17381. "type": "string"
  17382. },
  17383. "converttype": {
  17384. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17385. "type": "integer"
  17386. },
  17387. "createtime": {
  17388. "description": "记账时间",
  17389. "type": "string"
  17390. },
  17391. "daymaxvalue": {
  17392. "description": "配置当日最大转入限制",
  17393. "type": "number"
  17394. },
  17395. "daymaxvalue2": {
  17396. "description": "配置当日最大转入限制(转入)",
  17397. "type": "number"
  17398. },
  17399. "goodscode": {
  17400. "description": "商品代码",
  17401. "type": "string"
  17402. },
  17403. "goodsname": {
  17404. "description": "商品名称",
  17405. "type": "string"
  17406. },
  17407. "handlestatus": {
  17408. "description": "处理状态",
  17409. "type": "integer"
  17410. },
  17411. "innergoodsid": {
  17412. "description": "内部商品ID",
  17413. "type": "integer"
  17414. },
  17415. "inratio": {
  17416. "description": "配置转入比值",
  17417. "type": "integer"
  17418. },
  17419. "invalue": {
  17420. "description": "目标值",
  17421. "type": "number"
  17422. },
  17423. "logid": {
  17424. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17425. "type": "integer"
  17426. },
  17427. "mobile": {
  17428. "description": "手机号码(加密存储)",
  17429. "type": "string"
  17430. },
  17431. "outergoodscode": {
  17432. "description": "外部商品代码[JD\\PD]",
  17433. "type": "string"
  17434. },
  17435. "outratio": {
  17436. "description": "配置转出比值",
  17437. "type": "integer"
  17438. },
  17439. "outvalue": {
  17440. "description": "源值",
  17441. "type": "number"
  17442. },
  17443. "pddecimalplace": {
  17444. "description": "PD小数位",
  17445. "type": "integer"
  17446. },
  17447. "qty": {
  17448. "description": "数量",
  17449. "type": "string"
  17450. },
  17451. "remark": {
  17452. "description": "备注",
  17453. "type": "string"
  17454. },
  17455. "sessionid": {
  17456. "description": "会话ID",
  17457. "type": "integer"
  17458. },
  17459. "timemaxvalue": {
  17460. "description": "配置单次最大转入限制",
  17461. "type": "number"
  17462. },
  17463. "timemaxvalue2": {
  17464. "description": "配置单次最大转入限制(转入)",
  17465. "type": "number"
  17466. },
  17467. "timeminvalue": {
  17468. "description": "配置单次最小数量限制",
  17469. "type": "number"
  17470. },
  17471. "timeminvalue2": {
  17472. "description": "配置单次最小数量限制(转入)",
  17473. "type": "number"
  17474. },
  17475. "tradedate": {
  17476. "description": "交易日(yyyyMMdd)",
  17477. "type": "string"
  17478. },
  17479. "userid": {
  17480. "description": "用户ID",
  17481. "type": "integer"
  17482. }
  17483. }
  17484. },
  17485. "szdz.QueryGoodsPickupRsp": {
  17486. "type": "object",
  17487. "required": [
  17488. "takeorderid"
  17489. ],
  17490. "properties": {
  17491. "accountid": {
  17492. "description": "账户ID",
  17493. "type": "integer"
  17494. },
  17495. "address": {
  17496. "description": "提货人详细地址",
  17497. "type": "string"
  17498. },
  17499. "auditer": {
  17500. "description": "审核人",
  17501. "type": "integer"
  17502. },
  17503. "audittime": {
  17504. "description": "审核时间",
  17505. "type": "string"
  17506. },
  17507. "cardnum": {
  17508. "description": "提货人证件号码",
  17509. "type": "string"
  17510. },
  17511. "cardtypeid": {
  17512. "description": "提货人证件类型",
  17513. "type": "integer"
  17514. },
  17515. "checkremark": {
  17516. "description": "审核备注",
  17517. "type": "string"
  17518. },
  17519. "goodscode": {
  17520. "description": "商品代码",
  17521. "type": "string"
  17522. },
  17523. "goodsid": {
  17524. "description": "商品ID",
  17525. "type": "integer"
  17526. },
  17527. "goodsname": {
  17528. "description": "商品名称",
  17529. "type": "string"
  17530. },
  17531. "handlestatus": {
  17532. "description": "处理状态",
  17533. "type": "integer"
  17534. },
  17535. "marketid": {
  17536. "description": "市场ID",
  17537. "type": "integer"
  17538. },
  17539. "phonenum": {
  17540. "description": "提货人联系方式",
  17541. "type": "string"
  17542. },
  17543. "qty": {
  17544. "description": "提货数量",
  17545. "type": "number"
  17546. },
  17547. "recivername": {
  17548. "description": "提货人姓名",
  17549. "type": "string"
  17550. },
  17551. "reqtime": {
  17552. "description": "更新时间",
  17553. "type": "string"
  17554. },
  17555. "takemode": {
  17556. "description": "提货方式 - 2:自提 3:配送",
  17557. "type": "integer"
  17558. },
  17559. "takeorderid": {
  17560. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17561. "type": "string"
  17562. },
  17563. "takeorderstatus": {
  17564. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17565. "type": "integer"
  17566. },
  17567. "takeremark": {
  17568. "description": "提货备注",
  17569. "type": "string"
  17570. },
  17571. "tradedate": {
  17572. "description": "交易日(yyyyMMdd)",
  17573. "type": "string"
  17574. },
  17575. "userid": {
  17576. "description": "用户ID",
  17577. "type": "integer"
  17578. }
  17579. }
  17580. },
  17581. "szdz.QueryRecieptOrderRsp": {
  17582. "type": "object",
  17583. "required": [
  17584. "ordertime"
  17585. ],
  17586. "properties": {
  17587. "accountName": {
  17588. "description": "所属账号名称(已脱敏)",
  17589. "type": "string"
  17590. },
  17591. "accountid": {
  17592. "description": "资金账号",
  17593. "type": "integer"
  17594. },
  17595. "buyorsell": {
  17596. "description": "方向 - 0:买 1:卖",
  17597. "type": "integer"
  17598. },
  17599. "enableqty": {
  17600. "description": "可摘数量",
  17601. "type": "integer"
  17602. },
  17603. "goodscode": {
  17604. "description": "商品代码",
  17605. "type": "string"
  17606. },
  17607. "goodsid": {
  17608. "description": "商品ID",
  17609. "type": "integer"
  17610. },
  17611. "goodsname": {
  17612. "description": "商品名称",
  17613. "type": "string"
  17614. },
  17615. "orderid": {
  17616. "description": "委托单号",
  17617. "type": "string"
  17618. },
  17619. "orderprice": {
  17620. "description": "委托价格",
  17621. "type": "number"
  17622. },
  17623. "ordertime": {
  17624. "description": "委托时间",
  17625. "type": "string"
  17626. },
  17627. "tradedate": {
  17628. "description": "交易日(yyyyMMdd)",
  17629. "type": "string"
  17630. }
  17631. }
  17632. },
  17633. "szdz.QuerySZDZTradePositionRsp": {
  17634. "type": "object",
  17635. "properties": {
  17636. "accountid": {
  17637. "description": "账号Id",
  17638. "type": "integer"
  17639. },
  17640. "agreeunit": {
  17641. "description": "合约单位",
  17642. "type": "number"
  17643. },
  17644. "averageprice": {
  17645. "description": "持仓均价",
  17646. "type": "number"
  17647. },
  17648. "buyorsell": {
  17649. "description": "方向 - 0:买 1:卖",
  17650. "type": "integer"
  17651. },
  17652. "closetotalqty": {
  17653. "description": "平仓总数量",
  17654. "type": "integer"
  17655. },
  17656. "curholderamount": {
  17657. "description": "当前持仓总金额",
  17658. "type": "number"
  17659. },
  17660. "curpositionqty": {
  17661. "description": "当前持仓总数量",
  17662. "type": "integer"
  17663. },
  17664. "currencyid": {
  17665. "description": "报价货币ID",
  17666. "type": "integer"
  17667. },
  17668. "curtdposition": {
  17669. "description": "期末今日头寸",
  17670. "type": "integer"
  17671. },
  17672. "decimalplace": {
  17673. "description": "报价小数位",
  17674. "type": "integer"
  17675. },
  17676. "enableqty": {
  17677. "description": "可用量",
  17678. "type": "integer"
  17679. },
  17680. "fretdposition": {
  17681. "description": "冻结今日头寸",
  17682. "type": "integer"
  17683. },
  17684. "frozenqty": {
  17685. "description": "持仓冻结数量",
  17686. "type": "integer"
  17687. },
  17688. "goodscode": {
  17689. "description": "商品代码(内部)",
  17690. "type": "string"
  17691. },
  17692. "goodsid": {
  17693. "description": "商品Id",
  17694. "type": "integer"
  17695. },
  17696. "goodsname": {
  17697. "description": "商品名称",
  17698. "type": "string"
  17699. },
  17700. "goodunit": {
  17701. "description": "报价单位",
  17702. "type": "string"
  17703. },
  17704. "goodunitid": {
  17705. "description": "报价单位ID",
  17706. "type": "integer"
  17707. },
  17708. "holderamount": {
  17709. "description": "期初持仓总金额",
  17710. "type": "number"
  17711. },
  17712. "marketid": {
  17713. "description": "市场ID",
  17714. "type": "integer"
  17715. },
  17716. "openreqqty": {
  17717. "description": "开仓申请数量",
  17718. "type": "integer"
  17719. },
  17720. "opentotalqty": {
  17721. "description": "开仓总数量",
  17722. "type": "integer"
  17723. },
  17724. "otherfrozenqty": {
  17725. "description": "持仓其他冻结数量(交割冻结)",
  17726. "type": "integer"
  17727. },
  17728. "positionqty": {
  17729. "description": "期初持仓数量",
  17730. "type": "integer"
  17731. },
  17732. "szdz3freezqty": {
  17733. "description": "尚志大宗转换冻结总数量",
  17734. "type": "integer"
  17735. },
  17736. "tnqty": {
  17737. "description": "T+N冻结总量",
  17738. "type": "integer"
  17739. },
  17740. "tnusedqty": {
  17741. "description": "T+N使用量",
  17742. "type": "integer"
  17743. },
  17744. "trademode": {
  17745. "description": "交易模式",
  17746. "type": "integer"
  17747. },
  17748. "usedmargin": {
  17749. "description": "占用保证金",
  17750. "type": "number"
  17751. }
  17752. }
  17753. },
  17754. "taaccount.QueryAmountLogRsp": {
  17755. "type": "object",
  17756. "required": [
  17757. "accountid",
  17758. "amount",
  17759. "amountadjusttype",
  17760. "autoid",
  17761. "balance",
  17762. "createtime",
  17763. "currentbalance",
  17764. "operatetype"
  17765. ],
  17766. "properties": {
  17767. "OPERATETYPENAME": {
  17768. "description": "资金操作类型名称",
  17769. "type": "string"
  17770. },
  17771. "accountid": {
  17772. "description": "资金账户ID",
  17773. "type": "integer"
  17774. },
  17775. "agoodscode": {
  17776. "description": "竞拍商品代码",
  17777. "type": "string"
  17778. },
  17779. "agoodsname": {
  17780. "description": "竞拍商品名称",
  17781. "type": "string"
  17782. },
  17783. "amount": {
  17784. "description": "资金金额",
  17785. "type": "number"
  17786. },
  17787. "amountadjusttype": {
  17788. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17789. "type": "integer"
  17790. },
  17791. "autoid": {
  17792. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17793. "type": "integer"
  17794. },
  17795. "balance": {
  17796. "description": "期初余额",
  17797. "type": "number"
  17798. },
  17799. "businesscode": {
  17800. "description": "业务编号",
  17801. "type": "integer"
  17802. },
  17803. "createtime": {
  17804. "description": "发生时间",
  17805. "type": "string"
  17806. },
  17807. "currencyid": {
  17808. "description": "币种ID",
  17809. "type": "integer"
  17810. },
  17811. "currentbalance": {
  17812. "description": "期末余额(变动后金额)",
  17813. "type": "number"
  17814. },
  17815. "dgoodscode": {
  17816. "description": "交割商品代码",
  17817. "type": "string"
  17818. },
  17819. "dgoodsname": {
  17820. "description": "交割商品名称",
  17821. "type": "string"
  17822. },
  17823. "goodscode": {
  17824. "description": "商品代码",
  17825. "type": "string"
  17826. },
  17827. "goodsid": {
  17828. "description": "商品ID",
  17829. "type": "integer"
  17830. },
  17831. "goodsname": {
  17832. "description": "商品名称",
  17833. "type": "string"
  17834. },
  17835. "marketid": {
  17836. "description": "市场ID",
  17837. "type": "integer"
  17838. },
  17839. "marketname": {
  17840. "description": "市场名称",
  17841. "type": "string"
  17842. },
  17843. "moneyticket": {
  17844. "description": "资金流水号:银行端流水号",
  17845. "type": "integer"
  17846. },
  17847. "operatetype": {
  17848. "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:营销收款",
  17849. "type": "integer"
  17850. },
  17851. "relationorderid": {
  17852. "description": "关联单号",
  17853. "type": "string"
  17854. },
  17855. "remark": {
  17856. "description": "备注",
  17857. "type": "string"
  17858. },
  17859. "trademode": {
  17860. "description": "交易模式",
  17861. "type": "integer"
  17862. }
  17863. }
  17864. },
  17865. "taaccount.QueryHisAmountLogRsp": {
  17866. "type": "object",
  17867. "required": [
  17868. "accountid",
  17869. "amount",
  17870. "amountadjusttype",
  17871. "autoid",
  17872. "balance",
  17873. "createtime",
  17874. "currentbalance",
  17875. "histradedate",
  17876. "operatetype"
  17877. ],
  17878. "properties": {
  17879. "OPERATETYPENAME": {
  17880. "description": "资金操作类型名称",
  17881. "type": "string"
  17882. },
  17883. "accountid": {
  17884. "description": "资金账户ID",
  17885. "type": "integer"
  17886. },
  17887. "agoodscode": {
  17888. "description": "竞拍商品代码",
  17889. "type": "string"
  17890. },
  17891. "agoodsname": {
  17892. "description": "竞拍商品名称",
  17893. "type": "string"
  17894. },
  17895. "amount": {
  17896. "description": "资金金额",
  17897. "type": "number"
  17898. },
  17899. "amountadjusttype": {
  17900. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17901. "type": "integer"
  17902. },
  17903. "autoid": {
  17904. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17905. "type": "integer"
  17906. },
  17907. "balance": {
  17908. "description": "期初余额",
  17909. "type": "number"
  17910. },
  17911. "businesscode": {
  17912. "description": "业务编号",
  17913. "type": "integer"
  17914. },
  17915. "createtime": {
  17916. "description": "发生时间",
  17917. "type": "string"
  17918. },
  17919. "currencyid": {
  17920. "description": "币种ID",
  17921. "type": "integer"
  17922. },
  17923. "currentbalance": {
  17924. "description": "期末余额(变动后金额)",
  17925. "type": "number"
  17926. },
  17927. "dgoodscode": {
  17928. "description": "交割商品代码",
  17929. "type": "string"
  17930. },
  17931. "dgoodsname": {
  17932. "description": "交割商品名称",
  17933. "type": "string"
  17934. },
  17935. "goodscode": {
  17936. "description": "商品代码",
  17937. "type": "string"
  17938. },
  17939. "goodsid": {
  17940. "description": "商品ID",
  17941. "type": "integer"
  17942. },
  17943. "goodsname": {
  17944. "description": "商品名称",
  17945. "type": "string"
  17946. },
  17947. "histradedate": {
  17948. "description": "历史交易日",
  17949. "type": "string"
  17950. },
  17951. "isvaliddata": {
  17952. "description": "是否有效 - 0:无效 1:有效",
  17953. "type": "integer"
  17954. },
  17955. "marketid": {
  17956. "description": "市场ID",
  17957. "type": "integer"
  17958. },
  17959. "marketname": {
  17960. "description": "市场名称",
  17961. "type": "string"
  17962. },
  17963. "moneyticket": {
  17964. "description": "资金流水号:银行端流水号",
  17965. "type": "integer"
  17966. },
  17967. "operatetype": {
  17968. "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:营销收款",
  17969. "type": "integer"
  17970. },
  17971. "relationorderid": {
  17972. "description": "关联单号",
  17973. "type": "string"
  17974. },
  17975. "remark": {
  17976. "description": "备注",
  17977. "type": "string"
  17978. },
  17979. "trademode": {
  17980. "description": "交易模式",
  17981. "type": "integer"
  17982. }
  17983. }
  17984. },
  17985. "trade.QueryRecieptOrderRsp": {
  17986. "type": "object",
  17987. "required": [
  17988. "ordertime"
  17989. ],
  17990. "properties": {
  17991. "accountName": {
  17992. "description": "所属账号名称(已脱敏)",
  17993. "type": "string"
  17994. },
  17995. "accountid": {
  17996. "description": "资金账号",
  17997. "type": "integer"
  17998. },
  17999. "buyorsell": {
  18000. "description": "方向 - 0:买 1:卖",
  18001. "type": "integer"
  18002. },
  18003. "enableqty": {
  18004. "description": "可摘数量",
  18005. "type": "integer"
  18006. },
  18007. "goodscode": {
  18008. "description": "商品代码",
  18009. "type": "string"
  18010. },
  18011. "goodsid": {
  18012. "description": "商品ID",
  18013. "type": "integer"
  18014. },
  18015. "goodsname": {
  18016. "description": "商品名称",
  18017. "type": "string"
  18018. },
  18019. "orderid": {
  18020. "description": "委托单号",
  18021. "type": "string"
  18022. },
  18023. "orderprice": {
  18024. "description": "委托价格",
  18025. "type": "number"
  18026. },
  18027. "ordertime": {
  18028. "description": "委托时间",
  18029. "type": "string"
  18030. },
  18031. "tradedate": {
  18032. "description": "交易日(yyyyMMdd)",
  18033. "type": "string"
  18034. }
  18035. }
  18036. }
  18037. },
  18038. "securityDefinitions": {
  18039. "ApiKeyAuth": {
  18040. "type": "apiKey",
  18041. "name": "Authorization",
  18042. "in": "header"
  18043. }
  18044. }
  18045. }`
  18046. type swaggerInfo struct {
  18047. Version string
  18048. Host string
  18049. BasePath string
  18050. Schemes []string
  18051. Title string
  18052. Description string
  18053. }
  18054. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18055. var SwaggerInfo = swaggerInfo{
  18056. Version: "1.0",
  18057. Host: "",
  18058. BasePath: "/api",
  18059. Schemes: []string{},
  18060. Title: "MTP2.0 查询服务 API",
  18061. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18062. }
  18063. type s struct{}
  18064. func (s *s) ReadDoc() string {
  18065. sInfo := SwaggerInfo
  18066. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18067. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18068. "marshal": func(v interface{}) string {
  18069. a, _ := json.Marshal(v)
  18070. return string(a)
  18071. },
  18072. }).Parse(doc)
  18073. if err != nil {
  18074. return doc
  18075. }
  18076. var tpl bytes.Buffer
  18077. if err := t.Execute(&tpl, sInfo); err != nil {
  18078. return doc
  18079. }
  18080. return tpl.String()
  18081. }
  18082. func init() {
  18083. swag.Register(swag.Name, &s{})
  18084. }