docs.go 141 KB

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