swagger.yaml 169 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. type: object
  92. common.QueryTableDefineRsp:
  93. properties:
  94. columns:
  95. description: 列头信息数组
  96. items:
  97. $ref: '#/definitions/models.Tablecolumnconfig'
  98. type: array
  99. remark:
  100. description: Remark
  101. type: string
  102. tabelmenu:
  103. description: 列表菜单
  104. type: string
  105. tablekey:
  106. description: 列表Key
  107. type: string
  108. tablename:
  109. description: 列表名称
  110. type: string
  111. tabletype:
  112. description: 列表类型 - 1:管理端 2:终端
  113. type: integer
  114. required:
  115. - tablekey
  116. type: object
  117. common.QueryTraderMenuRsp:
  118. properties:
  119. OperationMenu:
  120. description: 功能菜单
  121. items:
  122. $ref: '#/definitions/models.OperationPrimaryMenu'
  123. type: array
  124. QuoteMenu:
  125. description: 报价牌分类菜单
  126. items:
  127. $ref: '#/definitions/models.QuotePrimaryMenu'
  128. type: array
  129. type: object
  130. cptrade.Cptradepositioncancel:
  131. properties:
  132. accountid:
  133. description: 申请人账户ID
  134. type: integer
  135. applystatus:
  136. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  137. type: integer
  138. applytime:
  139. description: 申请时间
  140. type: string
  141. cancelid:
  142. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  143. type: integer
  144. cancelqty:
  145. description: 注销数量
  146. type: integer
  147. createtime:
  148. description: 创建时间
  149. type: string
  150. creatorid:
  151. description: 创建人ID
  152. type: integer
  153. creatorname:
  154. description: 创建人
  155. type: string
  156. goodscode:
  157. description: 订单商品代码
  158. type: string
  159. goodsid:
  160. description: 商品ID
  161. type: integer
  162. goodsname:
  163. description: 订单商品名称
  164. type: string
  165. goodunit:
  166. description: 报价单位
  167. type: string
  168. handlestatus:
  169. description: 处理状态
  170. type: integer
  171. marketid:
  172. description: 市场ID
  173. type: integer
  174. marketname:
  175. description: 市场名称
  176. type: string
  177. tradedate:
  178. description: 交易日(yyyyMMdd)
  179. type: string
  180. userid:
  181. description: 申请人ID
  182. type: integer
  183. required:
  184. - cancelid
  185. type: object
  186. cptrade.Cptradepresaleapply:
  187. properties:
  188. accountid:
  189. description: 申请人账户ID
  190. type: integer
  191. applyid:
  192. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  193. type: integer
  194. applyremark:
  195. description: 申请备注
  196. type: string
  197. applystatus:
  198. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  199. type: integer
  200. applytime:
  201. description: 申请时间
  202. type: string
  203. attachmenturl:
  204. description: 附件地址
  205. type: string
  206. endtime:
  207. description: 预售结束时间
  208. type: string
  209. goodscode:
  210. description: 商品代码
  211. type: string
  212. goodsid:
  213. description: 商品ID
  214. type: integer
  215. goodsname:
  216. description: 商品名称
  217. type: string
  218. goodunit:
  219. description: 报价单位
  220. type: string
  221. handlestatus:
  222. description: 处理状态
  223. type: integer
  224. marketid:
  225. description: 预售市场ID
  226. type: integer
  227. marketname:
  228. description: 预售市场名称
  229. type: string
  230. presaleqty:
  231. description: 预售数量
  232. type: integer
  233. relatedgoodscode:
  234. description: 关联交易合约代码
  235. type: string
  236. relatedgoodsid:
  237. description: 关联交易合约ID
  238. type: integer
  239. relatedgoodsname:
  240. description: 关联交易合约名称
  241. type: string
  242. starttime:
  243. description: 预售开始时间
  244. type: string
  245. tradedate:
  246. description: 交易日(yyyyMMdd)
  247. type: string
  248. trademode:
  249. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  250. type: integer
  251. userid:
  252. description: 申请人ID
  253. type: integer
  254. required:
  255. - applyid
  256. type: object
  257. cptrade.Cptradeusergoodsdata:
  258. properties:
  259. EnabledQty:
  260. description: 可用量
  261. type: integer
  262. GoodsCode:
  263. description: 订单商品代码
  264. type: string
  265. GoodsName:
  266. description: 订单商品名称
  267. type: string
  268. WRStandardCode:
  269. description: 仓单标准代码
  270. type: string
  271. WRStandardName:
  272. description: 仓单标准名称
  273. type: string
  274. accountid:
  275. description: 账户ID
  276. type: integer
  277. cancelqty:
  278. description: 注销量
  279. type: integer
  280. curpresaleqty:
  281. description: 当前预售量
  282. type: integer
  283. deliveryqty:
  284. description: 交割量
  285. type: integer
  286. freezeamount:
  287. description: 冻结金额
  288. type: number
  289. goodsid:
  290. description: 商品ID
  291. type: integer
  292. goodunit:
  293. description: 报价单位
  294. type: string
  295. hasspotfreeze:
  296. description: 是否有现货冻结 - 0:否 1:有
  297. type: integer
  298. inqty:
  299. description: 转入量(总数量)
  300. type: integer
  301. marketid:
  302. description: 市场ID
  303. type: integer
  304. presaledamount:
  305. description: 已预售总金额
  306. type: integer
  307. presaledqty:
  308. description: 已预售量
  309. type: integer
  310. userid:
  311. description: 用户ID
  312. type: integer
  313. wrstandardid:
  314. description: 仓单标准ID
  315. type: integer
  316. required:
  317. - accountid
  318. - goodsid
  319. type: object
  320. cptrade.QueryCPTradeMyBidRsp:
  321. properties:
  322. accountid:
  323. description: 账户ID[报价币种]
  324. type: integer
  325. goodsid:
  326. description: 商品ID
  327. type: integer
  328. goodunit:
  329. description: 报价单位
  330. type: string
  331. marketid:
  332. description: 市场ID
  333. type: integer
  334. orderid:
  335. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  336. type: integer
  337. orderprice:
  338. description: 委托价格
  339. type: number
  340. orderqty:
  341. description: 委托数量
  342. type: integer
  343. ordertime:
  344. description: 委托时间
  345. type: string
  346. ordertotalprice:
  347. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  348. type: number
  349. ordertotalweight:
  350. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  351. type: integer
  352. totaltotalprice:
  353. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  354. type: number
  355. tradeprice:
  356. description: 成交价格
  357. type: number
  358. tradeqty:
  359. description: 成交数量
  360. type: integer
  361. required:
  362. - accountid
  363. - goodsid
  364. - marketid
  365. - orderid
  366. - orderqty
  367. - ordertime
  368. - tradeprice
  369. - tradeqty
  370. type: object
  371. cptrade.QueryCPTradeOrderDetailRsq:
  372. properties:
  373. accountid:
  374. description: 账户ID[报价币种]
  375. type: integer
  376. buildtype:
  377. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  378. type: integer
  379. buyorsell:
  380. description: 买卖 - 0:买 1:卖
  381. type: integer
  382. cancelorderid:
  383. description: 撤单单号(撤单时填写)
  384. type: integer
  385. cancelqty:
  386. description: 撤单数量
  387. type: integer
  388. clientordertime:
  389. description: 客户端委托时间
  390. type: string
  391. clientticket:
  392. description: 客户端流水号
  393. type: string
  394. clienttype:
  395. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  480. type: integer
  481. operatorid:
  482. description: 登录账号(LoginID)
  483. type: integer
  484. optiontype:
  485. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  486. type: integer
  487. orderprice:
  488. description: 委托价格
  489. type: number
  490. orderqty:
  491. description: 委托数量
  492. type: integer
  493. ordersrc:
  494. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  495. type: integer
  496. orderstatus:
  497. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  498. type: integer
  499. ordertime:
  500. description: 委托时间
  501. type: string
  502. preexerciseprice:
  503. description: 预申报价格
  504. type: number
  505. premium:
  506. description: 权利金
  507. type: number
  508. preorderid:
  509. description: 关联预埋单号(止盈止损单时填写)
  510. type: integer
  511. pricemode:
  512. description: '取价方式 - 1:市价 2: 限价'
  513. type: integer
  514. quoteid:
  515. description: 报价单ID
  516. type: integer
  517. relatedid:
  518. description: 关联单号(交割单)
  519. type: integer
  520. retcode:
  521. description: 错误代码
  522. type: integer
  523. sessionid:
  524. description: 会话ID
  525. type: integer
  526. strorderid:
  527. description: 委托单号
  528. type: string
  529. tradedate:
  530. description: 交易日(yyyyMMdd)
  531. type: string
  532. tradeproperty:
  533. description: 交易属性
  534. type: integer
  535. tradeqty:
  536. description: 成交数量
  537. type: integer
  538. unfreezecharge:
  539. description: 解冻手续费
  540. type: number
  541. unfreezemargin:
  542. description: 解冻保证金
  543. type: number
  544. updatetime:
  545. description: 更新时间
  546. type: string
  547. uuid:
  548. description: 发起端唯一id
  549. type: string
  550. validtime:
  551. description: 有效期限
  552. type: string
  553. validtype:
  554. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  555. type: integer
  556. volumetype:
  557. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  558. type: integer
  559. required:
  560. - accountid
  561. - buildtype
  562. - buyorsell
  563. - goodsid
  564. - marketid
  565. - memberuserid
  566. - operatetype
  567. - orderqty
  568. - ordertime
  569. - pricemode
  570. - strorderid
  571. - tradedate
  572. - validtype
  573. type: object
  574. cptrade.QueryMyCPTradeGoodsRsp:
  575. properties:
  576. accountid:
  577. description: 卖方账户ID
  578. type: integer
  579. agreeunit:
  580. description: 合约单位
  581. type: number
  582. applyid:
  583. description: 关联申请ID
  584. type: integer
  585. attachmenturl:
  586. description: 附件地址
  587. type: string
  588. createtime:
  589. description: 创建时间
  590. type: string
  591. currencyid:
  592. description: 报价货币ID
  593. type: integer
  594. decimalplace:
  595. description: 报价小数位
  596. type: integer
  597. endtime:
  598. description: 预售结束时间
  599. type: string
  600. floorprice:
  601. description: 底价[大宗式竞拍]
  602. type: number
  603. goodscode:
  604. description: 商品代码(预售)
  605. type: string
  606. goodsdetail:
  607. description: 详情[大宗]
  608. type: string
  609. goodsid:
  610. description: 商品ID(自增ID SEQ_GOODS)
  611. type: integer
  612. goodsname:
  613. description: 商品名称(预售)
  614. type: string
  615. goodunit:
  616. description: 报价单位
  617. type: string
  618. goodunitid:
  619. description: 报价单位ID
  620. type: integer
  621. marketid:
  622. description: 所属市场ID
  623. type: integer
  624. marketname:
  625. description: 预售市场名称
  626. type: string
  627. presaledamount:
  628. description: 已预售总金额(预售结束时更新)
  629. type: number
  630. presaledqty:
  631. description: 已预售量(预售结束时更新)
  632. type: integer
  633. presalemode:
  634. description: 预售模式 - 1:一口价 2:大宗式竞拍
  635. type: integer
  636. presaleqty:
  637. description: 预售数量
  638. type: integer
  639. refprice:
  640. description: 参考价格[一口价]
  641. type: number
  642. relatedgoodscode:
  643. description: 商品代码(订单)
  644. type: string
  645. relatedgoodsid:
  646. description: 关联交易合约ID
  647. type: integer
  648. relatedgoodsname:
  649. description: 商品名称(订单)
  650. type: string
  651. relatedmarketid:
  652. description: 关联交易合约市场ID
  653. type: integer
  654. sellstatus:
  655. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  656. type: integer
  657. startprice:
  658. description: 起拍价[大宗式竞拍]
  659. type: number
  660. starttime:
  661. description: 预售开始时间
  662. type: string
  663. tradedate:
  664. description: 交易日(yyyyMMdd)
  665. type: string
  666. tradeprice:
  667. description: 成交价[大宗]
  668. type: number
  669. userid:
  670. description: 卖方用户ID
  671. type: integer
  672. required:
  673. - goodscode
  674. - goodsid
  675. - goodsname
  676. - marketid
  677. - relatedgoodscode
  678. - relatedgoodsname
  679. type: object
  680. cptrade.QueryPresaleGoodsExRsp:
  681. properties:
  682. attachmenturl:
  683. description: 附件地址
  684. type: string
  685. createtime:
  686. description: 创建时间
  687. type: string
  688. endtime:
  689. description: 预售结束时间
  690. type: string
  691. floorprice:
  692. description: 底价[大宗式竞拍]
  693. type: number
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(预售)
  699. type: integer
  700. goodunit:
  701. description: 报价单位
  702. type: string
  703. marketid:
  704. description: 预售市场ID - 根据预售模式选择市场
  705. type: integer
  706. presaledamount:
  707. description: 已预售总金额(预售结束时更新)
  708. type: number
  709. presaledqty:
  710. description: 已预售量(预售结束时更新)
  711. type: integer
  712. presalemode:
  713. description: 预售模式 - 1:一口价 2:大宗式竞拍
  714. type: integer
  715. presaleqty:
  716. description: 预售数量
  717. type: integer
  718. refprice:
  719. description: 参考价格[一口价]
  720. type: number
  721. relatedgoodsid:
  722. description: 关联交易合约ID
  723. type: integer
  724. relatedmarketid:
  725. description: 关联交易合约市场ID
  726. type: integer
  727. sellstatus:
  728. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  729. type: integer
  730. startprice:
  731. description: 起拍价[大宗式竞拍]
  732. type: number
  733. starttime:
  734. description: 预售开始时间
  735. type: string
  736. tradedate:
  737. description: 交易日(yyyyMMdd)
  738. type: string
  739. tradeprice:
  740. description: 成交价[大宗]
  741. type: number
  742. required:
  743. - goodsid
  744. type: object
  745. delivery.QueryDeliveryRelationRsp:
  746. properties:
  747. begindate:
  748. description: 起始日期(yyyyMMdd)
  749. type: string
  750. buytemplateid:
  751. description: 买履约计划模板ID
  752. type: integer
  753. deliverygoodscode:
  754. description: 品种代码
  755. type: string
  756. deliverygoodsid:
  757. description: 交割商品
  758. type: integer
  759. deliverygoodsname:
  760. description: 品种名称
  761. type: string
  762. deliverymode:
  763. description: 交割方式 - 1:点选式 2:申报式
  764. type: integer
  765. deliverypricerule:
  766. description: 交割价规则- 1:行情价 2:建仓价
  767. type: integer
  768. deliverytype:
  769. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  770. type: integer
  771. enddate:
  772. description: 结束日期(yyyyMMdd)
  773. type: string
  774. goodscode:
  775. description: 商品代码
  776. type: string
  777. goodsid:
  778. description: 交易合约ID
  779. type: integer
  780. goodsname:
  781. description: 商品名称
  782. type: string
  783. marketid:
  784. description: 市场ID
  785. type: integer
  786. mindeliveryqty:
  787. description: 最小交割系数(K)
  788. type: integer
  789. p2deliveryprice:
  790. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  791. type: number
  792. p2deliveryratio:
  793. description: P2合约系数(p)
  794. type: integer
  795. p2goodsid:
  796. description: P2合约ID
  797. type: integer
  798. p2pricemode:
  799. description: P2合约价格方式 - 1:商品价 2:固定值
  800. type: integer
  801. pdeliveryprice:
  802. description: P合约价格(商品价时填写0,固定值时填写固定值)
  803. type: number
  804. pdeliveryratio:
  805. description: P合约系数(n)
  806. type: integer
  807. pgoodsid:
  808. description: P合约ID
  809. type: integer
  810. ppricemode:
  811. description: P合约价格方式 - 1:商品价 2:固定值
  812. type: integer
  813. rratio:
  814. description: 兑换系数(R)
  815. type: integer
  816. rratio1:
  817. description: 兑换系数(交易合约)(R1)
  818. type: integer
  819. rratio2:
  820. description: 兑换系数(仓单标准)(R2)
  821. type: integer
  822. selltemplateid:
  823. description: 卖履约计划模板ID
  824. type: integer
  825. wrstandardid:
  826. description: 仓单标准ID
  827. type: integer
  828. xdeliveryratio:
  829. description: 交易合约系数(m)
  830. type: integer
  831. required:
  832. - begindate
  833. - enddate
  834. - goodsid
  835. - mindeliveryqty
  836. - xdeliveryratio
  837. type: object
  838. erms2.QueryArbitrageStrategyRsp:
  839. properties:
  840. applybasis:
  841. description: 申请基差
  842. type: number
  843. asapplyid:
  844. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  845. type: string
  846. asname:
  847. description: 策略名称
  848. type: string
  849. asno:
  850. description: 策略编号
  851. type: string
  852. basischangepl:
  853. description: 基差变动损益[结算更新]
  854. type: number
  855. biztype:
  856. description: 业务类型 - 1:正向套利 -1:反向套利
  857. type: integer
  858. closetradedate:
  859. description: 完结交易日(yyyyMMdd)
  860. type: string
  861. curbasis:
  862. description: 当前基差[结算更新]
  863. type: number
  864. deliverygoodsid:
  865. description: 现货品种ID
  866. type: integer
  867. futureavgprice:
  868. description: 期货建仓均价
  869. type: number
  870. futurecloseamount:
  871. description: 期货平仓金额
  872. type: number
  873. futurecloseqty:
  874. description: 期货平仓数量
  875. type: number
  876. futureopenamount:
  877. description: 期货开仓金额
  878. type: number
  879. futureopenqty:
  880. description: 期货开仓数量
  881. type: number
  882. futurepl:
  883. description: 期货总盈亏[结算更新]
  884. type: number
  885. futureqty:
  886. description: 期货持仓数量
  887. type: number
  888. futurequote:
  889. description: 期货额度
  890. type: number
  891. goodsgroupid:
  892. description: 期货品种ID
  893. type: integer
  894. marketid:
  895. description: 市场ID
  896. type: integer
  897. netexposure:
  898. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  899. type: number
  900. netexposurepl:
  901. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  902. type: number
  903. netexposurerate:
  904. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  905. type: number
  906. openbasis:
  907. description: 建仓基差
  908. type: number
  909. pricedspotqty:
  910. description: 已定价现货数量
  911. type: number
  912. pricedspotqtynotax:
  913. description: 已定价现货不含税数量
  914. type: number
  915. remark:
  916. description: 备注
  917. type: string
  918. spotavgprice:
  919. description: 现货均价
  920. type: number
  921. spotbuyamount:
  922. description: 现货采购金额
  923. type: number
  924. spotbuyqty:
  925. description: 现货采购数量
  926. type: number
  927. spotpl:
  928. description: 现货总盈亏[结算更新]
  929. type: number
  930. spotquota:
  931. description: 现货额度
  932. type: number
  933. spotsellamount:
  934. description: 现货销售金额
  935. type: number
  936. spotsellqty:
  937. description: 现货销售数量
  938. type: number
  939. spotusedquota:
  940. description: 现货占用资金
  941. type: number
  942. strategystatus:
  943. description: 策略状态 - 0:未结束 1:已结束
  944. type: integer
  945. totalpl:
  946. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  947. type: number
  948. tradedate:
  949. description: 交易日(yyyyMMdd)
  950. type: string
  951. updatetime:
  952. description: 更新时间
  953. type: string
  954. usedquota:
  955. description: 已占用资金
  956. type: number
  957. userid:
  958. description: 所属机构
  959. type: integer
  960. required:
  961. - asapplyid
  962. type: object
  963. erms2.QueryInnerTradeDetailRsp:
  964. properties:
  965. accountid:
  966. description: 账号ID
  967. type: integer
  968. agreeunit:
  969. description: 合约单位
  970. type: number
  971. asapplyid:
  972. description: 策略申请ID
  973. type: integer
  974. asname:
  975. description: 策略名称
  976. type: string
  977. asno:
  978. description: 策略编号
  979. type: string
  980. buyorsell:
  981. description: 方向 - 0:买 1:卖
  982. type: integer
  983. channelbuildtype:
  984. description: 委托单据类型 0:无 1:建仓 2:平仓
  985. type: integer
  986. closetype:
  987. description: 平仓方式 - 0:无 1:平今 2:平昨
  988. type: integer
  989. decimalplace:
  990. description: 报价小数位
  991. type: integer
  992. detailtype:
  993. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  994. type: integer
  995. exexchangecode:
  996. description: 外部交易所代码
  997. type: string
  998. exexchangename:
  999. description: 外部交易所名称
  1000. type: string
  1001. goodscode:
  1002. description: 商品代码(合约)
  1003. type: string
  1004. goodsgroupid:
  1005. description: 商品组ID(品种ID)
  1006. type: integer
  1007. goodsgroupname:
  1008. description: 商品组名称(品种)
  1009. type: string
  1010. goodsid:
  1011. description: 商品ID
  1012. type: integer
  1013. goodsname:
  1014. description: 商品名称(合约)
  1015. type: string
  1016. goodunit:
  1017. description: 报价单位
  1018. type: string
  1019. marketid:
  1020. description: 市场ID
  1021. type: integer
  1022. orderid:
  1023. description: 委托单号
  1024. type: string
  1025. outgoodscode:
  1026. description: 商品代码(外部)
  1027. type: string
  1028. relatedouttradeid:
  1029. description: 关联外部成交单ID
  1030. type: string
  1031. remark:
  1032. description: 备注
  1033. type: string
  1034. spotcontractid:
  1035. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1036. type: integer
  1037. spotcontractno:
  1038. description: 现货合同编号
  1039. type: string
  1040. tradeid:
  1041. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1042. type: string
  1043. tradeprice:
  1044. description: 成交价格
  1045. type: number
  1046. tradeqty:
  1047. description: 成交数量
  1048. type: integer
  1049. tradetime:
  1050. description: 成交时间
  1051. type: string
  1052. updatetime:
  1053. description: 更新时间
  1054. type: string
  1055. required:
  1056. - asapplyid
  1057. - buyorsell
  1058. - goodscode
  1059. - goodsgroupid
  1060. - goodsgroupname
  1061. - goodsname
  1062. - tradeid
  1063. type: object
  1064. erms2.QuerySpotContractRsp:
  1065. properties:
  1066. accountid:
  1067. description: 资金账户ID
  1068. type: integer
  1069. areauserid:
  1070. description: 所属机构
  1071. type: integer
  1072. closedate:
  1073. description: 终止日期
  1074. type: string
  1075. closeremark:
  1076. description: 结束备注
  1077. type: string
  1078. closetradedate:
  1079. description: 完结交易日(yyyyMMdd)
  1080. type: string
  1081. closetype:
  1082. description: 终止类型 - 1:违约 2:提前终止
  1083. type: integer
  1084. contractamount:
  1085. description: 合同金额
  1086. type: number
  1087. contractattachment:
  1088. description: 合同附件
  1089. type: string
  1090. contractno:
  1091. description: 现货合同编号
  1092. type: string
  1093. contractqty:
  1094. description: 合同数量(数值) (用于计算)
  1095. type: number
  1096. contractqtychar:
  1097. description: 合同数量\已订价数量 (用于显示)
  1098. type: string
  1099. contractstatus:
  1100. description: 合同状态 - 0:未结束 1:已结束
  1101. type: integer
  1102. contracttype:
  1103. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1104. type: integer
  1105. customeraccountid:
  1106. description: 客户资金账户ID
  1107. type: integer
  1108. customeruserid:
  1109. description: 客户ID
  1110. type: integer
  1111. deliverygoodsdesc:
  1112. description: 品种说明
  1113. type: string
  1114. deliverygoodsid:
  1115. description: 现货品种ID
  1116. type: integer
  1117. handlestatus:
  1118. description: 处理状态
  1119. type: integer
  1120. invoiceatt:
  1121. description: 发票附件
  1122. type: string
  1123. invoicedatetime:
  1124. description: 开收票更新时间
  1125. type: string
  1126. invoiceopentime:
  1127. description: 开票时间
  1128. type: string
  1129. invoiceremark:
  1130. description: 发票备注
  1131. type: string
  1132. invoicestatus:
  1133. description: 开收票状态 - 0:未开票 1:已开票
  1134. type: integer
  1135. lastdate:
  1136. description: 交货时间
  1137. type: string
  1138. marketid:
  1139. description: 市场ID
  1140. type: integer
  1141. paydatetime:
  1142. description: 收付款更新时间
  1143. type: string
  1144. payremark:
  1145. description: 收付款备注
  1146. type: string
  1147. paystatus:
  1148. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1149. type: integer
  1150. positionqty:
  1151. description: 头寸数量 - 合同数量去小数部分
  1152. type: integer
  1153. producttype:
  1154. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1155. type: integer
  1156. relatedqty:
  1157. description: 已关联数量
  1158. type: number
  1159. relatedstatus:
  1160. description: 关联完结状态 - 0:未结束 1:已结束
  1161. type: integer
  1162. remark:
  1163. description: 备注
  1164. type: string
  1165. signdate:
  1166. description: 签订日期
  1167. type: string
  1168. spotcontractid:
  1169. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1170. type: string
  1171. spotdatetime:
  1172. description: 收发货更新时间
  1173. type: string
  1174. spotprice:
  1175. description: 价格
  1176. type: number
  1177. spotremark:
  1178. description: 收发货备注
  1179. type: string
  1180. spotstatus:
  1181. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1182. type: integer
  1183. tradedate:
  1184. description: 交易日(yyyyMMdd)
  1185. type: string
  1186. userid:
  1187. description: 业务员用户ID
  1188. type: integer
  1189. warehouseid:
  1190. description: 仓库ID
  1191. type: integer
  1192. wrfactortypeid:
  1193. description: 仓单要素类型ID
  1194. type: integer
  1195. wrstandardid:
  1196. description: 仓单标准ID(SEQ_WRSTANDARD)
  1197. type: integer
  1198. required:
  1199. - spotcontractid
  1200. type: object
  1201. erms3.AddSpotContractApplyReq:
  1202. properties:
  1203. accountid:
  1204. description: 资金账户ID
  1205. type: integer
  1206. areauserid:
  1207. description: 所属机构
  1208. type: integer
  1209. contractattachment:
  1210. description: 合同附件
  1211. type: string
  1212. contractno:
  1213. description: 现货合同编号
  1214. type: string
  1215. contracttype:
  1216. description: 现货合同类型 - 1:采购 -1:销售
  1217. type: integer
  1218. creatorid:
  1219. description: 申请人
  1220. type: integer
  1221. customeraccountid:
  1222. description: 客户资金账户ID
  1223. type: integer
  1224. customeruserid:
  1225. description: 客户ID
  1226. type: integer
  1227. details:
  1228. description: 明细
  1229. items:
  1230. $ref: '#/definitions/erms3.SoptContractDetail'
  1231. type: array
  1232. lastdate:
  1233. description: 交货时间
  1234. type: string
  1235. orimargin:
  1236. description: 初始保证金
  1237. type: number
  1238. orimarginpayer:
  1239. description: 初始保证金支付方 -1:买方 2:卖方
  1240. type: integer
  1241. remark:
  1242. description: 备注
  1243. type: string
  1244. signdate:
  1245. description: 签订日期
  1246. type: string
  1247. required:
  1248. - accountid
  1249. - areauserid
  1250. - contractno
  1251. - contracttype
  1252. - customeraccountid
  1253. - customeruserid
  1254. - details
  1255. - orimargin
  1256. - orimarginpayer
  1257. - signdate
  1258. type: object
  1259. erms3.AddSpotContractApplyRsp:
  1260. properties:
  1261. contractno:
  1262. description: 现货合同编号
  1263. type: string
  1264. spotcontractid:
  1265. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1266. type: integer
  1267. required:
  1268. - contractno
  1269. type: object
  1270. erms3.CustomerInfo:
  1271. properties:
  1272. accountids:
  1273. description: 资金账户ID列表
  1274. items:
  1275. type: integer
  1276. type: array
  1277. customername:
  1278. description: 名称(企业名称)
  1279. type: string
  1280. mobile:
  1281. description: 手机号码
  1282. type: string
  1283. userid:
  1284. description: 用户ID
  1285. type: integer
  1286. required:
  1287. - userid
  1288. type: object
  1289. erms3.QryAuditContractRsp:
  1290. properties:
  1291. accountid:
  1292. description: 交易员ID
  1293. type: string
  1294. applystatus:
  1295. description: 状态
  1296. type: integer
  1297. curdeliveryqty:
  1298. description: 未交收量
  1299. type: integer
  1300. customername:
  1301. description: 采购方ID
  1302. type: string
  1303. deliverygoodscode:
  1304. description: 品种代码
  1305. type: string
  1306. deliverygoodsname:
  1307. description: 品种名称
  1308. type: string
  1309. deliveryqty:
  1310. description: 交收量
  1311. type: integer
  1312. enumdicname:
  1313. description: 单位名称
  1314. type: string
  1315. matchaccountid:
  1316. description: 业务员ID
  1317. type: string
  1318. matchcustomername:
  1319. description: 销售方ID
  1320. type: string
  1321. pricedqty:
  1322. description: 定价量
  1323. type: number
  1324. signdate:
  1325. description: 签订日期
  1326. type: string
  1327. spotcontractid:
  1328. description: 合同ID
  1329. type: string
  1330. totaldqty:
  1331. description: 合同量
  1332. type: number
  1333. unpricedqty:
  1334. description: 未定价量
  1335. type: number
  1336. wrstandardcode:
  1337. description: 商品代码
  1338. type: string
  1339. wrstandardname:
  1340. description: 商品名称
  1341. type: string
  1342. required:
  1343. - matchcustomername
  1344. - spotcontractid
  1345. type: object
  1346. erms3.QuerySpotContractAppleFormRsp:
  1347. properties:
  1348. goodses:
  1349. description: 合约列表
  1350. items:
  1351. $ref: '#/definitions/models.GoodsIDAndName'
  1352. type: array
  1353. oppositeusers:
  1354. description: 对方账号列表
  1355. items:
  1356. $ref: '#/definitions/erms3.CustomerInfo'
  1357. type: array
  1358. ouruser:
  1359. $ref: '#/definitions/erms3.CustomerInfo'
  1360. description: 我方账号
  1361. type: object
  1362. warehouseinfos:
  1363. description: 仓库信息列表
  1364. items:
  1365. $ref: '#/definitions/models.Warehouseinfo'
  1366. type: array
  1367. wrstandards:
  1368. description: 仓单标准列表
  1369. items:
  1370. $ref: '#/definitions/models.WRStandardInfo'
  1371. type: array
  1372. type: object
  1373. erms3.QuerySpotContractInfoRsp:
  1374. properties:
  1375. accountid:
  1376. description: 表示交易员ID.
  1377. type: integer
  1378. curdeliveryqty:
  1379. description: 表示未交收量.
  1380. type: number
  1381. customername:
  1382. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1383. type: string
  1384. deliverygoodsid:
  1385. description: 表示品种ID.
  1386. type: string
  1387. deliveryqty:
  1388. description: 表示交收量.
  1389. type: number
  1390. matchaccountid:
  1391. description: 表示业务员ID.
  1392. type: integer
  1393. matchcustomername:
  1394. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1395. type: string
  1396. priceqty:
  1397. description: 表示定价量.
  1398. type: number
  1399. relatedbizid:
  1400. description: 表示业务ID.
  1401. type: string
  1402. signdate:
  1403. description: 表示签订日期.
  1404. type: string
  1405. spotcontractid:
  1406. description: 合同ID
  1407. type: string
  1408. status:
  1409. description: 表示状态,0-履约中 1-已完成.
  1410. type: integer
  1411. totalqty:
  1412. description: 表示合同量.
  1413. type: number
  1414. unpricedqty:
  1415. description: 表示未定价量.
  1416. type: number
  1417. wrstandardname:
  1418. description: 表示商品ID.
  1419. type: string
  1420. type: object
  1421. erms3.SoptContractDetail:
  1422. properties:
  1423. deliverygoodsdesc:
  1424. description: 现货品种说明
  1425. type: string
  1426. deliverygoodsid:
  1427. description: 现货品种ID
  1428. type: integer
  1429. deliverygoodsname:
  1430. description: 现货品种名称
  1431. type: string
  1432. pointdesc:
  1433. description: 点价描述
  1434. type: string
  1435. producttype:
  1436. description: 产品类型 1:标准仓单 2:等标 3:非标
  1437. type: integer
  1438. producttypename:
  1439. description: 产品类型名称
  1440. type: string
  1441. spotPointOrderVoList:
  1442. description: 点价列表
  1443. items:
  1444. $ref: '#/definitions/erms3.SpotPointOrder'
  1445. type: array
  1446. spotPriceOrderList:
  1447. description: 定价列表
  1448. items:
  1449. $ref: '#/definitions/erms3.SpotPriceOrder'
  1450. type: array
  1451. unitname:
  1452. description: 单位名称
  1453. type: string
  1454. warehouseid:
  1455. description: 仓库ID
  1456. type: integer
  1457. warehousename:
  1458. description: 仓库名称
  1459. type: string
  1460. wrstandardid:
  1461. description: 交易标的ID
  1462. type: integer
  1463. wrstandardname:
  1464. description: 交易标的名称
  1465. type: string
  1466. required:
  1467. - deliverygoodsid
  1468. - producttype
  1469. - unitname
  1470. - warehouseid
  1471. - wrstandardid
  1472. - wrstandardname
  1473. type: object
  1474. erms3.SpotPointOrder:
  1475. properties:
  1476. basic:
  1477. description: 基差
  1478. type: number
  1479. deliveryendtdate:
  1480. description: 交收结束日期
  1481. type: string
  1482. deliverystartdate:
  1483. description: 交收开始日期
  1484. type: string
  1485. enddate:
  1486. description: 点价结束日期
  1487. type: string
  1488. goodsid:
  1489. description: 商品ID
  1490. type: integer
  1491. goodsname:
  1492. description: 商品名称
  1493. type: string
  1494. qty:
  1495. description: 数量
  1496. type: number
  1497. startdate:
  1498. description: 点价开始日期
  1499. type: string
  1500. required:
  1501. - basic
  1502. - goodsid
  1503. - qty
  1504. type: object
  1505. erms3.SpotPriceOrder:
  1506. properties:
  1507. amount:
  1508. description: 金额
  1509. type: number
  1510. deliveryendtdate:
  1511. description: 交收结束日期
  1512. type: string
  1513. deliverystartdate:
  1514. description: 交收开始日期
  1515. type: string
  1516. price:
  1517. description: 价格
  1518. type: number
  1519. qty:
  1520. description: 数量
  1521. type: number
  1522. required:
  1523. - amount
  1524. - price
  1525. - qty
  1526. type: object
  1527. hsby.GetHsbyMyCountRsp:
  1528. properties:
  1529. myOrderDetailListingCount:
  1530. description: 我的订单求购中数量
  1531. type: integer
  1532. myOrderDetailPreCount:
  1533. description: 我的订单抢购中数量
  1534. type: integer
  1535. myPackageUnReceiveCount:
  1536. description: 我的包裹待收货数量
  1537. type: integer
  1538. myPackageUnSendCount:
  1539. description: 我的包裹待发货数量
  1540. type: integer
  1541. type: object
  1542. hsby.QueryProvincesAndCitiesRsp:
  1543. properties:
  1544. cities:
  1545. description: 市
  1546. items:
  1547. $ref: '#/definitions/models.Division'
  1548. type: array
  1549. province:
  1550. $ref: '#/definitions/models.Division'
  1551. description: 省
  1552. type: object
  1553. type: object
  1554. models.Division:
  1555. properties:
  1556. autoid:
  1557. description: 自增ID
  1558. type: integer
  1559. divisioncode:
  1560. description: 行政代码
  1561. type: string
  1562. divisionlevel:
  1563. description: 行政级别
  1564. type: string
  1565. divisionname:
  1566. description: 行政名称
  1567. type: string
  1568. modifierid:
  1569. description: 修改人
  1570. type: integer
  1571. modifytime:
  1572. description: 修改时间
  1573. type: string
  1574. parentcode:
  1575. description: 上级行政代码
  1576. type: string
  1577. pathname:
  1578. description: 路径名称
  1579. type: string
  1580. postcode:
  1581. description: 邮政编码
  1582. type: string
  1583. separablename:
  1584. description: 可拆分的全称
  1585. type: string
  1586. shortcode:
  1587. description: 地区简码
  1588. type: string
  1589. required:
  1590. - autoid
  1591. - divisioncode
  1592. type: object
  1593. models.GoodsIDAndName:
  1594. properties:
  1595. goodscode:
  1596. description: 商品代码(内部)
  1597. type: string
  1598. goodsid:
  1599. description: 商品ID(自增ID SEQ_GOODS)
  1600. type: integer
  1601. goodsname:
  1602. description: 商品名称
  1603. type: string
  1604. marketid:
  1605. description: 所属市场ID
  1606. type: integer
  1607. required:
  1608. - goodscode
  1609. - goodsid
  1610. - goodsname
  1611. - marketid
  1612. type: object
  1613. models.HsbyBuyMyTradeDetail:
  1614. properties:
  1615. accountid:
  1616. description: 账户ID[报价币种]
  1617. type: integer
  1618. agreeunit:
  1619. description: 合约单位
  1620. type: number
  1621. amount:
  1622. description: 金额 = 价格 * 数量 * 合约单位
  1623. type: number
  1624. buyorsell:
  1625. description: 买卖 - 0:买 1:卖
  1626. type: integer
  1627. currencysign:
  1628. description: 货币符号
  1629. type: string
  1630. decimalplace:
  1631. description: 报价小数位
  1632. type: integer
  1633. goodscode:
  1634. description: 商品代码(内部)
  1635. type: string
  1636. goodsid:
  1637. description: 商品ID
  1638. type: integer
  1639. goodsname:
  1640. description: 商品名称
  1641. type: string
  1642. marketid:
  1643. description: 市场ID
  1644. type: integer
  1645. orderid:
  1646. description: 单号(成交单号)
  1647. type: string
  1648. picurls1:
  1649. description: 预售商品介绍图片[多张用逗号分隔]
  1650. type: string
  1651. picurls2:
  1652. description: 挂牌商品介绍图片[多张用逗号分隔]
  1653. type: string
  1654. price:
  1655. description: 价格
  1656. type: number
  1657. qty:
  1658. description: 数量
  1659. type: integer
  1660. time:
  1661. description: 时间
  1662. type: string
  1663. trademode:
  1664. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  1665. type: integer
  1666. vendorname1:
  1667. description: 预售商品供应商名称
  1668. type: string
  1669. vendorname2:
  1670. description: 挂牌商品供应商名称
  1671. type: string
  1672. required:
  1673. - accountid
  1674. - buyorsell
  1675. - goodscode
  1676. - goodsid
  1677. - goodsname
  1678. - marketid
  1679. - orderid
  1680. - qty
  1681. - time
  1682. - trademode
  1683. type: object
  1684. models.HsbyGoodsOrderDetail:
  1685. properties:
  1686. buyorsell:
  1687. description: 买卖 - 0:买 1:卖
  1688. type: integer
  1689. currencysign:
  1690. description: 货币符号
  1691. type: string
  1692. customername:
  1693. description: 客户名称(企业名称),已脱敏
  1694. type: string
  1695. enableqty:
  1696. description: 可用数量
  1697. type: integer
  1698. goodunit:
  1699. description: 报价单位
  1700. type: string
  1701. orderid:
  1702. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1703. type: string
  1704. orderprice:
  1705. description: 委托价格
  1706. type: number
  1707. ordertime:
  1708. description: 委托时间
  1709. type: string
  1710. required:
  1711. - buyorsell
  1712. - orderid
  1713. - ordertime
  1714. type: object
  1715. models.HsbyListingGoodsDetail:
  1716. properties:
  1717. agreeunit:
  1718. description: 合约单位
  1719. type: number
  1720. currency:
  1721. description: 货币
  1722. type: string
  1723. currencysign:
  1724. description: 货币符号
  1725. type: string
  1726. decimalplace:
  1727. description: 报价小数位
  1728. type: integer
  1729. desccityid:
  1730. description: 目的地(市)ID
  1731. type: integer
  1732. descprovinceid:
  1733. description: 目的地(省)ID
  1734. type: integer
  1735. goodscode:
  1736. description: 商品代码(内部)
  1737. type: string
  1738. goodsdesc:
  1739. description: 商品详情
  1740. type: string
  1741. goodsid:
  1742. description: 商品ID(自增ID SEQ_GOODS)
  1743. type: integer
  1744. goodsname:
  1745. description: 商品名称
  1746. type: string
  1747. hotindex:
  1748. description: 景点热度
  1749. type: integer
  1750. last:
  1751. description: 现价
  1752. type: number
  1753. limitdown:
  1754. description: 跌停价
  1755. type: number
  1756. limitup:
  1757. description: 涨停价
  1758. type: number
  1759. lotsize:
  1760. description: 手数最小变动单位
  1761. type: integer
  1762. marketid:
  1763. description: 所属市场ID
  1764. type: integer
  1765. picurls:
  1766. description: 介绍图片[多张用逗号分隔]
  1767. type: string
  1768. quoteminunit:
  1769. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1770. type: integer
  1771. stepvalue:
  1772. description: 价格最小变动单位
  1773. type: number
  1774. trademode:
  1775. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  1776. type: integer
  1777. vendorattr:
  1778. description: 供应商附件(多张,逗号分隔)
  1779. type: string
  1780. vendorname:
  1781. description: 供应商名称
  1782. type: string
  1783. vendorphone:
  1784. description: 供应商客服电话
  1785. type: string
  1786. videourls:
  1787. description: 介绍视频[多张用逗号分隔]
  1788. type: string
  1789. required:
  1790. - goodscode
  1791. - goodsid
  1792. - goodsname
  1793. - marketid
  1794. - trademode
  1795. type: object
  1796. models.HsbyMyGoods:
  1797. properties:
  1798. accountid:
  1799. description: 账号Id
  1800. type: integer
  1801. agreeunit:
  1802. description: 合约单位
  1803. type: number
  1804. buyaverageprice:
  1805. description: 持仓均价
  1806. type: number
  1807. buycurholderamount:
  1808. description: 买当前持仓总金额[商品币种]
  1809. type: number
  1810. buycurpositionqty:
  1811. description: 买当前持仓总数量
  1812. type: integer
  1813. currencysign:
  1814. description: 货币符号
  1815. type: string
  1816. decimalplace:
  1817. description: 报价小数位
  1818. type: integer
  1819. enableqty:
  1820. description: 可用数量
  1821. type: integer
  1822. goodscode:
  1823. description: 商品代码(内部)
  1824. type: string
  1825. goodsid:
  1826. description: 商品Id
  1827. type: integer
  1828. goodsname:
  1829. description: 商品名称
  1830. type: string
  1831. goodsstatus:
  1832. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  1833. type: integer
  1834. picurls:
  1835. description: 介绍图片[多张用逗号分隔]
  1836. type: string
  1837. required:
  1838. - accountid
  1839. - goodscode
  1840. - goodsid
  1841. - goodsname
  1842. type: object
  1843. models.HsbyMyPackage:
  1844. properties:
  1845. accountid:
  1846. description: 账户ID
  1847. type: integer
  1848. address:
  1849. description: 提货人详细地址
  1850. type: string
  1851. agreeunit:
  1852. description: 合约单位
  1853. type: number
  1854. amount:
  1855. description: 提货金额
  1856. type: number
  1857. auditer:
  1858. description: 审核人
  1859. type: integer
  1860. audittime:
  1861. description: 审核时间
  1862. type: string
  1863. averageprice:
  1864. description: 均价
  1865. type: number
  1866. cardnum:
  1867. description: 提货人证件号码
  1868. type: string
  1869. cardtypeid:
  1870. description: 提货人证件类型
  1871. type: integer
  1872. checkremark:
  1873. description: 审核备注
  1874. type: string
  1875. currencysign:
  1876. description: 货币符号
  1877. type: string
  1878. decimalplace:
  1879. description: 报价小数位
  1880. type: integer
  1881. goodscode:
  1882. description: 商品代码(内部)
  1883. type: string
  1884. goodsid:
  1885. description: 商品ID
  1886. type: integer
  1887. goodsname:
  1888. description: 商品名称
  1889. type: string
  1890. handlestatus:
  1891. description: 处理状态
  1892. type: integer
  1893. marketid:
  1894. description: 市场ID
  1895. type: integer
  1896. phonenum:
  1897. description: 提货人联系方式
  1898. type: string
  1899. picurls:
  1900. description: 介绍图片[多张用逗号分隔]
  1901. type: string
  1902. qty:
  1903. description: 提货数量
  1904. type: number
  1905. recivername:
  1906. description: 提货人姓名
  1907. type: string
  1908. reqtime:
  1909. description: 更新时间
  1910. type: string
  1911. takemode:
  1912. description: 提货方式 - 2:自提 3:配送
  1913. type: integer
  1914. takeorderid:
  1915. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  1916. type: string
  1917. takeorderstatus:
  1918. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  1919. type: integer
  1920. takeremark:
  1921. description: 提货备注
  1922. type: string
  1923. tradedate:
  1924. description: 交易日(yyyyMMdd)
  1925. type: string
  1926. userid:
  1927. description: 用户ID
  1928. type: integer
  1929. vendorname:
  1930. description: 供应商名称
  1931. type: string
  1932. required:
  1933. - goodscode
  1934. - goodsname
  1935. - takeorderid
  1936. type: object
  1937. models.HsbyPreGoods:
  1938. properties:
  1939. agreeunit:
  1940. description: 合约单位
  1941. type: number
  1942. currency:
  1943. description: 货币
  1944. type: string
  1945. currencysign:
  1946. description: 货币符号
  1947. type: string
  1948. decimalplace:
  1949. description: 报价小数位
  1950. type: integer
  1951. enableqty:
  1952. description: 剩余数量
  1953. type: integer
  1954. goodscode:
  1955. description: 商品代码(内部)
  1956. type: string
  1957. goodsid:
  1958. description: 商品ID(自增ID SEQ_GOODS)
  1959. type: integer
  1960. goodsname:
  1961. description: 商品名称
  1962. type: string
  1963. goodsstatus:
  1964. description: 商品状态- 2:未上市 3:上市
  1965. type: integer
  1966. lasttradedate:
  1967. description: 最后交易日期(状态:待退市)
  1968. type: string
  1969. listingdate:
  1970. description: 交易开始日期
  1971. type: string
  1972. marketid:
  1973. description: 所属市场ID
  1974. type: integer
  1975. picurls:
  1976. description: 介绍图片[多张用逗号分隔]
  1977. type: string
  1978. presaledqty:
  1979. description: 已预售量(预售结束时更新)
  1980. type: integer
  1981. presaleqty:
  1982. description: 预售数量
  1983. type: integer
  1984. quoteminunit:
  1985. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1986. type: integer
  1987. refprice:
  1988. description: 参考价格[一口价]
  1989. type: number
  1990. relatedgoodsid:
  1991. description: 关联交易合约ID
  1992. type: integer
  1993. trademode:
  1994. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  1995. type: integer
  1996. videourls:
  1997. description: 介绍视频[多张用逗号分隔]
  1998. type: string
  1999. required:
  2000. - goodscode
  2001. - goodsid
  2002. - goodsname
  2003. - marketid
  2004. - trademode
  2005. type: object
  2006. models.HsbyPreGoodsDetail:
  2007. properties:
  2008. agreeunit:
  2009. description: 合约单位
  2010. type: number
  2011. buymaxqty:
  2012. description: 购买上限 [71] - 0为不限
  2013. type: integer
  2014. currency:
  2015. description: 货币
  2016. type: string
  2017. currencysign:
  2018. description: 货币符号
  2019. type: string
  2020. customername:
  2021. description: 发行单位
  2022. type: string
  2023. decimalplace:
  2024. description: 报价小数位
  2025. type: integer
  2026. desccityid:
  2027. description: 目的地(市)ID
  2028. type: integer
  2029. descprovinceid:
  2030. description: 目的地(省)ID
  2031. type: integer
  2032. enableqty:
  2033. description: 剩余数量
  2034. type: integer
  2035. goodscode:
  2036. description: 商品代码(内部)
  2037. type: string
  2038. goodsdesc:
  2039. description: 商品详情
  2040. type: string
  2041. goodsid:
  2042. description: 商品ID(自增ID SEQ_GOODS)
  2043. type: integer
  2044. goodsname:
  2045. description: 商品名称
  2046. type: string
  2047. goodsstatus:
  2048. description: 商品状态- 2:未上市 3:上市
  2049. type: integer
  2050. goodunit:
  2051. description: 报价单位
  2052. type: string
  2053. lasttradedate:
  2054. description: 最后交易日期(状态:待退市)
  2055. type: string
  2056. listingdate:
  2057. description: 交易开始日期
  2058. type: string
  2059. lotsize:
  2060. description: 手数最小变动单位
  2061. type: integer
  2062. marketid:
  2063. description: 所属市场ID
  2064. type: integer
  2065. picurls:
  2066. description: 介绍图片[多张用逗号分隔]
  2067. type: string
  2068. presaledqty:
  2069. description: 已预售量(预售结束时更新)
  2070. type: integer
  2071. presaleqty:
  2072. description: 预售数量
  2073. type: integer
  2074. quoteminunit:
  2075. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2076. type: integer
  2077. refprice:
  2078. description: 参考价格[一口价]
  2079. type: number
  2080. relatedgoodsid:
  2081. description: 关联交易合约ID
  2082. type: integer
  2083. stepvalue:
  2084. description: 价格最小变动单位
  2085. type: number
  2086. trademode:
  2087. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2088. type: integer
  2089. vendorattr:
  2090. description: 供应商附件(多张,逗号分隔)
  2091. type: string
  2092. vendorname:
  2093. description: 供应商名称
  2094. type: string
  2095. vendorphone:
  2096. description: 供应商客服电话
  2097. type: string
  2098. videourls:
  2099. description: 介绍视频[多张用逗号分隔]
  2100. type: string
  2101. required:
  2102. - goodscode
  2103. - goodsid
  2104. - goodsname
  2105. - marketid
  2106. - trademode
  2107. type: object
  2108. models.HsbySellMyDetail:
  2109. properties:
  2110. accountid:
  2111. description: 账户ID[报价币种]
  2112. type: integer
  2113. agreeunit:
  2114. description: 合约单位
  2115. type: number
  2116. amount:
  2117. description: 金额 = 价格 * 数量 * 合约单位
  2118. type: number
  2119. buyorsell:
  2120. description: 买卖 - 0:买 1:卖
  2121. type: integer
  2122. currencysign:
  2123. description: 货币符号
  2124. type: string
  2125. decimalplace:
  2126. description: 报价小数位
  2127. type: integer
  2128. goodscode:
  2129. description: 商品代码(内部)
  2130. type: string
  2131. goodsid:
  2132. description: 商品ID
  2133. type: integer
  2134. goodsname:
  2135. description: 商品名称
  2136. type: string
  2137. marketid:
  2138. description: 市场ID
  2139. type: integer
  2140. orderid:
  2141. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2142. type: string
  2143. ordertype:
  2144. description: 单据类型:0 - 已发布, 1 - 已完成
  2145. type: integer
  2146. picurls:
  2147. description: 介绍图片[多张用逗号分隔]
  2148. type: string
  2149. price:
  2150. description: 价格
  2151. type: number
  2152. qty:
  2153. description: 数量
  2154. type: integer
  2155. time:
  2156. description: 时间
  2157. type: string
  2158. trademode:
  2159. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2160. type: integer
  2161. vendorname:
  2162. description: 供应商名称
  2163. type: string
  2164. required:
  2165. - accountid
  2166. - buyorsell
  2167. - goodscode
  2168. - goodsid
  2169. - goodsname
  2170. - marketid
  2171. - orderid
  2172. - qty
  2173. - time
  2174. - trademode
  2175. type: object
  2176. models.HsbyTopGoods:
  2177. properties:
  2178. agreeunit:
  2179. description: 合约单位
  2180. type: number
  2181. currency:
  2182. description: 货币
  2183. type: string
  2184. currencysign:
  2185. description: 货币符号
  2186. type: string
  2187. decimalplace:
  2188. description: 报价小数位
  2189. type: integer
  2190. goodscode:
  2191. description: 商品代码(内部)
  2192. type: string
  2193. goodsid:
  2194. description: 商品ID(自增ID SEQ_GOODS)
  2195. type: integer
  2196. goodsname:
  2197. description: 商品名称
  2198. type: string
  2199. hotindex:
  2200. description: 景点热度
  2201. type: integer
  2202. last:
  2203. description: 现价
  2204. type: number
  2205. marketid:
  2206. description: 所属市场ID
  2207. type: integer
  2208. picurls:
  2209. description: 介绍图片[多张用逗号分隔]
  2210. type: string
  2211. quoteminunit:
  2212. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2213. type: integer
  2214. trademode:
  2215. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2216. type: integer
  2217. videourls:
  2218. description: 介绍视频[多张用逗号分隔]
  2219. type: string
  2220. required:
  2221. - goodscode
  2222. - goodsid
  2223. - goodsname
  2224. - marketid
  2225. - trademode
  2226. type: object
  2227. models.HybsMyBuyOrderDetail:
  2228. properties:
  2229. accountid:
  2230. description: 账户ID[报价币种]
  2231. type: integer
  2232. agreeunit:
  2233. description: 合约单位
  2234. type: number
  2235. buyorsell:
  2236. description: 买卖 - 0:买 1:卖
  2237. type: integer
  2238. cancelqty:
  2239. description: 撤单数量
  2240. type: integer
  2241. currencysign:
  2242. description: 货币符号
  2243. type: string
  2244. decimalplace:
  2245. description: 报价小数位
  2246. type: integer
  2247. goodscode:
  2248. description: 商品代码(内部)
  2249. type: string
  2250. goodsid:
  2251. description: 商品ID
  2252. type: integer
  2253. goodsname:
  2254. description: 商品名称
  2255. type: string
  2256. listingselecttype:
  2257. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2258. type: integer
  2259. marketid:
  2260. description: 市场ID
  2261. type: integer
  2262. mybuystatus:
  2263. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2264. type: integer
  2265. orderamount:
  2266. description: 委托金额
  2267. type: number
  2268. orderid:
  2269. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2270. type: string
  2271. orderprice:
  2272. description: 委托价格
  2273. type: number
  2274. orderqty:
  2275. description: 委托数量
  2276. type: integer
  2277. orderstatus:
  2278. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  2279. type: integer
  2280. ordertime:
  2281. description: 委托时间
  2282. type: string
  2283. picurls1:
  2284. description: 预售商品介绍图片[多张用逗号分隔]
  2285. type: string
  2286. picurls2:
  2287. description: 挂牌商品介绍图片[多张用逗号分隔]
  2288. type: string
  2289. trademode:
  2290. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2291. type: integer
  2292. tradeqty:
  2293. description: 成交数量
  2294. type: integer
  2295. vendorname1:
  2296. description: 预售商品供应商名称
  2297. type: string
  2298. vendorname2:
  2299. description: 挂牌商品供应商名称
  2300. type: string
  2301. required:
  2302. - accountid
  2303. - buyorsell
  2304. - goodscode
  2305. - goodsid
  2306. - goodsname
  2307. - marketid
  2308. - orderid
  2309. - orderqty
  2310. - ordertime
  2311. - trademode
  2312. type: object
  2313. models.Messageboard:
  2314. properties:
  2315. createtime:
  2316. description: 创建时间
  2317. type: string
  2318. message:
  2319. description: 留言信息
  2320. type: string
  2321. messageboardid:
  2322. description: 留言簿ID(SEQ_MessageBoard)
  2323. type: integer
  2324. userid:
  2325. description: 用户ID
  2326. type: integer
  2327. required:
  2328. - messageboardid
  2329. type: object
  2330. models.OperationPrimaryMenu:
  2331. properties:
  2332. Children:
  2333. description: 二级功能菜单
  2334. items:
  2335. $ref: '#/definitions/models.OperationSecondaryMenu'
  2336. type: array
  2337. Key:
  2338. description: 菜单KEY
  2339. type: string
  2340. Label:
  2341. description: 菜单标题
  2342. type: string
  2343. type: object
  2344. models.OperationSecondaryMenu:
  2345. properties:
  2346. Key:
  2347. description: 菜单KEY
  2348. type: string
  2349. Label:
  2350. description: 菜单标题
  2351. type: string
  2352. TabList:
  2353. description: 三级功能菜单
  2354. items:
  2355. $ref: '#/definitions/models.OperationTabMenu'
  2356. type: array
  2357. type: object
  2358. models.OperationTabMenu:
  2359. properties:
  2360. Key:
  2361. description: 菜单KEY
  2362. type: string
  2363. Label:
  2364. description: 菜单标题
  2365. type: string
  2366. type: object
  2367. models.QuotePrimaryMenu:
  2368. properties:
  2369. Index:
  2370. description: 序号
  2371. type: integer
  2372. Key:
  2373. description: 键名
  2374. type: string
  2375. Name:
  2376. description: 菜单名称
  2377. type: string
  2378. SubMenus:
  2379. description: 子菜单
  2380. items:
  2381. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2382. type: array
  2383. SubTitleType:
  2384. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2385. type: integer
  2386. TradeModes:
  2387. description: 包含市场交易类型
  2388. type: string
  2389. type: object
  2390. models.QuoteSecondaryMenu:
  2391. properties:
  2392. ExExchangeCode:
  2393. description: 外部交易所代码
  2394. type: string
  2395. ExExchangeID:
  2396. description: 外部交易所ID
  2397. type: integer
  2398. GoodsGroupIDs:
  2399. description: 商品组ID列表
  2400. items:
  2401. type: integer
  2402. type: array
  2403. Index:
  2404. description: 序号
  2405. type: integer
  2406. MarketID:
  2407. description: 市场ID
  2408. type: integer
  2409. MenuTitle:
  2410. description: 菜单标题(市场名称或外部交易所名称)
  2411. type: string
  2412. TradeMode:
  2413. description: 交易模式
  2414. type: integer
  2415. type: object
  2416. models.SearchGoods:
  2417. properties:
  2418. goodscode:
  2419. description: 商品代码(内部)
  2420. type: string
  2421. goodsid:
  2422. description: 商品ID(自增ID SEQ_GOODS)
  2423. type: integer
  2424. goodsname:
  2425. description: 商品名称
  2426. type: string
  2427. marketid:
  2428. description: 所属市场ID
  2429. type: integer
  2430. marketname:
  2431. description: 市场名称
  2432. type: string
  2433. trademode:
  2434. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  2435. type: integer
  2436. required:
  2437. - goodscode
  2438. - goodsid
  2439. - goodsname
  2440. - marketid
  2441. - trademode
  2442. type: object
  2443. models.Szdz2imageconfig:
  2444. properties:
  2445. configid:
  2446. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2447. type: integer
  2448. imagepath:
  2449. description: 图片
  2450. type: string
  2451. imagetype:
  2452. description: 类型 - 1:App首页轮播 2:我的
  2453. type: integer
  2454. sort:
  2455. description: 排序
  2456. type: integer
  2457. title:
  2458. description: 标题
  2459. type: string
  2460. url:
  2461. description: 链接
  2462. type: string
  2463. required:
  2464. - configid
  2465. type: object
  2466. models.Szdz3convertconfig:
  2467. properties:
  2468. canin:
  2469. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2470. type: integer
  2471. canout:
  2472. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2473. type: integer
  2474. converttype:
  2475. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  2476. type: integer
  2477. createtime:
  2478. description: 创建时间
  2479. type: string
  2480. creatorid:
  2481. description: 创建人
  2482. type: integer
  2483. daymaxvalue:
  2484. description: 当日最大转入限制
  2485. type: number
  2486. freezedays:
  2487. description: 冻结天数 [5:花生米转交易]
  2488. type: integer
  2489. innergoodsid:
  2490. description: 内部商品ID[交易]
  2491. type: integer
  2492. inratio:
  2493. description: 目标值
  2494. type: integer
  2495. modifierid:
  2496. description: 修改人
  2497. type: integer
  2498. modifytime:
  2499. description: 修改时间
  2500. type: string
  2501. outergoodscode:
  2502. description: 外部商品代码[JD\PD]
  2503. type: string
  2504. outratio:
  2505. description: 源值
  2506. type: integer
  2507. pddecimalplace:
  2508. description: PD小数位
  2509. type: integer
  2510. timemaxvalue:
  2511. description: 单次最大转入限制
  2512. type: number
  2513. timeminvalue:
  2514. description: 单次最小转入限制
  2515. type: number
  2516. required:
  2517. - converttype
  2518. - innergoodsid
  2519. - outergoodscode
  2520. type: object
  2521. models.Szdz3searchwhitelist:
  2522. properties:
  2523. createtime:
  2524. description: 创建时间
  2525. type: string
  2526. creatorid:
  2527. description: 创建人
  2528. type: integer
  2529. modifierid:
  2530. description: 修改人
  2531. type: integer
  2532. modifytime:
  2533. description: 修改时间
  2534. type: string
  2535. userid:
  2536. description: 用户ID
  2537. type: integer
  2538. required:
  2539. - userid
  2540. type: object
  2541. models.Tablecolumnconfig:
  2542. properties:
  2543. aligntype:
  2544. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2545. type: integer
  2546. autoid:
  2547. description: AutoID
  2548. type: integer
  2549. columnfield:
  2550. description: 列字段
  2551. type: string
  2552. columntitle:
  2553. description: 列Title
  2554. type: string
  2555. columnwidth:
  2556. description: 列宽
  2557. type: string
  2558. formatterstring:
  2559. description: 格式化字符
  2560. type: string
  2561. formattertype:
  2562. description: 格式化类型
  2563. type: string
  2564. groupname:
  2565. description: 表头分组名称
  2566. type: string
  2567. isshow:
  2568. description: 是否显示 - 0:不显示 1:显示
  2569. type: integer
  2570. needsummary:
  2571. description: 是否需要汇总 - 0:不需要 1:需要
  2572. type: integer
  2573. orderindex:
  2574. description: 顺序
  2575. type: integer
  2576. remark:
  2577. description: 备注
  2578. type: string
  2579. summarytype:
  2580. description: 汇总类型 - 1:加总 2:最后一个
  2581. type: integer
  2582. tablekey:
  2583. description: 列表Key
  2584. type: string
  2585. required:
  2586. - autoid
  2587. type: object
  2588. models.Useraccount:
  2589. properties:
  2590. accountname:
  2591. description: 账户名称(机构名称)
  2592. type: string
  2593. accountstatus:
  2594. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2595. type: integer
  2596. auditremark:
  2597. description: 审核备注
  2598. type: string
  2599. audittime:
  2600. description: 审核时间
  2601. type: string
  2602. audituserid:
  2603. description: 审核人
  2604. type: integer
  2605. broker:
  2606. description: 所属经纪人ID
  2607. type: integer
  2608. canceltime:
  2609. description: 销户时间
  2610. type: string
  2611. canceluserid:
  2612. description: 销户人
  2613. type: integer
  2614. createtime:
  2615. description: 创建时间
  2616. type: string
  2617. creatorid:
  2618. description: 创建人
  2619. type: integer
  2620. hasauth:
  2621. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  2622. type: integer
  2623. isanonymous:
  2624. description: 是否匿名下单 - 0:否 1:是
  2625. type: integer
  2626. maxinvestornum:
  2627. description: 最大用户数(经纪会员下投资者个数)
  2628. type: integer
  2629. memberuserid:
  2630. description: 所属会员ID
  2631. type: integer
  2632. modifierid:
  2633. description: 修改人
  2634. type: integer
  2635. modifyremark:
  2636. description: 变更备注
  2637. type: string
  2638. modifystatus:
  2639. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  2640. type: integer
  2641. modifytime:
  2642. description: 修改时间
  2643. type: string
  2644. parentuserid:
  2645. description: 所属机构ID
  2646. type: integer
  2647. reckonaccountid:
  2648. description: 默认结算资金账号ID(机构分润使用) 作废
  2649. type: integer
  2650. refercount:
  2651. description: 推荐总人数
  2652. type: integer
  2653. refereeuserid:
  2654. description: 推荐人ID
  2655. type: integer
  2656. refernum:
  2657. description: 推荐码
  2658. type: string
  2659. subarealevelpath:
  2660. description: 子机构层级路径(逗号分隔,首尾加逗号)
  2661. type: string
  2662. userid:
  2663. description: 用户ID
  2664. type: integer
  2665. usertype:
  2666. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2667. type: integer
  2668. required:
  2669. - userid
  2670. type: object
  2671. models.Userfavoritegoods:
  2672. properties:
  2673. goodsid:
  2674. description: 商品ID
  2675. type: integer
  2676. required:
  2677. - goodsid
  2678. type: object
  2679. models.Userinfo:
  2680. properties:
  2681. address:
  2682. description: 地址
  2683. type: string
  2684. attachment1:
  2685. description: 附件1
  2686. type: string
  2687. attachment2:
  2688. description: 附件2
  2689. type: string
  2690. bankaccount:
  2691. description: 银行帐号 (加密存储)
  2692. type: string
  2693. bankaccountname:
  2694. description: 收款人名称
  2695. type: string
  2696. bankcardfrontphotourl:
  2697. description: 银行卡正面照地址
  2698. type: string
  2699. bankid:
  2700. description: 银行编码
  2701. type: string
  2702. bankname:
  2703. description: 银行名称
  2704. type: string
  2705. biznature:
  2706. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2707. type: integer
  2708. bizscope:
  2709. description: 企业经营范围(企业)
  2710. type: string
  2711. cardbackphotourl:
  2712. description: 证件背面图片地址
  2713. type: string
  2714. cardfrontphotourl:
  2715. description: 证件正面图片地址
  2716. type: string
  2717. cardnum:
  2718. description: 证件号码(加密存储)
  2719. type: string
  2720. cardtypeid:
  2721. description: 证件类型ID
  2722. type: integer
  2723. cityid:
  2724. description: 市
  2725. type: integer
  2726. company:
  2727. description: 公司(个人)
  2728. type: string
  2729. contactname:
  2730. description: 联系人
  2731. type: string
  2732. countryid:
  2733. description: 国家
  2734. type: integer
  2735. createtime:
  2736. description: 创建时间
  2737. type: string
  2738. creatorid:
  2739. description: 创建人
  2740. type: integer
  2741. customername:
  2742. description: 客户名称(企业名称)
  2743. type: string
  2744. districtid:
  2745. description: 地区
  2746. type: integer
  2747. email:
  2748. description: 邮件(加密存储)
  2749. type: string
  2750. fax:
  2751. description: 传真(加密存储)
  2752. type: string
  2753. halfbodyphotourl:
  2754. description: 半身照地址
  2755. type: string
  2756. hasencrypt:
  2757. description: 数据是否已加密 - 0:未加密 1:已加密
  2758. type: integer
  2759. headurl:
  2760. description: 头像地址
  2761. type: string
  2762. legalcardbackphotourl:
  2763. description: 法人身份证背面照地址
  2764. type: string
  2765. legalcardfrontphotourl:
  2766. description: 法人身份证正面照地址
  2767. type: string
  2768. legalpersonname:
  2769. description: 法人姓名(企业)
  2770. type: string
  2771. mobile:
  2772. description: 手机号码(加密存储)
  2773. type: string
  2774. mobile2:
  2775. description: 手机号码[明文-尚志]
  2776. type: string
  2777. modifierid:
  2778. description: 修改人
  2779. type: integer
  2780. modifiertime:
  2781. description: 修改时间
  2782. type: string
  2783. needinvoice:
  2784. description: 是否需要发票 - 0:不需要 1:需要
  2785. type: integer
  2786. nickname:
  2787. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  2788. type: string
  2789. openmode:
  2790. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  2791. type: integer
  2792. otherurl:
  2793. description: 其它图片地址[使用分号分隔]
  2794. type: string
  2795. postalcode:
  2796. description: 邮政编码
  2797. type: string
  2798. provinceid:
  2799. description: 省
  2800. type: integer
  2801. qq:
  2802. description: QQ(加密存储
  2803. type: string
  2804. remark:
  2805. description: 备注
  2806. type: string
  2807. sex:
  2808. description: '用户性别 0: 女 1: 男'
  2809. type: integer
  2810. signpdfurl:
  2811. description: 签约pdf文件
  2812. type: string
  2813. telphone:
  2814. description: 联系电话(加密存储)
  2815. type: string
  2816. userid:
  2817. description: 用户ID
  2818. type: integer
  2819. userinfotype:
  2820. description: 用户信息类型 - 1:个人 2:企业
  2821. type: integer
  2822. userstatus:
  2823. description: 用户状态 - 1:正常 2:注销
  2824. type: integer
  2825. usertype:
  2826. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2827. type: integer
  2828. wechat:
  2829. description: 微信(加密存储)
  2830. type: string
  2831. wskhinfo:
  2832. description: 开户申请信息(JSON)
  2833. type: string
  2834. required:
  2835. - userid
  2836. type: object
  2837. models.WRStandardInfo:
  2838. properties:
  2839. createtime:
  2840. description: 创建时间
  2841. type: string
  2842. creatorid:
  2843. description: 创建人
  2844. type: integer
  2845. deliverygoodsid:
  2846. description: 品种ID
  2847. type: integer
  2848. deliverygoodsname:
  2849. description: 交割商品名称
  2850. type: string
  2851. factoryitemjson:
  2852. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  2853. type: string
  2854. isvalid:
  2855. description: 是否有效 - 0:无效 1:有效
  2856. type: integer
  2857. minivalue:
  2858. description: 最小变动值
  2859. type: integer
  2860. minivaluedp:
  2861. description: 最小变动值小数位
  2862. type: integer
  2863. realminivalue:
  2864. description: 实际最小变动值
  2865. type: integer
  2866. realminivaluedp:
  2867. description: 实际最小变动值小数位
  2868. type: integer
  2869. unitid:
  2870. description: 单位ID
  2871. type: integer
  2872. unitname:
  2873. description: 单位
  2874. type: string
  2875. updatetime:
  2876. description: 更新时间
  2877. type: string
  2878. updatorid:
  2879. description: 更新人
  2880. type: integer
  2881. wrsstatus:
  2882. description: 状态 - 作废 - 0:未激活 1:正常
  2883. type: integer
  2884. wrstandardcode:
  2885. description: 仓单标准代码
  2886. type: string
  2887. wrstandardid:
  2888. description: 仓单标准ID(SEQ_WRSTANDARD)
  2889. type: integer
  2890. wrstandardname:
  2891. description: 仓单标准名称
  2892. type: string
  2893. required:
  2894. - wrstandardid
  2895. type: object
  2896. models.Warehouseinfo:
  2897. properties:
  2898. address:
  2899. description: 详细地址
  2900. type: string
  2901. areauserid:
  2902. description: 所属机构
  2903. type: integer
  2904. autoid:
  2905. description: 自增ID
  2906. type: integer
  2907. cityid:
  2908. description: 市
  2909. type: integer
  2910. contactname:
  2911. description: 联系人
  2912. type: string
  2913. contactnum:
  2914. description: 联系电话
  2915. type: string
  2916. countryid:
  2917. description: 国家
  2918. type: integer
  2919. createtime:
  2920. description: 创建时间
  2921. type: string
  2922. districtid:
  2923. description: 区
  2924. type: integer
  2925. hasvideo:
  2926. description: 是否有视频 - 0:无 1:有
  2927. type: integer
  2928. provinceid:
  2929. description: 省
  2930. type: integer
  2931. remark:
  2932. description: 审核备注
  2933. type: string
  2934. videourl:
  2935. description: 视频地址
  2936. type: string
  2937. warehousecode:
  2938. description: 仓库代码
  2939. type: string
  2940. warehousename:
  2941. description: 仓库名称
  2942. type: string
  2943. warehousestatus:
  2944. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2945. type: integer
  2946. warehousetype:
  2947. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2948. type: integer
  2949. required:
  2950. - autoid
  2951. - warehousecode
  2952. type: object
  2953. order.QueryHisTradeDetailRsp:
  2954. properties:
  2955. accountid:
  2956. description: 账户ID[报价币种]
  2957. type: integer
  2958. buildtype:
  2959. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2960. type: integer
  2961. buyorsell:
  2962. description: 方向 - 0:买 1:卖
  2963. type: integer
  2964. charge:
  2965. description: 手续费
  2966. type: number
  2967. closecharge:
  2968. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2969. type: number
  2970. closeexchagechargevalue:
  2971. description: 平仓交易所手续费设置值
  2972. type: number
  2973. closefeealgorithm:
  2974. description: 平仓手续费收取方式 1:比率 2:固定
  2975. type: integer
  2976. closememberchargevalue:
  2977. description: 平仓会员手续费设置值
  2978. type: number
  2979. closepl:
  2980. description: 平仓盈亏
  2981. type: number
  2982. closepl2:
  2983. description: 平仓盈亏[逐笔]
  2984. type: number
  2985. closeqty:
  2986. description: 平仓数量(先建后平操作 需要记录)
  2987. type: integer
  2988. creditamount:
  2989. description: 授信金额
  2990. type: number
  2991. gcaccountid:
  2992. description: 账户ID[合约币种]
  2993. type: integer
  2994. goodscode:
  2995. description: 商品代码
  2996. type: string
  2997. goodsid:
  2998. description: 商品ID
  2999. type: integer
  3000. goodsname:
  3001. description: 商品名称
  3002. type: string
  3003. histradedate:
  3004. description: 历史交易日
  3005. type: string
  3006. intclosepl:
  3007. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3008. type: integer
  3009. isconfirmexercise:
  3010. description: 是否确认行权- 0:否 1:是
  3011. type: integer
  3012. ismain:
  3013. description: 是否主单 - 0:不是 1:是
  3014. type: integer
  3015. ispreexercise:
  3016. description: 是否预申报- 0:否 1:是
  3017. type: integer
  3018. isreckoned:
  3019. description: 是否结算 - 0:未结算 1:已结算
  3020. type: integer
  3021. isvaliddata:
  3022. description: 是否有效 - 0:无效 1:有效
  3023. type: integer
  3024. listingselecttype:
  3025. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3026. type: integer
  3027. marketid:
  3028. description: 市场ID
  3029. type: integer
  3030. marketname:
  3031. description: 市场名称
  3032. type: string
  3033. matchaccountid:
  3034. description: 对手账号id
  3035. type: integer
  3036. memberuserid:
  3037. description: 会员id 个人投资者 需要填写
  3038. type: integer
  3039. opencharge:
  3040. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3041. type: number
  3042. openexchagechargevalue:
  3043. description: 建仓交易所手续费设置值
  3044. type: number
  3045. openfeealgorithm:
  3046. description: 建仓手续费收取方式 1:比率 2:固定
  3047. type: integer
  3048. openmemberchargevalue:
  3049. description: 建仓会员手续费设置值
  3050. type: number
  3051. openqty:
  3052. description: 开仓数量(先建后平操作 需要记录)
  3053. type: integer
  3054. optiontype:
  3055. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3056. type: integer
  3057. orderid:
  3058. description: 委托单号
  3059. type: string
  3060. performanceplanid:
  3061. description: 履约计划ID[期权]
  3062. type: integer
  3063. performancestatus:
  3064. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3065. type: integer
  3066. preexerciseprice:
  3067. description: 预申报价格
  3068. type: number
  3069. premium:
  3070. description: 权利金 - [持仓单的权利金]
  3071. type: number
  3072. relatedouttradeid:
  3073. description: 关联外部成交单ID
  3074. type: integer
  3075. status:
  3076. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3077. type: integer
  3078. tradeamount:
  3079. description: 成交金额[账户币种,用于所有权]
  3080. type: number
  3081. tradedate:
  3082. description: 交易日(yyyyMMdd)
  3083. type: string
  3084. tradeid:
  3085. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3086. type: string
  3087. trademode:
  3088. description: 交易模式
  3089. type: integer
  3090. tradeprice:
  3091. description: 成交价格
  3092. type: number
  3093. tradeproperty:
  3094. description: 交易属性
  3095. type: integer
  3096. tradeqty:
  3097. description: 成交数量
  3098. type: integer
  3099. tradetime:
  3100. description: 成交时间
  3101. type: string
  3102. tradetype:
  3103. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3104. type: integer
  3105. required:
  3106. - accountid
  3107. - buyorsell
  3108. - goodsid
  3109. - histradedate
  3110. - marketid
  3111. - memberuserid
  3112. - orderid
  3113. - tradeamount
  3114. - tradedate
  3115. - tradeid
  3116. - tradeprice
  3117. - tradeqty
  3118. - tradetime
  3119. type: object
  3120. order.QueryHisTradeOrderDetailRsp:
  3121. properties:
  3122. accountid:
  3123. description: 账户ID[报价币种]
  3124. type: integer
  3125. buildtype:
  3126. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3127. type: integer
  3128. buyorsell:
  3129. description: 买卖 - 0:买 1:卖
  3130. type: integer
  3131. cancelorderid:
  3132. description: 撤单单号(撤单时填写)
  3133. type: string
  3134. cancelqty:
  3135. description: 撤单数量
  3136. type: integer
  3137. clientordertime:
  3138. description: 客户端委托时间
  3139. type: string
  3140. clientticket:
  3141. description: 客户端流水号
  3142. type: string
  3143. clienttype:
  3144. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3145. type: integer
  3146. closeexchagechargevalue:
  3147. description: 平仓交易所手续费设置值
  3148. type: number
  3149. closefeealgorithm:
  3150. description: 平仓手续费收取方式 1:比率 2:固定
  3151. type: integer
  3152. closefreezecharge:
  3153. description: 平仓冻结手续费(先建后平操作,需要记录)
  3154. type: number
  3155. closememberchargevalue:
  3156. description: 平仓会员手续费设置值
  3157. type: number
  3158. closeqty:
  3159. description: 平仓数量(先建后平操作 需要记录)
  3160. type: integer
  3161. closetradeqty:
  3162. description: 平仓成交数量(先建后平操作,需要记录)
  3163. type: integer
  3164. closeunfreezecharge:
  3165. description: 平仓解冻手续费(先建后平操作,需要记录)
  3166. type: number
  3167. delistingtype:
  3168. description: 摘牌类型 - 1:价格最优 2:点选成交
  3169. type: integer
  3170. freezecharge:
  3171. description: 冻结手续费
  3172. type: number
  3173. freezemargin:
  3174. description: 冻结保证金(冻结交易金额)
  3175. type: number
  3176. gcaccountid:
  3177. description: 账户ID[合约币种]
  3178. type: integer
  3179. goodscode:
  3180. description: 商品代码
  3181. type: string
  3182. goodsid:
  3183. description: 商品ID
  3184. type: integer
  3185. goodsname:
  3186. description: 商品名称
  3187. type: string
  3188. histradedate:
  3189. description: 历史交易日
  3190. type: string
  3191. isconfirmexercise:
  3192. description: 是否确认行权- 0:否 1:是
  3193. type: integer
  3194. ispreexercise:
  3195. description: 是否预申报- 0:否 1:是
  3196. type: integer
  3197. isvaliddata:
  3198. description: 是否有效 - 0:无效 1:有效
  3199. type: integer
  3200. listingselecttype:
  3201. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3202. type: integer
  3203. marginalgorithm:
  3204. description: 保证金收取方式 1:比率 2:固定
  3205. type: integer
  3206. marginvalue:
  3207. description: 即市保证金设置值
  3208. type: number
  3209. marketid:
  3210. description: 市场ID
  3211. type: integer
  3212. marketmaxsub:
  3213. description: 市价最大偏移范围
  3214. type: number
  3215. marketname:
  3216. description: 市场名称
  3217. type: string
  3218. memberuserid:
  3219. description: 所属会员UserID
  3220. type: integer
  3221. openexchagechargevalue:
  3222. description: 建仓交易所手续费设置值
  3223. type: number
  3224. openfeealgorithm:
  3225. description: 建仓手续费收取方式 1:比率 2:固定
  3226. type: integer
  3227. openfreezecharge:
  3228. description: 开仓冻结手续费(先建后平操作,需要记录)
  3229. type: number
  3230. openmemberchargevalue:
  3231. description: 建仓会员手续费设置值
  3232. type: number
  3233. openqty:
  3234. description: 开仓数量(先建后平操作,需要记录)
  3235. type: integer
  3236. opentradeqty:
  3237. description: 开仓成交数量(先建后平操作,需要记录)
  3238. type: integer
  3239. openunfreezecharge:
  3240. description: 开仓解冻手续费(先建后平操作,需要记录)
  3241. type: number
  3242. operatetype:
  3243. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  3244. type: integer
  3245. operatorid:
  3246. description: 登录账号(LoginID)
  3247. type: integer
  3248. optiontype:
  3249. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3250. type: integer
  3251. orderid:
  3252. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3253. type: string
  3254. orderprice:
  3255. description: 委托价格
  3256. type: number
  3257. orderqty:
  3258. description: 委托数量
  3259. type: integer
  3260. ordersrc:
  3261. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3262. type: integer
  3263. orderstatus:
  3264. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  3265. type: integer
  3266. ordertime:
  3267. description: 委托时间
  3268. type: string
  3269. preexerciseprice:
  3270. description: 预申报价格
  3271. type: number
  3272. premium:
  3273. description: 权利金
  3274. type: number
  3275. preorderid:
  3276. description: 关联预埋单号(止盈止损单时填写)
  3277. type: string
  3278. pricemode:
  3279. description: '取价方式 - 1:市价 2: 限价'
  3280. type: integer
  3281. quoteid:
  3282. description: 报价单ID
  3283. type: integer
  3284. relatedid:
  3285. description: 关联单号(交割单)
  3286. type: string
  3287. retcode:
  3288. description: 错误代码
  3289. type: integer
  3290. sessionid:
  3291. description: 会话ID
  3292. type: integer
  3293. tradedate:
  3294. description: 交易日(yyyyMMdd)
  3295. type: string
  3296. trademode:
  3297. description: 交易模式
  3298. type: integer
  3299. tradeproperty:
  3300. description: 交易属性
  3301. type: integer
  3302. tradeqty:
  3303. description: 成交数量
  3304. type: integer
  3305. unfreezecharge:
  3306. description: 解冻手续费
  3307. type: number
  3308. unfreezemargin:
  3309. description: 解冻保证金
  3310. type: number
  3311. updatetime:
  3312. description: 更新时间
  3313. type: string
  3314. uuid:
  3315. description: 发起端唯一id
  3316. type: string
  3317. validtime:
  3318. description: 有效期限
  3319. type: string
  3320. validtype:
  3321. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3322. type: integer
  3323. volumetype:
  3324. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3325. type: integer
  3326. required:
  3327. - accountid
  3328. - buildtype
  3329. - buyorsell
  3330. - goodsid
  3331. - histradedate
  3332. - marketid
  3333. - memberuserid
  3334. - operatetype
  3335. - orderid
  3336. - orderqty
  3337. - ordertime
  3338. - pricemode
  3339. - tradedate
  3340. - validtype
  3341. type: object
  3342. order.QueryTradeDetailRsp:
  3343. properties:
  3344. accountid:
  3345. description: 账户ID[报价币种]
  3346. type: integer
  3347. buildtype:
  3348. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3349. type: integer
  3350. buyorsell:
  3351. description: 方向 - 0:买 1:卖
  3352. type: integer
  3353. charge:
  3354. description: 手续费
  3355. type: number
  3356. closecharge:
  3357. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3358. type: number
  3359. closeexchagechargevalue:
  3360. description: 平仓交易所手续费设置值
  3361. type: number
  3362. closefeealgorithm:
  3363. description: 平仓手续费收取方式 1:比率 2:固定
  3364. type: integer
  3365. closememberchargevalue:
  3366. description: 平仓会员手续费设置值
  3367. type: number
  3368. closepl:
  3369. description: 平仓盈亏
  3370. type: number
  3371. closepl2:
  3372. description: 平仓盈亏[逐笔]
  3373. type: number
  3374. closeqty:
  3375. description: 平仓数量(先建后平操作 需要记录)
  3376. type: integer
  3377. creditamount:
  3378. description: 授信金额
  3379. type: number
  3380. gcaccountid:
  3381. description: 账户ID[合约币种]
  3382. type: integer
  3383. goodscode:
  3384. description: 商品代码
  3385. type: string
  3386. goodsid:
  3387. description: 商品ID
  3388. type: integer
  3389. goodsname:
  3390. description: 商品名称
  3391. type: string
  3392. intclosepl:
  3393. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3394. type: integer
  3395. isconfirmexercise:
  3396. description: 是否确认行权- 0:否 1:是
  3397. type: integer
  3398. ismain:
  3399. description: 是否主单 - 0:不是 1:是
  3400. type: integer
  3401. ispreexercise:
  3402. description: 是否预申报- 0:否 1:是
  3403. type: integer
  3404. isreckoned:
  3405. description: 是否结算 - 0:未结算 1:已结算
  3406. type: integer
  3407. listingselecttype:
  3408. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3409. type: integer
  3410. marketid:
  3411. description: 市场ID
  3412. type: integer
  3413. marketname:
  3414. description: 市场名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 对手账号id
  3418. type: integer
  3419. memberuserid:
  3420. description: 会员id 个人投资者 需要填写
  3421. type: integer
  3422. opencharge:
  3423. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3424. type: number
  3425. openexchagechargevalue:
  3426. description: 建仓交易所手续费设置值
  3427. type: number
  3428. openfeealgorithm:
  3429. description: 建仓手续费收取方式 1:比率 2:固定
  3430. type: integer
  3431. openmemberchargevalue:
  3432. description: 建仓会员手续费设置值
  3433. type: number
  3434. openqty:
  3435. description: 开仓数量(先建后平操作 需要记录)
  3436. type: integer
  3437. optiontype:
  3438. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3439. type: integer
  3440. orderid:
  3441. description: 委托单号
  3442. type: string
  3443. performanceplanid:
  3444. description: 履约计划ID[期权]
  3445. type: integer
  3446. performancestatus:
  3447. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3448. type: integer
  3449. preexerciseprice:
  3450. description: 预申报价格
  3451. type: number
  3452. premium:
  3453. description: 权利金 - [持仓单的权利金]
  3454. type: number
  3455. relatedouttradeid:
  3456. description: 关联外部成交单ID
  3457. type: integer
  3458. status:
  3459. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3460. type: integer
  3461. tradeamount:
  3462. description: 成交金额[账户币种,用于所有权]
  3463. type: number
  3464. tradedate:
  3465. description: 交易日(yyyyMMdd)
  3466. type: string
  3467. tradeid:
  3468. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3469. type: string
  3470. trademode:
  3471. description: 交易模式
  3472. type: integer
  3473. tradeprice:
  3474. description: 成交价格
  3475. type: number
  3476. tradeproperty:
  3477. description: 交易属性
  3478. type: integer
  3479. tradeqty:
  3480. description: 成交数量
  3481. type: integer
  3482. tradetime:
  3483. description: 成交时间
  3484. type: string
  3485. tradetype:
  3486. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3487. type: integer
  3488. required:
  3489. - accountid
  3490. - buyorsell
  3491. - goodsid
  3492. - marketid
  3493. - memberuserid
  3494. - orderid
  3495. - tradeamount
  3496. - tradedate
  3497. - tradeid
  3498. - tradeprice
  3499. - tradeqty
  3500. - tradetime
  3501. type: object
  3502. order.QueryTradeOrderDetailRsp:
  3503. properties:
  3504. accountid:
  3505. description: 账户ID[报价币种]
  3506. type: integer
  3507. buildtype:
  3508. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3509. type: integer
  3510. buyorsell:
  3511. description: 买卖 - 0:买 1:卖
  3512. type: integer
  3513. cancelorderid:
  3514. description: 撤单单号(撤单时填写)
  3515. type: string
  3516. cancelqty:
  3517. description: 撤单数量
  3518. type: integer
  3519. clienttype:
  3520. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3521. type: integer
  3522. closefreezecharge:
  3523. description: 平仓冻结手续费(先建后平操作,需要记录)
  3524. type: number
  3525. closeqty:
  3526. description: 平仓数量(先建后平操作 需要记录)
  3527. type: integer
  3528. closetradeqty:
  3529. description: 平仓成交数量(先建后平操作,需要记录)
  3530. type: integer
  3531. closeunfreezecharge:
  3532. description: 平仓解冻手续费(先建后平操作,需要记录)
  3533. type: number
  3534. delistingtype:
  3535. description: 摘牌类型 - 1:价格最优 2:点选成交
  3536. type: integer
  3537. enableqty:
  3538. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3539. type: integer
  3540. freezecharge:
  3541. description: 冻结手续费
  3542. type: number
  3543. freezemargin:
  3544. description: 冻结保证金(冻结交易金额)
  3545. type: number
  3546. goodscode:
  3547. description: 商品代码
  3548. type: string
  3549. goodsid:
  3550. description: 商品ID
  3551. type: integer
  3552. goodsname:
  3553. description: 商品名称
  3554. type: string
  3555. listingselecttype:
  3556. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3557. type: integer
  3558. marketid:
  3559. description: 市场ID
  3560. type: integer
  3561. marketname:
  3562. description: 市场名称
  3563. type: string
  3564. openfreezecharge:
  3565. description: 开仓冻结手续费(先建后平操作,需要记录)
  3566. type: number
  3567. openqty:
  3568. description: 开仓数量(先建后平操作,需要记录)
  3569. type: integer
  3570. opentradeqty:
  3571. description: 开仓成交数量(先建后平操作,需要记录)
  3572. type: integer
  3573. openunfreezecharge:
  3574. description: 开仓解冻手续费(先建后平操作,需要记录)
  3575. type: number
  3576. operatetype:
  3577. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  3578. type: integer
  3579. operatorid:
  3580. description: 登录账号(LoginID)
  3581. type: integer
  3582. orderid:
  3583. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3584. type: string
  3585. orderprice:
  3586. description: 委托价格
  3587. type: number
  3588. orderqty:
  3589. description: 委托数量
  3590. type: integer
  3591. ordersrc:
  3592. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3593. type: integer
  3594. orderstatus:
  3595. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  3596. type: integer
  3597. ordertime:
  3598. description: 委托时间
  3599. type: string
  3600. preorderid:
  3601. description: 关联预埋单号(止盈止损单时填写)
  3602. type: string
  3603. pricemode:
  3604. description: '取价方式 - 1:市价 2: 限价'
  3605. type: integer
  3606. relatedid:
  3607. description: 关联单号(交割单)
  3608. type: string
  3609. tradedate:
  3610. description: 交易日(yyyyMMdd)
  3611. type: string
  3612. trademode:
  3613. description: 交易模式
  3614. type: integer
  3615. tradeqty:
  3616. description: 成交数量
  3617. type: integer
  3618. unfreezecharge:
  3619. description: 解冻手续费
  3620. type: number
  3621. unfreezemargin:
  3622. description: 解冻保证金
  3623. type: number
  3624. validtime:
  3625. description: 有效期限
  3626. type: string
  3627. validtype:
  3628. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3629. type: integer
  3630. volumetype:
  3631. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3632. type: integer
  3633. required:
  3634. - accountid
  3635. - buildtype
  3636. - buyorsell
  3637. - goodsid
  3638. - marketid
  3639. - operatetype
  3640. - orderqty
  3641. - ordertime
  3642. - pricemode
  3643. - tradedate
  3644. - validtype
  3645. type: object
  3646. order.QueryTradePositionRsp:
  3647. properties:
  3648. accountid:
  3649. description: 资金账户
  3650. type: integer
  3651. agreeunit:
  3652. description: 合约单位
  3653. type: number
  3654. averageprice:
  3655. description: 持仓均价
  3656. type: number
  3657. buyorsell:
  3658. description: 方向 - 0:买 1:卖
  3659. type: integer
  3660. closetotalqty:
  3661. description: 平仓总数量
  3662. type: integer
  3663. curholderamount:
  3664. description: 当前持仓总金额[商品币种]
  3665. type: number
  3666. curpositionqty:
  3667. description: 当前持仓总数量
  3668. type: integer
  3669. currencyid:
  3670. description: 报价货币ID
  3671. type: integer
  3672. curtdposition:
  3673. description: 期末今日头寸
  3674. type: integer
  3675. decimalplace:
  3676. description: 报价小数位
  3677. type: integer
  3678. enableqty:
  3679. description: 可用量
  3680. type: integer
  3681. fretdposition:
  3682. description: 冻结今日头寸
  3683. type: integer
  3684. frozenqty:
  3685. description: 持仓冻结数量
  3686. type: integer
  3687. goodscode:
  3688. description: 商品代码
  3689. type: string
  3690. goodsid:
  3691. description: 商品Id
  3692. type: integer
  3693. goodsname:
  3694. description: 商品名称
  3695. type: string
  3696. goodunit:
  3697. description: 报价单位
  3698. type: string
  3699. goodunitid:
  3700. description: 报价单位ID
  3701. type: integer
  3702. holderamount:
  3703. description: 期初持仓总金额[商品币种]
  3704. type: number
  3705. marketid:
  3706. description: 所属市场ID
  3707. type: integer
  3708. openreqqty:
  3709. description: 开仓申请数量(用于比较最大持仓数量)
  3710. type: integer
  3711. opentotalqty:
  3712. description: 开仓总数量
  3713. type: integer
  3714. otherfrozenqty:
  3715. description: 持仓其他冻结数量(交割冻结)
  3716. type: integer
  3717. positionqty:
  3718. description: 期初持仓数量
  3719. type: integer
  3720. tnqty:
  3721. description: T+N冻结总量
  3722. type: integer
  3723. tnusedqty:
  3724. description: T+N使用量(可以使用T+N的冻结数量)
  3725. type: integer
  3726. trademode:
  3727. description: 交易模式
  3728. type: integer
  3729. usedmargin:
  3730. description: 占用保证金[商品币种]
  3731. type: number
  3732. required:
  3733. - goodsid
  3734. type: object
  3735. quote.HistoryData:
  3736. properties:
  3737. c:
  3738. description: 收盘价
  3739. type: number
  3740. h:
  3741. description: 最高价
  3742. type: number
  3743. hv:
  3744. description: 持仓量
  3745. type: integer
  3746. l:
  3747. description: 最低价
  3748. type: number
  3749. o:
  3750. description: 开盘价
  3751. type: number
  3752. s:
  3753. description: 结算价,日线周期(包括)以上才有
  3754. type: number
  3755. ts:
  3756. description: 时间
  3757. type: string
  3758. tt:
  3759. description: 总金额
  3760. type: number
  3761. tv:
  3762. description: 总量
  3763. type: integer
  3764. type: object
  3765. quote.QueryTSDataRsp:
  3766. properties:
  3767. decimalPlace:
  3768. description: 小数位
  3769. type: integer
  3770. endTime:
  3771. description: 结束时间
  3772. type: string
  3773. goodsCode:
  3774. description: 商品代码
  3775. type: string
  3776. historyDatas:
  3777. description: 历史数据
  3778. items:
  3779. $ref: '#/definitions/quote.HistoryData'
  3780. type: array
  3781. preSettle:
  3782. description: 昨结
  3783. type: number
  3784. startTime:
  3785. description: 开始时间
  3786. type: string
  3787. tradeDate:
  3788. description: 交易日
  3789. type: string
  3790. type: object
  3791. szdz.QueryConvertLogRsp:
  3792. properties:
  3793. accountid:
  3794. description: 资金账户ID
  3795. type: integer
  3796. clientticket:
  3797. description: 客户端流水号
  3798. type: string
  3799. converttype:
  3800. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  3801. type: integer
  3802. createtime:
  3803. description: 记账时间
  3804. type: string
  3805. daymaxvalue:
  3806. description: 配置当日最大转入限制
  3807. type: number
  3808. daymaxvalue2:
  3809. description: 配置当日最大转入限制(转入)
  3810. type: number
  3811. goodscode:
  3812. description: 商品代码
  3813. type: string
  3814. goodsname:
  3815. description: 商品名称
  3816. type: string
  3817. handlestatus:
  3818. description: 处理状态
  3819. type: integer
  3820. innergoodsid:
  3821. description: 内部商品ID
  3822. type: integer
  3823. inratio:
  3824. description: 配置转入比值
  3825. type: integer
  3826. invalue:
  3827. description: 目标值
  3828. type: number
  3829. logid:
  3830. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3831. type: integer
  3832. mobile:
  3833. description: 手机号码(加密存储)
  3834. type: string
  3835. outergoodscode:
  3836. description: 外部商品代码[JD\PD]
  3837. type: string
  3838. outratio:
  3839. description: 配置转出比值
  3840. type: integer
  3841. outvalue:
  3842. description: 源值
  3843. type: number
  3844. pddecimalplace:
  3845. description: PD小数位
  3846. type: integer
  3847. qty:
  3848. description: 数量
  3849. type: string
  3850. remark:
  3851. description: 备注
  3852. type: string
  3853. sessionid:
  3854. description: 会话ID
  3855. type: integer
  3856. timemaxvalue:
  3857. description: 配置单次最大转入限制
  3858. type: number
  3859. timemaxvalue2:
  3860. description: 配置单次最大转入限制(转入)
  3861. type: number
  3862. timeminvalue:
  3863. description: 配置单次最小数量限制
  3864. type: number
  3865. timeminvalue2:
  3866. description: 配置单次最小数量限制(转入)
  3867. type: number
  3868. tradedate:
  3869. description: 交易日(yyyyMMdd)
  3870. type: string
  3871. userid:
  3872. description: 用户ID
  3873. type: integer
  3874. required:
  3875. - logid
  3876. type: object
  3877. szdz.QueryGoodsPickupRsp:
  3878. properties:
  3879. accountid:
  3880. description: 账户ID
  3881. type: integer
  3882. address:
  3883. description: 提货人详细地址
  3884. type: string
  3885. auditer:
  3886. description: 审核人
  3887. type: integer
  3888. audittime:
  3889. description: 审核时间
  3890. type: string
  3891. cardnum:
  3892. description: 提货人证件号码
  3893. type: string
  3894. cardtypeid:
  3895. description: 提货人证件类型
  3896. type: integer
  3897. checkremark:
  3898. description: 审核备注
  3899. type: string
  3900. goodscode:
  3901. description: 商品代码
  3902. type: string
  3903. goodsid:
  3904. description: 商品ID
  3905. type: integer
  3906. goodsname:
  3907. description: 商品名称
  3908. type: string
  3909. handlestatus:
  3910. description: 处理状态
  3911. type: integer
  3912. marketid:
  3913. description: 市场ID
  3914. type: integer
  3915. phonenum:
  3916. description: 提货人联系方式
  3917. type: string
  3918. qty:
  3919. description: 提货数量
  3920. type: number
  3921. recivername:
  3922. description: 提货人姓名
  3923. type: string
  3924. reqtime:
  3925. description: 更新时间
  3926. type: string
  3927. takemode:
  3928. description: 提货方式 - 2:自提 3:配送
  3929. type: integer
  3930. takeorderid:
  3931. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3932. type: string
  3933. takeorderstatus:
  3934. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3935. type: integer
  3936. takeremark:
  3937. description: 提货备注
  3938. type: string
  3939. tradedate:
  3940. description: 交易日(yyyyMMdd)
  3941. type: string
  3942. userid:
  3943. description: 用户ID
  3944. type: integer
  3945. required:
  3946. - takeorderid
  3947. type: object
  3948. szdz.QueryRecieptOrderRsp:
  3949. properties:
  3950. accountName:
  3951. description: 所属账号名称(已脱敏)
  3952. type: string
  3953. accountid:
  3954. description: 资金账号
  3955. type: integer
  3956. buyorsell:
  3957. description: 方向 - 0:买 1:卖
  3958. type: integer
  3959. enableqty:
  3960. description: 可摘数量
  3961. type: integer
  3962. goodscode:
  3963. description: 商品代码
  3964. type: string
  3965. goodsid:
  3966. description: 商品ID
  3967. type: integer
  3968. goodsname:
  3969. description: 商品名称
  3970. type: string
  3971. orderid:
  3972. description: 委托单号
  3973. type: string
  3974. orderprice:
  3975. description: 委托价格
  3976. type: number
  3977. tradedate:
  3978. description: 交易日(yyyyMMdd)
  3979. type: string
  3980. type: object
  3981. szdz.QuerySZDZTradePositionRsp:
  3982. properties:
  3983. accountid:
  3984. description: 账号Id
  3985. type: integer
  3986. agreeunit:
  3987. description: 合约单位
  3988. type: number
  3989. averageprice:
  3990. description: 持仓均价
  3991. type: number
  3992. buyorsell:
  3993. description: 方向 - 0:买 1:卖
  3994. type: integer
  3995. closetotalqty:
  3996. description: 平仓总数量
  3997. type: integer
  3998. curholderamount:
  3999. description: 当前持仓总金额
  4000. type: number
  4001. curpositionqty:
  4002. description: 当前持仓总数量
  4003. type: integer
  4004. currencyid:
  4005. description: 报价货币ID
  4006. type: integer
  4007. curtdposition:
  4008. description: 期末今日头寸
  4009. type: integer
  4010. decimalplace:
  4011. description: 报价小数位
  4012. type: integer
  4013. enableqty:
  4014. description: 可用量
  4015. type: integer
  4016. fretdposition:
  4017. description: 冻结今日头寸
  4018. type: integer
  4019. frozenqty:
  4020. description: 持仓冻结数量
  4021. type: integer
  4022. goodscode:
  4023. description: 商品代码(内部)
  4024. type: string
  4025. goodsid:
  4026. description: 商品Id
  4027. type: integer
  4028. goodsname:
  4029. description: 商品名称
  4030. type: string
  4031. goodunit:
  4032. description: 报价单位
  4033. type: string
  4034. goodunitid:
  4035. description: 报价单位ID
  4036. type: integer
  4037. holderamount:
  4038. description: 期初持仓总金额
  4039. type: number
  4040. marketid:
  4041. description: 市场ID
  4042. type: integer
  4043. openreqqty:
  4044. description: 开仓申请数量
  4045. type: integer
  4046. opentotalqty:
  4047. description: 开仓总数量
  4048. type: integer
  4049. otherfrozenqty:
  4050. description: 持仓其他冻结数量(交割冻结)
  4051. type: integer
  4052. positionqty:
  4053. description: 期初持仓数量
  4054. type: integer
  4055. szdz3freezqty:
  4056. description: 尚志大宗转换冻结总数量
  4057. type: integer
  4058. tnqty:
  4059. description: T+N冻结总量
  4060. type: integer
  4061. tnusedqty:
  4062. description: T+N使用量
  4063. type: integer
  4064. trademode:
  4065. description: 交易模式
  4066. type: integer
  4067. usedmargin:
  4068. description: 占用保证金
  4069. type: number
  4070. type: object
  4071. taaccount.QueryAmountLogRsp:
  4072. properties:
  4073. OPERATETYPENAME:
  4074. description: 资金操作类型名称
  4075. type: string
  4076. accountid:
  4077. description: 资金账户ID
  4078. type: integer
  4079. agoodscode:
  4080. description: 竞拍商品代码
  4081. type: string
  4082. agoodsname:
  4083. description: 竞拍商品名称
  4084. type: string
  4085. amount:
  4086. description: 资金金额
  4087. type: number
  4088. amountadjusttype:
  4089. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4090. type: integer
  4091. autoid:
  4092. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4093. type: integer
  4094. balance:
  4095. description: 期初余额
  4096. type: number
  4097. businesscode:
  4098. description: 业务编号
  4099. type: integer
  4100. createtime:
  4101. description: 发生时间
  4102. type: string
  4103. currencyid:
  4104. description: 币种ID
  4105. type: integer
  4106. currentbalance:
  4107. description: 期末余额(变动后金额)
  4108. type: number
  4109. dgoodscode:
  4110. description: 交割商品代码
  4111. type: string
  4112. dgoodsname:
  4113. description: 交割商品名称
  4114. type: string
  4115. goodscode:
  4116. description: 商品代码
  4117. type: string
  4118. goodsid:
  4119. description: 商品ID
  4120. type: integer
  4121. goodsname:
  4122. description: 商品名称
  4123. type: string
  4124. marketid:
  4125. description: 市场ID
  4126. type: integer
  4127. marketname:
  4128. description: 市场名称
  4129. type: string
  4130. moneyticket:
  4131. description: 资金流水号:银行端流水号
  4132. type: integer
  4133. operatetype:
  4134. 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:营销收款
  4135. type: integer
  4136. relationorderid:
  4137. description: 关联单号
  4138. type: string
  4139. remark:
  4140. description: 备注
  4141. type: string
  4142. trademode:
  4143. description: 交易模式
  4144. type: integer
  4145. required:
  4146. - accountid
  4147. - amount
  4148. - amountadjusttype
  4149. - autoid
  4150. - balance
  4151. - createtime
  4152. - currentbalance
  4153. - operatetype
  4154. type: object
  4155. taaccount.QueryHisAmountLogRsp:
  4156. properties:
  4157. OPERATETYPENAME:
  4158. description: 资金操作类型名称
  4159. type: string
  4160. accountid:
  4161. description: 资金账户ID
  4162. type: integer
  4163. agoodscode:
  4164. description: 竞拍商品代码
  4165. type: string
  4166. agoodsname:
  4167. description: 竞拍商品名称
  4168. type: string
  4169. amount:
  4170. description: 资金金额
  4171. type: number
  4172. amountadjusttype:
  4173. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4174. type: integer
  4175. autoid:
  4176. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4177. type: integer
  4178. balance:
  4179. description: 期初余额
  4180. type: number
  4181. businesscode:
  4182. description: 业务编号
  4183. type: integer
  4184. createtime:
  4185. description: 发生时间
  4186. type: string
  4187. currencyid:
  4188. description: 币种ID
  4189. type: integer
  4190. currentbalance:
  4191. description: 期末余额(变动后金额)
  4192. type: number
  4193. dgoodscode:
  4194. description: 交割商品代码
  4195. type: string
  4196. dgoodsname:
  4197. description: 交割商品名称
  4198. type: string
  4199. goodscode:
  4200. description: 商品代码
  4201. type: string
  4202. goodsid:
  4203. description: 商品ID
  4204. type: integer
  4205. goodsname:
  4206. description: 商品名称
  4207. type: string
  4208. histradedate:
  4209. description: 历史交易日
  4210. type: string
  4211. isvaliddata:
  4212. description: 是否有效 - 0:无效 1:有效
  4213. type: integer
  4214. marketid:
  4215. description: 市场ID
  4216. type: integer
  4217. marketname:
  4218. description: 市场名称
  4219. type: string
  4220. moneyticket:
  4221. description: 资金流水号:银行端流水号
  4222. type: integer
  4223. operatetype:
  4224. 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:营销收款
  4225. type: integer
  4226. relationorderid:
  4227. description: 关联单号
  4228. type: string
  4229. remark:
  4230. description: 备注
  4231. type: string
  4232. trademode:
  4233. description: 交易模式
  4234. type: integer
  4235. required:
  4236. - accountid
  4237. - amount
  4238. - amountadjusttype
  4239. - autoid
  4240. - balance
  4241. - createtime
  4242. - currentbalance
  4243. - histradedate
  4244. - operatetype
  4245. type: object
  4246. info:
  4247. contact: {}
  4248. description: 新的查询服务,替代原通用查询服务。
  4249. license: {}
  4250. termsOfService: http://muchinfo.cn
  4251. title: MTP2.0 查询服务 API
  4252. version: "1.0"
  4253. paths:
  4254. /CPTrade/QueryCPTradeMyBidInfos:
  4255. get:
  4256. parameters:
  4257. - description: 资金账户
  4258. in: query
  4259. name: accountid
  4260. required: true
  4261. type: integer
  4262. - description: 预售市场ID
  4263. in: query
  4264. name: marketid
  4265. type: integer
  4266. - description: 预售商品ID
  4267. in: query
  4268. name: goodsid
  4269. type: integer
  4270. produces:
  4271. - application/json
  4272. responses:
  4273. "200":
  4274. description: OK
  4275. schema:
  4276. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4277. "500":
  4278. description: Internal Server Error
  4279. schema:
  4280. $ref: '#/definitions/app.Response'
  4281. security:
  4282. - ApiKeyAuth: []
  4283. summary: 查询产能预售我的出价信息
  4284. tags:
  4285. - 产能预售
  4286. /CPTrade/QueryCPTradeOrderDetail:
  4287. get:
  4288. parameters:
  4289. - description: 预售商品ID
  4290. in: query
  4291. name: goodsid
  4292. type: integer
  4293. - description: 预售市场ID
  4294. in: query
  4295. name: marketid
  4296. type: integer
  4297. - description: 预售商品ID列表 - 格式:1,2,3
  4298. in: query
  4299. name: goodsids
  4300. type: string
  4301. produces:
  4302. - application/json
  4303. responses:
  4304. "200":
  4305. description: OK
  4306. schema:
  4307. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4308. "500":
  4309. description: Internal Server Error
  4310. schema:
  4311. $ref: '#/definitions/app.Response'
  4312. security:
  4313. - ApiKeyAuth: []
  4314. summary: 查询产能预售委托单信息
  4315. tags:
  4316. - 产能预售
  4317. /CPTrade/QueryMyCPTradeGoods:
  4318. get:
  4319. parameters:
  4320. - description: 资金账户
  4321. in: query
  4322. name: accountid
  4323. required: true
  4324. type: integer
  4325. produces:
  4326. - application/json
  4327. responses:
  4328. "200":
  4329. description: OK
  4330. schema:
  4331. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  4332. "500":
  4333. description: Internal Server Error
  4334. schema:
  4335. $ref: '#/definitions/app.Response'
  4336. security:
  4337. - ApiKeyAuth: []
  4338. summary: 查询我的预售信息
  4339. tags:
  4340. - 产能预售
  4341. /CPTrade/QueryPositionCancel:
  4342. get:
  4343. parameters:
  4344. - description: 账户ID
  4345. in: query
  4346. name: userid
  4347. required: true
  4348. type: integer
  4349. - description: 注销ID
  4350. in: query
  4351. name: cancelid
  4352. type: integer
  4353. - description: 资金账户ID
  4354. in: query
  4355. name: accountid
  4356. type: integer
  4357. produces:
  4358. - application/json
  4359. responses:
  4360. "200":
  4361. description: OK
  4362. schema:
  4363. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  4364. "500":
  4365. description: Internal Server Error
  4366. schema:
  4367. $ref: '#/definitions/app.Response'
  4368. security:
  4369. - ApiKeyAuth: []
  4370. summary: 查询远期订单注销申请信息
  4371. tags:
  4372. - 产能预售
  4373. /CPTrade/QueryPreasleApply:
  4374. get:
  4375. parameters:
  4376. - description: 账户ID
  4377. in: query
  4378. name: userid
  4379. required: true
  4380. type: integer
  4381. - description: 申请ID
  4382. in: query
  4383. name: applyid
  4384. type: integer
  4385. - description: 资金账户ID
  4386. in: query
  4387. name: accountid
  4388. type: integer
  4389. produces:
  4390. - application/json
  4391. responses:
  4392. "200":
  4393. description: OK
  4394. schema:
  4395. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  4396. "500":
  4397. description: Internal Server Error
  4398. schema:
  4399. $ref: '#/definitions/app.Response'
  4400. security:
  4401. - ApiKeyAuth: []
  4402. summary: 查询产能预售申请信息
  4403. tags:
  4404. - 产能预售
  4405. /CPTrade/QueryPresaleGoodsEx:
  4406. get:
  4407. parameters:
  4408. - description: 预售商品ID
  4409. in: query
  4410. name: goodsid
  4411. type: integer
  4412. - description: 预售市场ID
  4413. in: query
  4414. name: marketid
  4415. type: integer
  4416. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  4417. in: query
  4418. name: presalemode
  4419. type: integer
  4420. - description: 预售商品ID列表 - 格式:1,2,3
  4421. in: query
  4422. name: goodsids
  4423. type: string
  4424. - description: 预售商品代码
  4425. in: query
  4426. name: goodscode
  4427. type: string
  4428. produces:
  4429. - application/json
  4430. responses:
  4431. "200":
  4432. description: OK
  4433. schema:
  4434. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  4435. "500":
  4436. description: Internal Server Error
  4437. schema:
  4438. $ref: '#/definitions/app.Response'
  4439. security:
  4440. - ApiKeyAuth: []
  4441. summary: 查询产能预售商品扩展信息
  4442. tags:
  4443. - 产能预售
  4444. /CPTrade/QueryUserGoodsData:
  4445. get:
  4446. parameters:
  4447. - description: 资金账户ID
  4448. in: query
  4449. name: accountid
  4450. required: true
  4451. type: integer
  4452. produces:
  4453. - application/json
  4454. responses:
  4455. "200":
  4456. description: OK
  4457. schema:
  4458. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  4459. "500":
  4460. description: Internal Server Error
  4461. schema:
  4462. $ref: '#/definitions/app.Response'
  4463. security:
  4464. - ApiKeyAuth: []
  4465. summary: 查询远期订单信息
  4466. tags:
  4467. - 产能预售
  4468. /Common/NoticeReaded:
  4469. post:
  4470. parameters:
  4471. - description: 登录账号
  4472. in: query
  4473. name: loginID
  4474. required: true
  4475. type: integer
  4476. - description: 通知公告ID
  4477. in: query
  4478. name: noticeID
  4479. required: true
  4480. type: integer
  4481. produces:
  4482. - application/json
  4483. responses:
  4484. "200":
  4485. description: OK
  4486. schema:
  4487. $ref: '#/definitions/app.Response'
  4488. "500":
  4489. description: Internal Server Error
  4490. schema:
  4491. $ref: '#/definitions/app.Response'
  4492. security:
  4493. - ApiKeyAuth: []
  4494. summary: 通知公告设置已读请求
  4495. tags:
  4496. - 通用服务
  4497. /Common/QueryImageConfigs:
  4498. get:
  4499. parameters:
  4500. - description: 类型 - 1:App首页轮播 2:我的
  4501. in: query
  4502. name: imageType
  4503. type: integer
  4504. produces:
  4505. - application/json
  4506. responses:
  4507. "200":
  4508. description: OK
  4509. schema:
  4510. $ref: '#/definitions/models.Szdz2imageconfig'
  4511. "500":
  4512. description: Internal Server Error
  4513. schema:
  4514. $ref: '#/definitions/app.Response'
  4515. summary: 查询轮播图配置信息
  4516. tags:
  4517. - 通用服务
  4518. /Common/QueryNotice:
  4519. get:
  4520. parameters:
  4521. - description: 页码
  4522. in: query
  4523. name: page
  4524. type: integer
  4525. - description: 每页条数
  4526. in: query
  4527. name: pagesize
  4528. type: integer
  4529. - description: 登录账号
  4530. in: query
  4531. name: loginID
  4532. required: true
  4533. type: integer
  4534. - description: 消息类型 - 1:公告通知 2:系统消息
  4535. in: query
  4536. name: msgType
  4537. type: integer
  4538. - description: 是否只获取未读信息
  4539. in: query
  4540. name: onlyUnRead
  4541. type: boolean
  4542. produces:
  4543. - application/json
  4544. responses:
  4545. "200":
  4546. description: OK
  4547. schema:
  4548. $ref: '#/definitions/common.QueryNoticeRsp'
  4549. "500":
  4550. description: Internal Server Error
  4551. schema:
  4552. $ref: '#/definitions/app.Response'
  4553. security:
  4554. - ApiKeyAuth: []
  4555. summary: 通知公告系统消息查询
  4556. tags:
  4557. - 通用服务
  4558. /Common/QueryProvincesAndCities:
  4559. get:
  4560. parameters:
  4561. - description: 省ID
  4562. in: query
  4563. name: provinceID
  4564. type: integer
  4565. produces:
  4566. - application/json
  4567. responses:
  4568. "200":
  4569. description: OK
  4570. schema:
  4571. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  4572. "500":
  4573. description: Internal Server Error
  4574. schema:
  4575. $ref: '#/definitions/app.Response'
  4576. summary: 查询省市信息(不包括区)
  4577. tags:
  4578. - 通用服务
  4579. /Common/QueryTableDefine:
  4580. get:
  4581. parameters:
  4582. - description: 表key
  4583. in: query
  4584. name: TableKey
  4585. type: string
  4586. produces:
  4587. - application/json
  4588. responses:
  4589. "200":
  4590. description: OK
  4591. schema:
  4592. $ref: '#/definitions/common.QueryTableDefineRsp'
  4593. "500":
  4594. description: Internal Server Error
  4595. schema:
  4596. $ref: '#/definitions/app.Response'
  4597. summary: 查询交易端列表头信息
  4598. tags:
  4599. - 通用服务
  4600. /Common/QueryTraderMenu:
  4601. get:
  4602. parameters:
  4603. - description: 登录账号
  4604. in: query
  4605. name: loginid
  4606. required: true
  4607. type: integer
  4608. produces:
  4609. - application/json
  4610. responses:
  4611. "200":
  4612. description: OK
  4613. schema:
  4614. $ref: '#/definitions/common.QueryTraderMenuRsp'
  4615. "500":
  4616. description: Internal Server Error
  4617. schema:
  4618. $ref: '#/definitions/app.Response'
  4619. summary: 查询交易端菜单
  4620. tags:
  4621. - 通用服务
  4622. /Delivery/QueryDeliveryRelation:
  4623. get:
  4624. parameters:
  4625. - description: 商品ID
  4626. in: query
  4627. name: goodsid
  4628. type: integer
  4629. - description: 品种ID
  4630. in: query
  4631. name: deliverygoodsid
  4632. type: integer
  4633. - description: 市场ID
  4634. in: query
  4635. name: marketid
  4636. type: integer
  4637. produces:
  4638. - application/json
  4639. responses:
  4640. "200":
  4641. description: OK
  4642. schema:
  4643. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  4644. "500":
  4645. description: Internal Server Error
  4646. schema:
  4647. $ref: '#/definitions/app.Response'
  4648. security:
  4649. - ApiKeyAuth: []
  4650. summary: 查询商品交割关系表
  4651. tags:
  4652. - 交割服务
  4653. /Erms2/QueryArbitrageStrategy:
  4654. get:
  4655. parameters:
  4656. - description: 账户ID
  4657. in: query
  4658. name: userid
  4659. required: true
  4660. type: integer
  4661. - description: 商品组ID(品种ID)
  4662. in: query
  4663. name: goodsgroupid
  4664. type: string
  4665. produces:
  4666. - application/json
  4667. responses:
  4668. "200":
  4669. description: OK
  4670. schema:
  4671. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  4672. "500":
  4673. description: Internal Server Error
  4674. schema:
  4675. $ref: '#/definitions/app.Response'
  4676. security:
  4677. - ApiKeyAuth: []
  4678. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  4679. tags:
  4680. - 风险管理
  4681. /Erms2/QueryInnerTradeDetail:
  4682. get:
  4683. parameters:
  4684. - description: 资金账户
  4685. in: query
  4686. name: accountid
  4687. required: true
  4688. type: integer
  4689. produces:
  4690. - application/json
  4691. responses:
  4692. "200":
  4693. description: OK
  4694. schema:
  4695. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  4696. "500":
  4697. description: Internal Server Error
  4698. schema:
  4699. $ref: '#/definitions/app.Response'
  4700. security:
  4701. - ApiKeyAuth: []
  4702. summary: 查询内部成交单信息
  4703. tags:
  4704. - 风险管理
  4705. /Erms2/QuerySpotContract:
  4706. get:
  4707. parameters:
  4708. - description: 策略申请ID
  4709. in: query
  4710. name: asapplyid
  4711. required: true
  4712. type: integer
  4713. - description: 现货合同ID
  4714. in: query
  4715. name: spotcontractid
  4716. type: integer
  4717. produces:
  4718. - application/json
  4719. responses:
  4720. "200":
  4721. description: OK
  4722. schema:
  4723. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  4724. "500":
  4725. description: Internal Server Error
  4726. schema:
  4727. $ref: '#/definitions/app.Response'
  4728. security:
  4729. - ApiKeyAuth: []
  4730. summary: 查询现货合同表信息(指定策略ID、未结束的)
  4731. tags:
  4732. - 风险管理
  4733. /Erms3/AddSpotContractApply:
  4734. post:
  4735. parameters:
  4736. - description: 申请参数
  4737. in: body
  4738. name: jsonBody
  4739. required: true
  4740. schema:
  4741. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  4742. produces:
  4743. - application/json
  4744. responses:
  4745. "200":
  4746. description: OK
  4747. schema:
  4748. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  4749. "500":
  4750. description: Internal Server Error
  4751. schema:
  4752. $ref: '#/definitions/app.Response'
  4753. security:
  4754. - ApiKeyAuth: []
  4755. summary: 新增现货合同申请
  4756. tags:
  4757. - 风险管理v3
  4758. /Erms3/QueryPendingAuditContract:
  4759. get:
  4760. parameters:
  4761. - description: 账号ID
  4762. in: query
  4763. name: accountid
  4764. required: true
  4765. type: integer
  4766. - description: 合同类型 1-采购 -1-销售
  4767. in: query
  4768. name: contracttype
  4769. required: true
  4770. type: integer
  4771. - description: 合同模式 1-普通 2-回购
  4772. in: query
  4773. name: contractmode
  4774. required: true
  4775. type: integer
  4776. produces:
  4777. - application/json
  4778. responses:
  4779. "200":
  4780. description: OK
  4781. schema:
  4782. items:
  4783. $ref: '#/definitions/erms3.QryAuditContractRsp'
  4784. type: array
  4785. "500":
  4786. description: Internal Server Error
  4787. schema:
  4788. $ref: '#/definitions/app.Response'
  4789. security:
  4790. - ApiKeyAuth: []
  4791. summary: 查询待审核合同
  4792. tags:
  4793. - 风险管理v3
  4794. /Erms3/QuerySpotContractAppleForm:
  4795. get:
  4796. parameters:
  4797. - description: 用户ID
  4798. in: query
  4799. name: userID
  4800. required: true
  4801. type: integer
  4802. produces:
  4803. - application/json
  4804. responses:
  4805. "200":
  4806. description: OK
  4807. schema:
  4808. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  4809. "500":
  4810. description: Internal Server Error
  4811. schema:
  4812. $ref: '#/definitions/app.Response'
  4813. security:
  4814. - ApiKeyAuth: []
  4815. summary: 查询合同申请表单数据
  4816. tags:
  4817. - 风险管理v3
  4818. /Erms3/QuerySpotContractDetail:
  4819. get:
  4820. parameters:
  4821. - description: 资金账号ID列表,用逗号分隔
  4822. in: query
  4823. name: accountids
  4824. required: true
  4825. type: string
  4826. - description: 合同类型,1为采购合同 -1为销售合同
  4827. in: query
  4828. name: contracttype
  4829. required: true
  4830. type: integer
  4831. - description: 合同模式,1为普通合同 2为回购销售合同
  4832. in: query
  4833. name: contractmode
  4834. required: true
  4835. type: integer
  4836. - description: 状态,0为履约中 1为已完成
  4837. in: query
  4838. name: status
  4839. required: true
  4840. type: integer
  4841. produces:
  4842. - application/json
  4843. responses:
  4844. "200":
  4845. description: OK
  4846. schema:
  4847. items:
  4848. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  4849. type: array
  4850. "500":
  4851. description: Internal Server Error
  4852. schema:
  4853. $ref: '#/definitions/app.Response'
  4854. security:
  4855. - ApiKeyAuth: []
  4856. summary: 查询合同详细信息
  4857. tags:
  4858. - 风险管理v3
  4859. /HSBY/GetHsbyMyCount:
  4860. get:
  4861. description: 说明: 不包括已完成的数量。
  4862. parameters:
  4863. - description: 资金账户列表,格式:1,2,3
  4864. in: query
  4865. name: accountIDs
  4866. required: true
  4867. type: string
  4868. produces:
  4869. - application/json
  4870. responses:
  4871. "200":
  4872. description: OK
  4873. schema:
  4874. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  4875. "500":
  4876. description: Internal Server Error
  4877. schema:
  4878. $ref: '#/definitions/app.Response'
  4879. security:
  4880. - ApiKeyAuth: []
  4881. summary: 获取我的订单与包裹数量
  4882. tags:
  4883. - 定制【海商报业】
  4884. /HSBY/QueryHsbyBuyMyTradeDetail:
  4885. get:
  4886. parameters:
  4887. - description: 页码
  4888. in: query
  4889. name: page
  4890. type: integer
  4891. - description: 每页条数
  4892. in: query
  4893. name: pagesize
  4894. type: integer
  4895. - description: 资金账户列表,格式:1,2,3
  4896. in: query
  4897. name: accountIDs
  4898. required: true
  4899. type: string
  4900. produces:
  4901. - application/json
  4902. responses:
  4903. "200":
  4904. description: OK
  4905. schema:
  4906. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  4907. "500":
  4908. description: Internal Server Error
  4909. schema:
  4910. $ref: '#/definitions/app.Response'
  4911. security:
  4912. - ApiKeyAuth: []
  4913. summary: 查询"我的订单 - 已完成"单据信息
  4914. tags:
  4915. - 定制【海商报业】
  4916. /HSBY/QueryHsbyGoodsOrderDetails:
  4917. get:
  4918. description: 说明:查询结果已按委托价格和委托时间排序
  4919. parameters:
  4920. - description: 商品ID
  4921. in: query
  4922. name: goodsID
  4923. required: true
  4924. type: integer
  4925. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  4926. in: query
  4927. name: accountIDs
  4928. required: true
  4929. type: string
  4930. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  4931. in: query
  4932. name: buyOrSell
  4933. type: integer
  4934. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  4935. in: query
  4936. name: price
  4937. type: number
  4938. - description: 档位,不传则默认为3档
  4939. in: query
  4940. name: speed
  4941. type: integer
  4942. produces:
  4943. - application/json
  4944. responses:
  4945. "200":
  4946. description: OK
  4947. schema:
  4948. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  4949. "500":
  4950. description: Internal Server Error
  4951. schema:
  4952. $ref: '#/definitions/app.Response'
  4953. security:
  4954. - ApiKeyAuth: []
  4955. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  4956. tags:
  4957. - 定制【海商报业】
  4958. /HSBY/QueryHsbyListingGoodsDetail:
  4959. get:
  4960. parameters:
  4961. - description: 商品ID
  4962. in: query
  4963. name: goodsID
  4964. required: true
  4965. type: integer
  4966. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  4967. in: query
  4968. name: AccountID
  4969. type: integer
  4970. produces:
  4971. - application/json
  4972. responses:
  4973. "200":
  4974. description: OK
  4975. schema:
  4976. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  4977. "500":
  4978. description: Internal Server Error
  4979. schema:
  4980. $ref: '#/definitions/app.Response'
  4981. security:
  4982. - ApiKeyAuth: []
  4983. summary: 查询二级市场(挂牌点选)商品信息详情
  4984. tags:
  4985. - 定制【海商报业】
  4986. /HSBY/QueryHsbyMyBuyOrderDetails:
  4987. get:
  4988. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  4989. parameters:
  4990. - description: 资金账户列表,格式:1,2,3
  4991. in: query
  4992. name: accountIDs
  4993. required: true
  4994. type: string
  4995. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  4996. in: query
  4997. name: myBuyStatus
  4998. type: integer
  4999. produces:
  5000. - application/json
  5001. responses:
  5002. "200":
  5003. description: OK
  5004. schema:
  5005. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  5006. "500":
  5007. description: Internal Server Error
  5008. schema:
  5009. $ref: '#/definitions/app.Response'
  5010. security:
  5011. - ApiKeyAuth: []
  5012. summary: 查询“我的订单”信息
  5013. tags:
  5014. - 定制【海商报业】
  5015. /HSBY/QueryHsbyMyGoods:
  5016. get:
  5017. parameters:
  5018. - description: 资金账户列表,格式:1,2,3
  5019. in: query
  5020. name: accountIDs
  5021. required: true
  5022. type: string
  5023. produces:
  5024. - application/json
  5025. responses:
  5026. "200":
  5027. description: OK
  5028. schema:
  5029. $ref: '#/definitions/models.HsbyMyGoods'
  5030. "500":
  5031. description: Internal Server Error
  5032. schema:
  5033. $ref: '#/definitions/app.Response'
  5034. security:
  5035. - ApiKeyAuth: []
  5036. summary: 查询“我的商品”信息
  5037. tags:
  5038. - 定制【海商报业】
  5039. /HSBY/QueryHsbyMyPackages:
  5040. get:
  5041. parameters:
  5042. - description: 资金账户列表,格式:1,2,3
  5043. in: query
  5044. name: accountIDs
  5045. required: true
  5046. type: string
  5047. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5048. in: query
  5049. name: takeOrderStatus
  5050. type: integer
  5051. produces:
  5052. - application/json
  5053. responses:
  5054. "200":
  5055. description: OK
  5056. schema:
  5057. $ref: '#/definitions/models.HsbyMyPackage'
  5058. "500":
  5059. description: Internal Server Error
  5060. schema:
  5061. $ref: '#/definitions/app.Response'
  5062. security:
  5063. - ApiKeyAuth: []
  5064. summary: 查询我的包裹信息
  5065. tags:
  5066. - 定制【海商报业】
  5067. /HSBY/QueryHsbyPreGoodsDetail:
  5068. get:
  5069. parameters:
  5070. - description: 商品ID
  5071. in: query
  5072. name: goodsID
  5073. required: true
  5074. type: integer
  5075. - description: 资金账户,主要用于获取预售商品购买上限
  5076. in: query
  5077. name: accountID
  5078. required: true
  5079. type: integer
  5080. produces:
  5081. - application/json
  5082. responses:
  5083. "200":
  5084. description: OK
  5085. schema:
  5086. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  5087. "500":
  5088. description: Internal Server Error
  5089. schema:
  5090. $ref: '#/definitions/app.Response'
  5091. security:
  5092. - ApiKeyAuth: []
  5093. summary: 查询一级市场(产能预售)商品信息详情
  5094. tags:
  5095. - 定制【海商报业】
  5096. /HSBY/QueryHsbyPreGoodses:
  5097. get:
  5098. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5099. parameters:
  5100. - description: 页码
  5101. in: query
  5102. name: page
  5103. type: integer
  5104. - description: 每页条数
  5105. in: query
  5106. name: pagesize
  5107. type: integer
  5108. - description: 市场ID列表,格式:1,2,3
  5109. in: query
  5110. name: marketIDs
  5111. required: true
  5112. type: string
  5113. - description: 目的地(省)ID
  5114. in: query
  5115. name: descProvinceID
  5116. type: integer
  5117. - description: 目的地(市)ID
  5118. in: query
  5119. name: descCityID
  5120. type: integer
  5121. produces:
  5122. - application/json
  5123. responses:
  5124. "200":
  5125. description: OK
  5126. schema:
  5127. $ref: '#/definitions/models.HsbyPreGoods'
  5128. "500":
  5129. description: Internal Server Error
  5130. schema:
  5131. $ref: '#/definitions/app.Response'
  5132. security:
  5133. - ApiKeyAuth: []
  5134. summary: 查询新品上市商品列表(一级市场产能预售)
  5135. tags:
  5136. - 定制【海商报业】
  5137. /HSBY/QueryHsbySellMyDetails:
  5138. get:
  5139. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  5140. parameters:
  5141. - description: 页码
  5142. in: query
  5143. name: page
  5144. type: integer
  5145. - description: 每页条数
  5146. in: query
  5147. name: pagesize
  5148. type: integer
  5149. - description: 资金账户列表,格式:1,2,3
  5150. in: query
  5151. name: accountIDs
  5152. required: true
  5153. type: string
  5154. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  5155. in: query
  5156. name: orderType
  5157. type: integer
  5158. produces:
  5159. - application/json
  5160. responses:
  5161. "200":
  5162. description: OK
  5163. schema:
  5164. $ref: '#/definitions/models.HsbySellMyDetail'
  5165. "500":
  5166. description: Internal Server Error
  5167. schema:
  5168. $ref: '#/definitions/app.Response'
  5169. security:
  5170. - ApiKeyAuth: []
  5171. summary: 查询"我的闲置"单据信息
  5172. tags:
  5173. - 定制【海商报业】
  5174. /HSBY/QueryHsbyTopGoodses:
  5175. get:
  5176. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  5177. parameters:
  5178. - description: 页码
  5179. in: query
  5180. name: page
  5181. type: integer
  5182. - description: 每页条数
  5183. in: query
  5184. name: pagesize
  5185. type: integer
  5186. - description: 市场ID列表,格式:1,2,3
  5187. in: query
  5188. name: marketIDs
  5189. required: true
  5190. type: string
  5191. - description: 目的地(省)ID
  5192. in: query
  5193. name: descProvinceID
  5194. type: integer
  5195. - description: 目的地(市)ID
  5196. in: query
  5197. name: descCityID
  5198. type: integer
  5199. produces:
  5200. - application/json
  5201. responses:
  5202. "200":
  5203. description: OK
  5204. schema:
  5205. $ref: '#/definitions/models.HsbyTopGoods'
  5206. "500":
  5207. description: Internal Server Error
  5208. schema:
  5209. $ref: '#/definitions/app.Response'
  5210. security:
  5211. - ApiKeyAuth: []
  5212. summary: 查询热卖商品列表(二级市场挂牌点选)
  5213. tags:
  5214. - 定制【海商报业】
  5215. /HSBY/QueryProvincesAndCities:
  5216. get:
  5217. description: 查询结果只包括二级市场商品已关连的省市信息。
  5218. parameters:
  5219. - description: 省ID
  5220. in: query
  5221. name: provinceID
  5222. type: integer
  5223. produces:
  5224. - application/json
  5225. responses:
  5226. "200":
  5227. description: OK
  5228. schema:
  5229. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  5230. "500":
  5231. description: Internal Server Error
  5232. schema:
  5233. $ref: '#/definitions/app.Response'
  5234. security:
  5235. - ApiKeyAuth: []
  5236. summary: 查询省市信息(不包括区)
  5237. tags:
  5238. - 定制【海商报业】
  5239. /HSBY/SetHsbyMyPackagesStatus:
  5240. post:
  5241. parameters:
  5242. - description: 提货单号
  5243. in: query
  5244. name: takeOrderID
  5245. required: true
  5246. type: string
  5247. - description: 资金账号
  5248. in: query
  5249. name: accountID
  5250. required: true
  5251. type: integer
  5252. produces:
  5253. - application/json
  5254. responses:
  5255. "200":
  5256. description: OK
  5257. schema:
  5258. $ref: '#/definitions/app.Response'
  5259. "500":
  5260. description: Internal Server Error
  5261. schema:
  5262. $ref: '#/definitions/app.Response'
  5263. security:
  5264. - ApiKeyAuth: []
  5265. summary: 设置我的包裹已收货状态
  5266. tags:
  5267. - 定制【海商报业】
  5268. /Order/QueryHisTradeDetail:
  5269. get:
  5270. parameters:
  5271. - description: 资金账户 - 格式:1,2,3
  5272. in: query
  5273. name: accountID
  5274. required: true
  5275. type: string
  5276. - description: 成交单号
  5277. in: query
  5278. name: tradeID
  5279. type: integer
  5280. - description: 委托单号
  5281. in: query
  5282. name: orderID
  5283. type: integer
  5284. - description: 交易模式 - 格式:1,2,3
  5285. in: query
  5286. name: tradeMode
  5287. type: string
  5288. - description: 委托单据类型
  5289. in: query
  5290. name: buildType
  5291. type: integer
  5292. - description: 成交类别 - 格式:1,2,3
  5293. in: query
  5294. name: tradeType
  5295. type: string
  5296. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5297. in: query
  5298. name: startDate
  5299. type: string
  5300. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5301. in: query
  5302. name: endDate
  5303. type: string
  5304. produces:
  5305. - application/json
  5306. responses:
  5307. "200":
  5308. description: OK
  5309. schema:
  5310. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  5311. "500":
  5312. description: Internal Server Error
  5313. schema:
  5314. $ref: '#/definitions/app.Response'
  5315. security:
  5316. - ApiKeyAuth: []
  5317. summary: 历史成交单查询(合约市场)
  5318. tags:
  5319. - 通用单据
  5320. /Order/QueryHisTradeOrderDetail:
  5321. get:
  5322. parameters:
  5323. - description: 资金账户 - 格式:1,2,3
  5324. in: query
  5325. name: accountID
  5326. required: true
  5327. type: string
  5328. - description: 交易模式 - 格式:1,2,3
  5329. in: query
  5330. name: tradeMode
  5331. type: string
  5332. - description: 委托状态 - 格式:1,2,3
  5333. in: query
  5334. name: orderStatus
  5335. type: string
  5336. - description: 委托单号
  5337. in: query
  5338. name: orderID
  5339. type: integer
  5340. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5341. in: query
  5342. name: startDate
  5343. type: string
  5344. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5345. in: query
  5346. name: endDate
  5347. type: string
  5348. produces:
  5349. - application/json
  5350. responses:
  5351. "200":
  5352. description: OK
  5353. schema:
  5354. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  5355. "500":
  5356. description: Internal Server Error
  5357. schema:
  5358. $ref: '#/definitions/app.Response'
  5359. security:
  5360. - ApiKeyAuth: []
  5361. summary: 历史委托单查询请求(合约市场)
  5362. tags:
  5363. - 通用单据
  5364. /Order/QueryTradeDetail:
  5365. get:
  5366. parameters:
  5367. - description: 资金账户 - 格式:1,2,3
  5368. in: query
  5369. name: accountID
  5370. required: true
  5371. type: string
  5372. - description: 成交单号
  5373. in: query
  5374. name: tradeID
  5375. type: integer
  5376. - description: 委托单号
  5377. in: query
  5378. name: orderID
  5379. type: integer
  5380. - description: 交易模式 - 格式:1,2,3
  5381. in: query
  5382. name: tradeMode
  5383. type: string
  5384. - description: 委托单据类型
  5385. in: query
  5386. name: buildType
  5387. type: integer
  5388. - description: 成交类别 - 格式:1,2,3
  5389. in: query
  5390. name: tradeType
  5391. type: string
  5392. produces:
  5393. - application/json
  5394. responses:
  5395. "200":
  5396. description: OK
  5397. schema:
  5398. $ref: '#/definitions/order.QueryTradeDetailRsp'
  5399. "500":
  5400. description: Internal Server Error
  5401. schema:
  5402. $ref: '#/definitions/app.Response'
  5403. security:
  5404. - ApiKeyAuth: []
  5405. summary: 成交单查询(合约市场)
  5406. tags:
  5407. - 通用单据
  5408. /Order/QueryTradeOrderDetail:
  5409. get:
  5410. parameters:
  5411. - description: 资金账户 - 格式:1,2,3
  5412. in: query
  5413. name: accountID
  5414. required: true
  5415. type: string
  5416. - description: 交易模式 - 格式:1,2,3
  5417. in: query
  5418. name: tradeMode
  5419. type: string
  5420. - description: 委托状态 - 格式:1,2,3
  5421. in: query
  5422. name: orderStatus
  5423. type: string
  5424. - description: 委托单号
  5425. in: query
  5426. name: orderID
  5427. type: integer
  5428. produces:
  5429. - application/json
  5430. responses:
  5431. "200":
  5432. description: OK
  5433. schema:
  5434. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  5435. "500":
  5436. description: Internal Server Error
  5437. schema:
  5438. $ref: '#/definitions/app.Response'
  5439. security:
  5440. - ApiKeyAuth: []
  5441. summary: 委托单查询请求(合约市场)
  5442. tags:
  5443. - 通用单据
  5444. /Order/QueryTradePosition:
  5445. get:
  5446. parameters:
  5447. - description: 资金账户 - 格式:1,2,3
  5448. in: query
  5449. name: accountID
  5450. required: true
  5451. type: string
  5452. - description: 交易模式 - 格式:1,2,3
  5453. in: query
  5454. name: tradeMode
  5455. type: string
  5456. produces:
  5457. - application/json
  5458. responses:
  5459. "200":
  5460. description: OK
  5461. schema:
  5462. $ref: '#/definitions/order.QueryTradePositionRsp'
  5463. "500":
  5464. description: Internal Server Error
  5465. schema:
  5466. $ref: '#/definitions/app.Response'
  5467. security:
  5468. - ApiKeyAuth: []
  5469. summary: 持仓汇总查询(合约市场)
  5470. tags:
  5471. - 通用单据
  5472. /Quote/QueryHistoryDatas:
  5473. get:
  5474. parameters:
  5475. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik'
  5476. in: query
  5477. name: cycleType
  5478. required: true
  5479. type: integer
  5480. - description: 商品代码
  5481. in: query
  5482. name: goodsCode
  5483. required: true
  5484. type: string
  5485. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  5486. in: query
  5487. name: startTime
  5488. type: string
  5489. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  5490. in: query
  5491. name: endTime
  5492. type: string
  5493. - description: 条数
  5494. in: query
  5495. name: count
  5496. type: integer
  5497. - description: 是否按时间顺序排序(默认为时间倒序排序)
  5498. in: query
  5499. name: isAsc
  5500. type: boolean
  5501. produces:
  5502. - application/json
  5503. responses:
  5504. "200":
  5505. description: OK
  5506. schema:
  5507. $ref: '#/definitions/quote.HistoryData'
  5508. "500":
  5509. description: Internal Server Error
  5510. schema:
  5511. $ref: '#/definitions/app.Response'
  5512. security:
  5513. - ApiKeyAuth: []
  5514. summary: 查询行情历史数据
  5515. tags:
  5516. - 行情服务
  5517. /Quote/QueryTSData:
  5518. get:
  5519. parameters:
  5520. - description: 商品代码
  5521. in: query
  5522. name: GoodsCode
  5523. required: true
  5524. type: string
  5525. produces:
  5526. - application/json
  5527. responses:
  5528. "200":
  5529. description: OK
  5530. schema:
  5531. $ref: '#/definitions/quote.QueryTSDataRsp'
  5532. "500":
  5533. description: Internal Server Error
  5534. schema:
  5535. $ref: '#/definitions/app.Response'
  5536. summary: 分时图数据查询
  5537. tags:
  5538. - 行情服务
  5539. /SZDZ/QueryConvertConfig:
  5540. get:
  5541. parameters:
  5542. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  5543. in: query
  5544. name: convertType
  5545. type: integer
  5546. - description: 外部商品代码[JD\PD]
  5547. in: query
  5548. name: outerGoodsCode
  5549. type: string
  5550. - description: 内部商品ID列表[交易],格式:1,2,3
  5551. in: query
  5552. name: innerGoodsIDs
  5553. type: string
  5554. produces:
  5555. - application/json
  5556. responses:
  5557. "200":
  5558. description: OK
  5559. schema:
  5560. $ref: '#/definitions/models.Szdz3convertconfig'
  5561. "500":
  5562. description: Internal Server Error
  5563. schema:
  5564. $ref: '#/definitions/app.Response'
  5565. security:
  5566. - ApiKeyAuth: []
  5567. summary: 查询交易系统转换设置
  5568. tags:
  5569. - 定制【尚志大宗】
  5570. /SZDZ/QueryConvertLog:
  5571. get:
  5572. parameters:
  5573. - description: 资金账户 - 格式:1,2,3
  5574. in: query
  5575. name: accountID
  5576. required: true
  5577. type: string
  5578. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  5579. in: query
  5580. name: startDate
  5581. type: string
  5582. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  5583. in: query
  5584. name: endDate
  5585. type: string
  5586. produces:
  5587. - application/json
  5588. responses:
  5589. "200":
  5590. description: OK
  5591. schema:
  5592. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  5593. "500":
  5594. description: Internal Server Error
  5595. schema:
  5596. $ref: '#/definitions/app.Response'
  5597. security:
  5598. - ApiKeyAuth: []
  5599. summary: 交易系统转换流水查询
  5600. tags:
  5601. - 定制【尚志大宗】
  5602. /SZDZ/QueryGoodsPickup:
  5603. get:
  5604. parameters:
  5605. - description: 资金账户 - 格式:1,2,3
  5606. in: query
  5607. name: accountID
  5608. required: true
  5609. type: string
  5610. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5611. in: query
  5612. name: takeOrderStatus
  5613. type: integer
  5614. produces:
  5615. - application/json
  5616. responses:
  5617. "200":
  5618. description: OK
  5619. schema:
  5620. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  5621. "500":
  5622. description: Internal Server Error
  5623. schema:
  5624. $ref: '#/definitions/app.Response'
  5625. security:
  5626. - ApiKeyAuth: []
  5627. summary: 商品提货单查询
  5628. tags:
  5629. - 定制【尚志大宗】
  5630. /SZDZ/QueryRecieptOrder:
  5631. get:
  5632. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  5633. parameters:
  5634. - description: 页码
  5635. in: query
  5636. name: page
  5637. type: integer
  5638. - description: 每页条数
  5639. in: query
  5640. name: pagesize
  5641. type: integer
  5642. - description: 商品ID
  5643. in: query
  5644. name: goodsID
  5645. required: true
  5646. type: integer
  5647. - description: 所属账户名称
  5648. in: query
  5649. name: accountName
  5650. type: string
  5651. - description: 市场ID
  5652. in: query
  5653. name: marketID
  5654. type: integer
  5655. - description: 方向 - 0:买 1:卖
  5656. in: query
  5657. name: buyorsell
  5658. required: true
  5659. type: integer
  5660. produces:
  5661. - application/json
  5662. responses:
  5663. "200":
  5664. description: OK
  5665. schema:
  5666. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  5667. "500":
  5668. description: Internal Server Error
  5669. schema:
  5670. $ref: '#/definitions/app.Response'
  5671. security:
  5672. - ApiKeyAuth: []
  5673. summary: 点选挂牌委托单据查询(摘牌大厅)
  5674. tags:
  5675. - 定制【尚志大宗】
  5676. /SZDZ/QuerySZDZTradePosition:
  5677. get:
  5678. parameters:
  5679. - description: 资金账户
  5680. in: query
  5681. name: accountID
  5682. required: true
  5683. type: integer
  5684. produces:
  5685. - application/json
  5686. responses:
  5687. "200":
  5688. description: OK
  5689. schema:
  5690. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  5691. "500":
  5692. description: Internal Server Error
  5693. schema:
  5694. $ref: '#/definitions/app.Response'
  5695. security:
  5696. - ApiKeyAuth: []
  5697. summary: 持仓汇总查询(尚志大宗)
  5698. tags:
  5699. - 定制【尚志大宗】
  5700. /SZDZ/SearchWhite:
  5701. get:
  5702. parameters:
  5703. - description: 用户ID
  5704. in: query
  5705. name: userID
  5706. required: true
  5707. type: integer
  5708. produces:
  5709. - application/json
  5710. responses:
  5711. "200":
  5712. description: OK
  5713. schema:
  5714. $ref: '#/definitions/models.Szdz3searchwhitelist'
  5715. "500":
  5716. description: Internal Server Error
  5717. schema:
  5718. $ref: '#/definitions/app.Response'
  5719. security:
  5720. - ApiKeyAuth: []
  5721. summary: 搜索白名单
  5722. tags:
  5723. - 定制【尚志大宗】
  5724. /Search/SearchGoodses:
  5725. get:
  5726. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  5727. parameters:
  5728. - description: 检索内容
  5729. in: query
  5730. name: content
  5731. required: true
  5732. type: string
  5733. produces:
  5734. - application/json
  5735. responses:
  5736. "200":
  5737. description: OK
  5738. schema:
  5739. $ref: '#/definitions/models.SearchGoods'
  5740. "500":
  5741. description: Internal Server Error
  5742. schema:
  5743. $ref: '#/definitions/app.Response'
  5744. summary: 检索商品信息
  5745. tags:
  5746. - 检索服务
  5747. /TaAccount/QueryAmountLog:
  5748. get:
  5749. parameters:
  5750. - description: 页码
  5751. in: query
  5752. name: page
  5753. type: integer
  5754. - description: 每页条数
  5755. in: query
  5756. name: pagesize
  5757. type: integer
  5758. - description: 资金账户 - 格式:1,2,3
  5759. in: query
  5760. name: accountID
  5761. required: true
  5762. type: string
  5763. - description: 资金操作类型 - 格式:1,2,3
  5764. in: query
  5765. name: OperateType
  5766. type: string
  5767. produces:
  5768. - application/json
  5769. responses:
  5770. "200":
  5771. description: OK
  5772. schema:
  5773. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  5774. "500":
  5775. description: Internal Server Error
  5776. schema:
  5777. $ref: '#/definitions/app.Response'
  5778. security:
  5779. - ApiKeyAuth: []
  5780. summary: 资金流水查询(当前)
  5781. tags:
  5782. - 资金账户
  5783. /TaAccount/QueryHisAmountLog:
  5784. get:
  5785. parameters:
  5786. - description: 页码
  5787. in: query
  5788. name: page
  5789. type: integer
  5790. - description: 每页条数
  5791. in: query
  5792. name: pagesize
  5793. type: integer
  5794. - description: 资金账户 - 格式:1,2,3
  5795. in: query
  5796. name: accountID
  5797. required: true
  5798. type: string
  5799. - description: 资金操作类型 - 格式:1,2,3
  5800. in: query
  5801. name: OperateType
  5802. type: string
  5803. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5804. in: query
  5805. name: startDate
  5806. type: string
  5807. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5808. in: query
  5809. name: endDate
  5810. type: string
  5811. produces:
  5812. - application/json
  5813. responses:
  5814. "200":
  5815. description: OK
  5816. schema:
  5817. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  5818. "500":
  5819. description: Internal Server Error
  5820. schema:
  5821. $ref: '#/definitions/app.Response'
  5822. security:
  5823. - ApiKeyAuth: []
  5824. summary: 资金流水查询(历史)
  5825. tags:
  5826. - 资金账户
  5827. /User/AddMessageBoard:
  5828. post:
  5829. parameters:
  5830. - description: 用户ID
  5831. in: query
  5832. name: userID
  5833. required: true
  5834. type: integer
  5835. - description: 留言信息
  5836. in: query
  5837. name: message
  5838. required: true
  5839. type: string
  5840. produces:
  5841. - application/json
  5842. responses:
  5843. "200":
  5844. description: OK
  5845. schema:
  5846. $ref: '#/definitions/app.Response'
  5847. "500":
  5848. description: Internal Server Error
  5849. schema:
  5850. $ref: '#/definitions/app.Response'
  5851. security:
  5852. - ApiKeyAuth: []
  5853. summary: 添加用户留言板信息
  5854. tags:
  5855. - 用户信息
  5856. /User/AddUserFavoriteGoods:
  5857. post:
  5858. parameters:
  5859. - description: 用户ID
  5860. in: query
  5861. name: userID
  5862. required: true
  5863. type: integer
  5864. - description: 商品ID
  5865. in: query
  5866. name: goodsID
  5867. required: true
  5868. type: integer
  5869. produces:
  5870. - application/json
  5871. responses:
  5872. "200":
  5873. description: OK
  5874. schema:
  5875. $ref: '#/definitions/app.Response'
  5876. "500":
  5877. description: Internal Server Error
  5878. schema:
  5879. $ref: '#/definitions/app.Response'
  5880. security:
  5881. - ApiKeyAuth: []
  5882. summary: 添加用户商品收藏信息
  5883. tags:
  5884. - 用户信息
  5885. /User/GetLoginID:
  5886. get:
  5887. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  5888. parameters:
  5889. - description: 登录代码
  5890. in: query
  5891. name: username
  5892. required: true
  5893. type: string
  5894. produces:
  5895. - application/json
  5896. responses:
  5897. "200":
  5898. description: OK
  5899. schema:
  5900. $ref: '#/definitions/app.Response'
  5901. "500":
  5902. description: Internal Server Error
  5903. schema:
  5904. $ref: '#/definitions/app.Response'
  5905. summary: 获取登录ID
  5906. tags:
  5907. - 用户信息
  5908. /User/GetUserAccount:
  5909. get:
  5910. parameters:
  5911. - description: 用户ID
  5912. in: query
  5913. name: userID
  5914. required: true
  5915. type: integer
  5916. produces:
  5917. - application/json
  5918. responses:
  5919. "200":
  5920. description: OK
  5921. schema:
  5922. $ref: '#/definitions/models.Useraccount'
  5923. "500":
  5924. description: Internal Server Error
  5925. schema:
  5926. $ref: '#/definitions/app.Response'
  5927. security:
  5928. - ApiKeyAuth: []
  5929. summary: 获取用户账号信息
  5930. tags:
  5931. - 用户信息
  5932. /User/GetUserAuthStatus:
  5933. get:
  5934. parameters:
  5935. - description: 用户ID
  5936. in: query
  5937. name: userID
  5938. required: true
  5939. type: integer
  5940. produces:
  5941. - application/json
  5942. responses:
  5943. "200":
  5944. description: OK
  5945. schema:
  5946. $ref: '#/definitions/app.Response'
  5947. "500":
  5948. description: Internal Server Error
  5949. schema:
  5950. $ref: '#/definitions/app.Response'
  5951. security:
  5952. - ApiKeyAuth: []
  5953. summary: 获取用户实名认证状态
  5954. tags:
  5955. - 用户信息
  5956. /User/QueryMessageBoard:
  5957. get:
  5958. parameters:
  5959. - description: 用户ID
  5960. in: query
  5961. name: userID
  5962. required: true
  5963. type: integer
  5964. produces:
  5965. - application/json
  5966. responses:
  5967. "200":
  5968. description: OK
  5969. schema:
  5970. $ref: '#/definitions/models.Messageboard'
  5971. "500":
  5972. description: Internal Server Error
  5973. schema:
  5974. $ref: '#/definitions/app.Response'
  5975. security:
  5976. - ApiKeyAuth: []
  5977. summary: 获取用户留言板信息
  5978. tags:
  5979. - 用户信息
  5980. /User/QueryUserFavoriteGoodses:
  5981. get:
  5982. parameters:
  5983. - description: 用户ID
  5984. in: query
  5985. name: userID
  5986. required: true
  5987. type: integer
  5988. produces:
  5989. - application/json
  5990. responses:
  5991. "200":
  5992. description: OK
  5993. schema:
  5994. $ref: '#/definitions/models.Userfavoritegoods'
  5995. "500":
  5996. description: Internal Server Error
  5997. schema:
  5998. $ref: '#/definitions/app.Response'
  5999. security:
  6000. - ApiKeyAuth: []
  6001. summary: 获取用户商品收藏信息
  6002. tags:
  6003. - 用户信息
  6004. /User/QueryUserInfo:
  6005. get:
  6006. parameters:
  6007. - description: 用户ID
  6008. in: query
  6009. name: userID
  6010. required: true
  6011. type: integer
  6012. produces:
  6013. - application/json
  6014. responses:
  6015. "200":
  6016. description: OK
  6017. schema:
  6018. $ref: '#/definitions/models.Userinfo'
  6019. "500":
  6020. description: Internal Server Error
  6021. schema:
  6022. $ref: '#/definitions/app.Response'
  6023. security:
  6024. - ApiKeyAuth: []
  6025. summary: 获取用户信息
  6026. tags:
  6027. - 用户信息
  6028. /User/QueryUserReferNum:
  6029. get:
  6030. parameters:
  6031. - description: 用户ID
  6032. in: query
  6033. name: userID
  6034. required: true
  6035. type: integer
  6036. produces:
  6037. - application/json
  6038. responses:
  6039. "200":
  6040. description: OK
  6041. schema:
  6042. $ref: '#/definitions/app.Response'
  6043. "500":
  6044. description: Internal Server Error
  6045. schema:
  6046. $ref: '#/definitions/app.Response'
  6047. summary: 获取用户邀请码
  6048. tags:
  6049. - 用户信息
  6050. /User/RemoveUserFavoriteGoods:
  6051. post:
  6052. parameters:
  6053. - description: 用户ID
  6054. in: query
  6055. name: userID
  6056. required: true
  6057. type: integer
  6058. - description: 商品ID
  6059. in: query
  6060. name: goodsID
  6061. required: true
  6062. type: integer
  6063. produces:
  6064. - application/json
  6065. responses:
  6066. "200":
  6067. description: OK
  6068. schema:
  6069. $ref: '#/definitions/app.Response'
  6070. "500":
  6071. description: Internal Server Error
  6072. schema:
  6073. $ref: '#/definitions/app.Response'
  6074. security:
  6075. - ApiKeyAuth: []
  6076. summary: 移除用户商品收藏信息
  6077. tags:
  6078. - 用户信息
  6079. /WRTrade/GetAllDeliveryGoods:
  6080. get:
  6081. produces:
  6082. - application/json
  6083. - application/json
  6084. responses:
  6085. "200":
  6086. description: OK
  6087. schema:
  6088. $ref: '#/definitions/app.Response'
  6089. "500":
  6090. description: Internal Server Error
  6091. schema:
  6092. $ref: '#/definitions/app.Response'
  6093. security:
  6094. - ApiKeyAuth: []
  6095. - ApiKeyAuth: []
  6096. summary: 获取带仓单分类的种类信息
  6097. tags:
  6098. - 仓单贸易
  6099. - 仓单贸易
  6100. securityDefinitions:
  6101. ApiKeyAuth:
  6102. in: header
  6103. name: Authorization
  6104. type: apiKey
  6105. swagger: "2.0"