docs.go 473 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164
  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. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryBusinessDj": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "用户ID",
  733. "name": "UserId",
  734. "in": "query",
  735. "required": true
  736. },
  737. {
  738. "type": "string",
  739. "description": "现货合同ID, 不填则查所有",
  740. "name": "relatedid",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "type": "array",
  749. "items": {
  750. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  751. }
  752. }
  753. },
  754. "500": {
  755. "description": "Internal Server Error",
  756. "schema": {
  757. "$ref": "#/definitions/app.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/Ermcp/QueryBusinessFp": {
  764. "get": {
  765. "security": [
  766. {
  767. "ApiKeyAuth": []
  768. }
  769. ],
  770. "produces": [
  771. "application/json"
  772. ],
  773. "tags": [
  774. "企业风险管理(app)"
  775. ],
  776. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  777. "parameters": [
  778. {
  779. "type": "integer",
  780. "description": "用户ID",
  781. "name": "UserId",
  782. "in": "query",
  783. "required": true
  784. },
  785. {
  786. "type": "string",
  787. "description": "现货合同ID, 不填则查所有",
  788. "name": "relatedid",
  789. "in": "query"
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "OK",
  795. "schema": {
  796. "type": "array",
  797. "items": {
  798. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  799. }
  800. }
  801. },
  802. "500": {
  803. "description": "Internal Server Error",
  804. "schema": {
  805. "$ref": "#/definitions/app.Response"
  806. }
  807. }
  808. }
  809. }
  810. },
  811. "/Ermcp/QueryBusinessJs": {
  812. "get": {
  813. "security": [
  814. {
  815. "ApiKeyAuth": []
  816. }
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "企业风险管理(app)"
  823. ],
  824. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户ID",
  829. "name": "UserId",
  830. "in": "query",
  831. "required": true
  832. },
  833. {
  834. "type": "string",
  835. "description": "现货合同ID, 不填则查所有",
  836. "name": "relatedid",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "type": "array",
  845. "items": {
  846. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  847. }
  848. }
  849. },
  850. "500": {
  851. "description": "Internal Server Error",
  852. "schema": {
  853. "$ref": "#/definitions/app.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/Ermcp/QueryBusinessKx": {
  860. "get": {
  861. "security": [
  862. {
  863. "ApiKeyAuth": []
  864. }
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "企业风险管理(app)"
  871. ],
  872. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  873. "parameters": [
  874. {
  875. "type": "integer",
  876. "description": "用户ID",
  877. "name": "UserId",
  878. "in": "query",
  879. "required": true
  880. },
  881. {
  882. "type": "string",
  883. "description": "现货合同ID, 不填则查所有",
  884. "name": "relatedid",
  885. "in": "query"
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QueryChangeLog": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询变更记录",
  921. "parameters": [
  922. {
  923. "type": "string",
  924. "description": "用户ID",
  925. "name": "RelatedId",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryContract": {
  950. "get": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "企业风险管理(app)"
  961. ],
  962. "summary": "查询合同(采购和销售)",
  963. "parameters": [
  964. {
  965. "type": "integer",
  966. "description": "用户ID",
  967. "name": "userId",
  968. "in": "query",
  969. "required": true
  970. },
  971. {
  972. "type": "integer",
  973. "description": "合同类型 1-采购, -1-销售",
  974. "name": "contracttype",
  975. "in": "query",
  976. "required": true
  977. },
  978. {
  979. "type": "integer",
  980. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  981. "name": "querytype",
  982. "in": "query",
  983. "required": true
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "type": "array",
  991. "items": {
  992. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  993. }
  994. }
  995. },
  996. "500": {
  997. "description": "Internal Server Error",
  998. "schema": {
  999. "$ref": "#/definitions/app.Response"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/Ermcp/QueryExposureDetail": {
  1006. "get": {
  1007. "security": [
  1008. {
  1009. "ApiKeyAuth": []
  1010. }
  1011. ],
  1012. "produces": [
  1013. "application/json"
  1014. ],
  1015. "tags": [
  1016. "企业风险管理(app)"
  1017. ],
  1018. "summary": "查询敞口现货明细",
  1019. "parameters": [
  1020. {
  1021. "type": "integer",
  1022. "description": "所属机构ID",
  1023. "name": "areaUserId",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "integer",
  1029. "description": "套保商品",
  1030. "name": "middleGoodsId",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QueryExposureSpot": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "所属机构ID",
  1072. "name": "areaUserId",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryHedgePlan": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询套保计划",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "用户ID",
  1114. "name": "userId",
  1115. "in": "query",
  1116. "required": true
  1117. },
  1118. {
  1119. "type": "string",
  1120. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1121. "name": "HedgePlanStatus",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryRealtimeExposure": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询实时敞口",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构ID",
  1163. "name": "AreaUserID",
  1164. "in": "query",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "type": "array",
  1173. "items": {
  1174. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QuerySpotContract": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "企业风险管理(app)"
  1199. ],
  1200. "summary": "查询现货合同(对应现货合同菜单)",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "用户ID",
  1205. "name": "userId",
  1206. "in": "query",
  1207. "required": true
  1208. },
  1209. {
  1210. "type": "integer",
  1211. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1212. "name": "QueryType",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Ermcp/QueryUserInfo": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "企业风险管理(app)"
  1248. ],
  1249. "summary": "查询客户资料",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "所属机构用户ID",
  1254. "name": "MemberUserID",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "integer",
  1260. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1261. "name": "queryType",
  1262. "in": "query",
  1263. "required": true
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "OK",
  1269. "schema": {
  1270. "type": "array",
  1271. "items": {
  1272. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1273. }
  1274. }
  1275. },
  1276. "500": {
  1277. "description": "Internal Server Error",
  1278. "schema": {
  1279. "$ref": "#/definitions/app.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/Ermcp/QueryWrStandard": {
  1286. "get": {
  1287. "security": [
  1288. {
  1289. "ApiKeyAuth": []
  1290. }
  1291. ],
  1292. "produces": [
  1293. "application/json"
  1294. ],
  1295. "tags": [
  1296. "企业风险管理(app)"
  1297. ],
  1298. "summary": "查询现货商品",
  1299. "parameters": [
  1300. {
  1301. "type": "integer",
  1302. "description": "所属机构ID",
  1303. "name": "userid",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Erms2/QueryArbitrageStrategy": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "风险管理"
  1339. ],
  1340. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "账户ID",
  1345. "name": "userid",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "string",
  1351. "description": "商品组ID(品种ID)",
  1352. "name": "goodsgroupid",
  1353. "in": "query"
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Erms2/QueryInnerTradeDetail": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "风险管理"
  1384. ],
  1385. "summary": "查询内部成交单信息",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "资金账户",
  1390. "name": "accountid",
  1391. "in": "query",
  1392. "required": true
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1400. }
  1401. },
  1402. "500": {
  1403. "description": "Internal Server Error",
  1404. "schema": {
  1405. "$ref": "#/definitions/app.Response"
  1406. }
  1407. }
  1408. }
  1409. }
  1410. },
  1411. "/Erms2/QuerySpotContract": {
  1412. "get": {
  1413. "security": [
  1414. {
  1415. "ApiKeyAuth": []
  1416. }
  1417. ],
  1418. "produces": [
  1419. "application/json"
  1420. ],
  1421. "tags": [
  1422. "风险管理"
  1423. ],
  1424. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1425. "parameters": [
  1426. {
  1427. "type": "integer",
  1428. "description": "策略申请ID",
  1429. "name": "asapplyid",
  1430. "in": "query",
  1431. "required": true
  1432. },
  1433. {
  1434. "type": "integer",
  1435. "description": "现货合同ID",
  1436. "name": "spotcontractid",
  1437. "in": "query"
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1445. }
  1446. },
  1447. "500": {
  1448. "description": "Internal Server Error",
  1449. "schema": {
  1450. "$ref": "#/definitions/app.Response"
  1451. }
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/Erms3/AddErms2ASApply": {
  1457. "post": {
  1458. "security": [
  1459. {
  1460. "ApiKeyAuth": []
  1461. }
  1462. ],
  1463. "produces": [
  1464. "application/json"
  1465. ],
  1466. "tags": [
  1467. "风险管理v3"
  1468. ],
  1469. "summary": "新增期现套利业务申请",
  1470. "parameters": [
  1471. {
  1472. "description": "申请参数",
  1473. "name": "jsonBody",
  1474. "in": "body",
  1475. "required": true,
  1476. "schema": {
  1477. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1478. }
  1479. }
  1480. ],
  1481. "responses": {
  1482. "200": {
  1483. "description": "OK",
  1484. "schema": {
  1485. "$ref": "#/definitions/app.Response"
  1486. }
  1487. },
  1488. "500": {
  1489. "description": "Internal Server Error",
  1490. "schema": {
  1491. "$ref": "#/definitions/app.Response"
  1492. }
  1493. }
  1494. }
  1495. }
  1496. },
  1497. "/Erms3/AddErms2SpotTradeApply": {
  1498. "post": {
  1499. "security": [
  1500. {
  1501. "ApiKeyAuth": []
  1502. }
  1503. ],
  1504. "produces": [
  1505. "application/json"
  1506. ],
  1507. "tags": [
  1508. "风险管理v3"
  1509. ],
  1510. "summary": "新增现货贸易业务申请",
  1511. "parameters": [
  1512. {
  1513. "description": "申请参数",
  1514. "name": "jsonBody",
  1515. "in": "body",
  1516. "required": true,
  1517. "schema": {
  1518. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1519. }
  1520. }
  1521. ],
  1522. "responses": {
  1523. "200": {
  1524. "description": "OK",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. },
  1529. "500": {
  1530. "description": "Internal Server Error",
  1531. "schema": {
  1532. "$ref": "#/definitions/app.Response"
  1533. }
  1534. }
  1535. }
  1536. }
  1537. },
  1538. "/Erms3/AddSpotContractApply": {
  1539. "post": {
  1540. "security": [
  1541. {
  1542. "ApiKeyAuth": []
  1543. }
  1544. ],
  1545. "produces": [
  1546. "application/json"
  1547. ],
  1548. "tags": [
  1549. "风险管理v3"
  1550. ],
  1551. "summary": "新增现货合同申请",
  1552. "parameters": [
  1553. {
  1554. "description": "申请参数",
  1555. "name": "jsonBody",
  1556. "in": "body",
  1557. "required": true,
  1558. "schema": {
  1559. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1560. }
  1561. }
  1562. ],
  1563. "responses": {
  1564. "200": {
  1565. "description": "OK",
  1566. "schema": {
  1567. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Erms3/AddUserInfoApply": {
  1580. "post": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "风险管理v3"
  1591. ],
  1592. "summary": "新增客户申请",
  1593. "parameters": [
  1594. {
  1595. "description": "申请参数",
  1596. "name": "jsonBody",
  1597. "in": "body",
  1598. "required": true,
  1599. "schema": {
  1600. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1601. }
  1602. }
  1603. ],
  1604. "responses": {
  1605. "200": {
  1606. "description": "OK",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. },
  1611. "500": {
  1612. "description": "Internal Server Error",
  1613. "schema": {
  1614. "$ref": "#/definitions/app.Response"
  1615. }
  1616. }
  1617. }
  1618. }
  1619. },
  1620. "/Erms3/QueryBusinessInfo": {
  1621. "get": {
  1622. "security": [
  1623. {
  1624. "ApiKeyAuth": []
  1625. }
  1626. ],
  1627. "produces": [
  1628. "application/json"
  1629. ],
  1630. "tags": [
  1631. "风险管理v3"
  1632. ],
  1633. "summary": "查询业务表单数据",
  1634. "parameters": [
  1635. {
  1636. "type": "string",
  1637. "description": "资金账号ID列表,用逗号分隔",
  1638. "name": "accountids",
  1639. "in": "query",
  1640. "required": true
  1641. },
  1642. {
  1643. "type": "integer",
  1644. "description": "状态,0为未结束 1为已结束",
  1645. "name": "status",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Erms3/QueryPendingAuditContract": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "风险管理v3"
  1681. ],
  1682. "summary": "查询待审核合同",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "资金账号ID列表,逗号隔开",
  1687. "name": "accountids",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "合同类型 1-采购 -1-销售",
  1694. "name": "contracttype",
  1695. "in": "query",
  1696. "required": true
  1697. },
  1698. {
  1699. "type": "integer",
  1700. "description": "合同模式 1-普通 2-回购",
  1701. "name": "contractmode",
  1702. "in": "query",
  1703. "required": true
  1704. }
  1705. ],
  1706. "responses": {
  1707. "200": {
  1708. "description": "OK",
  1709. "schema": {
  1710. "type": "array",
  1711. "items": {
  1712. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1713. }
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/Erms3/QueryPendingBusiness": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "风险管理v3"
  1737. ],
  1738. "summary": "查询待审核基差贸易业务",
  1739. "parameters": [
  1740. {
  1741. "type": "string",
  1742. "description": "资金账号ID列表,逗号隔开",
  1743. "name": "accountids",
  1744. "in": "query",
  1745. "required": true
  1746. }
  1747. ],
  1748. "responses": {
  1749. "200": {
  1750. "description": "OK",
  1751. "schema": {
  1752. "type": "array",
  1753. "items": {
  1754. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1755. }
  1756. }
  1757. },
  1758. "500": {
  1759. "description": "Internal Server Error",
  1760. "schema": {
  1761. "$ref": "#/definitions/app.Response"
  1762. }
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "/Erms3/QuerySpotContractAppleForm": {
  1768. "get": {
  1769. "security": [
  1770. {
  1771. "ApiKeyAuth": []
  1772. }
  1773. ],
  1774. "produces": [
  1775. "application/json"
  1776. ],
  1777. "tags": [
  1778. "风险管理v3"
  1779. ],
  1780. "summary": "查询合同申请表单数据",
  1781. "parameters": [
  1782. {
  1783. "type": "integer",
  1784. "description": "登录账号",
  1785. "name": "loginID",
  1786. "in": "query",
  1787. "required": true
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/app.Response"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/Erms3/QuerySpotContractDetail": {
  1807. "get": {
  1808. "security": [
  1809. {
  1810. "ApiKeyAuth": []
  1811. }
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "风险管理v3"
  1818. ],
  1819. "summary": "查询合同详细信息",
  1820. "parameters": [
  1821. {
  1822. "type": "string",
  1823. "description": "资金账号ID列表,用逗号分隔",
  1824. "name": "accountids",
  1825. "in": "query",
  1826. "required": true
  1827. },
  1828. {
  1829. "type": "integer",
  1830. "description": "合同类型,1为采购合同 -1为销售合同",
  1831. "name": "contracttype",
  1832. "in": "query",
  1833. "required": true
  1834. },
  1835. {
  1836. "type": "integer",
  1837. "description": "合同模式,1为普通合同 2为回购销售合同",
  1838. "name": "contractmode",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "状态,0为履约中 1为已完成",
  1845. "name": "status",
  1846. "in": "query",
  1847. "required": true
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "type": "array",
  1855. "items": {
  1856. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1857. }
  1858. }
  1859. },
  1860. "500": {
  1861. "description": "Internal Server Error",
  1862. "schema": {
  1863. "$ref": "#/definitions/app.Response"
  1864. }
  1865. }
  1866. }
  1867. }
  1868. },
  1869. "/Erms3/QueryUserInfoApplies": {
  1870. "get": {
  1871. "security": [
  1872. {
  1873. "ApiKeyAuth": []
  1874. }
  1875. ],
  1876. "produces": [
  1877. "application/json"
  1878. ],
  1879. "tags": [
  1880. "风险管理v3"
  1881. ],
  1882. "summary": "客户申请信息查询",
  1883. "parameters": [
  1884. {
  1885. "type": "integer",
  1886. "description": "页码",
  1887. "name": "page",
  1888. "in": "query"
  1889. },
  1890. {
  1891. "type": "integer",
  1892. "description": "每页条数",
  1893. "name": "pagesize",
  1894. "in": "query"
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "客户名称,支持模糊查询",
  1899. "name": "userName",
  1900. "in": "query"
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Erms3/QueryUserInfos": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "风险管理v3"
  1931. ],
  1932. "summary": "客户信息查询",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "页码",
  1937. "name": "page",
  1938. "in": "query"
  1939. },
  1940. {
  1941. "type": "integer",
  1942. "description": "每页条数",
  1943. "name": "pagesize",
  1944. "in": "query"
  1945. },
  1946. {
  1947. "type": "string",
  1948. "description": "客户名称,支持模糊查询",
  1949. "name": "userName",
  1950. "in": "query"
  1951. }
  1952. ],
  1953. "responses": {
  1954. "200": {
  1955. "description": "OK",
  1956. "schema": {
  1957. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1958. }
  1959. },
  1960. "500": {
  1961. "description": "Internal Server Error",
  1962. "schema": {
  1963. "$ref": "#/definitions/app.Response"
  1964. }
  1965. }
  1966. }
  1967. }
  1968. },
  1969. "/HSBY/GetHsbyMyCount": {
  1970. "get": {
  1971. "security": [
  1972. {
  1973. "ApiKeyAuth": []
  1974. }
  1975. ],
  1976. "description": "说明: 不包括已完成的数量。",
  1977. "produces": [
  1978. "application/json"
  1979. ],
  1980. "tags": [
  1981. "定制【海商报业】"
  1982. ],
  1983. "summary": "获取我的订单与包裹数量",
  1984. "parameters": [
  1985. {
  1986. "type": "string",
  1987. "description": "资金账户列表,格式:1,2,3",
  1988. "name": "accountIDs",
  1989. "in": "query",
  1990. "required": true
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1998. }
  1999. },
  2000. "500": {
  2001. "description": "Internal Server Error",
  2002. "schema": {
  2003. "$ref": "#/definitions/app.Response"
  2004. }
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "/HSBY/QueryClientFixedADConfigs": {
  2010. "get": {
  2011. "security": [
  2012. {
  2013. "ApiKeyAuth": []
  2014. }
  2015. ],
  2016. "produces": [
  2017. "application/json"
  2018. ],
  2019. "tags": [
  2020. "定制【海商报业】"
  2021. ],
  2022. "summary": "获取终端固定广告配置",
  2023. "responses": {
  2024. "200": {
  2025. "description": "OK",
  2026. "schema": {
  2027. "$ref": "#/definitions/models.Clientfixedadconfig"
  2028. }
  2029. },
  2030. "500": {
  2031. "description": "Internal Server Error",
  2032. "schema": {
  2033. "$ref": "#/definitions/app.Response"
  2034. }
  2035. }
  2036. }
  2037. }
  2038. },
  2039. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2040. "get": {
  2041. "security": [
  2042. {
  2043. "ApiKeyAuth": []
  2044. }
  2045. ],
  2046. "produces": [
  2047. "application/json"
  2048. ],
  2049. "tags": [
  2050. "定制【海商报业】"
  2051. ],
  2052. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2053. "parameters": [
  2054. {
  2055. "type": "integer",
  2056. "description": "页码",
  2057. "name": "page",
  2058. "in": "query"
  2059. },
  2060. {
  2061. "type": "integer",
  2062. "description": "每页条数",
  2063. "name": "pagesize",
  2064. "in": "query"
  2065. },
  2066. {
  2067. "type": "string",
  2068. "description": "资金账户列表,格式:1,2,3",
  2069. "name": "accountIDs",
  2070. "in": "query",
  2071. "required": true
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "description": "说明:查询结果已按委托价格和委托时间排序",
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "定制【海商报业】"
  2103. ],
  2104. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "商品ID",
  2109. "name": "goodsID",
  2110. "in": "query",
  2111. "required": true
  2112. },
  2113. {
  2114. "type": "string",
  2115. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2116. "name": "accountIDs",
  2117. "in": "query"
  2118. },
  2119. {
  2120. "type": "integer",
  2121. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2122. "name": "buyOrSell",
  2123. "in": "query"
  2124. },
  2125. {
  2126. "type": "number",
  2127. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2128. "name": "price",
  2129. "in": "query"
  2130. },
  2131. {
  2132. "type": "integer",
  2133. "description": "档位,不传则默认为3档",
  2134. "name": "speed",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2143. }
  2144. },
  2145. "500": {
  2146. "description": "Internal Server Error",
  2147. "schema": {
  2148. "$ref": "#/definitions/app.Response"
  2149. }
  2150. }
  2151. }
  2152. }
  2153. },
  2154. "/HSBY/QueryHsbyListingGoodsDetail": {
  2155. "get": {
  2156. "security": [
  2157. {
  2158. "ApiKeyAuth": []
  2159. }
  2160. ],
  2161. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "定制【海商报业】"
  2167. ],
  2168. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2169. "parameters": [
  2170. {
  2171. "type": "integer",
  2172. "description": "商品ID",
  2173. "name": "goodsID",
  2174. "in": "query",
  2175. "required": true
  2176. },
  2177. {
  2178. "type": "integer",
  2179. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2180. "name": "accountID",
  2181. "in": "query"
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "OK",
  2187. "schema": {
  2188. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2189. }
  2190. },
  2191. "500": {
  2192. "description": "Internal Server Error",
  2193. "schema": {
  2194. "$ref": "#/definitions/app.Response"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2201. "get": {
  2202. "security": [
  2203. {
  2204. "ApiKeyAuth": []
  2205. }
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "定制【海商报业】"
  2212. ],
  2213. "summary": "查询三级市场(商城)商品信息详情",
  2214. "parameters": [
  2215. {
  2216. "type": "integer",
  2217. "description": "委托单号",
  2218. "name": "orderID",
  2219. "in": "query",
  2220. "required": true
  2221. },
  2222. {
  2223. "type": "integer",
  2224. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2225. "name": "accountID",
  2226. "in": "query"
  2227. }
  2228. ],
  2229. "responses": {
  2230. "200": {
  2231. "description": "OK",
  2232. "schema": {
  2233. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2234. }
  2235. },
  2236. "500": {
  2237. "description": "Internal Server Error",
  2238. "schema": {
  2239. "$ref": "#/definitions/app.Response"
  2240. }
  2241. }
  2242. }
  2243. }
  2244. },
  2245. "/HSBY/QueryHsbyMarketGoodses": {
  2246. "get": {
  2247. "security": [
  2248. {
  2249. "ApiKeyAuth": []
  2250. }
  2251. ],
  2252. "produces": [
  2253. "application/json"
  2254. ],
  2255. "tags": [
  2256. "定制【海商报业】"
  2257. ],
  2258. "summary": "查询特卖商品列表(三级商城)",
  2259. "parameters": [
  2260. {
  2261. "type": "integer",
  2262. "description": "页码",
  2263. "name": "page",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "integer",
  2268. "description": "每页条数",
  2269. "name": "pagesize",
  2270. "in": "query"
  2271. },
  2272. {
  2273. "type": "string",
  2274. "description": "市场ID列表,格式:1,2,3",
  2275. "name": "marketIDs",
  2276. "in": "query",
  2277. "required": true
  2278. },
  2279. {
  2280. "type": "integer",
  2281. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2282. "name": "accountID",
  2283. "in": "query",
  2284. "required": true
  2285. },
  2286. {
  2287. "type": "integer",
  2288. "description": "类别ID",
  2289. "name": "categoryID",
  2290. "in": "query"
  2291. },
  2292. {
  2293. "type": "string",
  2294. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2295. "name": "goodsIDs",
  2296. "in": "query"
  2297. },
  2298. {
  2299. "type": "integer",
  2300. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2301. "name": "couponTypeID",
  2302. "in": "query"
  2303. }
  2304. ],
  2305. "responses": {
  2306. "200": {
  2307. "description": "OK",
  2308. "schema": {
  2309. "$ref": "#/definitions/models.HsbyMarketGoods"
  2310. }
  2311. },
  2312. "500": {
  2313. "description": "Internal Server Error",
  2314. "schema": {
  2315. "$ref": "#/definitions/app.Response"
  2316. }
  2317. }
  2318. }
  2319. }
  2320. },
  2321. "/HSBY/QueryHsbyMarkets": {
  2322. "get": {
  2323. "security": [
  2324. {
  2325. "ApiKeyAuth": []
  2326. }
  2327. ],
  2328. "produces": [
  2329. "application/json"
  2330. ],
  2331. "tags": [
  2332. "定制【海商报业】"
  2333. ],
  2334. "summary": "查询海商报业相关市场信息",
  2335. "responses": {
  2336. "200": {
  2337. "description": "OK",
  2338. "schema": {
  2339. "$ref": "#/definitions/models.HsbyMarketInfo"
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2359. "produces": [
  2360. "application/json"
  2361. ],
  2362. "tags": [
  2363. "定制【海商报业】"
  2364. ],
  2365. "summary": "查询“我的订单”信息",
  2366. "parameters": [
  2367. {
  2368. "type": "string",
  2369. "description": "资金账户列表,格式:1,2,3",
  2370. "name": "accountIDs",
  2371. "in": "query",
  2372. "required": true
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2377. "name": "myBuyStatus",
  2378. "in": "query"
  2379. }
  2380. ],
  2381. "responses": {
  2382. "200": {
  2383. "description": "OK",
  2384. "schema": {
  2385. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2386. }
  2387. },
  2388. "500": {
  2389. "description": "Internal Server Error",
  2390. "schema": {
  2391. "$ref": "#/definitions/app.Response"
  2392. }
  2393. }
  2394. }
  2395. }
  2396. },
  2397. "/HSBY/QueryHsbyMyGoods": {
  2398. "get": {
  2399. "security": [
  2400. {
  2401. "ApiKeyAuth": []
  2402. }
  2403. ],
  2404. "produces": [
  2405. "application/json"
  2406. ],
  2407. "tags": [
  2408. "定制【海商报业】"
  2409. ],
  2410. "summary": "查询“我的商品”信息",
  2411. "parameters": [
  2412. {
  2413. "type": "string",
  2414. "description": "资金账户列表,格式:1,2,3",
  2415. "name": "accountIDs",
  2416. "in": "query",
  2417. "required": true
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "$ref": "#/definitions/models.HsbyMyGoods"
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/HSBY/QueryHsbyMyPackages": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "定制【海商报业】"
  2448. ],
  2449. "summary": "查询我的包裹信息",
  2450. "parameters": [
  2451. {
  2452. "type": "string",
  2453. "description": "资金账户列表,格式:1,2,3",
  2454. "name": "accountIDs",
  2455. "in": "query",
  2456. "required": true
  2457. },
  2458. {
  2459. "type": "integer",
  2460. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2461. "name": "takeOrderStatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "$ref": "#/definitions/models.HsbyMyPackage"
  2470. }
  2471. },
  2472. "500": {
  2473. "description": "Internal Server Error",
  2474. "schema": {
  2475. "$ref": "#/definitions/app.Response"
  2476. }
  2477. }
  2478. }
  2479. }
  2480. },
  2481. "/HSBY/QueryHsbyPreGoodsDetail": {
  2482. "get": {
  2483. "security": [
  2484. {
  2485. "ApiKeyAuth": []
  2486. }
  2487. ],
  2488. "produces": [
  2489. "application/json"
  2490. ],
  2491. "tags": [
  2492. "定制【海商报业】"
  2493. ],
  2494. "summary": "查询一级市场(预售)商品信息详情",
  2495. "parameters": [
  2496. {
  2497. "type": "integer",
  2498. "description": "商品ID",
  2499. "name": "goodsID",
  2500. "in": "query",
  2501. "required": true
  2502. },
  2503. {
  2504. "type": "integer",
  2505. "description": "资金账户,主要用于获取预售商品购买上限",
  2506. "name": "accountID",
  2507. "in": "query"
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/HSBY/QueryHsbyPreGoodses": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "定制【海商报业】"
  2539. ],
  2540. "summary": "查询新品上市商品列表(一级市场预售)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "页码",
  2545. "name": "page",
  2546. "in": "query"
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "每页条数",
  2551. "name": "pagesize",
  2552. "in": "query"
  2553. },
  2554. {
  2555. "type": "string",
  2556. "description": "市场ID列表,格式:1,2,3",
  2557. "name": "marketIDs",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "integer",
  2563. "description": "目的地(省)ID",
  2564. "name": "descProvinceID",
  2565. "in": "query"
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "目的地(市)ID",
  2570. "name": "descCityID",
  2571. "in": "query"
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "OK",
  2577. "schema": {
  2578. "$ref": "#/definitions/models.HsbyPreGoods"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/HSBY/QueryHsbySellMyDetails": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2598. "produces": [
  2599. "application/json"
  2600. ],
  2601. "tags": [
  2602. "定制【海商报业】"
  2603. ],
  2604. "summary": "查询\"我的闲置\"单据信息",
  2605. "parameters": [
  2606. {
  2607. "type": "integer",
  2608. "description": "页码",
  2609. "name": "page",
  2610. "in": "query"
  2611. },
  2612. {
  2613. "type": "integer",
  2614. "description": "每页条数",
  2615. "name": "pagesize",
  2616. "in": "query"
  2617. },
  2618. {
  2619. "type": "string",
  2620. "description": "资金账户列表,格式:1,2,3",
  2621. "name": "accountIDs",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "integer",
  2627. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2628. "name": "orderType",
  2629. "in": "query"
  2630. }
  2631. ],
  2632. "responses": {
  2633. "200": {
  2634. "description": "OK",
  2635. "schema": {
  2636. "$ref": "#/definitions/models.HsbySellMyDetail"
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/HSBY/QueryHsbyTopGoodses": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "定制【海商报业】"
  2661. ],
  2662. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2663. "parameters": [
  2664. {
  2665. "type": "integer",
  2666. "description": "页码",
  2667. "name": "page",
  2668. "in": "query"
  2669. },
  2670. {
  2671. "type": "integer",
  2672. "description": "每页条数",
  2673. "name": "pagesize",
  2674. "in": "query"
  2675. },
  2676. {
  2677. "type": "string",
  2678. "description": "市场ID列表,格式:1,2,3",
  2679. "name": "marketIDs",
  2680. "in": "query",
  2681. "required": true
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "目的地(省)ID",
  2686. "name": "descProvinceID",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "integer",
  2691. "description": "目的地(市)ID",
  2692. "name": "descCityID",
  2693. "in": "query"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/models.HsbyTopGoods"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "定制【海商报业】"
  2725. ],
  2726. "summary": "查询游客特卖商品列表(三级商城)",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "页码",
  2731. "name": "page",
  2732. "in": "query"
  2733. },
  2734. {
  2735. "type": "integer",
  2736. "description": "每页条数",
  2737. "name": "pagesize",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "string",
  2742. "description": "市场ID列表,格式:1,2,3",
  2743. "name": "marketIDs",
  2744. "in": "query",
  2745. "required": true
  2746. },
  2747. {
  2748. "type": "integer",
  2749. "description": "类别ID",
  2750. "name": "categoryID",
  2751. "in": "query"
  2752. },
  2753. {
  2754. "type": "string",
  2755. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2756. "name": "goodsIDs",
  2757. "in": "query"
  2758. }
  2759. ],
  2760. "responses": {
  2761. "200": {
  2762. "description": "OK",
  2763. "schema": {
  2764. "$ref": "#/definitions/models.HsbyMarketGoods"
  2765. }
  2766. },
  2767. "500": {
  2768. "description": "Internal Server Error",
  2769. "schema": {
  2770. "$ref": "#/definitions/app.Response"
  2771. }
  2772. }
  2773. }
  2774. }
  2775. },
  2776. "/HSBY/QueryMyCollectionOrders": {
  2777. "get": {
  2778. "security": [
  2779. {
  2780. "ApiKeyAuth": []
  2781. }
  2782. ],
  2783. "produces": [
  2784. "application/json"
  2785. ],
  2786. "tags": [
  2787. "定制【海商报业】"
  2788. ],
  2789. "summary": "我的闲置中收款信息查询",
  2790. "parameters": [
  2791. {
  2792. "type": "integer",
  2793. "description": "页码",
  2794. "name": "page",
  2795. "in": "query"
  2796. },
  2797. {
  2798. "type": "integer",
  2799. "description": "每页条数",
  2800. "name": "pagesize",
  2801. "in": "query"
  2802. },
  2803. {
  2804. "type": "string",
  2805. "description": "资金账户,格式:1,2,3",
  2806. "name": "accountIDs",
  2807. "in": "query",
  2808. "required": true
  2809. }
  2810. ],
  2811. "responses": {
  2812. "200": {
  2813. "description": "OK",
  2814. "schema": {
  2815. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2816. }
  2817. },
  2818. "500": {
  2819. "description": "Internal Server Error",
  2820. "schema": {
  2821. "$ref": "#/definitions/app.Response"
  2822. }
  2823. }
  2824. }
  2825. }
  2826. },
  2827. "/HSBY/QueryMyCouponHolds": {
  2828. "get": {
  2829. "security": [
  2830. {
  2831. "ApiKeyAuth": []
  2832. }
  2833. ],
  2834. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2835. "produces": [
  2836. "application/json"
  2837. ],
  2838. "tags": [
  2839. "定制【海商报业】"
  2840. ],
  2841. "summary": "我的优惠卷持仓查询",
  2842. "parameters": [
  2843. {
  2844. "type": "string",
  2845. "description": "资金账户列表,格式:1,2,3",
  2846. "name": "accountIDs",
  2847. "in": "query",
  2848. "required": true
  2849. },
  2850. {
  2851. "type": "string",
  2852. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2853. "name": "holdStatus",
  2854. "in": "query"
  2855. }
  2856. ],
  2857. "responses": {
  2858. "200": {
  2859. "description": "OK",
  2860. "schema": {
  2861. "$ref": "#/definitions/models.MyCouponHold"
  2862. }
  2863. },
  2864. "500": {
  2865. "description": "Internal Server Error",
  2866. "schema": {
  2867. "$ref": "#/definitions/app.Response"
  2868. }
  2869. }
  2870. }
  2871. }
  2872. },
  2873. "/HSBY/QueryMyCoupons": {
  2874. "get": {
  2875. "security": [
  2876. {
  2877. "ApiKeyAuth": []
  2878. }
  2879. ],
  2880. "produces": [
  2881. "application/json"
  2882. ],
  2883. "tags": [
  2884. "定制【海商报业】"
  2885. ],
  2886. "summary": "我的优惠卷查询",
  2887. "parameters": [
  2888. {
  2889. "type": "string",
  2890. "description": "资金账户列表,格式:1,2,3",
  2891. "name": "accountIDs",
  2892. "in": "query",
  2893. "required": true
  2894. },
  2895. {
  2896. "type": "integer",
  2897. "description": "商品ID, 一般与sellUserID配套传入",
  2898. "name": "goodsID",
  2899. "in": "query"
  2900. },
  2901. {
  2902. "type": "integer",
  2903. "description": "卖方UserID",
  2904. "name": "sellUserID",
  2905. "in": "query"
  2906. }
  2907. ],
  2908. "responses": {
  2909. "200": {
  2910. "description": "OK",
  2911. "schema": {
  2912. "$ref": "#/definitions/models.MyCoupon"
  2913. }
  2914. },
  2915. "500": {
  2916. "description": "Internal Server Error",
  2917. "schema": {
  2918. "$ref": "#/definitions/app.Response"
  2919. }
  2920. }
  2921. }
  2922. }
  2923. },
  2924. "/HSBY/QueryMyPayOrders": {
  2925. "get": {
  2926. "security": [
  2927. {
  2928. "ApiKeyAuth": []
  2929. }
  2930. ],
  2931. "produces": [
  2932. "application/json"
  2933. ],
  2934. "tags": [
  2935. "定制【海商报业】"
  2936. ],
  2937. "summary": "获取我的订单中待付款信息",
  2938. "parameters": [
  2939. {
  2940. "type": "integer",
  2941. "description": "页码",
  2942. "name": "page",
  2943. "in": "query"
  2944. },
  2945. {
  2946. "type": "integer",
  2947. "description": "每页条数",
  2948. "name": "pagesize",
  2949. "in": "query"
  2950. },
  2951. {
  2952. "type": "string",
  2953. "description": "资金账户列表,格式:1,2,3",
  2954. "name": "accountIDs",
  2955. "in": "query",
  2956. "required": true
  2957. },
  2958. {
  2959. "type": "integer",
  2960. "description": "买方委托单号",
  2961. "name": "buyOrderID",
  2962. "in": "query"
  2963. },
  2964. {
  2965. "type": "integer",
  2966. "description": "卖方委托单号",
  2967. "name": "sellOrderID",
  2968. "in": "query"
  2969. }
  2970. ],
  2971. "responses": {
  2972. "200": {
  2973. "description": "OK",
  2974. "schema": {
  2975. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2976. }
  2977. },
  2978. "500": {
  2979. "description": "Internal Server Error",
  2980. "schema": {
  2981. "$ref": "#/definitions/app.Response"
  2982. }
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "/HSBY/QueryMyUsedCoupon": {
  2988. "get": {
  2989. "security": [
  2990. {
  2991. "ApiKeyAuth": []
  2992. }
  2993. ],
  2994. "produces": [
  2995. "application/json"
  2996. ],
  2997. "tags": [
  2998. "定制【海商报业】"
  2999. ],
  3000. "summary": "已使用优惠卷查询",
  3001. "parameters": [
  3002. {
  3003. "type": "string",
  3004. "description": "资金账户列表,格式:1,2,3",
  3005. "name": "accountIDs",
  3006. "in": "query",
  3007. "required": true
  3008. }
  3009. ],
  3010. "responses": {
  3011. "200": {
  3012. "description": "OK",
  3013. "schema": {
  3014. "$ref": "#/definitions/models.MyUsedCoupon"
  3015. }
  3016. },
  3017. "500": {
  3018. "description": "Internal Server Error",
  3019. "schema": {
  3020. "$ref": "#/definitions/app.Response"
  3021. }
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/HSBY/QueryProvincesAndCities": {
  3027. "get": {
  3028. "security": [
  3029. {
  3030. "ApiKeyAuth": []
  3031. }
  3032. ],
  3033. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "定制【海商报业】"
  3039. ],
  3040. "summary": "查询省市信息(不包括区)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "省ID",
  3045. "name": "provinceID",
  3046. "in": "query"
  3047. }
  3048. ],
  3049. "responses": {
  3050. "200": {
  3051. "description": "OK",
  3052. "schema": {
  3053. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3054. }
  3055. },
  3056. "500": {
  3057. "description": "Internal Server Error",
  3058. "schema": {
  3059. "$ref": "#/definitions/app.Response"
  3060. }
  3061. }
  3062. }
  3063. }
  3064. },
  3065. "/HSBY/SetHsbyMyPackagesStatus": {
  3066. "post": {
  3067. "security": [
  3068. {
  3069. "ApiKeyAuth": []
  3070. }
  3071. ],
  3072. "produces": [
  3073. "application/json"
  3074. ],
  3075. "tags": [
  3076. "定制【海商报业】"
  3077. ],
  3078. "summary": "设置我的包裹已收货状态",
  3079. "parameters": [
  3080. {
  3081. "type": "string",
  3082. "description": "提货单号",
  3083. "name": "takeOrderID",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "integer",
  3089. "description": "资金账号",
  3090. "name": "accountID",
  3091. "in": "query",
  3092. "required": true
  3093. }
  3094. ],
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "$ref": "#/definitions/app.Response"
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Market/QueryMarketRun": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "通用市场"
  3123. ],
  3124. "summary": "查询市场运行信息",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "市场ID,不传返回所有",
  3129. "name": "marketID",
  3130. "in": "query"
  3131. }
  3132. ],
  3133. "responses": {
  3134. "200": {
  3135. "description": "OK",
  3136. "schema": {
  3137. "$ref": "#/definitions/models.Marketrun"
  3138. }
  3139. },
  3140. "500": {
  3141. "description": "Internal Server Error",
  3142. "schema": {
  3143. "$ref": "#/definitions/app.Response"
  3144. }
  3145. }
  3146. }
  3147. }
  3148. },
  3149. "/Order/QueryHisTradeDetail": {
  3150. "get": {
  3151. "security": [
  3152. {
  3153. "ApiKeyAuth": []
  3154. }
  3155. ],
  3156. "produces": [
  3157. "application/json"
  3158. ],
  3159. "tags": [
  3160. "通用单据"
  3161. ],
  3162. "summary": "历史成交单查询(合约市场)",
  3163. "parameters": [
  3164. {
  3165. "type": "string",
  3166. "description": "资金账户 - 格式:1,2,3",
  3167. "name": "accountID",
  3168. "in": "query",
  3169. "required": true
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "成交单号",
  3174. "name": "tradeID",
  3175. "in": "query"
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "委托单号",
  3180. "name": "orderID",
  3181. "in": "query"
  3182. },
  3183. {
  3184. "type": "string",
  3185. "description": "交易模式 - 格式:1,2,3",
  3186. "name": "tradeMode",
  3187. "in": "query"
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "委托单据类型",
  3192. "name": "buildType",
  3193. "in": "query"
  3194. },
  3195. {
  3196. "type": "string",
  3197. "description": "成交类别 - 格式:1,2,3",
  3198. "name": "tradeType",
  3199. "in": "query"
  3200. },
  3201. {
  3202. "type": "string",
  3203. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3204. "name": "startDate",
  3205. "in": "query"
  3206. },
  3207. {
  3208. "type": "string",
  3209. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3210. "name": "endDate",
  3211. "in": "query"
  3212. }
  3213. ],
  3214. "responses": {
  3215. "200": {
  3216. "description": "OK",
  3217. "schema": {
  3218. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Order/QueryHisTradeOrderDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "通用单据"
  3242. ],
  3243. "summary": "历史委托单查询请求(合约市场)",
  3244. "parameters": [
  3245. {
  3246. "type": "string",
  3247. "description": "资金账户 - 格式:1,2,3",
  3248. "name": "accountID",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "string",
  3254. "description": "交易模式 - 格式:1,2,3",
  3255. "name": "tradeMode",
  3256. "in": "query"
  3257. },
  3258. {
  3259. "type": "string",
  3260. "description": "委托状态 - 格式:1,2,3",
  3261. "name": "orderStatus",
  3262. "in": "query"
  3263. },
  3264. {
  3265. "type": "integer",
  3266. "description": "委托单号",
  3267. "name": "orderID",
  3268. "in": "query"
  3269. },
  3270. {
  3271. "type": "string",
  3272. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3273. "name": "startDate",
  3274. "in": "query"
  3275. },
  3276. {
  3277. "type": "string",
  3278. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3279. "name": "endDate",
  3280. "in": "query"
  3281. }
  3282. ],
  3283. "responses": {
  3284. "200": {
  3285. "description": "OK",
  3286. "schema": {
  3287. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Order/QueryTradeDetail": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "通用单据"
  3311. ],
  3312. "summary": "成交单查询(合约市场)",
  3313. "parameters": [
  3314. {
  3315. "type": "string",
  3316. "description": "资金账户 - 格式:1,2,3",
  3317. "name": "accountID",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "成交单号",
  3324. "name": "tradeID",
  3325. "in": "query"
  3326. },
  3327. {
  3328. "type": "integer",
  3329. "description": "委托单号",
  3330. "name": "orderID",
  3331. "in": "query"
  3332. },
  3333. {
  3334. "type": "string",
  3335. "description": "交易模式 - 格式:1,2,3",
  3336. "name": "tradeMode",
  3337. "in": "query"
  3338. },
  3339. {
  3340. "type": "integer",
  3341. "description": "委托单据类型",
  3342. "name": "buildType",
  3343. "in": "query"
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "成交类别 - 格式:1,2,3",
  3348. "name": "tradeType",
  3349. "in": "query"
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3357. }
  3358. },
  3359. "500": {
  3360. "description": "Internal Server Error",
  3361. "schema": {
  3362. "$ref": "#/definitions/app.Response"
  3363. }
  3364. }
  3365. }
  3366. }
  3367. },
  3368. "/Order/QueryTradeOrderDetail": {
  3369. "get": {
  3370. "security": [
  3371. {
  3372. "ApiKeyAuth": []
  3373. }
  3374. ],
  3375. "produces": [
  3376. "application/json"
  3377. ],
  3378. "tags": [
  3379. "通用单据"
  3380. ],
  3381. "summary": "委托单查询请求(合约市场)",
  3382. "parameters": [
  3383. {
  3384. "type": "string",
  3385. "description": "资金账户 - 格式:1,2,3",
  3386. "name": "accountID",
  3387. "in": "query",
  3388. "required": true
  3389. },
  3390. {
  3391. "type": "string",
  3392. "description": "交易模式 - 格式:1,2,3",
  3393. "name": "tradeMode",
  3394. "in": "query"
  3395. },
  3396. {
  3397. "type": "string",
  3398. "description": "委托状态 - 格式:1,2,3",
  3399. "name": "orderStatus",
  3400. "in": "query"
  3401. },
  3402. {
  3403. "type": "integer",
  3404. "description": "委托单号",
  3405. "name": "orderID",
  3406. "in": "query"
  3407. }
  3408. ],
  3409. "responses": {
  3410. "200": {
  3411. "description": "OK",
  3412. "schema": {
  3413. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3414. }
  3415. },
  3416. "500": {
  3417. "description": "Internal Server Error",
  3418. "schema": {
  3419. "$ref": "#/definitions/app.Response"
  3420. }
  3421. }
  3422. }
  3423. }
  3424. },
  3425. "/Order/QueryTradePosition": {
  3426. "get": {
  3427. "security": [
  3428. {
  3429. "ApiKeyAuth": []
  3430. }
  3431. ],
  3432. "produces": [
  3433. "application/json"
  3434. ],
  3435. "tags": [
  3436. "通用单据"
  3437. ],
  3438. "summary": "持仓汇总查询(合约市场)",
  3439. "parameters": [
  3440. {
  3441. "type": "string",
  3442. "description": "资金账户 - 格式:1,2,3",
  3443. "name": "accountID",
  3444. "in": "query",
  3445. "required": true
  3446. },
  3447. {
  3448. "type": "string",
  3449. "description": "交易模式 - 格式:1,2,3",
  3450. "name": "tradeMode",
  3451. "in": "query"
  3452. }
  3453. ],
  3454. "responses": {
  3455. "200": {
  3456. "description": "OK",
  3457. "schema": {
  3458. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3459. }
  3460. },
  3461. "500": {
  3462. "description": "Internal Server Error",
  3463. "schema": {
  3464. "$ref": "#/definitions/app.Response"
  3465. }
  3466. }
  3467. }
  3468. }
  3469. },
  3470. "/Quote/QueryHistoryDatas": {
  3471. "get": {
  3472. "security": [
  3473. {
  3474. "ApiKeyAuth": []
  3475. }
  3476. ],
  3477. "produces": [
  3478. "application/json"
  3479. ],
  3480. "tags": [
  3481. "行情服务"
  3482. ],
  3483. "summary": "查询行情历史数据",
  3484. "parameters": [
  3485. {
  3486. "type": "integer",
  3487. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3488. "name": "cycleType",
  3489. "in": "query",
  3490. "required": true
  3491. },
  3492. {
  3493. "type": "string",
  3494. "description": "商品代码",
  3495. "name": "goodsCode",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "string",
  3501. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3502. "name": "startTime",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "string",
  3507. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3508. "name": "endTime",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "条数",
  3514. "name": "count",
  3515. "in": "query"
  3516. },
  3517. {
  3518. "type": "boolean",
  3519. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3520. "name": "isAsc",
  3521. "in": "query"
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "$ref": "#/definitions/quote.HistoryData"
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Quote/QueryTSData": {
  3541. "get": {
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "行情服务"
  3547. ],
  3548. "summary": "分时图数据查询",
  3549. "parameters": [
  3550. {
  3551. "type": "string",
  3552. "description": "商品代码",
  3553. "name": "GoodsCode",
  3554. "in": "query",
  3555. "required": true
  3556. }
  3557. ],
  3558. "responses": {
  3559. "200": {
  3560. "description": "OK",
  3561. "schema": {
  3562. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3563. }
  3564. },
  3565. "500": {
  3566. "description": "Internal Server Error",
  3567. "schema": {
  3568. "$ref": "#/definitions/app.Response"
  3569. }
  3570. }
  3571. }
  3572. }
  3573. },
  3574. "/SZDZ/QueryConvertConfig": {
  3575. "get": {
  3576. "security": [
  3577. {
  3578. "ApiKeyAuth": []
  3579. }
  3580. ],
  3581. "produces": [
  3582. "application/json"
  3583. ],
  3584. "tags": [
  3585. "定制【尚志大宗】"
  3586. ],
  3587. "summary": "查询交易系统转换设置",
  3588. "parameters": [
  3589. {
  3590. "type": "integer",
  3591. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3592. "name": "convertType",
  3593. "in": "query"
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "外部商品代码[JD\\PD]",
  3598. "name": "outerGoodsCode",
  3599. "in": "query"
  3600. },
  3601. {
  3602. "type": "string",
  3603. "description": "内部商品ID列表[交易],格式:1,2,3",
  3604. "name": "innerGoodsIDs",
  3605. "in": "query"
  3606. }
  3607. ],
  3608. "responses": {
  3609. "200": {
  3610. "description": "OK",
  3611. "schema": {
  3612. "$ref": "#/definitions/models.Szdz3convertconfig"
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/app.Response"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/SZDZ/QueryConvertLog": {
  3625. "get": {
  3626. "security": [
  3627. {
  3628. "ApiKeyAuth": []
  3629. }
  3630. ],
  3631. "produces": [
  3632. "application/json"
  3633. ],
  3634. "tags": [
  3635. "定制【尚志大宗】"
  3636. ],
  3637. "summary": "交易系统转换流水查询",
  3638. "parameters": [
  3639. {
  3640. "type": "string",
  3641. "description": "资金账户 - 格式:1,2,3",
  3642. "name": "accountID",
  3643. "in": "query",
  3644. "required": true
  3645. },
  3646. {
  3647. "type": "string",
  3648. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3649. "name": "startDate",
  3650. "in": "query"
  3651. },
  3652. {
  3653. "type": "string",
  3654. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3655. "name": "endDate",
  3656. "in": "query"
  3657. }
  3658. ],
  3659. "responses": {
  3660. "200": {
  3661. "description": "OK",
  3662. "schema": {
  3663. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3664. }
  3665. },
  3666. "500": {
  3667. "description": "Internal Server Error",
  3668. "schema": {
  3669. "$ref": "#/definitions/app.Response"
  3670. }
  3671. }
  3672. }
  3673. }
  3674. },
  3675. "/SZDZ/QueryGoodsPickup": {
  3676. "get": {
  3677. "security": [
  3678. {
  3679. "ApiKeyAuth": []
  3680. }
  3681. ],
  3682. "produces": [
  3683. "application/json"
  3684. ],
  3685. "tags": [
  3686. "定制【尚志大宗】"
  3687. ],
  3688. "summary": "商品提货单查询",
  3689. "parameters": [
  3690. {
  3691. "type": "string",
  3692. "description": "资金账户 - 格式:1,2,3",
  3693. "name": "accountID",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "integer",
  3699. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3700. "name": "takeOrderStatus",
  3701. "in": "query"
  3702. }
  3703. ],
  3704. "responses": {
  3705. "200": {
  3706. "description": "OK",
  3707. "schema": {
  3708. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3709. }
  3710. },
  3711. "500": {
  3712. "description": "Internal Server Error",
  3713. "schema": {
  3714. "$ref": "#/definitions/app.Response"
  3715. }
  3716. }
  3717. }
  3718. }
  3719. },
  3720. "/SZDZ/QueryRecieptOrder": {
  3721. "get": {
  3722. "security": [
  3723. {
  3724. "ApiKeyAuth": []
  3725. }
  3726. ],
  3727. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3728. "produces": [
  3729. "application/json"
  3730. ],
  3731. "tags": [
  3732. "定制【尚志大宗】"
  3733. ],
  3734. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3735. "parameters": [
  3736. {
  3737. "type": "integer",
  3738. "description": "页码",
  3739. "name": "page",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "每页条数",
  3745. "name": "pagesize",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "商品ID",
  3751. "name": "goodsID",
  3752. "in": "query",
  3753. "required": true
  3754. },
  3755. {
  3756. "type": "string",
  3757. "description": "所属账户名称",
  3758. "name": "accountName",
  3759. "in": "query"
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "市场ID",
  3764. "name": "marketID",
  3765. "in": "query"
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "方向 - 0:买 1:卖",
  3770. "name": "buyorsell",
  3771. "in": "query",
  3772. "required": true
  3773. }
  3774. ],
  3775. "responses": {
  3776. "200": {
  3777. "description": "OK",
  3778. "schema": {
  3779. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3780. }
  3781. },
  3782. "500": {
  3783. "description": "Internal Server Error",
  3784. "schema": {
  3785. "$ref": "#/definitions/app.Response"
  3786. }
  3787. }
  3788. }
  3789. }
  3790. },
  3791. "/SZDZ/QuerySZDZTradePosition": {
  3792. "get": {
  3793. "security": [
  3794. {
  3795. "ApiKeyAuth": []
  3796. }
  3797. ],
  3798. "produces": [
  3799. "application/json"
  3800. ],
  3801. "tags": [
  3802. "定制【尚志大宗】"
  3803. ],
  3804. "summary": "持仓汇总查询(尚志大宗)",
  3805. "parameters": [
  3806. {
  3807. "type": "integer",
  3808. "description": "资金账户",
  3809. "name": "accountID",
  3810. "in": "query",
  3811. "required": true
  3812. }
  3813. ],
  3814. "responses": {
  3815. "200": {
  3816. "description": "OK",
  3817. "schema": {
  3818. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3819. }
  3820. },
  3821. "500": {
  3822. "description": "Internal Server Error",
  3823. "schema": {
  3824. "$ref": "#/definitions/app.Response"
  3825. }
  3826. }
  3827. }
  3828. }
  3829. },
  3830. "/SZDZ/SearchWhite": {
  3831. "get": {
  3832. "security": [
  3833. {
  3834. "ApiKeyAuth": []
  3835. }
  3836. ],
  3837. "produces": [
  3838. "application/json"
  3839. ],
  3840. "tags": [
  3841. "定制【尚志大宗】"
  3842. ],
  3843. "summary": "搜索白名单",
  3844. "parameters": [
  3845. {
  3846. "type": "integer",
  3847. "description": "用户ID",
  3848. "name": "userID",
  3849. "in": "query",
  3850. "required": true
  3851. }
  3852. ],
  3853. "responses": {
  3854. "200": {
  3855. "description": "OK",
  3856. "schema": {
  3857. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3858. }
  3859. },
  3860. "500": {
  3861. "description": "Internal Server Error",
  3862. "schema": {
  3863. "$ref": "#/definitions/app.Response"
  3864. }
  3865. }
  3866. }
  3867. }
  3868. },
  3869. "/Search/SearchGoodses": {
  3870. "get": {
  3871. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3872. "produces": [
  3873. "application/json"
  3874. ],
  3875. "tags": [
  3876. "检索服务"
  3877. ],
  3878. "summary": "检索商品信息",
  3879. "parameters": [
  3880. {
  3881. "type": "string",
  3882. "description": "检索内容",
  3883. "name": "content",
  3884. "in": "query",
  3885. "required": true
  3886. },
  3887. {
  3888. "type": "string",
  3889. "description": "交易模式,格式:1,2,3",
  3890. "name": "tradeModes",
  3891. "in": "query"
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/models.SearchGoods"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/TaAccount/QueryAmountLog": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "produces": [
  3918. "application/json"
  3919. ],
  3920. "tags": [
  3921. "资金账户"
  3922. ],
  3923. "summary": "资金流水查询(当前)",
  3924. "parameters": [
  3925. {
  3926. "type": "integer",
  3927. "description": "页码",
  3928. "name": "page",
  3929. "in": "query"
  3930. },
  3931. {
  3932. "type": "integer",
  3933. "description": "每页条数",
  3934. "name": "pagesize",
  3935. "in": "query"
  3936. },
  3937. {
  3938. "type": "string",
  3939. "description": "资金账户 - 格式:1,2,3",
  3940. "name": "accountID",
  3941. "in": "query",
  3942. "required": true
  3943. },
  3944. {
  3945. "type": "string",
  3946. "description": "资金操作类型 - 格式:1,2,3",
  3947. "name": "OperateType",
  3948. "in": "query"
  3949. }
  3950. ],
  3951. "responses": {
  3952. "200": {
  3953. "description": "OK",
  3954. "schema": {
  3955. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3956. }
  3957. },
  3958. "500": {
  3959. "description": "Internal Server Error",
  3960. "schema": {
  3961. "$ref": "#/definitions/app.Response"
  3962. }
  3963. }
  3964. }
  3965. }
  3966. },
  3967. "/TaAccount/QueryHisAmountLog": {
  3968. "get": {
  3969. "security": [
  3970. {
  3971. "ApiKeyAuth": []
  3972. }
  3973. ],
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "资金账户"
  3979. ],
  3980. "summary": "资金流水查询(历史)",
  3981. "parameters": [
  3982. {
  3983. "type": "integer",
  3984. "description": "页码",
  3985. "name": "page",
  3986. "in": "query"
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "每页条数",
  3991. "name": "pagesize",
  3992. "in": "query"
  3993. },
  3994. {
  3995. "type": "string",
  3996. "description": "资金账户 - 格式:1,2,3",
  3997. "name": "accountID",
  3998. "in": "query",
  3999. "required": true
  4000. },
  4001. {
  4002. "type": "string",
  4003. "description": "资金操作类型 - 格式:1,2,3",
  4004. "name": "OperateType",
  4005. "in": "query"
  4006. },
  4007. {
  4008. "type": "string",
  4009. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4010. "name": "startDate",
  4011. "in": "query"
  4012. },
  4013. {
  4014. "type": "string",
  4015. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4016. "name": "endDate",
  4017. "in": "query"
  4018. }
  4019. ],
  4020. "responses": {
  4021. "200": {
  4022. "description": "OK",
  4023. "schema": {
  4024. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4025. }
  4026. },
  4027. "500": {
  4028. "description": "Internal Server Error",
  4029. "schema": {
  4030. "$ref": "#/definitions/app.Response"
  4031. }
  4032. }
  4033. }
  4034. }
  4035. },
  4036. "/Trade/QueryRecieptOrder": {
  4037. "get": {
  4038. "security": [
  4039. {
  4040. "ApiKeyAuth": []
  4041. }
  4042. ],
  4043. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4044. "produces": [
  4045. "application/json"
  4046. ],
  4047. "tags": [
  4048. "通用交易"
  4049. ],
  4050. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4051. "parameters": [
  4052. {
  4053. "type": "integer",
  4054. "description": "页码",
  4055. "name": "page",
  4056. "in": "query"
  4057. },
  4058. {
  4059. "type": "integer",
  4060. "description": "每页条数",
  4061. "name": "pagesize",
  4062. "in": "query"
  4063. },
  4064. {
  4065. "type": "integer",
  4066. "description": "商品ID",
  4067. "name": "goodsID",
  4068. "in": "query",
  4069. "required": true
  4070. },
  4071. {
  4072. "type": "string",
  4073. "description": "所属账户名称",
  4074. "name": "accountName",
  4075. "in": "query"
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "市场ID",
  4080. "name": "marketID",
  4081. "in": "query"
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "方向 - 0:买 1:卖",
  4086. "name": "buyorsell",
  4087. "in": "query",
  4088. "required": true
  4089. }
  4090. ],
  4091. "responses": {
  4092. "200": {
  4093. "description": "OK",
  4094. "schema": {
  4095. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4096. }
  4097. },
  4098. "500": {
  4099. "description": "Internal Server Error",
  4100. "schema": {
  4101. "$ref": "#/definitions/app.Response"
  4102. }
  4103. }
  4104. }
  4105. }
  4106. },
  4107. "/User/AddMessageBoard": {
  4108. "post": {
  4109. "security": [
  4110. {
  4111. "ApiKeyAuth": []
  4112. }
  4113. ],
  4114. "produces": [
  4115. "application/json"
  4116. ],
  4117. "tags": [
  4118. "用户信息"
  4119. ],
  4120. "summary": "添加用户留言板信息",
  4121. "parameters": [
  4122. {
  4123. "type": "integer",
  4124. "description": "用户ID",
  4125. "name": "userID",
  4126. "in": "query",
  4127. "required": true
  4128. },
  4129. {
  4130. "type": "string",
  4131. "description": "留言信息",
  4132. "name": "message",
  4133. "in": "query",
  4134. "required": true
  4135. }
  4136. ],
  4137. "responses": {
  4138. "200": {
  4139. "description": "OK",
  4140. "schema": {
  4141. "$ref": "#/definitions/app.Response"
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/User/AddUserFavoriteGoods": {
  4154. "post": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "用户信息"
  4165. ],
  4166. "summary": "添加用户商品收藏信息",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户ID",
  4171. "name": "userID",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "商品ID",
  4178. "name": "goodsID",
  4179. "in": "query",
  4180. "required": true
  4181. }
  4182. ],
  4183. "responses": {
  4184. "200": {
  4185. "description": "OK",
  4186. "schema": {
  4187. "$ref": "#/definitions/app.Response"
  4188. }
  4189. },
  4190. "500": {
  4191. "description": "Internal Server Error",
  4192. "schema": {
  4193. "$ref": "#/definitions/app.Response"
  4194. }
  4195. }
  4196. }
  4197. }
  4198. },
  4199. "/User/GetLoginID": {
  4200. "get": {
  4201. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "用户信息"
  4207. ],
  4208. "summary": "获取登录ID",
  4209. "parameters": [
  4210. {
  4211. "type": "string",
  4212. "description": "登录代码",
  4213. "name": "username",
  4214. "in": "query",
  4215. "required": true
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "OK",
  4221. "schema": {
  4222. "$ref": "#/definitions/app.Response"
  4223. }
  4224. },
  4225. "500": {
  4226. "description": "Internal Server Error",
  4227. "schema": {
  4228. "$ref": "#/definitions/app.Response"
  4229. }
  4230. }
  4231. }
  4232. }
  4233. },
  4234. "/User/GetUserAccount": {
  4235. "get": {
  4236. "security": [
  4237. {
  4238. "ApiKeyAuth": []
  4239. }
  4240. ],
  4241. "produces": [
  4242. "application/json"
  4243. ],
  4244. "tags": [
  4245. "用户信息"
  4246. ],
  4247. "summary": "获取用户账号信息",
  4248. "parameters": [
  4249. {
  4250. "type": "integer",
  4251. "description": "用户ID",
  4252. "name": "userID",
  4253. "in": "query",
  4254. "required": true
  4255. }
  4256. ],
  4257. "responses": {
  4258. "200": {
  4259. "description": "OK",
  4260. "schema": {
  4261. "$ref": "#/definitions/models.Useraccount"
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/User/GetUserAuthStatus": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "用户信息"
  4285. ],
  4286. "summary": "获取用户实名认证状态",
  4287. "parameters": [
  4288. {
  4289. "type": "integer",
  4290. "description": "用户ID",
  4291. "name": "userID",
  4292. "in": "query",
  4293. "required": true
  4294. }
  4295. ],
  4296. "responses": {
  4297. "200": {
  4298. "description": "OK",
  4299. "schema": {
  4300. "$ref": "#/definitions/app.Response"
  4301. }
  4302. },
  4303. "500": {
  4304. "description": "Internal Server Error",
  4305. "schema": {
  4306. "$ref": "#/definitions/app.Response"
  4307. }
  4308. }
  4309. }
  4310. }
  4311. },
  4312. "/User/QueryMessageBoard": {
  4313. "get": {
  4314. "security": [
  4315. {
  4316. "ApiKeyAuth": []
  4317. }
  4318. ],
  4319. "produces": [
  4320. "application/json"
  4321. ],
  4322. "tags": [
  4323. "用户信息"
  4324. ],
  4325. "summary": "获取用户留言板信息",
  4326. "parameters": [
  4327. {
  4328. "type": "integer",
  4329. "description": "用户ID",
  4330. "name": "userID",
  4331. "in": "query",
  4332. "required": true
  4333. }
  4334. ],
  4335. "responses": {
  4336. "200": {
  4337. "description": "OK",
  4338. "schema": {
  4339. "$ref": "#/definitions/models.Messageboard"
  4340. }
  4341. },
  4342. "500": {
  4343. "description": "Internal Server Error",
  4344. "schema": {
  4345. "$ref": "#/definitions/app.Response"
  4346. }
  4347. }
  4348. }
  4349. }
  4350. },
  4351. "/User/QueryUserFavoriteGoodses": {
  4352. "get": {
  4353. "security": [
  4354. {
  4355. "ApiKeyAuth": []
  4356. }
  4357. ],
  4358. "produces": [
  4359. "application/json"
  4360. ],
  4361. "tags": [
  4362. "用户信息"
  4363. ],
  4364. "summary": "获取用户商品收藏信息",
  4365. "parameters": [
  4366. {
  4367. "type": "integer",
  4368. "description": "用户ID",
  4369. "name": "userID",
  4370. "in": "query",
  4371. "required": true
  4372. }
  4373. ],
  4374. "responses": {
  4375. "200": {
  4376. "description": "OK",
  4377. "schema": {
  4378. "$ref": "#/definitions/models.Userfavoritegoods"
  4379. }
  4380. },
  4381. "500": {
  4382. "description": "Internal Server Error",
  4383. "schema": {
  4384. "$ref": "#/definitions/app.Response"
  4385. }
  4386. }
  4387. }
  4388. }
  4389. },
  4390. "/User/QueryUserInfo": {
  4391. "get": {
  4392. "security": [
  4393. {
  4394. "ApiKeyAuth": []
  4395. }
  4396. ],
  4397. "produces": [
  4398. "application/json"
  4399. ],
  4400. "tags": [
  4401. "用户信息"
  4402. ],
  4403. "summary": "获取用户信息",
  4404. "parameters": [
  4405. {
  4406. "type": "integer",
  4407. "description": "用户ID",
  4408. "name": "userID",
  4409. "in": "query",
  4410. "required": true
  4411. }
  4412. ],
  4413. "responses": {
  4414. "200": {
  4415. "description": "OK",
  4416. "schema": {
  4417. "$ref": "#/definitions/models.Userinfo"
  4418. }
  4419. },
  4420. "500": {
  4421. "description": "Internal Server Error",
  4422. "schema": {
  4423. "$ref": "#/definitions/app.Response"
  4424. }
  4425. }
  4426. }
  4427. }
  4428. },
  4429. "/User/QueryUserReferNum": {
  4430. "get": {
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "用户信息"
  4436. ],
  4437. "summary": "获取用户邀请码",
  4438. "parameters": [
  4439. {
  4440. "type": "integer",
  4441. "description": "用户ID",
  4442. "name": "userID",
  4443. "in": "query",
  4444. "required": true
  4445. }
  4446. ],
  4447. "responses": {
  4448. "200": {
  4449. "description": "OK",
  4450. "schema": {
  4451. "$ref": "#/definitions/app.Response"
  4452. }
  4453. },
  4454. "500": {
  4455. "description": "Internal Server Error",
  4456. "schema": {
  4457. "$ref": "#/definitions/app.Response"
  4458. }
  4459. }
  4460. }
  4461. }
  4462. },
  4463. "/User/RemoveUserFavoriteGoods": {
  4464. "post": {
  4465. "security": [
  4466. {
  4467. "ApiKeyAuth": []
  4468. }
  4469. ],
  4470. "produces": [
  4471. "application/json"
  4472. ],
  4473. "tags": [
  4474. "用户信息"
  4475. ],
  4476. "summary": "移除用户商品收藏信息",
  4477. "parameters": [
  4478. {
  4479. "type": "integer",
  4480. "description": "用户ID",
  4481. "name": "userID",
  4482. "in": "query",
  4483. "required": true
  4484. },
  4485. {
  4486. "type": "integer",
  4487. "description": "商品ID",
  4488. "name": "goodsID",
  4489. "in": "query",
  4490. "required": true
  4491. }
  4492. ],
  4493. "responses": {
  4494. "200": {
  4495. "description": "OK",
  4496. "schema": {
  4497. "$ref": "#/definitions/app.Response"
  4498. }
  4499. },
  4500. "500": {
  4501. "description": "Internal Server Error",
  4502. "schema": {
  4503. "$ref": "#/definitions/app.Response"
  4504. }
  4505. }
  4506. }
  4507. }
  4508. },
  4509. "/WR/GetWRCategoryInfo": {
  4510. "get": {
  4511. "produces": [
  4512. "application/json"
  4513. ],
  4514. "tags": [
  4515. "仓单服务"
  4516. ],
  4517. "summary": "获取现货分类信息",
  4518. "responses": {
  4519. "200": {
  4520. "description": "OK",
  4521. "schema": {
  4522. "$ref": "#/definitions/models.WRCategoryTree"
  4523. }
  4524. },
  4525. "500": {
  4526. "description": "Internal Server Error",
  4527. "schema": {
  4528. "$ref": "#/definitions/app.Response"
  4529. }
  4530. }
  4531. }
  4532. }
  4533. },
  4534. "/WRTrade/GetAllDeliveryGoods": {
  4535. "get": {
  4536. "security": [
  4537. {
  4538. "ApiKeyAuth": []
  4539. },
  4540. {
  4541. "ApiKeyAuth": []
  4542. }
  4543. ],
  4544. "produces": [
  4545. "application/json",
  4546. "application/json"
  4547. ],
  4548. "tags": [
  4549. "仓单贸易",
  4550. "仓单贸易"
  4551. ],
  4552. "summary": "获取带仓单分类的种类信息",
  4553. "responses": {
  4554. "200": {
  4555. "description": "OK",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "definitions": {
  4571. "app.Response": {
  4572. "type": "object",
  4573. "properties": {
  4574. "code": {
  4575. "type": "integer"
  4576. },
  4577. "data": {
  4578. "type": "object"
  4579. },
  4580. "msg": {
  4581. "type": "string"
  4582. },
  4583. "page": {
  4584. "description": "页码",
  4585. "type": "integer"
  4586. },
  4587. "pagesize": {
  4588. "description": "每页条数",
  4589. "type": "integer"
  4590. },
  4591. "total": {
  4592. "description": "总条数",
  4593. "type": "integer"
  4594. }
  4595. }
  4596. },
  4597. "common.QueryNoticeRsp": {
  4598. "type": "object",
  4599. "required": [
  4600. "autoid"
  4601. ],
  4602. "properties": {
  4603. "auditoruserid": {
  4604. "description": "审核人",
  4605. "type": "integer"
  4606. },
  4607. "auditremark": {
  4608. "description": "审核备注",
  4609. "type": "string"
  4610. },
  4611. "audittime": {
  4612. "description": "审核日期",
  4613. "type": "string"
  4614. },
  4615. "autoid": {
  4616. "description": "自增ID",
  4617. "type": "integer"
  4618. },
  4619. "content": {
  4620. "description": "内容",
  4621. "type": "string"
  4622. },
  4623. "createtime": {
  4624. "description": "创建时间",
  4625. "type": "string"
  4626. },
  4627. "creatorid": {
  4628. "description": "建仓人",
  4629. "type": "integer"
  4630. },
  4631. "endtime": {
  4632. "description": "结束时间",
  4633. "type": "string"
  4634. },
  4635. "istop": {
  4636. "description": "是否置顶 - 0:不置顶 1:置顶",
  4637. "type": "integer"
  4638. },
  4639. "msgiconurl": {
  4640. "description": "消息图标Url",
  4641. "type": "string"
  4642. },
  4643. "msgtype": {
  4644. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4645. "type": "integer"
  4646. },
  4647. "publisher": {
  4648. "description": "消息发布者",
  4649. "type": "string"
  4650. },
  4651. "readed": {
  4652. "description": "是否已读",
  4653. "type": "boolean"
  4654. },
  4655. "scheduletime": {
  4656. "description": "计划发送时间",
  4657. "type": "string"
  4658. },
  4659. "sendtype": {
  4660. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4661. "type": "integer"
  4662. },
  4663. "sentstatus": {
  4664. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4665. "type": "integer"
  4666. },
  4667. "title": {
  4668. "description": "标题",
  4669. "type": "string"
  4670. },
  4671. "userid": {
  4672. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4673. "type": "integer"
  4674. }
  4675. }
  4676. },
  4677. "common.QueryProvincesAndCitiesRsp": {
  4678. "type": "object",
  4679. "properties": {
  4680. "cities": {
  4681. "description": "市",
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Division"
  4685. }
  4686. },
  4687. "province": {
  4688. "description": "省",
  4689. "$ref": "#/definitions/models.Division"
  4690. }
  4691. }
  4692. },
  4693. "common.QueryTableDefineRsp": {
  4694. "type": "object",
  4695. "required": [
  4696. "tablekey"
  4697. ],
  4698. "properties": {
  4699. "columns": {
  4700. "description": "列头信息数组",
  4701. "type": "array",
  4702. "items": {
  4703. "$ref": "#/definitions/models.Tablecolumnconfig"
  4704. }
  4705. },
  4706. "remark": {
  4707. "description": "Remark",
  4708. "type": "string"
  4709. },
  4710. "tabelmenu": {
  4711. "description": "列表菜单",
  4712. "type": "string"
  4713. },
  4714. "tablekey": {
  4715. "description": "列表Key",
  4716. "type": "string"
  4717. },
  4718. "tablename": {
  4719. "description": "列表名称",
  4720. "type": "string"
  4721. },
  4722. "tabletype": {
  4723. "description": "列表类型 - 1:管理端 2:终端",
  4724. "type": "integer"
  4725. }
  4726. }
  4727. },
  4728. "common.QueryTraderMenuRsp": {
  4729. "type": "object",
  4730. "properties": {
  4731. "OperationMenu": {
  4732. "description": "功能菜单",
  4733. "type": "array",
  4734. "items": {
  4735. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4736. }
  4737. },
  4738. "QuoteMenu": {
  4739. "description": "报价牌分类菜单",
  4740. "type": "array",
  4741. "items": {
  4742. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4743. }
  4744. }
  4745. }
  4746. },
  4747. "cptrade.Cptradepositioncancel": {
  4748. "type": "object",
  4749. "required": [
  4750. "cancelid"
  4751. ],
  4752. "properties": {
  4753. "accountid": {
  4754. "description": "申请人账户ID",
  4755. "type": "integer"
  4756. },
  4757. "applystatus": {
  4758. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4759. "type": "integer"
  4760. },
  4761. "applytime": {
  4762. "description": "申请时间",
  4763. "type": "string"
  4764. },
  4765. "cancelid": {
  4766. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4767. "type": "integer"
  4768. },
  4769. "cancelqty": {
  4770. "description": "注销数量",
  4771. "type": "integer"
  4772. },
  4773. "createtime": {
  4774. "description": "创建时间",
  4775. "type": "string"
  4776. },
  4777. "creatorid": {
  4778. "description": "创建人ID",
  4779. "type": "integer"
  4780. },
  4781. "creatorname": {
  4782. "description": "创建人",
  4783. "type": "string"
  4784. },
  4785. "goodscode": {
  4786. "description": "订单商品代码",
  4787. "type": "string"
  4788. },
  4789. "goodsid": {
  4790. "description": "商品ID",
  4791. "type": "integer"
  4792. },
  4793. "goodsname": {
  4794. "description": "订单商品名称",
  4795. "type": "string"
  4796. },
  4797. "goodunit": {
  4798. "description": "报价单位",
  4799. "type": "string"
  4800. },
  4801. "handlestatus": {
  4802. "description": "处理状态",
  4803. "type": "integer"
  4804. },
  4805. "marketid": {
  4806. "description": "市场ID",
  4807. "type": "integer"
  4808. },
  4809. "marketname": {
  4810. "description": "市场名称",
  4811. "type": "string"
  4812. },
  4813. "tradedate": {
  4814. "description": "交易日(yyyyMMdd)",
  4815. "type": "string"
  4816. },
  4817. "userid": {
  4818. "description": "申请人ID",
  4819. "type": "integer"
  4820. }
  4821. }
  4822. },
  4823. "cptrade.Cptradepresaleapply": {
  4824. "type": "object",
  4825. "required": [
  4826. "applyid"
  4827. ],
  4828. "properties": {
  4829. "accountid": {
  4830. "description": "申请人账户ID",
  4831. "type": "integer"
  4832. },
  4833. "applyid": {
  4834. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4835. "type": "integer"
  4836. },
  4837. "applyremark": {
  4838. "description": "申请备注",
  4839. "type": "string"
  4840. },
  4841. "applystatus": {
  4842. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4843. "type": "integer"
  4844. },
  4845. "applytime": {
  4846. "description": "申请时间",
  4847. "type": "string"
  4848. },
  4849. "attachmenturl": {
  4850. "description": "附件地址",
  4851. "type": "string"
  4852. },
  4853. "endtime": {
  4854. "description": "预售结束时间",
  4855. "type": "string"
  4856. },
  4857. "goodscode": {
  4858. "description": "商品代码",
  4859. "type": "string"
  4860. },
  4861. "goodsid": {
  4862. "description": "商品ID",
  4863. "type": "integer"
  4864. },
  4865. "goodsname": {
  4866. "description": "商品名称",
  4867. "type": "string"
  4868. },
  4869. "goodunit": {
  4870. "description": "报价单位",
  4871. "type": "string"
  4872. },
  4873. "handlestatus": {
  4874. "description": "处理状态",
  4875. "type": "integer"
  4876. },
  4877. "marketid": {
  4878. "description": "预售市场ID",
  4879. "type": "integer"
  4880. },
  4881. "marketname": {
  4882. "description": "预售市场名称",
  4883. "type": "string"
  4884. },
  4885. "presaleqty": {
  4886. "description": "预售数量",
  4887. "type": "integer"
  4888. },
  4889. "relatedgoodscode": {
  4890. "description": "关联交易合约代码",
  4891. "type": "string"
  4892. },
  4893. "relatedgoodsid": {
  4894. "description": "关联交易合约ID",
  4895. "type": "integer"
  4896. },
  4897. "relatedgoodsname": {
  4898. "description": "关联交易合约名称",
  4899. "type": "string"
  4900. },
  4901. "starttime": {
  4902. "description": "预售开始时间",
  4903. "type": "string"
  4904. },
  4905. "tradedate": {
  4906. "description": "交易日(yyyyMMdd)",
  4907. "type": "string"
  4908. },
  4909. "trademode": {
  4910. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4911. "type": "integer"
  4912. },
  4913. "userid": {
  4914. "description": "申请人ID",
  4915. "type": "integer"
  4916. }
  4917. }
  4918. },
  4919. "cptrade.Cptradeusergoodsdata": {
  4920. "type": "object",
  4921. "required": [
  4922. "accountid",
  4923. "goodsid"
  4924. ],
  4925. "properties": {
  4926. "EnabledQty": {
  4927. "description": "可用量",
  4928. "type": "integer"
  4929. },
  4930. "GoodsCode": {
  4931. "description": "订单商品代码",
  4932. "type": "string"
  4933. },
  4934. "GoodsName": {
  4935. "description": "订单商品名称",
  4936. "type": "string"
  4937. },
  4938. "WRStandardCode": {
  4939. "description": "仓单标准代码",
  4940. "type": "string"
  4941. },
  4942. "WRStandardName": {
  4943. "description": "仓单标准名称",
  4944. "type": "string"
  4945. },
  4946. "accountid": {
  4947. "description": "账户ID",
  4948. "type": "integer"
  4949. },
  4950. "cancelqty": {
  4951. "description": "注销量",
  4952. "type": "integer"
  4953. },
  4954. "curpresaleqty": {
  4955. "description": "当前预售量",
  4956. "type": "integer"
  4957. },
  4958. "deliveryqty": {
  4959. "description": "交割量",
  4960. "type": "integer"
  4961. },
  4962. "freezeamount": {
  4963. "description": "冻结金额",
  4964. "type": "number"
  4965. },
  4966. "goodsid": {
  4967. "description": "商品ID",
  4968. "type": "integer"
  4969. },
  4970. "goodunit": {
  4971. "description": "报价单位",
  4972. "type": "string"
  4973. },
  4974. "hasspotfreeze": {
  4975. "description": "是否有现货冻结 - 0:否 1:有",
  4976. "type": "integer"
  4977. },
  4978. "inqty": {
  4979. "description": "转入量(总数量)",
  4980. "type": "integer"
  4981. },
  4982. "marketid": {
  4983. "description": "市场ID",
  4984. "type": "integer"
  4985. },
  4986. "presaledamount": {
  4987. "description": "已预售总金额",
  4988. "type": "integer"
  4989. },
  4990. "presaledqty": {
  4991. "description": "已预售量",
  4992. "type": "integer"
  4993. },
  4994. "userid": {
  4995. "description": "用户ID",
  4996. "type": "integer"
  4997. },
  4998. "wrstandardid": {
  4999. "description": "仓单标准ID",
  5000. "type": "integer"
  5001. }
  5002. }
  5003. },
  5004. "cptrade.QueryCPTradeMyBidRsp": {
  5005. "type": "object",
  5006. "required": [
  5007. "accountid",
  5008. "goodsid",
  5009. "marketid",
  5010. "orderid",
  5011. "orderqty",
  5012. "ordertime",
  5013. "tradeprice",
  5014. "tradeqty"
  5015. ],
  5016. "properties": {
  5017. "accountid": {
  5018. "description": "账户ID[报价币种]",
  5019. "type": "integer"
  5020. },
  5021. "goodsid": {
  5022. "description": "商品ID",
  5023. "type": "integer"
  5024. },
  5025. "goodunit": {
  5026. "description": "报价单位",
  5027. "type": "string"
  5028. },
  5029. "marketid": {
  5030. "description": "市场ID",
  5031. "type": "integer"
  5032. },
  5033. "orderid": {
  5034. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5035. "type": "integer"
  5036. },
  5037. "orderprice": {
  5038. "description": "委托价格",
  5039. "type": "number"
  5040. },
  5041. "orderqty": {
  5042. "description": "委托数量",
  5043. "type": "integer"
  5044. },
  5045. "ordertime": {
  5046. "description": "委托时间",
  5047. "type": "string"
  5048. },
  5049. "ordertotalprice": {
  5050. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5051. "type": "number"
  5052. },
  5053. "ordertotalweight": {
  5054. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5055. "type": "integer"
  5056. },
  5057. "totaltotalprice": {
  5058. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5059. "type": "number"
  5060. },
  5061. "tradeprice": {
  5062. "description": "成交价格",
  5063. "type": "number"
  5064. },
  5065. "tradeqty": {
  5066. "description": "成交数量",
  5067. "type": "integer"
  5068. }
  5069. }
  5070. },
  5071. "cptrade.QueryCPTradeOrderDetailRsq": {
  5072. "type": "object",
  5073. "required": [
  5074. "accountid",
  5075. "buildtype",
  5076. "buyorsell",
  5077. "goodsid",
  5078. "marketid",
  5079. "memberuserid",
  5080. "operatetype",
  5081. "orderqty",
  5082. "ordertime",
  5083. "pricemode",
  5084. "strorderid",
  5085. "tradedate",
  5086. "validtype"
  5087. ],
  5088. "properties": {
  5089. "accountid": {
  5090. "description": "账户ID[报价币种]",
  5091. "type": "integer"
  5092. },
  5093. "buildtype": {
  5094. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5095. "type": "integer"
  5096. },
  5097. "buyorsell": {
  5098. "description": "买卖 - 0:买 1:卖",
  5099. "type": "integer"
  5100. },
  5101. "cancelorderid": {
  5102. "description": "撤单单号(撤单时填写)",
  5103. "type": "integer"
  5104. },
  5105. "cancelqty": {
  5106. "description": "撤单数量",
  5107. "type": "integer"
  5108. },
  5109. "clientordertime": {
  5110. "description": "客户端委托时间",
  5111. "type": "string"
  5112. },
  5113. "clientticket": {
  5114. "description": "客户端流水号",
  5115. "type": "string"
  5116. },
  5117. "clienttype": {
  5118. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5119. "type": "integer"
  5120. },
  5121. "closeexchagechargevalue": {
  5122. "description": "平仓交易所手续费设置值",
  5123. "type": "number"
  5124. },
  5125. "closefeealgorithm": {
  5126. "description": "平仓手续费收取方式 1:比率 2:固定",
  5127. "type": "integer"
  5128. },
  5129. "closefreezecharge": {
  5130. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5131. "type": "number"
  5132. },
  5133. "closememberchargevalue": {
  5134. "description": "平仓会员手续费设置值",
  5135. "type": "number"
  5136. },
  5137. "closeqty": {
  5138. "description": "平仓数量(先建后平操作 需要记录)",
  5139. "type": "integer"
  5140. },
  5141. "closetradeqty": {
  5142. "description": "平仓成交数量(先建后平操作,需要记录)",
  5143. "type": "integer"
  5144. },
  5145. "closeunfreezecharge": {
  5146. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5147. "type": "number"
  5148. },
  5149. "delistingtype": {
  5150. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5151. "type": "integer"
  5152. },
  5153. "freezecharge": {
  5154. "description": "冻结手续费",
  5155. "type": "number"
  5156. },
  5157. "freezemargin": {
  5158. "description": "冻结保证金(冻结交易金额)",
  5159. "type": "number"
  5160. },
  5161. "gcaccountid": {
  5162. "description": "账户ID[合约币种]",
  5163. "type": "integer"
  5164. },
  5165. "goodsid": {
  5166. "description": "商品ID",
  5167. "type": "integer"
  5168. },
  5169. "isconfirmexercise": {
  5170. "description": "是否确认行权- 0:否 1:是",
  5171. "type": "integer"
  5172. },
  5173. "ispreexercise": {
  5174. "description": "是否预申报- 0:否 1:是",
  5175. "type": "integer"
  5176. },
  5177. "listingselecttype": {
  5178. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5179. "type": "integer"
  5180. },
  5181. "marginalgorithm": {
  5182. "description": "保证金收取方式 1:比率 2:固定",
  5183. "type": "integer"
  5184. },
  5185. "marginvalue": {
  5186. "description": "即市保证金设置值",
  5187. "type": "number"
  5188. },
  5189. "marketid": {
  5190. "description": "市场ID",
  5191. "type": "integer"
  5192. },
  5193. "marketmaxsub": {
  5194. "description": "市价最大偏移范围",
  5195. "type": "number"
  5196. },
  5197. "memberuserid": {
  5198. "description": "所属会员UserID",
  5199. "type": "integer"
  5200. },
  5201. "openexchagechargevalue": {
  5202. "description": "建仓交易所手续费设置值",
  5203. "type": "number"
  5204. },
  5205. "openfeealgorithm": {
  5206. "description": "建仓手续费收取方式 1:比率 2:固定",
  5207. "type": "integer"
  5208. },
  5209. "openfreezecharge": {
  5210. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5211. "type": "number"
  5212. },
  5213. "openmemberchargevalue": {
  5214. "description": "建仓会员手续费设置值",
  5215. "type": "number"
  5216. },
  5217. "openqty": {
  5218. "description": "开仓数量(先建后平操作,需要记录)",
  5219. "type": "integer"
  5220. },
  5221. "opentradeqty": {
  5222. "description": "开仓成交数量(先建后平操作,需要记录)",
  5223. "type": "integer"
  5224. },
  5225. "openunfreezecharge": {
  5226. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5227. "type": "number"
  5228. },
  5229. "operatetype": {
  5230. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5231. "type": "integer"
  5232. },
  5233. "operatorid": {
  5234. "description": "登录账号(LoginID)",
  5235. "type": "integer"
  5236. },
  5237. "optiontype": {
  5238. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5239. "type": "integer"
  5240. },
  5241. "orderprice": {
  5242. "description": "委托价格",
  5243. "type": "number"
  5244. },
  5245. "orderqty": {
  5246. "description": "委托数量",
  5247. "type": "integer"
  5248. },
  5249. "ordersrc": {
  5250. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5251. "type": "integer"
  5252. },
  5253. "orderstatus": {
  5254. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5255. "type": "integer"
  5256. },
  5257. "ordertime": {
  5258. "description": "委托时间",
  5259. "type": "string"
  5260. },
  5261. "preexerciseprice": {
  5262. "description": "预申报价格",
  5263. "type": "number"
  5264. },
  5265. "premium": {
  5266. "description": "权利金",
  5267. "type": "number"
  5268. },
  5269. "preorderid": {
  5270. "description": "关联预埋单号(止盈止损单时填写)",
  5271. "type": "integer"
  5272. },
  5273. "pricemode": {
  5274. "description": "取价方式 - 1:市价 2: 限价",
  5275. "type": "integer"
  5276. },
  5277. "quoteid": {
  5278. "description": "报价单ID",
  5279. "type": "integer"
  5280. },
  5281. "relatedid": {
  5282. "description": "关联单号(交割单)",
  5283. "type": "integer"
  5284. },
  5285. "retcode": {
  5286. "description": "错误代码",
  5287. "type": "integer"
  5288. },
  5289. "sessionid": {
  5290. "description": "会话ID",
  5291. "type": "integer"
  5292. },
  5293. "strorderid": {
  5294. "description": "委托单号",
  5295. "type": "string"
  5296. },
  5297. "tradedate": {
  5298. "description": "交易日(yyyyMMdd)",
  5299. "type": "string"
  5300. },
  5301. "tradeproperty": {
  5302. "description": "交易属性",
  5303. "type": "integer"
  5304. },
  5305. "tradeqty": {
  5306. "description": "成交数量",
  5307. "type": "integer"
  5308. },
  5309. "unfreezecharge": {
  5310. "description": "解冻手续费",
  5311. "type": "number"
  5312. },
  5313. "unfreezemargin": {
  5314. "description": "解冻保证金",
  5315. "type": "number"
  5316. },
  5317. "updatetime": {
  5318. "description": "更新时间",
  5319. "type": "string"
  5320. },
  5321. "uuid": {
  5322. "description": "发起端唯一id",
  5323. "type": "string"
  5324. },
  5325. "validtime": {
  5326. "description": "有效期限",
  5327. "type": "string"
  5328. },
  5329. "validtype": {
  5330. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5331. "type": "integer"
  5332. },
  5333. "volumetype": {
  5334. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5335. "type": "integer"
  5336. }
  5337. }
  5338. },
  5339. "cptrade.QueryMyCPTradeGoodsRsp": {
  5340. "type": "object",
  5341. "required": [
  5342. "goodscode",
  5343. "goodsid",
  5344. "goodsname",
  5345. "marketid",
  5346. "relatedgoodscode",
  5347. "relatedgoodsname"
  5348. ],
  5349. "properties": {
  5350. "accountid": {
  5351. "description": "卖方账户ID",
  5352. "type": "integer"
  5353. },
  5354. "agreeunit": {
  5355. "description": "合约单位",
  5356. "type": "number"
  5357. },
  5358. "applyid": {
  5359. "description": "关联申请ID",
  5360. "type": "integer"
  5361. },
  5362. "attachmenturl": {
  5363. "description": "附件地址",
  5364. "type": "string"
  5365. },
  5366. "createtime": {
  5367. "description": "创建时间",
  5368. "type": "string"
  5369. },
  5370. "currencyid": {
  5371. "description": "报价货币ID",
  5372. "type": "integer"
  5373. },
  5374. "decimalplace": {
  5375. "description": "报价小数位",
  5376. "type": "integer"
  5377. },
  5378. "endtime": {
  5379. "description": "预售结束时间",
  5380. "type": "string"
  5381. },
  5382. "floorprice": {
  5383. "description": "底价[大宗式竞拍]",
  5384. "type": "number"
  5385. },
  5386. "goodscode": {
  5387. "description": "商品代码(预售)",
  5388. "type": "string"
  5389. },
  5390. "goodsdetail": {
  5391. "description": "详情[大宗]",
  5392. "type": "string"
  5393. },
  5394. "goodsid": {
  5395. "description": "商品ID(自增ID SEQ_GOODS)",
  5396. "type": "integer"
  5397. },
  5398. "goodsname": {
  5399. "description": "商品名称(预售)",
  5400. "type": "string"
  5401. },
  5402. "goodunit": {
  5403. "description": "报价单位",
  5404. "type": "string"
  5405. },
  5406. "goodunitid": {
  5407. "description": "报价单位ID",
  5408. "type": "integer"
  5409. },
  5410. "marketid": {
  5411. "description": "所属市场ID",
  5412. "type": "integer"
  5413. },
  5414. "marketname": {
  5415. "description": "预售市场名称",
  5416. "type": "string"
  5417. },
  5418. "presaledamount": {
  5419. "description": "已预售总金额(预售结束时更新)",
  5420. "type": "number"
  5421. },
  5422. "presaledqty": {
  5423. "description": "已预售量(预售结束时更新)",
  5424. "type": "integer"
  5425. },
  5426. "presalemode": {
  5427. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5428. "type": "integer"
  5429. },
  5430. "presaleqty": {
  5431. "description": "预售数量",
  5432. "type": "integer"
  5433. },
  5434. "refprice": {
  5435. "description": "参考价格[一口价]",
  5436. "type": "number"
  5437. },
  5438. "relatedgoodscode": {
  5439. "description": "商品代码(订单)",
  5440. "type": "string"
  5441. },
  5442. "relatedgoodsid": {
  5443. "description": "关联交易合约ID",
  5444. "type": "integer"
  5445. },
  5446. "relatedgoodsname": {
  5447. "description": "商品名称(订单)",
  5448. "type": "string"
  5449. },
  5450. "relatedmarketid": {
  5451. "description": "关联交易合约市场ID",
  5452. "type": "integer"
  5453. },
  5454. "sellstatus": {
  5455. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5456. "type": "integer"
  5457. },
  5458. "startprice": {
  5459. "description": "起拍价[大宗式竞拍]",
  5460. "type": "number"
  5461. },
  5462. "starttime": {
  5463. "description": "预售开始时间",
  5464. "type": "string"
  5465. },
  5466. "tradedate": {
  5467. "description": "交易日(yyyyMMdd)",
  5468. "type": "string"
  5469. },
  5470. "tradeprice": {
  5471. "description": "成交价[大宗]",
  5472. "type": "number"
  5473. },
  5474. "userid": {
  5475. "description": "卖方用户ID",
  5476. "type": "integer"
  5477. }
  5478. }
  5479. },
  5480. "cptrade.QueryPresaleGoodsExRsp": {
  5481. "type": "object",
  5482. "required": [
  5483. "goodsid"
  5484. ],
  5485. "properties": {
  5486. "attachmenturl": {
  5487. "description": "附件地址",
  5488. "type": "string"
  5489. },
  5490. "createtime": {
  5491. "description": "创建时间",
  5492. "type": "string"
  5493. },
  5494. "endtime": {
  5495. "description": "预售结束时间",
  5496. "type": "string"
  5497. },
  5498. "floorprice": {
  5499. "description": "底价[大宗式竞拍]",
  5500. "type": "number"
  5501. },
  5502. "goodsdetail": {
  5503. "description": "详情[大宗]",
  5504. "type": "string"
  5505. },
  5506. "goodsid": {
  5507. "description": "商品ID(预售)",
  5508. "type": "integer"
  5509. },
  5510. "goodunit": {
  5511. "description": "报价单位",
  5512. "type": "string"
  5513. },
  5514. "marketid": {
  5515. "description": "预售市场ID - 根据预售模式选择市场",
  5516. "type": "integer"
  5517. },
  5518. "presaledamount": {
  5519. "description": "已预售总金额(预售结束时更新)",
  5520. "type": "number"
  5521. },
  5522. "presaledqty": {
  5523. "description": "已预售量(预售结束时更新)",
  5524. "type": "integer"
  5525. },
  5526. "presalemode": {
  5527. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5528. "type": "integer"
  5529. },
  5530. "presaleqty": {
  5531. "description": "预售数量",
  5532. "type": "integer"
  5533. },
  5534. "refprice": {
  5535. "description": "参考价格[一口价]",
  5536. "type": "number"
  5537. },
  5538. "relatedgoodsid": {
  5539. "description": "关联交易合约ID",
  5540. "type": "integer"
  5541. },
  5542. "relatedmarketid": {
  5543. "description": "关联交易合约市场ID",
  5544. "type": "integer"
  5545. },
  5546. "sellstatus": {
  5547. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5548. "type": "integer"
  5549. },
  5550. "startprice": {
  5551. "description": "起拍价[大宗式竞拍]",
  5552. "type": "number"
  5553. },
  5554. "starttime": {
  5555. "description": "预售开始时间",
  5556. "type": "string"
  5557. },
  5558. "tradedate": {
  5559. "description": "交易日(yyyyMMdd)",
  5560. "type": "string"
  5561. },
  5562. "tradeprice": {
  5563. "description": "成交价[大宗]",
  5564. "type": "number"
  5565. }
  5566. }
  5567. },
  5568. "delivery.QueryDeliveryRelationRsp": {
  5569. "type": "object",
  5570. "required": [
  5571. "begindate",
  5572. "enddate",
  5573. "goodsid",
  5574. "mindeliveryqty",
  5575. "xdeliveryratio"
  5576. ],
  5577. "properties": {
  5578. "begindate": {
  5579. "description": "起始日期(yyyyMMdd)",
  5580. "type": "string"
  5581. },
  5582. "buytemplateid": {
  5583. "description": "买履约计划模板ID",
  5584. "type": "integer"
  5585. },
  5586. "deliverygoodscode": {
  5587. "description": "品种代码",
  5588. "type": "string"
  5589. },
  5590. "deliverygoodsid": {
  5591. "description": "交割商品",
  5592. "type": "integer"
  5593. },
  5594. "deliverygoodsname": {
  5595. "description": "品种名称",
  5596. "type": "string"
  5597. },
  5598. "deliverymode": {
  5599. "description": "交割方式 - 1:点选式 2:申报式",
  5600. "type": "integer"
  5601. },
  5602. "deliverypricerule": {
  5603. "description": "交割价规则- 1:行情价 2:建仓价",
  5604. "type": "integer"
  5605. },
  5606. "deliverytype": {
  5607. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5608. "type": "integer"
  5609. },
  5610. "enddate": {
  5611. "description": "结束日期(yyyyMMdd)",
  5612. "type": "string"
  5613. },
  5614. "goodscode": {
  5615. "description": "商品代码",
  5616. "type": "string"
  5617. },
  5618. "goodsid": {
  5619. "description": "交易合约ID",
  5620. "type": "integer"
  5621. },
  5622. "goodsname": {
  5623. "description": "商品名称",
  5624. "type": "string"
  5625. },
  5626. "marketid": {
  5627. "description": "市场ID",
  5628. "type": "integer"
  5629. },
  5630. "mindeliveryqty": {
  5631. "description": "最小交割系数(K)",
  5632. "type": "integer"
  5633. },
  5634. "p2deliveryprice": {
  5635. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5636. "type": "number"
  5637. },
  5638. "p2deliveryratio": {
  5639. "description": "P2合约系数(p)",
  5640. "type": "integer"
  5641. },
  5642. "p2goodsid": {
  5643. "description": "P2合约ID",
  5644. "type": "integer"
  5645. },
  5646. "p2pricemode": {
  5647. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5648. "type": "integer"
  5649. },
  5650. "pdeliveryprice": {
  5651. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5652. "type": "number"
  5653. },
  5654. "pdeliveryratio": {
  5655. "description": "P合约系数(n)",
  5656. "type": "integer"
  5657. },
  5658. "pgoodsid": {
  5659. "description": "P合约ID",
  5660. "type": "integer"
  5661. },
  5662. "ppricemode": {
  5663. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5664. "type": "integer"
  5665. },
  5666. "rratio": {
  5667. "description": "兑换系数(R)",
  5668. "type": "integer"
  5669. },
  5670. "rratio1": {
  5671. "description": "兑换系数(交易合约)(R1)",
  5672. "type": "integer"
  5673. },
  5674. "rratio2": {
  5675. "description": "兑换系数(仓单标准)(R2)",
  5676. "type": "integer"
  5677. },
  5678. "selltemplateid": {
  5679. "description": "卖履约计划模板ID",
  5680. "type": "integer"
  5681. },
  5682. "wrstandardid": {
  5683. "description": "仓单标准ID",
  5684. "type": "integer"
  5685. },
  5686. "xdeliveryratio": {
  5687. "description": "交易合约系数(m)",
  5688. "type": "integer"
  5689. }
  5690. }
  5691. },
  5692. "ermcp.ExposureDetailRsp": {
  5693. "type": "object",
  5694. "properties": {
  5695. "areauserid": {
  5696. "description": "机构ID",
  5697. "type": "integer"
  5698. },
  5699. "changeQty": {
  5700. "description": "套保变动量",
  5701. "type": "number"
  5702. },
  5703. "contracttype": {
  5704. "description": "现货合同类型 - 1:采购 -1:销售",
  5705. "type": "integer"
  5706. },
  5707. "convertfactor": {
  5708. "description": "标仓系数",
  5709. "type": "number"
  5710. },
  5711. "convertratio": {
  5712. "description": "套保系数",
  5713. "type": "number"
  5714. },
  5715. "createtime": {
  5716. "description": "时间",
  5717. "type": "string"
  5718. },
  5719. "enumdicname": {
  5720. "description": "现货商品单位名称",
  5721. "type": "string"
  5722. },
  5723. "logtype": {
  5724. "description": "类型 - 1:套保计划 2:现货合同",
  5725. "type": "integer"
  5726. },
  5727. "middlegoodsId": {
  5728. "description": "套保商品id",
  5729. "type": "integer"
  5730. },
  5731. "middlegoodscode": {
  5732. "description": "套保商品代码",
  5733. "type": "string"
  5734. },
  5735. "middlegoodsname": {
  5736. "description": "套保商品名称",
  5737. "type": "string"
  5738. },
  5739. "qty": {
  5740. "description": "数量",
  5741. "type": "number"
  5742. },
  5743. "relateNo": {
  5744. "description": "现货合同/套保计划编号",
  5745. "type": "string"
  5746. },
  5747. "wrstandardcode": {
  5748. "description": "现货商品代码",
  5749. "type": "string"
  5750. },
  5751. "wrstandardid": {
  5752. "description": "现货商品ID",
  5753. "type": "integer"
  5754. },
  5755. "wrstandardname": {
  5756. "description": "现货商品名称",
  5757. "type": "string"
  5758. }
  5759. }
  5760. },
  5761. "ermcp.ExposureSpotRsp": {
  5762. "type": "object",
  5763. "properties": {
  5764. "areauserid": {
  5765. "description": "所属机构",
  5766. "type": "integer"
  5767. },
  5768. "decreaseqty": {
  5769. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  5770. "type": "number"
  5771. },
  5772. "increaseqty": {
  5773. "description": "增加数量=销售计划数量+采购已定价数量",
  5774. "type": "number"
  5775. },
  5776. "oritoalspotqty": {
  5777. "description": "昨日数量",
  5778. "type": "number"
  5779. },
  5780. "totalspotqty": {
  5781. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  5782. "type": "number"
  5783. },
  5784. "updatetime": {
  5785. "description": "更新时间",
  5786. "type": "string"
  5787. },
  5788. "wrstandardcode": {
  5789. "description": "现货品种代码",
  5790. "type": "string"
  5791. },
  5792. "wrstandardid": {
  5793. "description": "现货商品ID",
  5794. "type": "integer"
  5795. },
  5796. "wrstandardname": {
  5797. "description": "现货品种",
  5798. "type": "string"
  5799. }
  5800. }
  5801. },
  5802. "ermcp.QryBusinessDjRsp": {
  5803. "type": "object",
  5804. "properties": {
  5805. "amount": {
  5806. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5807. "type": "number"
  5808. },
  5809. "applyid": {
  5810. "description": "申请人",
  5811. "type": "string"
  5812. },
  5813. "applyname": {
  5814. "description": "申请人名称",
  5815. "type": "string"
  5816. },
  5817. "applystatus": {
  5818. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5819. "type": "integer"
  5820. },
  5821. "applytime": {
  5822. "description": "申请时间",
  5823. "type": "string"
  5824. },
  5825. "auditname": {
  5826. "description": "审核人名称",
  5827. "type": "string"
  5828. },
  5829. "audittime": {
  5830. "description": "审核时间",
  5831. "type": "string"
  5832. },
  5833. "buyusername": {
  5834. "description": "采购方名称",
  5835. "type": "string"
  5836. },
  5837. "contractno": {
  5838. "description": "合同编号",
  5839. "type": "string"
  5840. },
  5841. "contractstatus": {
  5842. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5843. "type": "integer"
  5844. },
  5845. "contracttype": {
  5846. "description": "现货合同类型 - 1:采购 -1:销售",
  5847. "type": "integer"
  5848. },
  5849. "enumdicname": {
  5850. "description": "单位名称",
  5851. "type": "string"
  5852. },
  5853. "goodscode": {
  5854. "description": "点价合约",
  5855. "type": "string"
  5856. },
  5857. "goodsname": {
  5858. "description": "商品名称",
  5859. "type": "string"
  5860. },
  5861. "operateapplyid": {
  5862. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5863. "type": "string"
  5864. },
  5865. "operateapplytype": {
  5866. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5867. "type": "integer"
  5868. },
  5869. "pricedPrice": {
  5870. "description": "点价价格(非必填)",
  5871. "type": "number"
  5872. },
  5873. "pricedQty": {
  5874. "description": "点价数量(非必填)",
  5875. "type": "number"
  5876. },
  5877. "pricemove": {
  5878. "description": "升贴水",
  5879. "type": "number"
  5880. },
  5881. "pricetype": {
  5882. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5883. "type": "integer"
  5884. },
  5885. "relatedid": {
  5886. "description": "现货合同ID",
  5887. "type": "string"
  5888. },
  5889. "sellusername": {
  5890. "description": "销售方名字",
  5891. "type": "string"
  5892. },
  5893. "userid": {
  5894. "description": "用户ID",
  5895. "type": "integer"
  5896. }
  5897. }
  5898. },
  5899. "ermcp.QryBussinessFpRsp": {
  5900. "type": "object",
  5901. "properties": {
  5902. "applyid": {
  5903. "description": "申请人",
  5904. "type": "string"
  5905. },
  5906. "applyname": {
  5907. "description": "申请人名称",
  5908. "type": "string"
  5909. },
  5910. "applystatus": {
  5911. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5912. "type": "integer"
  5913. },
  5914. "applytime": {
  5915. "description": "申请时间",
  5916. "type": "string"
  5917. },
  5918. "auditname": {
  5919. "description": "审核人名称",
  5920. "type": "string"
  5921. },
  5922. "audittime": {
  5923. "description": "审核时间",
  5924. "type": "string"
  5925. },
  5926. "buyusername": {
  5927. "description": "采购方名称",
  5928. "type": "string"
  5929. },
  5930. "contractno": {
  5931. "description": "合同编号",
  5932. "type": "string"
  5933. },
  5934. "contractstatus": {
  5935. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5936. "type": "integer"
  5937. },
  5938. "contracttype": {
  5939. "description": "现货合同类型 - 1:采购 -1:销售",
  5940. "type": "integer"
  5941. },
  5942. "enumdicname": {
  5943. "description": "单位名称",
  5944. "type": "string"
  5945. },
  5946. "goodscode": {
  5947. "description": "点价合约",
  5948. "type": "string"
  5949. },
  5950. "goodsname": {
  5951. "description": "商品名称",
  5952. "type": "string"
  5953. },
  5954. "invoiceAmount": {
  5955. "description": "已开收票金额(销售为开票,采购为收票)",
  5956. "type": "number"
  5957. },
  5958. "operateapplyid": {
  5959. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5960. "type": "string"
  5961. },
  5962. "operateapplytype": {
  5963. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5964. "type": "integer"
  5965. },
  5966. "pricemove": {
  5967. "description": "升贴水",
  5968. "type": "number"
  5969. },
  5970. "pricetype": {
  5971. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5972. "type": "integer"
  5973. },
  5974. "relatedid": {
  5975. "description": "现货合同ID",
  5976. "type": "string"
  5977. },
  5978. "sellusername": {
  5979. "description": "销售方名字",
  5980. "type": "string"
  5981. },
  5982. "userid": {
  5983. "description": "用户ID",
  5984. "type": "integer"
  5985. }
  5986. }
  5987. },
  5988. "ermcp.QryBussinessJsRsp": {
  5989. "type": "object",
  5990. "properties": {
  5991. "addmargin": {
  5992. "description": "追加保证金(非必填)",
  5993. "type": "number"
  5994. },
  5995. "applyid": {
  5996. "description": "申请人",
  5997. "type": "string"
  5998. },
  5999. "applyname": {
  6000. "description": "申请人名称",
  6001. "type": "string"
  6002. },
  6003. "applystatus": {
  6004. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6005. "type": "integer"
  6006. },
  6007. "applytime": {
  6008. "description": "申请时间",
  6009. "type": "string"
  6010. },
  6011. "auditname": {
  6012. "description": "审核人名称",
  6013. "type": "string"
  6014. },
  6015. "audittime": {
  6016. "description": "审核时间",
  6017. "type": "string"
  6018. },
  6019. "buyusername": {
  6020. "description": "采购方名称",
  6021. "type": "string"
  6022. },
  6023. "contractno": {
  6024. "description": "合同编号",
  6025. "type": "string"
  6026. },
  6027. "contractstatus": {
  6028. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6029. "type": "integer"
  6030. },
  6031. "contracttype": {
  6032. "description": "现货合同类型 - 1:采购 -1:销售",
  6033. "type": "integer"
  6034. },
  6035. "decmargin": {
  6036. "description": "减少保证金(非必填)",
  6037. "type": "number"
  6038. },
  6039. "enumdicname": {
  6040. "description": "单位名称",
  6041. "type": "string"
  6042. },
  6043. "goodscode": {
  6044. "description": "点价合约",
  6045. "type": "string"
  6046. },
  6047. "goodsname": {
  6048. "description": "商品名称",
  6049. "type": "string"
  6050. },
  6051. "operateapplyid": {
  6052. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6053. "type": "string"
  6054. },
  6055. "operateapplytype": {
  6056. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6057. "type": "integer"
  6058. },
  6059. "pricemove": {
  6060. "description": "升贴水",
  6061. "type": "number"
  6062. },
  6063. "pricetype": {
  6064. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6065. "type": "integer"
  6066. },
  6067. "reckonadjustamount": {
  6068. "description": "结算调整金额(非必填)",
  6069. "type": "number"
  6070. },
  6071. "reckonosamount": {
  6072. "description": "结算溢短金额(非必填)",
  6073. "type": "number"
  6074. },
  6075. "reckonotheramount": {
  6076. "description": "结算其他费用(非必填)",
  6077. "type": "number"
  6078. },
  6079. "reckonrealqty": {
  6080. "description": "结算实际数量(非必填)",
  6081. "type": "number"
  6082. },
  6083. "relatedid": {
  6084. "description": "现货合同ID",
  6085. "type": "string"
  6086. },
  6087. "sellusername": {
  6088. "description": "销售方名字",
  6089. "type": "string"
  6090. },
  6091. "userid": {
  6092. "description": "用户ID",
  6093. "type": "integer"
  6094. }
  6095. }
  6096. },
  6097. "ermcp.QryBussinessKxRsp": {
  6098. "type": "object",
  6099. "properties": {
  6100. "applyid": {
  6101. "description": "申请人",
  6102. "type": "string"
  6103. },
  6104. "applyname": {
  6105. "description": "申请人名称",
  6106. "type": "string"
  6107. },
  6108. "applystatus": {
  6109. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6110. "type": "integer"
  6111. },
  6112. "applytime": {
  6113. "description": "申请时间",
  6114. "type": "string"
  6115. },
  6116. "auditname": {
  6117. "description": "审核人名称",
  6118. "type": "string"
  6119. },
  6120. "audittime": {
  6121. "description": "审核时间",
  6122. "type": "string"
  6123. },
  6124. "buyusername": {
  6125. "description": "采购方名称",
  6126. "type": "string"
  6127. },
  6128. "contractno": {
  6129. "description": "合同编号",
  6130. "type": "string"
  6131. },
  6132. "contractstatus": {
  6133. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6134. "type": "integer"
  6135. },
  6136. "contracttype": {
  6137. "description": "现货合同类型 - 1:采购 -1:销售",
  6138. "type": "integer"
  6139. },
  6140. "deductamount": {
  6141. "description": "退款(非必填)",
  6142. "type": "number"
  6143. },
  6144. "enumdicname": {
  6145. "description": "单位名称",
  6146. "type": "string"
  6147. },
  6148. "goodscode": {
  6149. "description": "点价合约",
  6150. "type": "string"
  6151. },
  6152. "goodsname": {
  6153. "description": "商品名称",
  6154. "type": "string"
  6155. },
  6156. "kxtype": {
  6157. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6158. "type": "integer"
  6159. },
  6160. "operateapplyid": {
  6161. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6162. "type": "string"
  6163. },
  6164. "operateapplytype": {
  6165. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6166. "type": "integer"
  6167. },
  6168. "payamount": {
  6169. "description": "收付款(非必填)",
  6170. "type": "number"
  6171. },
  6172. "pricemove": {
  6173. "description": "升贴水",
  6174. "type": "number"
  6175. },
  6176. "pricetype": {
  6177. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6178. "type": "integer"
  6179. },
  6180. "relatedid": {
  6181. "description": "现货合同ID",
  6182. "type": "string"
  6183. },
  6184. "sellusername": {
  6185. "description": "销售方名字",
  6186. "type": "string"
  6187. },
  6188. "userid": {
  6189. "description": "用户ID",
  6190. "type": "integer"
  6191. }
  6192. }
  6193. },
  6194. "ermcp.QryErmcpRsp": {
  6195. "type": "object",
  6196. "properties": {
  6197. "accountid": {
  6198. "description": "账户ID",
  6199. "type": "string"
  6200. },
  6201. "accountname": {
  6202. "description": "账户名称",
  6203. "type": "string"
  6204. },
  6205. "contracctstatus": {
  6206. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6207. "type": "integer"
  6208. },
  6209. "contractno": {
  6210. "description": "合同编号",
  6211. "type": "string"
  6212. },
  6213. "contracttype": {
  6214. "description": "合同类型 1-采购, -1-销售",
  6215. "type": "integer"
  6216. },
  6217. "convertfactor": {
  6218. "description": "标仓系数",
  6219. "type": "number"
  6220. },
  6221. "daikaiamount": {
  6222. "description": "待开票额",
  6223. "type": "number"
  6224. },
  6225. "deliveryenddate": {
  6226. "description": "交割结束日",
  6227. "type": "string"
  6228. },
  6229. "deliverygoodscode": {
  6230. "description": "现货商品代码",
  6231. "type": "string"
  6232. },
  6233. "deliverygoodsid": {
  6234. "description": "现货商品ID",
  6235. "type": "integer"
  6236. },
  6237. "deliverygoodsname": {
  6238. "description": "现货商品名称",
  6239. "type": "string"
  6240. },
  6241. "deliverystartdate": {
  6242. "description": "交割开始日",
  6243. "type": "string"
  6244. },
  6245. "enddate": {
  6246. "description": "点价结束日",
  6247. "type": "string"
  6248. },
  6249. "enumdicname": {
  6250. "description": "单位名称",
  6251. "type": "string"
  6252. },
  6253. "goodscode": {
  6254. "description": "点价商品代码",
  6255. "type": "string"
  6256. },
  6257. "goodsid": {
  6258. "description": "点价商品ID",
  6259. "type": "integer"
  6260. },
  6261. "invoiceamount": {
  6262. "description": "已开票额",
  6263. "type": "number"
  6264. },
  6265. "loanamount": {
  6266. "description": "贷款总额=已定价额+调整金额",
  6267. "type": "number"
  6268. },
  6269. "margin": {
  6270. "description": "保证金",
  6271. "type": "number"
  6272. },
  6273. "payamount": {
  6274. "description": "已收付额(收款或付款)",
  6275. "type": "number"
  6276. },
  6277. "price": {
  6278. "description": "价格",
  6279. "type": "number"
  6280. },
  6281. "pricedamount": {
  6282. "description": "已定价额",
  6283. "type": "number"
  6284. },
  6285. "pricedavg": {
  6286. "description": "已点均价",
  6287. "type": "number"
  6288. },
  6289. "pricedqty": {
  6290. "description": "已定价量",
  6291. "type": "number"
  6292. },
  6293. "pricemove": {
  6294. "description": "升贴水",
  6295. "type": "number"
  6296. },
  6297. "pricetype": {
  6298. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6299. "type": "integer"
  6300. },
  6301. "producttype": {
  6302. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6303. "type": "integer"
  6304. },
  6305. "qty": {
  6306. "description": "合同量",
  6307. "type": "number"
  6308. },
  6309. "reckonadjustamount": {
  6310. "description": "调整金额",
  6311. "type": "number"
  6312. },
  6313. "reckonedamount": {
  6314. "description": "已收付额(已确定额)",
  6315. "type": "number"
  6316. },
  6317. "reckonotheramount": {
  6318. "description": "其它费用",
  6319. "type": "number"
  6320. },
  6321. "reckonrealqty": {
  6322. "description": "已确定量",
  6323. "type": "number"
  6324. },
  6325. "remark": {
  6326. "description": "备注",
  6327. "type": "string"
  6328. },
  6329. "spotcontractid": {
  6330. "description": "合同ID",
  6331. "type": "string"
  6332. },
  6333. "spotgoodsdesc": {
  6334. "description": "商品型号(商品规格)",
  6335. "type": "string"
  6336. },
  6337. "startdate": {
  6338. "description": "点价开始日",
  6339. "type": "string"
  6340. },
  6341. "totalamount": {
  6342. "description": "合计总额",
  6343. "type": "number"
  6344. },
  6345. "unpayamount": {
  6346. "description": "待支收额(支付或收款)",
  6347. "type": "number"
  6348. },
  6349. "unpricedqty": {
  6350. "description": "未定价量",
  6351. "type": "number"
  6352. },
  6353. "unsureqty": {
  6354. "description": "未确定量",
  6355. "type": "number"
  6356. },
  6357. "userid": {
  6358. "description": "用户ID",
  6359. "type": "integer"
  6360. }
  6361. }
  6362. },
  6363. "ermcp.QryHedgePlanRsp": {
  6364. "type": "object",
  6365. "properties": {
  6366. "areauserid": {
  6367. "description": "用户ID",
  6368. "type": "integer"
  6369. },
  6370. "contracttype": {
  6371. "description": "计划类型 - 1:采购 -1:销售",
  6372. "type": "integer"
  6373. },
  6374. "convertfactor": {
  6375. "description": "标仓系数",
  6376. "type": "number"
  6377. },
  6378. "deliverygoodsid": {
  6379. "description": "现货品种ID",
  6380. "type": "integer"
  6381. },
  6382. "deliverygoodsname": {
  6383. "description": "现货品种名称",
  6384. "type": "string"
  6385. },
  6386. "hedgeplanid": {
  6387. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6388. "type": "string"
  6389. },
  6390. "hedgeplanno": {
  6391. "description": "套保计划编号(名称)",
  6392. "type": "string"
  6393. },
  6394. "hedgeplanstatus": {
  6395. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6396. "type": "integer"
  6397. },
  6398. "planqty": {
  6399. "description": "计划数量",
  6400. "type": "number"
  6401. },
  6402. "plantime": {
  6403. "description": "计划时间",
  6404. "type": "string"
  6405. },
  6406. "producttype": {
  6407. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6408. "type": "integer"
  6409. },
  6410. "remark": {
  6411. "description": "备注",
  6412. "type": "string"
  6413. },
  6414. "spotgoodsdesc": {
  6415. "description": "商品型号",
  6416. "type": "string"
  6417. },
  6418. "wrstandardid": {
  6419. "description": "现货商品ID",
  6420. "type": "integer"
  6421. },
  6422. "wrstandardname": {
  6423. "description": "现货商品名称",
  6424. "type": "string"
  6425. }
  6426. }
  6427. },
  6428. "ermcp.QryOPLogRsp": {
  6429. "type": "object",
  6430. "properties": {
  6431. "aftervalue": {
  6432. "description": "变更后",
  6433. "type": "number"
  6434. },
  6435. "applyid": {
  6436. "description": "操作人ID",
  6437. "type": "string"
  6438. },
  6439. "applyname": {
  6440. "description": "操作人名称",
  6441. "type": "string"
  6442. },
  6443. "beforevalue": {
  6444. "description": "变更前",
  6445. "type": "number"
  6446. },
  6447. "biztype": {
  6448. "description": "业务类型 - 1:套保计划 2:现货合同",
  6449. "type": "integer"
  6450. },
  6451. "contracttype": {
  6452. "description": "现货合同类型 - 1:采购 -1:销售",
  6453. "type": "integer"
  6454. },
  6455. "logvalue": {
  6456. "description": "数值",
  6457. "type": "number"
  6458. },
  6459. "operatelogtype": {
  6460. "description": "操作流水类型",
  6461. "type": "integer"
  6462. },
  6463. "operatelogtypedesc": {
  6464. "description": "操作流水类型名称",
  6465. "type": "string"
  6466. },
  6467. "relatedid": {
  6468. "description": "现货合同ID\\套保计划",
  6469. "type": "string"
  6470. },
  6471. "updatetime": {
  6472. "description": "更新时间",
  6473. "type": "string"
  6474. }
  6475. }
  6476. },
  6477. "ermcp.QrySpotContractRsp": {
  6478. "type": "object",
  6479. "properties": {
  6480. "amount": {
  6481. "description": "金额 [1:一口价、3:暂定价]",
  6482. "type": "number"
  6483. },
  6484. "buyuserid": {
  6485. "description": "采购方ID",
  6486. "type": "integer"
  6487. },
  6488. "buyusername": {
  6489. "description": "采购方名称",
  6490. "type": "string"
  6491. },
  6492. "contracctstatus": {
  6493. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6494. "type": "integer"
  6495. },
  6496. "contractno": {
  6497. "description": "现货合同编号",
  6498. "type": "string"
  6499. },
  6500. "contracttype": {
  6501. "description": "现货合同类型 - 1:采购 -1:销售",
  6502. "type": "integer"
  6503. },
  6504. "convertfactor": {
  6505. "description": "标仓系数",
  6506. "type": "number"
  6507. },
  6508. "deliveryenddate": {
  6509. "description": "交收期(结束)",
  6510. "type": "string"
  6511. },
  6512. "deliverygoodscode": {
  6513. "description": "现货品种代码",
  6514. "type": "string"
  6515. },
  6516. "deliverygoodsid": {
  6517. "description": "现货品种ID",
  6518. "type": "integer"
  6519. },
  6520. "deliverygoodsname": {
  6521. "description": "现货品种名称",
  6522. "type": "string"
  6523. },
  6524. "deliverystartdate": {
  6525. "description": "交收期(开始)",
  6526. "type": "string"
  6527. },
  6528. "enddate": {
  6529. "description": "点价结束日期 [2:点价 3:暂定价]",
  6530. "type": "string"
  6531. },
  6532. "enumdicname": {
  6533. "description": "单位名称",
  6534. "type": "string"
  6535. },
  6536. "goodscode": {
  6537. "description": "点价合约代码",
  6538. "type": "string"
  6539. },
  6540. "goodsid": {
  6541. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  6542. "type": "integer"
  6543. },
  6544. "margin": {
  6545. "description": "当前保证金",
  6546. "type": "number"
  6547. },
  6548. "price": {
  6549. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  6550. "type": "number"
  6551. },
  6552. "pricemove": {
  6553. "description": "升贴水 [2:点价 3:暂定价]",
  6554. "type": "number"
  6555. },
  6556. "pricetype": {
  6557. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6558. "type": "integer"
  6559. },
  6560. "producttype": {
  6561. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6562. "type": "integer"
  6563. },
  6564. "qty": {
  6565. "description": "数量",
  6566. "type": "number"
  6567. },
  6568. "remark": {
  6569. "description": "备注",
  6570. "type": "string"
  6571. },
  6572. "selluserid": {
  6573. "description": "销售方ID",
  6574. "type": "integer"
  6575. },
  6576. "sellusername": {
  6577. "description": "销售方名称",
  6578. "type": "string"
  6579. },
  6580. "spotcontractid": {
  6581. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  6582. "type": "string"
  6583. },
  6584. "spotgoodsdesc": {
  6585. "description": "商品型号",
  6586. "type": "string"
  6587. },
  6588. "startdate": {
  6589. "description": "点价开始日期 [2:点价 3:暂定价]",
  6590. "type": "string"
  6591. },
  6592. "userid": {
  6593. "description": "机构ID",
  6594. "type": "integer"
  6595. }
  6596. }
  6597. },
  6598. "ermcp.QryUserInfoRsp": {
  6599. "type": "object",
  6600. "properties": {
  6601. "address": {
  6602. "description": "通讯地址",
  6603. "type": "string"
  6604. },
  6605. "attachment1": {
  6606. "description": "附件1",
  6607. "type": "string"
  6608. },
  6609. "cardfrontphotourl": {
  6610. "description": "证件正面图片地址",
  6611. "type": "string"
  6612. },
  6613. "cardnum": {
  6614. "description": "证件号码",
  6615. "type": "string"
  6616. },
  6617. "cardtype": {
  6618. "description": "证件类型",
  6619. "type": "integer"
  6620. },
  6621. "cardtypename": {
  6622. "description": "证件类型名称",
  6623. "type": "string"
  6624. },
  6625. "cityid": {
  6626. "description": "市",
  6627. "type": "integer"
  6628. },
  6629. "countryid": {
  6630. "description": "国家",
  6631. "type": "integer"
  6632. },
  6633. "customername": {
  6634. "description": "企业名称",
  6635. "type": "string"
  6636. },
  6637. "memberuserid": {
  6638. "description": "所属机构ID",
  6639. "type": "integer"
  6640. },
  6641. "mobile": {
  6642. "description": "手机号码",
  6643. "type": "string"
  6644. },
  6645. "provinceid": {
  6646. "description": "省",
  6647. "type": "integer"
  6648. },
  6649. "remark": {
  6650. "description": "备注",
  6651. "type": "string"
  6652. },
  6653. "status": {
  6654. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6655. "type": "integer"
  6656. },
  6657. "statusdesc": {
  6658. "description": "账户状态中文描述",
  6659. "type": "string"
  6660. },
  6661. "telphone": {
  6662. "description": "联系电话",
  6663. "type": "string"
  6664. },
  6665. "userid": {
  6666. "description": "用户ID",
  6667. "type": "integer"
  6668. },
  6669. "userinfotype": {
  6670. "description": "客户类型",
  6671. "type": "string"
  6672. }
  6673. }
  6674. },
  6675. "ermcp.QryWrStandardRsp": {
  6676. "type": "object",
  6677. "properties": {
  6678. "areauserid": {
  6679. "description": "所属机构",
  6680. "type": "integer"
  6681. },
  6682. "createtime": {
  6683. "description": "创建时间",
  6684. "type": "string"
  6685. },
  6686. "creatorid": {
  6687. "description": "创建人",
  6688. "type": "integer"
  6689. },
  6690. "deliverygoodsid": {
  6691. "description": "品种ID",
  6692. "type": "integer"
  6693. },
  6694. "enumdicname": {
  6695. "description": "单位名称",
  6696. "type": "string"
  6697. },
  6698. "minivalue": {
  6699. "description": "最小变动值",
  6700. "type": "integer"
  6701. },
  6702. "minivaluedp": {
  6703. "description": "最小变动值小数位",
  6704. "type": "integer"
  6705. },
  6706. "realminivalue": {
  6707. "description": "实际最小变动值",
  6708. "type": "integer"
  6709. },
  6710. "realminivaluedp": {
  6711. "description": "实际最小变动值小数位",
  6712. "type": "integer"
  6713. },
  6714. "unitid": {
  6715. "description": "单位ID",
  6716. "type": "integer"
  6717. },
  6718. "wrstandardcode": {
  6719. "description": "现货商品代码",
  6720. "type": "string"
  6721. },
  6722. "wrstandardid": {
  6723. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6724. "type": "integer"
  6725. },
  6726. "wrstandardname": {
  6727. "description": "现货商品名称",
  6728. "type": "string"
  6729. }
  6730. }
  6731. },
  6732. "ermcp.RealtimeExposureRsp": {
  6733. "type": "object",
  6734. "properties": {
  6735. "areaUserID": {
  6736. "description": "所属机构",
  6737. "type": "integer"
  6738. },
  6739. "buyFutureQty": {
  6740. "description": "买入期货数量",
  6741. "type": "number"
  6742. },
  6743. "buyPlanQty": {
  6744. "description": "采购计划数量",
  6745. "type": "number"
  6746. },
  6747. "buyPricedQty": {
  6748. "description": "采购合同已定价数量",
  6749. "type": "number"
  6750. },
  6751. "middleGoodsCode": {
  6752. "description": "套保品种代码",
  6753. "type": "string"
  6754. },
  6755. "middleGoodsHedgeRatio": {
  6756. "description": "应套保比例",
  6757. "type": "number"
  6758. },
  6759. "middleGoodsID": {
  6760. "description": "套保品种",
  6761. "type": "integer"
  6762. },
  6763. "middleGoodsName": {
  6764. "description": "************以下需计算或非redis数据************//",
  6765. "type": "string"
  6766. },
  6767. "needHedgeExposoure": {
  6768. "description": "应套保敞口",
  6769. "type": "number"
  6770. },
  6771. "needHedgeRatio": {
  6772. "description": "应套保敞口比例",
  6773. "type": "number"
  6774. },
  6775. "oriBuyFutureQty": {
  6776. "description": "期初买入期货数量",
  6777. "type": "integer"
  6778. },
  6779. "oriBuyPlanQty": {
  6780. "description": "期初采购计划数量",
  6781. "type": "number"
  6782. },
  6783. "oriBuyPricedQty": {
  6784. "description": "期初采购合同已定价数量",
  6785. "type": "number"
  6786. },
  6787. "oriSellFutureQty": {
  6788. "description": "期初卖出期货数量",
  6789. "type": "integer"
  6790. },
  6791. "oriSellPlanQty": {
  6792. "description": "期初销售计划数量",
  6793. "type": "number"
  6794. },
  6795. "oriSellPricedQty": {
  6796. "description": "期初销售合同已定价数量",
  6797. "type": "number"
  6798. },
  6799. "oriTotalFutuQty": {
  6800. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  6801. "type": "integer"
  6802. },
  6803. "oriTotalSpotQty": {
  6804. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  6805. "type": "number"
  6806. },
  6807. "sellFutureQty": {
  6808. "description": "卖出期货数量",
  6809. "type": "number"
  6810. },
  6811. "sellPlanQty": {
  6812. "description": "销售计划数量",
  6813. "type": "number"
  6814. },
  6815. "sellPricedQty": {
  6816. "description": "销售合同已定价数量",
  6817. "type": "number"
  6818. },
  6819. "totalExposure": {
  6820. "description": "总敞口",
  6821. "type": "number"
  6822. },
  6823. "totalFutureQty": {
  6824. "description": "期货数量",
  6825. "type": "number"
  6826. },
  6827. "totalHedgeRatio": {
  6828. "description": "敞口比例",
  6829. "type": "number"
  6830. },
  6831. "totalNeedHedgeQty": {
  6832. "description": "期货应套保量",
  6833. "type": "number"
  6834. },
  6835. "totalSpotQty": {
  6836. "description": "现货数量",
  6837. "type": "number"
  6838. }
  6839. }
  6840. },
  6841. "erms2.QueryArbitrageStrategyRsp": {
  6842. "type": "object",
  6843. "required": [
  6844. "asapplyid"
  6845. ],
  6846. "properties": {
  6847. "applybasis": {
  6848. "description": "申请基差",
  6849. "type": "number"
  6850. },
  6851. "asapplyid": {
  6852. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6853. "type": "string"
  6854. },
  6855. "asname": {
  6856. "description": "策略名称",
  6857. "type": "string"
  6858. },
  6859. "asno": {
  6860. "description": "策略编号",
  6861. "type": "string"
  6862. },
  6863. "basischangepl": {
  6864. "description": "基差变动损益[结算更新]",
  6865. "type": "number"
  6866. },
  6867. "biztype": {
  6868. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6869. "type": "integer"
  6870. },
  6871. "closetradedate": {
  6872. "description": "完结交易日(yyyyMMdd)",
  6873. "type": "string"
  6874. },
  6875. "curbasis": {
  6876. "description": "当前基差[结算更新]",
  6877. "type": "number"
  6878. },
  6879. "deliverygoodsid": {
  6880. "description": "现货品种ID",
  6881. "type": "integer"
  6882. },
  6883. "futureavgprice": {
  6884. "description": "期货建仓均价",
  6885. "type": "number"
  6886. },
  6887. "futurecloseamount": {
  6888. "description": "期货平仓金额",
  6889. "type": "number"
  6890. },
  6891. "futurecloseqty": {
  6892. "description": "期货平仓数量",
  6893. "type": "number"
  6894. },
  6895. "futureopenamount": {
  6896. "description": "期货开仓金额",
  6897. "type": "number"
  6898. },
  6899. "futureopenqty": {
  6900. "description": "期货开仓数量",
  6901. "type": "number"
  6902. },
  6903. "futurepl": {
  6904. "description": "期货总盈亏[结算更新]",
  6905. "type": "number"
  6906. },
  6907. "futureqty": {
  6908. "description": "期货持仓数量",
  6909. "type": "number"
  6910. },
  6911. "futurequote": {
  6912. "description": "期货额度",
  6913. "type": "number"
  6914. },
  6915. "goodsgroupid": {
  6916. "description": "期货品种ID",
  6917. "type": "integer"
  6918. },
  6919. "marketid": {
  6920. "description": "市场ID",
  6921. "type": "integer"
  6922. },
  6923. "netexposure": {
  6924. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6925. "type": "number"
  6926. },
  6927. "netexposurepl": {
  6928. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6929. "type": "number"
  6930. },
  6931. "netexposurerate": {
  6932. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6933. "type": "number"
  6934. },
  6935. "openbasis": {
  6936. "description": "建仓基差",
  6937. "type": "number"
  6938. },
  6939. "pricedspotqty": {
  6940. "description": "已定价现货数量",
  6941. "type": "number"
  6942. },
  6943. "pricedspotqtynotax": {
  6944. "description": "已定价现货不含税数量",
  6945. "type": "number"
  6946. },
  6947. "remark": {
  6948. "description": "备注",
  6949. "type": "string"
  6950. },
  6951. "spotavgprice": {
  6952. "description": "现货均价",
  6953. "type": "number"
  6954. },
  6955. "spotbuyamount": {
  6956. "description": "现货采购金额",
  6957. "type": "number"
  6958. },
  6959. "spotbuyqty": {
  6960. "description": "现货采购数量",
  6961. "type": "number"
  6962. },
  6963. "spotpl": {
  6964. "description": "现货总盈亏[结算更新]",
  6965. "type": "number"
  6966. },
  6967. "spotquota": {
  6968. "description": "现货额度",
  6969. "type": "number"
  6970. },
  6971. "spotsellamount": {
  6972. "description": "现货销售金额",
  6973. "type": "number"
  6974. },
  6975. "spotsellqty": {
  6976. "description": "现货销售数量",
  6977. "type": "number"
  6978. },
  6979. "spotusedquota": {
  6980. "description": "现货占用资金",
  6981. "type": "number"
  6982. },
  6983. "strategystatus": {
  6984. "description": "策略状态 - 0:未结束 1:已结束",
  6985. "type": "integer"
  6986. },
  6987. "totalpl": {
  6988. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6989. "type": "number"
  6990. },
  6991. "tradedate": {
  6992. "description": "交易日(yyyyMMdd)",
  6993. "type": "string"
  6994. },
  6995. "updatetime": {
  6996. "description": "更新时间",
  6997. "type": "string"
  6998. },
  6999. "usedquota": {
  7000. "description": "已占用资金",
  7001. "type": "number"
  7002. },
  7003. "userid": {
  7004. "description": "所属机构",
  7005. "type": "integer"
  7006. }
  7007. }
  7008. },
  7009. "erms2.QueryInnerTradeDetailRsp": {
  7010. "type": "object",
  7011. "required": [
  7012. "asapplyid",
  7013. "buyorsell",
  7014. "goodscode",
  7015. "goodsgroupid",
  7016. "goodsgroupname",
  7017. "goodsname",
  7018. "tradeid"
  7019. ],
  7020. "properties": {
  7021. "accountid": {
  7022. "description": "账号ID",
  7023. "type": "integer"
  7024. },
  7025. "agreeunit": {
  7026. "description": "合约单位",
  7027. "type": "number"
  7028. },
  7029. "asapplyid": {
  7030. "description": "策略申请ID",
  7031. "type": "integer"
  7032. },
  7033. "asname": {
  7034. "description": "策略名称",
  7035. "type": "string"
  7036. },
  7037. "asno": {
  7038. "description": "策略编号",
  7039. "type": "string"
  7040. },
  7041. "buyorsell": {
  7042. "description": "方向 - 0:买 1:卖",
  7043. "type": "integer"
  7044. },
  7045. "channelbuildtype": {
  7046. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7047. "type": "integer"
  7048. },
  7049. "closetype": {
  7050. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7051. "type": "integer"
  7052. },
  7053. "decimalplace": {
  7054. "description": "报价小数位",
  7055. "type": "integer"
  7056. },
  7057. "detailtype": {
  7058. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7059. "type": "integer"
  7060. },
  7061. "exexchangecode": {
  7062. "description": "外部交易所代码",
  7063. "type": "string"
  7064. },
  7065. "exexchangename": {
  7066. "description": "外部交易所名称",
  7067. "type": "string"
  7068. },
  7069. "goodscode": {
  7070. "description": "商品代码(合约)",
  7071. "type": "string"
  7072. },
  7073. "goodsgroupid": {
  7074. "description": "商品组ID(品种ID)",
  7075. "type": "integer"
  7076. },
  7077. "goodsgroupname": {
  7078. "description": "商品组名称(品种)",
  7079. "type": "string"
  7080. },
  7081. "goodsid": {
  7082. "description": "商品ID",
  7083. "type": "integer"
  7084. },
  7085. "goodsname": {
  7086. "description": "商品名称(合约)",
  7087. "type": "string"
  7088. },
  7089. "goodunit": {
  7090. "description": "报价单位",
  7091. "type": "string"
  7092. },
  7093. "marketid": {
  7094. "description": "市场ID",
  7095. "type": "integer"
  7096. },
  7097. "orderid": {
  7098. "description": "委托单号",
  7099. "type": "string"
  7100. },
  7101. "outgoodscode": {
  7102. "description": "商品代码(外部)",
  7103. "type": "string"
  7104. },
  7105. "relatedouttradeid": {
  7106. "description": "关联外部成交单ID",
  7107. "type": "string"
  7108. },
  7109. "remark": {
  7110. "description": "备注",
  7111. "type": "string"
  7112. },
  7113. "spotcontractid": {
  7114. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7115. "type": "integer"
  7116. },
  7117. "spotcontractno": {
  7118. "description": "现货合同编号",
  7119. "type": "string"
  7120. },
  7121. "tradeid": {
  7122. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7123. "type": "string"
  7124. },
  7125. "tradeprice": {
  7126. "description": "成交价格",
  7127. "type": "number"
  7128. },
  7129. "tradeqty": {
  7130. "description": "成交数量",
  7131. "type": "integer"
  7132. },
  7133. "tradetime": {
  7134. "description": "成交时间",
  7135. "type": "string"
  7136. },
  7137. "updatetime": {
  7138. "description": "更新时间",
  7139. "type": "string"
  7140. }
  7141. }
  7142. },
  7143. "erms2.QuerySpotContractRsp": {
  7144. "type": "object",
  7145. "required": [
  7146. "spotcontractid"
  7147. ],
  7148. "properties": {
  7149. "accountid": {
  7150. "description": "资金账户ID",
  7151. "type": "integer"
  7152. },
  7153. "areauserid": {
  7154. "description": "所属机构",
  7155. "type": "integer"
  7156. },
  7157. "closedate": {
  7158. "description": "终止日期",
  7159. "type": "string"
  7160. },
  7161. "closeremark": {
  7162. "description": "结束备注",
  7163. "type": "string"
  7164. },
  7165. "closetradedate": {
  7166. "description": "完结交易日(yyyyMMdd)",
  7167. "type": "string"
  7168. },
  7169. "closetype": {
  7170. "description": "终止类型 - 1:违约 2:提前终止",
  7171. "type": "integer"
  7172. },
  7173. "contractamount": {
  7174. "description": "合同金额",
  7175. "type": "number"
  7176. },
  7177. "contractattachment": {
  7178. "description": "合同附件",
  7179. "type": "string"
  7180. },
  7181. "contractno": {
  7182. "description": "现货合同编号",
  7183. "type": "string"
  7184. },
  7185. "contractqty": {
  7186. "description": "合同数量(数值) (用于计算)",
  7187. "type": "number"
  7188. },
  7189. "contractqtychar": {
  7190. "description": "合同数量\\已订价数量 (用于显示)",
  7191. "type": "string"
  7192. },
  7193. "contractstatus": {
  7194. "description": "合同状态 - 0:未结束 1:已结束",
  7195. "type": "integer"
  7196. },
  7197. "contracttype": {
  7198. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7199. "type": "integer"
  7200. },
  7201. "customeraccountid": {
  7202. "description": "客户资金账户ID",
  7203. "type": "integer"
  7204. },
  7205. "customeruserid": {
  7206. "description": "客户ID",
  7207. "type": "integer"
  7208. },
  7209. "deliverygoodsdesc": {
  7210. "description": "品种说明",
  7211. "type": "string"
  7212. },
  7213. "deliverygoodsid": {
  7214. "description": "现货品种ID",
  7215. "type": "integer"
  7216. },
  7217. "handlestatus": {
  7218. "description": "处理状态",
  7219. "type": "integer"
  7220. },
  7221. "invoiceatt": {
  7222. "description": "发票附件",
  7223. "type": "string"
  7224. },
  7225. "invoicedatetime": {
  7226. "description": "开收票更新时间",
  7227. "type": "string"
  7228. },
  7229. "invoiceopentime": {
  7230. "description": "开票时间",
  7231. "type": "string"
  7232. },
  7233. "invoiceremark": {
  7234. "description": "发票备注",
  7235. "type": "string"
  7236. },
  7237. "invoicestatus": {
  7238. "description": "开收票状态 - 0:未开票 1:已开票",
  7239. "type": "integer"
  7240. },
  7241. "lastdate": {
  7242. "description": "交货时间",
  7243. "type": "string"
  7244. },
  7245. "marketid": {
  7246. "description": "市场ID",
  7247. "type": "integer"
  7248. },
  7249. "paydatetime": {
  7250. "description": "收付款更新时间",
  7251. "type": "string"
  7252. },
  7253. "payremark": {
  7254. "description": "收付款备注",
  7255. "type": "string"
  7256. },
  7257. "paystatus": {
  7258. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7259. "type": "integer"
  7260. },
  7261. "positionqty": {
  7262. "description": "头寸数量 - 合同数量去小数部分",
  7263. "type": "integer"
  7264. },
  7265. "producttype": {
  7266. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7267. "type": "integer"
  7268. },
  7269. "relatedqty": {
  7270. "description": "已关联数量",
  7271. "type": "number"
  7272. },
  7273. "relatedstatus": {
  7274. "description": "关联完结状态 - 0:未结束 1:已结束",
  7275. "type": "integer"
  7276. },
  7277. "remark": {
  7278. "description": "备注",
  7279. "type": "string"
  7280. },
  7281. "signdate": {
  7282. "description": "签订日期",
  7283. "type": "string"
  7284. },
  7285. "spotcontractid": {
  7286. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7287. "type": "string"
  7288. },
  7289. "spotdatetime": {
  7290. "description": "收发货更新时间",
  7291. "type": "string"
  7292. },
  7293. "spotprice": {
  7294. "description": "价格",
  7295. "type": "number"
  7296. },
  7297. "spotremark": {
  7298. "description": "收发货备注",
  7299. "type": "string"
  7300. },
  7301. "spotstatus": {
  7302. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7303. "type": "integer"
  7304. },
  7305. "tradedate": {
  7306. "description": "交易日(yyyyMMdd)",
  7307. "type": "string"
  7308. },
  7309. "userid": {
  7310. "description": "业务员用户ID",
  7311. "type": "integer"
  7312. },
  7313. "warehouseid": {
  7314. "description": "仓库ID",
  7315. "type": "integer"
  7316. },
  7317. "wrfactortypeid": {
  7318. "description": "仓单要素类型ID",
  7319. "type": "integer"
  7320. },
  7321. "wrstandardid": {
  7322. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7323. "type": "integer"
  7324. }
  7325. }
  7326. },
  7327. "erms3.AddErms2ASApplyReq": {
  7328. "type": "object",
  7329. "required": [
  7330. "asapplyid"
  7331. ],
  7332. "properties": {
  7333. "applybasis": {
  7334. "description": "申请基差",
  7335. "type": "number"
  7336. },
  7337. "applystatus": {
  7338. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7339. "type": "integer"
  7340. },
  7341. "asapplyid": {
  7342. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7343. "type": "integer"
  7344. },
  7345. "asname": {
  7346. "description": "策略名称",
  7347. "type": "string"
  7348. },
  7349. "asno": {
  7350. "description": "策略编号",
  7351. "type": "string"
  7352. },
  7353. "auditid": {
  7354. "description": "审核人",
  7355. "type": "integer"
  7356. },
  7357. "auditremark": {
  7358. "description": "审核备注",
  7359. "type": "string"
  7360. },
  7361. "audittime": {
  7362. "description": "审核时间",
  7363. "type": "string"
  7364. },
  7365. "biztype": {
  7366. "description": "业务类型 - 1:正向套利 2:反向套利",
  7367. "type": "integer"
  7368. },
  7369. "createtime": {
  7370. "description": "创建时间",
  7371. "type": "string"
  7372. },
  7373. "creatorid": {
  7374. "description": "创建人",
  7375. "type": "integer"
  7376. },
  7377. "deliverygoodsid": {
  7378. "description": "现货品种ID",
  7379. "type": "integer"
  7380. },
  7381. "futurequote": {
  7382. "description": "期货额度",
  7383. "type": "number"
  7384. },
  7385. "goodsgroupid": {
  7386. "description": "期货品种ID",
  7387. "type": "integer"
  7388. },
  7389. "marketid": {
  7390. "description": "市场ID",
  7391. "type": "integer"
  7392. },
  7393. "remark": {
  7394. "description": "备注",
  7395. "type": "string"
  7396. },
  7397. "spotquota": {
  7398. "description": "现货额度",
  7399. "type": "number"
  7400. },
  7401. "tradedate": {
  7402. "description": "交易日(yyyyMMdd)",
  7403. "type": "string"
  7404. },
  7405. "userid": {
  7406. "description": "所属机构",
  7407. "type": "integer"
  7408. }
  7409. }
  7410. },
  7411. "erms3.AddErms2SpotTradeApplyReq": {
  7412. "type": "object",
  7413. "required": [
  7414. "spottradeid"
  7415. ],
  7416. "properties": {
  7417. "applyjsondetail": {
  7418. "description": "申请明细(JSON)",
  7419. "type": "string"
  7420. },
  7421. "applystatus": {
  7422. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7423. "type": "integer"
  7424. },
  7425. "areauserid": {
  7426. "description": "所属机构",
  7427. "type": "integer"
  7428. },
  7429. "auditid": {
  7430. "description": "审核人",
  7431. "type": "integer"
  7432. },
  7433. "auditremark": {
  7434. "description": "审核备注",
  7435. "type": "string"
  7436. },
  7437. "audittime": {
  7438. "description": "审核时间",
  7439. "type": "string"
  7440. },
  7441. "createtime": {
  7442. "description": "创建时间",
  7443. "type": "string"
  7444. },
  7445. "creatorid": {
  7446. "description": "创建人",
  7447. "type": "integer"
  7448. },
  7449. "deliverygoodsid": {
  7450. "description": "现货品种ID",
  7451. "type": "integer"
  7452. },
  7453. "futureaccountid": {
  7454. "description": "期货资金账户",
  7455. "type": "integer"
  7456. },
  7457. "goodsgroupid": {
  7458. "description": "期货品种",
  7459. "type": "integer"
  7460. },
  7461. "marketid": {
  7462. "description": "市场ID",
  7463. "type": "integer"
  7464. },
  7465. "remark": {
  7466. "description": "备注",
  7467. "type": "string"
  7468. },
  7469. "spotaccountid": {
  7470. "description": "现货资金账户",
  7471. "type": "integer"
  7472. },
  7473. "spottradeid": {
  7474. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7475. "type": "integer"
  7476. },
  7477. "spottradename": {
  7478. "description": "业务名称",
  7479. "type": "string"
  7480. },
  7481. "spottradeno": {
  7482. "description": "业务编号",
  7483. "type": "string"
  7484. },
  7485. "tradedate": {
  7486. "description": "交易日(yyyyMMdd)",
  7487. "type": "string"
  7488. },
  7489. "wrstandardid": {
  7490. "description": "仓单标准ID",
  7491. "type": "integer"
  7492. }
  7493. }
  7494. },
  7495. "erms3.AddSpotContractApplyReq": {
  7496. "type": "object",
  7497. "required": [
  7498. "accountid",
  7499. "areauserid",
  7500. "contractno",
  7501. "contracttype",
  7502. "customeraccountid",
  7503. "customeruserid",
  7504. "details",
  7505. "orimargin",
  7506. "signdate"
  7507. ],
  7508. "properties": {
  7509. "accountid": {
  7510. "description": "资金账户ID",
  7511. "type": "integer"
  7512. },
  7513. "areauserid": {
  7514. "description": "所属机构",
  7515. "type": "integer"
  7516. },
  7517. "contractattachment": {
  7518. "description": "合同附件",
  7519. "type": "string"
  7520. },
  7521. "contractno": {
  7522. "description": "现货合同编号",
  7523. "type": "string"
  7524. },
  7525. "contracttype": {
  7526. "description": "现货合同类型 - 1:采购 -1:销售",
  7527. "type": "integer"
  7528. },
  7529. "creatorid": {
  7530. "description": "申请人",
  7531. "type": "integer"
  7532. },
  7533. "customeraccountid": {
  7534. "description": "客户资金账户ID",
  7535. "type": "integer"
  7536. },
  7537. "customeruserid": {
  7538. "description": "客户ID",
  7539. "type": "integer"
  7540. },
  7541. "details": {
  7542. "description": "明细",
  7543. "type": "array",
  7544. "items": {
  7545. "$ref": "#/definitions/erms3.SoptContractDetail"
  7546. }
  7547. },
  7548. "orimargin": {
  7549. "description": "初始保证金",
  7550. "type": "number"
  7551. },
  7552. "remark": {
  7553. "description": "备注",
  7554. "type": "string"
  7555. },
  7556. "signdate": {
  7557. "description": "签订日期",
  7558. "type": "string"
  7559. }
  7560. }
  7561. },
  7562. "erms3.AddSpotContractApplyRsp": {
  7563. "type": "object",
  7564. "required": [
  7565. "contractno"
  7566. ],
  7567. "properties": {
  7568. "contractno": {
  7569. "description": "现货合同编号",
  7570. "type": "string"
  7571. },
  7572. "spotcontractid": {
  7573. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7574. "type": "integer"
  7575. }
  7576. }
  7577. },
  7578. "erms3.AddUserInfoApplyReq": {
  7579. "type": "object",
  7580. "required": [
  7581. "userid"
  7582. ],
  7583. "properties": {
  7584. "accountid": {
  7585. "description": "交易系统帐号Id (加密存储)",
  7586. "type": "integer"
  7587. },
  7588. "areacode": {
  7589. "description": "机构代码",
  7590. "type": "string"
  7591. },
  7592. "areaid": {
  7593. "description": "机构Id",
  7594. "type": "integer"
  7595. },
  7596. "attachment1": {
  7597. "description": "附件1",
  7598. "type": "string"
  7599. },
  7600. "attachment2": {
  7601. "description": "附件2",
  7602. "type": "string"
  7603. },
  7604. "attachment3": {
  7605. "description": "附件3",
  7606. "type": "string"
  7607. },
  7608. "attachment4": {
  7609. "description": "附件4",
  7610. "type": "string"
  7611. },
  7612. "attachment5": {
  7613. "description": "附件5",
  7614. "type": "string"
  7615. },
  7616. "auditedby": {
  7617. "description": "审核人",
  7618. "type": "string"
  7619. },
  7620. "auditime": {
  7621. "description": "审核时间",
  7622. "type": "string"
  7623. },
  7624. "bankaccount": {
  7625. "description": "银行帐号 (加密存储)",
  7626. "type": "string"
  7627. },
  7628. "bankaccountname": {
  7629. "description": "收款人名称",
  7630. "type": "string"
  7631. },
  7632. "bankcardbackphotourl": {
  7633. "description": "银行卡背面照地址",
  7634. "type": "string"
  7635. },
  7636. "bankcardfrontphotourl": {
  7637. "description": "银行卡正面照地址",
  7638. "type": "string"
  7639. },
  7640. "bankid": {
  7641. "description": "银行编码",
  7642. "type": "string"
  7643. },
  7644. "bankname": {
  7645. "description": "银行名称",
  7646. "type": "string"
  7647. },
  7648. "bankpictureurl": {
  7649. "description": "银行卡正面地址",
  7650. "type": "string"
  7651. },
  7652. "biznature": {
  7653. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7654. "type": "integer"
  7655. },
  7656. "bizscope": {
  7657. "description": "企业经营范围(企业)",
  7658. "type": "string"
  7659. },
  7660. "biztype": {
  7661. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7662. "type": "integer"
  7663. },
  7664. "brokerid": {
  7665. "description": "经纪人ID(加密存储)",
  7666. "type": "string"
  7667. },
  7668. "cardaddress": {
  7669. "description": "证件地址 (加密存储)",
  7670. "type": "string"
  7671. },
  7672. "cardbackphotourl": {
  7673. "description": "背面证件照地址",
  7674. "type": "string"
  7675. },
  7676. "cardfrontphotourl": {
  7677. "description": "正面证件照地址",
  7678. "type": "string"
  7679. },
  7680. "cardnum": {
  7681. "description": "证件号码 (加密存储)",
  7682. "type": "string"
  7683. },
  7684. "cardtype": {
  7685. "description": "证件类型",
  7686. "type": "integer"
  7687. },
  7688. "cityid": {
  7689. "description": "市",
  7690. "type": "integer"
  7691. },
  7692. "company": {
  7693. "description": "公司(个人)",
  7694. "type": "string"
  7695. },
  7696. "contactcardbackphotourl": {
  7697. "description": "联系人证件背面图片地址",
  7698. "type": "string"
  7699. },
  7700. "contactcardfrontphotourl": {
  7701. "description": "联系人证件正面图片地址",
  7702. "type": "string"
  7703. },
  7704. "contactname": {
  7705. "description": "联系人",
  7706. "type": "string"
  7707. },
  7708. "countryid": {
  7709. "description": "国家",
  7710. "type": "integer"
  7711. },
  7712. "createtime": {
  7713. "description": "开户申请时间",
  7714. "type": "string"
  7715. },
  7716. "cusbankid": {
  7717. "description": "签约类型",
  7718. "type": "string"
  7719. },
  7720. "cusbankname": {
  7721. "description": "签约类型名称",
  7722. "type": "string"
  7723. },
  7724. "customername": {
  7725. "description": "客户名称(企业名称)",
  7726. "type": "string"
  7727. },
  7728. "districtid": {
  7729. "description": "地区",
  7730. "type": "integer"
  7731. },
  7732. "email": {
  7733. "description": "Email地址(加密存储)",
  7734. "type": "string"
  7735. },
  7736. "halfbodyphotourl": {
  7737. "description": "半身照地址",
  7738. "type": "string"
  7739. },
  7740. "headurl": {
  7741. "description": "头像地址",
  7742. "type": "string"
  7743. },
  7744. "ipaddress": {
  7745. "description": "IP地址",
  7746. "type": "string"
  7747. },
  7748. "isvalidate": {
  7749. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7750. "type": "string"
  7751. },
  7752. "legalcardbackphotourl": {
  7753. "description": "法人身份证背面照地址",
  7754. "type": "string"
  7755. },
  7756. "legalcardfrontphotourl": {
  7757. "description": "法人身份证正面照地址",
  7758. "type": "string"
  7759. },
  7760. "legalpersonname": {
  7761. "description": "法人姓名(企业)",
  7762. "type": "string"
  7763. },
  7764. "logincode": {
  7765. "description": "登录帐号 (加密存储)",
  7766. "type": "string"
  7767. },
  7768. "memberareaid": {
  7769. "description": "所属会员ID",
  7770. "type": "integer"
  7771. },
  7772. "mobile2": {
  7773. "description": "手机号码[明文-尚志]",
  7774. "type": "string"
  7775. },
  7776. "mobilephone": {
  7777. "description": "手机号码 (加密存储)",
  7778. "type": "string"
  7779. },
  7780. "modifiedby": {
  7781. "description": "修改人帐号",
  7782. "type": "integer"
  7783. },
  7784. "modifiedtime": {
  7785. "description": "修改时间",
  7786. "type": "string"
  7787. },
  7788. "nickname": {
  7789. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7790. "type": "string"
  7791. },
  7792. "openmode": {
  7793. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7794. "type": "integer"
  7795. },
  7796. "otherurl": {
  7797. "description": "其它图片地址[使用分号分隔]",
  7798. "type": "string"
  7799. },
  7800. "postalcode": {
  7801. "description": "邮政编码",
  7802. "type": "string"
  7803. },
  7804. "provinceid": {
  7805. "description": "省",
  7806. "type": "integer"
  7807. },
  7808. "proxystatementurl": {
  7809. "description": "授权委托书",
  7810. "type": "string"
  7811. },
  7812. "qq": {
  7813. "description": "QQ(加密存储",
  7814. "type": "string"
  7815. },
  7816. "referral": {
  7817. "description": "推荐人编码",
  7818. "type": "string"
  7819. },
  7820. "remark": {
  7821. "description": "备注",
  7822. "type": "string"
  7823. },
  7824. "removebeforestatus": {
  7825. "description": "REMOVEBEFORESTATUS",
  7826. "type": "integer"
  7827. },
  7828. "sex": {
  7829. "description": "性别 - 0:女 1:男",
  7830. "type": "integer"
  7831. },
  7832. "signedstatus": {
  7833. "description": "账户一号签签约状态",
  7834. "type": "integer"
  7835. },
  7836. "signpdfurl": {
  7837. "description": "签约pdf文件",
  7838. "type": "string"
  7839. },
  7840. "subbranch": {
  7841. "description": "开户支行",
  7842. "type": "string"
  7843. },
  7844. "telphone": {
  7845. "description": "联系电话(加密存储)",
  7846. "type": "string"
  7847. },
  7848. "userid": {
  7849. "description": "用户ID(自增ID)",
  7850. "type": "integer"
  7851. },
  7852. "userinfotype": {
  7853. "description": "用户信息类型 - 1:个人 2:企业",
  7854. "type": "integer"
  7855. },
  7856. "username": {
  7857. "description": "用户姓名",
  7858. "type": "string"
  7859. },
  7860. "userstate": {
  7861. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7862. "type": "integer"
  7863. },
  7864. "usertype": {
  7865. "description": "用户类型 - 1:投资者 2:机构",
  7866. "type": "integer"
  7867. },
  7868. "videourl": {
  7869. "description": "视频地址",
  7870. "type": "string"
  7871. },
  7872. "wechat": {
  7873. "description": "微信号 (加密存储)",
  7874. "type": "string"
  7875. }
  7876. }
  7877. },
  7878. "erms3.CustomerInfo": {
  7879. "type": "object",
  7880. "required": [
  7881. "userid"
  7882. ],
  7883. "properties": {
  7884. "accountids": {
  7885. "description": "资金账户ID列表",
  7886. "type": "array",
  7887. "items": {
  7888. "type": "integer"
  7889. }
  7890. },
  7891. "customername": {
  7892. "description": "名称(企业名称)",
  7893. "type": "string"
  7894. },
  7895. "mobile": {
  7896. "description": "手机号码",
  7897. "type": "string"
  7898. },
  7899. "userid": {
  7900. "description": "用户ID",
  7901. "type": "integer"
  7902. }
  7903. }
  7904. },
  7905. "erms3.QryAuditContractRsp": {
  7906. "type": "object",
  7907. "required": [
  7908. "matchcustomername",
  7909. "spotcontractid"
  7910. ],
  7911. "properties": {
  7912. "accountid": {
  7913. "description": "交易员ID",
  7914. "type": "string"
  7915. },
  7916. "applystatus": {
  7917. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7918. "type": "integer"
  7919. },
  7920. "curdeliveryqty": {
  7921. "description": "未交收量",
  7922. "type": "integer"
  7923. },
  7924. "customername": {
  7925. "description": "采购方ID",
  7926. "type": "string"
  7927. },
  7928. "deliverygoodsid": {
  7929. "description": "品种ID",
  7930. "type": "string"
  7931. },
  7932. "deliveryqty": {
  7933. "description": "交收量",
  7934. "type": "integer"
  7935. },
  7936. "enumdicname": {
  7937. "description": "单位名称",
  7938. "type": "string"
  7939. },
  7940. "matchaccountid": {
  7941. "description": "业务员ID",
  7942. "type": "string"
  7943. },
  7944. "matchcustomername": {
  7945. "description": "销售方ID",
  7946. "type": "string"
  7947. },
  7948. "pricedqty": {
  7949. "description": "定价量",
  7950. "type": "number"
  7951. },
  7952. "signdate": {
  7953. "description": "签订日期",
  7954. "type": "string"
  7955. },
  7956. "spotcontractid": {
  7957. "description": "合同ID",
  7958. "type": "string"
  7959. },
  7960. "totaldqty": {
  7961. "description": "合同量",
  7962. "type": "number"
  7963. },
  7964. "unpricedqty": {
  7965. "description": "未定价量",
  7966. "type": "number"
  7967. },
  7968. "wrstandardname": {
  7969. "description": "商品名称",
  7970. "type": "string"
  7971. }
  7972. }
  7973. },
  7974. "erms3.QryPendingBizRsp": {
  7975. "type": "object",
  7976. "properties": {
  7977. "accountid": {
  7978. "description": "现货账户",
  7979. "type": "string"
  7980. },
  7981. "areaname": {
  7982. "description": "所属部门",
  7983. "type": "string"
  7984. },
  7985. "bizid": {
  7986. "description": "业务ID",
  7987. "type": "string"
  7988. },
  7989. "bizname": {
  7990. "description": "业务名称",
  7991. "type": "string"
  7992. },
  7993. "status": {
  7994. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7995. "type": "integer"
  7996. },
  7997. "type": {
  7998. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  7999. "type": "integer"
  8000. }
  8001. }
  8002. },
  8003. "erms3.QueryBusinessInfoRsp": {
  8004. "type": "object",
  8005. "properties": {
  8006. "businessid": {
  8007. "description": "业务ID.",
  8008. "type": "integer"
  8009. },
  8010. "buyamount": {
  8011. "description": "采购额.",
  8012. "type": "number"
  8013. },
  8014. "buyqty": {
  8015. "description": "采购量.",
  8016. "type": "string"
  8017. },
  8018. "futurepl": {
  8019. "description": "期货盈亏.",
  8020. "type": "number"
  8021. },
  8022. "futureqty": {
  8023. "description": "期货敞口.",
  8024. "type": "string"
  8025. },
  8026. "goodsid": {
  8027. "description": "商品名称/商品代码.",
  8028. "type": "string"
  8029. },
  8030. "hedgingqty": {
  8031. "description": "套保量.",
  8032. "type": "string"
  8033. },
  8034. "sellamount": {
  8035. "description": "销售额.",
  8036. "type": "number"
  8037. },
  8038. "sellqty": {
  8039. "description": "销售量.",
  8040. "type": "string"
  8041. },
  8042. "spotmarketvalue": {
  8043. "description": "现货市值.",
  8044. "type": "number"
  8045. },
  8046. "spotpl": {
  8047. "description": "浮动权益.",
  8048. "type": "number"
  8049. },
  8050. "spotqty": {
  8051. "description": "现货量.",
  8052. "type": "string"
  8053. },
  8054. "statu": {
  8055. "description": "状态,0-未结束 1-已结束.",
  8056. "type": "integer"
  8057. },
  8058. "totalpl": {
  8059. "description": "总盈亏.",
  8060. "type": "number"
  8061. },
  8062. "totalqty": {
  8063. "description": "总敞口.",
  8064. "type": "string"
  8065. },
  8066. "type": {
  8067. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  8068. "type": "integer"
  8069. }
  8070. }
  8071. },
  8072. "erms3.QuerySpotContractAppleFormRsp": {
  8073. "type": "object",
  8074. "properties": {
  8075. "goodses": {
  8076. "description": "合约列表",
  8077. "type": "array",
  8078. "items": {
  8079. "$ref": "#/definitions/models.GoodsIDAndName"
  8080. }
  8081. },
  8082. "oppositeusers": {
  8083. "description": "对方账号列表",
  8084. "type": "array",
  8085. "items": {
  8086. "$ref": "#/definitions/erms3.CustomerInfo"
  8087. }
  8088. },
  8089. "ouruser": {
  8090. "description": "我方账号",
  8091. "$ref": "#/definitions/erms3.CustomerInfo"
  8092. },
  8093. "warehouseinfos": {
  8094. "description": "仓库信息列表",
  8095. "type": "array",
  8096. "items": {
  8097. "$ref": "#/definitions/models.Warehouseinfo"
  8098. }
  8099. },
  8100. "wrstandards": {
  8101. "description": "仓单标准列表",
  8102. "type": "array",
  8103. "items": {
  8104. "$ref": "#/definitions/models.WRStandardInfo"
  8105. }
  8106. }
  8107. }
  8108. },
  8109. "erms3.QuerySpotContractInfoRsp": {
  8110. "type": "object",
  8111. "properties": {
  8112. "accountid": {
  8113. "description": "表示交易员ID.",
  8114. "type": "integer"
  8115. },
  8116. "curdeliveryqty": {
  8117. "description": "表示未交收量.",
  8118. "type": "number"
  8119. },
  8120. "customername": {
  8121. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8122. "type": "string"
  8123. },
  8124. "deliverygoodsid": {
  8125. "description": "表示品种ID.",
  8126. "type": "string"
  8127. },
  8128. "deliveryqty": {
  8129. "description": "表示交收量.",
  8130. "type": "number"
  8131. },
  8132. "matchaccountid": {
  8133. "description": "表示业务员ID.",
  8134. "type": "integer"
  8135. },
  8136. "matchcustomername": {
  8137. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8138. "type": "string"
  8139. },
  8140. "priceqty": {
  8141. "description": "表示定价量.",
  8142. "type": "number"
  8143. },
  8144. "relatedbizid": {
  8145. "description": "表示业务ID.",
  8146. "type": "string"
  8147. },
  8148. "signdate": {
  8149. "description": "表示签订日期.",
  8150. "type": "string"
  8151. },
  8152. "spotcontractid": {
  8153. "description": "合同ID",
  8154. "type": "string"
  8155. },
  8156. "status": {
  8157. "description": "表示状态,0-履约中 1-已完成.",
  8158. "type": "integer"
  8159. },
  8160. "totalqty": {
  8161. "description": "表示合同量.",
  8162. "type": "number"
  8163. },
  8164. "unpricedqty": {
  8165. "description": "表示未定价量.",
  8166. "type": "number"
  8167. },
  8168. "wrstandardname": {
  8169. "description": "表示商品ID.",
  8170. "type": "string"
  8171. }
  8172. }
  8173. },
  8174. "erms3.QueryUserInfoAppliesRsp": {
  8175. "type": "object",
  8176. "required": [
  8177. "userid"
  8178. ],
  8179. "properties": {
  8180. "biznature": {
  8181. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8182. "type": "integer"
  8183. },
  8184. "contactname": {
  8185. "description": "联系人",
  8186. "type": "string"
  8187. },
  8188. "createtime": {
  8189. "description": "开户申请时间",
  8190. "type": "string"
  8191. },
  8192. "userid": {
  8193. "description": "用户ID(自增ID)",
  8194. "type": "integer"
  8195. },
  8196. "userinfotype": {
  8197. "description": "用户信息类型 - 1:个人 2:企业",
  8198. "type": "integer"
  8199. },
  8200. "username": {
  8201. "description": "用户姓名",
  8202. "type": "string"
  8203. },
  8204. "userstate": {
  8205. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8206. "type": "integer"
  8207. }
  8208. }
  8209. },
  8210. "erms3.QueryUserInfosRsp": {
  8211. "type": "object",
  8212. "required": [
  8213. "userid"
  8214. ],
  8215. "properties": {
  8216. "biznature": {
  8217. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8218. "type": "integer"
  8219. },
  8220. "contactname": {
  8221. "description": "联系人",
  8222. "type": "string"
  8223. },
  8224. "customername": {
  8225. "description": "客户名称(企业名称)",
  8226. "type": "string"
  8227. },
  8228. "userid": {
  8229. "description": "用户ID",
  8230. "type": "integer"
  8231. },
  8232. "userinfotype": {
  8233. "description": "用户信息类型 - 1:个人 2:企业",
  8234. "type": "integer"
  8235. },
  8236. "userstatus": {
  8237. "description": "用户状态 - 1:正常 2:注销",
  8238. "type": "integer"
  8239. }
  8240. }
  8241. },
  8242. "erms3.SoptContractDetail": {
  8243. "type": "object",
  8244. "required": [
  8245. "deliverygoodsid",
  8246. "producttype",
  8247. "unitname",
  8248. "warehouseid",
  8249. "wrstandardid",
  8250. "wrstandardname"
  8251. ],
  8252. "properties": {
  8253. "deliverygoodsdesc": {
  8254. "description": "现货品种说明",
  8255. "type": "string"
  8256. },
  8257. "deliverygoodsid": {
  8258. "description": "现货品种ID",
  8259. "type": "integer"
  8260. },
  8261. "deliverygoodsname": {
  8262. "description": "现货品种名称",
  8263. "type": "string"
  8264. },
  8265. "pointdesc": {
  8266. "description": "点价描述",
  8267. "type": "string"
  8268. },
  8269. "producttype": {
  8270. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8271. "type": "integer"
  8272. },
  8273. "producttypename": {
  8274. "description": "产品类型名称",
  8275. "type": "string"
  8276. },
  8277. "spotPointOrderVoList": {
  8278. "description": "点价列表",
  8279. "type": "array",
  8280. "items": {
  8281. "$ref": "#/definitions/erms3.SpotPointOrder"
  8282. }
  8283. },
  8284. "spotPriceOrderList": {
  8285. "description": "定价列表",
  8286. "type": "array",
  8287. "items": {
  8288. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8289. }
  8290. },
  8291. "unitname": {
  8292. "description": "单位名称",
  8293. "type": "string"
  8294. },
  8295. "warehouseid": {
  8296. "description": "仓库ID",
  8297. "type": "integer"
  8298. },
  8299. "warehousename": {
  8300. "description": "仓库名称",
  8301. "type": "string"
  8302. },
  8303. "wrstandardid": {
  8304. "description": "交易标的ID",
  8305. "type": "integer"
  8306. },
  8307. "wrstandardname": {
  8308. "description": "交易标的名称",
  8309. "type": "string"
  8310. }
  8311. }
  8312. },
  8313. "erms3.SpotPointOrder": {
  8314. "type": "object",
  8315. "required": [
  8316. "basic",
  8317. "goodsid",
  8318. "qty"
  8319. ],
  8320. "properties": {
  8321. "basic": {
  8322. "description": "基差",
  8323. "type": "number"
  8324. },
  8325. "deliveryenddate": {
  8326. "description": "交收结束日期",
  8327. "type": "string"
  8328. },
  8329. "deliverystartdate": {
  8330. "description": "交收开始日期",
  8331. "type": "string"
  8332. },
  8333. "enddate": {
  8334. "description": "点价结束日期",
  8335. "type": "string"
  8336. },
  8337. "goodsid": {
  8338. "description": "商品ID",
  8339. "type": "integer"
  8340. },
  8341. "goodsname": {
  8342. "description": "商品名称",
  8343. "type": "string"
  8344. },
  8345. "qty": {
  8346. "description": "数量",
  8347. "type": "number"
  8348. },
  8349. "startdate": {
  8350. "description": "点价开始日期",
  8351. "type": "string"
  8352. }
  8353. }
  8354. },
  8355. "erms3.SpotPriceOrder": {
  8356. "type": "object",
  8357. "required": [
  8358. "amount",
  8359. "price",
  8360. "qty"
  8361. ],
  8362. "properties": {
  8363. "amount": {
  8364. "description": "金额",
  8365. "type": "number"
  8366. },
  8367. "deliveryenddate": {
  8368. "description": "交收结束日期",
  8369. "type": "string"
  8370. },
  8371. "deliverystartdate": {
  8372. "description": "交收开始日期",
  8373. "type": "string"
  8374. },
  8375. "price": {
  8376. "description": "价格",
  8377. "type": "number"
  8378. },
  8379. "qty": {
  8380. "description": "数量",
  8381. "type": "number"
  8382. }
  8383. }
  8384. },
  8385. "hsby.GetHsbyMyCountRsp": {
  8386. "type": "object",
  8387. "properties": {
  8388. "myCouponCount": {
  8389. "description": "我的优惠卷数量",
  8390. "type": "integer"
  8391. },
  8392. "myOrderDetailListingCount": {
  8393. "description": "我的订单求购中数量",
  8394. "type": "integer"
  8395. },
  8396. "myOrderDetailPreCount": {
  8397. "description": "我的订单抢购中数量",
  8398. "type": "integer"
  8399. },
  8400. "myPackageUnReceiveCount": {
  8401. "description": "我的包裹待收货数量",
  8402. "type": "integer"
  8403. },
  8404. "myPackageUnSendCount": {
  8405. "description": "我的包裹待发货数量",
  8406. "type": "integer"
  8407. },
  8408. "myPayOrderCount": {
  8409. "description": "我的订单待付款数量",
  8410. "type": "integer"
  8411. }
  8412. }
  8413. },
  8414. "hsby.QueryProvincesAndCitiesRsp": {
  8415. "type": "object",
  8416. "properties": {
  8417. "cities": {
  8418. "description": "市",
  8419. "type": "array",
  8420. "items": {
  8421. "$ref": "#/definitions/models.Division"
  8422. }
  8423. },
  8424. "province": {
  8425. "description": "省",
  8426. "$ref": "#/definitions/models.Division"
  8427. }
  8428. }
  8429. },
  8430. "models.Clientfixedadconfig": {
  8431. "type": "object",
  8432. "required": [
  8433. "adsort",
  8434. "adtype"
  8435. ],
  8436. "properties": {
  8437. "adsort": {
  8438. "description": "排序",
  8439. "type": "integer"
  8440. },
  8441. "adtype": {
  8442. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8443. "type": "integer"
  8444. },
  8445. "areauserid": {
  8446. "description": "所属机构ID",
  8447. "type": "integer"
  8448. },
  8449. "createdate": {
  8450. "description": "创建时间",
  8451. "type": "string"
  8452. },
  8453. "creatorid": {
  8454. "description": "创建人",
  8455. "type": "integer"
  8456. },
  8457. "imagepath": {
  8458. "description": "图片",
  8459. "type": "string"
  8460. },
  8461. "isshow": {
  8462. "description": "是否展示 - 0:不展示 1:展示",
  8463. "type": "integer"
  8464. },
  8465. "modifierid": {
  8466. "description": "操作人",
  8467. "type": "integer"
  8468. },
  8469. "recsize": {
  8470. "description": "推荐尺寸",
  8471. "type": "string"
  8472. },
  8473. "title": {
  8474. "description": "标题",
  8475. "type": "string"
  8476. },
  8477. "updatedate": {
  8478. "description": "更新时间",
  8479. "type": "string"
  8480. },
  8481. "urlcontent": {
  8482. "description": "链接(地址或商品ID)",
  8483. "type": "string"
  8484. },
  8485. "urltype": {
  8486. "description": "链接类型 - 1:直接地址 2:商品ID",
  8487. "type": "integer"
  8488. }
  8489. }
  8490. },
  8491. "models.Division": {
  8492. "type": "object",
  8493. "required": [
  8494. "autoid",
  8495. "divisioncode"
  8496. ],
  8497. "properties": {
  8498. "autoid": {
  8499. "description": "自增ID",
  8500. "type": "integer"
  8501. },
  8502. "divisioncode": {
  8503. "description": "行政代码",
  8504. "type": "string"
  8505. },
  8506. "divisionlevel": {
  8507. "description": "行政级别",
  8508. "type": "string"
  8509. },
  8510. "divisionname": {
  8511. "description": "行政名称",
  8512. "type": "string"
  8513. },
  8514. "modifierid": {
  8515. "description": "修改人",
  8516. "type": "integer"
  8517. },
  8518. "modifytime": {
  8519. "description": "修改时间",
  8520. "type": "string"
  8521. },
  8522. "parentcode": {
  8523. "description": "上级行政代码",
  8524. "type": "string"
  8525. },
  8526. "pathname": {
  8527. "description": "路径名称",
  8528. "type": "string"
  8529. },
  8530. "postcode": {
  8531. "description": "邮政编码",
  8532. "type": "string"
  8533. },
  8534. "separablename": {
  8535. "description": "可拆分的全称",
  8536. "type": "string"
  8537. },
  8538. "shortcode": {
  8539. "description": "地区简码",
  8540. "type": "string"
  8541. }
  8542. }
  8543. },
  8544. "models.Enumdicitem": {
  8545. "type": "object",
  8546. "required": [
  8547. "autoid",
  8548. "enumdiccode",
  8549. "enumdicid",
  8550. "enumitemname"
  8551. ],
  8552. "properties": {
  8553. "autoid": {
  8554. "description": "自增ID",
  8555. "type": "integer"
  8556. },
  8557. "bankmappedvalue": {
  8558. "description": "银行服务对应值",
  8559. "type": "string"
  8560. },
  8561. "enumdiccode": {
  8562. "description": "所属枚举代码",
  8563. "type": "string"
  8564. },
  8565. "enumdicid": {
  8566. "description": "所属枚举ID",
  8567. "type": "integer"
  8568. },
  8569. "enumdicname": {
  8570. "description": "枚举项名称",
  8571. "type": "string"
  8572. },
  8573. "enumitemname": {
  8574. "description": "枚举项值",
  8575. "type": "integer"
  8576. },
  8577. "enumitemstatus": {
  8578. "description": "枚举项状态 - 1.启用 2.不启用",
  8579. "type": "integer"
  8580. },
  8581. "enumitemvalue": {
  8582. "description": "通用值 - [币种通用简写]",
  8583. "type": "string"
  8584. },
  8585. "param1": {
  8586. "description": "参数1[币种:币种小数位]",
  8587. "type": "string"
  8588. },
  8589. "param2": {
  8590. "description": "参数1[币种:币种显示单位]",
  8591. "type": "string"
  8592. },
  8593. "remark": {
  8594. "description": "备注",
  8595. "type": "string"
  8596. }
  8597. }
  8598. },
  8599. "models.GoodsIDAndName": {
  8600. "type": "object",
  8601. "required": [
  8602. "goodscode",
  8603. "goodsid",
  8604. "goodsname",
  8605. "marketid"
  8606. ],
  8607. "properties": {
  8608. "goodscode": {
  8609. "description": "商品代码(内部)",
  8610. "type": "string"
  8611. },
  8612. "goodsid": {
  8613. "description": "商品ID(自增ID SEQ_GOODS)",
  8614. "type": "integer"
  8615. },
  8616. "goodsname": {
  8617. "description": "商品名称",
  8618. "type": "string"
  8619. },
  8620. "marketid": {
  8621. "description": "所属市场ID",
  8622. "type": "integer"
  8623. }
  8624. }
  8625. },
  8626. "models.HsbyBuyMyPayOrder": {
  8627. "type": "object",
  8628. "required": [
  8629. "goodscode",
  8630. "goodsname",
  8631. "tradeid",
  8632. "trademode"
  8633. ],
  8634. "properties": {
  8635. "agreeunit": {
  8636. "description": "合约单位",
  8637. "type": "number"
  8638. },
  8639. "buyaccountid": {
  8640. "description": "买方账号ID[报价币种]",
  8641. "type": "integer"
  8642. },
  8643. "buyorderid": {
  8644. "description": "买方委托单号",
  8645. "type": "string"
  8646. },
  8647. "createtime": {
  8648. "description": "创建时间",
  8649. "type": "string"
  8650. },
  8651. "currencysign": {
  8652. "description": "货币符号",
  8653. "type": "string"
  8654. },
  8655. "decimalplace": {
  8656. "description": "报价小数位",
  8657. "type": "integer"
  8658. },
  8659. "goodscode": {
  8660. "description": "商品代码(内部)",
  8661. "type": "string"
  8662. },
  8663. "goodsid": {
  8664. "description": "商品ID",
  8665. "type": "integer"
  8666. },
  8667. "goodsname": {
  8668. "description": "商品名称",
  8669. "type": "string"
  8670. },
  8671. "marketid": {
  8672. "description": "市场ID",
  8673. "type": "integer"
  8674. },
  8675. "offamount": {
  8676. "description": "优惠金额",
  8677. "type": "number"
  8678. },
  8679. "payamount": {
  8680. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8681. "type": "number"
  8682. },
  8683. "payflag": {
  8684. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8685. "type": "integer"
  8686. },
  8687. "paylimitedtime": {
  8688. "description": "支付期限",
  8689. "type": "string"
  8690. },
  8691. "paytime": {
  8692. "description": "付款时间",
  8693. "type": "string"
  8694. },
  8695. "picurls1": {
  8696. "description": "预售商品介绍图片[多张用逗号分隔]",
  8697. "type": "string"
  8698. },
  8699. "picurls2": {
  8700. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8701. "type": "string"
  8702. },
  8703. "sellaccountid": {
  8704. "description": "卖方账号ID[报价币种]",
  8705. "type": "integer"
  8706. },
  8707. "sellorderid": {
  8708. "description": "卖方委托单号",
  8709. "type": "string"
  8710. },
  8711. "tradeamount": {
  8712. "description": "成交金额",
  8713. "type": "number"
  8714. },
  8715. "tradecharge": {
  8716. "description": "成交手续费(买方)",
  8717. "type": "number"
  8718. },
  8719. "tradedate": {
  8720. "description": "交易日(yyyyMMdd)",
  8721. "type": "string"
  8722. },
  8723. "tradeid": {
  8724. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8725. "type": "string"
  8726. },
  8727. "trademode": {
  8728. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8729. "type": "integer"
  8730. },
  8731. "tradeprice": {
  8732. "description": "成交价格",
  8733. "type": "number"
  8734. },
  8735. "tradeqty": {
  8736. "description": "成交数量",
  8737. "type": "integer"
  8738. },
  8739. "vendorname1": {
  8740. "description": "预售商品供应商名称",
  8741. "type": "string"
  8742. },
  8743. "vendorname2": {
  8744. "description": "挂牌商品供应商名称",
  8745. "type": "string"
  8746. }
  8747. }
  8748. },
  8749. "models.HsbyBuyMyTradeDetail": {
  8750. "type": "object",
  8751. "required": [
  8752. "accountid",
  8753. "buyorsell",
  8754. "goodscode",
  8755. "goodsid",
  8756. "goodsname",
  8757. "marketid",
  8758. "orderid",
  8759. "qty",
  8760. "time",
  8761. "trademode"
  8762. ],
  8763. "properties": {
  8764. "accountid": {
  8765. "description": "账户ID[报价币种]",
  8766. "type": "integer"
  8767. },
  8768. "agreeunit": {
  8769. "description": "合约单位",
  8770. "type": "number"
  8771. },
  8772. "amount": {
  8773. "description": "金额 = 价格 * 数量 * 合约单位",
  8774. "type": "number"
  8775. },
  8776. "buyorsell": {
  8777. "description": "买卖 - 0:买 1:卖",
  8778. "type": "integer"
  8779. },
  8780. "currencysign": {
  8781. "description": "货币符号",
  8782. "type": "string"
  8783. },
  8784. "decimalplace": {
  8785. "description": "报价小数位",
  8786. "type": "integer"
  8787. },
  8788. "goodscode": {
  8789. "description": "商品代码(内部)",
  8790. "type": "string"
  8791. },
  8792. "goodsid": {
  8793. "description": "商品ID",
  8794. "type": "integer"
  8795. },
  8796. "goodsname": {
  8797. "description": "商品名称",
  8798. "type": "string"
  8799. },
  8800. "marketid": {
  8801. "description": "市场ID",
  8802. "type": "integer"
  8803. },
  8804. "orderid": {
  8805. "description": "单号(成交单号)",
  8806. "type": "string"
  8807. },
  8808. "picurls1": {
  8809. "description": "预售商品介绍图片[多张用逗号分隔]",
  8810. "type": "string"
  8811. },
  8812. "picurls2": {
  8813. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8814. "type": "string"
  8815. },
  8816. "price": {
  8817. "description": "价格",
  8818. "type": "number"
  8819. },
  8820. "qty": {
  8821. "description": "数量",
  8822. "type": "integer"
  8823. },
  8824. "time": {
  8825. "description": "时间",
  8826. "type": "string"
  8827. },
  8828. "trademode": {
  8829. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8830. "type": "integer"
  8831. },
  8832. "vendorname1": {
  8833. "description": "预售商品供应商名称",
  8834. "type": "string"
  8835. },
  8836. "vendorname2": {
  8837. "description": "挂牌商品供应商名称",
  8838. "type": "string"
  8839. }
  8840. }
  8841. },
  8842. "models.HsbyGoodsOrderDetail": {
  8843. "type": "object",
  8844. "required": [
  8845. "buyorsell",
  8846. "orderid",
  8847. "ordertime"
  8848. ],
  8849. "properties": {
  8850. "buyorsell": {
  8851. "description": "买卖 - 0:买 1:卖",
  8852. "type": "integer"
  8853. },
  8854. "currencysign": {
  8855. "description": "货币符号",
  8856. "type": "string"
  8857. },
  8858. "customername": {
  8859. "description": "客户名称(企业名称),已脱敏",
  8860. "type": "string"
  8861. },
  8862. "enableqty": {
  8863. "description": "可用数量",
  8864. "type": "integer"
  8865. },
  8866. "goodunit": {
  8867. "description": "报价单位",
  8868. "type": "string"
  8869. },
  8870. "orderid": {
  8871. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8872. "type": "string"
  8873. },
  8874. "orderprice": {
  8875. "description": "委托价格",
  8876. "type": "number"
  8877. },
  8878. "ordertime": {
  8879. "description": "委托时间",
  8880. "type": "string"
  8881. }
  8882. }
  8883. },
  8884. "models.HsbyListingGoodsDetail": {
  8885. "type": "object",
  8886. "required": [
  8887. "goodscode",
  8888. "goodsid",
  8889. "goodsname",
  8890. "marketid",
  8891. "trademode"
  8892. ],
  8893. "properties": {
  8894. "agreeunit": {
  8895. "description": "合约单位",
  8896. "type": "number"
  8897. },
  8898. "buymaxqty": {
  8899. "description": "购买上限 [71] - 0为不限",
  8900. "type": "integer"
  8901. },
  8902. "currency": {
  8903. "description": "货币",
  8904. "type": "string"
  8905. },
  8906. "currencysign": {
  8907. "description": "货币符号",
  8908. "type": "string"
  8909. },
  8910. "decimalplace": {
  8911. "description": "报价小数位",
  8912. "type": "integer"
  8913. },
  8914. "desccityid": {
  8915. "description": "目的地(市)ID",
  8916. "type": "integer"
  8917. },
  8918. "descprovinceid": {
  8919. "description": "目的地(省)ID",
  8920. "type": "integer"
  8921. },
  8922. "goodscode": {
  8923. "description": "商品代码(内部)",
  8924. "type": "string"
  8925. },
  8926. "goodsdesc": {
  8927. "description": "商品详情",
  8928. "type": "string"
  8929. },
  8930. "goodsid": {
  8931. "description": "商品ID(自增ID SEQ_GOODS)",
  8932. "type": "integer"
  8933. },
  8934. "goodsname": {
  8935. "description": "商品名称",
  8936. "type": "string"
  8937. },
  8938. "goodsprice": {
  8939. "description": "商品价格",
  8940. "type": "number"
  8941. },
  8942. "hotindex": {
  8943. "description": "景点热度",
  8944. "type": "integer"
  8945. },
  8946. "last": {
  8947. "description": "现价",
  8948. "type": "number"
  8949. },
  8950. "limitdown": {
  8951. "description": "跌停价",
  8952. "type": "number"
  8953. },
  8954. "limitup": {
  8955. "description": "涨停价",
  8956. "type": "number"
  8957. },
  8958. "lotsize": {
  8959. "description": "手数最小变动单位",
  8960. "type": "integer"
  8961. },
  8962. "marketid": {
  8963. "description": "所属市场ID",
  8964. "type": "integer"
  8965. },
  8966. "picurls": {
  8967. "description": "介绍图片[多张用逗号分隔]",
  8968. "type": "string"
  8969. },
  8970. "quoteminunit": {
  8971. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8972. "type": "integer"
  8973. },
  8974. "stepvalue": {
  8975. "description": "价格最小变动单位",
  8976. "type": "number"
  8977. },
  8978. "trademode": {
  8979. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8980. "type": "integer"
  8981. },
  8982. "vendorattr": {
  8983. "description": "供应商附件(多张,逗号分隔)",
  8984. "type": "string"
  8985. },
  8986. "vendorname": {
  8987. "description": "供应商名称",
  8988. "type": "string"
  8989. },
  8990. "vendorphone": {
  8991. "description": "供应商客服电话",
  8992. "type": "string"
  8993. },
  8994. "videourls": {
  8995. "description": "介绍视频[多张用逗号分隔]",
  8996. "type": "string"
  8997. }
  8998. }
  8999. },
  9000. "models.HsbyMarketGoods": {
  9001. "type": "object",
  9002. "required": [
  9003. "accountid",
  9004. "buyorsell",
  9005. "goodscode",
  9006. "goodsid",
  9007. "goodsname",
  9008. "marketid",
  9009. "orderid",
  9010. "trademode"
  9011. ],
  9012. "properties": {
  9013. "accountid": {
  9014. "description": "账户ID[报价币种]",
  9015. "type": "integer"
  9016. },
  9017. "agreeunit": {
  9018. "description": "合约单位",
  9019. "type": "number"
  9020. },
  9021. "buyorsell": {
  9022. "description": "买卖 - 0:买 1:卖",
  9023. "type": "integer"
  9024. },
  9025. "categoryid": {
  9026. "description": "类别ID(WRCATEGORY)",
  9027. "type": "integer"
  9028. },
  9029. "currency": {
  9030. "description": "货币",
  9031. "type": "string"
  9032. },
  9033. "currencysign": {
  9034. "description": "货币符号",
  9035. "type": "string"
  9036. },
  9037. "customername": {
  9038. "description": "卖家名称",
  9039. "type": "string"
  9040. },
  9041. "decimalplace": {
  9042. "description": "报价小数位",
  9043. "type": "integer"
  9044. },
  9045. "goodscode": {
  9046. "description": "商品代码(内部)",
  9047. "type": "string"
  9048. },
  9049. "goodsid": {
  9050. "description": "商品ID",
  9051. "type": "integer"
  9052. },
  9053. "goodsname": {
  9054. "description": "商品名称",
  9055. "type": "string"
  9056. },
  9057. "hascoupon": {
  9058. "description": "是否可用优惠卷",
  9059. "type": "boolean"
  9060. },
  9061. "hotindex": {
  9062. "description": "景点热度",
  9063. "type": "integer"
  9064. },
  9065. "marketid": {
  9066. "description": "市场ID",
  9067. "type": "integer"
  9068. },
  9069. "orderid": {
  9070. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9071. "type": "string"
  9072. },
  9073. "orderprice": {
  9074. "description": "委托价格",
  9075. "type": "number"
  9076. },
  9077. "orderstatus": {
  9078. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9079. "type": "integer"
  9080. },
  9081. "picurls": {
  9082. "description": "介绍图片[多张用逗号分隔]",
  9083. "type": "string"
  9084. },
  9085. "quoteminunit": {
  9086. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9087. "type": "integer"
  9088. },
  9089. "sellUserID": {
  9090. "description": "卖方UserID",
  9091. "type": "integer"
  9092. },
  9093. "trademode": {
  9094. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9095. "type": "integer"
  9096. },
  9097. "videourls": {
  9098. "description": "介绍视频[多张用逗号分隔]",
  9099. "type": "string"
  9100. }
  9101. }
  9102. },
  9103. "models.HsbyMarketGoodsDetail": {
  9104. "type": "object",
  9105. "required": [
  9106. "accountid",
  9107. "buyorsell",
  9108. "goodscode",
  9109. "goodsid",
  9110. "goodsname",
  9111. "marketid",
  9112. "orderid",
  9113. "orderqty",
  9114. "trademode"
  9115. ],
  9116. "properties": {
  9117. "accountid": {
  9118. "description": "账户ID[报价币种]",
  9119. "type": "integer"
  9120. },
  9121. "agreeunit": {
  9122. "description": "合约单位",
  9123. "type": "number"
  9124. },
  9125. "buymaxqty": {
  9126. "description": "购买上限 [71] - 0为不限",
  9127. "type": "integer"
  9128. },
  9129. "buyorsell": {
  9130. "description": "买卖 - 0:买 1:卖",
  9131. "type": "integer"
  9132. },
  9133. "cancelqty": {
  9134. "description": "撤单数量",
  9135. "type": "integer"
  9136. },
  9137. "categoryid": {
  9138. "description": "类别ID(WRCATEGORY)",
  9139. "type": "integer"
  9140. },
  9141. "currency": {
  9142. "description": "货币",
  9143. "type": "string"
  9144. },
  9145. "currencysign": {
  9146. "description": "货币符号",
  9147. "type": "string"
  9148. },
  9149. "customername": {
  9150. "description": "卖家名称",
  9151. "type": "string"
  9152. },
  9153. "decimalplace": {
  9154. "description": "报价小数位",
  9155. "type": "integer"
  9156. },
  9157. "goodscode": {
  9158. "description": "商品代码(内部)",
  9159. "type": "string"
  9160. },
  9161. "goodsdesc": {
  9162. "description": "商品详情",
  9163. "type": "string"
  9164. },
  9165. "goodsid": {
  9166. "description": "商品ID",
  9167. "type": "integer"
  9168. },
  9169. "goodsname": {
  9170. "description": "商品名称",
  9171. "type": "string"
  9172. },
  9173. "hotindex": {
  9174. "description": "景点热度",
  9175. "type": "integer"
  9176. },
  9177. "lotsize": {
  9178. "description": "手数最小变动单位",
  9179. "type": "integer"
  9180. },
  9181. "marketid": {
  9182. "description": "市场ID",
  9183. "type": "integer"
  9184. },
  9185. "orderid": {
  9186. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9187. "type": "string"
  9188. },
  9189. "orderprice": {
  9190. "description": "委托价格",
  9191. "type": "number"
  9192. },
  9193. "orderqty": {
  9194. "description": "委托数量",
  9195. "type": "integer"
  9196. },
  9197. "orderstatus": {
  9198. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9199. "type": "integer"
  9200. },
  9201. "picurls": {
  9202. "description": "介绍图片[多张用逗号分隔]",
  9203. "type": "string"
  9204. },
  9205. "quoteminunit": {
  9206. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9207. "type": "integer"
  9208. },
  9209. "sellUserID": {
  9210. "description": "卖方UserID",
  9211. "type": "integer"
  9212. },
  9213. "trademode": {
  9214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9215. "type": "integer"
  9216. },
  9217. "tradeqty": {
  9218. "description": "成交数量",
  9219. "type": "integer"
  9220. },
  9221. "vendorattr": {
  9222. "description": "供应商附件(多张,逗号分隔)",
  9223. "type": "string"
  9224. },
  9225. "vendorname": {
  9226. "description": "供应商名称",
  9227. "type": "string"
  9228. },
  9229. "vendorphone": {
  9230. "description": "供应商客服电话",
  9231. "type": "string"
  9232. },
  9233. "videourls": {
  9234. "description": "介绍视频[多张用逗号分隔]",
  9235. "type": "string"
  9236. }
  9237. }
  9238. },
  9239. "models.HsbyMarketInfo": {
  9240. "type": "object",
  9241. "required": [
  9242. "marketid",
  9243. "marketstatus",
  9244. "trademode"
  9245. ],
  9246. "properties": {
  9247. "marketid": {
  9248. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  9249. "type": "integer"
  9250. },
  9251. "marketname": {
  9252. "description": "市场名称",
  9253. "type": "string"
  9254. },
  9255. "marketstatus": {
  9256. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9257. "type": "integer"
  9258. },
  9259. "trademode": {
  9260. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9261. "type": "integer"
  9262. }
  9263. }
  9264. },
  9265. "models.HsbyMyGoods": {
  9266. "type": "object",
  9267. "required": [
  9268. "accountid",
  9269. "goodscode",
  9270. "goodsid",
  9271. "goodsname",
  9272. "marketid",
  9273. "trademode"
  9274. ],
  9275. "properties": {
  9276. "accountid": {
  9277. "description": "账号Id",
  9278. "type": "integer"
  9279. },
  9280. "agreeunit": {
  9281. "description": "合约单位",
  9282. "type": "number"
  9283. },
  9284. "buyaverageprice": {
  9285. "description": "持仓均价",
  9286. "type": "number"
  9287. },
  9288. "buycurholderamount": {
  9289. "description": "买当前持仓总金额[商品币种]",
  9290. "type": "number"
  9291. },
  9292. "buycurpositionqty": {
  9293. "description": "买当前持仓总数量",
  9294. "type": "integer"
  9295. },
  9296. "buymaxqty": {
  9297. "description": "购买上限 [71] - 0为不限",
  9298. "type": "integer"
  9299. },
  9300. "currencysign": {
  9301. "description": "货币符号",
  9302. "type": "string"
  9303. },
  9304. "decimalplace": {
  9305. "description": "报价小数位",
  9306. "type": "integer"
  9307. },
  9308. "enableqty": {
  9309. "description": "可用数量",
  9310. "type": "integer"
  9311. },
  9312. "goodscode": {
  9313. "description": "商品代码(内部)",
  9314. "type": "string"
  9315. },
  9316. "goodsid": {
  9317. "description": "商品Id",
  9318. "type": "integer"
  9319. },
  9320. "goodsname": {
  9321. "description": "商品名称",
  9322. "type": "string"
  9323. },
  9324. "goodsprice": {
  9325. "description": "商品价格",
  9326. "type": "number"
  9327. },
  9328. "goodsstatus": {
  9329. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9330. "type": "integer"
  9331. },
  9332. "last": {
  9333. "description": "现价(仅使用于挂牌点选)",
  9334. "type": "number"
  9335. },
  9336. "limitdown": {
  9337. "description": "跌停价(仅使用于挂牌点选)",
  9338. "type": "number"
  9339. },
  9340. "limitup": {
  9341. "description": "涨停价(仅使用于挂牌点选)",
  9342. "type": "number"
  9343. },
  9344. "lotsize": {
  9345. "description": "手数最小变动单位",
  9346. "type": "integer"
  9347. },
  9348. "marketid": {
  9349. "description": "所属市场ID",
  9350. "type": "integer"
  9351. },
  9352. "picurls": {
  9353. "description": "介绍图片[多张用逗号分隔]",
  9354. "type": "string"
  9355. },
  9356. "quoteminunit": {
  9357. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9358. "type": "integer"
  9359. },
  9360. "stepvalue": {
  9361. "description": "价格最小变动单位",
  9362. "type": "number"
  9363. },
  9364. "trademode": {
  9365. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9366. "type": "integer"
  9367. }
  9368. }
  9369. },
  9370. "models.HsbyMyPackage": {
  9371. "type": "object",
  9372. "required": [
  9373. "goodscode",
  9374. "goodsname",
  9375. "takeorderid"
  9376. ],
  9377. "properties": {
  9378. "accountid": {
  9379. "description": "账户ID",
  9380. "type": "integer"
  9381. },
  9382. "address": {
  9383. "description": "提货人详细地址",
  9384. "type": "string"
  9385. },
  9386. "agreeunit": {
  9387. "description": "合约单位",
  9388. "type": "number"
  9389. },
  9390. "amount": {
  9391. "description": "提货金额",
  9392. "type": "number"
  9393. },
  9394. "auditer": {
  9395. "description": "审核人",
  9396. "type": "integer"
  9397. },
  9398. "audittime": {
  9399. "description": "审核时间",
  9400. "type": "string"
  9401. },
  9402. "averageprice": {
  9403. "description": "均价",
  9404. "type": "number"
  9405. },
  9406. "cardnum": {
  9407. "description": "提货人证件号码",
  9408. "type": "string"
  9409. },
  9410. "cardtypeid": {
  9411. "description": "提货人证件类型",
  9412. "type": "integer"
  9413. },
  9414. "checkremark": {
  9415. "description": "审核备注",
  9416. "type": "string"
  9417. },
  9418. "currencysign": {
  9419. "description": "货币符号",
  9420. "type": "string"
  9421. },
  9422. "decimalplace": {
  9423. "description": "报价小数位",
  9424. "type": "integer"
  9425. },
  9426. "goodscode": {
  9427. "description": "商品代码(内部)",
  9428. "type": "string"
  9429. },
  9430. "goodsid": {
  9431. "description": "商品ID",
  9432. "type": "integer"
  9433. },
  9434. "goodsname": {
  9435. "description": "商品名称",
  9436. "type": "string"
  9437. },
  9438. "handlestatus": {
  9439. "description": "处理状态",
  9440. "type": "integer"
  9441. },
  9442. "marketid": {
  9443. "description": "市场ID",
  9444. "type": "integer"
  9445. },
  9446. "phonenum": {
  9447. "description": "提货人联系方式",
  9448. "type": "string"
  9449. },
  9450. "picurls": {
  9451. "description": "介绍图片[多张用逗号分隔]",
  9452. "type": "string"
  9453. },
  9454. "qty": {
  9455. "description": "提货数量",
  9456. "type": "number"
  9457. },
  9458. "recivername": {
  9459. "description": "提货人姓名",
  9460. "type": "string"
  9461. },
  9462. "reqtime": {
  9463. "description": "更新时间",
  9464. "type": "string"
  9465. },
  9466. "takemode": {
  9467. "description": "提货方式 - 2:自提 3:配送",
  9468. "type": "integer"
  9469. },
  9470. "takeorderid": {
  9471. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9472. "type": "string"
  9473. },
  9474. "takeorderstatus": {
  9475. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9476. "type": "integer"
  9477. },
  9478. "takeremark": {
  9479. "description": "提货备注",
  9480. "type": "string"
  9481. },
  9482. "tradedate": {
  9483. "description": "交易日(yyyyMMdd)",
  9484. "type": "string"
  9485. },
  9486. "userid": {
  9487. "description": "用户ID",
  9488. "type": "integer"
  9489. },
  9490. "vendorname": {
  9491. "description": "供应商名称",
  9492. "type": "string"
  9493. }
  9494. }
  9495. },
  9496. "models.HsbyPreGoods": {
  9497. "type": "object",
  9498. "required": [
  9499. "goodscode",
  9500. "goodsid",
  9501. "goodsname",
  9502. "marketid",
  9503. "trademode"
  9504. ],
  9505. "properties": {
  9506. "agreeunit": {
  9507. "description": "合约单位",
  9508. "type": "number"
  9509. },
  9510. "currency": {
  9511. "description": "货币",
  9512. "type": "string"
  9513. },
  9514. "currencysign": {
  9515. "description": "货币符号",
  9516. "type": "string"
  9517. },
  9518. "decimalplace": {
  9519. "description": "报价小数位",
  9520. "type": "integer"
  9521. },
  9522. "enableqty": {
  9523. "description": "剩余数量",
  9524. "type": "integer"
  9525. },
  9526. "goodscode": {
  9527. "description": "商品代码(内部)",
  9528. "type": "string"
  9529. },
  9530. "goodsid": {
  9531. "description": "商品ID(自增ID SEQ_GOODS)",
  9532. "type": "integer"
  9533. },
  9534. "goodsname": {
  9535. "description": "商品名称",
  9536. "type": "string"
  9537. },
  9538. "goodsstatus": {
  9539. "description": "商品状态- 2:未上市 3:上市",
  9540. "type": "integer"
  9541. },
  9542. "lasttradedate": {
  9543. "description": "最后交易日期(状态:待退市)",
  9544. "type": "string"
  9545. },
  9546. "listingdate": {
  9547. "description": "交易开始日期",
  9548. "type": "string"
  9549. },
  9550. "marketid": {
  9551. "description": "所属市场ID",
  9552. "type": "integer"
  9553. },
  9554. "picurls": {
  9555. "description": "介绍图片[多张用逗号分隔]",
  9556. "type": "string"
  9557. },
  9558. "presaledqty": {
  9559. "description": "已预售量(预售结束时更新)",
  9560. "type": "integer"
  9561. },
  9562. "presaleqty": {
  9563. "description": "预售数量",
  9564. "type": "integer"
  9565. },
  9566. "quoteminunit": {
  9567. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9568. "type": "integer"
  9569. },
  9570. "refprice": {
  9571. "description": "参考价格[一口价]",
  9572. "type": "number"
  9573. },
  9574. "relatedgoodsid": {
  9575. "description": "关联交易合约ID",
  9576. "type": "integer"
  9577. },
  9578. "trademode": {
  9579. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9580. "type": "integer"
  9581. },
  9582. "videourls": {
  9583. "description": "介绍视频[多张用逗号分隔]",
  9584. "type": "string"
  9585. }
  9586. }
  9587. },
  9588. "models.HsbyPreGoodsDetail": {
  9589. "type": "object",
  9590. "required": [
  9591. "goodscode",
  9592. "goodsid",
  9593. "goodsname",
  9594. "marketid",
  9595. "trademode"
  9596. ],
  9597. "properties": {
  9598. "agreeunit": {
  9599. "description": "合约单位",
  9600. "type": "number"
  9601. },
  9602. "buymaxqty": {
  9603. "description": "购买上限 [71] - 0为不限",
  9604. "type": "integer"
  9605. },
  9606. "currency": {
  9607. "description": "货币",
  9608. "type": "string"
  9609. },
  9610. "currencysign": {
  9611. "description": "货币符号",
  9612. "type": "string"
  9613. },
  9614. "customername": {
  9615. "description": "发行单位",
  9616. "type": "string"
  9617. },
  9618. "decimalplace": {
  9619. "description": "报价小数位",
  9620. "type": "integer"
  9621. },
  9622. "desccityid": {
  9623. "description": "目的地(市)ID",
  9624. "type": "integer"
  9625. },
  9626. "descprovinceid": {
  9627. "description": "目的地(省)ID",
  9628. "type": "integer"
  9629. },
  9630. "enableqty": {
  9631. "description": "剩余数量",
  9632. "type": "integer"
  9633. },
  9634. "goodscode": {
  9635. "description": "商品代码(内部)",
  9636. "type": "string"
  9637. },
  9638. "goodsdesc": {
  9639. "description": "商品详情",
  9640. "type": "string"
  9641. },
  9642. "goodsid": {
  9643. "description": "商品ID(自增ID SEQ_GOODS)",
  9644. "type": "integer"
  9645. },
  9646. "goodsname": {
  9647. "description": "商品名称",
  9648. "type": "string"
  9649. },
  9650. "goodsstatus": {
  9651. "description": "商品状态- 2:未上市 3:上市",
  9652. "type": "integer"
  9653. },
  9654. "goodunit": {
  9655. "description": "报价单位",
  9656. "type": "string"
  9657. },
  9658. "lasttradedate": {
  9659. "description": "最后交易日期(状态:待退市)",
  9660. "type": "string"
  9661. },
  9662. "listingdate": {
  9663. "description": "交易开始日期",
  9664. "type": "string"
  9665. },
  9666. "lotsize": {
  9667. "description": "手数最小变动单位",
  9668. "type": "integer"
  9669. },
  9670. "marketid": {
  9671. "description": "所属市场ID",
  9672. "type": "integer"
  9673. },
  9674. "picurls": {
  9675. "description": "介绍图片[多张用逗号分隔]",
  9676. "type": "string"
  9677. },
  9678. "presaledqty": {
  9679. "description": "已预售量(预售结束时更新)",
  9680. "type": "integer"
  9681. },
  9682. "presaleqty": {
  9683. "description": "预售数量",
  9684. "type": "integer"
  9685. },
  9686. "quoteminunit": {
  9687. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9688. "type": "integer"
  9689. },
  9690. "refprice": {
  9691. "description": "参考价格[一口价]",
  9692. "type": "number"
  9693. },
  9694. "relatedgoodsid": {
  9695. "description": "关联交易合约ID",
  9696. "type": "integer"
  9697. },
  9698. "stepvalue": {
  9699. "description": "价格最小变动单位",
  9700. "type": "number"
  9701. },
  9702. "trademode": {
  9703. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9704. "type": "integer"
  9705. },
  9706. "vendorattr": {
  9707. "description": "供应商附件(多张,逗号分隔)",
  9708. "type": "string"
  9709. },
  9710. "vendorname": {
  9711. "description": "供应商名称",
  9712. "type": "string"
  9713. },
  9714. "vendorphone": {
  9715. "description": "供应商客服电话",
  9716. "type": "string"
  9717. },
  9718. "videourls": {
  9719. "description": "介绍视频[多张用逗号分隔]",
  9720. "type": "string"
  9721. }
  9722. }
  9723. },
  9724. "models.HsbySellCollectionOrder": {
  9725. "type": "object",
  9726. "required": [
  9727. "goodscode",
  9728. "goodsname",
  9729. "tradeid",
  9730. "trademode"
  9731. ],
  9732. "properties": {
  9733. "agreeunit": {
  9734. "description": "合约单位",
  9735. "type": "number"
  9736. },
  9737. "buyaccountid": {
  9738. "description": "买方账号ID[报价币种]",
  9739. "type": "integer"
  9740. },
  9741. "buyorderid": {
  9742. "description": "买方委托单号",
  9743. "type": "string"
  9744. },
  9745. "createtime": {
  9746. "description": "创建时间",
  9747. "type": "string"
  9748. },
  9749. "currencysign": {
  9750. "description": "货币符号",
  9751. "type": "string"
  9752. },
  9753. "decimalplace": {
  9754. "description": "报价小数位",
  9755. "type": "integer"
  9756. },
  9757. "goodscode": {
  9758. "description": "商品代码(内部)",
  9759. "type": "string"
  9760. },
  9761. "goodsid": {
  9762. "description": "商品ID",
  9763. "type": "integer"
  9764. },
  9765. "goodsname": {
  9766. "description": "商品名称",
  9767. "type": "string"
  9768. },
  9769. "marketid": {
  9770. "description": "市场ID",
  9771. "type": "integer"
  9772. },
  9773. "offamount": {
  9774. "description": "优惠金额",
  9775. "type": "number"
  9776. },
  9777. "payamount": {
  9778. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9779. "type": "number"
  9780. },
  9781. "payflag": {
  9782. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9783. "type": "integer"
  9784. },
  9785. "paylimitedtime": {
  9786. "description": "支付期限",
  9787. "type": "string"
  9788. },
  9789. "paytime": {
  9790. "description": "付款时间",
  9791. "type": "string"
  9792. },
  9793. "picurls": {
  9794. "description": "商品介绍图片[多张用逗号分隔]",
  9795. "type": "string"
  9796. },
  9797. "sellaccountid": {
  9798. "description": "卖方账号ID[报价币种]",
  9799. "type": "integer"
  9800. },
  9801. "sellorderid": {
  9802. "description": "卖方委托单号",
  9803. "type": "string"
  9804. },
  9805. "tradeamount": {
  9806. "description": "成交金额",
  9807. "type": "number"
  9808. },
  9809. "tradecharge": {
  9810. "description": "成交手续费(买方)",
  9811. "type": "number"
  9812. },
  9813. "tradedate": {
  9814. "description": "交易日(yyyyMMdd)",
  9815. "type": "string"
  9816. },
  9817. "tradeid": {
  9818. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9819. "type": "string"
  9820. },
  9821. "trademode": {
  9822. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9823. "type": "integer"
  9824. },
  9825. "tradeprice": {
  9826. "description": "成交价格",
  9827. "type": "number"
  9828. },
  9829. "tradeqty": {
  9830. "description": "成交数量",
  9831. "type": "integer"
  9832. }
  9833. }
  9834. },
  9835. "models.HsbySellMyDetail": {
  9836. "type": "object",
  9837. "required": [
  9838. "accountid",
  9839. "buyorsell",
  9840. "goodscode",
  9841. "goodsid",
  9842. "goodsname",
  9843. "marketid",
  9844. "orderid",
  9845. "time",
  9846. "trademode"
  9847. ],
  9848. "properties": {
  9849. "accountid": {
  9850. "description": "账户ID[报价币种]",
  9851. "type": "integer"
  9852. },
  9853. "agreeunit": {
  9854. "description": "合约单位",
  9855. "type": "number"
  9856. },
  9857. "buyorsell": {
  9858. "description": "买卖 - 0:买 1:卖",
  9859. "type": "integer"
  9860. },
  9861. "currencysign": {
  9862. "description": "货币符号",
  9863. "type": "string"
  9864. },
  9865. "decimalplace": {
  9866. "description": "报价小数位",
  9867. "type": "integer"
  9868. },
  9869. "goodscode": {
  9870. "description": "商品代码(内部)",
  9871. "type": "string"
  9872. },
  9873. "goodsid": {
  9874. "description": "商品ID",
  9875. "type": "integer"
  9876. },
  9877. "goodsname": {
  9878. "description": "商品名称",
  9879. "type": "string"
  9880. },
  9881. "marketid": {
  9882. "description": "市场ID",
  9883. "type": "integer"
  9884. },
  9885. "orderid": {
  9886. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9887. "type": "string"
  9888. },
  9889. "ordertype": {
  9890. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9891. "type": "integer"
  9892. },
  9893. "picurls": {
  9894. "description": "介绍图片[多张用逗号分隔]",
  9895. "type": "string"
  9896. },
  9897. "price": {
  9898. "description": "价格",
  9899. "type": "number"
  9900. },
  9901. "qty": {
  9902. "description": "数量",
  9903. "type": "integer"
  9904. },
  9905. "time": {
  9906. "description": "时间",
  9907. "type": "string"
  9908. },
  9909. "trademode": {
  9910. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9911. "type": "integer"
  9912. },
  9913. "vendorname": {
  9914. "description": "供应商名称",
  9915. "type": "string"
  9916. }
  9917. }
  9918. },
  9919. "models.HsbyTopGoods": {
  9920. "type": "object",
  9921. "required": [
  9922. "goodscode",
  9923. "goodsid",
  9924. "goodsname",
  9925. "marketid",
  9926. "trademode"
  9927. ],
  9928. "properties": {
  9929. "agreeunit": {
  9930. "description": "合约单位",
  9931. "type": "number"
  9932. },
  9933. "currency": {
  9934. "description": "货币",
  9935. "type": "string"
  9936. },
  9937. "currencysign": {
  9938. "description": "货币符号",
  9939. "type": "string"
  9940. },
  9941. "decimalplace": {
  9942. "description": "报价小数位",
  9943. "type": "integer"
  9944. },
  9945. "goodscode": {
  9946. "description": "商品代码(内部)",
  9947. "type": "string"
  9948. },
  9949. "goodsid": {
  9950. "description": "商品ID(自增ID SEQ_GOODS)",
  9951. "type": "integer"
  9952. },
  9953. "goodsname": {
  9954. "description": "商品名称",
  9955. "type": "string"
  9956. },
  9957. "hotindex": {
  9958. "description": "景点热度",
  9959. "type": "integer"
  9960. },
  9961. "last": {
  9962. "description": "现价",
  9963. "type": "number"
  9964. },
  9965. "marketid": {
  9966. "description": "所属市场ID",
  9967. "type": "integer"
  9968. },
  9969. "picurls": {
  9970. "description": "介绍图片[多张用逗号分隔]",
  9971. "type": "string"
  9972. },
  9973. "quoteminunit": {
  9974. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9975. "type": "integer"
  9976. },
  9977. "trademode": {
  9978. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9979. "type": "integer"
  9980. },
  9981. "videourls": {
  9982. "description": "介绍视频[多张用逗号分隔]",
  9983. "type": "string"
  9984. }
  9985. }
  9986. },
  9987. "models.HybsMyBuyOrderDetail": {
  9988. "type": "object",
  9989. "required": [
  9990. "accountid",
  9991. "buyorsell",
  9992. "goodscode",
  9993. "goodsid",
  9994. "goodsname",
  9995. "marketid",
  9996. "orderid",
  9997. "orderqty",
  9998. "ordertime",
  9999. "trademode"
  10000. ],
  10001. "properties": {
  10002. "accountid": {
  10003. "description": "账户ID[报价币种]",
  10004. "type": "integer"
  10005. },
  10006. "agreeunit": {
  10007. "description": "合约单位",
  10008. "type": "number"
  10009. },
  10010. "buyorsell": {
  10011. "description": "买卖 - 0:买 1:卖",
  10012. "type": "integer"
  10013. },
  10014. "cancelqty": {
  10015. "description": "撤单数量",
  10016. "type": "integer"
  10017. },
  10018. "currencysign": {
  10019. "description": "货币符号",
  10020. "type": "string"
  10021. },
  10022. "decimalplace": {
  10023. "description": "报价小数位",
  10024. "type": "integer"
  10025. },
  10026. "goodscode": {
  10027. "description": "商品代码(内部)",
  10028. "type": "string"
  10029. },
  10030. "goodsid": {
  10031. "description": "商品ID",
  10032. "type": "integer"
  10033. },
  10034. "goodsname": {
  10035. "description": "商品名称",
  10036. "type": "string"
  10037. },
  10038. "listingselecttype": {
  10039. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10040. "type": "integer"
  10041. },
  10042. "marketid": {
  10043. "description": "市场ID",
  10044. "type": "integer"
  10045. },
  10046. "mybuystatus": {
  10047. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  10048. "type": "integer"
  10049. },
  10050. "orderamount": {
  10051. "description": "委托金额",
  10052. "type": "number"
  10053. },
  10054. "orderid": {
  10055. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10056. "type": "string"
  10057. },
  10058. "orderprice": {
  10059. "description": "委托价格",
  10060. "type": "number"
  10061. },
  10062. "orderqty": {
  10063. "description": "委托数量",
  10064. "type": "integer"
  10065. },
  10066. "orderstatus": {
  10067. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10068. "type": "integer"
  10069. },
  10070. "ordertime": {
  10071. "description": "委托时间",
  10072. "type": "string"
  10073. },
  10074. "picurls1": {
  10075. "description": "预售商品介绍图片[多张用逗号分隔]",
  10076. "type": "string"
  10077. },
  10078. "picurls2": {
  10079. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10080. "type": "string"
  10081. },
  10082. "trademode": {
  10083. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10084. "type": "integer"
  10085. },
  10086. "tradeqty": {
  10087. "description": "成交数量",
  10088. "type": "integer"
  10089. },
  10090. "vendorname1": {
  10091. "description": "预售商品供应商名称",
  10092. "type": "string"
  10093. },
  10094. "vendorname2": {
  10095. "description": "挂牌商品供应商名称",
  10096. "type": "string"
  10097. }
  10098. }
  10099. },
  10100. "models.Marketrun": {
  10101. "type": "object",
  10102. "required": [
  10103. "marketid",
  10104. "nexttradedate",
  10105. "reckonflag",
  10106. "runstatus",
  10107. "tradedate",
  10108. "tradedate2"
  10109. ],
  10110. "properties": {
  10111. "afternexttradedate": {
  10112. "description": "下下交易日",
  10113. "type": "string"
  10114. },
  10115. "clearquoteflag": {
  10116. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  10117. "type": "integer"
  10118. },
  10119. "lastreckondate": {
  10120. "description": "最新交易日(结算成功)",
  10121. "type": "string"
  10122. },
  10123. "machinedate": {
  10124. "description": "机器时间",
  10125. "type": "string"
  10126. },
  10127. "manualflag": {
  10128. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  10129. "type": "integer"
  10130. },
  10131. "marketid": {
  10132. "description": "市场ID",
  10133. "type": "integer"
  10134. },
  10135. "nexttradedate": {
  10136. "description": "下一交易日",
  10137. "type": "string"
  10138. },
  10139. "pretradedate": {
  10140. "description": "上一交易日",
  10141. "type": "string"
  10142. },
  10143. "reckonflag": {
  10144. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  10145. "type": "integer"
  10146. },
  10147. "runstatus": {
  10148. "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.今日免清算",
  10149. "type": "integer"
  10150. },
  10151. "sectionid": {
  10152. "description": "时间段号[多时段时用]",
  10153. "type": "integer"
  10154. },
  10155. "tradedate": {
  10156. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  10157. "type": "string"
  10158. },
  10159. "tradedate2": {
  10160. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  10161. "type": "string"
  10162. },
  10163. "updatetime": {
  10164. "description": "更新时间",
  10165. "type": "string"
  10166. }
  10167. }
  10168. },
  10169. "models.Messageboard": {
  10170. "type": "object",
  10171. "required": [
  10172. "messageboardid"
  10173. ],
  10174. "properties": {
  10175. "createtime": {
  10176. "description": "创建时间",
  10177. "type": "string"
  10178. },
  10179. "message": {
  10180. "description": "留言信息",
  10181. "type": "string"
  10182. },
  10183. "messageboardid": {
  10184. "description": "留言簿ID(SEQ_MessageBoard)",
  10185. "type": "integer"
  10186. },
  10187. "userid": {
  10188. "description": "用户ID",
  10189. "type": "integer"
  10190. }
  10191. }
  10192. },
  10193. "models.MyCoupon": {
  10194. "type": "object",
  10195. "required": [
  10196. "accountid",
  10197. "coupontypeid"
  10198. ],
  10199. "properties": {
  10200. "accountid": {
  10201. "description": "资金账户ID",
  10202. "type": "integer"
  10203. },
  10204. "areauserid": {
  10205. "description": "所属机构",
  10206. "type": "integer"
  10207. },
  10208. "conditionvalue": {
  10209. "description": "条件阈值(可为0)",
  10210. "type": "number"
  10211. },
  10212. "couponcategroy": {
  10213. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  10214. "type": "integer"
  10215. },
  10216. "couponname": {
  10217. "description": "优惠券名称",
  10218. "type": "string"
  10219. },
  10220. "coupontypeid": {
  10221. "description": "优惠券类型ID",
  10222. "type": "string"
  10223. },
  10224. "couponvalue": {
  10225. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10226. "type": "number"
  10227. },
  10228. "curfreezeqty": {
  10229. "description": "期末冻结数量",
  10230. "type": "integer"
  10231. },
  10232. "curqty": {
  10233. "description": "期末数量",
  10234. "type": "integer"
  10235. },
  10236. "isgeneral": {
  10237. "description": "是否通用券 - 0:否 1:是",
  10238. "type": "integer"
  10239. },
  10240. "isunusable": {
  10241. "description": "是否不可用",
  10242. "type": "boolean"
  10243. },
  10244. "limitedflag": {
  10245. "description": "是否指定商品 - 0:不限 1:限制",
  10246. "type": "integer"
  10247. },
  10248. "limitedgoodsids": {
  10249. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  10250. "type": "string"
  10251. },
  10252. "orifreezeqty": {
  10253. "description": "期初冻结数量",
  10254. "type": "integer"
  10255. },
  10256. "oriqty": {
  10257. "description": "期初数量",
  10258. "type": "integer"
  10259. },
  10260. "reasontype": {
  10261. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  10262. "type": "integer"
  10263. },
  10264. "todaydecrease": {
  10265. "description": "今日减少",
  10266. "type": "integer"
  10267. },
  10268. "todayincrease": {
  10269. "description": "今日增加",
  10270. "type": "integer"
  10271. },
  10272. "userid": {
  10273. "description": "用户ID",
  10274. "type": "integer"
  10275. },
  10276. "userscope": {
  10277. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  10278. "type": "string"
  10279. }
  10280. }
  10281. },
  10282. "models.MyCouponHold": {
  10283. "type": "object",
  10284. "required": [
  10285. "couponholdid"
  10286. ],
  10287. "properties": {
  10288. "accountid": {
  10289. "description": "资金账户ID",
  10290. "type": "integer"
  10291. },
  10292. "conditionvalue": {
  10293. "description": "条件阈值(可为0)",
  10294. "type": "number"
  10295. },
  10296. "couponcategroy": {
  10297. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  10298. "type": "integer"
  10299. },
  10300. "couponholdid": {
  10301. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  10302. "type": "string"
  10303. },
  10304. "couponname": {
  10305. "description": "优惠券名称",
  10306. "type": "string"
  10307. },
  10308. "coupontypeid": {
  10309. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  10310. "type": "string"
  10311. },
  10312. "couponvalue": {
  10313. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10314. "type": "number"
  10315. },
  10316. "createtime": {
  10317. "description": "创建时间",
  10318. "type": "string"
  10319. },
  10320. "enddate": {
  10321. "description": "结束日期",
  10322. "type": "string"
  10323. },
  10324. "giveapplyid": {
  10325. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10326. "type": "integer"
  10327. },
  10328. "holdstatus": {
  10329. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10330. "type": "integer"
  10331. },
  10332. "isgeneral": {
  10333. "description": "是否通用券 - 0:否 1:是",
  10334. "type": "integer"
  10335. },
  10336. "limitedflag": {
  10337. "description": "是否指定商品 - 0:不限 1:限制",
  10338. "type": "integer"
  10339. },
  10340. "limitedgoodsids": {
  10341. "description": "指定商品IDs[逗号分隔]",
  10342. "type": "string"
  10343. },
  10344. "qty": {
  10345. "description": "数量(按1平铺)",
  10346. "type": "integer"
  10347. },
  10348. "startdate": {
  10349. "description": "开始日期",
  10350. "type": "string"
  10351. },
  10352. "userid": {
  10353. "description": "用户ID",
  10354. "type": "integer"
  10355. },
  10356. "userscope": {
  10357. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10358. "type": "string"
  10359. }
  10360. }
  10361. },
  10362. "models.MyUsedCoupon": {
  10363. "type": "object",
  10364. "required": [
  10365. "coupontypeid",
  10366. "orderid"
  10367. ],
  10368. "properties": {
  10369. "accountid": {
  10370. "description": "资金账户ID(买方)",
  10371. "type": "integer"
  10372. },
  10373. "conditionvalue": {
  10374. "description": "条件阈值(可为0)",
  10375. "type": "number"
  10376. },
  10377. "couponcategroy": {
  10378. "description": "种类 - 1:现金券 2:折扣券",
  10379. "type": "integer"
  10380. },
  10381. "couponname": {
  10382. "description": "优惠券名称",
  10383. "type": "string"
  10384. },
  10385. "coupontypeid": {
  10386. "description": "优惠券类型ID(买方)",
  10387. "type": "string"
  10388. },
  10389. "couponvalue": {
  10390. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10391. "type": "number"
  10392. },
  10393. "createtime": {
  10394. "description": "创建时间",
  10395. "type": "string"
  10396. },
  10397. "goodsid": {
  10398. "description": "商品ID",
  10399. "type": "integer"
  10400. },
  10401. "handlestatus": {
  10402. "description": "处理状态",
  10403. "type": "integer"
  10404. },
  10405. "marketid": {
  10406. "description": "市场ID",
  10407. "type": "integer"
  10408. },
  10409. "offamount": {
  10410. "description": "优惠金额",
  10411. "type": "number"
  10412. },
  10413. "orderid": {
  10414. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10415. "type": "string"
  10416. },
  10417. "sellaccountid": {
  10418. "description": "资金账户ID(卖方)",
  10419. "type": "integer"
  10420. },
  10421. "tradeamount": {
  10422. "description": "成交金额",
  10423. "type": "number"
  10424. },
  10425. "tradeid": {
  10426. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10427. "type": "string"
  10428. },
  10429. "usedqty": {
  10430. "description": "使用数量",
  10431. "type": "integer"
  10432. }
  10433. }
  10434. },
  10435. "models.OperationPrimaryMenu": {
  10436. "type": "object",
  10437. "properties": {
  10438. "Children": {
  10439. "description": "二级功能菜单",
  10440. "type": "array",
  10441. "items": {
  10442. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10443. }
  10444. },
  10445. "Key": {
  10446. "description": "菜单KEY",
  10447. "type": "string"
  10448. },
  10449. "Label": {
  10450. "description": "菜单标题",
  10451. "type": "string"
  10452. }
  10453. }
  10454. },
  10455. "models.OperationSecondaryMenu": {
  10456. "type": "object",
  10457. "properties": {
  10458. "Key": {
  10459. "description": "菜单KEY",
  10460. "type": "string"
  10461. },
  10462. "Label": {
  10463. "description": "菜单标题",
  10464. "type": "string"
  10465. },
  10466. "TabList": {
  10467. "description": "三级功能菜单",
  10468. "type": "array",
  10469. "items": {
  10470. "$ref": "#/definitions/models.OperationTabMenu"
  10471. }
  10472. }
  10473. }
  10474. },
  10475. "models.OperationTabMenu": {
  10476. "type": "object",
  10477. "properties": {
  10478. "Key": {
  10479. "description": "菜单KEY",
  10480. "type": "string"
  10481. },
  10482. "Label": {
  10483. "description": "菜单标题",
  10484. "type": "string"
  10485. }
  10486. }
  10487. },
  10488. "models.QuotePrimaryMenu": {
  10489. "type": "object",
  10490. "properties": {
  10491. "Index": {
  10492. "description": "序号",
  10493. "type": "integer"
  10494. },
  10495. "Key": {
  10496. "description": "键名",
  10497. "type": "string"
  10498. },
  10499. "Name": {
  10500. "description": "菜单名称",
  10501. "type": "string"
  10502. },
  10503. "SubMenus": {
  10504. "description": "子菜单",
  10505. "type": "array",
  10506. "items": {
  10507. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10508. }
  10509. },
  10510. "SubTitleType": {
  10511. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10512. "type": "integer"
  10513. },
  10514. "TradeModes": {
  10515. "description": "包含市场交易类型",
  10516. "type": "string"
  10517. }
  10518. }
  10519. },
  10520. "models.QuoteSecondaryMenu": {
  10521. "type": "object",
  10522. "properties": {
  10523. "ExExchangeCode": {
  10524. "description": "外部交易所代码",
  10525. "type": "string"
  10526. },
  10527. "ExExchangeID": {
  10528. "description": "外部交易所ID",
  10529. "type": "integer"
  10530. },
  10531. "GoodsGroupIDs": {
  10532. "description": "商品组ID列表",
  10533. "type": "array",
  10534. "items": {
  10535. "type": "integer"
  10536. }
  10537. },
  10538. "Index": {
  10539. "description": "序号",
  10540. "type": "integer"
  10541. },
  10542. "MarketID": {
  10543. "description": "市场ID",
  10544. "type": "integer"
  10545. },
  10546. "MenuTitle": {
  10547. "description": "菜单标题(市场名称或外部交易所名称)",
  10548. "type": "string"
  10549. },
  10550. "TradeMode": {
  10551. "description": "交易模式",
  10552. "type": "integer"
  10553. }
  10554. }
  10555. },
  10556. "models.SearchGoods": {
  10557. "type": "object",
  10558. "required": [
  10559. "goodscode",
  10560. "goodsid",
  10561. "goodsname",
  10562. "marketid",
  10563. "trademode"
  10564. ],
  10565. "properties": {
  10566. "goodscode": {
  10567. "description": "商品代码(内部)",
  10568. "type": "string"
  10569. },
  10570. "goodsid": {
  10571. "description": "商品ID(自增ID SEQ_GOODS)",
  10572. "type": "integer"
  10573. },
  10574. "goodsname": {
  10575. "description": "商品名称",
  10576. "type": "string"
  10577. },
  10578. "marketid": {
  10579. "description": "所属市场ID",
  10580. "type": "integer"
  10581. },
  10582. "marketname": {
  10583. "description": "市场名称",
  10584. "type": "string"
  10585. },
  10586. "trademode": {
  10587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10588. "type": "integer"
  10589. }
  10590. }
  10591. },
  10592. "models.Szdz2imageconfig": {
  10593. "type": "object",
  10594. "required": [
  10595. "configid"
  10596. ],
  10597. "properties": {
  10598. "configid": {
  10599. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10600. "type": "integer"
  10601. },
  10602. "imagepath": {
  10603. "description": "图片",
  10604. "type": "string"
  10605. },
  10606. "imagetype": {
  10607. "description": "类型 - 1:App首页轮播 2:我的",
  10608. "type": "integer"
  10609. },
  10610. "sort": {
  10611. "description": "排序",
  10612. "type": "integer"
  10613. },
  10614. "title": {
  10615. "description": "标题",
  10616. "type": "string"
  10617. },
  10618. "url": {
  10619. "description": "链接",
  10620. "type": "string"
  10621. }
  10622. }
  10623. },
  10624. "models.Szdz3convertconfig": {
  10625. "type": "object",
  10626. "required": [
  10627. "converttype",
  10628. "innergoodsid",
  10629. "outergoodscode"
  10630. ],
  10631. "properties": {
  10632. "canin": {
  10633. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10634. "type": "integer"
  10635. },
  10636. "canout": {
  10637. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10638. "type": "integer"
  10639. },
  10640. "converttype": {
  10641. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10642. "type": "integer"
  10643. },
  10644. "createtime": {
  10645. "description": "创建时间",
  10646. "type": "string"
  10647. },
  10648. "creatorid": {
  10649. "description": "创建人",
  10650. "type": "integer"
  10651. },
  10652. "daymaxvalue": {
  10653. "description": "当日最大转入限制",
  10654. "type": "number"
  10655. },
  10656. "freezedays": {
  10657. "description": "冻结天数 [5:花生米转交易]",
  10658. "type": "integer"
  10659. },
  10660. "innergoodsid": {
  10661. "description": "内部商品ID[交易]",
  10662. "type": "integer"
  10663. },
  10664. "inratio": {
  10665. "description": "目标值",
  10666. "type": "integer"
  10667. },
  10668. "modifierid": {
  10669. "description": "修改人",
  10670. "type": "integer"
  10671. },
  10672. "modifytime": {
  10673. "description": "修改时间",
  10674. "type": "string"
  10675. },
  10676. "outergoodscode": {
  10677. "description": "外部商品代码[JD\\PD]",
  10678. "type": "string"
  10679. },
  10680. "outratio": {
  10681. "description": "源值",
  10682. "type": "integer"
  10683. },
  10684. "pddecimalplace": {
  10685. "description": "PD小数位",
  10686. "type": "integer"
  10687. },
  10688. "timemaxvalue": {
  10689. "description": "单次最大转入限制",
  10690. "type": "number"
  10691. },
  10692. "timeminvalue": {
  10693. "description": "单次最小转入限制",
  10694. "type": "number"
  10695. }
  10696. }
  10697. },
  10698. "models.Szdz3searchwhitelist": {
  10699. "type": "object",
  10700. "required": [
  10701. "userid"
  10702. ],
  10703. "properties": {
  10704. "createtime": {
  10705. "description": "创建时间",
  10706. "type": "string"
  10707. },
  10708. "creatorid": {
  10709. "description": "创建人",
  10710. "type": "integer"
  10711. },
  10712. "modifierid": {
  10713. "description": "修改人",
  10714. "type": "integer"
  10715. },
  10716. "modifytime": {
  10717. "description": "修改时间",
  10718. "type": "string"
  10719. },
  10720. "userid": {
  10721. "description": "用户ID",
  10722. "type": "integer"
  10723. }
  10724. }
  10725. },
  10726. "models.Tablecolumnconfig": {
  10727. "type": "object",
  10728. "required": [
  10729. "autoid"
  10730. ],
  10731. "properties": {
  10732. "aligntype": {
  10733. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10734. "type": "integer"
  10735. },
  10736. "autoid": {
  10737. "description": "AutoID",
  10738. "type": "integer"
  10739. },
  10740. "columnfield": {
  10741. "description": "列字段",
  10742. "type": "string"
  10743. },
  10744. "columntitle": {
  10745. "description": "列Title",
  10746. "type": "string"
  10747. },
  10748. "columnwidth": {
  10749. "description": "列宽",
  10750. "type": "string"
  10751. },
  10752. "formatterstring": {
  10753. "description": "格式化字符",
  10754. "type": "string"
  10755. },
  10756. "formattertype": {
  10757. "description": "格式化类型",
  10758. "type": "string"
  10759. },
  10760. "groupname": {
  10761. "description": "表头分组名称",
  10762. "type": "string"
  10763. },
  10764. "isshow": {
  10765. "description": "是否显示 - 0:不显示 1:显示",
  10766. "type": "integer"
  10767. },
  10768. "needsummary": {
  10769. "description": "是否需要汇总 - 0:不需要 1:需要",
  10770. "type": "integer"
  10771. },
  10772. "orderindex": {
  10773. "description": "顺序",
  10774. "type": "integer"
  10775. },
  10776. "remark": {
  10777. "description": "备注",
  10778. "type": "string"
  10779. },
  10780. "summarytype": {
  10781. "description": "汇总类型 - 1:加总 2:最后一个",
  10782. "type": "integer"
  10783. },
  10784. "tablekey": {
  10785. "description": "列表Key",
  10786. "type": "string"
  10787. }
  10788. }
  10789. },
  10790. "models.Useraccount": {
  10791. "type": "object",
  10792. "required": [
  10793. "userid"
  10794. ],
  10795. "properties": {
  10796. "accountname": {
  10797. "description": "账户名称(机构名称)",
  10798. "type": "string"
  10799. },
  10800. "accountstatus": {
  10801. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10802. "type": "integer"
  10803. },
  10804. "auditremark": {
  10805. "description": "审核备注",
  10806. "type": "string"
  10807. },
  10808. "audittime": {
  10809. "description": "审核时间",
  10810. "type": "string"
  10811. },
  10812. "audituserid": {
  10813. "description": "审核人",
  10814. "type": "integer"
  10815. },
  10816. "broker": {
  10817. "description": "所属经纪人ID",
  10818. "type": "integer"
  10819. },
  10820. "canceltime": {
  10821. "description": "销户时间",
  10822. "type": "string"
  10823. },
  10824. "canceluserid": {
  10825. "description": "销户人",
  10826. "type": "integer"
  10827. },
  10828. "createtime": {
  10829. "description": "创建时间",
  10830. "type": "string"
  10831. },
  10832. "creatorid": {
  10833. "description": "创建人",
  10834. "type": "integer"
  10835. },
  10836. "hasauth": {
  10837. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10838. "type": "integer"
  10839. },
  10840. "isanonymous": {
  10841. "description": "是否匿名下单 - 0:否 1:是",
  10842. "type": "integer"
  10843. },
  10844. "maxinvestornum": {
  10845. "description": "最大用户数(经纪会员下投资者个数)",
  10846. "type": "integer"
  10847. },
  10848. "memberuserid": {
  10849. "description": "所属会员ID",
  10850. "type": "integer"
  10851. },
  10852. "modifierid": {
  10853. "description": "修改人",
  10854. "type": "integer"
  10855. },
  10856. "modifyremark": {
  10857. "description": "变更备注",
  10858. "type": "string"
  10859. },
  10860. "modifystatus": {
  10861. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10862. "type": "integer"
  10863. },
  10864. "modifytime": {
  10865. "description": "修改时间",
  10866. "type": "string"
  10867. },
  10868. "parentuserid": {
  10869. "description": "所属机构ID",
  10870. "type": "integer"
  10871. },
  10872. "reckonaccountid": {
  10873. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10874. "type": "integer"
  10875. },
  10876. "refercount": {
  10877. "description": "推荐总人数",
  10878. "type": "integer"
  10879. },
  10880. "refereeuserid": {
  10881. "description": "推荐人ID",
  10882. "type": "integer"
  10883. },
  10884. "refernum": {
  10885. "description": "推荐码",
  10886. "type": "string"
  10887. },
  10888. "subarealevelpath": {
  10889. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10890. "type": "string"
  10891. },
  10892. "userid": {
  10893. "description": "用户ID",
  10894. "type": "integer"
  10895. },
  10896. "usertype": {
  10897. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10898. "type": "integer"
  10899. }
  10900. }
  10901. },
  10902. "models.Userfavoritegoods": {
  10903. "type": "object",
  10904. "required": [
  10905. "goodsid"
  10906. ],
  10907. "properties": {
  10908. "goodsid": {
  10909. "description": "商品ID",
  10910. "type": "integer"
  10911. }
  10912. }
  10913. },
  10914. "models.Userinfo": {
  10915. "type": "object",
  10916. "required": [
  10917. "userid"
  10918. ],
  10919. "properties": {
  10920. "address": {
  10921. "description": "地址",
  10922. "type": "string"
  10923. },
  10924. "attachment1": {
  10925. "description": "附件1",
  10926. "type": "string"
  10927. },
  10928. "attachment2": {
  10929. "description": "附件2",
  10930. "type": "string"
  10931. },
  10932. "bankaccount": {
  10933. "description": "银行帐号 (加密存储)",
  10934. "type": "string"
  10935. },
  10936. "bankaccountname": {
  10937. "description": "收款人名称",
  10938. "type": "string"
  10939. },
  10940. "bankcardfrontphotourl": {
  10941. "description": "银行卡正面照地址",
  10942. "type": "string"
  10943. },
  10944. "bankid": {
  10945. "description": "银行编码",
  10946. "type": "string"
  10947. },
  10948. "bankname": {
  10949. "description": "银行名称",
  10950. "type": "string"
  10951. },
  10952. "biznature": {
  10953. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10954. "type": "integer"
  10955. },
  10956. "bizscope": {
  10957. "description": "企业经营范围(企业)",
  10958. "type": "string"
  10959. },
  10960. "cardbackphotourl": {
  10961. "description": "证件背面图片地址",
  10962. "type": "string"
  10963. },
  10964. "cardfrontphotourl": {
  10965. "description": "证件正面图片地址",
  10966. "type": "string"
  10967. },
  10968. "cardnum": {
  10969. "description": "证件号码(加密存储)",
  10970. "type": "string"
  10971. },
  10972. "cardtypeid": {
  10973. "description": "证件类型ID",
  10974. "type": "integer"
  10975. },
  10976. "cityid": {
  10977. "description": "市",
  10978. "type": "integer"
  10979. },
  10980. "company": {
  10981. "description": "公司(个人)",
  10982. "type": "string"
  10983. },
  10984. "contactname": {
  10985. "description": "联系人",
  10986. "type": "string"
  10987. },
  10988. "countryid": {
  10989. "description": "国家",
  10990. "type": "integer"
  10991. },
  10992. "createtime": {
  10993. "description": "创建时间",
  10994. "type": "string"
  10995. },
  10996. "creatorid": {
  10997. "description": "创建人",
  10998. "type": "integer"
  10999. },
  11000. "customername": {
  11001. "description": "客户名称(企业名称)",
  11002. "type": "string"
  11003. },
  11004. "districtid": {
  11005. "description": "地区",
  11006. "type": "integer"
  11007. },
  11008. "email": {
  11009. "description": "邮件(加密存储)",
  11010. "type": "string"
  11011. },
  11012. "fax": {
  11013. "description": "传真(加密存储)",
  11014. "type": "string"
  11015. },
  11016. "halfbodyphotourl": {
  11017. "description": "半身照地址",
  11018. "type": "string"
  11019. },
  11020. "hasencrypt": {
  11021. "description": "数据是否已加密 - 0:未加密 1:已加密",
  11022. "type": "integer"
  11023. },
  11024. "headurl": {
  11025. "description": "头像地址",
  11026. "type": "string"
  11027. },
  11028. "legalcardbackphotourl": {
  11029. "description": "法人身份证背面照地址",
  11030. "type": "string"
  11031. },
  11032. "legalcardfrontphotourl": {
  11033. "description": "法人身份证正面照地址",
  11034. "type": "string"
  11035. },
  11036. "legalpersonname": {
  11037. "description": "法人姓名(企业)",
  11038. "type": "string"
  11039. },
  11040. "mobile": {
  11041. "description": "手机号码(加密存储)",
  11042. "type": "string"
  11043. },
  11044. "mobile2": {
  11045. "description": "手机号码[明文-尚志]",
  11046. "type": "string"
  11047. },
  11048. "modifierid": {
  11049. "description": "修改人",
  11050. "type": "integer"
  11051. },
  11052. "modifiertime": {
  11053. "description": "修改时间",
  11054. "type": "string"
  11055. },
  11056. "needinvoice": {
  11057. "description": "是否需要发票 - 0:不需要 1:需要",
  11058. "type": "integer"
  11059. },
  11060. "nickname": {
  11061. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  11062. "type": "string"
  11063. },
  11064. "openmode": {
  11065. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  11066. "type": "integer"
  11067. },
  11068. "otherurl": {
  11069. "description": "其它图片地址[使用分号分隔]",
  11070. "type": "string"
  11071. },
  11072. "postalcode": {
  11073. "description": "邮政编码",
  11074. "type": "string"
  11075. },
  11076. "provinceid": {
  11077. "description": "省",
  11078. "type": "integer"
  11079. },
  11080. "qq": {
  11081. "description": "QQ(加密存储",
  11082. "type": "string"
  11083. },
  11084. "remark": {
  11085. "description": "备注",
  11086. "type": "string"
  11087. },
  11088. "sex": {
  11089. "description": "用户性别 0: 女 1: 男",
  11090. "type": "integer"
  11091. },
  11092. "signpdfurl": {
  11093. "description": "签约pdf文件",
  11094. "type": "string"
  11095. },
  11096. "telphone": {
  11097. "description": "联系电话(加密存储)",
  11098. "type": "string"
  11099. },
  11100. "userid": {
  11101. "description": "用户ID",
  11102. "type": "integer"
  11103. },
  11104. "userinfotype": {
  11105. "description": "用户信息类型 - 1:个人 2:企业",
  11106. "type": "integer"
  11107. },
  11108. "userstatus": {
  11109. "description": "用户状态 - 1:正常 2:注销",
  11110. "type": "integer"
  11111. },
  11112. "usertype": {
  11113. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11114. "type": "integer"
  11115. },
  11116. "wechat": {
  11117. "description": "微信(加密存储)",
  11118. "type": "string"
  11119. },
  11120. "wskhinfo": {
  11121. "description": "开户申请信息(JSON)",
  11122. "type": "string"
  11123. }
  11124. }
  11125. },
  11126. "models.WRCategoryTree": {
  11127. "type": "object",
  11128. "required": [
  11129. "categoryid"
  11130. ],
  11131. "properties": {
  11132. "areauserid": {
  11133. "description": "所属机构",
  11134. "type": "integer"
  11135. },
  11136. "categorydesc": {
  11137. "description": "类别描述",
  11138. "type": "string"
  11139. },
  11140. "categoryid": {
  11141. "description": "类别ID(SEQ_WRCATEGORY)",
  11142. "type": "integer"
  11143. },
  11144. "categoryname": {
  11145. "description": "类别名称",
  11146. "type": "string"
  11147. },
  11148. "iconurl": {
  11149. "description": "图标地址",
  11150. "type": "string"
  11151. },
  11152. "orderindex": {
  11153. "description": "顺序",
  11154. "type": "integer"
  11155. },
  11156. "parentcategoryid": {
  11157. "description": "父类别ID",
  11158. "type": "integer"
  11159. },
  11160. "subcategory": {
  11161. "description": "子分类",
  11162. "type": "array",
  11163. "items": {
  11164. "$ref": "#/definitions/models.WRCategoryTree"
  11165. }
  11166. }
  11167. }
  11168. },
  11169. "models.WRStandardInfo": {
  11170. "type": "object",
  11171. "required": [
  11172. "wrstandardid"
  11173. ],
  11174. "properties": {
  11175. "createtime": {
  11176. "description": "创建时间",
  11177. "type": "string"
  11178. },
  11179. "creatorid": {
  11180. "description": "创建人",
  11181. "type": "integer"
  11182. },
  11183. "deliverygoodsid": {
  11184. "description": "品种ID",
  11185. "type": "integer"
  11186. },
  11187. "deliverygoodsname": {
  11188. "description": "交割商品名称",
  11189. "type": "string"
  11190. },
  11191. "factoryitemjson": {
  11192. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  11193. "type": "string"
  11194. },
  11195. "isvalid": {
  11196. "description": "是否有效 - 0:无效 1:有效",
  11197. "type": "integer"
  11198. },
  11199. "minivalue": {
  11200. "description": "最小变动值",
  11201. "type": "integer"
  11202. },
  11203. "minivaluedp": {
  11204. "description": "最小变动值小数位",
  11205. "type": "integer"
  11206. },
  11207. "realminivalue": {
  11208. "description": "实际最小变动值",
  11209. "type": "integer"
  11210. },
  11211. "realminivaluedp": {
  11212. "description": "实际最小变动值小数位",
  11213. "type": "integer"
  11214. },
  11215. "unitid": {
  11216. "description": "单位ID",
  11217. "type": "integer"
  11218. },
  11219. "unitname": {
  11220. "description": "单位",
  11221. "type": "string"
  11222. },
  11223. "updatetime": {
  11224. "description": "更新时间",
  11225. "type": "string"
  11226. },
  11227. "updatorid": {
  11228. "description": "更新人",
  11229. "type": "integer"
  11230. },
  11231. "wrsstatus": {
  11232. "description": "状态 - 作废 - 0:未激活 1:正常",
  11233. "type": "integer"
  11234. },
  11235. "wrstandardcode": {
  11236. "description": "仓单标准代码",
  11237. "type": "string"
  11238. },
  11239. "wrstandardid": {
  11240. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11241. "type": "integer"
  11242. },
  11243. "wrstandardname": {
  11244. "description": "仓单标准名称",
  11245. "type": "string"
  11246. }
  11247. }
  11248. },
  11249. "models.Warehouseinfo": {
  11250. "type": "object",
  11251. "required": [
  11252. "autoid",
  11253. "warehousecode"
  11254. ],
  11255. "properties": {
  11256. "address": {
  11257. "description": "详细地址",
  11258. "type": "string"
  11259. },
  11260. "areauserid": {
  11261. "description": "所属机构",
  11262. "type": "integer"
  11263. },
  11264. "autoid": {
  11265. "description": "自增ID",
  11266. "type": "integer"
  11267. },
  11268. "cityid": {
  11269. "description": "市",
  11270. "type": "integer"
  11271. },
  11272. "contactname": {
  11273. "description": "联系人",
  11274. "type": "string"
  11275. },
  11276. "contactnum": {
  11277. "description": "联系电话",
  11278. "type": "string"
  11279. },
  11280. "countryid": {
  11281. "description": "国家",
  11282. "type": "integer"
  11283. },
  11284. "createtime": {
  11285. "description": "创建时间",
  11286. "type": "string"
  11287. },
  11288. "districtid": {
  11289. "description": "区",
  11290. "type": "integer"
  11291. },
  11292. "hasvideo": {
  11293. "description": "是否有视频 - 0:无 1:有",
  11294. "type": "integer"
  11295. },
  11296. "provinceid": {
  11297. "description": "省",
  11298. "type": "integer"
  11299. },
  11300. "remark": {
  11301. "description": "审核备注",
  11302. "type": "string"
  11303. },
  11304. "videourl": {
  11305. "description": "视频地址",
  11306. "type": "string"
  11307. },
  11308. "warehousecode": {
  11309. "description": "仓库代码",
  11310. "type": "string"
  11311. },
  11312. "warehousename": {
  11313. "description": "仓库名称",
  11314. "type": "string"
  11315. },
  11316. "warehousestatus": {
  11317. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11318. "type": "integer"
  11319. },
  11320. "warehousetype": {
  11321. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11322. "type": "integer"
  11323. }
  11324. }
  11325. },
  11326. "order.QueryHisTradeDetailRsp": {
  11327. "type": "object",
  11328. "required": [
  11329. "accountid",
  11330. "buyorsell",
  11331. "goodsid",
  11332. "histradedate",
  11333. "marketid",
  11334. "memberuserid",
  11335. "orderid",
  11336. "tradeamount",
  11337. "tradedate",
  11338. "tradeid",
  11339. "tradeprice",
  11340. "tradeqty",
  11341. "tradetime"
  11342. ],
  11343. "properties": {
  11344. "accountid": {
  11345. "description": "账户ID[报价币种]",
  11346. "type": "integer"
  11347. },
  11348. "buildtype": {
  11349. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11350. "type": "integer"
  11351. },
  11352. "buyorsell": {
  11353. "description": "方向 - 0:买 1:卖",
  11354. "type": "integer"
  11355. },
  11356. "charge": {
  11357. "description": "手续费",
  11358. "type": "number"
  11359. },
  11360. "closecharge": {
  11361. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11362. "type": "number"
  11363. },
  11364. "closeexchagechargevalue": {
  11365. "description": "平仓交易所手续费设置值",
  11366. "type": "number"
  11367. },
  11368. "closefeealgorithm": {
  11369. "description": "平仓手续费收取方式 1:比率 2:固定",
  11370. "type": "integer"
  11371. },
  11372. "closememberchargevalue": {
  11373. "description": "平仓会员手续费设置值",
  11374. "type": "number"
  11375. },
  11376. "closepl": {
  11377. "description": "平仓盈亏",
  11378. "type": "number"
  11379. },
  11380. "closepl2": {
  11381. "description": "平仓盈亏[逐笔]",
  11382. "type": "number"
  11383. },
  11384. "closeqty": {
  11385. "description": "平仓数量(先建后平操作 需要记录)",
  11386. "type": "integer"
  11387. },
  11388. "creditamount": {
  11389. "description": "授信金额",
  11390. "type": "number"
  11391. },
  11392. "gcaccountid": {
  11393. "description": "账户ID[合约币种]",
  11394. "type": "integer"
  11395. },
  11396. "goodscode": {
  11397. "description": "商品代码",
  11398. "type": "string"
  11399. },
  11400. "goodsid": {
  11401. "description": "商品ID",
  11402. "type": "integer"
  11403. },
  11404. "goodsname": {
  11405. "description": "商品名称",
  11406. "type": "string"
  11407. },
  11408. "histradedate": {
  11409. "description": "历史交易日",
  11410. "type": "string"
  11411. },
  11412. "intclosepl": {
  11413. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11414. "type": "integer"
  11415. },
  11416. "isconfirmexercise": {
  11417. "description": "是否确认行权- 0:否 1:是",
  11418. "type": "integer"
  11419. },
  11420. "ismain": {
  11421. "description": "是否主单 - 0:不是 1:是",
  11422. "type": "integer"
  11423. },
  11424. "ispreexercise": {
  11425. "description": "是否预申报- 0:否 1:是",
  11426. "type": "integer"
  11427. },
  11428. "isreckoned": {
  11429. "description": "是否结算 - 0:未结算 1:已结算",
  11430. "type": "integer"
  11431. },
  11432. "isvaliddata": {
  11433. "description": "是否有效 - 0:无效 1:有效",
  11434. "type": "integer"
  11435. },
  11436. "listingselecttype": {
  11437. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11438. "type": "integer"
  11439. },
  11440. "marketid": {
  11441. "description": "市场ID",
  11442. "type": "integer"
  11443. },
  11444. "marketname": {
  11445. "description": "市场名称",
  11446. "type": "string"
  11447. },
  11448. "matchaccountid": {
  11449. "description": "对手账号id",
  11450. "type": "integer"
  11451. },
  11452. "memberuserid": {
  11453. "description": "会员id 个人投资者 需要填写",
  11454. "type": "integer"
  11455. },
  11456. "opencharge": {
  11457. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11458. "type": "number"
  11459. },
  11460. "openexchagechargevalue": {
  11461. "description": "建仓交易所手续费设置值",
  11462. "type": "number"
  11463. },
  11464. "openfeealgorithm": {
  11465. "description": "建仓手续费收取方式 1:比率 2:固定",
  11466. "type": "integer"
  11467. },
  11468. "openmemberchargevalue": {
  11469. "description": "建仓会员手续费设置值",
  11470. "type": "number"
  11471. },
  11472. "openqty": {
  11473. "description": "开仓数量(先建后平操作 需要记录)",
  11474. "type": "integer"
  11475. },
  11476. "optiontype": {
  11477. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11478. "type": "integer"
  11479. },
  11480. "orderid": {
  11481. "description": "委托单号",
  11482. "type": "string"
  11483. },
  11484. "performanceplanid": {
  11485. "description": "履约计划ID[期权]",
  11486. "type": "integer"
  11487. },
  11488. "performancestatus": {
  11489. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11490. "type": "integer"
  11491. },
  11492. "preexerciseprice": {
  11493. "description": "预申报价格",
  11494. "type": "number"
  11495. },
  11496. "premium": {
  11497. "description": "权利金 - [持仓单的权利金]",
  11498. "type": "number"
  11499. },
  11500. "relatedouttradeid": {
  11501. "description": "关联外部成交单ID",
  11502. "type": "integer"
  11503. },
  11504. "status": {
  11505. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11506. "type": "integer"
  11507. },
  11508. "tradeamount": {
  11509. "description": "成交金额[账户币种,用于所有权]",
  11510. "type": "number"
  11511. },
  11512. "tradedate": {
  11513. "description": "交易日(yyyyMMdd)",
  11514. "type": "string"
  11515. },
  11516. "tradeid": {
  11517. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11518. "type": "string"
  11519. },
  11520. "trademode": {
  11521. "description": "交易模式",
  11522. "type": "integer"
  11523. },
  11524. "tradeprice": {
  11525. "description": "成交价格",
  11526. "type": "number"
  11527. },
  11528. "tradeproperty": {
  11529. "description": "交易属性",
  11530. "type": "integer"
  11531. },
  11532. "tradeqty": {
  11533. "description": "成交数量",
  11534. "type": "integer"
  11535. },
  11536. "tradetime": {
  11537. "description": "成交时间",
  11538. "type": "string"
  11539. },
  11540. "tradetype": {
  11541. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11542. "type": "integer"
  11543. }
  11544. }
  11545. },
  11546. "order.QueryHisTradeOrderDetailRsp": {
  11547. "type": "object",
  11548. "required": [
  11549. "accountid",
  11550. "buildtype",
  11551. "buyorsell",
  11552. "goodsid",
  11553. "histradedate",
  11554. "marketid",
  11555. "memberuserid",
  11556. "operatetype",
  11557. "orderid",
  11558. "orderqty",
  11559. "ordertime",
  11560. "pricemode",
  11561. "tradedate",
  11562. "validtype"
  11563. ],
  11564. "properties": {
  11565. "accountid": {
  11566. "description": "账户ID[报价币种]",
  11567. "type": "integer"
  11568. },
  11569. "buildtype": {
  11570. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11571. "type": "integer"
  11572. },
  11573. "buyorsell": {
  11574. "description": "买卖 - 0:买 1:卖",
  11575. "type": "integer"
  11576. },
  11577. "cancelorderid": {
  11578. "description": "撤单单号(撤单时填写)",
  11579. "type": "string"
  11580. },
  11581. "cancelqty": {
  11582. "description": "撤单数量",
  11583. "type": "integer"
  11584. },
  11585. "clientordertime": {
  11586. "description": "客户端委托时间",
  11587. "type": "string"
  11588. },
  11589. "clientticket": {
  11590. "description": "客户端流水号",
  11591. "type": "string"
  11592. },
  11593. "clienttype": {
  11594. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11595. "type": "integer"
  11596. },
  11597. "closeexchagechargevalue": {
  11598. "description": "平仓交易所手续费设置值",
  11599. "type": "number"
  11600. },
  11601. "closefeealgorithm": {
  11602. "description": "平仓手续费收取方式 1:比率 2:固定",
  11603. "type": "integer"
  11604. },
  11605. "closefreezecharge": {
  11606. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11607. "type": "number"
  11608. },
  11609. "closememberchargevalue": {
  11610. "description": "平仓会员手续费设置值",
  11611. "type": "number"
  11612. },
  11613. "closeqty": {
  11614. "description": "平仓数量(先建后平操作 需要记录)",
  11615. "type": "integer"
  11616. },
  11617. "closetradeqty": {
  11618. "description": "平仓成交数量(先建后平操作,需要记录)",
  11619. "type": "integer"
  11620. },
  11621. "closeunfreezecharge": {
  11622. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11623. "type": "number"
  11624. },
  11625. "delistingtype": {
  11626. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11627. "type": "integer"
  11628. },
  11629. "freezecharge": {
  11630. "description": "冻结手续费",
  11631. "type": "number"
  11632. },
  11633. "freezemargin": {
  11634. "description": "冻结保证金(冻结交易金额)",
  11635. "type": "number"
  11636. },
  11637. "gcaccountid": {
  11638. "description": "账户ID[合约币种]",
  11639. "type": "integer"
  11640. },
  11641. "goodscode": {
  11642. "description": "商品代码",
  11643. "type": "string"
  11644. },
  11645. "goodsid": {
  11646. "description": "商品ID",
  11647. "type": "integer"
  11648. },
  11649. "goodsname": {
  11650. "description": "商品名称",
  11651. "type": "string"
  11652. },
  11653. "histradedate": {
  11654. "description": "历史交易日",
  11655. "type": "string"
  11656. },
  11657. "isconfirmexercise": {
  11658. "description": "是否确认行权- 0:否 1:是",
  11659. "type": "integer"
  11660. },
  11661. "ispreexercise": {
  11662. "description": "是否预申报- 0:否 1:是",
  11663. "type": "integer"
  11664. },
  11665. "isvaliddata": {
  11666. "description": "是否有效 - 0:无效 1:有效",
  11667. "type": "integer"
  11668. },
  11669. "listingselecttype": {
  11670. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11671. "type": "integer"
  11672. },
  11673. "marginalgorithm": {
  11674. "description": "保证金收取方式 1:比率 2:固定",
  11675. "type": "integer"
  11676. },
  11677. "marginvalue": {
  11678. "description": "即市保证金设置值",
  11679. "type": "number"
  11680. },
  11681. "marketid": {
  11682. "description": "市场ID",
  11683. "type": "integer"
  11684. },
  11685. "marketmaxsub": {
  11686. "description": "市价最大偏移范围",
  11687. "type": "number"
  11688. },
  11689. "marketname": {
  11690. "description": "市场名称",
  11691. "type": "string"
  11692. },
  11693. "memberuserid": {
  11694. "description": "所属会员UserID",
  11695. "type": "integer"
  11696. },
  11697. "openexchagechargevalue": {
  11698. "description": "建仓交易所手续费设置值",
  11699. "type": "number"
  11700. },
  11701. "openfeealgorithm": {
  11702. "description": "建仓手续费收取方式 1:比率 2:固定",
  11703. "type": "integer"
  11704. },
  11705. "openfreezecharge": {
  11706. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11707. "type": "number"
  11708. },
  11709. "openmemberchargevalue": {
  11710. "description": "建仓会员手续费设置值",
  11711. "type": "number"
  11712. },
  11713. "openqty": {
  11714. "description": "开仓数量(先建后平操作,需要记录)",
  11715. "type": "integer"
  11716. },
  11717. "opentradeqty": {
  11718. "description": "开仓成交数量(先建后平操作,需要记录)",
  11719. "type": "integer"
  11720. },
  11721. "openunfreezecharge": {
  11722. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11723. "type": "number"
  11724. },
  11725. "operatetype": {
  11726. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11727. "type": "integer"
  11728. },
  11729. "operatorid": {
  11730. "description": "登录账号(LoginID)",
  11731. "type": "integer"
  11732. },
  11733. "optiontype": {
  11734. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11735. "type": "integer"
  11736. },
  11737. "orderid": {
  11738. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11739. "type": "string"
  11740. },
  11741. "orderprice": {
  11742. "description": "委托价格",
  11743. "type": "number"
  11744. },
  11745. "orderqty": {
  11746. "description": "委托数量",
  11747. "type": "integer"
  11748. },
  11749. "ordersrc": {
  11750. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11751. "type": "integer"
  11752. },
  11753. "orderstatus": {
  11754. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11755. "type": "integer"
  11756. },
  11757. "ordertime": {
  11758. "description": "委托时间",
  11759. "type": "string"
  11760. },
  11761. "preexerciseprice": {
  11762. "description": "预申报价格",
  11763. "type": "number"
  11764. },
  11765. "premium": {
  11766. "description": "权利金",
  11767. "type": "number"
  11768. },
  11769. "preorderid": {
  11770. "description": "关联预埋单号(止盈止损单时填写)",
  11771. "type": "string"
  11772. },
  11773. "pricemode": {
  11774. "description": "取价方式 - 1:市价 2: 限价",
  11775. "type": "integer"
  11776. },
  11777. "quoteid": {
  11778. "description": "报价单ID",
  11779. "type": "integer"
  11780. },
  11781. "relatedid": {
  11782. "description": "关联单号(交割单)",
  11783. "type": "string"
  11784. },
  11785. "retcode": {
  11786. "description": "错误代码",
  11787. "type": "integer"
  11788. },
  11789. "sessionid": {
  11790. "description": "会话ID",
  11791. "type": "integer"
  11792. },
  11793. "tradedate": {
  11794. "description": "交易日(yyyyMMdd)",
  11795. "type": "string"
  11796. },
  11797. "trademode": {
  11798. "description": "交易模式",
  11799. "type": "integer"
  11800. },
  11801. "tradeproperty": {
  11802. "description": "交易属性",
  11803. "type": "integer"
  11804. },
  11805. "tradeqty": {
  11806. "description": "成交数量",
  11807. "type": "integer"
  11808. },
  11809. "unfreezecharge": {
  11810. "description": "解冻手续费",
  11811. "type": "number"
  11812. },
  11813. "unfreezemargin": {
  11814. "description": "解冻保证金",
  11815. "type": "number"
  11816. },
  11817. "updatetime": {
  11818. "description": "更新时间",
  11819. "type": "string"
  11820. },
  11821. "uuid": {
  11822. "description": "发起端唯一id",
  11823. "type": "string"
  11824. },
  11825. "validtime": {
  11826. "description": "有效期限",
  11827. "type": "string"
  11828. },
  11829. "validtype": {
  11830. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11831. "type": "integer"
  11832. },
  11833. "volumetype": {
  11834. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11835. "type": "integer"
  11836. }
  11837. }
  11838. },
  11839. "order.QueryTradeDetailRsp": {
  11840. "type": "object",
  11841. "required": [
  11842. "accountid",
  11843. "buyorsell",
  11844. "goodsid",
  11845. "marketid",
  11846. "memberuserid",
  11847. "orderid",
  11848. "tradeamount",
  11849. "tradedate",
  11850. "tradeid",
  11851. "tradeprice",
  11852. "tradeqty",
  11853. "tradetime"
  11854. ],
  11855. "properties": {
  11856. "accountid": {
  11857. "description": "账户ID[报价币种]",
  11858. "type": "integer"
  11859. },
  11860. "buildtype": {
  11861. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11862. "type": "integer"
  11863. },
  11864. "buyorsell": {
  11865. "description": "方向 - 0:买 1:卖",
  11866. "type": "integer"
  11867. },
  11868. "charge": {
  11869. "description": "手续费",
  11870. "type": "number"
  11871. },
  11872. "closecharge": {
  11873. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11874. "type": "number"
  11875. },
  11876. "closeexchagechargevalue": {
  11877. "description": "平仓交易所手续费设置值",
  11878. "type": "number"
  11879. },
  11880. "closefeealgorithm": {
  11881. "description": "平仓手续费收取方式 1:比率 2:固定",
  11882. "type": "integer"
  11883. },
  11884. "closememberchargevalue": {
  11885. "description": "平仓会员手续费设置值",
  11886. "type": "number"
  11887. },
  11888. "closepl": {
  11889. "description": "平仓盈亏",
  11890. "type": "number"
  11891. },
  11892. "closepl2": {
  11893. "description": "平仓盈亏[逐笔]",
  11894. "type": "number"
  11895. },
  11896. "closeqty": {
  11897. "description": "平仓数量(先建后平操作 需要记录)",
  11898. "type": "integer"
  11899. },
  11900. "creditamount": {
  11901. "description": "授信金额",
  11902. "type": "number"
  11903. },
  11904. "gcaccountid": {
  11905. "description": "账户ID[合约币种]",
  11906. "type": "integer"
  11907. },
  11908. "goodscode": {
  11909. "description": "商品代码",
  11910. "type": "string"
  11911. },
  11912. "goodsid": {
  11913. "description": "商品ID",
  11914. "type": "integer"
  11915. },
  11916. "goodsname": {
  11917. "description": "商品名称",
  11918. "type": "string"
  11919. },
  11920. "intclosepl": {
  11921. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11922. "type": "integer"
  11923. },
  11924. "isconfirmexercise": {
  11925. "description": "是否确认行权- 0:否 1:是",
  11926. "type": "integer"
  11927. },
  11928. "ismain": {
  11929. "description": "是否主单 - 0:不是 1:是",
  11930. "type": "integer"
  11931. },
  11932. "ispreexercise": {
  11933. "description": "是否预申报- 0:否 1:是",
  11934. "type": "integer"
  11935. },
  11936. "isreckoned": {
  11937. "description": "是否结算 - 0:未结算 1:已结算",
  11938. "type": "integer"
  11939. },
  11940. "listingselecttype": {
  11941. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11942. "type": "integer"
  11943. },
  11944. "marketid": {
  11945. "description": "市场ID",
  11946. "type": "integer"
  11947. },
  11948. "marketname": {
  11949. "description": "市场名称",
  11950. "type": "string"
  11951. },
  11952. "matchaccountid": {
  11953. "description": "对手账号id",
  11954. "type": "integer"
  11955. },
  11956. "memberuserid": {
  11957. "description": "会员id 个人投资者 需要填写",
  11958. "type": "integer"
  11959. },
  11960. "opencharge": {
  11961. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11962. "type": "number"
  11963. },
  11964. "openexchagechargevalue": {
  11965. "description": "建仓交易所手续费设置值",
  11966. "type": "number"
  11967. },
  11968. "openfeealgorithm": {
  11969. "description": "建仓手续费收取方式 1:比率 2:固定",
  11970. "type": "integer"
  11971. },
  11972. "openmemberchargevalue": {
  11973. "description": "建仓会员手续费设置值",
  11974. "type": "number"
  11975. },
  11976. "openqty": {
  11977. "description": "开仓数量(先建后平操作 需要记录)",
  11978. "type": "integer"
  11979. },
  11980. "optiontype": {
  11981. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11982. "type": "integer"
  11983. },
  11984. "orderid": {
  11985. "description": "委托单号",
  11986. "type": "string"
  11987. },
  11988. "performanceplanid": {
  11989. "description": "履约计划ID[期权]",
  11990. "type": "integer"
  11991. },
  11992. "performancestatus": {
  11993. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11994. "type": "integer"
  11995. },
  11996. "preexerciseprice": {
  11997. "description": "预申报价格",
  11998. "type": "number"
  11999. },
  12000. "premium": {
  12001. "description": "权利金 - [持仓单的权利金]",
  12002. "type": "number"
  12003. },
  12004. "relatedouttradeid": {
  12005. "description": "关联外部成交单ID",
  12006. "type": "integer"
  12007. },
  12008. "status": {
  12009. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12010. "type": "integer"
  12011. },
  12012. "tradeamount": {
  12013. "description": "成交金额[账户币种,用于所有权]",
  12014. "type": "number"
  12015. },
  12016. "tradedate": {
  12017. "description": "交易日(yyyyMMdd)",
  12018. "type": "string"
  12019. },
  12020. "tradeid": {
  12021. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12022. "type": "string"
  12023. },
  12024. "trademode": {
  12025. "description": "交易模式",
  12026. "type": "integer"
  12027. },
  12028. "tradeprice": {
  12029. "description": "成交价格",
  12030. "type": "number"
  12031. },
  12032. "tradeproperty": {
  12033. "description": "交易属性",
  12034. "type": "integer"
  12035. },
  12036. "tradeqty": {
  12037. "description": "成交数量",
  12038. "type": "integer"
  12039. },
  12040. "tradetime": {
  12041. "description": "成交时间",
  12042. "type": "string"
  12043. },
  12044. "tradetype": {
  12045. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12046. "type": "integer"
  12047. }
  12048. }
  12049. },
  12050. "order.QueryTradeOrderDetailRsp": {
  12051. "type": "object",
  12052. "required": [
  12053. "accountid",
  12054. "buildtype",
  12055. "buyorsell",
  12056. "goodsid",
  12057. "marketid",
  12058. "operatetype",
  12059. "orderqty",
  12060. "ordertime",
  12061. "pricemode",
  12062. "tradedate",
  12063. "validtype"
  12064. ],
  12065. "properties": {
  12066. "accountid": {
  12067. "description": "账户ID[报价币种]",
  12068. "type": "integer"
  12069. },
  12070. "buildtype": {
  12071. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12072. "type": "integer"
  12073. },
  12074. "buyorsell": {
  12075. "description": "买卖 - 0:买 1:卖",
  12076. "type": "integer"
  12077. },
  12078. "cancelorderid": {
  12079. "description": "撤单单号(撤单时填写)",
  12080. "type": "string"
  12081. },
  12082. "cancelqty": {
  12083. "description": "撤单数量",
  12084. "type": "integer"
  12085. },
  12086. "clienttype": {
  12087. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12088. "type": "integer"
  12089. },
  12090. "closefreezecharge": {
  12091. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12092. "type": "number"
  12093. },
  12094. "closeqty": {
  12095. "description": "平仓数量(先建后平操作 需要记录)",
  12096. "type": "integer"
  12097. },
  12098. "closetradeqty": {
  12099. "description": "平仓成交数量(先建后平操作,需要记录)",
  12100. "type": "integer"
  12101. },
  12102. "closeunfreezecharge": {
  12103. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12104. "type": "number"
  12105. },
  12106. "delistingtype": {
  12107. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12108. "type": "integer"
  12109. },
  12110. "enableqty": {
  12111. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  12112. "type": "integer"
  12113. },
  12114. "freezecharge": {
  12115. "description": "冻结手续费",
  12116. "type": "number"
  12117. },
  12118. "freezemargin": {
  12119. "description": "冻结保证金(冻结交易金额)",
  12120. "type": "number"
  12121. },
  12122. "goodscode": {
  12123. "description": "商品代码",
  12124. "type": "string"
  12125. },
  12126. "goodsid": {
  12127. "description": "商品ID",
  12128. "type": "integer"
  12129. },
  12130. "goodsname": {
  12131. "description": "商品名称",
  12132. "type": "string"
  12133. },
  12134. "listingselecttype": {
  12135. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12136. "type": "integer"
  12137. },
  12138. "marketid": {
  12139. "description": "市场ID",
  12140. "type": "integer"
  12141. },
  12142. "marketname": {
  12143. "description": "市场名称",
  12144. "type": "string"
  12145. },
  12146. "openfreezecharge": {
  12147. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12148. "type": "number"
  12149. },
  12150. "openqty": {
  12151. "description": "开仓数量(先建后平操作,需要记录)",
  12152. "type": "integer"
  12153. },
  12154. "opentradeqty": {
  12155. "description": "开仓成交数量(先建后平操作,需要记录)",
  12156. "type": "integer"
  12157. },
  12158. "openunfreezecharge": {
  12159. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12160. "type": "number"
  12161. },
  12162. "operatetype": {
  12163. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12164. "type": "integer"
  12165. },
  12166. "operatorid": {
  12167. "description": "登录账号(LoginID)",
  12168. "type": "integer"
  12169. },
  12170. "orderid": {
  12171. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12172. "type": "string"
  12173. },
  12174. "orderprice": {
  12175. "description": "委托价格",
  12176. "type": "number"
  12177. },
  12178. "orderqty": {
  12179. "description": "委托数量",
  12180. "type": "integer"
  12181. },
  12182. "ordersrc": {
  12183. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12184. "type": "integer"
  12185. },
  12186. "orderstatus": {
  12187. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12188. "type": "integer"
  12189. },
  12190. "ordertime": {
  12191. "description": "委托时间",
  12192. "type": "string"
  12193. },
  12194. "preorderid": {
  12195. "description": "关联预埋单号(止盈止损单时填写)",
  12196. "type": "string"
  12197. },
  12198. "pricemode": {
  12199. "description": "取价方式 - 1:市价 2: 限价",
  12200. "type": "integer"
  12201. },
  12202. "relatedid": {
  12203. "description": "关联单号(交割单)",
  12204. "type": "string"
  12205. },
  12206. "tradedate": {
  12207. "description": "交易日(yyyyMMdd)",
  12208. "type": "string"
  12209. },
  12210. "trademode": {
  12211. "description": "交易模式",
  12212. "type": "integer"
  12213. },
  12214. "tradeqty": {
  12215. "description": "成交数量",
  12216. "type": "integer"
  12217. },
  12218. "unfreezecharge": {
  12219. "description": "解冻手续费",
  12220. "type": "number"
  12221. },
  12222. "unfreezemargin": {
  12223. "description": "解冻保证金",
  12224. "type": "number"
  12225. },
  12226. "validtime": {
  12227. "description": "有效期限",
  12228. "type": "string"
  12229. },
  12230. "validtype": {
  12231. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12232. "type": "integer"
  12233. },
  12234. "volumetype": {
  12235. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12236. "type": "integer"
  12237. }
  12238. }
  12239. },
  12240. "order.QueryTradePositionRsp": {
  12241. "type": "object",
  12242. "required": [
  12243. "goodsid"
  12244. ],
  12245. "properties": {
  12246. "accountid": {
  12247. "description": "资金账户",
  12248. "type": "integer"
  12249. },
  12250. "agreeunit": {
  12251. "description": "合约单位",
  12252. "type": "number"
  12253. },
  12254. "averageprice": {
  12255. "description": "持仓均价",
  12256. "type": "number"
  12257. },
  12258. "buyorsell": {
  12259. "description": "方向 - 0:买 1:卖",
  12260. "type": "integer"
  12261. },
  12262. "closetotalqty": {
  12263. "description": "平仓总数量",
  12264. "type": "integer"
  12265. },
  12266. "curholderamount": {
  12267. "description": "当前持仓总金额[商品币种]",
  12268. "type": "number"
  12269. },
  12270. "curpositionqty": {
  12271. "description": "当前持仓总数量",
  12272. "type": "integer"
  12273. },
  12274. "currencyid": {
  12275. "description": "报价货币ID",
  12276. "type": "integer"
  12277. },
  12278. "curtdposition": {
  12279. "description": "期末今日头寸",
  12280. "type": "integer"
  12281. },
  12282. "decimalplace": {
  12283. "description": "报价小数位",
  12284. "type": "integer"
  12285. },
  12286. "enableqty": {
  12287. "description": "可用量",
  12288. "type": "integer"
  12289. },
  12290. "fretdposition": {
  12291. "description": "冻结今日头寸",
  12292. "type": "integer"
  12293. },
  12294. "frozenqty": {
  12295. "description": "持仓冻结数量",
  12296. "type": "integer"
  12297. },
  12298. "goodscode": {
  12299. "description": "商品代码",
  12300. "type": "string"
  12301. },
  12302. "goodsid": {
  12303. "description": "商品Id",
  12304. "type": "integer"
  12305. },
  12306. "goodsname": {
  12307. "description": "商品名称",
  12308. "type": "string"
  12309. },
  12310. "goodunit": {
  12311. "description": "报价单位",
  12312. "type": "string"
  12313. },
  12314. "goodunitid": {
  12315. "description": "报价单位ID",
  12316. "type": "integer"
  12317. },
  12318. "holderamount": {
  12319. "description": "期初持仓总金额[商品币种]",
  12320. "type": "number"
  12321. },
  12322. "marketid": {
  12323. "description": "所属市场ID",
  12324. "type": "integer"
  12325. },
  12326. "openreqqty": {
  12327. "description": "开仓申请数量(用于比较最大持仓数量)",
  12328. "type": "integer"
  12329. },
  12330. "opentotalqty": {
  12331. "description": "开仓总数量",
  12332. "type": "integer"
  12333. },
  12334. "otherfrozenqty": {
  12335. "description": "持仓其他冻结数量(交割冻结)",
  12336. "type": "integer"
  12337. },
  12338. "positionqty": {
  12339. "description": "期初持仓数量",
  12340. "type": "integer"
  12341. },
  12342. "tnqty": {
  12343. "description": "T+N冻结总量",
  12344. "type": "integer"
  12345. },
  12346. "tnusedqty": {
  12347. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12348. "type": "integer"
  12349. },
  12350. "trademode": {
  12351. "description": "交易模式",
  12352. "type": "integer"
  12353. },
  12354. "usedmargin": {
  12355. "description": "占用保证金[商品币种]",
  12356. "type": "number"
  12357. }
  12358. }
  12359. },
  12360. "quote.HistoryData": {
  12361. "type": "object",
  12362. "properties": {
  12363. "c": {
  12364. "description": "收盘价",
  12365. "type": "number"
  12366. },
  12367. "h": {
  12368. "description": "最高价",
  12369. "type": "number"
  12370. },
  12371. "hv": {
  12372. "description": "持仓量",
  12373. "type": "integer"
  12374. },
  12375. "l": {
  12376. "description": "最低价",
  12377. "type": "number"
  12378. },
  12379. "o": {
  12380. "description": "开盘价",
  12381. "type": "number"
  12382. },
  12383. "s": {
  12384. "description": "结算价,日线周期(包括)以上才有",
  12385. "type": "number"
  12386. },
  12387. "ts": {
  12388. "description": "时间",
  12389. "type": "string"
  12390. },
  12391. "tt": {
  12392. "description": "总金额",
  12393. "type": "number"
  12394. },
  12395. "tv": {
  12396. "description": "总量",
  12397. "type": "integer"
  12398. }
  12399. }
  12400. },
  12401. "quote.QueryTSDataRsp": {
  12402. "type": "object",
  12403. "properties": {
  12404. "decimalPlace": {
  12405. "description": "小数位",
  12406. "type": "integer"
  12407. },
  12408. "endTime": {
  12409. "description": "结束时间",
  12410. "type": "string"
  12411. },
  12412. "goodsCode": {
  12413. "description": "商品代码",
  12414. "type": "string"
  12415. },
  12416. "historyDatas": {
  12417. "description": "历史数据",
  12418. "type": "array",
  12419. "items": {
  12420. "$ref": "#/definitions/quote.HistoryData"
  12421. }
  12422. },
  12423. "preSettle": {
  12424. "description": "昨结",
  12425. "type": "number"
  12426. },
  12427. "startTime": {
  12428. "description": "开始时间",
  12429. "type": "string"
  12430. },
  12431. "tradeDate": {
  12432. "description": "交易日",
  12433. "type": "string"
  12434. }
  12435. }
  12436. },
  12437. "szdz.QueryConvertLogRsp": {
  12438. "type": "object",
  12439. "required": [
  12440. "logid"
  12441. ],
  12442. "properties": {
  12443. "accountid": {
  12444. "description": "资金账户ID",
  12445. "type": "integer"
  12446. },
  12447. "clientticket": {
  12448. "description": "客户端流水号",
  12449. "type": "string"
  12450. },
  12451. "converttype": {
  12452. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12453. "type": "integer"
  12454. },
  12455. "createtime": {
  12456. "description": "记账时间",
  12457. "type": "string"
  12458. },
  12459. "daymaxvalue": {
  12460. "description": "配置当日最大转入限制",
  12461. "type": "number"
  12462. },
  12463. "daymaxvalue2": {
  12464. "description": "配置当日最大转入限制(转入)",
  12465. "type": "number"
  12466. },
  12467. "goodscode": {
  12468. "description": "商品代码",
  12469. "type": "string"
  12470. },
  12471. "goodsname": {
  12472. "description": "商品名称",
  12473. "type": "string"
  12474. },
  12475. "handlestatus": {
  12476. "description": "处理状态",
  12477. "type": "integer"
  12478. },
  12479. "innergoodsid": {
  12480. "description": "内部商品ID",
  12481. "type": "integer"
  12482. },
  12483. "inratio": {
  12484. "description": "配置转入比值",
  12485. "type": "integer"
  12486. },
  12487. "invalue": {
  12488. "description": "目标值",
  12489. "type": "number"
  12490. },
  12491. "logid": {
  12492. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12493. "type": "integer"
  12494. },
  12495. "mobile": {
  12496. "description": "手机号码(加密存储)",
  12497. "type": "string"
  12498. },
  12499. "outergoodscode": {
  12500. "description": "外部商品代码[JD\\PD]",
  12501. "type": "string"
  12502. },
  12503. "outratio": {
  12504. "description": "配置转出比值",
  12505. "type": "integer"
  12506. },
  12507. "outvalue": {
  12508. "description": "源值",
  12509. "type": "number"
  12510. },
  12511. "pddecimalplace": {
  12512. "description": "PD小数位",
  12513. "type": "integer"
  12514. },
  12515. "qty": {
  12516. "description": "数量",
  12517. "type": "string"
  12518. },
  12519. "remark": {
  12520. "description": "备注",
  12521. "type": "string"
  12522. },
  12523. "sessionid": {
  12524. "description": "会话ID",
  12525. "type": "integer"
  12526. },
  12527. "timemaxvalue": {
  12528. "description": "配置单次最大转入限制",
  12529. "type": "number"
  12530. },
  12531. "timemaxvalue2": {
  12532. "description": "配置单次最大转入限制(转入)",
  12533. "type": "number"
  12534. },
  12535. "timeminvalue": {
  12536. "description": "配置单次最小数量限制",
  12537. "type": "number"
  12538. },
  12539. "timeminvalue2": {
  12540. "description": "配置单次最小数量限制(转入)",
  12541. "type": "number"
  12542. },
  12543. "tradedate": {
  12544. "description": "交易日(yyyyMMdd)",
  12545. "type": "string"
  12546. },
  12547. "userid": {
  12548. "description": "用户ID",
  12549. "type": "integer"
  12550. }
  12551. }
  12552. },
  12553. "szdz.QueryGoodsPickupRsp": {
  12554. "type": "object",
  12555. "required": [
  12556. "takeorderid"
  12557. ],
  12558. "properties": {
  12559. "accountid": {
  12560. "description": "账户ID",
  12561. "type": "integer"
  12562. },
  12563. "address": {
  12564. "description": "提货人详细地址",
  12565. "type": "string"
  12566. },
  12567. "auditer": {
  12568. "description": "审核人",
  12569. "type": "integer"
  12570. },
  12571. "audittime": {
  12572. "description": "审核时间",
  12573. "type": "string"
  12574. },
  12575. "cardnum": {
  12576. "description": "提货人证件号码",
  12577. "type": "string"
  12578. },
  12579. "cardtypeid": {
  12580. "description": "提货人证件类型",
  12581. "type": "integer"
  12582. },
  12583. "checkremark": {
  12584. "description": "审核备注",
  12585. "type": "string"
  12586. },
  12587. "goodscode": {
  12588. "description": "商品代码",
  12589. "type": "string"
  12590. },
  12591. "goodsid": {
  12592. "description": "商品ID",
  12593. "type": "integer"
  12594. },
  12595. "goodsname": {
  12596. "description": "商品名称",
  12597. "type": "string"
  12598. },
  12599. "handlestatus": {
  12600. "description": "处理状态",
  12601. "type": "integer"
  12602. },
  12603. "marketid": {
  12604. "description": "市场ID",
  12605. "type": "integer"
  12606. },
  12607. "phonenum": {
  12608. "description": "提货人联系方式",
  12609. "type": "string"
  12610. },
  12611. "qty": {
  12612. "description": "提货数量",
  12613. "type": "number"
  12614. },
  12615. "recivername": {
  12616. "description": "提货人姓名",
  12617. "type": "string"
  12618. },
  12619. "reqtime": {
  12620. "description": "更新时间",
  12621. "type": "string"
  12622. },
  12623. "takemode": {
  12624. "description": "提货方式 - 2:自提 3:配送",
  12625. "type": "integer"
  12626. },
  12627. "takeorderid": {
  12628. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12629. "type": "string"
  12630. },
  12631. "takeorderstatus": {
  12632. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12633. "type": "integer"
  12634. },
  12635. "takeremark": {
  12636. "description": "提货备注",
  12637. "type": "string"
  12638. },
  12639. "tradedate": {
  12640. "description": "交易日(yyyyMMdd)",
  12641. "type": "string"
  12642. },
  12643. "userid": {
  12644. "description": "用户ID",
  12645. "type": "integer"
  12646. }
  12647. }
  12648. },
  12649. "szdz.QueryRecieptOrderRsp": {
  12650. "type": "object",
  12651. "required": [
  12652. "ordertime"
  12653. ],
  12654. "properties": {
  12655. "accountName": {
  12656. "description": "所属账号名称(已脱敏)",
  12657. "type": "string"
  12658. },
  12659. "accountid": {
  12660. "description": "资金账号",
  12661. "type": "integer"
  12662. },
  12663. "buyorsell": {
  12664. "description": "方向 - 0:买 1:卖",
  12665. "type": "integer"
  12666. },
  12667. "enableqty": {
  12668. "description": "可摘数量",
  12669. "type": "integer"
  12670. },
  12671. "goodscode": {
  12672. "description": "商品代码",
  12673. "type": "string"
  12674. },
  12675. "goodsid": {
  12676. "description": "商品ID",
  12677. "type": "integer"
  12678. },
  12679. "goodsname": {
  12680. "description": "商品名称",
  12681. "type": "string"
  12682. },
  12683. "orderid": {
  12684. "description": "委托单号",
  12685. "type": "string"
  12686. },
  12687. "orderprice": {
  12688. "description": "委托价格",
  12689. "type": "number"
  12690. },
  12691. "ordertime": {
  12692. "description": "委托时间",
  12693. "type": "string"
  12694. },
  12695. "tradedate": {
  12696. "description": "交易日(yyyyMMdd)",
  12697. "type": "string"
  12698. }
  12699. }
  12700. },
  12701. "szdz.QuerySZDZTradePositionRsp": {
  12702. "type": "object",
  12703. "properties": {
  12704. "accountid": {
  12705. "description": "账号Id",
  12706. "type": "integer"
  12707. },
  12708. "agreeunit": {
  12709. "description": "合约单位",
  12710. "type": "number"
  12711. },
  12712. "averageprice": {
  12713. "description": "持仓均价",
  12714. "type": "number"
  12715. },
  12716. "buyorsell": {
  12717. "description": "方向 - 0:买 1:卖",
  12718. "type": "integer"
  12719. },
  12720. "closetotalqty": {
  12721. "description": "平仓总数量",
  12722. "type": "integer"
  12723. },
  12724. "curholderamount": {
  12725. "description": "当前持仓总金额",
  12726. "type": "number"
  12727. },
  12728. "curpositionqty": {
  12729. "description": "当前持仓总数量",
  12730. "type": "integer"
  12731. },
  12732. "currencyid": {
  12733. "description": "报价货币ID",
  12734. "type": "integer"
  12735. },
  12736. "curtdposition": {
  12737. "description": "期末今日头寸",
  12738. "type": "integer"
  12739. },
  12740. "decimalplace": {
  12741. "description": "报价小数位",
  12742. "type": "integer"
  12743. },
  12744. "enableqty": {
  12745. "description": "可用量",
  12746. "type": "integer"
  12747. },
  12748. "fretdposition": {
  12749. "description": "冻结今日头寸",
  12750. "type": "integer"
  12751. },
  12752. "frozenqty": {
  12753. "description": "持仓冻结数量",
  12754. "type": "integer"
  12755. },
  12756. "goodscode": {
  12757. "description": "商品代码(内部)",
  12758. "type": "string"
  12759. },
  12760. "goodsid": {
  12761. "description": "商品Id",
  12762. "type": "integer"
  12763. },
  12764. "goodsname": {
  12765. "description": "商品名称",
  12766. "type": "string"
  12767. },
  12768. "goodunit": {
  12769. "description": "报价单位",
  12770. "type": "string"
  12771. },
  12772. "goodunitid": {
  12773. "description": "报价单位ID",
  12774. "type": "integer"
  12775. },
  12776. "holderamount": {
  12777. "description": "期初持仓总金额",
  12778. "type": "number"
  12779. },
  12780. "marketid": {
  12781. "description": "市场ID",
  12782. "type": "integer"
  12783. },
  12784. "openreqqty": {
  12785. "description": "开仓申请数量",
  12786. "type": "integer"
  12787. },
  12788. "opentotalqty": {
  12789. "description": "开仓总数量",
  12790. "type": "integer"
  12791. },
  12792. "otherfrozenqty": {
  12793. "description": "持仓其他冻结数量(交割冻结)",
  12794. "type": "integer"
  12795. },
  12796. "positionqty": {
  12797. "description": "期初持仓数量",
  12798. "type": "integer"
  12799. },
  12800. "szdz3freezqty": {
  12801. "description": "尚志大宗转换冻结总数量",
  12802. "type": "integer"
  12803. },
  12804. "tnqty": {
  12805. "description": "T+N冻结总量",
  12806. "type": "integer"
  12807. },
  12808. "tnusedqty": {
  12809. "description": "T+N使用量",
  12810. "type": "integer"
  12811. },
  12812. "trademode": {
  12813. "description": "交易模式",
  12814. "type": "integer"
  12815. },
  12816. "usedmargin": {
  12817. "description": "占用保证金",
  12818. "type": "number"
  12819. }
  12820. }
  12821. },
  12822. "taaccount.QueryAmountLogRsp": {
  12823. "type": "object",
  12824. "required": [
  12825. "accountid",
  12826. "amount",
  12827. "amountadjusttype",
  12828. "autoid",
  12829. "balance",
  12830. "createtime",
  12831. "currentbalance",
  12832. "operatetype"
  12833. ],
  12834. "properties": {
  12835. "OPERATETYPENAME": {
  12836. "description": "资金操作类型名称",
  12837. "type": "string"
  12838. },
  12839. "accountid": {
  12840. "description": "资金账户ID",
  12841. "type": "integer"
  12842. },
  12843. "agoodscode": {
  12844. "description": "竞拍商品代码",
  12845. "type": "string"
  12846. },
  12847. "agoodsname": {
  12848. "description": "竞拍商品名称",
  12849. "type": "string"
  12850. },
  12851. "amount": {
  12852. "description": "资金金额",
  12853. "type": "number"
  12854. },
  12855. "amountadjusttype": {
  12856. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12857. "type": "integer"
  12858. },
  12859. "autoid": {
  12860. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12861. "type": "integer"
  12862. },
  12863. "balance": {
  12864. "description": "期初余额",
  12865. "type": "number"
  12866. },
  12867. "businesscode": {
  12868. "description": "业务编号",
  12869. "type": "integer"
  12870. },
  12871. "createtime": {
  12872. "description": "发生时间",
  12873. "type": "string"
  12874. },
  12875. "currencyid": {
  12876. "description": "币种ID",
  12877. "type": "integer"
  12878. },
  12879. "currentbalance": {
  12880. "description": "期末余额(变动后金额)",
  12881. "type": "number"
  12882. },
  12883. "dgoodscode": {
  12884. "description": "交割商品代码",
  12885. "type": "string"
  12886. },
  12887. "dgoodsname": {
  12888. "description": "交割商品名称",
  12889. "type": "string"
  12890. },
  12891. "goodscode": {
  12892. "description": "商品代码",
  12893. "type": "string"
  12894. },
  12895. "goodsid": {
  12896. "description": "商品ID",
  12897. "type": "integer"
  12898. },
  12899. "goodsname": {
  12900. "description": "商品名称",
  12901. "type": "string"
  12902. },
  12903. "marketid": {
  12904. "description": "市场ID",
  12905. "type": "integer"
  12906. },
  12907. "marketname": {
  12908. "description": "市场名称",
  12909. "type": "string"
  12910. },
  12911. "moneyticket": {
  12912. "description": "资金流水号:银行端流水号",
  12913. "type": "integer"
  12914. },
  12915. "operatetype": {
  12916. "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:营销收款",
  12917. "type": "integer"
  12918. },
  12919. "relationorderid": {
  12920. "description": "关联单号",
  12921. "type": "string"
  12922. },
  12923. "remark": {
  12924. "description": "备注",
  12925. "type": "string"
  12926. },
  12927. "trademode": {
  12928. "description": "交易模式",
  12929. "type": "integer"
  12930. }
  12931. }
  12932. },
  12933. "taaccount.QueryHisAmountLogRsp": {
  12934. "type": "object",
  12935. "required": [
  12936. "accountid",
  12937. "amount",
  12938. "amountadjusttype",
  12939. "autoid",
  12940. "balance",
  12941. "createtime",
  12942. "currentbalance",
  12943. "histradedate",
  12944. "operatetype"
  12945. ],
  12946. "properties": {
  12947. "OPERATETYPENAME": {
  12948. "description": "资金操作类型名称",
  12949. "type": "string"
  12950. },
  12951. "accountid": {
  12952. "description": "资金账户ID",
  12953. "type": "integer"
  12954. },
  12955. "agoodscode": {
  12956. "description": "竞拍商品代码",
  12957. "type": "string"
  12958. },
  12959. "agoodsname": {
  12960. "description": "竞拍商品名称",
  12961. "type": "string"
  12962. },
  12963. "amount": {
  12964. "description": "资金金额",
  12965. "type": "number"
  12966. },
  12967. "amountadjusttype": {
  12968. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12969. "type": "integer"
  12970. },
  12971. "autoid": {
  12972. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12973. "type": "integer"
  12974. },
  12975. "balance": {
  12976. "description": "期初余额",
  12977. "type": "number"
  12978. },
  12979. "businesscode": {
  12980. "description": "业务编号",
  12981. "type": "integer"
  12982. },
  12983. "createtime": {
  12984. "description": "发生时间",
  12985. "type": "string"
  12986. },
  12987. "currencyid": {
  12988. "description": "币种ID",
  12989. "type": "integer"
  12990. },
  12991. "currentbalance": {
  12992. "description": "期末余额(变动后金额)",
  12993. "type": "number"
  12994. },
  12995. "dgoodscode": {
  12996. "description": "交割商品代码",
  12997. "type": "string"
  12998. },
  12999. "dgoodsname": {
  13000. "description": "交割商品名称",
  13001. "type": "string"
  13002. },
  13003. "goodscode": {
  13004. "description": "商品代码",
  13005. "type": "string"
  13006. },
  13007. "goodsid": {
  13008. "description": "商品ID",
  13009. "type": "integer"
  13010. },
  13011. "goodsname": {
  13012. "description": "商品名称",
  13013. "type": "string"
  13014. },
  13015. "histradedate": {
  13016. "description": "历史交易日",
  13017. "type": "string"
  13018. },
  13019. "isvaliddata": {
  13020. "description": "是否有效 - 0:无效 1:有效",
  13021. "type": "integer"
  13022. },
  13023. "marketid": {
  13024. "description": "市场ID",
  13025. "type": "integer"
  13026. },
  13027. "marketname": {
  13028. "description": "市场名称",
  13029. "type": "string"
  13030. },
  13031. "moneyticket": {
  13032. "description": "资金流水号:银行端流水号",
  13033. "type": "integer"
  13034. },
  13035. "operatetype": {
  13036. "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:营销收款",
  13037. "type": "integer"
  13038. },
  13039. "relationorderid": {
  13040. "description": "关联单号",
  13041. "type": "string"
  13042. },
  13043. "remark": {
  13044. "description": "备注",
  13045. "type": "string"
  13046. },
  13047. "trademode": {
  13048. "description": "交易模式",
  13049. "type": "integer"
  13050. }
  13051. }
  13052. },
  13053. "trade.QueryRecieptOrderRsp": {
  13054. "type": "object",
  13055. "required": [
  13056. "ordertime"
  13057. ],
  13058. "properties": {
  13059. "accountName": {
  13060. "description": "所属账号名称(已脱敏)",
  13061. "type": "string"
  13062. },
  13063. "accountid": {
  13064. "description": "资金账号",
  13065. "type": "integer"
  13066. },
  13067. "buyorsell": {
  13068. "description": "方向 - 0:买 1:卖",
  13069. "type": "integer"
  13070. },
  13071. "enableqty": {
  13072. "description": "可摘数量",
  13073. "type": "integer"
  13074. },
  13075. "goodscode": {
  13076. "description": "商品代码",
  13077. "type": "string"
  13078. },
  13079. "goodsid": {
  13080. "description": "商品ID",
  13081. "type": "integer"
  13082. },
  13083. "goodsname": {
  13084. "description": "商品名称",
  13085. "type": "string"
  13086. },
  13087. "orderid": {
  13088. "description": "委托单号",
  13089. "type": "string"
  13090. },
  13091. "orderprice": {
  13092. "description": "委托价格",
  13093. "type": "number"
  13094. },
  13095. "ordertime": {
  13096. "description": "委托时间",
  13097. "type": "string"
  13098. },
  13099. "tradedate": {
  13100. "description": "交易日(yyyyMMdd)",
  13101. "type": "string"
  13102. }
  13103. }
  13104. }
  13105. },
  13106. "securityDefinitions": {
  13107. "ApiKeyAuth": {
  13108. "type": "apiKey",
  13109. "name": "Authorization",
  13110. "in": "header"
  13111. }
  13112. }
  13113. }`
  13114. type swaggerInfo struct {
  13115. Version string
  13116. Host string
  13117. BasePath string
  13118. Schemes []string
  13119. Title string
  13120. Description string
  13121. }
  13122. // SwaggerInfo holds exported Swagger Info so clients can modify it
  13123. var SwaggerInfo = swaggerInfo{
  13124. Version: "1.0",
  13125. Host: "",
  13126. BasePath: "/api",
  13127. Schemes: []string{},
  13128. Title: "MTP2.0 查询服务 API",
  13129. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  13130. }
  13131. type s struct{}
  13132. func (s *s) ReadDoc() string {
  13133. sInfo := SwaggerInfo
  13134. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  13135. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  13136. "marshal": func(v interface{}) string {
  13137. a, _ := json.Marshal(v)
  13138. return string(a)
  13139. },
  13140. }).Parse(doc)
  13141. if err != nil {
  13142. return doc
  13143. }
  13144. var tpl bytes.Buffer
  13145. if err := t.Execute(&tpl, sInfo); err != nil {
  13146. return doc
  13147. }
  13148. return tpl.String()
  13149. }
  13150. func init() {
  13151. swag.Register(swag.Name, &s{})
  13152. }