docs.go 183 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/QueryTableDefine": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "查询交易端列表头信息",
  377. "parameters": [
  378. {
  379. "type": "string",
  380. "description": "表key",
  381. "name": "TableKey",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Tablecolumnconfig"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/QueryTraderMenu": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询交易端菜单",
  410. "parameters": [
  411. {
  412. "type": "integer",
  413. "description": "登录账号",
  414. "name": "loginid",
  415. "in": "query",
  416. "required": true
  417. }
  418. ],
  419. "responses": {
  420. "200": {
  421. "description": "OK",
  422. "schema": {
  423. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  424. }
  425. },
  426. "500": {
  427. "description": "Internal Server Error",
  428. "schema": {
  429. "$ref": "#/definitions/app.Response"
  430. }
  431. }
  432. }
  433. }
  434. },
  435. "/Delivery/QueryDeliveryRelation": {
  436. "get": {
  437. "security": [
  438. {
  439. "ApiKeyAuth": []
  440. }
  441. ],
  442. "produces": [
  443. "application/json"
  444. ],
  445. "tags": [
  446. "交割服务"
  447. ],
  448. "summary": "查询商品交割关系表",
  449. "parameters": [
  450. {
  451. "type": "integer",
  452. "description": "商品ID",
  453. "name": "goodsid",
  454. "in": "query"
  455. },
  456. {
  457. "type": "integer",
  458. "description": "品种ID",
  459. "name": "deliverygoodsid",
  460. "in": "query"
  461. },
  462. {
  463. "type": "integer",
  464. "description": "市场ID",
  465. "name": "marketid",
  466. "in": "query"
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  474. }
  475. },
  476. "500": {
  477. "description": "Internal Server Error",
  478. "schema": {
  479. "$ref": "#/definitions/app.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/Erms2/QueryArbitrageStrategy": {
  486. "get": {
  487. "security": [
  488. {
  489. "ApiKeyAuth": []
  490. }
  491. ],
  492. "produces": [
  493. "application/json"
  494. ],
  495. "tags": [
  496. "风险管理"
  497. ],
  498. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  499. "parameters": [
  500. {
  501. "type": "integer",
  502. "description": "账户ID",
  503. "name": "userid",
  504. "in": "query",
  505. "required": true
  506. },
  507. {
  508. "type": "string",
  509. "description": "商品组ID(品种ID)",
  510. "name": "goodsgroupid",
  511. "in": "query"
  512. }
  513. ],
  514. "responses": {
  515. "200": {
  516. "description": "OK",
  517. "schema": {
  518. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  519. }
  520. },
  521. "500": {
  522. "description": "Internal Server Error",
  523. "schema": {
  524. "$ref": "#/definitions/app.Response"
  525. }
  526. }
  527. }
  528. }
  529. },
  530. "/Erms2/QueryInnerTradeDetail": {
  531. "get": {
  532. "security": [
  533. {
  534. "ApiKeyAuth": []
  535. }
  536. ],
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "风险管理"
  542. ],
  543. "summary": "查询内部成交单信息",
  544. "parameters": [
  545. {
  546. "type": "integer",
  547. "description": "资金账户",
  548. "name": "accountid",
  549. "in": "query",
  550. "required": true
  551. }
  552. ],
  553. "responses": {
  554. "200": {
  555. "description": "OK",
  556. "schema": {
  557. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  558. }
  559. },
  560. "500": {
  561. "description": "Internal Server Error",
  562. "schema": {
  563. "$ref": "#/definitions/app.Response"
  564. }
  565. }
  566. }
  567. }
  568. },
  569. "/Erms2/QuerySpotContract": {
  570. "get": {
  571. "security": [
  572. {
  573. "ApiKeyAuth": []
  574. }
  575. ],
  576. "produces": [
  577. "application/json"
  578. ],
  579. "tags": [
  580. "风险管理"
  581. ],
  582. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  583. "parameters": [
  584. {
  585. "type": "integer",
  586. "description": "策略申请ID",
  587. "name": "asapplyid",
  588. "in": "query",
  589. "required": true
  590. },
  591. {
  592. "type": "integer",
  593. "description": "现货合同ID",
  594. "name": "spotcontractid",
  595. "in": "query"
  596. }
  597. ],
  598. "responses": {
  599. "200": {
  600. "description": "OK",
  601. "schema": {
  602. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  603. }
  604. },
  605. "500": {
  606. "description": "Internal Server Error",
  607. "schema": {
  608. "$ref": "#/definitions/app.Response"
  609. }
  610. }
  611. }
  612. }
  613. },
  614. "/Order/QueryHisTradeDetail": {
  615. "get": {
  616. "security": [
  617. {
  618. "ApiKeyAuth": []
  619. }
  620. ],
  621. "produces": [
  622. "application/json"
  623. ],
  624. "tags": [
  625. "通用单据"
  626. ],
  627. "summary": "历史成交单查询(合约市场)",
  628. "parameters": [
  629. {
  630. "type": "string",
  631. "description": "资金账户 - 格式:1,2,3",
  632. "name": "accountID",
  633. "in": "query",
  634. "required": true
  635. },
  636. {
  637. "type": "integer",
  638. "description": "成交单号",
  639. "name": "tradeID",
  640. "in": "query"
  641. },
  642. {
  643. "type": "integer",
  644. "description": "委托单号",
  645. "name": "orderID",
  646. "in": "query"
  647. },
  648. {
  649. "type": "string",
  650. "description": "交易模式 - 格式:1,2,3",
  651. "name": "tradeMode",
  652. "in": "query"
  653. },
  654. {
  655. "type": "integer",
  656. "description": "委托单据类型",
  657. "name": "buildType",
  658. "in": "query"
  659. },
  660. {
  661. "type": "string",
  662. "description": "成交类别 - 格式:1,2,3",
  663. "name": "tradeType",
  664. "in": "query"
  665. },
  666. {
  667. "type": "string",
  668. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  669. "name": "startDate",
  670. "in": "query"
  671. },
  672. {
  673. "type": "string",
  674. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  675. "name": "endDate",
  676. "in": "query"
  677. }
  678. ],
  679. "responses": {
  680. "200": {
  681. "description": "OK",
  682. "schema": {
  683. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  684. }
  685. },
  686. "500": {
  687. "description": "Internal Server Error",
  688. "schema": {
  689. "$ref": "#/definitions/app.Response"
  690. }
  691. }
  692. }
  693. }
  694. },
  695. "/Order/QueryHisTradeOrderDetail": {
  696. "get": {
  697. "security": [
  698. {
  699. "ApiKeyAuth": []
  700. }
  701. ],
  702. "produces": [
  703. "application/json"
  704. ],
  705. "tags": [
  706. "通用单据"
  707. ],
  708. "summary": "历史委托单查询请求(合约市场)",
  709. "parameters": [
  710. {
  711. "type": "string",
  712. "description": "资金账户 - 格式:1,2,3",
  713. "name": "accountID",
  714. "in": "query",
  715. "required": true
  716. },
  717. {
  718. "type": "string",
  719. "description": "交易模式 - 格式:1,2,3",
  720. "name": "tradeMode",
  721. "in": "query"
  722. },
  723. {
  724. "type": "string",
  725. "description": "委托状态 - 格式:1,2,3",
  726. "name": "orderStatus",
  727. "in": "query"
  728. },
  729. {
  730. "type": "integer",
  731. "description": "委托单号",
  732. "name": "orderID",
  733. "in": "query"
  734. },
  735. {
  736. "type": "string",
  737. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  738. "name": "startDate",
  739. "in": "query"
  740. },
  741. {
  742. "type": "string",
  743. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  744. "name": "endDate",
  745. "in": "query"
  746. }
  747. ],
  748. "responses": {
  749. "200": {
  750. "description": "OK",
  751. "schema": {
  752. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  753. }
  754. },
  755. "500": {
  756. "description": "Internal Server Error",
  757. "schema": {
  758. "$ref": "#/definitions/app.Response"
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "/Order/QueryTradeDetail": {
  765. "get": {
  766. "security": [
  767. {
  768. "ApiKeyAuth": []
  769. }
  770. ],
  771. "produces": [
  772. "application/json"
  773. ],
  774. "tags": [
  775. "通用单据"
  776. ],
  777. "summary": "成交单查询(合约市场)",
  778. "parameters": [
  779. {
  780. "type": "string",
  781. "description": "资金账户 - 格式:1,2,3",
  782. "name": "accountID",
  783. "in": "query",
  784. "required": true
  785. },
  786. {
  787. "type": "integer",
  788. "description": "成交单号",
  789. "name": "tradeID",
  790. "in": "query"
  791. },
  792. {
  793. "type": "integer",
  794. "description": "委托单号",
  795. "name": "orderID",
  796. "in": "query"
  797. },
  798. {
  799. "type": "string",
  800. "description": "交易模式 - 格式:1,2,3",
  801. "name": "tradeMode",
  802. "in": "query"
  803. },
  804. {
  805. "type": "integer",
  806. "description": "委托单据类型",
  807. "name": "buildType",
  808. "in": "query"
  809. },
  810. {
  811. "type": "string",
  812. "description": "成交类别 - 格式:1,2,3",
  813. "name": "tradeType",
  814. "in": "query"
  815. }
  816. ],
  817. "responses": {
  818. "200": {
  819. "description": "OK",
  820. "schema": {
  821. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  822. }
  823. },
  824. "500": {
  825. "description": "Internal Server Error",
  826. "schema": {
  827. "$ref": "#/definitions/app.Response"
  828. }
  829. }
  830. }
  831. }
  832. },
  833. "/Order/QueryTradeOrderDetail": {
  834. "get": {
  835. "security": [
  836. {
  837. "ApiKeyAuth": []
  838. }
  839. ],
  840. "produces": [
  841. "application/json"
  842. ],
  843. "tags": [
  844. "通用单据"
  845. ],
  846. "summary": "委托单查询请求(合约市场)",
  847. "parameters": [
  848. {
  849. "type": "string",
  850. "description": "资金账户 - 格式:1,2,3",
  851. "name": "accountID",
  852. "in": "query",
  853. "required": true
  854. },
  855. {
  856. "type": "string",
  857. "description": "交易模式 - 格式:1,2,3",
  858. "name": "tradeMode",
  859. "in": "query"
  860. },
  861. {
  862. "type": "string",
  863. "description": "委托状态 - 格式:1,2,3",
  864. "name": "orderStatus",
  865. "in": "query"
  866. },
  867. {
  868. "type": "integer",
  869. "description": "委托单号",
  870. "name": "orderID",
  871. "in": "query"
  872. }
  873. ],
  874. "responses": {
  875. "200": {
  876. "description": "OK",
  877. "schema": {
  878. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  879. }
  880. },
  881. "500": {
  882. "description": "Internal Server Error",
  883. "schema": {
  884. "$ref": "#/definitions/app.Response"
  885. }
  886. }
  887. }
  888. }
  889. },
  890. "/Order/QueryTradePosition": {
  891. "get": {
  892. "security": [
  893. {
  894. "ApiKeyAuth": []
  895. }
  896. ],
  897. "produces": [
  898. "application/json"
  899. ],
  900. "tags": [
  901. "通用单据"
  902. ],
  903. "summary": "持仓汇总查询(合约市场)",
  904. "parameters": [
  905. {
  906. "type": "string",
  907. "description": "资金账户 - 格式:1,2,3",
  908. "name": "accountID",
  909. "in": "query",
  910. "required": true
  911. },
  912. {
  913. "type": "string",
  914. "description": "交易模式 - 格式:1,2,3",
  915. "name": "tradeMode",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/order.QueryTradePositionRsp"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/SZDZ/QueryConvertConfig": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "定制【尚志大宗】"
  947. ],
  948. "summary": "查询交易系统转换设置",
  949. "parameters": [
  950. {
  951. "type": "integer",
  952. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易",
  953. "name": "convertType",
  954. "in": "query"
  955. },
  956. {
  957. "type": "string",
  958. "description": "外部商品代码[JD\\PD]",
  959. "name": "outerGoodsCode",
  960. "in": "query"
  961. },
  962. {
  963. "type": "string",
  964. "description": "内部商品ID列表[交易],格式:1,2,3",
  965. "name": "innerGoodsIDs",
  966. "in": "query"
  967. }
  968. ],
  969. "responses": {
  970. "200": {
  971. "description": "OK",
  972. "schema": {
  973. "$ref": "#/definitions/models.Szdz3convertconfig"
  974. }
  975. },
  976. "500": {
  977. "description": "Internal Server Error",
  978. "schema": {
  979. "$ref": "#/definitions/app.Response"
  980. }
  981. }
  982. }
  983. }
  984. },
  985. "/SZDZ/QueryConvertLog": {
  986. "get": {
  987. "security": [
  988. {
  989. "ApiKeyAuth": []
  990. }
  991. ],
  992. "produces": [
  993. "application/json"
  994. ],
  995. "tags": [
  996. "定制【尚志大宗】"
  997. ],
  998. "summary": "交易系统转换流水查询",
  999. "parameters": [
  1000. {
  1001. "type": "string",
  1002. "description": "资金账户 - 格式:1,2,3",
  1003. "name": "accountID",
  1004. "in": "query",
  1005. "required": true
  1006. },
  1007. {
  1008. "type": "string",
  1009. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1010. "name": "startDate",
  1011. "in": "query"
  1012. },
  1013. {
  1014. "type": "string",
  1015. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1016. "name": "endDate",
  1017. "in": "query"
  1018. }
  1019. ],
  1020. "responses": {
  1021. "200": {
  1022. "description": "OK",
  1023. "schema": {
  1024. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  1025. }
  1026. },
  1027. "500": {
  1028. "description": "Internal Server Error",
  1029. "schema": {
  1030. "$ref": "#/definitions/app.Response"
  1031. }
  1032. }
  1033. }
  1034. }
  1035. },
  1036. "/SZDZ/QueryGoodsPickup": {
  1037. "get": {
  1038. "security": [
  1039. {
  1040. "ApiKeyAuth": []
  1041. }
  1042. ],
  1043. "produces": [
  1044. "application/json"
  1045. ],
  1046. "tags": [
  1047. "定制【尚志大宗】"
  1048. ],
  1049. "summary": "商品提货单查询",
  1050. "parameters": [
  1051. {
  1052. "type": "string",
  1053. "description": "资金账户 - 格式:1,2,3",
  1054. "name": "accountID",
  1055. "in": "query",
  1056. "required": true
  1057. },
  1058. {
  1059. "type": "integer",
  1060. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1061. "name": "takeOrderStatus",
  1062. "in": "query"
  1063. }
  1064. ],
  1065. "responses": {
  1066. "200": {
  1067. "description": "OK",
  1068. "schema": {
  1069. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  1070. }
  1071. },
  1072. "500": {
  1073. "description": "Internal Server Error",
  1074. "schema": {
  1075. "$ref": "#/definitions/app.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/SZDZ/QueryRecieptOrder": {
  1082. "get": {
  1083. "security": [
  1084. {
  1085. "ApiKeyAuth": []
  1086. }
  1087. ],
  1088. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  1089. "produces": [
  1090. "application/json"
  1091. ],
  1092. "tags": [
  1093. "定制【尚志大宗】"
  1094. ],
  1095. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  1096. "parameters": [
  1097. {
  1098. "type": "integer",
  1099. "description": "页码",
  1100. "name": "page",
  1101. "in": "query"
  1102. },
  1103. {
  1104. "type": "integer",
  1105. "description": "每页条数",
  1106. "name": "pagesize",
  1107. "in": "query"
  1108. },
  1109. {
  1110. "type": "integer",
  1111. "description": "商品ID",
  1112. "name": "goodsID",
  1113. "in": "query",
  1114. "required": true
  1115. },
  1116. {
  1117. "type": "string",
  1118. "description": "所属账户名称",
  1119. "name": "accountName",
  1120. "in": "query"
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "市场ID",
  1125. "name": "marketID",
  1126. "in": "query"
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "方向 - 0:买 1:卖",
  1131. "name": "buyorsell",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  1140. }
  1141. },
  1142. "500": {
  1143. "description": "Internal Server Error",
  1144. "schema": {
  1145. "$ref": "#/definitions/app.Response"
  1146. }
  1147. }
  1148. }
  1149. }
  1150. },
  1151. "/SZDZ/SearchWhite": {
  1152. "get": {
  1153. "security": [
  1154. {
  1155. "ApiKeyAuth": []
  1156. }
  1157. ],
  1158. "produces": [
  1159. "application/json"
  1160. ],
  1161. "tags": [
  1162. "定制【尚志大宗】"
  1163. ],
  1164. "summary": "搜索白名单",
  1165. "parameters": [
  1166. {
  1167. "type": "integer",
  1168. "description": "用户ID",
  1169. "name": "userID",
  1170. "in": "query",
  1171. "required": true
  1172. }
  1173. ],
  1174. "responses": {
  1175. "200": {
  1176. "description": "OK",
  1177. "schema": {
  1178. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/TaAccount/QueryAmountLog": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "资金账户"
  1202. ],
  1203. "summary": "资金流水查询(当前)",
  1204. "parameters": [
  1205. {
  1206. "type": "integer",
  1207. "description": "页码",
  1208. "name": "page",
  1209. "in": "query"
  1210. },
  1211. {
  1212. "type": "integer",
  1213. "description": "每页条数",
  1214. "name": "pagesize",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "资金账户 - 格式:1,2,3",
  1220. "name": "accountID",
  1221. "in": "query",
  1222. "required": true
  1223. },
  1224. {
  1225. "type": "string",
  1226. "description": "资金操作类型 - 格式:1,2,3",
  1227. "name": "OperateType",
  1228. "in": "query"
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  1236. }
  1237. },
  1238. "500": {
  1239. "description": "Internal Server Error",
  1240. "schema": {
  1241. "$ref": "#/definitions/app.Response"
  1242. }
  1243. }
  1244. }
  1245. }
  1246. },
  1247. "/TaAccount/QueryHisAmountLog": {
  1248. "get": {
  1249. "security": [
  1250. {
  1251. "ApiKeyAuth": []
  1252. }
  1253. ],
  1254. "produces": [
  1255. "application/json"
  1256. ],
  1257. "tags": [
  1258. "资金账户"
  1259. ],
  1260. "summary": "资金流水查询(历史)",
  1261. "parameters": [
  1262. {
  1263. "type": "integer",
  1264. "description": "页码",
  1265. "name": "page",
  1266. "in": "query"
  1267. },
  1268. {
  1269. "type": "integer",
  1270. "description": "每页条数",
  1271. "name": "pagesize",
  1272. "in": "query"
  1273. },
  1274. {
  1275. "type": "string",
  1276. "description": "资金账户 - 格式:1,2,3",
  1277. "name": "accountID",
  1278. "in": "query",
  1279. "required": true
  1280. },
  1281. {
  1282. "type": "string",
  1283. "description": "资金操作类型 - 格式:1,2,3",
  1284. "name": "OperateType",
  1285. "in": "query"
  1286. },
  1287. {
  1288. "type": "string",
  1289. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1290. "name": "startDate",
  1291. "in": "query"
  1292. },
  1293. {
  1294. "type": "string",
  1295. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1296. "name": "endDate",
  1297. "in": "query"
  1298. }
  1299. ],
  1300. "responses": {
  1301. "200": {
  1302. "description": "OK",
  1303. "schema": {
  1304. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/User/GetLoginID": {
  1317. "get": {
  1318. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  1319. "produces": [
  1320. "application/json"
  1321. ],
  1322. "tags": [
  1323. "用户信息"
  1324. ],
  1325. "summary": "获取登录ID",
  1326. "parameters": [
  1327. {
  1328. "type": "string",
  1329. "description": "登录代码",
  1330. "name": "username",
  1331. "in": "query",
  1332. "required": true
  1333. }
  1334. ],
  1335. "responses": {
  1336. "200": {
  1337. "description": "OK",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/User/QueryUserInfo": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "用户信息"
  1363. ],
  1364. "summary": "获取用户信息",
  1365. "parameters": [
  1366. {
  1367. "type": "string",
  1368. "description": "用户ID",
  1369. "name": "userID",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "$ref": "#/definitions/models.Userinfo"
  1379. }
  1380. },
  1381. "500": {
  1382. "description": "Internal Server Error",
  1383. "schema": {
  1384. "$ref": "#/definitions/app.Response"
  1385. }
  1386. }
  1387. }
  1388. }
  1389. },
  1390. "/User/QueryUserReferNum": {
  1391. "get": {
  1392. "produces": [
  1393. "application/json"
  1394. ],
  1395. "tags": [
  1396. "用户信息"
  1397. ],
  1398. "summary": "获取用户邀请码",
  1399. "parameters": [
  1400. {
  1401. "type": "string",
  1402. "description": "用户ID",
  1403. "name": "userID",
  1404. "in": "query",
  1405. "required": true
  1406. }
  1407. ],
  1408. "responses": {
  1409. "200": {
  1410. "description": "OK",
  1411. "schema": {
  1412. "$ref": "#/definitions/app.Response"
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/WRTrade/GetAllDeliveryGoods": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "仓单贸易"
  1436. ],
  1437. "summary": "获取带仓单分类的种类信息",
  1438. "responses": {
  1439. "200": {
  1440. "description": "OK",
  1441. "schema": {
  1442. "$ref": "#/definitions/app.Response"
  1443. }
  1444. },
  1445. "500": {
  1446. "description": "Internal Server Error",
  1447. "schema": {
  1448. "$ref": "#/definitions/app.Response"
  1449. }
  1450. }
  1451. }
  1452. }
  1453. }
  1454. },
  1455. "definitions": {
  1456. "app.Response": {
  1457. "type": "object",
  1458. "properties": {
  1459. "code": {
  1460. "type": "integer"
  1461. },
  1462. "data": {
  1463. "type": "object"
  1464. },
  1465. "msg": {
  1466. "type": "string"
  1467. },
  1468. "page": {
  1469. "description": "页码",
  1470. "type": "integer"
  1471. },
  1472. "pagesize": {
  1473. "description": "每页条数",
  1474. "type": "integer"
  1475. },
  1476. "total": {
  1477. "description": "总条数",
  1478. "type": "integer"
  1479. }
  1480. }
  1481. },
  1482. "common.OperationPrimaryMenu": {
  1483. "type": "object",
  1484. "properties": {
  1485. "Children": {
  1486. "description": "二级功能菜单",
  1487. "type": "array",
  1488. "items": {
  1489. "$ref": "#/definitions/common.OperationSecondaryMenu"
  1490. }
  1491. },
  1492. "Key": {
  1493. "description": "菜单KEY",
  1494. "type": "string"
  1495. },
  1496. "Label": {
  1497. "description": "菜单标题",
  1498. "type": "string"
  1499. }
  1500. }
  1501. },
  1502. "common.OperationSecondaryMenu": {
  1503. "type": "object",
  1504. "properties": {
  1505. "Key": {
  1506. "description": "菜单KEY",
  1507. "type": "string"
  1508. },
  1509. "Label": {
  1510. "description": "菜单标题",
  1511. "type": "string"
  1512. },
  1513. "TabList": {
  1514. "description": "三级功能菜单",
  1515. "type": "array",
  1516. "items": {
  1517. "$ref": "#/definitions/common.OperationTabMenu"
  1518. }
  1519. }
  1520. }
  1521. },
  1522. "common.OperationTabMenu": {
  1523. "type": "object",
  1524. "properties": {
  1525. "Key": {
  1526. "description": "菜单KEY",
  1527. "type": "string"
  1528. },
  1529. "Label": {
  1530. "description": "菜单标题",
  1531. "type": "string"
  1532. }
  1533. }
  1534. },
  1535. "common.QueryTraderMenuRsp": {
  1536. "type": "object",
  1537. "properties": {
  1538. "OperationMenu": {
  1539. "description": "功能菜单",
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/common.OperationPrimaryMenu"
  1543. }
  1544. },
  1545. "QuoteMenu": {
  1546. "description": "报价牌分类菜单",
  1547. "type": "array",
  1548. "items": {
  1549. "$ref": "#/definitions/common.QuotePrimaryMenu"
  1550. }
  1551. }
  1552. }
  1553. },
  1554. "common.QuotePrimaryMenu": {
  1555. "type": "object",
  1556. "properties": {
  1557. "Index": {
  1558. "description": "序号",
  1559. "type": "integer"
  1560. },
  1561. "Key": {
  1562. "description": "键名",
  1563. "type": "string"
  1564. },
  1565. "Name": {
  1566. "description": "菜单名称",
  1567. "type": "string"
  1568. },
  1569. "SubMenus": {
  1570. "description": "子菜单",
  1571. "type": "array",
  1572. "items": {
  1573. "$ref": "#/definitions/common.QuoteSecondaryMenu"
  1574. }
  1575. },
  1576. "SubTitleType": {
  1577. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  1578. "type": "integer"
  1579. },
  1580. "TradeModes": {
  1581. "description": "包含市场交易类型",
  1582. "type": "string"
  1583. }
  1584. }
  1585. },
  1586. "common.QuoteSecondaryMenu": {
  1587. "type": "object",
  1588. "properties": {
  1589. "ExExchangeCode": {
  1590. "description": "外部交易所代码",
  1591. "type": "string"
  1592. },
  1593. "ExExchangeID": {
  1594. "description": "外部交易所ID",
  1595. "type": "integer"
  1596. },
  1597. "GoodsGroupIDs": {
  1598. "description": "商品组ID列表",
  1599. "type": "array",
  1600. "items": {
  1601. "type": "integer"
  1602. }
  1603. },
  1604. "Index": {
  1605. "description": "序号",
  1606. "type": "integer"
  1607. },
  1608. "MarketID": {
  1609. "description": "市场ID",
  1610. "type": "integer"
  1611. },
  1612. "MenuTitle": {
  1613. "description": "菜单标题(市场名称或外部交易所名称)",
  1614. "type": "string"
  1615. },
  1616. "TradeMode": {
  1617. "description": "交易模式",
  1618. "type": "integer"
  1619. }
  1620. }
  1621. },
  1622. "cptrade.Cptradepositioncancel": {
  1623. "type": "object",
  1624. "required": [
  1625. "cancelid"
  1626. ],
  1627. "properties": {
  1628. "accountid": {
  1629. "description": "申请人账户ID",
  1630. "type": "integer"
  1631. },
  1632. "applystatus": {
  1633. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  1634. "type": "integer"
  1635. },
  1636. "applytime": {
  1637. "description": "申请时间",
  1638. "type": "string"
  1639. },
  1640. "cancelid": {
  1641. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  1642. "type": "integer"
  1643. },
  1644. "cancelqty": {
  1645. "description": "注销数量",
  1646. "type": "integer"
  1647. },
  1648. "createtime": {
  1649. "description": "创建时间",
  1650. "type": "string"
  1651. },
  1652. "creatorid": {
  1653. "description": "创建人ID",
  1654. "type": "integer"
  1655. },
  1656. "creatorname": {
  1657. "description": "创建人",
  1658. "type": "string"
  1659. },
  1660. "goodscode": {
  1661. "description": "订单商品代码",
  1662. "type": "string"
  1663. },
  1664. "goodsid": {
  1665. "description": "商品ID",
  1666. "type": "integer"
  1667. },
  1668. "goodsname": {
  1669. "description": "订单商品名称",
  1670. "type": "string"
  1671. },
  1672. "goodunit": {
  1673. "description": "报价单位",
  1674. "type": "string"
  1675. },
  1676. "handlestatus": {
  1677. "description": "处理状态",
  1678. "type": "integer"
  1679. },
  1680. "marketid": {
  1681. "description": "市场ID",
  1682. "type": "integer"
  1683. },
  1684. "marketname": {
  1685. "description": "市场名称",
  1686. "type": "string"
  1687. },
  1688. "tradedate": {
  1689. "description": "交易日(yyyyMMdd)",
  1690. "type": "string"
  1691. },
  1692. "userid": {
  1693. "description": "申请人ID",
  1694. "type": "integer"
  1695. }
  1696. }
  1697. },
  1698. "cptrade.Cptradepresaleapply": {
  1699. "type": "object",
  1700. "required": [
  1701. "applyid"
  1702. ],
  1703. "properties": {
  1704. "accountid": {
  1705. "description": "申请人账户ID",
  1706. "type": "integer"
  1707. },
  1708. "applyid": {
  1709. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  1710. "type": "integer"
  1711. },
  1712. "applyremark": {
  1713. "description": "申请备注",
  1714. "type": "string"
  1715. },
  1716. "applystatus": {
  1717. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  1718. "type": "integer"
  1719. },
  1720. "applytime": {
  1721. "description": "申请时间",
  1722. "type": "string"
  1723. },
  1724. "attachmenturl": {
  1725. "description": "附件地址",
  1726. "type": "string"
  1727. },
  1728. "endtime": {
  1729. "description": "预售结束时间",
  1730. "type": "string"
  1731. },
  1732. "goodscode": {
  1733. "description": "商品代码",
  1734. "type": "string"
  1735. },
  1736. "goodsid": {
  1737. "description": "商品ID",
  1738. "type": "integer"
  1739. },
  1740. "goodsname": {
  1741. "description": "商品名称",
  1742. "type": "string"
  1743. },
  1744. "goodunit": {
  1745. "description": "报价单位",
  1746. "type": "string"
  1747. },
  1748. "handlestatus": {
  1749. "description": "处理状态",
  1750. "type": "integer"
  1751. },
  1752. "marketid": {
  1753. "description": "预售市场ID",
  1754. "type": "integer"
  1755. },
  1756. "marketname": {
  1757. "description": "预售市场名称",
  1758. "type": "string"
  1759. },
  1760. "presaleqty": {
  1761. "description": "预售数量",
  1762. "type": "integer"
  1763. },
  1764. "relatedgoodscode": {
  1765. "description": "关联交易合约代码",
  1766. "type": "string"
  1767. },
  1768. "relatedgoodsid": {
  1769. "description": "关联交易合约ID",
  1770. "type": "integer"
  1771. },
  1772. "relatedgoodsname": {
  1773. "description": "关联交易合约名称",
  1774. "type": "string"
  1775. },
  1776. "starttime": {
  1777. "description": "预售开始时间",
  1778. "type": "string"
  1779. },
  1780. "tradedate": {
  1781. "description": "交易日(yyyyMMdd)",
  1782. "type": "string"
  1783. },
  1784. "trademode": {
  1785. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  1786. "type": "integer"
  1787. },
  1788. "userid": {
  1789. "description": "申请人ID",
  1790. "type": "integer"
  1791. }
  1792. }
  1793. },
  1794. "cptrade.Cptradeusergoodsdata": {
  1795. "type": "object",
  1796. "required": [
  1797. "accountid",
  1798. "goodsid"
  1799. ],
  1800. "properties": {
  1801. "EnabledQty": {
  1802. "description": "可用量",
  1803. "type": "integer"
  1804. },
  1805. "GoodsCode": {
  1806. "description": "订单商品代码",
  1807. "type": "string"
  1808. },
  1809. "GoodsName": {
  1810. "description": "订单商品名称",
  1811. "type": "string"
  1812. },
  1813. "WRStandardCode": {
  1814. "description": "仓单标准代码",
  1815. "type": "string"
  1816. },
  1817. "WRStandardName": {
  1818. "description": "仓单标准名称",
  1819. "type": "string"
  1820. },
  1821. "accountid": {
  1822. "description": "账户ID",
  1823. "type": "integer"
  1824. },
  1825. "cancelqty": {
  1826. "description": "注销量",
  1827. "type": "integer"
  1828. },
  1829. "curpresaleqty": {
  1830. "description": "当前预售量",
  1831. "type": "integer"
  1832. },
  1833. "deliveryqty": {
  1834. "description": "交割量",
  1835. "type": "integer"
  1836. },
  1837. "freezeamount": {
  1838. "description": "冻结金额",
  1839. "type": "number"
  1840. },
  1841. "goodsid": {
  1842. "description": "商品ID",
  1843. "type": "integer"
  1844. },
  1845. "goodunit": {
  1846. "description": "报价单位",
  1847. "type": "string"
  1848. },
  1849. "hasspotfreeze": {
  1850. "description": "是否有现货冻结 - 0:否 1:有",
  1851. "type": "integer"
  1852. },
  1853. "inqty": {
  1854. "description": "转入量(总数量)",
  1855. "type": "integer"
  1856. },
  1857. "marketid": {
  1858. "description": "市场ID",
  1859. "type": "integer"
  1860. },
  1861. "presaledamount": {
  1862. "description": "已预售总金额",
  1863. "type": "integer"
  1864. },
  1865. "presaledqty": {
  1866. "description": "已预售量",
  1867. "type": "integer"
  1868. },
  1869. "userid": {
  1870. "description": "用户ID",
  1871. "type": "integer"
  1872. },
  1873. "wrstandardid": {
  1874. "description": "仓单标准ID",
  1875. "type": "integer"
  1876. }
  1877. }
  1878. },
  1879. "cptrade.QueryCPTradeMyBidRsp": {
  1880. "type": "object",
  1881. "required": [
  1882. "accountid",
  1883. "goodsid",
  1884. "marketid",
  1885. "orderid",
  1886. "orderqty",
  1887. "ordertime",
  1888. "tradeprice",
  1889. "tradeqty"
  1890. ],
  1891. "properties": {
  1892. "accountid": {
  1893. "description": "账户ID[报价币种]",
  1894. "type": "integer"
  1895. },
  1896. "goodsid": {
  1897. "description": "商品ID",
  1898. "type": "integer"
  1899. },
  1900. "goodunit": {
  1901. "description": "报价单位",
  1902. "type": "string"
  1903. },
  1904. "marketid": {
  1905. "description": "市场ID",
  1906. "type": "integer"
  1907. },
  1908. "orderid": {
  1909. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  1910. "type": "integer"
  1911. },
  1912. "orderprice": {
  1913. "description": "委托价格",
  1914. "type": "number"
  1915. },
  1916. "orderqty": {
  1917. "description": "委托数量",
  1918. "type": "integer"
  1919. },
  1920. "ordertime": {
  1921. "description": "委托时间",
  1922. "type": "string"
  1923. },
  1924. "ordertotalprice": {
  1925. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  1926. "type": "number"
  1927. },
  1928. "ordertotalweight": {
  1929. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  1930. "type": "integer"
  1931. },
  1932. "totaltotalprice": {
  1933. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  1934. "type": "number"
  1935. },
  1936. "tradeprice": {
  1937. "description": "成交价格",
  1938. "type": "number"
  1939. },
  1940. "tradeqty": {
  1941. "description": "成交数量",
  1942. "type": "integer"
  1943. }
  1944. }
  1945. },
  1946. "cptrade.QueryCPTradeOrderDetailRsq": {
  1947. "type": "object",
  1948. "required": [
  1949. "accountid",
  1950. "buildtype",
  1951. "buyorsell",
  1952. "goodsid",
  1953. "marketid",
  1954. "memberuserid",
  1955. "operatetype",
  1956. "orderqty",
  1957. "ordertime",
  1958. "pricemode",
  1959. "strorderid",
  1960. "tradedate",
  1961. "validtype"
  1962. ],
  1963. "properties": {
  1964. "accountid": {
  1965. "description": "账户ID[报价币种]",
  1966. "type": "integer"
  1967. },
  1968. "buildtype": {
  1969. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  1970. "type": "integer"
  1971. },
  1972. "buyorsell": {
  1973. "description": "买卖 - 0:买 1:卖",
  1974. "type": "integer"
  1975. },
  1976. "cancelorderid": {
  1977. "description": "撤单单号(撤单时填写)",
  1978. "type": "integer"
  1979. },
  1980. "cancelqty": {
  1981. "description": "撤单数量",
  1982. "type": "integer"
  1983. },
  1984. "clientordertime": {
  1985. "description": "客户端委托时间",
  1986. "type": "string"
  1987. },
  1988. "clientticket": {
  1989. "description": "客户端流水号",
  1990. "type": "string"
  1991. },
  1992. "clienttype": {
  1993. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  1994. "type": "integer"
  1995. },
  1996. "closeexchagechargevalue": {
  1997. "description": "平仓交易所手续费设置值",
  1998. "type": "number"
  1999. },
  2000. "closefeealgorithm": {
  2001. "description": "平仓手续费收取方式 1:比率 2:固定",
  2002. "type": "integer"
  2003. },
  2004. "closefreezecharge": {
  2005. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  2006. "type": "number"
  2007. },
  2008. "closememberchargevalue": {
  2009. "description": "平仓会员手续费设置值",
  2010. "type": "number"
  2011. },
  2012. "closeqty": {
  2013. "description": "平仓数量(先建后平操作 需要记录)",
  2014. "type": "integer"
  2015. },
  2016. "closetradeqty": {
  2017. "description": "平仓成交数量(先建后平操作,需要记录)",
  2018. "type": "integer"
  2019. },
  2020. "closeunfreezecharge": {
  2021. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  2022. "type": "number"
  2023. },
  2024. "delistingtype": {
  2025. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  2026. "type": "integer"
  2027. },
  2028. "freezecharge": {
  2029. "description": "冻结手续费",
  2030. "type": "number"
  2031. },
  2032. "freezemargin": {
  2033. "description": "冻结保证金(冻结交易金额)",
  2034. "type": "number"
  2035. },
  2036. "gcaccountid": {
  2037. "description": "账户ID[合约币种]",
  2038. "type": "integer"
  2039. },
  2040. "goodsid": {
  2041. "description": "商品ID",
  2042. "type": "integer"
  2043. },
  2044. "isconfirmexercise": {
  2045. "description": "是否确认行权- 0:否 1:是",
  2046. "type": "integer"
  2047. },
  2048. "ispreexercise": {
  2049. "description": "是否预申报- 0:否 1:是",
  2050. "type": "integer"
  2051. },
  2052. "listingselecttype": {
  2053. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  2054. "type": "integer"
  2055. },
  2056. "marginalgorithm": {
  2057. "description": "保证金收取方式 1:比率 2:固定",
  2058. "type": "integer"
  2059. },
  2060. "marginvalue": {
  2061. "description": "即市保证金设置值",
  2062. "type": "number"
  2063. },
  2064. "marketid": {
  2065. "description": "市场ID",
  2066. "type": "integer"
  2067. },
  2068. "marketmaxsub": {
  2069. "description": "市价最大偏移范围",
  2070. "type": "number"
  2071. },
  2072. "memberuserid": {
  2073. "description": "所属会员UserID",
  2074. "type": "integer"
  2075. },
  2076. "openexchagechargevalue": {
  2077. "description": "建仓交易所手续费设置值",
  2078. "type": "number"
  2079. },
  2080. "openfeealgorithm": {
  2081. "description": "建仓手续费收取方式 1:比率 2:固定",
  2082. "type": "integer"
  2083. },
  2084. "openfreezecharge": {
  2085. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  2086. "type": "number"
  2087. },
  2088. "openmemberchargevalue": {
  2089. "description": "建仓会员手续费设置值",
  2090. "type": "number"
  2091. },
  2092. "openqty": {
  2093. "description": "开仓数量(先建后平操作,需要记录)",
  2094. "type": "integer"
  2095. },
  2096. "opentradeqty": {
  2097. "description": "开仓成交数量(先建后平操作,需要记录)",
  2098. "type": "integer"
  2099. },
  2100. "openunfreezecharge": {
  2101. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  2102. "type": "number"
  2103. },
  2104. "operatetype": {
  2105. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  2106. "type": "integer"
  2107. },
  2108. "operatorid": {
  2109. "description": "登录账号(LoginID)",
  2110. "type": "integer"
  2111. },
  2112. "optiontype": {
  2113. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  2114. "type": "integer"
  2115. },
  2116. "orderprice": {
  2117. "description": "委托价格",
  2118. "type": "number"
  2119. },
  2120. "orderqty": {
  2121. "description": "委托数量",
  2122. "type": "integer"
  2123. },
  2124. "ordersrc": {
  2125. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  2126. "type": "integer"
  2127. },
  2128. "orderstatus": {
  2129. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  2130. "type": "integer"
  2131. },
  2132. "ordertime": {
  2133. "description": "委托时间",
  2134. "type": "string"
  2135. },
  2136. "preexerciseprice": {
  2137. "description": "预申报价格",
  2138. "type": "number"
  2139. },
  2140. "premium": {
  2141. "description": "权利金",
  2142. "type": "number"
  2143. },
  2144. "preorderid": {
  2145. "description": "关联预埋单号(止盈止损单时填写)",
  2146. "type": "integer"
  2147. },
  2148. "pricemode": {
  2149. "description": "取价方式 - 1:市价 2: 限价",
  2150. "type": "integer"
  2151. },
  2152. "quoteid": {
  2153. "description": "报价单ID",
  2154. "type": "integer"
  2155. },
  2156. "relatedid": {
  2157. "description": "关联单号(交割单)",
  2158. "type": "integer"
  2159. },
  2160. "retcode": {
  2161. "description": "错误代码",
  2162. "type": "integer"
  2163. },
  2164. "sessionid": {
  2165. "description": "会话ID",
  2166. "type": "integer"
  2167. },
  2168. "strorderid": {
  2169. "description": "委托单号",
  2170. "type": "string"
  2171. },
  2172. "tradedate": {
  2173. "description": "交易日(yyyyMMdd)",
  2174. "type": "string"
  2175. },
  2176. "tradeproperty": {
  2177. "description": "交易属性",
  2178. "type": "integer"
  2179. },
  2180. "tradeqty": {
  2181. "description": "成交数量",
  2182. "type": "integer"
  2183. },
  2184. "unfreezecharge": {
  2185. "description": "解冻手续费",
  2186. "type": "number"
  2187. },
  2188. "unfreezemargin": {
  2189. "description": "解冻保证金",
  2190. "type": "number"
  2191. },
  2192. "updatetime": {
  2193. "description": "更新时间",
  2194. "type": "string"
  2195. },
  2196. "uuid": {
  2197. "description": "发起端唯一id",
  2198. "type": "string"
  2199. },
  2200. "validtime": {
  2201. "description": "有效期限",
  2202. "type": "string"
  2203. },
  2204. "validtype": {
  2205. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  2206. "type": "integer"
  2207. },
  2208. "volumetype": {
  2209. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  2210. "type": "integer"
  2211. }
  2212. }
  2213. },
  2214. "cptrade.QueryMyCPTradeGoodsRsp": {
  2215. "type": "object",
  2216. "required": [
  2217. "goodscode",
  2218. "goodsid",
  2219. "goodsname",
  2220. "marketid",
  2221. "relatedgoodscode",
  2222. "relatedgoodsname"
  2223. ],
  2224. "properties": {
  2225. "accountid": {
  2226. "description": "卖方账户ID",
  2227. "type": "integer"
  2228. },
  2229. "agreeunit": {
  2230. "description": "合约单位",
  2231. "type": "number"
  2232. },
  2233. "applyid": {
  2234. "description": "关联申请ID",
  2235. "type": "integer"
  2236. },
  2237. "attachmenturl": {
  2238. "description": "附件地址",
  2239. "type": "string"
  2240. },
  2241. "createtime": {
  2242. "description": "创建时间",
  2243. "type": "string"
  2244. },
  2245. "currencyid": {
  2246. "description": "报价货币ID",
  2247. "type": "integer"
  2248. },
  2249. "decimalplace": {
  2250. "description": "报价小数位",
  2251. "type": "integer"
  2252. },
  2253. "endtime": {
  2254. "description": "预售结束时间",
  2255. "type": "string"
  2256. },
  2257. "floorprice": {
  2258. "description": "底价[大宗式竞拍]",
  2259. "type": "number"
  2260. },
  2261. "goodscode": {
  2262. "description": "商品代码(预售)",
  2263. "type": "string"
  2264. },
  2265. "goodsdetail": {
  2266. "description": "详情[大宗]",
  2267. "type": "string"
  2268. },
  2269. "goodsid": {
  2270. "description": "商品ID(自增ID SEQ_GOODS)",
  2271. "type": "integer"
  2272. },
  2273. "goodsname": {
  2274. "description": "商品名称(预售)",
  2275. "type": "string"
  2276. },
  2277. "goodunit": {
  2278. "description": "报价单位",
  2279. "type": "string"
  2280. },
  2281. "goodunitid": {
  2282. "description": "报价单位ID",
  2283. "type": "integer"
  2284. },
  2285. "marketid": {
  2286. "description": "所属市场ID",
  2287. "type": "integer"
  2288. },
  2289. "marketname": {
  2290. "description": "预售市场名称",
  2291. "type": "string"
  2292. },
  2293. "presaledamount": {
  2294. "description": "已预售总金额(预售结束时更新)",
  2295. "type": "number"
  2296. },
  2297. "presaledqty": {
  2298. "description": "已预售量(预售结束时更新)",
  2299. "type": "integer"
  2300. },
  2301. "presalemode": {
  2302. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  2303. "type": "integer"
  2304. },
  2305. "presaleqty": {
  2306. "description": "预售数量",
  2307. "type": "integer"
  2308. },
  2309. "refprice": {
  2310. "description": "参考价格[一口价]",
  2311. "type": "number"
  2312. },
  2313. "relatedgoodscode": {
  2314. "description": "商品代码(订单)",
  2315. "type": "string"
  2316. },
  2317. "relatedgoodsid": {
  2318. "description": "关联交易合约ID",
  2319. "type": "integer"
  2320. },
  2321. "relatedgoodsname": {
  2322. "description": "商品名称(订单)",
  2323. "type": "string"
  2324. },
  2325. "relatedmarketid": {
  2326. "description": "关联交易合约市场ID",
  2327. "type": "integer"
  2328. },
  2329. "sellstatus": {
  2330. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  2331. "type": "integer"
  2332. },
  2333. "startprice": {
  2334. "description": "起拍价[大宗式竞拍]",
  2335. "type": "number"
  2336. },
  2337. "starttime": {
  2338. "description": "预售开始时间",
  2339. "type": "string"
  2340. },
  2341. "tradedate": {
  2342. "description": "交易日(yyyyMMdd)",
  2343. "type": "string"
  2344. },
  2345. "tradeprice": {
  2346. "description": "成交价[大宗]",
  2347. "type": "number"
  2348. },
  2349. "userid": {
  2350. "description": "卖方用户ID",
  2351. "type": "integer"
  2352. }
  2353. }
  2354. },
  2355. "cptrade.QueryPresaleGoodsExRsp": {
  2356. "type": "object",
  2357. "required": [
  2358. "goodsid"
  2359. ],
  2360. "properties": {
  2361. "attachmenturl": {
  2362. "description": "附件地址",
  2363. "type": "string"
  2364. },
  2365. "createtime": {
  2366. "description": "创建时间",
  2367. "type": "string"
  2368. },
  2369. "endtime": {
  2370. "description": "预售结束时间",
  2371. "type": "string"
  2372. },
  2373. "floorprice": {
  2374. "description": "底价[大宗式竞拍]",
  2375. "type": "number"
  2376. },
  2377. "goodsdetail": {
  2378. "description": "详情[大宗]",
  2379. "type": "string"
  2380. },
  2381. "goodsid": {
  2382. "description": "商品ID(预售)",
  2383. "type": "integer"
  2384. },
  2385. "goodunit": {
  2386. "description": "报价单位",
  2387. "type": "string"
  2388. },
  2389. "marketid": {
  2390. "description": "预售市场ID - 根据预售模式选择市场",
  2391. "type": "integer"
  2392. },
  2393. "presaledamount": {
  2394. "description": "已预售总金额(预售结束时更新)",
  2395. "type": "number"
  2396. },
  2397. "presaledqty": {
  2398. "description": "已预售量(预售结束时更新)",
  2399. "type": "integer"
  2400. },
  2401. "presalemode": {
  2402. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  2403. "type": "integer"
  2404. },
  2405. "presaleqty": {
  2406. "description": "预售数量",
  2407. "type": "integer"
  2408. },
  2409. "refprice": {
  2410. "description": "参考价格[一口价]",
  2411. "type": "number"
  2412. },
  2413. "relatedgoodsid": {
  2414. "description": "关联交易合约ID",
  2415. "type": "integer"
  2416. },
  2417. "relatedmarketid": {
  2418. "description": "关联交易合约市场ID",
  2419. "type": "integer"
  2420. },
  2421. "sellstatus": {
  2422. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  2423. "type": "integer"
  2424. },
  2425. "startprice": {
  2426. "description": "起拍价[大宗式竞拍]",
  2427. "type": "number"
  2428. },
  2429. "starttime": {
  2430. "description": "预售开始时间",
  2431. "type": "string"
  2432. },
  2433. "tradedate": {
  2434. "description": "交易日(yyyyMMdd)",
  2435. "type": "string"
  2436. },
  2437. "tradeprice": {
  2438. "description": "成交价[大宗]",
  2439. "type": "number"
  2440. }
  2441. }
  2442. },
  2443. "delivery.QueryDeliveryRelationRsp": {
  2444. "type": "object",
  2445. "required": [
  2446. "begindate",
  2447. "enddate",
  2448. "goodsid",
  2449. "mindeliveryqty",
  2450. "xdeliveryratio"
  2451. ],
  2452. "properties": {
  2453. "begindate": {
  2454. "description": "起始日期(yyyyMMdd)",
  2455. "type": "string"
  2456. },
  2457. "buytemplateid": {
  2458. "description": "买履约计划模板ID",
  2459. "type": "integer"
  2460. },
  2461. "deliverygoodscode": {
  2462. "description": "品种代码",
  2463. "type": "string"
  2464. },
  2465. "deliverygoodsid": {
  2466. "description": "交割商品",
  2467. "type": "integer"
  2468. },
  2469. "deliverygoodsname": {
  2470. "description": "品种名称",
  2471. "type": "string"
  2472. },
  2473. "deliverymode": {
  2474. "description": "交割方式 - 1:点选式 2:申报式",
  2475. "type": "integer"
  2476. },
  2477. "deliverypricerule": {
  2478. "description": "交割价规则- 1:行情价 2:建仓价",
  2479. "type": "integer"
  2480. },
  2481. "deliverytype": {
  2482. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  2483. "type": "integer"
  2484. },
  2485. "enddate": {
  2486. "description": "结束日期(yyyyMMdd)",
  2487. "type": "string"
  2488. },
  2489. "goodscode": {
  2490. "description": "商品代码",
  2491. "type": "string"
  2492. },
  2493. "goodsid": {
  2494. "description": "交易合约ID",
  2495. "type": "integer"
  2496. },
  2497. "goodsname": {
  2498. "description": "商品名称",
  2499. "type": "string"
  2500. },
  2501. "marketid": {
  2502. "description": "市场ID",
  2503. "type": "integer"
  2504. },
  2505. "mindeliveryqty": {
  2506. "description": "最小交割系数(K)",
  2507. "type": "integer"
  2508. },
  2509. "p2deliveryprice": {
  2510. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  2511. "type": "number"
  2512. },
  2513. "p2deliveryratio": {
  2514. "description": "P2合约系数(p)",
  2515. "type": "integer"
  2516. },
  2517. "p2goodsid": {
  2518. "description": "P2合约ID",
  2519. "type": "integer"
  2520. },
  2521. "p2pricemode": {
  2522. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  2523. "type": "integer"
  2524. },
  2525. "pdeliveryprice": {
  2526. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  2527. "type": "number"
  2528. },
  2529. "pdeliveryratio": {
  2530. "description": "P合约系数(n)",
  2531. "type": "integer"
  2532. },
  2533. "pgoodsid": {
  2534. "description": "P合约ID",
  2535. "type": "integer"
  2536. },
  2537. "ppricemode": {
  2538. "description": "P合约价格方式 - 1:商品价 2:固定值",
  2539. "type": "integer"
  2540. },
  2541. "rratio": {
  2542. "description": "兑换系数(R)",
  2543. "type": "integer"
  2544. },
  2545. "rratio1": {
  2546. "description": "兑换系数(交易合约)(R1)",
  2547. "type": "integer"
  2548. },
  2549. "rratio2": {
  2550. "description": "兑换系数(仓单标准)(R2)",
  2551. "type": "integer"
  2552. },
  2553. "selltemplateid": {
  2554. "description": "卖履约计划模板ID",
  2555. "type": "integer"
  2556. },
  2557. "wrstandardid": {
  2558. "description": "仓单标准ID",
  2559. "type": "integer"
  2560. },
  2561. "xdeliveryratio": {
  2562. "description": "交易合约系数(m)",
  2563. "type": "integer"
  2564. }
  2565. }
  2566. },
  2567. "erms2.QueryArbitrageStrategyRsp": {
  2568. "type": "object",
  2569. "required": [
  2570. "asapplyid"
  2571. ],
  2572. "properties": {
  2573. "applybasis": {
  2574. "description": "申请基差",
  2575. "type": "number"
  2576. },
  2577. "asapplyid": {
  2578. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  2579. "type": "string"
  2580. },
  2581. "asname": {
  2582. "description": "策略名称",
  2583. "type": "string"
  2584. },
  2585. "asno": {
  2586. "description": "策略编号",
  2587. "type": "string"
  2588. },
  2589. "basischangepl": {
  2590. "description": "基差变动损益[结算更新]",
  2591. "type": "number"
  2592. },
  2593. "biztype": {
  2594. "description": "业务类型 - 1:正向套利 -1:反向套利",
  2595. "type": "integer"
  2596. },
  2597. "closetradedate": {
  2598. "description": "完结交易日(yyyyMMdd)",
  2599. "type": "string"
  2600. },
  2601. "curbasis": {
  2602. "description": "当前基差[结算更新]",
  2603. "type": "number"
  2604. },
  2605. "deliverygoodsid": {
  2606. "description": "现货品种ID",
  2607. "type": "integer"
  2608. },
  2609. "futureavgprice": {
  2610. "description": "期货建仓均价",
  2611. "type": "number"
  2612. },
  2613. "futurecloseamount": {
  2614. "description": "期货平仓金额",
  2615. "type": "number"
  2616. },
  2617. "futurecloseqty": {
  2618. "description": "期货平仓数量",
  2619. "type": "number"
  2620. },
  2621. "futureopenamount": {
  2622. "description": "期货开仓金额",
  2623. "type": "number"
  2624. },
  2625. "futureopenqty": {
  2626. "description": "期货开仓数量",
  2627. "type": "number"
  2628. },
  2629. "futurepl": {
  2630. "description": "期货总盈亏[结算更新]",
  2631. "type": "number"
  2632. },
  2633. "futureqty": {
  2634. "description": "期货持仓数量",
  2635. "type": "number"
  2636. },
  2637. "futurequote": {
  2638. "description": "期货额度",
  2639. "type": "number"
  2640. },
  2641. "goodsgroupid": {
  2642. "description": "期货品种ID",
  2643. "type": "integer"
  2644. },
  2645. "marketid": {
  2646. "description": "市场ID",
  2647. "type": "integer"
  2648. },
  2649. "netexposure": {
  2650. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  2651. "type": "number"
  2652. },
  2653. "netexposurepl": {
  2654. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  2655. "type": "number"
  2656. },
  2657. "netexposurerate": {
  2658. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  2659. "type": "number"
  2660. },
  2661. "openbasis": {
  2662. "description": "建仓基差",
  2663. "type": "number"
  2664. },
  2665. "pricedspotqty": {
  2666. "description": "已定价现货数量",
  2667. "type": "number"
  2668. },
  2669. "pricedspotqtynotax": {
  2670. "description": "已定价现货不含税数量",
  2671. "type": "number"
  2672. },
  2673. "remark": {
  2674. "description": "备注",
  2675. "type": "string"
  2676. },
  2677. "spotavgprice": {
  2678. "description": "现货均价",
  2679. "type": "number"
  2680. },
  2681. "spotbuyamount": {
  2682. "description": "现货采购金额",
  2683. "type": "number"
  2684. },
  2685. "spotbuyqty": {
  2686. "description": "现货采购数量",
  2687. "type": "number"
  2688. },
  2689. "spotpl": {
  2690. "description": "现货总盈亏[结算更新]",
  2691. "type": "number"
  2692. },
  2693. "spotquota": {
  2694. "description": "现货额度",
  2695. "type": "number"
  2696. },
  2697. "spotsellamount": {
  2698. "description": "现货销售金额",
  2699. "type": "number"
  2700. },
  2701. "spotsellqty": {
  2702. "description": "现货销售数量",
  2703. "type": "number"
  2704. },
  2705. "spotusedquota": {
  2706. "description": "现货占用资金",
  2707. "type": "number"
  2708. },
  2709. "strategystatus": {
  2710. "description": "策略状态 - 0:未结束 1:已结束",
  2711. "type": "integer"
  2712. },
  2713. "totalpl": {
  2714. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  2715. "type": "number"
  2716. },
  2717. "tradedate": {
  2718. "description": "交易日(yyyyMMdd)",
  2719. "type": "string"
  2720. },
  2721. "updatetime": {
  2722. "description": "更新时间",
  2723. "type": "string"
  2724. },
  2725. "usedquota": {
  2726. "description": "已占用资金",
  2727. "type": "number"
  2728. },
  2729. "userid": {
  2730. "description": "所属机构",
  2731. "type": "integer"
  2732. }
  2733. }
  2734. },
  2735. "erms2.QueryInnerTradeDetailRsp": {
  2736. "type": "object",
  2737. "required": [
  2738. "asapplyid",
  2739. "buyorsell",
  2740. "goodscode",
  2741. "goodsgroupid",
  2742. "goodsgroupname",
  2743. "goodsname",
  2744. "tradeid"
  2745. ],
  2746. "properties": {
  2747. "accountid": {
  2748. "description": "账号ID",
  2749. "type": "integer"
  2750. },
  2751. "agreeunit": {
  2752. "description": "合约单位",
  2753. "type": "number"
  2754. },
  2755. "asapplyid": {
  2756. "description": "策略申请ID",
  2757. "type": "integer"
  2758. },
  2759. "asname": {
  2760. "description": "策略名称",
  2761. "type": "string"
  2762. },
  2763. "asno": {
  2764. "description": "策略编号",
  2765. "type": "string"
  2766. },
  2767. "buyorsell": {
  2768. "description": "方向 - 0:买 1:卖",
  2769. "type": "integer"
  2770. },
  2771. "channelbuildtype": {
  2772. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  2773. "type": "integer"
  2774. },
  2775. "closetype": {
  2776. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  2777. "type": "integer"
  2778. },
  2779. "decimalplace": {
  2780. "description": "报价小数位",
  2781. "type": "integer"
  2782. },
  2783. "detailtype": {
  2784. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  2785. "type": "integer"
  2786. },
  2787. "exexchangecode": {
  2788. "description": "外部交易所代码",
  2789. "type": "string"
  2790. },
  2791. "exexchangename": {
  2792. "description": "外部交易所名称",
  2793. "type": "string"
  2794. },
  2795. "goodscode": {
  2796. "description": "商品代码(合约)",
  2797. "type": "string"
  2798. },
  2799. "goodsgroupid": {
  2800. "description": "商品组ID(品种ID)",
  2801. "type": "integer"
  2802. },
  2803. "goodsgroupname": {
  2804. "description": "商品组名称(品种)",
  2805. "type": "string"
  2806. },
  2807. "goodsid": {
  2808. "description": "商品ID",
  2809. "type": "integer"
  2810. },
  2811. "goodsname": {
  2812. "description": "商品名称(合约)",
  2813. "type": "string"
  2814. },
  2815. "goodunit": {
  2816. "description": "报价单位",
  2817. "type": "string"
  2818. },
  2819. "marketid": {
  2820. "description": "市场ID",
  2821. "type": "integer"
  2822. },
  2823. "orderid": {
  2824. "description": "委托单号",
  2825. "type": "string"
  2826. },
  2827. "outgoodscode": {
  2828. "description": "商品代码(外部)",
  2829. "type": "string"
  2830. },
  2831. "relatedouttradeid": {
  2832. "description": "关联外部成交单ID",
  2833. "type": "string"
  2834. },
  2835. "remark": {
  2836. "description": "备注",
  2837. "type": "string"
  2838. },
  2839. "spotcontractid": {
  2840. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  2841. "type": "integer"
  2842. },
  2843. "spotcontractno": {
  2844. "description": "现货合同编号",
  2845. "type": "string"
  2846. },
  2847. "tradeid": {
  2848. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  2849. "type": "string"
  2850. },
  2851. "tradeprice": {
  2852. "description": "成交价格",
  2853. "type": "number"
  2854. },
  2855. "tradeqty": {
  2856. "description": "成交数量",
  2857. "type": "integer"
  2858. },
  2859. "tradetime": {
  2860. "description": "成交时间",
  2861. "type": "string"
  2862. },
  2863. "updatetime": {
  2864. "description": "更新时间",
  2865. "type": "string"
  2866. }
  2867. }
  2868. },
  2869. "erms2.QuerySpotContractRsp": {
  2870. "type": "object",
  2871. "required": [
  2872. "spotcontractid"
  2873. ],
  2874. "properties": {
  2875. "accountid": {
  2876. "description": "资金账户ID",
  2877. "type": "integer"
  2878. },
  2879. "areauserid": {
  2880. "description": "所属机构",
  2881. "type": "integer"
  2882. },
  2883. "closedate": {
  2884. "description": "终止日期",
  2885. "type": "string"
  2886. },
  2887. "closeremark": {
  2888. "description": "结束备注",
  2889. "type": "string"
  2890. },
  2891. "closetradedate": {
  2892. "description": "完结交易日(yyyyMMdd)",
  2893. "type": "string"
  2894. },
  2895. "closetype": {
  2896. "description": "终止类型 - 1:违约 2:提前终止",
  2897. "type": "integer"
  2898. },
  2899. "contractamount": {
  2900. "description": "合同金额",
  2901. "type": "number"
  2902. },
  2903. "contractattachment": {
  2904. "description": "合同附件",
  2905. "type": "string"
  2906. },
  2907. "contractno": {
  2908. "description": "现货合同编号",
  2909. "type": "string"
  2910. },
  2911. "contractqty": {
  2912. "description": "合同数量(数值) (用于计算)",
  2913. "type": "number"
  2914. },
  2915. "contractqtychar": {
  2916. "description": "合同数量\\已订价数量 (用于显示)",
  2917. "type": "string"
  2918. },
  2919. "contractstatus": {
  2920. "description": "合同状态 - 0:未结束 1:已结束",
  2921. "type": "integer"
  2922. },
  2923. "contracttype": {
  2924. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  2925. "type": "integer"
  2926. },
  2927. "customeraccountid": {
  2928. "description": "客户资金账户ID",
  2929. "type": "integer"
  2930. },
  2931. "customeruserid": {
  2932. "description": "客户ID",
  2933. "type": "integer"
  2934. },
  2935. "deliverygoodsdesc": {
  2936. "description": "品种说明",
  2937. "type": "string"
  2938. },
  2939. "deliverygoodsid": {
  2940. "description": "现货品种ID",
  2941. "type": "integer"
  2942. },
  2943. "handlestatus": {
  2944. "description": "处理状态",
  2945. "type": "integer"
  2946. },
  2947. "invoiceatt": {
  2948. "description": "发票附件",
  2949. "type": "string"
  2950. },
  2951. "invoicedatetime": {
  2952. "description": "开收票更新时间",
  2953. "type": "string"
  2954. },
  2955. "invoiceopentime": {
  2956. "description": "开票时间",
  2957. "type": "string"
  2958. },
  2959. "invoiceremark": {
  2960. "description": "发票备注",
  2961. "type": "string"
  2962. },
  2963. "invoicestatus": {
  2964. "description": "开收票状态 - 0:未开票 1:已开票",
  2965. "type": "integer"
  2966. },
  2967. "lastdate": {
  2968. "description": "交货时间",
  2969. "type": "string"
  2970. },
  2971. "marketid": {
  2972. "description": "市场ID",
  2973. "type": "integer"
  2974. },
  2975. "paydatetime": {
  2976. "description": "收付款更新时间",
  2977. "type": "string"
  2978. },
  2979. "payremark": {
  2980. "description": "收付款备注",
  2981. "type": "string"
  2982. },
  2983. "paystatus": {
  2984. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  2985. "type": "integer"
  2986. },
  2987. "positionqty": {
  2988. "description": "头寸数量 - 合同数量去小数部分",
  2989. "type": "integer"
  2990. },
  2991. "producttype": {
  2992. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  2993. "type": "integer"
  2994. },
  2995. "relatedqty": {
  2996. "description": "已关联数量",
  2997. "type": "number"
  2998. },
  2999. "relatedstatus": {
  3000. "description": "关联完结状态 - 0:未结束 1:已结束",
  3001. "type": "integer"
  3002. },
  3003. "remark": {
  3004. "description": "备注",
  3005. "type": "string"
  3006. },
  3007. "signdate": {
  3008. "description": "签订日期",
  3009. "type": "string"
  3010. },
  3011. "spotcontractid": {
  3012. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  3013. "type": "string"
  3014. },
  3015. "spotdatetime": {
  3016. "description": "收发货更新时间",
  3017. "type": "string"
  3018. },
  3019. "spotprice": {
  3020. "description": "价格",
  3021. "type": "number"
  3022. },
  3023. "spotremark": {
  3024. "description": "收发货备注",
  3025. "type": "string"
  3026. },
  3027. "spotstatus": {
  3028. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  3029. "type": "integer"
  3030. },
  3031. "tradedate": {
  3032. "description": "交易日(yyyyMMdd)",
  3033. "type": "string"
  3034. },
  3035. "userid": {
  3036. "description": "业务员用户ID",
  3037. "type": "integer"
  3038. },
  3039. "warehouseid": {
  3040. "description": "仓库ID",
  3041. "type": "integer"
  3042. },
  3043. "wrfactortypeid": {
  3044. "description": "仓单要素类型ID",
  3045. "type": "integer"
  3046. },
  3047. "wrstandardid": {
  3048. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  3049. "type": "integer"
  3050. }
  3051. }
  3052. },
  3053. "models.Szdz3convertconfig": {
  3054. "type": "object",
  3055. "required": [
  3056. "converttype",
  3057. "innergoodsid",
  3058. "outergoodscode"
  3059. ],
  3060. "properties": {
  3061. "converttype": {
  3062. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易",
  3063. "type": "integer"
  3064. },
  3065. "createtime": {
  3066. "description": "创建时间",
  3067. "type": "string"
  3068. },
  3069. "creatorid": {
  3070. "description": "创建人",
  3071. "type": "integer"
  3072. },
  3073. "daymaxvalue": {
  3074. "description": "当日最大转入限制",
  3075. "type": "number"
  3076. },
  3077. "innergoodsid": {
  3078. "description": "内部商品ID[交易]",
  3079. "type": "integer"
  3080. },
  3081. "inratio": {
  3082. "description": "目标值",
  3083. "type": "integer"
  3084. },
  3085. "modifierid": {
  3086. "description": "修改人",
  3087. "type": "integer"
  3088. },
  3089. "modifytime": {
  3090. "description": "修改时间",
  3091. "type": "string"
  3092. },
  3093. "outergoodscode": {
  3094. "description": "外部商品代码[JD\\PD]",
  3095. "type": "string"
  3096. },
  3097. "outratio": {
  3098. "description": "源值",
  3099. "type": "integer"
  3100. },
  3101. "pddecimalplace": {
  3102. "description": "PD小数位",
  3103. "type": "integer"
  3104. },
  3105. "timemaxvalue": {
  3106. "description": "单次最大转入限制",
  3107. "type": "number"
  3108. },
  3109. "timeminvalue": {
  3110. "description": "单次最小转入限制",
  3111. "type": "number"
  3112. }
  3113. }
  3114. },
  3115. "models.Szdz3searchwhitelist": {
  3116. "type": "object",
  3117. "required": [
  3118. "userid"
  3119. ],
  3120. "properties": {
  3121. "createtime": {
  3122. "description": "创建时间",
  3123. "type": "string"
  3124. },
  3125. "creatorid": {
  3126. "description": "创建人",
  3127. "type": "integer"
  3128. },
  3129. "modifierid": {
  3130. "description": "修改人",
  3131. "type": "integer"
  3132. },
  3133. "modifytime": {
  3134. "description": "修改时间",
  3135. "type": "string"
  3136. },
  3137. "userid": {
  3138. "description": "用户ID",
  3139. "type": "integer"
  3140. }
  3141. }
  3142. },
  3143. "models.Tablecolumnconfig": {
  3144. "type": "object",
  3145. "required": [
  3146. "autoid"
  3147. ],
  3148. "properties": {
  3149. "aligntype": {
  3150. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  3151. "type": "integer"
  3152. },
  3153. "autoid": {
  3154. "description": "AutoID",
  3155. "type": "integer"
  3156. },
  3157. "columnfield": {
  3158. "description": "列字段",
  3159. "type": "string"
  3160. },
  3161. "columntitle": {
  3162. "description": "列Title",
  3163. "type": "string"
  3164. },
  3165. "columnwidth": {
  3166. "description": "列宽",
  3167. "type": "string"
  3168. },
  3169. "formatterstring": {
  3170. "description": "格式化字符",
  3171. "type": "string"
  3172. },
  3173. "formattertype": {
  3174. "description": "格式化类型",
  3175. "type": "string"
  3176. },
  3177. "groupname": {
  3178. "description": "表头分组名称",
  3179. "type": "string"
  3180. },
  3181. "isshow": {
  3182. "description": "是否显示 - 0:不显示 1:显示",
  3183. "type": "integer"
  3184. },
  3185. "needsummary": {
  3186. "description": "是否需要汇总 - 0:不需要 1:需要",
  3187. "type": "integer"
  3188. },
  3189. "orderindex": {
  3190. "description": "顺序",
  3191. "type": "integer"
  3192. },
  3193. "remark": {
  3194. "description": "备注",
  3195. "type": "string"
  3196. },
  3197. "summarytype": {
  3198. "description": "汇总类型 - 1:加总 2:最后一个",
  3199. "type": "integer"
  3200. },
  3201. "tablekey": {
  3202. "description": "列表Key",
  3203. "type": "string"
  3204. }
  3205. }
  3206. },
  3207. "models.Userinfo": {
  3208. "type": "object",
  3209. "required": [
  3210. "userid"
  3211. ],
  3212. "properties": {
  3213. "address": {
  3214. "description": "地址",
  3215. "type": "string"
  3216. },
  3217. "attachment1": {
  3218. "description": "附件1",
  3219. "type": "string"
  3220. },
  3221. "attachment2": {
  3222. "description": "附件2",
  3223. "type": "string"
  3224. },
  3225. "bankaccount": {
  3226. "description": "银行帐号 (加密存储)",
  3227. "type": "string"
  3228. },
  3229. "bankaccountname": {
  3230. "description": "收款人名称",
  3231. "type": "string"
  3232. },
  3233. "bankcardfrontphotourl": {
  3234. "description": "银行卡正面照地址",
  3235. "type": "string"
  3236. },
  3237. "bankid": {
  3238. "description": "银行编码",
  3239. "type": "string"
  3240. },
  3241. "bankname": {
  3242. "description": "银行名称",
  3243. "type": "string"
  3244. },
  3245. "biznature": {
  3246. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  3247. "type": "integer"
  3248. },
  3249. "bizscope": {
  3250. "description": "企业经营范围(企业)",
  3251. "type": "string"
  3252. },
  3253. "cardbackphotourl": {
  3254. "description": "证件背面图片地址",
  3255. "type": "string"
  3256. },
  3257. "cardfrontphotourl": {
  3258. "description": "证件正面图片地址",
  3259. "type": "string"
  3260. },
  3261. "cardnum": {
  3262. "description": "证件号码(加密存储)",
  3263. "type": "string"
  3264. },
  3265. "cardtypeid": {
  3266. "description": "证件类型ID",
  3267. "type": "integer"
  3268. },
  3269. "cityid": {
  3270. "description": "市",
  3271. "type": "integer"
  3272. },
  3273. "company": {
  3274. "description": "公司(个人)",
  3275. "type": "string"
  3276. },
  3277. "contactname": {
  3278. "description": "联系人",
  3279. "type": "string"
  3280. },
  3281. "countryid": {
  3282. "description": "国家",
  3283. "type": "integer"
  3284. },
  3285. "createtime": {
  3286. "description": "创建时间",
  3287. "type": "string"
  3288. },
  3289. "creatorid": {
  3290. "description": "创建人",
  3291. "type": "integer"
  3292. },
  3293. "customername": {
  3294. "description": "客户名称(企业名称)",
  3295. "type": "string"
  3296. },
  3297. "districtid": {
  3298. "description": "地区",
  3299. "type": "integer"
  3300. },
  3301. "email": {
  3302. "description": "邮件(加密存储)",
  3303. "type": "string"
  3304. },
  3305. "fax": {
  3306. "description": "传真(加密存储)",
  3307. "type": "string"
  3308. },
  3309. "halfbodyphotourl": {
  3310. "description": "半身照地址",
  3311. "type": "string"
  3312. },
  3313. "hasencrypt": {
  3314. "description": "数据是否已加密 - 0:未加密 1:已加密",
  3315. "type": "integer"
  3316. },
  3317. "headurl": {
  3318. "description": "头像地址",
  3319. "type": "string"
  3320. },
  3321. "legalcardbackphotourl": {
  3322. "description": "法人身份证背面照地址",
  3323. "type": "string"
  3324. },
  3325. "legalcardfrontphotourl": {
  3326. "description": "法人身份证正面照地址",
  3327. "type": "string"
  3328. },
  3329. "legalpersonname": {
  3330. "description": "法人姓名(企业)",
  3331. "type": "string"
  3332. },
  3333. "mobile": {
  3334. "description": "手机号码(加密存储)",
  3335. "type": "string"
  3336. },
  3337. "mobile2": {
  3338. "description": "手机号码[明文-尚志]",
  3339. "type": "string"
  3340. },
  3341. "modifierid": {
  3342. "description": "修改人",
  3343. "type": "integer"
  3344. },
  3345. "modifiertime": {
  3346. "description": "修改时间",
  3347. "type": "string"
  3348. },
  3349. "needinvoice": {
  3350. "description": "是否需要发票 - 0:不需要 1:需要",
  3351. "type": "integer"
  3352. },
  3353. "nickname": {
  3354. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  3355. "type": "string"
  3356. },
  3357. "openmode": {
  3358. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  3359. "type": "integer"
  3360. },
  3361. "otherurl": {
  3362. "description": "其它图片地址[使用分号分隔]",
  3363. "type": "string"
  3364. },
  3365. "postalcode": {
  3366. "description": "邮政编码",
  3367. "type": "string"
  3368. },
  3369. "provinceid": {
  3370. "description": "省",
  3371. "type": "integer"
  3372. },
  3373. "qq": {
  3374. "description": "QQ(加密存储",
  3375. "type": "string"
  3376. },
  3377. "remark": {
  3378. "description": "备注",
  3379. "type": "string"
  3380. },
  3381. "sex": {
  3382. "description": "用户性别 0: 女 1: 男",
  3383. "type": "integer"
  3384. },
  3385. "signpdfurl": {
  3386. "description": "签约pdf文件",
  3387. "type": "string"
  3388. },
  3389. "telphone": {
  3390. "description": "联系电话(加密存储)",
  3391. "type": "string"
  3392. },
  3393. "userid": {
  3394. "description": "用户ID",
  3395. "type": "integer"
  3396. },
  3397. "userinfotype": {
  3398. "description": "用户信息类型 - 1:个人 2:企业",
  3399. "type": "integer"
  3400. },
  3401. "userstatus": {
  3402. "description": "用户状态 - 1:正常 2:注销",
  3403. "type": "integer"
  3404. },
  3405. "usertype": {
  3406. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  3407. "type": "integer"
  3408. },
  3409. "wechat": {
  3410. "description": "微信(加密存储)",
  3411. "type": "string"
  3412. },
  3413. "wskhinfo": {
  3414. "description": "开户申请信息(JSON)",
  3415. "type": "string"
  3416. }
  3417. }
  3418. },
  3419. "order.QueryHisTradeDetailRsp": {
  3420. "type": "object",
  3421. "required": [
  3422. "accountid",
  3423. "buyorsell",
  3424. "goodsid",
  3425. "histradedate",
  3426. "marketid",
  3427. "memberuserid",
  3428. "orderid",
  3429. "tradeamount",
  3430. "tradedate",
  3431. "tradeid",
  3432. "tradeprice",
  3433. "tradeqty",
  3434. "tradetime"
  3435. ],
  3436. "properties": {
  3437. "accountid": {
  3438. "description": "账户ID[报价币种]",
  3439. "type": "integer"
  3440. },
  3441. "buildtype": {
  3442. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  3443. "type": "integer"
  3444. },
  3445. "buyorsell": {
  3446. "description": "方向 - 0:买 1:卖",
  3447. "type": "integer"
  3448. },
  3449. "charge": {
  3450. "description": "手续费",
  3451. "type": "number"
  3452. },
  3453. "closecharge": {
  3454. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  3455. "type": "number"
  3456. },
  3457. "closeexchagechargevalue": {
  3458. "description": "平仓交易所手续费设置值",
  3459. "type": "number"
  3460. },
  3461. "closefeealgorithm": {
  3462. "description": "平仓手续费收取方式 1:比率 2:固定",
  3463. "type": "integer"
  3464. },
  3465. "closememberchargevalue": {
  3466. "description": "平仓会员手续费设置值",
  3467. "type": "number"
  3468. },
  3469. "closepl": {
  3470. "description": "平仓盈亏",
  3471. "type": "number"
  3472. },
  3473. "closepl2": {
  3474. "description": "平仓盈亏[逐笔]",
  3475. "type": "number"
  3476. },
  3477. "closeqty": {
  3478. "description": "平仓数量(先建后平操作 需要记录)",
  3479. "type": "integer"
  3480. },
  3481. "creditamount": {
  3482. "description": "授信金额",
  3483. "type": "number"
  3484. },
  3485. "gcaccountid": {
  3486. "description": "账户ID[合约币种]",
  3487. "type": "integer"
  3488. },
  3489. "goodscode": {
  3490. "description": "商品代码",
  3491. "type": "string"
  3492. },
  3493. "goodsid": {
  3494. "description": "商品ID",
  3495. "type": "integer"
  3496. },
  3497. "goodsname": {
  3498. "description": "商品名称",
  3499. "type": "string"
  3500. },
  3501. "histradedate": {
  3502. "description": "历史交易日",
  3503. "type": "string"
  3504. },
  3505. "intclosepl": {
  3506. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  3507. "type": "integer"
  3508. },
  3509. "isconfirmexercise": {
  3510. "description": "是否确认行权- 0:否 1:是",
  3511. "type": "integer"
  3512. },
  3513. "ismain": {
  3514. "description": "是否主单 - 0:不是 1:是",
  3515. "type": "integer"
  3516. },
  3517. "ispreexercise": {
  3518. "description": "是否预申报- 0:否 1:是",
  3519. "type": "integer"
  3520. },
  3521. "isreckoned": {
  3522. "description": "是否结算 - 0:未结算 1:已结算",
  3523. "type": "integer"
  3524. },
  3525. "isvaliddata": {
  3526. "description": "是否有效 - 0:无效 1:有效",
  3527. "type": "integer"
  3528. },
  3529. "listingselecttype": {
  3530. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3531. "type": "integer"
  3532. },
  3533. "marketid": {
  3534. "description": "市场ID",
  3535. "type": "integer"
  3536. },
  3537. "marketname": {
  3538. "description": "市场名称",
  3539. "type": "string"
  3540. },
  3541. "matchaccountid": {
  3542. "description": "对手账号id",
  3543. "type": "integer"
  3544. },
  3545. "memberuserid": {
  3546. "description": "会员id 个人投资者 需要填写",
  3547. "type": "integer"
  3548. },
  3549. "opencharge": {
  3550. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  3551. "type": "number"
  3552. },
  3553. "openexchagechargevalue": {
  3554. "description": "建仓交易所手续费设置值",
  3555. "type": "number"
  3556. },
  3557. "openfeealgorithm": {
  3558. "description": "建仓手续费收取方式 1:比率 2:固定",
  3559. "type": "integer"
  3560. },
  3561. "openmemberchargevalue": {
  3562. "description": "建仓会员手续费设置值",
  3563. "type": "number"
  3564. },
  3565. "openqty": {
  3566. "description": "开仓数量(先建后平操作 需要记录)",
  3567. "type": "integer"
  3568. },
  3569. "optiontype": {
  3570. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3571. "type": "integer"
  3572. },
  3573. "orderid": {
  3574. "description": "委托单号",
  3575. "type": "string"
  3576. },
  3577. "performanceplanid": {
  3578. "description": "履约计划ID[期权]",
  3579. "type": "integer"
  3580. },
  3581. "performancestatus": {
  3582. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  3583. "type": "integer"
  3584. },
  3585. "preexerciseprice": {
  3586. "description": "预申报价格",
  3587. "type": "number"
  3588. },
  3589. "premium": {
  3590. "description": "权利金 - [持仓单的权利金]",
  3591. "type": "number"
  3592. },
  3593. "relatedouttradeid": {
  3594. "description": "关联外部成交单ID",
  3595. "type": "integer"
  3596. },
  3597. "status": {
  3598. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  3599. "type": "integer"
  3600. },
  3601. "tradeamount": {
  3602. "description": "成交金额[账户币种,用于所有权]",
  3603. "type": "number"
  3604. },
  3605. "tradedate": {
  3606. "description": "交易日(yyyyMMdd)",
  3607. "type": "string"
  3608. },
  3609. "tradeid": {
  3610. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3611. "type": "string"
  3612. },
  3613. "trademode": {
  3614. "description": "交易模式",
  3615. "type": "integer"
  3616. },
  3617. "tradeprice": {
  3618. "description": "成交价格",
  3619. "type": "number"
  3620. },
  3621. "tradeproperty": {
  3622. "description": "交易属性",
  3623. "type": "integer"
  3624. },
  3625. "tradeqty": {
  3626. "description": "成交数量",
  3627. "type": "integer"
  3628. },
  3629. "tradetime": {
  3630. "description": "成交时间",
  3631. "type": "string"
  3632. },
  3633. "tradetype": {
  3634. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  3635. "type": "integer"
  3636. }
  3637. }
  3638. },
  3639. "order.QueryHisTradeOrderDetailRsp": {
  3640. "type": "object",
  3641. "required": [
  3642. "accountid",
  3643. "buildtype",
  3644. "buyorsell",
  3645. "goodsid",
  3646. "histradedate",
  3647. "marketid",
  3648. "memberuserid",
  3649. "operatetype",
  3650. "orderid",
  3651. "orderqty",
  3652. "ordertime",
  3653. "pricemode",
  3654. "tradedate",
  3655. "validtype"
  3656. ],
  3657. "properties": {
  3658. "accountid": {
  3659. "description": "账户ID[报价币种]",
  3660. "type": "integer"
  3661. },
  3662. "buildtype": {
  3663. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3664. "type": "integer"
  3665. },
  3666. "buyorsell": {
  3667. "description": "买卖 - 0:买 1:卖",
  3668. "type": "integer"
  3669. },
  3670. "cancelorderid": {
  3671. "description": "撤单单号(撤单时填写)",
  3672. "type": "string"
  3673. },
  3674. "cancelqty": {
  3675. "description": "撤单数量",
  3676. "type": "integer"
  3677. },
  3678. "clientordertime": {
  3679. "description": "客户端委托时间",
  3680. "type": "string"
  3681. },
  3682. "clientticket": {
  3683. "description": "客户端流水号",
  3684. "type": "string"
  3685. },
  3686. "clienttype": {
  3687. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3688. "type": "integer"
  3689. },
  3690. "closeexchagechargevalue": {
  3691. "description": "平仓交易所手续费设置值",
  3692. "type": "number"
  3693. },
  3694. "closefeealgorithm": {
  3695. "description": "平仓手续费收取方式 1:比率 2:固定",
  3696. "type": "integer"
  3697. },
  3698. "closefreezecharge": {
  3699. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3700. "type": "number"
  3701. },
  3702. "closememberchargevalue": {
  3703. "description": "平仓会员手续费设置值",
  3704. "type": "number"
  3705. },
  3706. "closeqty": {
  3707. "description": "平仓数量(先建后平操作 需要记录)",
  3708. "type": "integer"
  3709. },
  3710. "closetradeqty": {
  3711. "description": "平仓成交数量(先建后平操作,需要记录)",
  3712. "type": "integer"
  3713. },
  3714. "closeunfreezecharge": {
  3715. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3716. "type": "number"
  3717. },
  3718. "delistingtype": {
  3719. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3720. "type": "integer"
  3721. },
  3722. "freezecharge": {
  3723. "description": "冻结手续费",
  3724. "type": "number"
  3725. },
  3726. "freezemargin": {
  3727. "description": "冻结保证金(冻结交易金额)",
  3728. "type": "number"
  3729. },
  3730. "gcaccountid": {
  3731. "description": "账户ID[合约币种]",
  3732. "type": "integer"
  3733. },
  3734. "goodscode": {
  3735. "description": "商品代码",
  3736. "type": "string"
  3737. },
  3738. "goodsid": {
  3739. "description": "商品ID",
  3740. "type": "integer"
  3741. },
  3742. "goodsname": {
  3743. "description": "商品名称",
  3744. "type": "string"
  3745. },
  3746. "histradedate": {
  3747. "description": "历史交易日",
  3748. "type": "string"
  3749. },
  3750. "isconfirmexercise": {
  3751. "description": "是否确认行权- 0:否 1:是",
  3752. "type": "integer"
  3753. },
  3754. "ispreexercise": {
  3755. "description": "是否预申报- 0:否 1:是",
  3756. "type": "integer"
  3757. },
  3758. "isvaliddata": {
  3759. "description": "是否有效 - 0:无效 1:有效",
  3760. "type": "integer"
  3761. },
  3762. "listingselecttype": {
  3763. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3764. "type": "integer"
  3765. },
  3766. "marginalgorithm": {
  3767. "description": "保证金收取方式 1:比率 2:固定",
  3768. "type": "integer"
  3769. },
  3770. "marginvalue": {
  3771. "description": "即市保证金设置值",
  3772. "type": "number"
  3773. },
  3774. "marketid": {
  3775. "description": "市场ID",
  3776. "type": "integer"
  3777. },
  3778. "marketmaxsub": {
  3779. "description": "市价最大偏移范围",
  3780. "type": "number"
  3781. },
  3782. "marketname": {
  3783. "description": "市场名称",
  3784. "type": "string"
  3785. },
  3786. "memberuserid": {
  3787. "description": "所属会员UserID",
  3788. "type": "integer"
  3789. },
  3790. "openexchagechargevalue": {
  3791. "description": "建仓交易所手续费设置值",
  3792. "type": "number"
  3793. },
  3794. "openfeealgorithm": {
  3795. "description": "建仓手续费收取方式 1:比率 2:固定",
  3796. "type": "integer"
  3797. },
  3798. "openfreezecharge": {
  3799. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3800. "type": "number"
  3801. },
  3802. "openmemberchargevalue": {
  3803. "description": "建仓会员手续费设置值",
  3804. "type": "number"
  3805. },
  3806. "openqty": {
  3807. "description": "开仓数量(先建后平操作,需要记录)",
  3808. "type": "integer"
  3809. },
  3810. "opentradeqty": {
  3811. "description": "开仓成交数量(先建后平操作,需要记录)",
  3812. "type": "integer"
  3813. },
  3814. "openunfreezecharge": {
  3815. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3816. "type": "number"
  3817. },
  3818. "operatetype": {
  3819. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3820. "type": "integer"
  3821. },
  3822. "operatorid": {
  3823. "description": "登录账号(LoginID)",
  3824. "type": "integer"
  3825. },
  3826. "optiontype": {
  3827. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3828. "type": "integer"
  3829. },
  3830. "orderid": {
  3831. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3832. "type": "string"
  3833. },
  3834. "orderprice": {
  3835. "description": "委托价格",
  3836. "type": "number"
  3837. },
  3838. "orderqty": {
  3839. "description": "委托数量",
  3840. "type": "integer"
  3841. },
  3842. "ordersrc": {
  3843. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3844. "type": "integer"
  3845. },
  3846. "orderstatus": {
  3847. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3848. "type": "integer"
  3849. },
  3850. "ordertime": {
  3851. "description": "委托时间",
  3852. "type": "string"
  3853. },
  3854. "preexerciseprice": {
  3855. "description": "预申报价格",
  3856. "type": "number"
  3857. },
  3858. "premium": {
  3859. "description": "权利金",
  3860. "type": "number"
  3861. },
  3862. "preorderid": {
  3863. "description": "关联预埋单号(止盈止损单时填写)",
  3864. "type": "string"
  3865. },
  3866. "pricemode": {
  3867. "description": "取价方式 - 1:市价 2: 限价",
  3868. "type": "integer"
  3869. },
  3870. "quoteid": {
  3871. "description": "报价单ID",
  3872. "type": "integer"
  3873. },
  3874. "relatedid": {
  3875. "description": "关联单号(交割单)",
  3876. "type": "string"
  3877. },
  3878. "retcode": {
  3879. "description": "错误代码",
  3880. "type": "integer"
  3881. },
  3882. "sessionid": {
  3883. "description": "会话ID",
  3884. "type": "integer"
  3885. },
  3886. "tradedate": {
  3887. "description": "交易日(yyyyMMdd)",
  3888. "type": "string"
  3889. },
  3890. "trademode": {
  3891. "description": "交易模式",
  3892. "type": "integer"
  3893. },
  3894. "tradeproperty": {
  3895. "description": "交易属性",
  3896. "type": "integer"
  3897. },
  3898. "tradeqty": {
  3899. "description": "成交数量",
  3900. "type": "integer"
  3901. },
  3902. "unfreezecharge": {
  3903. "description": "解冻手续费",
  3904. "type": "number"
  3905. },
  3906. "unfreezemargin": {
  3907. "description": "解冻保证金",
  3908. "type": "number"
  3909. },
  3910. "updatetime": {
  3911. "description": "更新时间",
  3912. "type": "string"
  3913. },
  3914. "uuid": {
  3915. "description": "发起端唯一id",
  3916. "type": "string"
  3917. },
  3918. "validtime": {
  3919. "description": "有效期限",
  3920. "type": "string"
  3921. },
  3922. "validtype": {
  3923. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3924. "type": "integer"
  3925. },
  3926. "volumetype": {
  3927. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3928. "type": "integer"
  3929. }
  3930. }
  3931. },
  3932. "order.QueryTradeDetailRsp": {
  3933. "type": "object",
  3934. "required": [
  3935. "accountid",
  3936. "buyorsell",
  3937. "goodsid",
  3938. "marketid",
  3939. "memberuserid",
  3940. "orderid",
  3941. "tradeamount",
  3942. "tradedate",
  3943. "tradeid",
  3944. "tradeprice",
  3945. "tradeqty",
  3946. "tradetime"
  3947. ],
  3948. "properties": {
  3949. "accountid": {
  3950. "description": "账户ID[报价币种]",
  3951. "type": "integer"
  3952. },
  3953. "buildtype": {
  3954. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  3955. "type": "integer"
  3956. },
  3957. "buyorsell": {
  3958. "description": "方向 - 0:买 1:卖",
  3959. "type": "integer"
  3960. },
  3961. "charge": {
  3962. "description": "手续费",
  3963. "type": "number"
  3964. },
  3965. "closecharge": {
  3966. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  3967. "type": "number"
  3968. },
  3969. "closeexchagechargevalue": {
  3970. "description": "平仓交易所手续费设置值",
  3971. "type": "number"
  3972. },
  3973. "closefeealgorithm": {
  3974. "description": "平仓手续费收取方式 1:比率 2:固定",
  3975. "type": "integer"
  3976. },
  3977. "closememberchargevalue": {
  3978. "description": "平仓会员手续费设置值",
  3979. "type": "number"
  3980. },
  3981. "closepl": {
  3982. "description": "平仓盈亏",
  3983. "type": "number"
  3984. },
  3985. "closepl2": {
  3986. "description": "平仓盈亏[逐笔]",
  3987. "type": "number"
  3988. },
  3989. "closeqty": {
  3990. "description": "平仓数量(先建后平操作 需要记录)",
  3991. "type": "integer"
  3992. },
  3993. "creditamount": {
  3994. "description": "授信金额",
  3995. "type": "number"
  3996. },
  3997. "gcaccountid": {
  3998. "description": "账户ID[合约币种]",
  3999. "type": "integer"
  4000. },
  4001. "goodscode": {
  4002. "description": "商品代码",
  4003. "type": "string"
  4004. },
  4005. "goodsid": {
  4006. "description": "商品ID",
  4007. "type": "integer"
  4008. },
  4009. "goodsname": {
  4010. "description": "商品名称",
  4011. "type": "string"
  4012. },
  4013. "intclosepl": {
  4014. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  4015. "type": "integer"
  4016. },
  4017. "isconfirmexercise": {
  4018. "description": "是否确认行权- 0:否 1:是",
  4019. "type": "integer"
  4020. },
  4021. "ismain": {
  4022. "description": "是否主单 - 0:不是 1:是",
  4023. "type": "integer"
  4024. },
  4025. "ispreexercise": {
  4026. "description": "是否预申报- 0:否 1:是",
  4027. "type": "integer"
  4028. },
  4029. "isreckoned": {
  4030. "description": "是否结算 - 0:未结算 1:已结算",
  4031. "type": "integer"
  4032. },
  4033. "listingselecttype": {
  4034. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4035. "type": "integer"
  4036. },
  4037. "marketid": {
  4038. "description": "市场ID",
  4039. "type": "integer"
  4040. },
  4041. "marketname": {
  4042. "description": "市场名称",
  4043. "type": "string"
  4044. },
  4045. "matchaccountid": {
  4046. "description": "对手账号id",
  4047. "type": "integer"
  4048. },
  4049. "memberuserid": {
  4050. "description": "会员id 个人投资者 需要填写",
  4051. "type": "integer"
  4052. },
  4053. "opencharge": {
  4054. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  4055. "type": "number"
  4056. },
  4057. "openexchagechargevalue": {
  4058. "description": "建仓交易所手续费设置值",
  4059. "type": "number"
  4060. },
  4061. "openfeealgorithm": {
  4062. "description": "建仓手续费收取方式 1:比率 2:固定",
  4063. "type": "integer"
  4064. },
  4065. "openmemberchargevalue": {
  4066. "description": "建仓会员手续费设置值",
  4067. "type": "number"
  4068. },
  4069. "openqty": {
  4070. "description": "开仓数量(先建后平操作 需要记录)",
  4071. "type": "integer"
  4072. },
  4073. "optiontype": {
  4074. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4075. "type": "integer"
  4076. },
  4077. "orderid": {
  4078. "description": "委托单号",
  4079. "type": "string"
  4080. },
  4081. "performanceplanid": {
  4082. "description": "履约计划ID[期权]",
  4083. "type": "integer"
  4084. },
  4085. "performancestatus": {
  4086. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  4087. "type": "integer"
  4088. },
  4089. "preexerciseprice": {
  4090. "description": "预申报价格",
  4091. "type": "number"
  4092. },
  4093. "premium": {
  4094. "description": "权利金 - [持仓单的权利金]",
  4095. "type": "number"
  4096. },
  4097. "relatedouttradeid": {
  4098. "description": "关联外部成交单ID",
  4099. "type": "integer"
  4100. },
  4101. "status": {
  4102. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  4103. "type": "integer"
  4104. },
  4105. "tradeamount": {
  4106. "description": "成交金额[账户币种,用于所有权]",
  4107. "type": "number"
  4108. },
  4109. "tradedate": {
  4110. "description": "交易日(yyyyMMdd)",
  4111. "type": "string"
  4112. },
  4113. "tradeid": {
  4114. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4115. "type": "string"
  4116. },
  4117. "trademode": {
  4118. "description": "交易模式",
  4119. "type": "integer"
  4120. },
  4121. "tradeprice": {
  4122. "description": "成交价格",
  4123. "type": "number"
  4124. },
  4125. "tradeproperty": {
  4126. "description": "交易属性",
  4127. "type": "integer"
  4128. },
  4129. "tradeqty": {
  4130. "description": "成交数量",
  4131. "type": "integer"
  4132. },
  4133. "tradetime": {
  4134. "description": "成交时间",
  4135. "type": "string"
  4136. },
  4137. "tradetype": {
  4138. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  4139. "type": "integer"
  4140. }
  4141. }
  4142. },
  4143. "order.QueryTradeOrderDetailRsp": {
  4144. "type": "object",
  4145. "required": [
  4146. "accountid",
  4147. "buildtype",
  4148. "buyorsell",
  4149. "goodsid",
  4150. "marketid",
  4151. "operatetype",
  4152. "orderqty",
  4153. "ordertime",
  4154. "pricemode",
  4155. "tradedate",
  4156. "validtype"
  4157. ],
  4158. "properties": {
  4159. "accountid": {
  4160. "description": "账户ID[报价币种]",
  4161. "type": "integer"
  4162. },
  4163. "buildtype": {
  4164. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4165. "type": "integer"
  4166. },
  4167. "buyorsell": {
  4168. "description": "买卖 - 0:买 1:卖",
  4169. "type": "integer"
  4170. },
  4171. "cancelorderid": {
  4172. "description": "撤单单号(撤单时填写)",
  4173. "type": "string"
  4174. },
  4175. "cancelqty": {
  4176. "description": "撤单数量",
  4177. "type": "integer"
  4178. },
  4179. "clienttype": {
  4180. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4181. "type": "integer"
  4182. },
  4183. "closefreezecharge": {
  4184. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4185. "type": "number"
  4186. },
  4187. "closeqty": {
  4188. "description": "平仓数量(先建后平操作 需要记录)",
  4189. "type": "integer"
  4190. },
  4191. "closetradeqty": {
  4192. "description": "平仓成交数量(先建后平操作,需要记录)",
  4193. "type": "integer"
  4194. },
  4195. "closeunfreezecharge": {
  4196. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4197. "type": "number"
  4198. },
  4199. "delistingtype": {
  4200. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4201. "type": "integer"
  4202. },
  4203. "enableqty": {
  4204. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  4205. "type": "integer"
  4206. },
  4207. "freezecharge": {
  4208. "description": "冻结手续费",
  4209. "type": "number"
  4210. },
  4211. "freezemargin": {
  4212. "description": "冻结保证金(冻结交易金额)",
  4213. "type": "number"
  4214. },
  4215. "goodscode": {
  4216. "description": "商品代码",
  4217. "type": "string"
  4218. },
  4219. "goodsid": {
  4220. "description": "商品ID",
  4221. "type": "integer"
  4222. },
  4223. "goodsname": {
  4224. "description": "商品名称",
  4225. "type": "string"
  4226. },
  4227. "listingselecttype": {
  4228. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4229. "type": "integer"
  4230. },
  4231. "marketid": {
  4232. "description": "市场ID",
  4233. "type": "integer"
  4234. },
  4235. "marketname": {
  4236. "description": "市场名称",
  4237. "type": "string"
  4238. },
  4239. "openfreezecharge": {
  4240. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4241. "type": "number"
  4242. },
  4243. "openqty": {
  4244. "description": "开仓数量(先建后平操作,需要记录)",
  4245. "type": "integer"
  4246. },
  4247. "opentradeqty": {
  4248. "description": "开仓成交数量(先建后平操作,需要记录)",
  4249. "type": "integer"
  4250. },
  4251. "openunfreezecharge": {
  4252. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4253. "type": "number"
  4254. },
  4255. "operatetype": {
  4256. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4257. "type": "integer"
  4258. },
  4259. "operatorid": {
  4260. "description": "登录账号(LoginID)",
  4261. "type": "integer"
  4262. },
  4263. "orderid": {
  4264. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4265. "type": "string"
  4266. },
  4267. "orderprice": {
  4268. "description": "委托价格",
  4269. "type": "number"
  4270. },
  4271. "orderqty": {
  4272. "description": "委托数量",
  4273. "type": "integer"
  4274. },
  4275. "ordersrc": {
  4276. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4277. "type": "integer"
  4278. },
  4279. "orderstatus": {
  4280. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4281. "type": "integer"
  4282. },
  4283. "ordertime": {
  4284. "description": "委托时间",
  4285. "type": "string"
  4286. },
  4287. "preorderid": {
  4288. "description": "关联预埋单号(止盈止损单时填写)",
  4289. "type": "string"
  4290. },
  4291. "pricemode": {
  4292. "description": "取价方式 - 1:市价 2: 限价",
  4293. "type": "integer"
  4294. },
  4295. "relatedid": {
  4296. "description": "关联单号(交割单)",
  4297. "type": "string"
  4298. },
  4299. "tradedate": {
  4300. "description": "交易日(yyyyMMdd)",
  4301. "type": "string"
  4302. },
  4303. "trademode": {
  4304. "description": "交易模式",
  4305. "type": "integer"
  4306. },
  4307. "tradeqty": {
  4308. "description": "成交数量",
  4309. "type": "integer"
  4310. },
  4311. "unfreezecharge": {
  4312. "description": "解冻手续费",
  4313. "type": "number"
  4314. },
  4315. "unfreezemargin": {
  4316. "description": "解冻保证金",
  4317. "type": "number"
  4318. },
  4319. "validtime": {
  4320. "description": "有效期限",
  4321. "type": "string"
  4322. },
  4323. "validtype": {
  4324. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4325. "type": "integer"
  4326. },
  4327. "volumetype": {
  4328. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4329. "type": "integer"
  4330. }
  4331. }
  4332. },
  4333. "order.QueryTradePositionRsp": {
  4334. "type": "object",
  4335. "required": [
  4336. "goodsid"
  4337. ],
  4338. "properties": {
  4339. "accountid": {
  4340. "description": "资金账户",
  4341. "type": "integer"
  4342. },
  4343. "agreeunit": {
  4344. "description": "合约单位",
  4345. "type": "number"
  4346. },
  4347. "averageprice": {
  4348. "description": "持仓均价",
  4349. "type": "number"
  4350. },
  4351. "buyorsell": {
  4352. "description": "方向 - 0:买 1:卖",
  4353. "type": "integer"
  4354. },
  4355. "closetotalqty": {
  4356. "description": "平仓总数量",
  4357. "type": "integer"
  4358. },
  4359. "curholderamount": {
  4360. "description": "当前持仓总金额[商品币种]",
  4361. "type": "number"
  4362. },
  4363. "curpositionqty": {
  4364. "description": "当前持仓总数量",
  4365. "type": "integer"
  4366. },
  4367. "currencyid": {
  4368. "description": "报价货币ID",
  4369. "type": "integer"
  4370. },
  4371. "curtdposition": {
  4372. "description": "期末今日头寸",
  4373. "type": "integer"
  4374. },
  4375. "decimalplace": {
  4376. "description": "报价小数位",
  4377. "type": "integer"
  4378. },
  4379. "enableqty": {
  4380. "description": "可用量",
  4381. "type": "integer"
  4382. },
  4383. "fretdposition": {
  4384. "description": "冻结今日头寸",
  4385. "type": "integer"
  4386. },
  4387. "frozenqty": {
  4388. "description": "持仓冻结数量",
  4389. "type": "integer"
  4390. },
  4391. "goodscode": {
  4392. "description": "商品代码",
  4393. "type": "string"
  4394. },
  4395. "goodsid": {
  4396. "description": "商品Id",
  4397. "type": "integer"
  4398. },
  4399. "goodsname": {
  4400. "description": "商品名称",
  4401. "type": "string"
  4402. },
  4403. "goodunit": {
  4404. "description": "报价单位",
  4405. "type": "string"
  4406. },
  4407. "goodunitid": {
  4408. "description": "报价单位ID",
  4409. "type": "integer"
  4410. },
  4411. "holderamount": {
  4412. "description": "期初持仓总金额[商品币种]",
  4413. "type": "number"
  4414. },
  4415. "marketid": {
  4416. "description": "所属市场ID",
  4417. "type": "integer"
  4418. },
  4419. "openreqqty": {
  4420. "description": "开仓申请数量(用于比较最大持仓数量)",
  4421. "type": "integer"
  4422. },
  4423. "opentotalqty": {
  4424. "description": "开仓总数量",
  4425. "type": "integer"
  4426. },
  4427. "otherfrozenqty": {
  4428. "description": "持仓其他冻结数量(交割冻结)",
  4429. "type": "integer"
  4430. },
  4431. "positionqty": {
  4432. "description": "期初持仓数量",
  4433. "type": "integer"
  4434. },
  4435. "tnqty": {
  4436. "description": "T+N冻结总量",
  4437. "type": "integer"
  4438. },
  4439. "tnusedqty": {
  4440. "description": "T+N使用量(可以使用T+N的冻结数量)",
  4441. "type": "integer"
  4442. },
  4443. "trademode": {
  4444. "description": "交易模式",
  4445. "type": "integer"
  4446. }
  4447. }
  4448. },
  4449. "szdz.QueryConvertLogRsp": {
  4450. "type": "object",
  4451. "required": [
  4452. "logid"
  4453. ],
  4454. "properties": {
  4455. "accountid": {
  4456. "description": "资金账户ID",
  4457. "type": "integer"
  4458. },
  4459. "clientticket": {
  4460. "description": "客户端流水号",
  4461. "type": "string"
  4462. },
  4463. "converttype": {
  4464. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  4465. "type": "integer"
  4466. },
  4467. "createtime": {
  4468. "description": "记账时间",
  4469. "type": "string"
  4470. },
  4471. "daymaxvalue": {
  4472. "description": "配置当日最大转入限制",
  4473. "type": "number"
  4474. },
  4475. "daymaxvalue2": {
  4476. "description": "配置当日最大转入限制(转入)",
  4477. "type": "number"
  4478. },
  4479. "goodscode": {
  4480. "description": "商品代码",
  4481. "type": "string"
  4482. },
  4483. "goodsname": {
  4484. "description": "商品名称",
  4485. "type": "string"
  4486. },
  4487. "handlestatus": {
  4488. "description": "处理状态",
  4489. "type": "integer"
  4490. },
  4491. "innergoodsid": {
  4492. "description": "内部商品ID",
  4493. "type": "integer"
  4494. },
  4495. "inratio": {
  4496. "description": "配置转入比值",
  4497. "type": "integer"
  4498. },
  4499. "invalue": {
  4500. "description": "目标值",
  4501. "type": "number"
  4502. },
  4503. "logid": {
  4504. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4505. "type": "integer"
  4506. },
  4507. "mobile": {
  4508. "description": "手机号码(加密存储)",
  4509. "type": "string"
  4510. },
  4511. "outergoodscode": {
  4512. "description": "外部商品代码[JD\\PD]",
  4513. "type": "string"
  4514. },
  4515. "outratio": {
  4516. "description": "配置转出比值",
  4517. "type": "integer"
  4518. },
  4519. "outvalue": {
  4520. "description": "源值",
  4521. "type": "number"
  4522. },
  4523. "pddecimalplace": {
  4524. "description": "PD小数位",
  4525. "type": "integer"
  4526. },
  4527. "qty": {
  4528. "description": "数量",
  4529. "type": "string"
  4530. },
  4531. "remark": {
  4532. "description": "备注",
  4533. "type": "string"
  4534. },
  4535. "sessionid": {
  4536. "description": "会话ID",
  4537. "type": "integer"
  4538. },
  4539. "timemaxvalue": {
  4540. "description": "配置单次最大转入限制",
  4541. "type": "number"
  4542. },
  4543. "timemaxvalue2": {
  4544. "description": "配置单次最大转入限制(转入)",
  4545. "type": "number"
  4546. },
  4547. "timeminvalue": {
  4548. "description": "配置单次最小数量限制",
  4549. "type": "number"
  4550. },
  4551. "timeminvalue2": {
  4552. "description": "配置单次最小数量限制(转入)",
  4553. "type": "number"
  4554. },
  4555. "tradedate": {
  4556. "description": "交易日(yyyyMMdd)",
  4557. "type": "string"
  4558. },
  4559. "userid": {
  4560. "description": "用户ID",
  4561. "type": "integer"
  4562. }
  4563. }
  4564. },
  4565. "szdz.QueryGoodsPickupRsp": {
  4566. "type": "object",
  4567. "required": [
  4568. "takeorderid"
  4569. ],
  4570. "properties": {
  4571. "accountid": {
  4572. "description": "账户ID",
  4573. "type": "integer"
  4574. },
  4575. "address": {
  4576. "description": "提货人详细地址",
  4577. "type": "string"
  4578. },
  4579. "auditer": {
  4580. "description": "审核人",
  4581. "type": "integer"
  4582. },
  4583. "audittime": {
  4584. "description": "审核时间",
  4585. "type": "string"
  4586. },
  4587. "cardnum": {
  4588. "description": "提货人证件号码",
  4589. "type": "string"
  4590. },
  4591. "cardtypeid": {
  4592. "description": "提货人证件类型",
  4593. "type": "integer"
  4594. },
  4595. "checkremark": {
  4596. "description": "审核备注",
  4597. "type": "string"
  4598. },
  4599. "goodscode": {
  4600. "description": "商品代码",
  4601. "type": "string"
  4602. },
  4603. "goodsid": {
  4604. "description": "商品ID",
  4605. "type": "integer"
  4606. },
  4607. "goodsname": {
  4608. "description": "商品名称",
  4609. "type": "string"
  4610. },
  4611. "handlestatus": {
  4612. "description": "处理状态",
  4613. "type": "integer"
  4614. },
  4615. "marketid": {
  4616. "description": "市场ID",
  4617. "type": "integer"
  4618. },
  4619. "phonenum": {
  4620. "description": "提货人联系方式",
  4621. "type": "string"
  4622. },
  4623. "qty": {
  4624. "description": "提货数量",
  4625. "type": "number"
  4626. },
  4627. "recivername": {
  4628. "description": "提货人姓名",
  4629. "type": "string"
  4630. },
  4631. "reqtime": {
  4632. "description": "更新时间",
  4633. "type": "string"
  4634. },
  4635. "takemode": {
  4636. "description": "提货方式 - 2:自提 3:配送",
  4637. "type": "integer"
  4638. },
  4639. "takeorderid": {
  4640. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  4641. "type": "string"
  4642. },
  4643. "takeorderstatus": {
  4644. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4645. "type": "integer"
  4646. },
  4647. "takeremark": {
  4648. "description": "提货备注",
  4649. "type": "string"
  4650. },
  4651. "tradedate": {
  4652. "description": "交易日(yyyyMMdd)",
  4653. "type": "string"
  4654. },
  4655. "userid": {
  4656. "description": "用户ID",
  4657. "type": "integer"
  4658. }
  4659. }
  4660. },
  4661. "szdz.QueryRecieptOrderRsp": {
  4662. "type": "object",
  4663. "properties": {
  4664. "accountName": {
  4665. "description": "所属账号名称(已脱敏)",
  4666. "type": "string"
  4667. },
  4668. "buyorsell": {
  4669. "description": "方向 - 0:买 1:卖",
  4670. "type": "integer"
  4671. },
  4672. "enableqty": {
  4673. "description": "可摘数量",
  4674. "type": "integer"
  4675. },
  4676. "goodscode": {
  4677. "description": "商品代码",
  4678. "type": "string"
  4679. },
  4680. "goodsid": {
  4681. "description": "商品ID",
  4682. "type": "integer"
  4683. },
  4684. "goodsname": {
  4685. "description": "商品名称",
  4686. "type": "string"
  4687. },
  4688. "orderid": {
  4689. "description": "委托单号",
  4690. "type": "string"
  4691. },
  4692. "orderprice": {
  4693. "description": "委托价格",
  4694. "type": "number"
  4695. },
  4696. "tradedate": {
  4697. "description": "交易日(yyyyMMdd)",
  4698. "type": "string"
  4699. }
  4700. }
  4701. },
  4702. "taaccount.QueryAmountLogRsp": {
  4703. "type": "object",
  4704. "required": [
  4705. "accountid",
  4706. "amount",
  4707. "amountadjusttype",
  4708. "autoid",
  4709. "balance",
  4710. "createtime",
  4711. "currentbalance",
  4712. "operatetype"
  4713. ],
  4714. "properties": {
  4715. "OPERATETYPENAME": {
  4716. "description": "资金操作类型名称",
  4717. "type": "string"
  4718. },
  4719. "accountid": {
  4720. "description": "资金账户ID",
  4721. "type": "integer"
  4722. },
  4723. "agoodscode": {
  4724. "description": "竞拍商品代码",
  4725. "type": "string"
  4726. },
  4727. "agoodsname": {
  4728. "description": "竞拍商品名称",
  4729. "type": "string"
  4730. },
  4731. "amount": {
  4732. "description": "资金金额",
  4733. "type": "number"
  4734. },
  4735. "amountadjusttype": {
  4736. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  4737. "type": "integer"
  4738. },
  4739. "autoid": {
  4740. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  4741. "type": "integer"
  4742. },
  4743. "balance": {
  4744. "description": "期初余额",
  4745. "type": "number"
  4746. },
  4747. "businesscode": {
  4748. "description": "业务编号",
  4749. "type": "integer"
  4750. },
  4751. "createtime": {
  4752. "description": "发生时间",
  4753. "type": "string"
  4754. },
  4755. "currencyid": {
  4756. "description": "币种ID",
  4757. "type": "integer"
  4758. },
  4759. "currentbalance": {
  4760. "description": "期末余额(变动后金额)",
  4761. "type": "number"
  4762. },
  4763. "dgoodscode": {
  4764. "description": "交割商品代码",
  4765. "type": "string"
  4766. },
  4767. "dgoodsname": {
  4768. "description": "交割商品名称",
  4769. "type": "string"
  4770. },
  4771. "goodscode": {
  4772. "description": "商品代码",
  4773. "type": "string"
  4774. },
  4775. "goodsid": {
  4776. "description": "商品ID",
  4777. "type": "integer"
  4778. },
  4779. "goodsname": {
  4780. "description": "商品名称",
  4781. "type": "string"
  4782. },
  4783. "marketid": {
  4784. "description": "市场ID",
  4785. "type": "integer"
  4786. },
  4787. "marketname": {
  4788. "description": "市场名称",
  4789. "type": "string"
  4790. },
  4791. "moneyticket": {
  4792. "description": "资金流水号:银行端流水号",
  4793. "type": "integer"
  4794. },
  4795. "operatetype": {
  4796. "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:营销收款",
  4797. "type": "integer"
  4798. },
  4799. "relationorderid": {
  4800. "description": "关联单号",
  4801. "type": "string"
  4802. },
  4803. "remark": {
  4804. "description": "备注",
  4805. "type": "string"
  4806. },
  4807. "trademode": {
  4808. "description": "交易模式",
  4809. "type": "integer"
  4810. }
  4811. }
  4812. },
  4813. "taaccount.QueryHisAmountLogRsp": {
  4814. "type": "object",
  4815. "required": [
  4816. "accountid",
  4817. "amount",
  4818. "amountadjusttype",
  4819. "autoid",
  4820. "balance",
  4821. "createtime",
  4822. "currentbalance",
  4823. "histradedate",
  4824. "operatetype"
  4825. ],
  4826. "properties": {
  4827. "OPERATETYPENAME": {
  4828. "description": "资金操作类型名称",
  4829. "type": "string"
  4830. },
  4831. "accountid": {
  4832. "description": "资金账户ID",
  4833. "type": "integer"
  4834. },
  4835. "agoodscode": {
  4836. "description": "竞拍商品代码",
  4837. "type": "string"
  4838. },
  4839. "agoodsname": {
  4840. "description": "竞拍商品名称",
  4841. "type": "string"
  4842. },
  4843. "amount": {
  4844. "description": "资金金额",
  4845. "type": "number"
  4846. },
  4847. "amountadjusttype": {
  4848. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  4849. "type": "integer"
  4850. },
  4851. "autoid": {
  4852. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  4853. "type": "integer"
  4854. },
  4855. "balance": {
  4856. "description": "期初余额",
  4857. "type": "number"
  4858. },
  4859. "businesscode": {
  4860. "description": "业务编号",
  4861. "type": "integer"
  4862. },
  4863. "createtime": {
  4864. "description": "发生时间",
  4865. "type": "string"
  4866. },
  4867. "currencyid": {
  4868. "description": "币种ID",
  4869. "type": "integer"
  4870. },
  4871. "currentbalance": {
  4872. "description": "期末余额(变动后金额)",
  4873. "type": "number"
  4874. },
  4875. "dgoodscode": {
  4876. "description": "交割商品代码",
  4877. "type": "string"
  4878. },
  4879. "dgoodsname": {
  4880. "description": "交割商品名称",
  4881. "type": "string"
  4882. },
  4883. "goodscode": {
  4884. "description": "商品代码",
  4885. "type": "string"
  4886. },
  4887. "goodsid": {
  4888. "description": "商品ID",
  4889. "type": "integer"
  4890. },
  4891. "goodsname": {
  4892. "description": "商品名称",
  4893. "type": "string"
  4894. },
  4895. "histradedate": {
  4896. "description": "历史交易日",
  4897. "type": "string"
  4898. },
  4899. "isvaliddata": {
  4900. "description": "是否有效 - 0:无效 1:有效",
  4901. "type": "integer"
  4902. },
  4903. "marketid": {
  4904. "description": "市场ID",
  4905. "type": "integer"
  4906. },
  4907. "marketname": {
  4908. "description": "市场名称",
  4909. "type": "string"
  4910. },
  4911. "moneyticket": {
  4912. "description": "资金流水号:银行端流水号",
  4913. "type": "integer"
  4914. },
  4915. "operatetype": {
  4916. "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:营销收款",
  4917. "type": "integer"
  4918. },
  4919. "relationorderid": {
  4920. "description": "关联单号",
  4921. "type": "string"
  4922. },
  4923. "remark": {
  4924. "description": "备注",
  4925. "type": "string"
  4926. },
  4927. "trademode": {
  4928. "description": "交易模式",
  4929. "type": "integer"
  4930. }
  4931. }
  4932. }
  4933. },
  4934. "securityDefinitions": {
  4935. "ApiKeyAuth": {
  4936. "type": "apiKey",
  4937. "name": "Authorization",
  4938. "in": "header"
  4939. }
  4940. }
  4941. }`
  4942. type swaggerInfo struct {
  4943. Version string
  4944. Host string
  4945. BasePath string
  4946. Schemes []string
  4947. Title string
  4948. Description string
  4949. }
  4950. // SwaggerInfo holds exported Swagger Info so clients can modify it
  4951. var SwaggerInfo = swaggerInfo{
  4952. Version: "1.0",
  4953. Host: "",
  4954. BasePath: "/api",
  4955. Schemes: []string{},
  4956. Title: "MTP2.0 查询服务 API",
  4957. Description: "新的查询服务,替代原通用查询服务。",
  4958. }
  4959. type s struct{}
  4960. func (s *s) ReadDoc() string {
  4961. sInfo := SwaggerInfo
  4962. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  4963. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  4964. "marshal": func(v interface{}) string {
  4965. a, _ := json.Marshal(v)
  4966. return string(a)
  4967. },
  4968. }).Parse(doc)
  4969. if err != nil {
  4970. return doc
  4971. }
  4972. var tpl bytes.Buffer
  4973. if err := t.Execute(&tpl, sInfo); err != nil {
  4974. return doc
  4975. }
  4976. return tpl.String()
  4977. }
  4978. func init() {
  4979. swag.Register(swag.Name, &s{})
  4980. }