docs.go 191 KB

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