docs.go 348 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/NoticeReaded": {
  393. "post": {
  394. "security": [
  395. {
  396. "ApiKeyAuth": []
  397. }
  398. ],
  399. "produces": [
  400. "application/json"
  401. ],
  402. "tags": [
  403. "通用服务"
  404. ],
  405. "summary": "通知公告设置已读请求",
  406. "parameters": [
  407. {
  408. "type": "integer",
  409. "description": "登录账号",
  410. "name": "loginID",
  411. "in": "query",
  412. "required": true
  413. },
  414. {
  415. "type": "integer",
  416. "description": "通知公告ID",
  417. "name": "noticeID",
  418. "in": "query",
  419. "required": true
  420. }
  421. ],
  422. "responses": {
  423. "200": {
  424. "description": "OK",
  425. "schema": {
  426. "$ref": "#/definitions/app.Response"
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/QueryImageConfigs": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询轮播图配置信息",
  447. "parameters": [
  448. {
  449. "type": "integer",
  450. "description": "类型 - 1:App首页轮播 2:我的",
  451. "name": "imageType",
  452. "in": "query"
  453. }
  454. ],
  455. "responses": {
  456. "200": {
  457. "description": "OK",
  458. "schema": {
  459. "$ref": "#/definitions/models.Szdz2imageconfig"
  460. }
  461. },
  462. "500": {
  463. "description": "Internal Server Error",
  464. "schema": {
  465. "$ref": "#/definitions/app.Response"
  466. }
  467. }
  468. }
  469. }
  470. },
  471. "/Common/QueryNotice": {
  472. "get": {
  473. "security": [
  474. {
  475. "ApiKeyAuth": []
  476. }
  477. ],
  478. "produces": [
  479. "application/json"
  480. ],
  481. "tags": [
  482. "通用服务"
  483. ],
  484. "summary": "通知公告系统消息查询",
  485. "parameters": [
  486. {
  487. "type": "integer",
  488. "description": "页码",
  489. "name": "page",
  490. "in": "query"
  491. },
  492. {
  493. "type": "integer",
  494. "description": "每页条数",
  495. "name": "pagesize",
  496. "in": "query"
  497. },
  498. {
  499. "type": "integer",
  500. "description": "登录账号",
  501. "name": "loginID",
  502. "in": "query",
  503. "required": true
  504. },
  505. {
  506. "type": "integer",
  507. "description": "消息类型 - 1:公告通知 2:系统消息",
  508. "name": "msgType",
  509. "in": "query"
  510. },
  511. {
  512. "type": "boolean",
  513. "description": "是否只获取未读信息",
  514. "name": "onlyUnRead",
  515. "in": "query"
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/common.QueryNoticeRsp"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryProvincesAndCities": {
  535. "get": {
  536. "produces": [
  537. "application/json"
  538. ],
  539. "tags": [
  540. "通用服务"
  541. ],
  542. "summary": "查询省市信息(不包括区)",
  543. "parameters": [
  544. {
  545. "type": "integer",
  546. "description": "省ID",
  547. "name": "provinceID",
  548. "in": "query"
  549. }
  550. ],
  551. "responses": {
  552. "200": {
  553. "description": "OK",
  554. "schema": {
  555. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  556. }
  557. },
  558. "500": {
  559. "description": "Internal Server Error",
  560. "schema": {
  561. "$ref": "#/definitions/app.Response"
  562. }
  563. }
  564. }
  565. }
  566. },
  567. "/Common/QueryTableDefine": {
  568. "get": {
  569. "produces": [
  570. "application/json"
  571. ],
  572. "tags": [
  573. "通用服务"
  574. ],
  575. "summary": "查询交易端列表头信息",
  576. "parameters": [
  577. {
  578. "type": "string",
  579. "description": "表key",
  580. "name": "TableKey",
  581. "in": "query"
  582. }
  583. ],
  584. "responses": {
  585. "200": {
  586. "description": "OK",
  587. "schema": {
  588. "$ref": "#/definitions/common.QueryTableDefineRsp"
  589. }
  590. },
  591. "500": {
  592. "description": "Internal Server Error",
  593. "schema": {
  594. "$ref": "#/definitions/app.Response"
  595. }
  596. }
  597. }
  598. }
  599. },
  600. "/Common/QueryTraderMenu": {
  601. "get": {
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "查询交易端菜单",
  609. "parameters": [
  610. {
  611. "type": "integer",
  612. "description": "登录账号",
  613. "name": "loginid",
  614. "in": "query",
  615. "required": true
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Delivery/QueryDeliveryRelation": {
  635. "get": {
  636. "security": [
  637. {
  638. "ApiKeyAuth": []
  639. }
  640. ],
  641. "produces": [
  642. "application/json"
  643. ],
  644. "tags": [
  645. "交割服务"
  646. ],
  647. "summary": "查询商品交割关系表",
  648. "parameters": [
  649. {
  650. "type": "integer",
  651. "description": "商品ID",
  652. "name": "goodsid",
  653. "in": "query"
  654. },
  655. {
  656. "type": "integer",
  657. "description": "品种ID",
  658. "name": "deliverygoodsid",
  659. "in": "query"
  660. },
  661. {
  662. "type": "integer",
  663. "description": "市场ID",
  664. "name": "marketid",
  665. "in": "query"
  666. }
  667. ],
  668. "responses": {
  669. "200": {
  670. "description": "OK",
  671. "schema": {
  672. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  673. }
  674. },
  675. "500": {
  676. "description": "Internal Server Error",
  677. "schema": {
  678. "$ref": "#/definitions/app.Response"
  679. }
  680. }
  681. }
  682. }
  683. },
  684. "/Erms2/QueryArbitrageStrategy": {
  685. "get": {
  686. "security": [
  687. {
  688. "ApiKeyAuth": []
  689. }
  690. ],
  691. "produces": [
  692. "application/json"
  693. ],
  694. "tags": [
  695. "风险管理"
  696. ],
  697. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  698. "parameters": [
  699. {
  700. "type": "integer",
  701. "description": "账户ID",
  702. "name": "userid",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "string",
  708. "description": "商品组ID(品种ID)",
  709. "name": "goodsgroupid",
  710. "in": "query"
  711. }
  712. ],
  713. "responses": {
  714. "200": {
  715. "description": "OK",
  716. "schema": {
  717. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  718. }
  719. },
  720. "500": {
  721. "description": "Internal Server Error",
  722. "schema": {
  723. "$ref": "#/definitions/app.Response"
  724. }
  725. }
  726. }
  727. }
  728. },
  729. "/Erms2/QueryInnerTradeDetail": {
  730. "get": {
  731. "security": [
  732. {
  733. "ApiKeyAuth": []
  734. }
  735. ],
  736. "produces": [
  737. "application/json"
  738. ],
  739. "tags": [
  740. "风险管理"
  741. ],
  742. "summary": "查询内部成交单信息",
  743. "parameters": [
  744. {
  745. "type": "integer",
  746. "description": "资金账户",
  747. "name": "accountid",
  748. "in": "query",
  749. "required": true
  750. }
  751. ],
  752. "responses": {
  753. "200": {
  754. "description": "OK",
  755. "schema": {
  756. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  757. }
  758. },
  759. "500": {
  760. "description": "Internal Server Error",
  761. "schema": {
  762. "$ref": "#/definitions/app.Response"
  763. }
  764. }
  765. }
  766. }
  767. },
  768. "/Erms2/QuerySpotContract": {
  769. "get": {
  770. "security": [
  771. {
  772. "ApiKeyAuth": []
  773. }
  774. ],
  775. "produces": [
  776. "application/json"
  777. ],
  778. "tags": [
  779. "风险管理"
  780. ],
  781. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  782. "parameters": [
  783. {
  784. "type": "integer",
  785. "description": "策略申请ID",
  786. "name": "asapplyid",
  787. "in": "query",
  788. "required": true
  789. },
  790. {
  791. "type": "integer",
  792. "description": "现货合同ID",
  793. "name": "spotcontractid",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Erms3/AddErms2ASApply": {
  814. "post": {
  815. "security": [
  816. {
  817. "ApiKeyAuth": []
  818. }
  819. ],
  820. "produces": [
  821. "application/json"
  822. ],
  823. "tags": [
  824. "风险管理v3"
  825. ],
  826. "summary": "新增期现套利业务申请",
  827. "parameters": [
  828. {
  829. "description": "申请参数",
  830. "name": "jsonBody",
  831. "in": "body",
  832. "required": true,
  833. "schema": {
  834. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  835. }
  836. }
  837. ],
  838. "responses": {
  839. "200": {
  840. "description": "OK",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Erms3/AddSpotContractApply": {
  855. "post": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "风险管理v3"
  866. ],
  867. "summary": "新增现货合同申请",
  868. "parameters": [
  869. {
  870. "description": "申请参数",
  871. "name": "jsonBody",
  872. "in": "body",
  873. "required": true,
  874. "schema": {
  875. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  876. }
  877. }
  878. ],
  879. "responses": {
  880. "200": {
  881. "description": "OK",
  882. "schema": {
  883. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  884. }
  885. },
  886. "500": {
  887. "description": "Internal Server Error",
  888. "schema": {
  889. "$ref": "#/definitions/app.Response"
  890. }
  891. }
  892. }
  893. }
  894. },
  895. "/Erms3/AddUserInfoApply": {
  896. "post": {
  897. "security": [
  898. {
  899. "ApiKeyAuth": []
  900. }
  901. ],
  902. "produces": [
  903. "application/json"
  904. ],
  905. "tags": [
  906. "风险管理v3"
  907. ],
  908. "summary": "新增客户申请",
  909. "parameters": [
  910. {
  911. "description": "申请参数",
  912. "name": "jsonBody",
  913. "in": "body",
  914. "required": true,
  915. "schema": {
  916. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  917. }
  918. }
  919. ],
  920. "responses": {
  921. "200": {
  922. "description": "OK",
  923. "schema": {
  924. "$ref": "#/definitions/app.Response"
  925. }
  926. },
  927. "500": {
  928. "description": "Internal Server Error",
  929. "schema": {
  930. "$ref": "#/definitions/app.Response"
  931. }
  932. }
  933. }
  934. }
  935. },
  936. "/Erms3/QueryBusinessInfo": {
  937. "get": {
  938. "security": [
  939. {
  940. "ApiKeyAuth": []
  941. }
  942. ],
  943. "produces": [
  944. "application/json"
  945. ],
  946. "tags": [
  947. "风险管理v3"
  948. ],
  949. "summary": "查询业务表单数据",
  950. "parameters": [
  951. {
  952. "type": "string",
  953. "description": "资金账号ID列表,用逗号分隔",
  954. "name": "accountids",
  955. "in": "query",
  956. "required": true
  957. },
  958. {
  959. "type": "integer",
  960. "description": "状态,0为未结束 1为已结束",
  961. "name": "status",
  962. "in": "query",
  963. "required": true
  964. }
  965. ],
  966. "responses": {
  967. "200": {
  968. "description": "OK",
  969. "schema": {
  970. "type": "array",
  971. "items": {
  972. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  973. }
  974. }
  975. },
  976. "500": {
  977. "description": "Internal Server Error",
  978. "schema": {
  979. "$ref": "#/definitions/app.Response"
  980. }
  981. }
  982. }
  983. }
  984. },
  985. "/Erms3/QueryPendingAuditContract": {
  986. "get": {
  987. "security": [
  988. {
  989. "ApiKeyAuth": []
  990. }
  991. ],
  992. "produces": [
  993. "application/json"
  994. ],
  995. "tags": [
  996. "风险管理v3"
  997. ],
  998. "summary": "查询待审核合同",
  999. "parameters": [
  1000. {
  1001. "type": "string",
  1002. "description": "资金账号ID列表,逗号隔开",
  1003. "name": "accountids",
  1004. "in": "query",
  1005. "required": true
  1006. },
  1007. {
  1008. "type": "integer",
  1009. "description": "合同类型 1-采购 -1-销售",
  1010. "name": "contracttype",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "合同模式 1-普通 2-回购",
  1017. "name": "contractmode",
  1018. "in": "query",
  1019. "required": true
  1020. }
  1021. ],
  1022. "responses": {
  1023. "200": {
  1024. "description": "OK",
  1025. "schema": {
  1026. "type": "array",
  1027. "items": {
  1028. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1029. }
  1030. }
  1031. },
  1032. "500": {
  1033. "description": "Internal Server Error",
  1034. "schema": {
  1035. "$ref": "#/definitions/app.Response"
  1036. }
  1037. }
  1038. }
  1039. }
  1040. },
  1041. "/Erms3/QueryPendingBusiness": {
  1042. "get": {
  1043. "security": [
  1044. {
  1045. "ApiKeyAuth": []
  1046. }
  1047. ],
  1048. "produces": [
  1049. "application/json"
  1050. ],
  1051. "tags": [
  1052. "风险管理v3"
  1053. ],
  1054. "summary": "查询待审核基差贸易业务",
  1055. "parameters": [
  1056. {
  1057. "type": "string",
  1058. "description": "资金账号ID列表,逗号隔开",
  1059. "name": "accountids",
  1060. "in": "query",
  1061. "required": true
  1062. }
  1063. ],
  1064. "responses": {
  1065. "200": {
  1066. "description": "OK",
  1067. "schema": {
  1068. "type": "array",
  1069. "items": {
  1070. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1071. }
  1072. }
  1073. },
  1074. "500": {
  1075. "description": "Internal Server Error",
  1076. "schema": {
  1077. "$ref": "#/definitions/app.Response"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. },
  1083. "/Erms3/QuerySpotContractAppleForm": {
  1084. "get": {
  1085. "security": [
  1086. {
  1087. "ApiKeyAuth": []
  1088. }
  1089. ],
  1090. "produces": [
  1091. "application/json"
  1092. ],
  1093. "tags": [
  1094. "风险管理v3"
  1095. ],
  1096. "summary": "查询合同申请表单数据",
  1097. "parameters": [
  1098. {
  1099. "type": "integer",
  1100. "description": "登录账号",
  1101. "name": "loginID",
  1102. "in": "query",
  1103. "required": true
  1104. }
  1105. ],
  1106. "responses": {
  1107. "200": {
  1108. "description": "OK",
  1109. "schema": {
  1110. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1111. }
  1112. },
  1113. "500": {
  1114. "description": "Internal Server Error",
  1115. "schema": {
  1116. "$ref": "#/definitions/app.Response"
  1117. }
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "/Erms3/QuerySpotContractDetail": {
  1123. "get": {
  1124. "security": [
  1125. {
  1126. "ApiKeyAuth": []
  1127. }
  1128. ],
  1129. "produces": [
  1130. "application/json"
  1131. ],
  1132. "tags": [
  1133. "风险管理v3"
  1134. ],
  1135. "summary": "查询合同详细信息",
  1136. "parameters": [
  1137. {
  1138. "type": "string",
  1139. "description": "资金账号ID列表,用逗号分隔",
  1140. "name": "accountids",
  1141. "in": "query",
  1142. "required": true
  1143. },
  1144. {
  1145. "type": "integer",
  1146. "description": "合同类型,1为采购合同 -1为销售合同",
  1147. "name": "contracttype",
  1148. "in": "query",
  1149. "required": true
  1150. },
  1151. {
  1152. "type": "integer",
  1153. "description": "合同模式,1为普通合同 2为回购销售合同",
  1154. "name": "contractmode",
  1155. "in": "query",
  1156. "required": true
  1157. },
  1158. {
  1159. "type": "integer",
  1160. "description": "状态,0为履约中 1为已完成",
  1161. "name": "status",
  1162. "in": "query",
  1163. "required": true
  1164. }
  1165. ],
  1166. "responses": {
  1167. "200": {
  1168. "description": "OK",
  1169. "schema": {
  1170. "type": "array",
  1171. "items": {
  1172. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1173. }
  1174. }
  1175. },
  1176. "500": {
  1177. "description": "Internal Server Error",
  1178. "schema": {
  1179. "$ref": "#/definitions/app.Response"
  1180. }
  1181. }
  1182. }
  1183. }
  1184. },
  1185. "/Erms3/QueryUserInfoApplies": {
  1186. "get": {
  1187. "security": [
  1188. {
  1189. "ApiKeyAuth": []
  1190. }
  1191. ],
  1192. "produces": [
  1193. "application/json"
  1194. ],
  1195. "tags": [
  1196. "风险管理v3"
  1197. ],
  1198. "summary": "客户申请信息查询",
  1199. "parameters": [
  1200. {
  1201. "type": "integer",
  1202. "description": "页码",
  1203. "name": "page",
  1204. "in": "query"
  1205. },
  1206. {
  1207. "type": "integer",
  1208. "description": "每页条数",
  1209. "name": "pagesize",
  1210. "in": "query"
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "客户名称,支持模糊查询",
  1215. "name": "userName",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1224. }
  1225. },
  1226. "500": {
  1227. "description": "Internal Server Error",
  1228. "schema": {
  1229. "$ref": "#/definitions/app.Response"
  1230. }
  1231. }
  1232. }
  1233. }
  1234. },
  1235. "/Erms3/QueryUserInfos": {
  1236. "get": {
  1237. "security": [
  1238. {
  1239. "ApiKeyAuth": []
  1240. }
  1241. ],
  1242. "produces": [
  1243. "application/json"
  1244. ],
  1245. "tags": [
  1246. "风险管理v3"
  1247. ],
  1248. "summary": "客户信息查询",
  1249. "parameters": [
  1250. {
  1251. "type": "integer",
  1252. "description": "页码",
  1253. "name": "page",
  1254. "in": "query"
  1255. },
  1256. {
  1257. "type": "integer",
  1258. "description": "每页条数",
  1259. "name": "pagesize",
  1260. "in": "query"
  1261. },
  1262. {
  1263. "type": "string",
  1264. "description": "客户名称,支持模糊查询",
  1265. "name": "userName",
  1266. "in": "query"
  1267. }
  1268. ],
  1269. "responses": {
  1270. "200": {
  1271. "description": "OK",
  1272. "schema": {
  1273. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1274. }
  1275. },
  1276. "500": {
  1277. "description": "Internal Server Error",
  1278. "schema": {
  1279. "$ref": "#/definitions/app.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/HSBY/GetHsbyMyCount": {
  1286. "get": {
  1287. "security": [
  1288. {
  1289. "ApiKeyAuth": []
  1290. }
  1291. ],
  1292. "description": "说明: 不包括已完成的数量。",
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "定制【海商报业】"
  1298. ],
  1299. "summary": "获取我的订单与包裹数量",
  1300. "parameters": [
  1301. {
  1302. "type": "string",
  1303. "description": "资金账户列表,格式:1,2,3",
  1304. "name": "accountIDs",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1314. }
  1315. },
  1316. "500": {
  1317. "description": "Internal Server Error",
  1318. "schema": {
  1319. "$ref": "#/definitions/app.Response"
  1320. }
  1321. }
  1322. }
  1323. }
  1324. },
  1325. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1326. "get": {
  1327. "security": [
  1328. {
  1329. "ApiKeyAuth": []
  1330. }
  1331. ],
  1332. "produces": [
  1333. "application/json"
  1334. ],
  1335. "tags": [
  1336. "定制【海商报业】"
  1337. ],
  1338. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1339. "parameters": [
  1340. {
  1341. "type": "integer",
  1342. "description": "页码",
  1343. "name": "page",
  1344. "in": "query"
  1345. },
  1346. {
  1347. "type": "integer",
  1348. "description": "每页条数",
  1349. "name": "pagesize",
  1350. "in": "query"
  1351. },
  1352. {
  1353. "type": "string",
  1354. "description": "资金账户列表,格式:1,2,3",
  1355. "name": "accountIDs",
  1356. "in": "query",
  1357. "required": true
  1358. }
  1359. ],
  1360. "responses": {
  1361. "200": {
  1362. "description": "OK",
  1363. "schema": {
  1364. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "description": "说明:查询结果已按委托价格和委托时间排序",
  1384. "produces": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "定制【海商报业】"
  1389. ],
  1390. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1391. "parameters": [
  1392. {
  1393. "type": "integer",
  1394. "description": "商品ID",
  1395. "name": "goodsID",
  1396. "in": "query",
  1397. "required": true
  1398. },
  1399. {
  1400. "type": "string",
  1401. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1402. "name": "accountIDs",
  1403. "in": "query",
  1404. "required": true
  1405. },
  1406. {
  1407. "type": "integer",
  1408. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1409. "name": "buyOrSell",
  1410. "in": "query"
  1411. },
  1412. {
  1413. "type": "number",
  1414. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1415. "name": "price",
  1416. "in": "query"
  1417. },
  1418. {
  1419. "type": "integer",
  1420. "description": "档位,不传则默认为3档",
  1421. "name": "speed",
  1422. "in": "query"
  1423. }
  1424. ],
  1425. "responses": {
  1426. "200": {
  1427. "description": "OK",
  1428. "schema": {
  1429. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/HSBY/QueryHsbyListingGoodsDetail": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "定制【海商报业】"
  1453. ],
  1454. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "商品ID",
  1459. "name": "goodsID",
  1460. "in": "query",
  1461. "required": true
  1462. },
  1463. {
  1464. "type": "integer",
  1465. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1466. "name": "AccountID",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1475. }
  1476. },
  1477. "500": {
  1478. "description": "Internal Server Error",
  1479. "schema": {
  1480. "$ref": "#/definitions/app.Response"
  1481. }
  1482. }
  1483. }
  1484. }
  1485. },
  1486. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1487. "get": {
  1488. "security": [
  1489. {
  1490. "ApiKeyAuth": []
  1491. }
  1492. ],
  1493. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1494. "produces": [
  1495. "application/json"
  1496. ],
  1497. "tags": [
  1498. "定制【海商报业】"
  1499. ],
  1500. "summary": "查询“我的订单”信息",
  1501. "parameters": [
  1502. {
  1503. "type": "string",
  1504. "description": "资金账户列表,格式:1,2,3",
  1505. "name": "accountIDs",
  1506. "in": "query",
  1507. "required": true
  1508. },
  1509. {
  1510. "type": "integer",
  1511. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1512. "name": "myBuyStatus",
  1513. "in": "query"
  1514. }
  1515. ],
  1516. "responses": {
  1517. "200": {
  1518. "description": "OK",
  1519. "schema": {
  1520. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1521. }
  1522. },
  1523. "500": {
  1524. "description": "Internal Server Error",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. }
  1529. }
  1530. }
  1531. },
  1532. "/HSBY/QueryHsbyMyGoods": {
  1533. "get": {
  1534. "security": [
  1535. {
  1536. "ApiKeyAuth": []
  1537. }
  1538. ],
  1539. "produces": [
  1540. "application/json"
  1541. ],
  1542. "tags": [
  1543. "定制【海商报业】"
  1544. ],
  1545. "summary": "查询“我的商品”信息",
  1546. "parameters": [
  1547. {
  1548. "type": "string",
  1549. "description": "资金账户列表,格式:1,2,3",
  1550. "name": "accountIDs",
  1551. "in": "query",
  1552. "required": true
  1553. }
  1554. ],
  1555. "responses": {
  1556. "200": {
  1557. "description": "OK",
  1558. "schema": {
  1559. "$ref": "#/definitions/models.HsbyMyGoods"
  1560. }
  1561. },
  1562. "500": {
  1563. "description": "Internal Server Error",
  1564. "schema": {
  1565. "$ref": "#/definitions/app.Response"
  1566. }
  1567. }
  1568. }
  1569. }
  1570. },
  1571. "/HSBY/QueryHsbyMyPackages": {
  1572. "get": {
  1573. "security": [
  1574. {
  1575. "ApiKeyAuth": []
  1576. }
  1577. ],
  1578. "produces": [
  1579. "application/json"
  1580. ],
  1581. "tags": [
  1582. "定制【海商报业】"
  1583. ],
  1584. "summary": "查询我的包裹信息",
  1585. "parameters": [
  1586. {
  1587. "type": "string",
  1588. "description": "资金账户列表,格式:1,2,3",
  1589. "name": "accountIDs",
  1590. "in": "query",
  1591. "required": true
  1592. },
  1593. {
  1594. "type": "integer",
  1595. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1596. "name": "takeOrderStatus",
  1597. "in": "query"
  1598. }
  1599. ],
  1600. "responses": {
  1601. "200": {
  1602. "description": "OK",
  1603. "schema": {
  1604. "$ref": "#/definitions/models.HsbyMyPackage"
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/HSBY/QueryHsbyPreGoodsDetail": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "定制【海商报业】"
  1628. ],
  1629. "summary": "查询一级市场(产能预售)商品信息详情",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "商品ID",
  1634. "name": "goodsID",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "资金账户,主要用于获取预售商品购买上限",
  1641. "name": "accountID",
  1642. "in": "query",
  1643. "required": true
  1644. }
  1645. ],
  1646. "responses": {
  1647. "200": {
  1648. "description": "OK",
  1649. "schema": {
  1650. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1651. }
  1652. },
  1653. "500": {
  1654. "description": "Internal Server Error",
  1655. "schema": {
  1656. "$ref": "#/definitions/app.Response"
  1657. }
  1658. }
  1659. }
  1660. }
  1661. },
  1662. "/HSBY/QueryHsbyPreGoodses": {
  1663. "get": {
  1664. "security": [
  1665. {
  1666. "ApiKeyAuth": []
  1667. }
  1668. ],
  1669. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1670. "produces": [
  1671. "application/json"
  1672. ],
  1673. "tags": [
  1674. "定制【海商报业】"
  1675. ],
  1676. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1677. "parameters": [
  1678. {
  1679. "type": "integer",
  1680. "description": "页码",
  1681. "name": "page",
  1682. "in": "query"
  1683. },
  1684. {
  1685. "type": "integer",
  1686. "description": "每页条数",
  1687. "name": "pagesize",
  1688. "in": "query"
  1689. },
  1690. {
  1691. "type": "string",
  1692. "description": "市场ID列表,格式:1,2,3",
  1693. "name": "marketIDs",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "目的地(省)ID",
  1700. "name": "descProvinceID",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "目的地(市)ID",
  1706. "name": "descCityID",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "$ref": "#/definitions/models.HsbyPreGoods"
  1715. }
  1716. },
  1717. "500": {
  1718. "description": "Internal Server Error",
  1719. "schema": {
  1720. "$ref": "#/definitions/app.Response"
  1721. }
  1722. }
  1723. }
  1724. }
  1725. },
  1726. "/HSBY/QueryHsbySellMyDetails": {
  1727. "get": {
  1728. "security": [
  1729. {
  1730. "ApiKeyAuth": []
  1731. }
  1732. ],
  1733. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1734. "produces": [
  1735. "application/json"
  1736. ],
  1737. "tags": [
  1738. "定制【海商报业】"
  1739. ],
  1740. "summary": "查询\"我的闲置\"单据信息",
  1741. "parameters": [
  1742. {
  1743. "type": "integer",
  1744. "description": "页码",
  1745. "name": "page",
  1746. "in": "query"
  1747. },
  1748. {
  1749. "type": "integer",
  1750. "description": "每页条数",
  1751. "name": "pagesize",
  1752. "in": "query"
  1753. },
  1754. {
  1755. "type": "string",
  1756. "description": "资金账户列表,格式:1,2,3",
  1757. "name": "accountIDs",
  1758. "in": "query",
  1759. "required": true
  1760. },
  1761. {
  1762. "type": "integer",
  1763. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1764. "name": "orderType",
  1765. "in": "query"
  1766. }
  1767. ],
  1768. "responses": {
  1769. "200": {
  1770. "description": "OK",
  1771. "schema": {
  1772. "$ref": "#/definitions/models.HsbySellMyDetail"
  1773. }
  1774. },
  1775. "500": {
  1776. "description": "Internal Server Error",
  1777. "schema": {
  1778. "$ref": "#/definitions/app.Response"
  1779. }
  1780. }
  1781. }
  1782. }
  1783. },
  1784. "/HSBY/QueryHsbyTopGoodses": {
  1785. "get": {
  1786. "security": [
  1787. {
  1788. "ApiKeyAuth": []
  1789. }
  1790. ],
  1791. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1792. "produces": [
  1793. "application/json"
  1794. ],
  1795. "tags": [
  1796. "定制【海商报业】"
  1797. ],
  1798. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1799. "parameters": [
  1800. {
  1801. "type": "integer",
  1802. "description": "页码",
  1803. "name": "page",
  1804. "in": "query"
  1805. },
  1806. {
  1807. "type": "integer",
  1808. "description": "每页条数",
  1809. "name": "pagesize",
  1810. "in": "query"
  1811. },
  1812. {
  1813. "type": "string",
  1814. "description": "市场ID列表,格式:1,2,3",
  1815. "name": "marketIDs",
  1816. "in": "query",
  1817. "required": true
  1818. },
  1819. {
  1820. "type": "integer",
  1821. "description": "目的地(省)ID",
  1822. "name": "descProvinceID",
  1823. "in": "query"
  1824. },
  1825. {
  1826. "type": "integer",
  1827. "description": "目的地(市)ID",
  1828. "name": "descCityID",
  1829. "in": "query"
  1830. }
  1831. ],
  1832. "responses": {
  1833. "200": {
  1834. "description": "OK",
  1835. "schema": {
  1836. "$ref": "#/definitions/models.HsbyTopGoods"
  1837. }
  1838. },
  1839. "500": {
  1840. "description": "Internal Server Error",
  1841. "schema": {
  1842. "$ref": "#/definitions/app.Response"
  1843. }
  1844. }
  1845. }
  1846. }
  1847. },
  1848. "/HSBY/QueryProvincesAndCities": {
  1849. "get": {
  1850. "security": [
  1851. {
  1852. "ApiKeyAuth": []
  1853. }
  1854. ],
  1855. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1856. "produces": [
  1857. "application/json"
  1858. ],
  1859. "tags": [
  1860. "定制【海商报业】"
  1861. ],
  1862. "summary": "查询省市信息(不包括区)",
  1863. "parameters": [
  1864. {
  1865. "type": "integer",
  1866. "description": "省ID",
  1867. "name": "provinceID",
  1868. "in": "query"
  1869. }
  1870. ],
  1871. "responses": {
  1872. "200": {
  1873. "description": "OK",
  1874. "schema": {
  1875. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1876. }
  1877. },
  1878. "500": {
  1879. "description": "Internal Server Error",
  1880. "schema": {
  1881. "$ref": "#/definitions/app.Response"
  1882. }
  1883. }
  1884. }
  1885. }
  1886. },
  1887. "/HSBY/SetHsbyMyPackagesStatus": {
  1888. "post": {
  1889. "security": [
  1890. {
  1891. "ApiKeyAuth": []
  1892. }
  1893. ],
  1894. "produces": [
  1895. "application/json"
  1896. ],
  1897. "tags": [
  1898. "定制【海商报业】"
  1899. ],
  1900. "summary": "设置我的包裹已收货状态",
  1901. "parameters": [
  1902. {
  1903. "type": "string",
  1904. "description": "提货单号",
  1905. "name": "takeOrderID",
  1906. "in": "query",
  1907. "required": true
  1908. },
  1909. {
  1910. "type": "integer",
  1911. "description": "资金账号",
  1912. "name": "accountID",
  1913. "in": "query",
  1914. "required": true
  1915. }
  1916. ],
  1917. "responses": {
  1918. "200": {
  1919. "description": "OK",
  1920. "schema": {
  1921. "$ref": "#/definitions/app.Response"
  1922. }
  1923. },
  1924. "500": {
  1925. "description": "Internal Server Error",
  1926. "schema": {
  1927. "$ref": "#/definitions/app.Response"
  1928. }
  1929. }
  1930. }
  1931. }
  1932. },
  1933. "/Order/QueryHisTradeDetail": {
  1934. "get": {
  1935. "security": [
  1936. {
  1937. "ApiKeyAuth": []
  1938. }
  1939. ],
  1940. "produces": [
  1941. "application/json"
  1942. ],
  1943. "tags": [
  1944. "通用单据"
  1945. ],
  1946. "summary": "历史成交单查询(合约市场)",
  1947. "parameters": [
  1948. {
  1949. "type": "string",
  1950. "description": "资金账户 - 格式:1,2,3",
  1951. "name": "accountID",
  1952. "in": "query",
  1953. "required": true
  1954. },
  1955. {
  1956. "type": "integer",
  1957. "description": "成交单号",
  1958. "name": "tradeID",
  1959. "in": "query"
  1960. },
  1961. {
  1962. "type": "integer",
  1963. "description": "委托单号",
  1964. "name": "orderID",
  1965. "in": "query"
  1966. },
  1967. {
  1968. "type": "string",
  1969. "description": "交易模式 - 格式:1,2,3",
  1970. "name": "tradeMode",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": "委托单据类型",
  1976. "name": "buildType",
  1977. "in": "query"
  1978. },
  1979. {
  1980. "type": "string",
  1981. "description": "成交类别 - 格式:1,2,3",
  1982. "name": "tradeType",
  1983. "in": "query"
  1984. },
  1985. {
  1986. "type": "string",
  1987. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1988. "name": "startDate",
  1989. "in": "query"
  1990. },
  1991. {
  1992. "type": "string",
  1993. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1994. "name": "endDate",
  1995. "in": "query"
  1996. }
  1997. ],
  1998. "responses": {
  1999. "200": {
  2000. "description": "OK",
  2001. "schema": {
  2002. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2003. }
  2004. },
  2005. "500": {
  2006. "description": "Internal Server Error",
  2007. "schema": {
  2008. "$ref": "#/definitions/app.Response"
  2009. }
  2010. }
  2011. }
  2012. }
  2013. },
  2014. "/Order/QueryHisTradeOrderDetail": {
  2015. "get": {
  2016. "security": [
  2017. {
  2018. "ApiKeyAuth": []
  2019. }
  2020. ],
  2021. "produces": [
  2022. "application/json"
  2023. ],
  2024. "tags": [
  2025. "通用单据"
  2026. ],
  2027. "summary": "历史委托单查询请求(合约市场)",
  2028. "parameters": [
  2029. {
  2030. "type": "string",
  2031. "description": "资金账户 - 格式:1,2,3",
  2032. "name": "accountID",
  2033. "in": "query",
  2034. "required": true
  2035. },
  2036. {
  2037. "type": "string",
  2038. "description": "交易模式 - 格式:1,2,3",
  2039. "name": "tradeMode",
  2040. "in": "query"
  2041. },
  2042. {
  2043. "type": "string",
  2044. "description": "委托状态 - 格式:1,2,3",
  2045. "name": "orderStatus",
  2046. "in": "query"
  2047. },
  2048. {
  2049. "type": "integer",
  2050. "description": "委托单号",
  2051. "name": "orderID",
  2052. "in": "query"
  2053. },
  2054. {
  2055. "type": "string",
  2056. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2057. "name": "startDate",
  2058. "in": "query"
  2059. },
  2060. {
  2061. "type": "string",
  2062. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2063. "name": "endDate",
  2064. "in": "query"
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2072. }
  2073. },
  2074. "500": {
  2075. "description": "Internal Server Error",
  2076. "schema": {
  2077. "$ref": "#/definitions/app.Response"
  2078. }
  2079. }
  2080. }
  2081. }
  2082. },
  2083. "/Order/QueryTradeDetail": {
  2084. "get": {
  2085. "security": [
  2086. {
  2087. "ApiKeyAuth": []
  2088. }
  2089. ],
  2090. "produces": [
  2091. "application/json"
  2092. ],
  2093. "tags": [
  2094. "通用单据"
  2095. ],
  2096. "summary": "成交单查询(合约市场)",
  2097. "parameters": [
  2098. {
  2099. "type": "string",
  2100. "description": "资金账户 - 格式:1,2,3",
  2101. "name": "accountID",
  2102. "in": "query",
  2103. "required": true
  2104. },
  2105. {
  2106. "type": "integer",
  2107. "description": "成交单号",
  2108. "name": "tradeID",
  2109. "in": "query"
  2110. },
  2111. {
  2112. "type": "integer",
  2113. "description": "委托单号",
  2114. "name": "orderID",
  2115. "in": "query"
  2116. },
  2117. {
  2118. "type": "string",
  2119. "description": "交易模式 - 格式:1,2,3",
  2120. "name": "tradeMode",
  2121. "in": "query"
  2122. },
  2123. {
  2124. "type": "integer",
  2125. "description": "委托单据类型",
  2126. "name": "buildType",
  2127. "in": "query"
  2128. },
  2129. {
  2130. "type": "string",
  2131. "description": "成交类别 - 格式:1,2,3",
  2132. "name": "tradeType",
  2133. "in": "query"
  2134. }
  2135. ],
  2136. "responses": {
  2137. "200": {
  2138. "description": "OK",
  2139. "schema": {
  2140. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2141. }
  2142. },
  2143. "500": {
  2144. "description": "Internal Server Error",
  2145. "schema": {
  2146. "$ref": "#/definitions/app.Response"
  2147. }
  2148. }
  2149. }
  2150. }
  2151. },
  2152. "/Order/QueryTradeOrderDetail": {
  2153. "get": {
  2154. "security": [
  2155. {
  2156. "ApiKeyAuth": []
  2157. }
  2158. ],
  2159. "produces": [
  2160. "application/json"
  2161. ],
  2162. "tags": [
  2163. "通用单据"
  2164. ],
  2165. "summary": "委托单查询请求(合约市场)",
  2166. "parameters": [
  2167. {
  2168. "type": "string",
  2169. "description": "资金账户 - 格式:1,2,3",
  2170. "name": "accountID",
  2171. "in": "query",
  2172. "required": true
  2173. },
  2174. {
  2175. "type": "string",
  2176. "description": "交易模式 - 格式:1,2,3",
  2177. "name": "tradeMode",
  2178. "in": "query"
  2179. },
  2180. {
  2181. "type": "string",
  2182. "description": "委托状态 - 格式:1,2,3",
  2183. "name": "orderStatus",
  2184. "in": "query"
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "委托单号",
  2189. "name": "orderID",
  2190. "in": "query"
  2191. }
  2192. ],
  2193. "responses": {
  2194. "200": {
  2195. "description": "OK",
  2196. "schema": {
  2197. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "Internal Server Error",
  2202. "schema": {
  2203. "$ref": "#/definitions/app.Response"
  2204. }
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "/Order/QueryTradePosition": {
  2210. "get": {
  2211. "security": [
  2212. {
  2213. "ApiKeyAuth": []
  2214. }
  2215. ],
  2216. "produces": [
  2217. "application/json"
  2218. ],
  2219. "tags": [
  2220. "通用单据"
  2221. ],
  2222. "summary": "持仓汇总查询(合约市场)",
  2223. "parameters": [
  2224. {
  2225. "type": "string",
  2226. "description": "资金账户 - 格式:1,2,3",
  2227. "name": "accountID",
  2228. "in": "query",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "string",
  2233. "description": "交易模式 - 格式:1,2,3",
  2234. "name": "tradeMode",
  2235. "in": "query"
  2236. }
  2237. ],
  2238. "responses": {
  2239. "200": {
  2240. "description": "OK",
  2241. "schema": {
  2242. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2243. }
  2244. },
  2245. "500": {
  2246. "description": "Internal Server Error",
  2247. "schema": {
  2248. "$ref": "#/definitions/app.Response"
  2249. }
  2250. }
  2251. }
  2252. }
  2253. },
  2254. "/Quote/QueryHistoryDatas": {
  2255. "get": {
  2256. "security": [
  2257. {
  2258. "ApiKeyAuth": []
  2259. }
  2260. ],
  2261. "produces": [
  2262. "application/json"
  2263. ],
  2264. "tags": [
  2265. "行情服务"
  2266. ],
  2267. "summary": "查询行情历史数据",
  2268. "parameters": [
  2269. {
  2270. "type": "integer",
  2271. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2272. "name": "cycleType",
  2273. "in": "query",
  2274. "required": true
  2275. },
  2276. {
  2277. "type": "string",
  2278. "description": "商品代码",
  2279. "name": "goodsCode",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "string",
  2285. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2286. "name": "startTime",
  2287. "in": "query"
  2288. },
  2289. {
  2290. "type": "string",
  2291. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2292. "name": "endTime",
  2293. "in": "query"
  2294. },
  2295. {
  2296. "type": "integer",
  2297. "description": "条数",
  2298. "name": "count",
  2299. "in": "query"
  2300. },
  2301. {
  2302. "type": "boolean",
  2303. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2304. "name": "isAsc",
  2305. "in": "query"
  2306. }
  2307. ],
  2308. "responses": {
  2309. "200": {
  2310. "description": "OK",
  2311. "schema": {
  2312. "$ref": "#/definitions/quote.HistoryData"
  2313. }
  2314. },
  2315. "500": {
  2316. "description": "Internal Server Error",
  2317. "schema": {
  2318. "$ref": "#/definitions/app.Response"
  2319. }
  2320. }
  2321. }
  2322. }
  2323. },
  2324. "/Quote/QueryTSData": {
  2325. "get": {
  2326. "produces": [
  2327. "application/json"
  2328. ],
  2329. "tags": [
  2330. "行情服务"
  2331. ],
  2332. "summary": "分时图数据查询",
  2333. "parameters": [
  2334. {
  2335. "type": "string",
  2336. "description": "商品代码",
  2337. "name": "GoodsCode",
  2338. "in": "query",
  2339. "required": true
  2340. }
  2341. ],
  2342. "responses": {
  2343. "200": {
  2344. "description": "OK",
  2345. "schema": {
  2346. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2347. }
  2348. },
  2349. "500": {
  2350. "description": "Internal Server Error",
  2351. "schema": {
  2352. "$ref": "#/definitions/app.Response"
  2353. }
  2354. }
  2355. }
  2356. }
  2357. },
  2358. "/SZDZ/QueryConvertConfig": {
  2359. "get": {
  2360. "security": [
  2361. {
  2362. "ApiKeyAuth": []
  2363. }
  2364. ],
  2365. "produces": [
  2366. "application/json"
  2367. ],
  2368. "tags": [
  2369. "定制【尚志大宗】"
  2370. ],
  2371. "summary": "查询交易系统转换设置",
  2372. "parameters": [
  2373. {
  2374. "type": "integer",
  2375. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2376. "name": "convertType",
  2377. "in": "query"
  2378. },
  2379. {
  2380. "type": "string",
  2381. "description": "外部商品代码[JD\\PD]",
  2382. "name": "outerGoodsCode",
  2383. "in": "query"
  2384. },
  2385. {
  2386. "type": "string",
  2387. "description": "内部商品ID列表[交易],格式:1,2,3",
  2388. "name": "innerGoodsIDs",
  2389. "in": "query"
  2390. }
  2391. ],
  2392. "responses": {
  2393. "200": {
  2394. "description": "OK",
  2395. "schema": {
  2396. "$ref": "#/definitions/models.Szdz3convertconfig"
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "Internal Server Error",
  2401. "schema": {
  2402. "$ref": "#/definitions/app.Response"
  2403. }
  2404. }
  2405. }
  2406. }
  2407. },
  2408. "/SZDZ/QueryConvertLog": {
  2409. "get": {
  2410. "security": [
  2411. {
  2412. "ApiKeyAuth": []
  2413. }
  2414. ],
  2415. "produces": [
  2416. "application/json"
  2417. ],
  2418. "tags": [
  2419. "定制【尚志大宗】"
  2420. ],
  2421. "summary": "交易系统转换流水查询",
  2422. "parameters": [
  2423. {
  2424. "type": "string",
  2425. "description": "资金账户 - 格式:1,2,3",
  2426. "name": "accountID",
  2427. "in": "query",
  2428. "required": true
  2429. },
  2430. {
  2431. "type": "string",
  2432. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2433. "name": "startDate",
  2434. "in": "query"
  2435. },
  2436. {
  2437. "type": "string",
  2438. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2439. "name": "endDate",
  2440. "in": "query"
  2441. }
  2442. ],
  2443. "responses": {
  2444. "200": {
  2445. "description": "OK",
  2446. "schema": {
  2447. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2448. }
  2449. },
  2450. "500": {
  2451. "description": "Internal Server Error",
  2452. "schema": {
  2453. "$ref": "#/definitions/app.Response"
  2454. }
  2455. }
  2456. }
  2457. }
  2458. },
  2459. "/SZDZ/QueryGoodsPickup": {
  2460. "get": {
  2461. "security": [
  2462. {
  2463. "ApiKeyAuth": []
  2464. }
  2465. ],
  2466. "produces": [
  2467. "application/json"
  2468. ],
  2469. "tags": [
  2470. "定制【尚志大宗】"
  2471. ],
  2472. "summary": "商品提货单查询",
  2473. "parameters": [
  2474. {
  2475. "type": "string",
  2476. "description": "资金账户 - 格式:1,2,3",
  2477. "name": "accountID",
  2478. "in": "query",
  2479. "required": true
  2480. },
  2481. {
  2482. "type": "integer",
  2483. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2484. "name": "takeOrderStatus",
  2485. "in": "query"
  2486. }
  2487. ],
  2488. "responses": {
  2489. "200": {
  2490. "description": "OK",
  2491. "schema": {
  2492. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2493. }
  2494. },
  2495. "500": {
  2496. "description": "Internal Server Error",
  2497. "schema": {
  2498. "$ref": "#/definitions/app.Response"
  2499. }
  2500. }
  2501. }
  2502. }
  2503. },
  2504. "/SZDZ/QueryRecieptOrder": {
  2505. "get": {
  2506. "security": [
  2507. {
  2508. "ApiKeyAuth": []
  2509. }
  2510. ],
  2511. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2512. "produces": [
  2513. "application/json"
  2514. ],
  2515. "tags": [
  2516. "定制【尚志大宗】"
  2517. ],
  2518. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2519. "parameters": [
  2520. {
  2521. "type": "integer",
  2522. "description": "页码",
  2523. "name": "page",
  2524. "in": "query"
  2525. },
  2526. {
  2527. "type": "integer",
  2528. "description": "每页条数",
  2529. "name": "pagesize",
  2530. "in": "query"
  2531. },
  2532. {
  2533. "type": "integer",
  2534. "description": "商品ID",
  2535. "name": "goodsID",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "string",
  2541. "description": "所属账户名称",
  2542. "name": "accountName",
  2543. "in": "query"
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "市场ID",
  2548. "name": "marketID",
  2549. "in": "query"
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "方向 - 0:买 1:卖",
  2554. "name": "buyorsell",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2564. }
  2565. },
  2566. "500": {
  2567. "description": "Internal Server Error",
  2568. "schema": {
  2569. "$ref": "#/definitions/app.Response"
  2570. }
  2571. }
  2572. }
  2573. }
  2574. },
  2575. "/SZDZ/QuerySZDZTradePosition": {
  2576. "get": {
  2577. "security": [
  2578. {
  2579. "ApiKeyAuth": []
  2580. }
  2581. ],
  2582. "produces": [
  2583. "application/json"
  2584. ],
  2585. "tags": [
  2586. "定制【尚志大宗】"
  2587. ],
  2588. "summary": "持仓汇总查询(尚志大宗)",
  2589. "parameters": [
  2590. {
  2591. "type": "integer",
  2592. "description": "资金账户",
  2593. "name": "accountID",
  2594. "in": "query",
  2595. "required": true
  2596. }
  2597. ],
  2598. "responses": {
  2599. "200": {
  2600. "description": "OK",
  2601. "schema": {
  2602. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2603. }
  2604. },
  2605. "500": {
  2606. "description": "Internal Server Error",
  2607. "schema": {
  2608. "$ref": "#/definitions/app.Response"
  2609. }
  2610. }
  2611. }
  2612. }
  2613. },
  2614. "/SZDZ/SearchWhite": {
  2615. "get": {
  2616. "security": [
  2617. {
  2618. "ApiKeyAuth": []
  2619. }
  2620. ],
  2621. "produces": [
  2622. "application/json"
  2623. ],
  2624. "tags": [
  2625. "定制【尚志大宗】"
  2626. ],
  2627. "summary": "搜索白名单",
  2628. "parameters": [
  2629. {
  2630. "type": "integer",
  2631. "description": "用户ID",
  2632. "name": "userID",
  2633. "in": "query",
  2634. "required": true
  2635. }
  2636. ],
  2637. "responses": {
  2638. "200": {
  2639. "description": "OK",
  2640. "schema": {
  2641. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2642. }
  2643. },
  2644. "500": {
  2645. "description": "Internal Server Error",
  2646. "schema": {
  2647. "$ref": "#/definitions/app.Response"
  2648. }
  2649. }
  2650. }
  2651. }
  2652. },
  2653. "/Search/SearchGoodses": {
  2654. "get": {
  2655. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "检索服务"
  2661. ],
  2662. "summary": "检索商品信息",
  2663. "parameters": [
  2664. {
  2665. "type": "string",
  2666. "description": "检索内容",
  2667. "name": "content",
  2668. "in": "query",
  2669. "required": true
  2670. }
  2671. ],
  2672. "responses": {
  2673. "200": {
  2674. "description": "OK",
  2675. "schema": {
  2676. "$ref": "#/definitions/models.SearchGoods"
  2677. }
  2678. },
  2679. "500": {
  2680. "description": "Internal Server Error",
  2681. "schema": {
  2682. "$ref": "#/definitions/app.Response"
  2683. }
  2684. }
  2685. }
  2686. }
  2687. },
  2688. "/TaAccount/QueryAmountLog": {
  2689. "get": {
  2690. "security": [
  2691. {
  2692. "ApiKeyAuth": []
  2693. }
  2694. ],
  2695. "produces": [
  2696. "application/json"
  2697. ],
  2698. "tags": [
  2699. "资金账户"
  2700. ],
  2701. "summary": "资金流水查询(当前)",
  2702. "parameters": [
  2703. {
  2704. "type": "integer",
  2705. "description": "页码",
  2706. "name": "page",
  2707. "in": "query"
  2708. },
  2709. {
  2710. "type": "integer",
  2711. "description": "每页条数",
  2712. "name": "pagesize",
  2713. "in": "query"
  2714. },
  2715. {
  2716. "type": "string",
  2717. "description": "资金账户 - 格式:1,2,3",
  2718. "name": "accountID",
  2719. "in": "query",
  2720. "required": true
  2721. },
  2722. {
  2723. "type": "string",
  2724. "description": "资金操作类型 - 格式:1,2,3",
  2725. "name": "OperateType",
  2726. "in": "query"
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2734. }
  2735. },
  2736. "500": {
  2737. "description": "Internal Server Error",
  2738. "schema": {
  2739. "$ref": "#/definitions/app.Response"
  2740. }
  2741. }
  2742. }
  2743. }
  2744. },
  2745. "/TaAccount/QueryHisAmountLog": {
  2746. "get": {
  2747. "security": [
  2748. {
  2749. "ApiKeyAuth": []
  2750. }
  2751. ],
  2752. "produces": [
  2753. "application/json"
  2754. ],
  2755. "tags": [
  2756. "资金账户"
  2757. ],
  2758. "summary": "资金流水查询(历史)",
  2759. "parameters": [
  2760. {
  2761. "type": "integer",
  2762. "description": "页码",
  2763. "name": "page",
  2764. "in": "query"
  2765. },
  2766. {
  2767. "type": "integer",
  2768. "description": "每页条数",
  2769. "name": "pagesize",
  2770. "in": "query"
  2771. },
  2772. {
  2773. "type": "string",
  2774. "description": "资金账户 - 格式:1,2,3",
  2775. "name": "accountID",
  2776. "in": "query",
  2777. "required": true
  2778. },
  2779. {
  2780. "type": "string",
  2781. "description": "资金操作类型 - 格式:1,2,3",
  2782. "name": "OperateType",
  2783. "in": "query"
  2784. },
  2785. {
  2786. "type": "string",
  2787. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2788. "name": "startDate",
  2789. "in": "query"
  2790. },
  2791. {
  2792. "type": "string",
  2793. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2794. "name": "endDate",
  2795. "in": "query"
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/Trade/QueryRecieptOrder": {
  2815. "get": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2822. "produces": [
  2823. "application/json"
  2824. ],
  2825. "tags": [
  2826. "通用交易"
  2827. ],
  2828. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  2829. "parameters": [
  2830. {
  2831. "type": "integer",
  2832. "description": "页码",
  2833. "name": "page",
  2834. "in": "query"
  2835. },
  2836. {
  2837. "type": "integer",
  2838. "description": "每页条数",
  2839. "name": "pagesize",
  2840. "in": "query"
  2841. },
  2842. {
  2843. "type": "integer",
  2844. "description": "商品ID",
  2845. "name": "goodsID",
  2846. "in": "query",
  2847. "required": true
  2848. },
  2849. {
  2850. "type": "string",
  2851. "description": "所属账户名称",
  2852. "name": "accountName",
  2853. "in": "query"
  2854. },
  2855. {
  2856. "type": "integer",
  2857. "description": "市场ID",
  2858. "name": "marketID",
  2859. "in": "query"
  2860. },
  2861. {
  2862. "type": "integer",
  2863. "description": "方向 - 0:买 1:卖",
  2864. "name": "buyorsell",
  2865. "in": "query",
  2866. "required": true
  2867. }
  2868. ],
  2869. "responses": {
  2870. "200": {
  2871. "description": "OK",
  2872. "schema": {
  2873. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/User/AddMessageBoard": {
  2886. "post": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "用户信息"
  2897. ],
  2898. "summary": "添加用户留言板信息",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "用户ID",
  2903. "name": "userID",
  2904. "in": "query",
  2905. "required": true
  2906. },
  2907. {
  2908. "type": "string",
  2909. "description": "留言信息",
  2910. "name": "message",
  2911. "in": "query",
  2912. "required": true
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "$ref": "#/definitions/app.Response"
  2920. }
  2921. },
  2922. "500": {
  2923. "description": "Internal Server Error",
  2924. "schema": {
  2925. "$ref": "#/definitions/app.Response"
  2926. }
  2927. }
  2928. }
  2929. }
  2930. },
  2931. "/User/AddUserFavoriteGoods": {
  2932. "post": {
  2933. "security": [
  2934. {
  2935. "ApiKeyAuth": []
  2936. }
  2937. ],
  2938. "produces": [
  2939. "application/json"
  2940. ],
  2941. "tags": [
  2942. "用户信息"
  2943. ],
  2944. "summary": "添加用户商品收藏信息",
  2945. "parameters": [
  2946. {
  2947. "type": "integer",
  2948. "description": "用户ID",
  2949. "name": "userID",
  2950. "in": "query",
  2951. "required": true
  2952. },
  2953. {
  2954. "type": "integer",
  2955. "description": "商品ID",
  2956. "name": "goodsID",
  2957. "in": "query",
  2958. "required": true
  2959. }
  2960. ],
  2961. "responses": {
  2962. "200": {
  2963. "description": "OK",
  2964. "schema": {
  2965. "$ref": "#/definitions/app.Response"
  2966. }
  2967. },
  2968. "500": {
  2969. "description": "Internal Server Error",
  2970. "schema": {
  2971. "$ref": "#/definitions/app.Response"
  2972. }
  2973. }
  2974. }
  2975. }
  2976. },
  2977. "/User/GetLoginID": {
  2978. "get": {
  2979. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2980. "produces": [
  2981. "application/json"
  2982. ],
  2983. "tags": [
  2984. "用户信息"
  2985. ],
  2986. "summary": "获取登录ID",
  2987. "parameters": [
  2988. {
  2989. "type": "string",
  2990. "description": "登录代码",
  2991. "name": "username",
  2992. "in": "query",
  2993. "required": true
  2994. }
  2995. ],
  2996. "responses": {
  2997. "200": {
  2998. "description": "OK",
  2999. "schema": {
  3000. "$ref": "#/definitions/app.Response"
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/User/GetUserAccount": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "用户信息"
  3024. ],
  3025. "summary": "获取用户账号信息",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userID",
  3031. "in": "query",
  3032. "required": true
  3033. }
  3034. ],
  3035. "responses": {
  3036. "200": {
  3037. "description": "OK",
  3038. "schema": {
  3039. "$ref": "#/definitions/models.Useraccount"
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/User/GetUserAuthStatus": {
  3052. "get": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "produces": [
  3059. "application/json"
  3060. ],
  3061. "tags": [
  3062. "用户信息"
  3063. ],
  3064. "summary": "获取用户实名认证状态",
  3065. "parameters": [
  3066. {
  3067. "type": "integer",
  3068. "description": "用户ID",
  3069. "name": "userID",
  3070. "in": "query",
  3071. "required": true
  3072. }
  3073. ],
  3074. "responses": {
  3075. "200": {
  3076. "description": "OK",
  3077. "schema": {
  3078. "$ref": "#/definitions/app.Response"
  3079. }
  3080. },
  3081. "500": {
  3082. "description": "Internal Server Error",
  3083. "schema": {
  3084. "$ref": "#/definitions/app.Response"
  3085. }
  3086. }
  3087. }
  3088. }
  3089. },
  3090. "/User/QueryMessageBoard": {
  3091. "get": {
  3092. "security": [
  3093. {
  3094. "ApiKeyAuth": []
  3095. }
  3096. ],
  3097. "produces": [
  3098. "application/json"
  3099. ],
  3100. "tags": [
  3101. "用户信息"
  3102. ],
  3103. "summary": "获取用户留言板信息",
  3104. "parameters": [
  3105. {
  3106. "type": "integer",
  3107. "description": "用户ID",
  3108. "name": "userID",
  3109. "in": "query",
  3110. "required": true
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "OK",
  3116. "schema": {
  3117. "$ref": "#/definitions/models.Messageboard"
  3118. }
  3119. },
  3120. "500": {
  3121. "description": "Internal Server Error",
  3122. "schema": {
  3123. "$ref": "#/definitions/app.Response"
  3124. }
  3125. }
  3126. }
  3127. }
  3128. },
  3129. "/User/QueryUserFavoriteGoodses": {
  3130. "get": {
  3131. "security": [
  3132. {
  3133. "ApiKeyAuth": []
  3134. }
  3135. ],
  3136. "produces": [
  3137. "application/json"
  3138. ],
  3139. "tags": [
  3140. "用户信息"
  3141. ],
  3142. "summary": "获取用户商品收藏信息",
  3143. "parameters": [
  3144. {
  3145. "type": "integer",
  3146. "description": "用户ID",
  3147. "name": "userID",
  3148. "in": "query",
  3149. "required": true
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "$ref": "#/definitions/models.Userfavoritegoods"
  3157. }
  3158. },
  3159. "500": {
  3160. "description": "Internal Server Error",
  3161. "schema": {
  3162. "$ref": "#/definitions/app.Response"
  3163. }
  3164. }
  3165. }
  3166. }
  3167. },
  3168. "/User/QueryUserInfo": {
  3169. "get": {
  3170. "security": [
  3171. {
  3172. "ApiKeyAuth": []
  3173. }
  3174. ],
  3175. "produces": [
  3176. "application/json"
  3177. ],
  3178. "tags": [
  3179. "用户信息"
  3180. ],
  3181. "summary": "获取用户信息",
  3182. "parameters": [
  3183. {
  3184. "type": "integer",
  3185. "description": "用户ID",
  3186. "name": "userID",
  3187. "in": "query",
  3188. "required": true
  3189. }
  3190. ],
  3191. "responses": {
  3192. "200": {
  3193. "description": "OK",
  3194. "schema": {
  3195. "$ref": "#/definitions/models.Userinfo"
  3196. }
  3197. },
  3198. "500": {
  3199. "description": "Internal Server Error",
  3200. "schema": {
  3201. "$ref": "#/definitions/app.Response"
  3202. }
  3203. }
  3204. }
  3205. }
  3206. },
  3207. "/User/QueryUserReferNum": {
  3208. "get": {
  3209. "produces": [
  3210. "application/json"
  3211. ],
  3212. "tags": [
  3213. "用户信息"
  3214. ],
  3215. "summary": "获取用户邀请码",
  3216. "parameters": [
  3217. {
  3218. "type": "integer",
  3219. "description": "用户ID",
  3220. "name": "userID",
  3221. "in": "query",
  3222. "required": true
  3223. }
  3224. ],
  3225. "responses": {
  3226. "200": {
  3227. "description": "OK",
  3228. "schema": {
  3229. "$ref": "#/definitions/app.Response"
  3230. }
  3231. },
  3232. "500": {
  3233. "description": "Internal Server Error",
  3234. "schema": {
  3235. "$ref": "#/definitions/app.Response"
  3236. }
  3237. }
  3238. }
  3239. }
  3240. },
  3241. "/User/RemoveUserFavoriteGoods": {
  3242. "post": {
  3243. "security": [
  3244. {
  3245. "ApiKeyAuth": []
  3246. }
  3247. ],
  3248. "produces": [
  3249. "application/json"
  3250. ],
  3251. "tags": [
  3252. "用户信息"
  3253. ],
  3254. "summary": "移除用户商品收藏信息",
  3255. "parameters": [
  3256. {
  3257. "type": "integer",
  3258. "description": "用户ID",
  3259. "name": "userID",
  3260. "in": "query",
  3261. "required": true
  3262. },
  3263. {
  3264. "type": "integer",
  3265. "description": "商品ID",
  3266. "name": "goodsID",
  3267. "in": "query",
  3268. "required": true
  3269. }
  3270. ],
  3271. "responses": {
  3272. "200": {
  3273. "description": "OK",
  3274. "schema": {
  3275. "$ref": "#/definitions/app.Response"
  3276. }
  3277. },
  3278. "500": {
  3279. "description": "Internal Server Error",
  3280. "schema": {
  3281. "$ref": "#/definitions/app.Response"
  3282. }
  3283. }
  3284. }
  3285. }
  3286. },
  3287. "/WRTrade/GetAllDeliveryGoods": {
  3288. "get": {
  3289. "security": [
  3290. {
  3291. "ApiKeyAuth": []
  3292. },
  3293. {
  3294. "ApiKeyAuth": []
  3295. }
  3296. ],
  3297. "produces": [
  3298. "application/json",
  3299. "application/json"
  3300. ],
  3301. "tags": [
  3302. "仓单贸易",
  3303. "仓单贸易"
  3304. ],
  3305. "summary": "获取带仓单分类的种类信息",
  3306. "responses": {
  3307. "200": {
  3308. "description": "OK",
  3309. "schema": {
  3310. "$ref": "#/definitions/app.Response"
  3311. }
  3312. },
  3313. "500": {
  3314. "description": "Internal Server Error",
  3315. "schema": {
  3316. "$ref": "#/definitions/app.Response"
  3317. }
  3318. }
  3319. }
  3320. }
  3321. }
  3322. },
  3323. "definitions": {
  3324. "app.Response": {
  3325. "type": "object",
  3326. "properties": {
  3327. "code": {
  3328. "type": "integer"
  3329. },
  3330. "data": {
  3331. "type": "object"
  3332. },
  3333. "msg": {
  3334. "type": "string"
  3335. },
  3336. "page": {
  3337. "description": "页码",
  3338. "type": "integer"
  3339. },
  3340. "pagesize": {
  3341. "description": "每页条数",
  3342. "type": "integer"
  3343. },
  3344. "total": {
  3345. "description": "总条数",
  3346. "type": "integer"
  3347. }
  3348. }
  3349. },
  3350. "common.QueryNoticeRsp": {
  3351. "type": "object",
  3352. "required": [
  3353. "autoid"
  3354. ],
  3355. "properties": {
  3356. "auditoruserid": {
  3357. "description": "审核人",
  3358. "type": "integer"
  3359. },
  3360. "auditremark": {
  3361. "description": "审核备注",
  3362. "type": "string"
  3363. },
  3364. "audittime": {
  3365. "description": "审核日期",
  3366. "type": "string"
  3367. },
  3368. "autoid": {
  3369. "description": "自增ID",
  3370. "type": "integer"
  3371. },
  3372. "content": {
  3373. "description": "内容",
  3374. "type": "string"
  3375. },
  3376. "createtime": {
  3377. "description": "创建时间",
  3378. "type": "string"
  3379. },
  3380. "creatorid": {
  3381. "description": "建仓人",
  3382. "type": "integer"
  3383. },
  3384. "endtime": {
  3385. "description": "结束时间",
  3386. "type": "string"
  3387. },
  3388. "istop": {
  3389. "description": "是否置顶 - 0:不置顶 1:置顶",
  3390. "type": "integer"
  3391. },
  3392. "msgiconurl": {
  3393. "description": "消息图标Url",
  3394. "type": "string"
  3395. },
  3396. "msgtype": {
  3397. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3398. "type": "integer"
  3399. },
  3400. "publisher": {
  3401. "description": "消息发布者",
  3402. "type": "string"
  3403. },
  3404. "readed": {
  3405. "description": "是否已读",
  3406. "type": "boolean"
  3407. },
  3408. "scheduletime": {
  3409. "description": "计划发送时间",
  3410. "type": "string"
  3411. },
  3412. "sendtype": {
  3413. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3414. "type": "integer"
  3415. },
  3416. "sentstatus": {
  3417. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3418. "type": "integer"
  3419. },
  3420. "title": {
  3421. "description": "标题",
  3422. "type": "string"
  3423. },
  3424. "userid": {
  3425. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3426. "type": "integer"
  3427. }
  3428. }
  3429. },
  3430. "common.QueryProvincesAndCitiesRsp": {
  3431. "type": "object",
  3432. "properties": {
  3433. "cities": {
  3434. "description": "市",
  3435. "type": "array",
  3436. "items": {
  3437. "$ref": "#/definitions/models.Division"
  3438. }
  3439. },
  3440. "province": {
  3441. "description": "省",
  3442. "$ref": "#/definitions/models.Division"
  3443. }
  3444. }
  3445. },
  3446. "common.QueryTableDefineRsp": {
  3447. "type": "object",
  3448. "required": [
  3449. "tablekey"
  3450. ],
  3451. "properties": {
  3452. "columns": {
  3453. "description": "列头信息数组",
  3454. "type": "array",
  3455. "items": {
  3456. "$ref": "#/definitions/models.Tablecolumnconfig"
  3457. }
  3458. },
  3459. "remark": {
  3460. "description": "Remark",
  3461. "type": "string"
  3462. },
  3463. "tabelmenu": {
  3464. "description": "列表菜单",
  3465. "type": "string"
  3466. },
  3467. "tablekey": {
  3468. "description": "列表Key",
  3469. "type": "string"
  3470. },
  3471. "tablename": {
  3472. "description": "列表名称",
  3473. "type": "string"
  3474. },
  3475. "tabletype": {
  3476. "description": "列表类型 - 1:管理端 2:终端",
  3477. "type": "integer"
  3478. }
  3479. }
  3480. },
  3481. "common.QueryTraderMenuRsp": {
  3482. "type": "object",
  3483. "properties": {
  3484. "OperationMenu": {
  3485. "description": "功能菜单",
  3486. "type": "array",
  3487. "items": {
  3488. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3489. }
  3490. },
  3491. "QuoteMenu": {
  3492. "description": "报价牌分类菜单",
  3493. "type": "array",
  3494. "items": {
  3495. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3496. }
  3497. }
  3498. }
  3499. },
  3500. "cptrade.Cptradepositioncancel": {
  3501. "type": "object",
  3502. "required": [
  3503. "cancelid"
  3504. ],
  3505. "properties": {
  3506. "accountid": {
  3507. "description": "申请人账户ID",
  3508. "type": "integer"
  3509. },
  3510. "applystatus": {
  3511. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3512. "type": "integer"
  3513. },
  3514. "applytime": {
  3515. "description": "申请时间",
  3516. "type": "string"
  3517. },
  3518. "cancelid": {
  3519. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3520. "type": "integer"
  3521. },
  3522. "cancelqty": {
  3523. "description": "注销数量",
  3524. "type": "integer"
  3525. },
  3526. "createtime": {
  3527. "description": "创建时间",
  3528. "type": "string"
  3529. },
  3530. "creatorid": {
  3531. "description": "创建人ID",
  3532. "type": "integer"
  3533. },
  3534. "creatorname": {
  3535. "description": "创建人",
  3536. "type": "string"
  3537. },
  3538. "goodscode": {
  3539. "description": "订单商品代码",
  3540. "type": "string"
  3541. },
  3542. "goodsid": {
  3543. "description": "商品ID",
  3544. "type": "integer"
  3545. },
  3546. "goodsname": {
  3547. "description": "订单商品名称",
  3548. "type": "string"
  3549. },
  3550. "goodunit": {
  3551. "description": "报价单位",
  3552. "type": "string"
  3553. },
  3554. "handlestatus": {
  3555. "description": "处理状态",
  3556. "type": "integer"
  3557. },
  3558. "marketid": {
  3559. "description": "市场ID",
  3560. "type": "integer"
  3561. },
  3562. "marketname": {
  3563. "description": "市场名称",
  3564. "type": "string"
  3565. },
  3566. "tradedate": {
  3567. "description": "交易日(yyyyMMdd)",
  3568. "type": "string"
  3569. },
  3570. "userid": {
  3571. "description": "申请人ID",
  3572. "type": "integer"
  3573. }
  3574. }
  3575. },
  3576. "cptrade.Cptradepresaleapply": {
  3577. "type": "object",
  3578. "required": [
  3579. "applyid"
  3580. ],
  3581. "properties": {
  3582. "accountid": {
  3583. "description": "申请人账户ID",
  3584. "type": "integer"
  3585. },
  3586. "applyid": {
  3587. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3588. "type": "integer"
  3589. },
  3590. "applyremark": {
  3591. "description": "申请备注",
  3592. "type": "string"
  3593. },
  3594. "applystatus": {
  3595. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3596. "type": "integer"
  3597. },
  3598. "applytime": {
  3599. "description": "申请时间",
  3600. "type": "string"
  3601. },
  3602. "attachmenturl": {
  3603. "description": "附件地址",
  3604. "type": "string"
  3605. },
  3606. "endtime": {
  3607. "description": "预售结束时间",
  3608. "type": "string"
  3609. },
  3610. "goodscode": {
  3611. "description": "商品代码",
  3612. "type": "string"
  3613. },
  3614. "goodsid": {
  3615. "description": "商品ID",
  3616. "type": "integer"
  3617. },
  3618. "goodsname": {
  3619. "description": "商品名称",
  3620. "type": "string"
  3621. },
  3622. "goodunit": {
  3623. "description": "报价单位",
  3624. "type": "string"
  3625. },
  3626. "handlestatus": {
  3627. "description": "处理状态",
  3628. "type": "integer"
  3629. },
  3630. "marketid": {
  3631. "description": "预售市场ID",
  3632. "type": "integer"
  3633. },
  3634. "marketname": {
  3635. "description": "预售市场名称",
  3636. "type": "string"
  3637. },
  3638. "presaleqty": {
  3639. "description": "预售数量",
  3640. "type": "integer"
  3641. },
  3642. "relatedgoodscode": {
  3643. "description": "关联交易合约代码",
  3644. "type": "string"
  3645. },
  3646. "relatedgoodsid": {
  3647. "description": "关联交易合约ID",
  3648. "type": "integer"
  3649. },
  3650. "relatedgoodsname": {
  3651. "description": "关联交易合约名称",
  3652. "type": "string"
  3653. },
  3654. "starttime": {
  3655. "description": "预售开始时间",
  3656. "type": "string"
  3657. },
  3658. "tradedate": {
  3659. "description": "交易日(yyyyMMdd)",
  3660. "type": "string"
  3661. },
  3662. "trademode": {
  3663. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3664. "type": "integer"
  3665. },
  3666. "userid": {
  3667. "description": "申请人ID",
  3668. "type": "integer"
  3669. }
  3670. }
  3671. },
  3672. "cptrade.Cptradeusergoodsdata": {
  3673. "type": "object",
  3674. "required": [
  3675. "accountid",
  3676. "goodsid"
  3677. ],
  3678. "properties": {
  3679. "EnabledQty": {
  3680. "description": "可用量",
  3681. "type": "integer"
  3682. },
  3683. "GoodsCode": {
  3684. "description": "订单商品代码",
  3685. "type": "string"
  3686. },
  3687. "GoodsName": {
  3688. "description": "订单商品名称",
  3689. "type": "string"
  3690. },
  3691. "WRStandardCode": {
  3692. "description": "仓单标准代码",
  3693. "type": "string"
  3694. },
  3695. "WRStandardName": {
  3696. "description": "仓单标准名称",
  3697. "type": "string"
  3698. },
  3699. "accountid": {
  3700. "description": "账户ID",
  3701. "type": "integer"
  3702. },
  3703. "cancelqty": {
  3704. "description": "注销量",
  3705. "type": "integer"
  3706. },
  3707. "curpresaleqty": {
  3708. "description": "当前预售量",
  3709. "type": "integer"
  3710. },
  3711. "deliveryqty": {
  3712. "description": "交割量",
  3713. "type": "integer"
  3714. },
  3715. "freezeamount": {
  3716. "description": "冻结金额",
  3717. "type": "number"
  3718. },
  3719. "goodsid": {
  3720. "description": "商品ID",
  3721. "type": "integer"
  3722. },
  3723. "goodunit": {
  3724. "description": "报价单位",
  3725. "type": "string"
  3726. },
  3727. "hasspotfreeze": {
  3728. "description": "是否有现货冻结 - 0:否 1:有",
  3729. "type": "integer"
  3730. },
  3731. "inqty": {
  3732. "description": "转入量(总数量)",
  3733. "type": "integer"
  3734. },
  3735. "marketid": {
  3736. "description": "市场ID",
  3737. "type": "integer"
  3738. },
  3739. "presaledamount": {
  3740. "description": "已预售总金额",
  3741. "type": "integer"
  3742. },
  3743. "presaledqty": {
  3744. "description": "已预售量",
  3745. "type": "integer"
  3746. },
  3747. "userid": {
  3748. "description": "用户ID",
  3749. "type": "integer"
  3750. },
  3751. "wrstandardid": {
  3752. "description": "仓单标准ID",
  3753. "type": "integer"
  3754. }
  3755. }
  3756. },
  3757. "cptrade.QueryCPTradeMyBidRsp": {
  3758. "type": "object",
  3759. "required": [
  3760. "accountid",
  3761. "goodsid",
  3762. "marketid",
  3763. "orderid",
  3764. "orderqty",
  3765. "ordertime",
  3766. "tradeprice",
  3767. "tradeqty"
  3768. ],
  3769. "properties": {
  3770. "accountid": {
  3771. "description": "账户ID[报价币种]",
  3772. "type": "integer"
  3773. },
  3774. "goodsid": {
  3775. "description": "商品ID",
  3776. "type": "integer"
  3777. },
  3778. "goodunit": {
  3779. "description": "报价单位",
  3780. "type": "string"
  3781. },
  3782. "marketid": {
  3783. "description": "市场ID",
  3784. "type": "integer"
  3785. },
  3786. "orderid": {
  3787. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3788. "type": "integer"
  3789. },
  3790. "orderprice": {
  3791. "description": "委托价格",
  3792. "type": "number"
  3793. },
  3794. "orderqty": {
  3795. "description": "委托数量",
  3796. "type": "integer"
  3797. },
  3798. "ordertime": {
  3799. "description": "委托时间",
  3800. "type": "string"
  3801. },
  3802. "ordertotalprice": {
  3803. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3804. "type": "number"
  3805. },
  3806. "ordertotalweight": {
  3807. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3808. "type": "integer"
  3809. },
  3810. "totaltotalprice": {
  3811. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3812. "type": "number"
  3813. },
  3814. "tradeprice": {
  3815. "description": "成交价格",
  3816. "type": "number"
  3817. },
  3818. "tradeqty": {
  3819. "description": "成交数量",
  3820. "type": "integer"
  3821. }
  3822. }
  3823. },
  3824. "cptrade.QueryCPTradeOrderDetailRsq": {
  3825. "type": "object",
  3826. "required": [
  3827. "accountid",
  3828. "buildtype",
  3829. "buyorsell",
  3830. "goodsid",
  3831. "marketid",
  3832. "memberuserid",
  3833. "operatetype",
  3834. "orderqty",
  3835. "ordertime",
  3836. "pricemode",
  3837. "strorderid",
  3838. "tradedate",
  3839. "validtype"
  3840. ],
  3841. "properties": {
  3842. "accountid": {
  3843. "description": "账户ID[报价币种]",
  3844. "type": "integer"
  3845. },
  3846. "buildtype": {
  3847. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3848. "type": "integer"
  3849. },
  3850. "buyorsell": {
  3851. "description": "买卖 - 0:买 1:卖",
  3852. "type": "integer"
  3853. },
  3854. "cancelorderid": {
  3855. "description": "撤单单号(撤单时填写)",
  3856. "type": "integer"
  3857. },
  3858. "cancelqty": {
  3859. "description": "撤单数量",
  3860. "type": "integer"
  3861. },
  3862. "clientordertime": {
  3863. "description": "客户端委托时间",
  3864. "type": "string"
  3865. },
  3866. "clientticket": {
  3867. "description": "客户端流水号",
  3868. "type": "string"
  3869. },
  3870. "clienttype": {
  3871. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3872. "type": "integer"
  3873. },
  3874. "closeexchagechargevalue": {
  3875. "description": "平仓交易所手续费设置值",
  3876. "type": "number"
  3877. },
  3878. "closefeealgorithm": {
  3879. "description": "平仓手续费收取方式 1:比率 2:固定",
  3880. "type": "integer"
  3881. },
  3882. "closefreezecharge": {
  3883. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3884. "type": "number"
  3885. },
  3886. "closememberchargevalue": {
  3887. "description": "平仓会员手续费设置值",
  3888. "type": "number"
  3889. },
  3890. "closeqty": {
  3891. "description": "平仓数量(先建后平操作 需要记录)",
  3892. "type": "integer"
  3893. },
  3894. "closetradeqty": {
  3895. "description": "平仓成交数量(先建后平操作,需要记录)",
  3896. "type": "integer"
  3897. },
  3898. "closeunfreezecharge": {
  3899. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3900. "type": "number"
  3901. },
  3902. "delistingtype": {
  3903. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3904. "type": "integer"
  3905. },
  3906. "freezecharge": {
  3907. "description": "冻结手续费",
  3908. "type": "number"
  3909. },
  3910. "freezemargin": {
  3911. "description": "冻结保证金(冻结交易金额)",
  3912. "type": "number"
  3913. },
  3914. "gcaccountid": {
  3915. "description": "账户ID[合约币种]",
  3916. "type": "integer"
  3917. },
  3918. "goodsid": {
  3919. "description": "商品ID",
  3920. "type": "integer"
  3921. },
  3922. "isconfirmexercise": {
  3923. "description": "是否确认行权- 0:否 1:是",
  3924. "type": "integer"
  3925. },
  3926. "ispreexercise": {
  3927. "description": "是否预申报- 0:否 1:是",
  3928. "type": "integer"
  3929. },
  3930. "listingselecttype": {
  3931. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3932. "type": "integer"
  3933. },
  3934. "marginalgorithm": {
  3935. "description": "保证金收取方式 1:比率 2:固定",
  3936. "type": "integer"
  3937. },
  3938. "marginvalue": {
  3939. "description": "即市保证金设置值",
  3940. "type": "number"
  3941. },
  3942. "marketid": {
  3943. "description": "市场ID",
  3944. "type": "integer"
  3945. },
  3946. "marketmaxsub": {
  3947. "description": "市价最大偏移范围",
  3948. "type": "number"
  3949. },
  3950. "memberuserid": {
  3951. "description": "所属会员UserID",
  3952. "type": "integer"
  3953. },
  3954. "openexchagechargevalue": {
  3955. "description": "建仓交易所手续费设置值",
  3956. "type": "number"
  3957. },
  3958. "openfeealgorithm": {
  3959. "description": "建仓手续费收取方式 1:比率 2:固定",
  3960. "type": "integer"
  3961. },
  3962. "openfreezecharge": {
  3963. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3964. "type": "number"
  3965. },
  3966. "openmemberchargevalue": {
  3967. "description": "建仓会员手续费设置值",
  3968. "type": "number"
  3969. },
  3970. "openqty": {
  3971. "description": "开仓数量(先建后平操作,需要记录)",
  3972. "type": "integer"
  3973. },
  3974. "opentradeqty": {
  3975. "description": "开仓成交数量(先建后平操作,需要记录)",
  3976. "type": "integer"
  3977. },
  3978. "openunfreezecharge": {
  3979. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3980. "type": "number"
  3981. },
  3982. "operatetype": {
  3983. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3984. "type": "integer"
  3985. },
  3986. "operatorid": {
  3987. "description": "登录账号(LoginID)",
  3988. "type": "integer"
  3989. },
  3990. "optiontype": {
  3991. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3992. "type": "integer"
  3993. },
  3994. "orderprice": {
  3995. "description": "委托价格",
  3996. "type": "number"
  3997. },
  3998. "orderqty": {
  3999. "description": "委托数量",
  4000. "type": "integer"
  4001. },
  4002. "ordersrc": {
  4003. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4004. "type": "integer"
  4005. },
  4006. "orderstatus": {
  4007. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4008. "type": "integer"
  4009. },
  4010. "ordertime": {
  4011. "description": "委托时间",
  4012. "type": "string"
  4013. },
  4014. "preexerciseprice": {
  4015. "description": "预申报价格",
  4016. "type": "number"
  4017. },
  4018. "premium": {
  4019. "description": "权利金",
  4020. "type": "number"
  4021. },
  4022. "preorderid": {
  4023. "description": "关联预埋单号(止盈止损单时填写)",
  4024. "type": "integer"
  4025. },
  4026. "pricemode": {
  4027. "description": "取价方式 - 1:市价 2: 限价",
  4028. "type": "integer"
  4029. },
  4030. "quoteid": {
  4031. "description": "报价单ID",
  4032. "type": "integer"
  4033. },
  4034. "relatedid": {
  4035. "description": "关联单号(交割单)",
  4036. "type": "integer"
  4037. },
  4038. "retcode": {
  4039. "description": "错误代码",
  4040. "type": "integer"
  4041. },
  4042. "sessionid": {
  4043. "description": "会话ID",
  4044. "type": "integer"
  4045. },
  4046. "strorderid": {
  4047. "description": "委托单号",
  4048. "type": "string"
  4049. },
  4050. "tradedate": {
  4051. "description": "交易日(yyyyMMdd)",
  4052. "type": "string"
  4053. },
  4054. "tradeproperty": {
  4055. "description": "交易属性",
  4056. "type": "integer"
  4057. },
  4058. "tradeqty": {
  4059. "description": "成交数量",
  4060. "type": "integer"
  4061. },
  4062. "unfreezecharge": {
  4063. "description": "解冻手续费",
  4064. "type": "number"
  4065. },
  4066. "unfreezemargin": {
  4067. "description": "解冻保证金",
  4068. "type": "number"
  4069. },
  4070. "updatetime": {
  4071. "description": "更新时间",
  4072. "type": "string"
  4073. },
  4074. "uuid": {
  4075. "description": "发起端唯一id",
  4076. "type": "string"
  4077. },
  4078. "validtime": {
  4079. "description": "有效期限",
  4080. "type": "string"
  4081. },
  4082. "validtype": {
  4083. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4084. "type": "integer"
  4085. },
  4086. "volumetype": {
  4087. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4088. "type": "integer"
  4089. }
  4090. }
  4091. },
  4092. "cptrade.QueryMyCPTradeGoodsRsp": {
  4093. "type": "object",
  4094. "required": [
  4095. "goodscode",
  4096. "goodsid",
  4097. "goodsname",
  4098. "marketid",
  4099. "relatedgoodscode",
  4100. "relatedgoodsname"
  4101. ],
  4102. "properties": {
  4103. "accountid": {
  4104. "description": "卖方账户ID",
  4105. "type": "integer"
  4106. },
  4107. "agreeunit": {
  4108. "description": "合约单位",
  4109. "type": "number"
  4110. },
  4111. "applyid": {
  4112. "description": "关联申请ID",
  4113. "type": "integer"
  4114. },
  4115. "attachmenturl": {
  4116. "description": "附件地址",
  4117. "type": "string"
  4118. },
  4119. "createtime": {
  4120. "description": "创建时间",
  4121. "type": "string"
  4122. },
  4123. "currencyid": {
  4124. "description": "报价货币ID",
  4125. "type": "integer"
  4126. },
  4127. "decimalplace": {
  4128. "description": "报价小数位",
  4129. "type": "integer"
  4130. },
  4131. "endtime": {
  4132. "description": "预售结束时间",
  4133. "type": "string"
  4134. },
  4135. "floorprice": {
  4136. "description": "底价[大宗式竞拍]",
  4137. "type": "number"
  4138. },
  4139. "goodscode": {
  4140. "description": "商品代码(预售)",
  4141. "type": "string"
  4142. },
  4143. "goodsdetail": {
  4144. "description": "详情[大宗]",
  4145. "type": "string"
  4146. },
  4147. "goodsid": {
  4148. "description": "商品ID(自增ID SEQ_GOODS)",
  4149. "type": "integer"
  4150. },
  4151. "goodsname": {
  4152. "description": "商品名称(预售)",
  4153. "type": "string"
  4154. },
  4155. "goodunit": {
  4156. "description": "报价单位",
  4157. "type": "string"
  4158. },
  4159. "goodunitid": {
  4160. "description": "报价单位ID",
  4161. "type": "integer"
  4162. },
  4163. "marketid": {
  4164. "description": "所属市场ID",
  4165. "type": "integer"
  4166. },
  4167. "marketname": {
  4168. "description": "预售市场名称",
  4169. "type": "string"
  4170. },
  4171. "presaledamount": {
  4172. "description": "已预售总金额(预售结束时更新)",
  4173. "type": "number"
  4174. },
  4175. "presaledqty": {
  4176. "description": "已预售量(预售结束时更新)",
  4177. "type": "integer"
  4178. },
  4179. "presalemode": {
  4180. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4181. "type": "integer"
  4182. },
  4183. "presaleqty": {
  4184. "description": "预售数量",
  4185. "type": "integer"
  4186. },
  4187. "refprice": {
  4188. "description": "参考价格[一口价]",
  4189. "type": "number"
  4190. },
  4191. "relatedgoodscode": {
  4192. "description": "商品代码(订单)",
  4193. "type": "string"
  4194. },
  4195. "relatedgoodsid": {
  4196. "description": "关联交易合约ID",
  4197. "type": "integer"
  4198. },
  4199. "relatedgoodsname": {
  4200. "description": "商品名称(订单)",
  4201. "type": "string"
  4202. },
  4203. "relatedmarketid": {
  4204. "description": "关联交易合约市场ID",
  4205. "type": "integer"
  4206. },
  4207. "sellstatus": {
  4208. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4209. "type": "integer"
  4210. },
  4211. "startprice": {
  4212. "description": "起拍价[大宗式竞拍]",
  4213. "type": "number"
  4214. },
  4215. "starttime": {
  4216. "description": "预售开始时间",
  4217. "type": "string"
  4218. },
  4219. "tradedate": {
  4220. "description": "交易日(yyyyMMdd)",
  4221. "type": "string"
  4222. },
  4223. "tradeprice": {
  4224. "description": "成交价[大宗]",
  4225. "type": "number"
  4226. },
  4227. "userid": {
  4228. "description": "卖方用户ID",
  4229. "type": "integer"
  4230. }
  4231. }
  4232. },
  4233. "cptrade.QueryPresaleGoodsExRsp": {
  4234. "type": "object",
  4235. "required": [
  4236. "goodsid"
  4237. ],
  4238. "properties": {
  4239. "attachmenturl": {
  4240. "description": "附件地址",
  4241. "type": "string"
  4242. },
  4243. "createtime": {
  4244. "description": "创建时间",
  4245. "type": "string"
  4246. },
  4247. "endtime": {
  4248. "description": "预售结束时间",
  4249. "type": "string"
  4250. },
  4251. "floorprice": {
  4252. "description": "底价[大宗式竞拍]",
  4253. "type": "number"
  4254. },
  4255. "goodsdetail": {
  4256. "description": "详情[大宗]",
  4257. "type": "string"
  4258. },
  4259. "goodsid": {
  4260. "description": "商品ID(预售)",
  4261. "type": "integer"
  4262. },
  4263. "goodunit": {
  4264. "description": "报价单位",
  4265. "type": "string"
  4266. },
  4267. "marketid": {
  4268. "description": "预售市场ID - 根据预售模式选择市场",
  4269. "type": "integer"
  4270. },
  4271. "presaledamount": {
  4272. "description": "已预售总金额(预售结束时更新)",
  4273. "type": "number"
  4274. },
  4275. "presaledqty": {
  4276. "description": "已预售量(预售结束时更新)",
  4277. "type": "integer"
  4278. },
  4279. "presalemode": {
  4280. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4281. "type": "integer"
  4282. },
  4283. "presaleqty": {
  4284. "description": "预售数量",
  4285. "type": "integer"
  4286. },
  4287. "refprice": {
  4288. "description": "参考价格[一口价]",
  4289. "type": "number"
  4290. },
  4291. "relatedgoodsid": {
  4292. "description": "关联交易合约ID",
  4293. "type": "integer"
  4294. },
  4295. "relatedmarketid": {
  4296. "description": "关联交易合约市场ID",
  4297. "type": "integer"
  4298. },
  4299. "sellstatus": {
  4300. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4301. "type": "integer"
  4302. },
  4303. "startprice": {
  4304. "description": "起拍价[大宗式竞拍]",
  4305. "type": "number"
  4306. },
  4307. "starttime": {
  4308. "description": "预售开始时间",
  4309. "type": "string"
  4310. },
  4311. "tradedate": {
  4312. "description": "交易日(yyyyMMdd)",
  4313. "type": "string"
  4314. },
  4315. "tradeprice": {
  4316. "description": "成交价[大宗]",
  4317. "type": "number"
  4318. }
  4319. }
  4320. },
  4321. "delivery.QueryDeliveryRelationRsp": {
  4322. "type": "object",
  4323. "required": [
  4324. "begindate",
  4325. "enddate",
  4326. "goodsid",
  4327. "mindeliveryqty",
  4328. "xdeliveryratio"
  4329. ],
  4330. "properties": {
  4331. "begindate": {
  4332. "description": "起始日期(yyyyMMdd)",
  4333. "type": "string"
  4334. },
  4335. "buytemplateid": {
  4336. "description": "买履约计划模板ID",
  4337. "type": "integer"
  4338. },
  4339. "deliverygoodscode": {
  4340. "description": "品种代码",
  4341. "type": "string"
  4342. },
  4343. "deliverygoodsid": {
  4344. "description": "交割商品",
  4345. "type": "integer"
  4346. },
  4347. "deliverygoodsname": {
  4348. "description": "品种名称",
  4349. "type": "string"
  4350. },
  4351. "deliverymode": {
  4352. "description": "交割方式 - 1:点选式 2:申报式",
  4353. "type": "integer"
  4354. },
  4355. "deliverypricerule": {
  4356. "description": "交割价规则- 1:行情价 2:建仓价",
  4357. "type": "integer"
  4358. },
  4359. "deliverytype": {
  4360. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4361. "type": "integer"
  4362. },
  4363. "enddate": {
  4364. "description": "结束日期(yyyyMMdd)",
  4365. "type": "string"
  4366. },
  4367. "goodscode": {
  4368. "description": "商品代码",
  4369. "type": "string"
  4370. },
  4371. "goodsid": {
  4372. "description": "交易合约ID",
  4373. "type": "integer"
  4374. },
  4375. "goodsname": {
  4376. "description": "商品名称",
  4377. "type": "string"
  4378. },
  4379. "marketid": {
  4380. "description": "市场ID",
  4381. "type": "integer"
  4382. },
  4383. "mindeliveryqty": {
  4384. "description": "最小交割系数(K)",
  4385. "type": "integer"
  4386. },
  4387. "p2deliveryprice": {
  4388. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4389. "type": "number"
  4390. },
  4391. "p2deliveryratio": {
  4392. "description": "P2合约系数(p)",
  4393. "type": "integer"
  4394. },
  4395. "p2goodsid": {
  4396. "description": "P2合约ID",
  4397. "type": "integer"
  4398. },
  4399. "p2pricemode": {
  4400. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4401. "type": "integer"
  4402. },
  4403. "pdeliveryprice": {
  4404. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4405. "type": "number"
  4406. },
  4407. "pdeliveryratio": {
  4408. "description": "P合约系数(n)",
  4409. "type": "integer"
  4410. },
  4411. "pgoodsid": {
  4412. "description": "P合约ID",
  4413. "type": "integer"
  4414. },
  4415. "ppricemode": {
  4416. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4417. "type": "integer"
  4418. },
  4419. "rratio": {
  4420. "description": "兑换系数(R)",
  4421. "type": "integer"
  4422. },
  4423. "rratio1": {
  4424. "description": "兑换系数(交易合约)(R1)",
  4425. "type": "integer"
  4426. },
  4427. "rratio2": {
  4428. "description": "兑换系数(仓单标准)(R2)",
  4429. "type": "integer"
  4430. },
  4431. "selltemplateid": {
  4432. "description": "卖履约计划模板ID",
  4433. "type": "integer"
  4434. },
  4435. "wrstandardid": {
  4436. "description": "仓单标准ID",
  4437. "type": "integer"
  4438. },
  4439. "xdeliveryratio": {
  4440. "description": "交易合约系数(m)",
  4441. "type": "integer"
  4442. }
  4443. }
  4444. },
  4445. "erms2.QueryArbitrageStrategyRsp": {
  4446. "type": "object",
  4447. "required": [
  4448. "asapplyid"
  4449. ],
  4450. "properties": {
  4451. "applybasis": {
  4452. "description": "申请基差",
  4453. "type": "number"
  4454. },
  4455. "asapplyid": {
  4456. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4457. "type": "string"
  4458. },
  4459. "asname": {
  4460. "description": "策略名称",
  4461. "type": "string"
  4462. },
  4463. "asno": {
  4464. "description": "策略编号",
  4465. "type": "string"
  4466. },
  4467. "basischangepl": {
  4468. "description": "基差变动损益[结算更新]",
  4469. "type": "number"
  4470. },
  4471. "biztype": {
  4472. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4473. "type": "integer"
  4474. },
  4475. "closetradedate": {
  4476. "description": "完结交易日(yyyyMMdd)",
  4477. "type": "string"
  4478. },
  4479. "curbasis": {
  4480. "description": "当前基差[结算更新]",
  4481. "type": "number"
  4482. },
  4483. "deliverygoodsid": {
  4484. "description": "现货品种ID",
  4485. "type": "integer"
  4486. },
  4487. "futureavgprice": {
  4488. "description": "期货建仓均价",
  4489. "type": "number"
  4490. },
  4491. "futurecloseamount": {
  4492. "description": "期货平仓金额",
  4493. "type": "number"
  4494. },
  4495. "futurecloseqty": {
  4496. "description": "期货平仓数量",
  4497. "type": "number"
  4498. },
  4499. "futureopenamount": {
  4500. "description": "期货开仓金额",
  4501. "type": "number"
  4502. },
  4503. "futureopenqty": {
  4504. "description": "期货开仓数量",
  4505. "type": "number"
  4506. },
  4507. "futurepl": {
  4508. "description": "期货总盈亏[结算更新]",
  4509. "type": "number"
  4510. },
  4511. "futureqty": {
  4512. "description": "期货持仓数量",
  4513. "type": "number"
  4514. },
  4515. "futurequote": {
  4516. "description": "期货额度",
  4517. "type": "number"
  4518. },
  4519. "goodsgroupid": {
  4520. "description": "期货品种ID",
  4521. "type": "integer"
  4522. },
  4523. "marketid": {
  4524. "description": "市场ID",
  4525. "type": "integer"
  4526. },
  4527. "netexposure": {
  4528. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4529. "type": "number"
  4530. },
  4531. "netexposurepl": {
  4532. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4533. "type": "number"
  4534. },
  4535. "netexposurerate": {
  4536. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4537. "type": "number"
  4538. },
  4539. "openbasis": {
  4540. "description": "建仓基差",
  4541. "type": "number"
  4542. },
  4543. "pricedspotqty": {
  4544. "description": "已定价现货数量",
  4545. "type": "number"
  4546. },
  4547. "pricedspotqtynotax": {
  4548. "description": "已定价现货不含税数量",
  4549. "type": "number"
  4550. },
  4551. "remark": {
  4552. "description": "备注",
  4553. "type": "string"
  4554. },
  4555. "spotavgprice": {
  4556. "description": "现货均价",
  4557. "type": "number"
  4558. },
  4559. "spotbuyamount": {
  4560. "description": "现货采购金额",
  4561. "type": "number"
  4562. },
  4563. "spotbuyqty": {
  4564. "description": "现货采购数量",
  4565. "type": "number"
  4566. },
  4567. "spotpl": {
  4568. "description": "现货总盈亏[结算更新]",
  4569. "type": "number"
  4570. },
  4571. "spotquota": {
  4572. "description": "现货额度",
  4573. "type": "number"
  4574. },
  4575. "spotsellamount": {
  4576. "description": "现货销售金额",
  4577. "type": "number"
  4578. },
  4579. "spotsellqty": {
  4580. "description": "现货销售数量",
  4581. "type": "number"
  4582. },
  4583. "spotusedquota": {
  4584. "description": "现货占用资金",
  4585. "type": "number"
  4586. },
  4587. "strategystatus": {
  4588. "description": "策略状态 - 0:未结束 1:已结束",
  4589. "type": "integer"
  4590. },
  4591. "totalpl": {
  4592. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4593. "type": "number"
  4594. },
  4595. "tradedate": {
  4596. "description": "交易日(yyyyMMdd)",
  4597. "type": "string"
  4598. },
  4599. "updatetime": {
  4600. "description": "更新时间",
  4601. "type": "string"
  4602. },
  4603. "usedquota": {
  4604. "description": "已占用资金",
  4605. "type": "number"
  4606. },
  4607. "userid": {
  4608. "description": "所属机构",
  4609. "type": "integer"
  4610. }
  4611. }
  4612. },
  4613. "erms2.QueryInnerTradeDetailRsp": {
  4614. "type": "object",
  4615. "required": [
  4616. "asapplyid",
  4617. "buyorsell",
  4618. "goodscode",
  4619. "goodsgroupid",
  4620. "goodsgroupname",
  4621. "goodsname",
  4622. "tradeid"
  4623. ],
  4624. "properties": {
  4625. "accountid": {
  4626. "description": "账号ID",
  4627. "type": "integer"
  4628. },
  4629. "agreeunit": {
  4630. "description": "合约单位",
  4631. "type": "number"
  4632. },
  4633. "asapplyid": {
  4634. "description": "策略申请ID",
  4635. "type": "integer"
  4636. },
  4637. "asname": {
  4638. "description": "策略名称",
  4639. "type": "string"
  4640. },
  4641. "asno": {
  4642. "description": "策略编号",
  4643. "type": "string"
  4644. },
  4645. "buyorsell": {
  4646. "description": "方向 - 0:买 1:卖",
  4647. "type": "integer"
  4648. },
  4649. "channelbuildtype": {
  4650. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4651. "type": "integer"
  4652. },
  4653. "closetype": {
  4654. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4655. "type": "integer"
  4656. },
  4657. "decimalplace": {
  4658. "description": "报价小数位",
  4659. "type": "integer"
  4660. },
  4661. "detailtype": {
  4662. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4663. "type": "integer"
  4664. },
  4665. "exexchangecode": {
  4666. "description": "外部交易所代码",
  4667. "type": "string"
  4668. },
  4669. "exexchangename": {
  4670. "description": "外部交易所名称",
  4671. "type": "string"
  4672. },
  4673. "goodscode": {
  4674. "description": "商品代码(合约)",
  4675. "type": "string"
  4676. },
  4677. "goodsgroupid": {
  4678. "description": "商品组ID(品种ID)",
  4679. "type": "integer"
  4680. },
  4681. "goodsgroupname": {
  4682. "description": "商品组名称(品种)",
  4683. "type": "string"
  4684. },
  4685. "goodsid": {
  4686. "description": "商品ID",
  4687. "type": "integer"
  4688. },
  4689. "goodsname": {
  4690. "description": "商品名称(合约)",
  4691. "type": "string"
  4692. },
  4693. "goodunit": {
  4694. "description": "报价单位",
  4695. "type": "string"
  4696. },
  4697. "marketid": {
  4698. "description": "市场ID",
  4699. "type": "integer"
  4700. },
  4701. "orderid": {
  4702. "description": "委托单号",
  4703. "type": "string"
  4704. },
  4705. "outgoodscode": {
  4706. "description": "商品代码(外部)",
  4707. "type": "string"
  4708. },
  4709. "relatedouttradeid": {
  4710. "description": "关联外部成交单ID",
  4711. "type": "string"
  4712. },
  4713. "remark": {
  4714. "description": "备注",
  4715. "type": "string"
  4716. },
  4717. "spotcontractid": {
  4718. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4719. "type": "integer"
  4720. },
  4721. "spotcontractno": {
  4722. "description": "现货合同编号",
  4723. "type": "string"
  4724. },
  4725. "tradeid": {
  4726. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4727. "type": "string"
  4728. },
  4729. "tradeprice": {
  4730. "description": "成交价格",
  4731. "type": "number"
  4732. },
  4733. "tradeqty": {
  4734. "description": "成交数量",
  4735. "type": "integer"
  4736. },
  4737. "tradetime": {
  4738. "description": "成交时间",
  4739. "type": "string"
  4740. },
  4741. "updatetime": {
  4742. "description": "更新时间",
  4743. "type": "string"
  4744. }
  4745. }
  4746. },
  4747. "erms2.QuerySpotContractRsp": {
  4748. "type": "object",
  4749. "required": [
  4750. "spotcontractid"
  4751. ],
  4752. "properties": {
  4753. "accountid": {
  4754. "description": "资金账户ID",
  4755. "type": "integer"
  4756. },
  4757. "areauserid": {
  4758. "description": "所属机构",
  4759. "type": "integer"
  4760. },
  4761. "closedate": {
  4762. "description": "终止日期",
  4763. "type": "string"
  4764. },
  4765. "closeremark": {
  4766. "description": "结束备注",
  4767. "type": "string"
  4768. },
  4769. "closetradedate": {
  4770. "description": "完结交易日(yyyyMMdd)",
  4771. "type": "string"
  4772. },
  4773. "closetype": {
  4774. "description": "终止类型 - 1:违约 2:提前终止",
  4775. "type": "integer"
  4776. },
  4777. "contractamount": {
  4778. "description": "合同金额",
  4779. "type": "number"
  4780. },
  4781. "contractattachment": {
  4782. "description": "合同附件",
  4783. "type": "string"
  4784. },
  4785. "contractno": {
  4786. "description": "现货合同编号",
  4787. "type": "string"
  4788. },
  4789. "contractqty": {
  4790. "description": "合同数量(数值) (用于计算)",
  4791. "type": "number"
  4792. },
  4793. "contractqtychar": {
  4794. "description": "合同数量\\已订价数量 (用于显示)",
  4795. "type": "string"
  4796. },
  4797. "contractstatus": {
  4798. "description": "合同状态 - 0:未结束 1:已结束",
  4799. "type": "integer"
  4800. },
  4801. "contracttype": {
  4802. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4803. "type": "integer"
  4804. },
  4805. "customeraccountid": {
  4806. "description": "客户资金账户ID",
  4807. "type": "integer"
  4808. },
  4809. "customeruserid": {
  4810. "description": "客户ID",
  4811. "type": "integer"
  4812. },
  4813. "deliverygoodsdesc": {
  4814. "description": "品种说明",
  4815. "type": "string"
  4816. },
  4817. "deliverygoodsid": {
  4818. "description": "现货品种ID",
  4819. "type": "integer"
  4820. },
  4821. "handlestatus": {
  4822. "description": "处理状态",
  4823. "type": "integer"
  4824. },
  4825. "invoiceatt": {
  4826. "description": "发票附件",
  4827. "type": "string"
  4828. },
  4829. "invoicedatetime": {
  4830. "description": "开收票更新时间",
  4831. "type": "string"
  4832. },
  4833. "invoiceopentime": {
  4834. "description": "开票时间",
  4835. "type": "string"
  4836. },
  4837. "invoiceremark": {
  4838. "description": "发票备注",
  4839. "type": "string"
  4840. },
  4841. "invoicestatus": {
  4842. "description": "开收票状态 - 0:未开票 1:已开票",
  4843. "type": "integer"
  4844. },
  4845. "lastdate": {
  4846. "description": "交货时间",
  4847. "type": "string"
  4848. },
  4849. "marketid": {
  4850. "description": "市场ID",
  4851. "type": "integer"
  4852. },
  4853. "paydatetime": {
  4854. "description": "收付款更新时间",
  4855. "type": "string"
  4856. },
  4857. "payremark": {
  4858. "description": "收付款备注",
  4859. "type": "string"
  4860. },
  4861. "paystatus": {
  4862. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4863. "type": "integer"
  4864. },
  4865. "positionqty": {
  4866. "description": "头寸数量 - 合同数量去小数部分",
  4867. "type": "integer"
  4868. },
  4869. "producttype": {
  4870. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4871. "type": "integer"
  4872. },
  4873. "relatedqty": {
  4874. "description": "已关联数量",
  4875. "type": "number"
  4876. },
  4877. "relatedstatus": {
  4878. "description": "关联完结状态 - 0:未结束 1:已结束",
  4879. "type": "integer"
  4880. },
  4881. "remark": {
  4882. "description": "备注",
  4883. "type": "string"
  4884. },
  4885. "signdate": {
  4886. "description": "签订日期",
  4887. "type": "string"
  4888. },
  4889. "spotcontractid": {
  4890. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4891. "type": "string"
  4892. },
  4893. "spotdatetime": {
  4894. "description": "收发货更新时间",
  4895. "type": "string"
  4896. },
  4897. "spotprice": {
  4898. "description": "价格",
  4899. "type": "number"
  4900. },
  4901. "spotremark": {
  4902. "description": "收发货备注",
  4903. "type": "string"
  4904. },
  4905. "spotstatus": {
  4906. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4907. "type": "integer"
  4908. },
  4909. "tradedate": {
  4910. "description": "交易日(yyyyMMdd)",
  4911. "type": "string"
  4912. },
  4913. "userid": {
  4914. "description": "业务员用户ID",
  4915. "type": "integer"
  4916. },
  4917. "warehouseid": {
  4918. "description": "仓库ID",
  4919. "type": "integer"
  4920. },
  4921. "wrfactortypeid": {
  4922. "description": "仓单要素类型ID",
  4923. "type": "integer"
  4924. },
  4925. "wrstandardid": {
  4926. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4927. "type": "integer"
  4928. }
  4929. }
  4930. },
  4931. "erms3.AddErms2ASApplyReq": {
  4932. "type": "object",
  4933. "required": [
  4934. "asapplyid"
  4935. ],
  4936. "properties": {
  4937. "applybasis": {
  4938. "description": "申请基差",
  4939. "type": "number"
  4940. },
  4941. "applystatus": {
  4942. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  4943. "type": "integer"
  4944. },
  4945. "asapplyid": {
  4946. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  4947. "type": "integer"
  4948. },
  4949. "asname": {
  4950. "description": "策略名称",
  4951. "type": "string"
  4952. },
  4953. "asno": {
  4954. "description": "策略编号",
  4955. "type": "string"
  4956. },
  4957. "auditid": {
  4958. "description": "审核人",
  4959. "type": "integer"
  4960. },
  4961. "auditremark": {
  4962. "description": "审核备注",
  4963. "type": "string"
  4964. },
  4965. "audittime": {
  4966. "description": "审核时间",
  4967. "type": "string"
  4968. },
  4969. "biztype": {
  4970. "description": "业务类型 - 1:正向套利 2:反向套利",
  4971. "type": "integer"
  4972. },
  4973. "createtime": {
  4974. "description": "创建时间",
  4975. "type": "string"
  4976. },
  4977. "creatorid": {
  4978. "description": "创建人",
  4979. "type": "integer"
  4980. },
  4981. "deliverygoodsid": {
  4982. "description": "现货品种ID",
  4983. "type": "integer"
  4984. },
  4985. "futurequote": {
  4986. "description": "期货额度",
  4987. "type": "number"
  4988. },
  4989. "goodsgroupid": {
  4990. "description": "期货品种ID",
  4991. "type": "integer"
  4992. },
  4993. "marketid": {
  4994. "description": "市场ID",
  4995. "type": "integer"
  4996. },
  4997. "remark": {
  4998. "description": "备注",
  4999. "type": "string"
  5000. },
  5001. "spotquota": {
  5002. "description": "现货额度",
  5003. "type": "number"
  5004. },
  5005. "tradedate": {
  5006. "description": "交易日(yyyyMMdd)",
  5007. "type": "string"
  5008. },
  5009. "userid": {
  5010. "description": "所属机构",
  5011. "type": "integer"
  5012. }
  5013. }
  5014. },
  5015. "erms3.AddSpotContractApplyReq": {
  5016. "type": "object",
  5017. "required": [
  5018. "accountid",
  5019. "areauserid",
  5020. "contractno",
  5021. "contracttype",
  5022. "customeraccountid",
  5023. "customeruserid",
  5024. "details",
  5025. "orimargin",
  5026. "signdate"
  5027. ],
  5028. "properties": {
  5029. "accountid": {
  5030. "description": "资金账户ID",
  5031. "type": "integer"
  5032. },
  5033. "areauserid": {
  5034. "description": "所属机构",
  5035. "type": "integer"
  5036. },
  5037. "contractattachment": {
  5038. "description": "合同附件",
  5039. "type": "string"
  5040. },
  5041. "contractno": {
  5042. "description": "现货合同编号",
  5043. "type": "string"
  5044. },
  5045. "contracttype": {
  5046. "description": "现货合同类型 - 1:采购 -1:销售",
  5047. "type": "integer"
  5048. },
  5049. "creatorid": {
  5050. "description": "申请人",
  5051. "type": "integer"
  5052. },
  5053. "customeraccountid": {
  5054. "description": "客户资金账户ID",
  5055. "type": "integer"
  5056. },
  5057. "customeruserid": {
  5058. "description": "客户ID",
  5059. "type": "integer"
  5060. },
  5061. "details": {
  5062. "description": "明细",
  5063. "type": "array",
  5064. "items": {
  5065. "$ref": "#/definitions/erms3.SoptContractDetail"
  5066. }
  5067. },
  5068. "orimargin": {
  5069. "description": "初始保证金",
  5070. "type": "number"
  5071. },
  5072. "remark": {
  5073. "description": "备注",
  5074. "type": "string"
  5075. },
  5076. "signdate": {
  5077. "description": "签订日期",
  5078. "type": "string"
  5079. }
  5080. }
  5081. },
  5082. "erms3.AddSpotContractApplyRsp": {
  5083. "type": "object",
  5084. "required": [
  5085. "contractno"
  5086. ],
  5087. "properties": {
  5088. "contractno": {
  5089. "description": "现货合同编号",
  5090. "type": "string"
  5091. },
  5092. "spotcontractid": {
  5093. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5094. "type": "integer"
  5095. }
  5096. }
  5097. },
  5098. "erms3.AddUserInfoApplyReq": {
  5099. "type": "object",
  5100. "required": [
  5101. "userid"
  5102. ],
  5103. "properties": {
  5104. "accountid": {
  5105. "description": "交易系统帐号Id (加密存储)",
  5106. "type": "integer"
  5107. },
  5108. "areacode": {
  5109. "description": "机构代码",
  5110. "type": "string"
  5111. },
  5112. "areaid": {
  5113. "description": "机构Id",
  5114. "type": "integer"
  5115. },
  5116. "attachment1": {
  5117. "description": "附件1",
  5118. "type": "string"
  5119. },
  5120. "attachment2": {
  5121. "description": "附件2",
  5122. "type": "string"
  5123. },
  5124. "attachment3": {
  5125. "description": "附件3",
  5126. "type": "string"
  5127. },
  5128. "attachment4": {
  5129. "description": "附件4",
  5130. "type": "string"
  5131. },
  5132. "attachment5": {
  5133. "description": "附件5",
  5134. "type": "string"
  5135. },
  5136. "auditedby": {
  5137. "description": "审核人",
  5138. "type": "string"
  5139. },
  5140. "auditime": {
  5141. "description": "审核时间",
  5142. "type": "string"
  5143. },
  5144. "bankaccount": {
  5145. "description": "银行帐号 (加密存储)",
  5146. "type": "string"
  5147. },
  5148. "bankaccountname": {
  5149. "description": "收款人名称",
  5150. "type": "string"
  5151. },
  5152. "bankcardbackphotourl": {
  5153. "description": "银行卡背面照地址",
  5154. "type": "string"
  5155. },
  5156. "bankcardfrontphotourl": {
  5157. "description": "银行卡正面照地址",
  5158. "type": "string"
  5159. },
  5160. "bankid": {
  5161. "description": "银行编码",
  5162. "type": "string"
  5163. },
  5164. "bankname": {
  5165. "description": "银行名称",
  5166. "type": "string"
  5167. },
  5168. "bankpictureurl": {
  5169. "description": "银行卡正面地址",
  5170. "type": "string"
  5171. },
  5172. "biznature": {
  5173. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5174. "type": "integer"
  5175. },
  5176. "bizscope": {
  5177. "description": "企业经营范围(企业)",
  5178. "type": "string"
  5179. },
  5180. "biztype": {
  5181. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5182. "type": "integer"
  5183. },
  5184. "brokerid": {
  5185. "description": "经纪人ID(加密存储)",
  5186. "type": "string"
  5187. },
  5188. "cardaddress": {
  5189. "description": "证件地址 (加密存储)",
  5190. "type": "string"
  5191. },
  5192. "cardbackphotourl": {
  5193. "description": "背面证件照地址",
  5194. "type": "string"
  5195. },
  5196. "cardfrontphotourl": {
  5197. "description": "正面证件照地址",
  5198. "type": "string"
  5199. },
  5200. "cardnum": {
  5201. "description": "证件号码 (加密存储)",
  5202. "type": "string"
  5203. },
  5204. "cardtype": {
  5205. "description": "证件类型",
  5206. "type": "integer"
  5207. },
  5208. "cityid": {
  5209. "description": "市",
  5210. "type": "integer"
  5211. },
  5212. "company": {
  5213. "description": "公司(个人)",
  5214. "type": "string"
  5215. },
  5216. "contactcardbackphotourl": {
  5217. "description": "联系人证件背面图片地址",
  5218. "type": "string"
  5219. },
  5220. "contactcardfrontphotourl": {
  5221. "description": "联系人证件正面图片地址",
  5222. "type": "string"
  5223. },
  5224. "contactname": {
  5225. "description": "联系人",
  5226. "type": "string"
  5227. },
  5228. "countryid": {
  5229. "description": "国家",
  5230. "type": "integer"
  5231. },
  5232. "createtime": {
  5233. "description": "开户申请时间",
  5234. "type": "string"
  5235. },
  5236. "cusbankid": {
  5237. "description": "签约类型",
  5238. "type": "string"
  5239. },
  5240. "cusbankname": {
  5241. "description": "签约类型名称",
  5242. "type": "string"
  5243. },
  5244. "customername": {
  5245. "description": "客户名称(企业名称)",
  5246. "type": "string"
  5247. },
  5248. "districtid": {
  5249. "description": "地区",
  5250. "type": "integer"
  5251. },
  5252. "email": {
  5253. "description": "Email地址(加密存储)",
  5254. "type": "string"
  5255. },
  5256. "halfbodyphotourl": {
  5257. "description": "半身照地址",
  5258. "type": "string"
  5259. },
  5260. "headurl": {
  5261. "description": "头像地址",
  5262. "type": "string"
  5263. },
  5264. "ipaddress": {
  5265. "description": "IP地址",
  5266. "type": "string"
  5267. },
  5268. "isvalidate": {
  5269. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5270. "type": "string"
  5271. },
  5272. "legalcardbackphotourl": {
  5273. "description": "法人身份证背面照地址",
  5274. "type": "string"
  5275. },
  5276. "legalcardfrontphotourl": {
  5277. "description": "法人身份证正面照地址",
  5278. "type": "string"
  5279. },
  5280. "legalpersonname": {
  5281. "description": "法人姓名(企业)",
  5282. "type": "string"
  5283. },
  5284. "logincode": {
  5285. "description": "登录帐号 (加密存储)",
  5286. "type": "string"
  5287. },
  5288. "memberareaid": {
  5289. "description": "所属会员ID",
  5290. "type": "integer"
  5291. },
  5292. "mobile2": {
  5293. "description": "手机号码[明文-尚志]",
  5294. "type": "string"
  5295. },
  5296. "mobilephone": {
  5297. "description": "手机号码 (加密存储)",
  5298. "type": "string"
  5299. },
  5300. "modifiedby": {
  5301. "description": "修改人帐号",
  5302. "type": "integer"
  5303. },
  5304. "modifiedtime": {
  5305. "description": "修改时间",
  5306. "type": "string"
  5307. },
  5308. "nickname": {
  5309. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5310. "type": "string"
  5311. },
  5312. "openmode": {
  5313. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5314. "type": "integer"
  5315. },
  5316. "otherurl": {
  5317. "description": "其它图片地址[使用分号分隔]",
  5318. "type": "string"
  5319. },
  5320. "postalcode": {
  5321. "description": "邮政编码",
  5322. "type": "string"
  5323. },
  5324. "provinceid": {
  5325. "description": "省",
  5326. "type": "integer"
  5327. },
  5328. "proxystatementurl": {
  5329. "description": "授权委托书",
  5330. "type": "string"
  5331. },
  5332. "qq": {
  5333. "description": "QQ(加密存储",
  5334. "type": "string"
  5335. },
  5336. "referral": {
  5337. "description": "推荐人编码",
  5338. "type": "string"
  5339. },
  5340. "remark": {
  5341. "description": "备注",
  5342. "type": "string"
  5343. },
  5344. "removebeforestatus": {
  5345. "description": "REMOVEBEFORESTATUS",
  5346. "type": "integer"
  5347. },
  5348. "sex": {
  5349. "description": "性别 - 0:女 1:男",
  5350. "type": "integer"
  5351. },
  5352. "signedstatus": {
  5353. "description": "账户一号签签约状态",
  5354. "type": "integer"
  5355. },
  5356. "signpdfurl": {
  5357. "description": "签约pdf文件",
  5358. "type": "string"
  5359. },
  5360. "subbranch": {
  5361. "description": "开户支行",
  5362. "type": "string"
  5363. },
  5364. "telphone": {
  5365. "description": "联系电话(加密存储)",
  5366. "type": "string"
  5367. },
  5368. "userid": {
  5369. "description": "用户ID(自增ID)",
  5370. "type": "integer"
  5371. },
  5372. "userinfotype": {
  5373. "description": "用户信息类型 - 1:个人 2:企业",
  5374. "type": "integer"
  5375. },
  5376. "username": {
  5377. "description": "用户姓名",
  5378. "type": "string"
  5379. },
  5380. "userstate": {
  5381. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5382. "type": "integer"
  5383. },
  5384. "usertype": {
  5385. "description": "用户类型 - 1:投资者 2:机构",
  5386. "type": "integer"
  5387. },
  5388. "videourl": {
  5389. "description": "视频地址",
  5390. "type": "string"
  5391. },
  5392. "wechat": {
  5393. "description": "微信号 (加密存储)",
  5394. "type": "string"
  5395. }
  5396. }
  5397. },
  5398. "erms3.CustomerInfo": {
  5399. "type": "object",
  5400. "required": [
  5401. "userid"
  5402. ],
  5403. "properties": {
  5404. "accountids": {
  5405. "description": "资金账户ID列表",
  5406. "type": "array",
  5407. "items": {
  5408. "type": "integer"
  5409. }
  5410. },
  5411. "customername": {
  5412. "description": "名称(企业名称)",
  5413. "type": "string"
  5414. },
  5415. "mobile": {
  5416. "description": "手机号码",
  5417. "type": "string"
  5418. },
  5419. "userid": {
  5420. "description": "用户ID",
  5421. "type": "integer"
  5422. }
  5423. }
  5424. },
  5425. "erms3.QryAuditContractRsp": {
  5426. "type": "object",
  5427. "required": [
  5428. "matchcustomername",
  5429. "spotcontractid"
  5430. ],
  5431. "properties": {
  5432. "accountid": {
  5433. "description": "交易员ID",
  5434. "type": "string"
  5435. },
  5436. "applystatus": {
  5437. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5438. "type": "integer"
  5439. },
  5440. "curdeliveryqty": {
  5441. "description": "未交收量",
  5442. "type": "integer"
  5443. },
  5444. "customername": {
  5445. "description": "采购方ID",
  5446. "type": "string"
  5447. },
  5448. "deliverygoodsid": {
  5449. "description": "品种ID",
  5450. "type": "string"
  5451. },
  5452. "deliveryqty": {
  5453. "description": "交收量",
  5454. "type": "integer"
  5455. },
  5456. "enumdicname": {
  5457. "description": "单位名称",
  5458. "type": "string"
  5459. },
  5460. "matchaccountid": {
  5461. "description": "业务员ID",
  5462. "type": "string"
  5463. },
  5464. "matchcustomername": {
  5465. "description": "销售方ID",
  5466. "type": "string"
  5467. },
  5468. "pricedqty": {
  5469. "description": "定价量",
  5470. "type": "number"
  5471. },
  5472. "signdate": {
  5473. "description": "签订日期",
  5474. "type": "string"
  5475. },
  5476. "spotcontractid": {
  5477. "description": "合同ID",
  5478. "type": "string"
  5479. },
  5480. "totaldqty": {
  5481. "description": "合同量",
  5482. "type": "number"
  5483. },
  5484. "unpricedqty": {
  5485. "description": "未定价量",
  5486. "type": "number"
  5487. },
  5488. "wrstandardname": {
  5489. "description": "商品名称",
  5490. "type": "string"
  5491. }
  5492. }
  5493. },
  5494. "erms3.QryPendingBizRsp": {
  5495. "type": "object",
  5496. "properties": {
  5497. "accountid": {
  5498. "description": "现货账户",
  5499. "type": "string"
  5500. },
  5501. "areaname": {
  5502. "description": "所属部门",
  5503. "type": "string"
  5504. },
  5505. "bizid": {
  5506. "description": "业务ID",
  5507. "type": "string"
  5508. },
  5509. "bizname": {
  5510. "description": "业务名称",
  5511. "type": "string"
  5512. },
  5513. "status": {
  5514. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5515. "type": "integer"
  5516. },
  5517. "type": {
  5518. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5519. "type": "integer"
  5520. }
  5521. }
  5522. },
  5523. "erms3.QueryBusinessInfoRsp": {
  5524. "type": "object",
  5525. "properties": {
  5526. "businessid": {
  5527. "description": "业务ID.",
  5528. "type": "integer"
  5529. },
  5530. "buyamount": {
  5531. "description": "采购额.",
  5532. "type": "number"
  5533. },
  5534. "buyqty": {
  5535. "description": "采购量.",
  5536. "type": "string"
  5537. },
  5538. "futurepl": {
  5539. "description": "期货盈亏.",
  5540. "type": "number"
  5541. },
  5542. "futureqty": {
  5543. "description": "期货敞口.",
  5544. "type": "string"
  5545. },
  5546. "goodsid": {
  5547. "description": "商品名称/商品代码.",
  5548. "type": "string"
  5549. },
  5550. "hedgingqty": {
  5551. "description": "套保量.",
  5552. "type": "string"
  5553. },
  5554. "sellamount": {
  5555. "description": "销售额.",
  5556. "type": "number"
  5557. },
  5558. "sellqty": {
  5559. "description": "销售量.",
  5560. "type": "string"
  5561. },
  5562. "spotmarketvalue": {
  5563. "description": "现货市值.",
  5564. "type": "number"
  5565. },
  5566. "spotpl": {
  5567. "description": "浮动权益.",
  5568. "type": "number"
  5569. },
  5570. "spotqty": {
  5571. "description": "现货量.",
  5572. "type": "string"
  5573. },
  5574. "statu": {
  5575. "description": "状态,0-未结束 1-已结束.",
  5576. "type": "integer"
  5577. },
  5578. "totalpl": {
  5579. "description": "总盈亏.",
  5580. "type": "number"
  5581. },
  5582. "totalqty": {
  5583. "description": "总敞口.",
  5584. "type": "string"
  5585. },
  5586. "type": {
  5587. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5588. "type": "integer"
  5589. }
  5590. }
  5591. },
  5592. "erms3.QuerySpotContractAppleFormRsp": {
  5593. "type": "object",
  5594. "properties": {
  5595. "goodses": {
  5596. "description": "合约列表",
  5597. "type": "array",
  5598. "items": {
  5599. "$ref": "#/definitions/models.GoodsIDAndName"
  5600. }
  5601. },
  5602. "oppositeusers": {
  5603. "description": "对方账号列表",
  5604. "type": "array",
  5605. "items": {
  5606. "$ref": "#/definitions/erms3.CustomerInfo"
  5607. }
  5608. },
  5609. "ouruser": {
  5610. "description": "我方账号",
  5611. "$ref": "#/definitions/erms3.CustomerInfo"
  5612. },
  5613. "warehouseinfos": {
  5614. "description": "仓库信息列表",
  5615. "type": "array",
  5616. "items": {
  5617. "$ref": "#/definitions/models.Warehouseinfo"
  5618. }
  5619. },
  5620. "wrstandards": {
  5621. "description": "仓单标准列表",
  5622. "type": "array",
  5623. "items": {
  5624. "$ref": "#/definitions/models.WRStandardInfo"
  5625. }
  5626. }
  5627. }
  5628. },
  5629. "erms3.QuerySpotContractInfoRsp": {
  5630. "type": "object",
  5631. "properties": {
  5632. "accountid": {
  5633. "description": "表示交易员ID.",
  5634. "type": "integer"
  5635. },
  5636. "curdeliveryqty": {
  5637. "description": "表示未交收量.",
  5638. "type": "number"
  5639. },
  5640. "customername": {
  5641. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  5642. "type": "string"
  5643. },
  5644. "deliverygoodsid": {
  5645. "description": "表示品种ID.",
  5646. "type": "string"
  5647. },
  5648. "deliveryqty": {
  5649. "description": "表示交收量.",
  5650. "type": "number"
  5651. },
  5652. "matchaccountid": {
  5653. "description": "表示业务员ID.",
  5654. "type": "integer"
  5655. },
  5656. "matchcustomername": {
  5657. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  5658. "type": "string"
  5659. },
  5660. "priceqty": {
  5661. "description": "表示定价量.",
  5662. "type": "number"
  5663. },
  5664. "relatedbizid": {
  5665. "description": "表示业务ID.",
  5666. "type": "string"
  5667. },
  5668. "signdate": {
  5669. "description": "表示签订日期.",
  5670. "type": "string"
  5671. },
  5672. "spotcontractid": {
  5673. "description": "合同ID",
  5674. "type": "string"
  5675. },
  5676. "status": {
  5677. "description": "表示状态,0-履约中 1-已完成.",
  5678. "type": "integer"
  5679. },
  5680. "totalqty": {
  5681. "description": "表示合同量.",
  5682. "type": "number"
  5683. },
  5684. "unpricedqty": {
  5685. "description": "表示未定价量.",
  5686. "type": "number"
  5687. },
  5688. "wrstandardname": {
  5689. "description": "表示商品ID.",
  5690. "type": "string"
  5691. }
  5692. }
  5693. },
  5694. "erms3.QueryUserInfoAppliesRsp": {
  5695. "type": "object",
  5696. "required": [
  5697. "userid"
  5698. ],
  5699. "properties": {
  5700. "biznature": {
  5701. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5702. "type": "integer"
  5703. },
  5704. "contactname": {
  5705. "description": "联系人",
  5706. "type": "string"
  5707. },
  5708. "createtime": {
  5709. "description": "开户申请时间",
  5710. "type": "string"
  5711. },
  5712. "userid": {
  5713. "description": "用户ID(自增ID)",
  5714. "type": "integer"
  5715. },
  5716. "userinfotype": {
  5717. "description": "用户信息类型 - 1:个人 2:企业",
  5718. "type": "integer"
  5719. },
  5720. "username": {
  5721. "description": "用户姓名",
  5722. "type": "string"
  5723. },
  5724. "userstate": {
  5725. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5726. "type": "integer"
  5727. }
  5728. }
  5729. },
  5730. "erms3.QueryUserInfosRsp": {
  5731. "type": "object",
  5732. "required": [
  5733. "userid"
  5734. ],
  5735. "properties": {
  5736. "biznature": {
  5737. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5738. "type": "integer"
  5739. },
  5740. "contactname": {
  5741. "description": "联系人",
  5742. "type": "string"
  5743. },
  5744. "customername": {
  5745. "description": "客户名称(企业名称)",
  5746. "type": "string"
  5747. },
  5748. "userid": {
  5749. "description": "用户ID",
  5750. "type": "integer"
  5751. },
  5752. "userinfotype": {
  5753. "description": "用户信息类型 - 1:个人 2:企业",
  5754. "type": "integer"
  5755. },
  5756. "userstatus": {
  5757. "description": "用户状态 - 1:正常 2:注销",
  5758. "type": "integer"
  5759. }
  5760. }
  5761. },
  5762. "erms3.SoptContractDetail": {
  5763. "type": "object",
  5764. "required": [
  5765. "deliverygoodsid",
  5766. "producttype",
  5767. "unitname",
  5768. "warehouseid",
  5769. "wrstandardid",
  5770. "wrstandardname"
  5771. ],
  5772. "properties": {
  5773. "deliverygoodsdesc": {
  5774. "description": "现货品种说明",
  5775. "type": "string"
  5776. },
  5777. "deliverygoodsid": {
  5778. "description": "现货品种ID",
  5779. "type": "integer"
  5780. },
  5781. "deliverygoodsname": {
  5782. "description": "现货品种名称",
  5783. "type": "string"
  5784. },
  5785. "pointdesc": {
  5786. "description": "点价描述",
  5787. "type": "string"
  5788. },
  5789. "producttype": {
  5790. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  5791. "type": "integer"
  5792. },
  5793. "producttypename": {
  5794. "description": "产品类型名称",
  5795. "type": "string"
  5796. },
  5797. "spotPointOrderVoList": {
  5798. "description": "点价列表",
  5799. "type": "array",
  5800. "items": {
  5801. "$ref": "#/definitions/erms3.SpotPointOrder"
  5802. }
  5803. },
  5804. "spotPriceOrderList": {
  5805. "description": "定价列表",
  5806. "type": "array",
  5807. "items": {
  5808. "$ref": "#/definitions/erms3.SpotPriceOrder"
  5809. }
  5810. },
  5811. "unitname": {
  5812. "description": "单位名称",
  5813. "type": "string"
  5814. },
  5815. "warehouseid": {
  5816. "description": "仓库ID",
  5817. "type": "integer"
  5818. },
  5819. "warehousename": {
  5820. "description": "仓库名称",
  5821. "type": "string"
  5822. },
  5823. "wrstandardid": {
  5824. "description": "交易标的ID",
  5825. "type": "integer"
  5826. },
  5827. "wrstandardname": {
  5828. "description": "交易标的名称",
  5829. "type": "string"
  5830. }
  5831. }
  5832. },
  5833. "erms3.SpotPointOrder": {
  5834. "type": "object",
  5835. "required": [
  5836. "basic",
  5837. "goodsid",
  5838. "qty"
  5839. ],
  5840. "properties": {
  5841. "basic": {
  5842. "description": "基差",
  5843. "type": "number"
  5844. },
  5845. "deliveryenddate": {
  5846. "description": "交收结束日期",
  5847. "type": "string"
  5848. },
  5849. "deliverystartdate": {
  5850. "description": "交收开始日期",
  5851. "type": "string"
  5852. },
  5853. "enddate": {
  5854. "description": "点价结束日期",
  5855. "type": "string"
  5856. },
  5857. "goodsid": {
  5858. "description": "商品ID",
  5859. "type": "integer"
  5860. },
  5861. "goodsname": {
  5862. "description": "商品名称",
  5863. "type": "string"
  5864. },
  5865. "qty": {
  5866. "description": "数量",
  5867. "type": "number"
  5868. },
  5869. "startdate": {
  5870. "description": "点价开始日期",
  5871. "type": "string"
  5872. }
  5873. }
  5874. },
  5875. "erms3.SpotPriceOrder": {
  5876. "type": "object",
  5877. "required": [
  5878. "amount",
  5879. "price",
  5880. "qty"
  5881. ],
  5882. "properties": {
  5883. "amount": {
  5884. "description": "金额",
  5885. "type": "number"
  5886. },
  5887. "deliveryenddate": {
  5888. "description": "交收结束日期",
  5889. "type": "string"
  5890. },
  5891. "deliverystartdate": {
  5892. "description": "交收开始日期",
  5893. "type": "string"
  5894. },
  5895. "price": {
  5896. "description": "价格",
  5897. "type": "number"
  5898. },
  5899. "qty": {
  5900. "description": "数量",
  5901. "type": "number"
  5902. }
  5903. }
  5904. },
  5905. "hsby.GetHsbyMyCountRsp": {
  5906. "type": "object",
  5907. "properties": {
  5908. "myOrderDetailListingCount": {
  5909. "description": "我的订单求购中数量",
  5910. "type": "integer"
  5911. },
  5912. "myOrderDetailPreCount": {
  5913. "description": "我的订单抢购中数量",
  5914. "type": "integer"
  5915. },
  5916. "myPackageUnReceiveCount": {
  5917. "description": "我的包裹待收货数量",
  5918. "type": "integer"
  5919. },
  5920. "myPackageUnSendCount": {
  5921. "description": "我的包裹待发货数量",
  5922. "type": "integer"
  5923. }
  5924. }
  5925. },
  5926. "hsby.QueryProvincesAndCitiesRsp": {
  5927. "type": "object",
  5928. "properties": {
  5929. "cities": {
  5930. "description": "市",
  5931. "type": "array",
  5932. "items": {
  5933. "$ref": "#/definitions/models.Division"
  5934. }
  5935. },
  5936. "province": {
  5937. "description": "省",
  5938. "$ref": "#/definitions/models.Division"
  5939. }
  5940. }
  5941. },
  5942. "models.Division": {
  5943. "type": "object",
  5944. "required": [
  5945. "autoid",
  5946. "divisioncode"
  5947. ],
  5948. "properties": {
  5949. "autoid": {
  5950. "description": "自增ID",
  5951. "type": "integer"
  5952. },
  5953. "divisioncode": {
  5954. "description": "行政代码",
  5955. "type": "string"
  5956. },
  5957. "divisionlevel": {
  5958. "description": "行政级别",
  5959. "type": "string"
  5960. },
  5961. "divisionname": {
  5962. "description": "行政名称",
  5963. "type": "string"
  5964. },
  5965. "modifierid": {
  5966. "description": "修改人",
  5967. "type": "integer"
  5968. },
  5969. "modifytime": {
  5970. "description": "修改时间",
  5971. "type": "string"
  5972. },
  5973. "parentcode": {
  5974. "description": "上级行政代码",
  5975. "type": "string"
  5976. },
  5977. "pathname": {
  5978. "description": "路径名称",
  5979. "type": "string"
  5980. },
  5981. "postcode": {
  5982. "description": "邮政编码",
  5983. "type": "string"
  5984. },
  5985. "separablename": {
  5986. "description": "可拆分的全称",
  5987. "type": "string"
  5988. },
  5989. "shortcode": {
  5990. "description": "地区简码",
  5991. "type": "string"
  5992. }
  5993. }
  5994. },
  5995. "models.Enumdicitem": {
  5996. "type": "object",
  5997. "required": [
  5998. "autoid",
  5999. "enumdiccode",
  6000. "enumdicid",
  6001. "enumitemname"
  6002. ],
  6003. "properties": {
  6004. "autoid": {
  6005. "description": "自增ID",
  6006. "type": "integer"
  6007. },
  6008. "bankmappedvalue": {
  6009. "description": "银行服务对应值",
  6010. "type": "string"
  6011. },
  6012. "enumdiccode": {
  6013. "description": "所属枚举代码",
  6014. "type": "string"
  6015. },
  6016. "enumdicid": {
  6017. "description": "所属枚举ID",
  6018. "type": "integer"
  6019. },
  6020. "enumdicname": {
  6021. "description": "枚举项名称",
  6022. "type": "string"
  6023. },
  6024. "enumitemname": {
  6025. "description": "枚举项值",
  6026. "type": "integer"
  6027. },
  6028. "enumitemstatus": {
  6029. "description": "枚举项状态 - 1.启用 2.不启用",
  6030. "type": "integer"
  6031. },
  6032. "enumitemvalue": {
  6033. "description": "通用值 - [币种通用简写]",
  6034. "type": "string"
  6035. },
  6036. "param1": {
  6037. "description": "参数1[币种:币种小数位]",
  6038. "type": "string"
  6039. },
  6040. "param2": {
  6041. "description": "参数1[币种:币种显示单位]",
  6042. "type": "string"
  6043. },
  6044. "remark": {
  6045. "description": "备注",
  6046. "type": "string"
  6047. }
  6048. }
  6049. },
  6050. "models.GoodsIDAndName": {
  6051. "type": "object",
  6052. "required": [
  6053. "goodscode",
  6054. "goodsid",
  6055. "goodsname",
  6056. "marketid"
  6057. ],
  6058. "properties": {
  6059. "goodscode": {
  6060. "description": "商品代码(内部)",
  6061. "type": "string"
  6062. },
  6063. "goodsid": {
  6064. "description": "商品ID(自增ID SEQ_GOODS)",
  6065. "type": "integer"
  6066. },
  6067. "goodsname": {
  6068. "description": "商品名称",
  6069. "type": "string"
  6070. },
  6071. "marketid": {
  6072. "description": "所属市场ID",
  6073. "type": "integer"
  6074. }
  6075. }
  6076. },
  6077. "models.HsbyBuyMyTradeDetail": {
  6078. "type": "object",
  6079. "required": [
  6080. "accountid",
  6081. "buyorsell",
  6082. "goodscode",
  6083. "goodsid",
  6084. "goodsname",
  6085. "marketid",
  6086. "orderid",
  6087. "qty",
  6088. "time",
  6089. "trademode"
  6090. ],
  6091. "properties": {
  6092. "accountid": {
  6093. "description": "账户ID[报价币种]",
  6094. "type": "integer"
  6095. },
  6096. "agreeunit": {
  6097. "description": "合约单位",
  6098. "type": "number"
  6099. },
  6100. "amount": {
  6101. "description": "金额 = 价格 * 数量 * 合约单位",
  6102. "type": "number"
  6103. },
  6104. "buyorsell": {
  6105. "description": "买卖 - 0:买 1:卖",
  6106. "type": "integer"
  6107. },
  6108. "currencysign": {
  6109. "description": "货币符号",
  6110. "type": "string"
  6111. },
  6112. "decimalplace": {
  6113. "description": "报价小数位",
  6114. "type": "integer"
  6115. },
  6116. "goodscode": {
  6117. "description": "商品代码(内部)",
  6118. "type": "string"
  6119. },
  6120. "goodsid": {
  6121. "description": "商品ID",
  6122. "type": "integer"
  6123. },
  6124. "goodsname": {
  6125. "description": "商品名称",
  6126. "type": "string"
  6127. },
  6128. "marketid": {
  6129. "description": "市场ID",
  6130. "type": "integer"
  6131. },
  6132. "orderid": {
  6133. "description": "单号(成交单号)",
  6134. "type": "string"
  6135. },
  6136. "picurls1": {
  6137. "description": "预售商品介绍图片[多张用逗号分隔]",
  6138. "type": "string"
  6139. },
  6140. "picurls2": {
  6141. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6142. "type": "string"
  6143. },
  6144. "price": {
  6145. "description": "价格",
  6146. "type": "number"
  6147. },
  6148. "qty": {
  6149. "description": "数量",
  6150. "type": "integer"
  6151. },
  6152. "time": {
  6153. "description": "时间",
  6154. "type": "string"
  6155. },
  6156. "trademode": {
  6157. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6158. "type": "integer"
  6159. },
  6160. "vendorname1": {
  6161. "description": "预售商品供应商名称",
  6162. "type": "string"
  6163. },
  6164. "vendorname2": {
  6165. "description": "挂牌商品供应商名称",
  6166. "type": "string"
  6167. }
  6168. }
  6169. },
  6170. "models.HsbyGoodsOrderDetail": {
  6171. "type": "object",
  6172. "required": [
  6173. "buyorsell",
  6174. "orderid",
  6175. "ordertime"
  6176. ],
  6177. "properties": {
  6178. "buyorsell": {
  6179. "description": "买卖 - 0:买 1:卖",
  6180. "type": "integer"
  6181. },
  6182. "currencysign": {
  6183. "description": "货币符号",
  6184. "type": "string"
  6185. },
  6186. "customername": {
  6187. "description": "客户名称(企业名称),已脱敏",
  6188. "type": "string"
  6189. },
  6190. "enableqty": {
  6191. "description": "可用数量",
  6192. "type": "integer"
  6193. },
  6194. "goodunit": {
  6195. "description": "报价单位",
  6196. "type": "string"
  6197. },
  6198. "orderid": {
  6199. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6200. "type": "string"
  6201. },
  6202. "orderprice": {
  6203. "description": "委托价格",
  6204. "type": "number"
  6205. },
  6206. "ordertime": {
  6207. "description": "委托时间",
  6208. "type": "string"
  6209. }
  6210. }
  6211. },
  6212. "models.HsbyListingGoodsDetail": {
  6213. "type": "object",
  6214. "required": [
  6215. "goodscode",
  6216. "goodsid",
  6217. "goodsname",
  6218. "marketid",
  6219. "trademode"
  6220. ],
  6221. "properties": {
  6222. "agreeunit": {
  6223. "description": "合约单位",
  6224. "type": "number"
  6225. },
  6226. "currency": {
  6227. "description": "货币",
  6228. "type": "string"
  6229. },
  6230. "currencysign": {
  6231. "description": "货币符号",
  6232. "type": "string"
  6233. },
  6234. "decimalplace": {
  6235. "description": "报价小数位",
  6236. "type": "integer"
  6237. },
  6238. "desccityid": {
  6239. "description": "目的地(市)ID",
  6240. "type": "integer"
  6241. },
  6242. "descprovinceid": {
  6243. "description": "目的地(省)ID",
  6244. "type": "integer"
  6245. },
  6246. "goodscode": {
  6247. "description": "商品代码(内部)",
  6248. "type": "string"
  6249. },
  6250. "goodsdesc": {
  6251. "description": "商品详情",
  6252. "type": "string"
  6253. },
  6254. "goodsid": {
  6255. "description": "商品ID(自增ID SEQ_GOODS)",
  6256. "type": "integer"
  6257. },
  6258. "goodsname": {
  6259. "description": "商品名称",
  6260. "type": "string"
  6261. },
  6262. "hotindex": {
  6263. "description": "景点热度",
  6264. "type": "integer"
  6265. },
  6266. "last": {
  6267. "description": "现价",
  6268. "type": "number"
  6269. },
  6270. "limitdown": {
  6271. "description": "跌停价",
  6272. "type": "number"
  6273. },
  6274. "limitup": {
  6275. "description": "涨停价",
  6276. "type": "number"
  6277. },
  6278. "lotsize": {
  6279. "description": "手数最小变动单位",
  6280. "type": "integer"
  6281. },
  6282. "marketid": {
  6283. "description": "所属市场ID",
  6284. "type": "integer"
  6285. },
  6286. "picurls": {
  6287. "description": "介绍图片[多张用逗号分隔]",
  6288. "type": "string"
  6289. },
  6290. "quoteminunit": {
  6291. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6292. "type": "integer"
  6293. },
  6294. "stepvalue": {
  6295. "description": "价格最小变动单位",
  6296. "type": "number"
  6297. },
  6298. "trademode": {
  6299. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6300. "type": "integer"
  6301. },
  6302. "vendorattr": {
  6303. "description": "供应商附件(多张,逗号分隔)",
  6304. "type": "string"
  6305. },
  6306. "vendorname": {
  6307. "description": "供应商名称",
  6308. "type": "string"
  6309. },
  6310. "vendorphone": {
  6311. "description": "供应商客服电话",
  6312. "type": "string"
  6313. },
  6314. "videourls": {
  6315. "description": "介绍视频[多张用逗号分隔]",
  6316. "type": "string"
  6317. }
  6318. }
  6319. },
  6320. "models.HsbyMyGoods": {
  6321. "type": "object",
  6322. "required": [
  6323. "accountid",
  6324. "goodscode",
  6325. "goodsid",
  6326. "goodsname"
  6327. ],
  6328. "properties": {
  6329. "accountid": {
  6330. "description": "账号Id",
  6331. "type": "integer"
  6332. },
  6333. "agreeunit": {
  6334. "description": "合约单位",
  6335. "type": "number"
  6336. },
  6337. "buyaverageprice": {
  6338. "description": "持仓均价",
  6339. "type": "number"
  6340. },
  6341. "buycurholderamount": {
  6342. "description": "买当前持仓总金额[商品币种]",
  6343. "type": "number"
  6344. },
  6345. "buycurpositionqty": {
  6346. "description": "买当前持仓总数量",
  6347. "type": "integer"
  6348. },
  6349. "currencysign": {
  6350. "description": "货币符号",
  6351. "type": "string"
  6352. },
  6353. "decimalplace": {
  6354. "description": "报价小数位",
  6355. "type": "integer"
  6356. },
  6357. "enableqty": {
  6358. "description": "可用数量",
  6359. "type": "integer"
  6360. },
  6361. "goodscode": {
  6362. "description": "商品代码(内部)",
  6363. "type": "string"
  6364. },
  6365. "goodsid": {
  6366. "description": "商品Id",
  6367. "type": "integer"
  6368. },
  6369. "goodsname": {
  6370. "description": "商品名称",
  6371. "type": "string"
  6372. },
  6373. "goodsstatus": {
  6374. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  6375. "type": "integer"
  6376. },
  6377. "picurls": {
  6378. "description": "介绍图片[多张用逗号分隔]",
  6379. "type": "string"
  6380. }
  6381. }
  6382. },
  6383. "models.HsbyMyPackage": {
  6384. "type": "object",
  6385. "required": [
  6386. "goodscode",
  6387. "goodsname",
  6388. "takeorderid"
  6389. ],
  6390. "properties": {
  6391. "accountid": {
  6392. "description": "账户ID",
  6393. "type": "integer"
  6394. },
  6395. "address": {
  6396. "description": "提货人详细地址",
  6397. "type": "string"
  6398. },
  6399. "agreeunit": {
  6400. "description": "合约单位",
  6401. "type": "number"
  6402. },
  6403. "amount": {
  6404. "description": "提货金额",
  6405. "type": "number"
  6406. },
  6407. "auditer": {
  6408. "description": "审核人",
  6409. "type": "integer"
  6410. },
  6411. "audittime": {
  6412. "description": "审核时间",
  6413. "type": "string"
  6414. },
  6415. "averageprice": {
  6416. "description": "均价",
  6417. "type": "number"
  6418. },
  6419. "cardnum": {
  6420. "description": "提货人证件号码",
  6421. "type": "string"
  6422. },
  6423. "cardtypeid": {
  6424. "description": "提货人证件类型",
  6425. "type": "integer"
  6426. },
  6427. "checkremark": {
  6428. "description": "审核备注",
  6429. "type": "string"
  6430. },
  6431. "currencysign": {
  6432. "description": "货币符号",
  6433. "type": "string"
  6434. },
  6435. "decimalplace": {
  6436. "description": "报价小数位",
  6437. "type": "integer"
  6438. },
  6439. "goodscode": {
  6440. "description": "商品代码(内部)",
  6441. "type": "string"
  6442. },
  6443. "goodsid": {
  6444. "description": "商品ID",
  6445. "type": "integer"
  6446. },
  6447. "goodsname": {
  6448. "description": "商品名称",
  6449. "type": "string"
  6450. },
  6451. "handlestatus": {
  6452. "description": "处理状态",
  6453. "type": "integer"
  6454. },
  6455. "marketid": {
  6456. "description": "市场ID",
  6457. "type": "integer"
  6458. },
  6459. "phonenum": {
  6460. "description": "提货人联系方式",
  6461. "type": "string"
  6462. },
  6463. "picurls": {
  6464. "description": "介绍图片[多张用逗号分隔]",
  6465. "type": "string"
  6466. },
  6467. "qty": {
  6468. "description": "提货数量",
  6469. "type": "number"
  6470. },
  6471. "recivername": {
  6472. "description": "提货人姓名",
  6473. "type": "string"
  6474. },
  6475. "reqtime": {
  6476. "description": "更新时间",
  6477. "type": "string"
  6478. },
  6479. "takemode": {
  6480. "description": "提货方式 - 2:自提 3:配送",
  6481. "type": "integer"
  6482. },
  6483. "takeorderid": {
  6484. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6485. "type": "string"
  6486. },
  6487. "takeorderstatus": {
  6488. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6489. "type": "integer"
  6490. },
  6491. "takeremark": {
  6492. "description": "提货备注",
  6493. "type": "string"
  6494. },
  6495. "tradedate": {
  6496. "description": "交易日(yyyyMMdd)",
  6497. "type": "string"
  6498. },
  6499. "userid": {
  6500. "description": "用户ID",
  6501. "type": "integer"
  6502. },
  6503. "vendorname": {
  6504. "description": "供应商名称",
  6505. "type": "string"
  6506. }
  6507. }
  6508. },
  6509. "models.HsbyPreGoods": {
  6510. "type": "object",
  6511. "required": [
  6512. "goodscode",
  6513. "goodsid",
  6514. "goodsname",
  6515. "marketid",
  6516. "trademode"
  6517. ],
  6518. "properties": {
  6519. "agreeunit": {
  6520. "description": "合约单位",
  6521. "type": "number"
  6522. },
  6523. "currency": {
  6524. "description": "货币",
  6525. "type": "string"
  6526. },
  6527. "currencysign": {
  6528. "description": "货币符号",
  6529. "type": "string"
  6530. },
  6531. "decimalplace": {
  6532. "description": "报价小数位",
  6533. "type": "integer"
  6534. },
  6535. "enableqty": {
  6536. "description": "剩余数量",
  6537. "type": "integer"
  6538. },
  6539. "goodscode": {
  6540. "description": "商品代码(内部)",
  6541. "type": "string"
  6542. },
  6543. "goodsid": {
  6544. "description": "商品ID(自增ID SEQ_GOODS)",
  6545. "type": "integer"
  6546. },
  6547. "goodsname": {
  6548. "description": "商品名称",
  6549. "type": "string"
  6550. },
  6551. "goodsstatus": {
  6552. "description": "商品状态- 2:未上市 3:上市",
  6553. "type": "integer"
  6554. },
  6555. "lasttradedate": {
  6556. "description": "最后交易日期(状态:待退市)",
  6557. "type": "string"
  6558. },
  6559. "listingdate": {
  6560. "description": "交易开始日期",
  6561. "type": "string"
  6562. },
  6563. "marketid": {
  6564. "description": "所属市场ID",
  6565. "type": "integer"
  6566. },
  6567. "picurls": {
  6568. "description": "介绍图片[多张用逗号分隔]",
  6569. "type": "string"
  6570. },
  6571. "presaledqty": {
  6572. "description": "已预售量(预售结束时更新)",
  6573. "type": "integer"
  6574. },
  6575. "presaleqty": {
  6576. "description": "预售数量",
  6577. "type": "integer"
  6578. },
  6579. "quoteminunit": {
  6580. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6581. "type": "integer"
  6582. },
  6583. "refprice": {
  6584. "description": "参考价格[一口价]",
  6585. "type": "number"
  6586. },
  6587. "relatedgoodsid": {
  6588. "description": "关联交易合约ID",
  6589. "type": "integer"
  6590. },
  6591. "trademode": {
  6592. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6593. "type": "integer"
  6594. },
  6595. "videourls": {
  6596. "description": "介绍视频[多张用逗号分隔]",
  6597. "type": "string"
  6598. }
  6599. }
  6600. },
  6601. "models.HsbyPreGoodsDetail": {
  6602. "type": "object",
  6603. "required": [
  6604. "goodscode",
  6605. "goodsid",
  6606. "goodsname",
  6607. "marketid",
  6608. "trademode"
  6609. ],
  6610. "properties": {
  6611. "agreeunit": {
  6612. "description": "合约单位",
  6613. "type": "number"
  6614. },
  6615. "buymaxqty": {
  6616. "description": "购买上限 [71] - 0为不限",
  6617. "type": "integer"
  6618. },
  6619. "currency": {
  6620. "description": "货币",
  6621. "type": "string"
  6622. },
  6623. "currencysign": {
  6624. "description": "货币符号",
  6625. "type": "string"
  6626. },
  6627. "customername": {
  6628. "description": "发行单位",
  6629. "type": "string"
  6630. },
  6631. "decimalplace": {
  6632. "description": "报价小数位",
  6633. "type": "integer"
  6634. },
  6635. "desccityid": {
  6636. "description": "目的地(市)ID",
  6637. "type": "integer"
  6638. },
  6639. "descprovinceid": {
  6640. "description": "目的地(省)ID",
  6641. "type": "integer"
  6642. },
  6643. "enableqty": {
  6644. "description": "剩余数量",
  6645. "type": "integer"
  6646. },
  6647. "goodscode": {
  6648. "description": "商品代码(内部)",
  6649. "type": "string"
  6650. },
  6651. "goodsdesc": {
  6652. "description": "商品详情",
  6653. "type": "string"
  6654. },
  6655. "goodsid": {
  6656. "description": "商品ID(自增ID SEQ_GOODS)",
  6657. "type": "integer"
  6658. },
  6659. "goodsname": {
  6660. "description": "商品名称",
  6661. "type": "string"
  6662. },
  6663. "goodsstatus": {
  6664. "description": "商品状态- 2:未上市 3:上市",
  6665. "type": "integer"
  6666. },
  6667. "goodunit": {
  6668. "description": "报价单位",
  6669. "type": "string"
  6670. },
  6671. "lasttradedate": {
  6672. "description": "最后交易日期(状态:待退市)",
  6673. "type": "string"
  6674. },
  6675. "listingdate": {
  6676. "description": "交易开始日期",
  6677. "type": "string"
  6678. },
  6679. "lotsize": {
  6680. "description": "手数最小变动单位",
  6681. "type": "integer"
  6682. },
  6683. "marketid": {
  6684. "description": "所属市场ID",
  6685. "type": "integer"
  6686. },
  6687. "picurls": {
  6688. "description": "介绍图片[多张用逗号分隔]",
  6689. "type": "string"
  6690. },
  6691. "presaledqty": {
  6692. "description": "已预售量(预售结束时更新)",
  6693. "type": "integer"
  6694. },
  6695. "presaleqty": {
  6696. "description": "预售数量",
  6697. "type": "integer"
  6698. },
  6699. "quoteminunit": {
  6700. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6701. "type": "integer"
  6702. },
  6703. "refprice": {
  6704. "description": "参考价格[一口价]",
  6705. "type": "number"
  6706. },
  6707. "relatedgoodsid": {
  6708. "description": "关联交易合约ID",
  6709. "type": "integer"
  6710. },
  6711. "stepvalue": {
  6712. "description": "价格最小变动单位",
  6713. "type": "number"
  6714. },
  6715. "trademode": {
  6716. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6717. "type": "integer"
  6718. },
  6719. "vendorattr": {
  6720. "description": "供应商附件(多张,逗号分隔)",
  6721. "type": "string"
  6722. },
  6723. "vendorname": {
  6724. "description": "供应商名称",
  6725. "type": "string"
  6726. },
  6727. "vendorphone": {
  6728. "description": "供应商客服电话",
  6729. "type": "string"
  6730. },
  6731. "videourls": {
  6732. "description": "介绍视频[多张用逗号分隔]",
  6733. "type": "string"
  6734. }
  6735. }
  6736. },
  6737. "models.HsbySellMyDetail": {
  6738. "type": "object",
  6739. "required": [
  6740. "accountid",
  6741. "buyorsell",
  6742. "goodscode",
  6743. "goodsid",
  6744. "goodsname",
  6745. "marketid",
  6746. "orderid",
  6747. "qty",
  6748. "time",
  6749. "trademode"
  6750. ],
  6751. "properties": {
  6752. "accountid": {
  6753. "description": "账户ID[报价币种]",
  6754. "type": "integer"
  6755. },
  6756. "agreeunit": {
  6757. "description": "合约单位",
  6758. "type": "number"
  6759. },
  6760. "amount": {
  6761. "description": "金额 = 价格 * 数量 * 合约单位",
  6762. "type": "number"
  6763. },
  6764. "buyorsell": {
  6765. "description": "买卖 - 0:买 1:卖",
  6766. "type": "integer"
  6767. },
  6768. "currencysign": {
  6769. "description": "货币符号",
  6770. "type": "string"
  6771. },
  6772. "decimalplace": {
  6773. "description": "报价小数位",
  6774. "type": "integer"
  6775. },
  6776. "goodscode": {
  6777. "description": "商品代码(内部)",
  6778. "type": "string"
  6779. },
  6780. "goodsid": {
  6781. "description": "商品ID",
  6782. "type": "integer"
  6783. },
  6784. "goodsname": {
  6785. "description": "商品名称",
  6786. "type": "string"
  6787. },
  6788. "marketid": {
  6789. "description": "市场ID",
  6790. "type": "integer"
  6791. },
  6792. "orderid": {
  6793. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  6794. "type": "string"
  6795. },
  6796. "ordertype": {
  6797. "description": "单据类型:0 - 已发布, 1 - 已完成",
  6798. "type": "integer"
  6799. },
  6800. "picurls": {
  6801. "description": "介绍图片[多张用逗号分隔]",
  6802. "type": "string"
  6803. },
  6804. "price": {
  6805. "description": "价格",
  6806. "type": "number"
  6807. },
  6808. "qty": {
  6809. "description": "数量",
  6810. "type": "integer"
  6811. },
  6812. "time": {
  6813. "description": "时间",
  6814. "type": "string"
  6815. },
  6816. "trademode": {
  6817. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6818. "type": "integer"
  6819. },
  6820. "vendorname": {
  6821. "description": "供应商名称",
  6822. "type": "string"
  6823. }
  6824. }
  6825. },
  6826. "models.HsbyTopGoods": {
  6827. "type": "object",
  6828. "required": [
  6829. "goodscode",
  6830. "goodsid",
  6831. "goodsname",
  6832. "marketid",
  6833. "trademode"
  6834. ],
  6835. "properties": {
  6836. "agreeunit": {
  6837. "description": "合约单位",
  6838. "type": "number"
  6839. },
  6840. "currency": {
  6841. "description": "货币",
  6842. "type": "string"
  6843. },
  6844. "currencysign": {
  6845. "description": "货币符号",
  6846. "type": "string"
  6847. },
  6848. "decimalplace": {
  6849. "description": "报价小数位",
  6850. "type": "integer"
  6851. },
  6852. "goodscode": {
  6853. "description": "商品代码(内部)",
  6854. "type": "string"
  6855. },
  6856. "goodsid": {
  6857. "description": "商品ID(自增ID SEQ_GOODS)",
  6858. "type": "integer"
  6859. },
  6860. "goodsname": {
  6861. "description": "商品名称",
  6862. "type": "string"
  6863. },
  6864. "hotindex": {
  6865. "description": "景点热度",
  6866. "type": "integer"
  6867. },
  6868. "last": {
  6869. "description": "现价",
  6870. "type": "number"
  6871. },
  6872. "marketid": {
  6873. "description": "所属市场ID",
  6874. "type": "integer"
  6875. },
  6876. "picurls": {
  6877. "description": "介绍图片[多张用逗号分隔]",
  6878. "type": "string"
  6879. },
  6880. "quoteminunit": {
  6881. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6882. "type": "integer"
  6883. },
  6884. "trademode": {
  6885. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6886. "type": "integer"
  6887. },
  6888. "videourls": {
  6889. "description": "介绍视频[多张用逗号分隔]",
  6890. "type": "string"
  6891. }
  6892. }
  6893. },
  6894. "models.HybsMyBuyOrderDetail": {
  6895. "type": "object",
  6896. "required": [
  6897. "accountid",
  6898. "buyorsell",
  6899. "goodscode",
  6900. "goodsid",
  6901. "goodsname",
  6902. "marketid",
  6903. "orderid",
  6904. "orderqty",
  6905. "ordertime",
  6906. "trademode"
  6907. ],
  6908. "properties": {
  6909. "accountid": {
  6910. "description": "账户ID[报价币种]",
  6911. "type": "integer"
  6912. },
  6913. "agreeunit": {
  6914. "description": "合约单位",
  6915. "type": "number"
  6916. },
  6917. "buyorsell": {
  6918. "description": "买卖 - 0:买 1:卖",
  6919. "type": "integer"
  6920. },
  6921. "cancelqty": {
  6922. "description": "撤单数量",
  6923. "type": "integer"
  6924. },
  6925. "currencysign": {
  6926. "description": "货币符号",
  6927. "type": "string"
  6928. },
  6929. "decimalplace": {
  6930. "description": "报价小数位",
  6931. "type": "integer"
  6932. },
  6933. "goodscode": {
  6934. "description": "商品代码(内部)",
  6935. "type": "string"
  6936. },
  6937. "goodsid": {
  6938. "description": "商品ID",
  6939. "type": "integer"
  6940. },
  6941. "goodsname": {
  6942. "description": "商品名称",
  6943. "type": "string"
  6944. },
  6945. "listingselecttype": {
  6946. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6947. "type": "integer"
  6948. },
  6949. "marketid": {
  6950. "description": "市场ID",
  6951. "type": "integer"
  6952. },
  6953. "mybuystatus": {
  6954. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  6955. "type": "integer"
  6956. },
  6957. "orderamount": {
  6958. "description": "委托金额",
  6959. "type": "number"
  6960. },
  6961. "orderid": {
  6962. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6963. "type": "string"
  6964. },
  6965. "orderprice": {
  6966. "description": "委托价格",
  6967. "type": "number"
  6968. },
  6969. "orderqty": {
  6970. "description": "委托数量",
  6971. "type": "integer"
  6972. },
  6973. "orderstatus": {
  6974. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6975. "type": "integer"
  6976. },
  6977. "ordertime": {
  6978. "description": "委托时间",
  6979. "type": "string"
  6980. },
  6981. "picurls1": {
  6982. "description": "预售商品介绍图片[多张用逗号分隔]",
  6983. "type": "string"
  6984. },
  6985. "picurls2": {
  6986. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6987. "type": "string"
  6988. },
  6989. "trademode": {
  6990. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6991. "type": "integer"
  6992. },
  6993. "tradeqty": {
  6994. "description": "成交数量",
  6995. "type": "integer"
  6996. },
  6997. "vendorname1": {
  6998. "description": "预售商品供应商名称",
  6999. "type": "string"
  7000. },
  7001. "vendorname2": {
  7002. "description": "挂牌商品供应商名称",
  7003. "type": "string"
  7004. }
  7005. }
  7006. },
  7007. "models.Messageboard": {
  7008. "type": "object",
  7009. "required": [
  7010. "messageboardid"
  7011. ],
  7012. "properties": {
  7013. "createtime": {
  7014. "description": "创建时间",
  7015. "type": "string"
  7016. },
  7017. "message": {
  7018. "description": "留言信息",
  7019. "type": "string"
  7020. },
  7021. "messageboardid": {
  7022. "description": "留言簿ID(SEQ_MessageBoard)",
  7023. "type": "integer"
  7024. },
  7025. "userid": {
  7026. "description": "用户ID",
  7027. "type": "integer"
  7028. }
  7029. }
  7030. },
  7031. "models.OperationPrimaryMenu": {
  7032. "type": "object",
  7033. "properties": {
  7034. "Children": {
  7035. "description": "二级功能菜单",
  7036. "type": "array",
  7037. "items": {
  7038. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7039. }
  7040. },
  7041. "Key": {
  7042. "description": "菜单KEY",
  7043. "type": "string"
  7044. },
  7045. "Label": {
  7046. "description": "菜单标题",
  7047. "type": "string"
  7048. }
  7049. }
  7050. },
  7051. "models.OperationSecondaryMenu": {
  7052. "type": "object",
  7053. "properties": {
  7054. "Key": {
  7055. "description": "菜单KEY",
  7056. "type": "string"
  7057. },
  7058. "Label": {
  7059. "description": "菜单标题",
  7060. "type": "string"
  7061. },
  7062. "TabList": {
  7063. "description": "三级功能菜单",
  7064. "type": "array",
  7065. "items": {
  7066. "$ref": "#/definitions/models.OperationTabMenu"
  7067. }
  7068. }
  7069. }
  7070. },
  7071. "models.OperationTabMenu": {
  7072. "type": "object",
  7073. "properties": {
  7074. "Key": {
  7075. "description": "菜单KEY",
  7076. "type": "string"
  7077. },
  7078. "Label": {
  7079. "description": "菜单标题",
  7080. "type": "string"
  7081. }
  7082. }
  7083. },
  7084. "models.QuotePrimaryMenu": {
  7085. "type": "object",
  7086. "properties": {
  7087. "Index": {
  7088. "description": "序号",
  7089. "type": "integer"
  7090. },
  7091. "Key": {
  7092. "description": "键名",
  7093. "type": "string"
  7094. },
  7095. "Name": {
  7096. "description": "菜单名称",
  7097. "type": "string"
  7098. },
  7099. "SubMenus": {
  7100. "description": "子菜单",
  7101. "type": "array",
  7102. "items": {
  7103. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  7104. }
  7105. },
  7106. "SubTitleType": {
  7107. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  7108. "type": "integer"
  7109. },
  7110. "TradeModes": {
  7111. "description": "包含市场交易类型",
  7112. "type": "string"
  7113. }
  7114. }
  7115. },
  7116. "models.QuoteSecondaryMenu": {
  7117. "type": "object",
  7118. "properties": {
  7119. "ExExchangeCode": {
  7120. "description": "外部交易所代码",
  7121. "type": "string"
  7122. },
  7123. "ExExchangeID": {
  7124. "description": "外部交易所ID",
  7125. "type": "integer"
  7126. },
  7127. "GoodsGroupIDs": {
  7128. "description": "商品组ID列表",
  7129. "type": "array",
  7130. "items": {
  7131. "type": "integer"
  7132. }
  7133. },
  7134. "Index": {
  7135. "description": "序号",
  7136. "type": "integer"
  7137. },
  7138. "MarketID": {
  7139. "description": "市场ID",
  7140. "type": "integer"
  7141. },
  7142. "MenuTitle": {
  7143. "description": "菜单标题(市场名称或外部交易所名称)",
  7144. "type": "string"
  7145. },
  7146. "TradeMode": {
  7147. "description": "交易模式",
  7148. "type": "integer"
  7149. }
  7150. }
  7151. },
  7152. "models.SearchGoods": {
  7153. "type": "object",
  7154. "required": [
  7155. "goodscode",
  7156. "goodsid",
  7157. "goodsname",
  7158. "marketid",
  7159. "trademode"
  7160. ],
  7161. "properties": {
  7162. "goodscode": {
  7163. "description": "商品代码(内部)",
  7164. "type": "string"
  7165. },
  7166. "goodsid": {
  7167. "description": "商品ID(自增ID SEQ_GOODS)",
  7168. "type": "integer"
  7169. },
  7170. "goodsname": {
  7171. "description": "商品名称",
  7172. "type": "string"
  7173. },
  7174. "marketid": {
  7175. "description": "所属市场ID",
  7176. "type": "integer"
  7177. },
  7178. "marketname": {
  7179. "description": "市场名称",
  7180. "type": "string"
  7181. },
  7182. "trademode": {
  7183. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7184. "type": "integer"
  7185. }
  7186. }
  7187. },
  7188. "models.Szdz2imageconfig": {
  7189. "type": "object",
  7190. "required": [
  7191. "configid"
  7192. ],
  7193. "properties": {
  7194. "configid": {
  7195. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7196. "type": "integer"
  7197. },
  7198. "imagepath": {
  7199. "description": "图片",
  7200. "type": "string"
  7201. },
  7202. "imagetype": {
  7203. "description": "类型 - 1:App首页轮播 2:我的",
  7204. "type": "integer"
  7205. },
  7206. "sort": {
  7207. "description": "排序",
  7208. "type": "integer"
  7209. },
  7210. "title": {
  7211. "description": "标题",
  7212. "type": "string"
  7213. },
  7214. "url": {
  7215. "description": "链接",
  7216. "type": "string"
  7217. }
  7218. }
  7219. },
  7220. "models.Szdz3convertconfig": {
  7221. "type": "object",
  7222. "required": [
  7223. "converttype",
  7224. "innergoodsid",
  7225. "outergoodscode"
  7226. ],
  7227. "properties": {
  7228. "canin": {
  7229. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  7230. "type": "integer"
  7231. },
  7232. "canout": {
  7233. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  7234. "type": "integer"
  7235. },
  7236. "converttype": {
  7237. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7238. "type": "integer"
  7239. },
  7240. "createtime": {
  7241. "description": "创建时间",
  7242. "type": "string"
  7243. },
  7244. "creatorid": {
  7245. "description": "创建人",
  7246. "type": "integer"
  7247. },
  7248. "daymaxvalue": {
  7249. "description": "当日最大转入限制",
  7250. "type": "number"
  7251. },
  7252. "freezedays": {
  7253. "description": "冻结天数 [5:花生米转交易]",
  7254. "type": "integer"
  7255. },
  7256. "innergoodsid": {
  7257. "description": "内部商品ID[交易]",
  7258. "type": "integer"
  7259. },
  7260. "inratio": {
  7261. "description": "目标值",
  7262. "type": "integer"
  7263. },
  7264. "modifierid": {
  7265. "description": "修改人",
  7266. "type": "integer"
  7267. },
  7268. "modifytime": {
  7269. "description": "修改时间",
  7270. "type": "string"
  7271. },
  7272. "outergoodscode": {
  7273. "description": "外部商品代码[JD\\PD]",
  7274. "type": "string"
  7275. },
  7276. "outratio": {
  7277. "description": "源值",
  7278. "type": "integer"
  7279. },
  7280. "pddecimalplace": {
  7281. "description": "PD小数位",
  7282. "type": "integer"
  7283. },
  7284. "timemaxvalue": {
  7285. "description": "单次最大转入限制",
  7286. "type": "number"
  7287. },
  7288. "timeminvalue": {
  7289. "description": "单次最小转入限制",
  7290. "type": "number"
  7291. }
  7292. }
  7293. },
  7294. "models.Szdz3searchwhitelist": {
  7295. "type": "object",
  7296. "required": [
  7297. "userid"
  7298. ],
  7299. "properties": {
  7300. "createtime": {
  7301. "description": "创建时间",
  7302. "type": "string"
  7303. },
  7304. "creatorid": {
  7305. "description": "创建人",
  7306. "type": "integer"
  7307. },
  7308. "modifierid": {
  7309. "description": "修改人",
  7310. "type": "integer"
  7311. },
  7312. "modifytime": {
  7313. "description": "修改时间",
  7314. "type": "string"
  7315. },
  7316. "userid": {
  7317. "description": "用户ID",
  7318. "type": "integer"
  7319. }
  7320. }
  7321. },
  7322. "models.Tablecolumnconfig": {
  7323. "type": "object",
  7324. "required": [
  7325. "autoid"
  7326. ],
  7327. "properties": {
  7328. "aligntype": {
  7329. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  7330. "type": "integer"
  7331. },
  7332. "autoid": {
  7333. "description": "AutoID",
  7334. "type": "integer"
  7335. },
  7336. "columnfield": {
  7337. "description": "列字段",
  7338. "type": "string"
  7339. },
  7340. "columntitle": {
  7341. "description": "列Title",
  7342. "type": "string"
  7343. },
  7344. "columnwidth": {
  7345. "description": "列宽",
  7346. "type": "string"
  7347. },
  7348. "formatterstring": {
  7349. "description": "格式化字符",
  7350. "type": "string"
  7351. },
  7352. "formattertype": {
  7353. "description": "格式化类型",
  7354. "type": "string"
  7355. },
  7356. "groupname": {
  7357. "description": "表头分组名称",
  7358. "type": "string"
  7359. },
  7360. "isshow": {
  7361. "description": "是否显示 - 0:不显示 1:显示",
  7362. "type": "integer"
  7363. },
  7364. "needsummary": {
  7365. "description": "是否需要汇总 - 0:不需要 1:需要",
  7366. "type": "integer"
  7367. },
  7368. "orderindex": {
  7369. "description": "顺序",
  7370. "type": "integer"
  7371. },
  7372. "remark": {
  7373. "description": "备注",
  7374. "type": "string"
  7375. },
  7376. "summarytype": {
  7377. "description": "汇总类型 - 1:加总 2:最后一个",
  7378. "type": "integer"
  7379. },
  7380. "tablekey": {
  7381. "description": "列表Key",
  7382. "type": "string"
  7383. }
  7384. }
  7385. },
  7386. "models.Useraccount": {
  7387. "type": "object",
  7388. "required": [
  7389. "userid"
  7390. ],
  7391. "properties": {
  7392. "accountname": {
  7393. "description": "账户名称(机构名称)",
  7394. "type": "string"
  7395. },
  7396. "accountstatus": {
  7397. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7398. "type": "integer"
  7399. },
  7400. "auditremark": {
  7401. "description": "审核备注",
  7402. "type": "string"
  7403. },
  7404. "audittime": {
  7405. "description": "审核时间",
  7406. "type": "string"
  7407. },
  7408. "audituserid": {
  7409. "description": "审核人",
  7410. "type": "integer"
  7411. },
  7412. "broker": {
  7413. "description": "所属经纪人ID",
  7414. "type": "integer"
  7415. },
  7416. "canceltime": {
  7417. "description": "销户时间",
  7418. "type": "string"
  7419. },
  7420. "canceluserid": {
  7421. "description": "销户人",
  7422. "type": "integer"
  7423. },
  7424. "createtime": {
  7425. "description": "创建时间",
  7426. "type": "string"
  7427. },
  7428. "creatorid": {
  7429. "description": "创建人",
  7430. "type": "integer"
  7431. },
  7432. "hasauth": {
  7433. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  7434. "type": "integer"
  7435. },
  7436. "isanonymous": {
  7437. "description": "是否匿名下单 - 0:否 1:是",
  7438. "type": "integer"
  7439. },
  7440. "maxinvestornum": {
  7441. "description": "最大用户数(经纪会员下投资者个数)",
  7442. "type": "integer"
  7443. },
  7444. "memberuserid": {
  7445. "description": "所属会员ID",
  7446. "type": "integer"
  7447. },
  7448. "modifierid": {
  7449. "description": "修改人",
  7450. "type": "integer"
  7451. },
  7452. "modifyremark": {
  7453. "description": "变更备注",
  7454. "type": "string"
  7455. },
  7456. "modifystatus": {
  7457. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  7458. "type": "integer"
  7459. },
  7460. "modifytime": {
  7461. "description": "修改时间",
  7462. "type": "string"
  7463. },
  7464. "parentuserid": {
  7465. "description": "所属机构ID",
  7466. "type": "integer"
  7467. },
  7468. "reckonaccountid": {
  7469. "description": "默认结算资金账号ID(机构分润使用) 作废",
  7470. "type": "integer"
  7471. },
  7472. "refercount": {
  7473. "description": "推荐总人数",
  7474. "type": "integer"
  7475. },
  7476. "refereeuserid": {
  7477. "description": "推荐人ID",
  7478. "type": "integer"
  7479. },
  7480. "refernum": {
  7481. "description": "推荐码",
  7482. "type": "string"
  7483. },
  7484. "subarealevelpath": {
  7485. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  7486. "type": "string"
  7487. },
  7488. "userid": {
  7489. "description": "用户ID",
  7490. "type": "integer"
  7491. },
  7492. "usertype": {
  7493. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7494. "type": "integer"
  7495. }
  7496. }
  7497. },
  7498. "models.Userfavoritegoods": {
  7499. "type": "object",
  7500. "required": [
  7501. "goodsid"
  7502. ],
  7503. "properties": {
  7504. "goodsid": {
  7505. "description": "商品ID",
  7506. "type": "integer"
  7507. }
  7508. }
  7509. },
  7510. "models.Userinfo": {
  7511. "type": "object",
  7512. "required": [
  7513. "userid"
  7514. ],
  7515. "properties": {
  7516. "address": {
  7517. "description": "地址",
  7518. "type": "string"
  7519. },
  7520. "attachment1": {
  7521. "description": "附件1",
  7522. "type": "string"
  7523. },
  7524. "attachment2": {
  7525. "description": "附件2",
  7526. "type": "string"
  7527. },
  7528. "bankaccount": {
  7529. "description": "银行帐号 (加密存储)",
  7530. "type": "string"
  7531. },
  7532. "bankaccountname": {
  7533. "description": "收款人名称",
  7534. "type": "string"
  7535. },
  7536. "bankcardfrontphotourl": {
  7537. "description": "银行卡正面照地址",
  7538. "type": "string"
  7539. },
  7540. "bankid": {
  7541. "description": "银行编码",
  7542. "type": "string"
  7543. },
  7544. "bankname": {
  7545. "description": "银行名称",
  7546. "type": "string"
  7547. },
  7548. "biznature": {
  7549. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7550. "type": "integer"
  7551. },
  7552. "bizscope": {
  7553. "description": "企业经营范围(企业)",
  7554. "type": "string"
  7555. },
  7556. "cardbackphotourl": {
  7557. "description": "证件背面图片地址",
  7558. "type": "string"
  7559. },
  7560. "cardfrontphotourl": {
  7561. "description": "证件正面图片地址",
  7562. "type": "string"
  7563. },
  7564. "cardnum": {
  7565. "description": "证件号码(加密存储)",
  7566. "type": "string"
  7567. },
  7568. "cardtypeid": {
  7569. "description": "证件类型ID",
  7570. "type": "integer"
  7571. },
  7572. "cityid": {
  7573. "description": "市",
  7574. "type": "integer"
  7575. },
  7576. "company": {
  7577. "description": "公司(个人)",
  7578. "type": "string"
  7579. },
  7580. "contactname": {
  7581. "description": "联系人",
  7582. "type": "string"
  7583. },
  7584. "countryid": {
  7585. "description": "国家",
  7586. "type": "integer"
  7587. },
  7588. "createtime": {
  7589. "description": "创建时间",
  7590. "type": "string"
  7591. },
  7592. "creatorid": {
  7593. "description": "创建人",
  7594. "type": "integer"
  7595. },
  7596. "customername": {
  7597. "description": "客户名称(企业名称)",
  7598. "type": "string"
  7599. },
  7600. "districtid": {
  7601. "description": "地区",
  7602. "type": "integer"
  7603. },
  7604. "email": {
  7605. "description": "邮件(加密存储)",
  7606. "type": "string"
  7607. },
  7608. "fax": {
  7609. "description": "传真(加密存储)",
  7610. "type": "string"
  7611. },
  7612. "halfbodyphotourl": {
  7613. "description": "半身照地址",
  7614. "type": "string"
  7615. },
  7616. "hasencrypt": {
  7617. "description": "数据是否已加密 - 0:未加密 1:已加密",
  7618. "type": "integer"
  7619. },
  7620. "headurl": {
  7621. "description": "头像地址",
  7622. "type": "string"
  7623. },
  7624. "legalcardbackphotourl": {
  7625. "description": "法人身份证背面照地址",
  7626. "type": "string"
  7627. },
  7628. "legalcardfrontphotourl": {
  7629. "description": "法人身份证正面照地址",
  7630. "type": "string"
  7631. },
  7632. "legalpersonname": {
  7633. "description": "法人姓名(企业)",
  7634. "type": "string"
  7635. },
  7636. "mobile": {
  7637. "description": "手机号码(加密存储)",
  7638. "type": "string"
  7639. },
  7640. "mobile2": {
  7641. "description": "手机号码[明文-尚志]",
  7642. "type": "string"
  7643. },
  7644. "modifierid": {
  7645. "description": "修改人",
  7646. "type": "integer"
  7647. },
  7648. "modifiertime": {
  7649. "description": "修改时间",
  7650. "type": "string"
  7651. },
  7652. "needinvoice": {
  7653. "description": "是否需要发票 - 0:不需要 1:需要",
  7654. "type": "integer"
  7655. },
  7656. "nickname": {
  7657. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  7658. "type": "string"
  7659. },
  7660. "openmode": {
  7661. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  7662. "type": "integer"
  7663. },
  7664. "otherurl": {
  7665. "description": "其它图片地址[使用分号分隔]",
  7666. "type": "string"
  7667. },
  7668. "postalcode": {
  7669. "description": "邮政编码",
  7670. "type": "string"
  7671. },
  7672. "provinceid": {
  7673. "description": "省",
  7674. "type": "integer"
  7675. },
  7676. "qq": {
  7677. "description": "QQ(加密存储",
  7678. "type": "string"
  7679. },
  7680. "remark": {
  7681. "description": "备注",
  7682. "type": "string"
  7683. },
  7684. "sex": {
  7685. "description": "用户性别 0: 女 1: 男",
  7686. "type": "integer"
  7687. },
  7688. "signpdfurl": {
  7689. "description": "签约pdf文件",
  7690. "type": "string"
  7691. },
  7692. "telphone": {
  7693. "description": "联系电话(加密存储)",
  7694. "type": "string"
  7695. },
  7696. "userid": {
  7697. "description": "用户ID",
  7698. "type": "integer"
  7699. },
  7700. "userinfotype": {
  7701. "description": "用户信息类型 - 1:个人 2:企业",
  7702. "type": "integer"
  7703. },
  7704. "userstatus": {
  7705. "description": "用户状态 - 1:正常 2:注销",
  7706. "type": "integer"
  7707. },
  7708. "usertype": {
  7709. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7710. "type": "integer"
  7711. },
  7712. "wechat": {
  7713. "description": "微信(加密存储)",
  7714. "type": "string"
  7715. },
  7716. "wskhinfo": {
  7717. "description": "开户申请信息(JSON)",
  7718. "type": "string"
  7719. }
  7720. }
  7721. },
  7722. "models.WRStandardInfo": {
  7723. "type": "object",
  7724. "required": [
  7725. "wrstandardid"
  7726. ],
  7727. "properties": {
  7728. "createtime": {
  7729. "description": "创建时间",
  7730. "type": "string"
  7731. },
  7732. "creatorid": {
  7733. "description": "创建人",
  7734. "type": "integer"
  7735. },
  7736. "deliverygoodsid": {
  7737. "description": "品种ID",
  7738. "type": "integer"
  7739. },
  7740. "deliverygoodsname": {
  7741. "description": "交割商品名称",
  7742. "type": "string"
  7743. },
  7744. "factoryitemjson": {
  7745. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  7746. "type": "string"
  7747. },
  7748. "isvalid": {
  7749. "description": "是否有效 - 0:无效 1:有效",
  7750. "type": "integer"
  7751. },
  7752. "minivalue": {
  7753. "description": "最小变动值",
  7754. "type": "integer"
  7755. },
  7756. "minivaluedp": {
  7757. "description": "最小变动值小数位",
  7758. "type": "integer"
  7759. },
  7760. "realminivalue": {
  7761. "description": "实际最小变动值",
  7762. "type": "integer"
  7763. },
  7764. "realminivaluedp": {
  7765. "description": "实际最小变动值小数位",
  7766. "type": "integer"
  7767. },
  7768. "unitid": {
  7769. "description": "单位ID",
  7770. "type": "integer"
  7771. },
  7772. "unitname": {
  7773. "description": "单位",
  7774. "type": "string"
  7775. },
  7776. "updatetime": {
  7777. "description": "更新时间",
  7778. "type": "string"
  7779. },
  7780. "updatorid": {
  7781. "description": "更新人",
  7782. "type": "integer"
  7783. },
  7784. "wrsstatus": {
  7785. "description": "状态 - 作废 - 0:未激活 1:正常",
  7786. "type": "integer"
  7787. },
  7788. "wrstandardcode": {
  7789. "description": "仓单标准代码",
  7790. "type": "string"
  7791. },
  7792. "wrstandardid": {
  7793. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7794. "type": "integer"
  7795. },
  7796. "wrstandardname": {
  7797. "description": "仓单标准名称",
  7798. "type": "string"
  7799. }
  7800. }
  7801. },
  7802. "models.Warehouseinfo": {
  7803. "type": "object",
  7804. "required": [
  7805. "autoid",
  7806. "warehousecode"
  7807. ],
  7808. "properties": {
  7809. "address": {
  7810. "description": "详细地址",
  7811. "type": "string"
  7812. },
  7813. "areauserid": {
  7814. "description": "所属机构",
  7815. "type": "integer"
  7816. },
  7817. "autoid": {
  7818. "description": "自增ID",
  7819. "type": "integer"
  7820. },
  7821. "cityid": {
  7822. "description": "市",
  7823. "type": "integer"
  7824. },
  7825. "contactname": {
  7826. "description": "联系人",
  7827. "type": "string"
  7828. },
  7829. "contactnum": {
  7830. "description": "联系电话",
  7831. "type": "string"
  7832. },
  7833. "countryid": {
  7834. "description": "国家",
  7835. "type": "integer"
  7836. },
  7837. "createtime": {
  7838. "description": "创建时间",
  7839. "type": "string"
  7840. },
  7841. "districtid": {
  7842. "description": "区",
  7843. "type": "integer"
  7844. },
  7845. "hasvideo": {
  7846. "description": "是否有视频 - 0:无 1:有",
  7847. "type": "integer"
  7848. },
  7849. "provinceid": {
  7850. "description": "省",
  7851. "type": "integer"
  7852. },
  7853. "remark": {
  7854. "description": "审核备注",
  7855. "type": "string"
  7856. },
  7857. "videourl": {
  7858. "description": "视频地址",
  7859. "type": "string"
  7860. },
  7861. "warehousecode": {
  7862. "description": "仓库代码",
  7863. "type": "string"
  7864. },
  7865. "warehousename": {
  7866. "description": "仓库名称",
  7867. "type": "string"
  7868. },
  7869. "warehousestatus": {
  7870. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  7871. "type": "integer"
  7872. },
  7873. "warehousetype": {
  7874. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  7875. "type": "integer"
  7876. }
  7877. }
  7878. },
  7879. "order.QueryHisTradeDetailRsp": {
  7880. "type": "object",
  7881. "required": [
  7882. "accountid",
  7883. "buyorsell",
  7884. "goodsid",
  7885. "histradedate",
  7886. "marketid",
  7887. "memberuserid",
  7888. "orderid",
  7889. "tradeamount",
  7890. "tradedate",
  7891. "tradeid",
  7892. "tradeprice",
  7893. "tradeqty",
  7894. "tradetime"
  7895. ],
  7896. "properties": {
  7897. "accountid": {
  7898. "description": "账户ID[报价币种]",
  7899. "type": "integer"
  7900. },
  7901. "buildtype": {
  7902. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7903. "type": "integer"
  7904. },
  7905. "buyorsell": {
  7906. "description": "方向 - 0:买 1:卖",
  7907. "type": "integer"
  7908. },
  7909. "charge": {
  7910. "description": "手续费",
  7911. "type": "number"
  7912. },
  7913. "closecharge": {
  7914. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7915. "type": "number"
  7916. },
  7917. "closeexchagechargevalue": {
  7918. "description": "平仓交易所手续费设置值",
  7919. "type": "number"
  7920. },
  7921. "closefeealgorithm": {
  7922. "description": "平仓手续费收取方式 1:比率 2:固定",
  7923. "type": "integer"
  7924. },
  7925. "closememberchargevalue": {
  7926. "description": "平仓会员手续费设置值",
  7927. "type": "number"
  7928. },
  7929. "closepl": {
  7930. "description": "平仓盈亏",
  7931. "type": "number"
  7932. },
  7933. "closepl2": {
  7934. "description": "平仓盈亏[逐笔]",
  7935. "type": "number"
  7936. },
  7937. "closeqty": {
  7938. "description": "平仓数量(先建后平操作 需要记录)",
  7939. "type": "integer"
  7940. },
  7941. "creditamount": {
  7942. "description": "授信金额",
  7943. "type": "number"
  7944. },
  7945. "gcaccountid": {
  7946. "description": "账户ID[合约币种]",
  7947. "type": "integer"
  7948. },
  7949. "goodscode": {
  7950. "description": "商品代码",
  7951. "type": "string"
  7952. },
  7953. "goodsid": {
  7954. "description": "商品ID",
  7955. "type": "integer"
  7956. },
  7957. "goodsname": {
  7958. "description": "商品名称",
  7959. "type": "string"
  7960. },
  7961. "histradedate": {
  7962. "description": "历史交易日",
  7963. "type": "string"
  7964. },
  7965. "intclosepl": {
  7966. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7967. "type": "integer"
  7968. },
  7969. "isconfirmexercise": {
  7970. "description": "是否确认行权- 0:否 1:是",
  7971. "type": "integer"
  7972. },
  7973. "ismain": {
  7974. "description": "是否主单 - 0:不是 1:是",
  7975. "type": "integer"
  7976. },
  7977. "ispreexercise": {
  7978. "description": "是否预申报- 0:否 1:是",
  7979. "type": "integer"
  7980. },
  7981. "isreckoned": {
  7982. "description": "是否结算 - 0:未结算 1:已结算",
  7983. "type": "integer"
  7984. },
  7985. "isvaliddata": {
  7986. "description": "是否有效 - 0:无效 1:有效",
  7987. "type": "integer"
  7988. },
  7989. "listingselecttype": {
  7990. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7991. "type": "integer"
  7992. },
  7993. "marketid": {
  7994. "description": "市场ID",
  7995. "type": "integer"
  7996. },
  7997. "marketname": {
  7998. "description": "市场名称",
  7999. "type": "string"
  8000. },
  8001. "matchaccountid": {
  8002. "description": "对手账号id",
  8003. "type": "integer"
  8004. },
  8005. "memberuserid": {
  8006. "description": "会员id 个人投资者 需要填写",
  8007. "type": "integer"
  8008. },
  8009. "opencharge": {
  8010. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8011. "type": "number"
  8012. },
  8013. "openexchagechargevalue": {
  8014. "description": "建仓交易所手续费设置值",
  8015. "type": "number"
  8016. },
  8017. "openfeealgorithm": {
  8018. "description": "建仓手续费收取方式 1:比率 2:固定",
  8019. "type": "integer"
  8020. },
  8021. "openmemberchargevalue": {
  8022. "description": "建仓会员手续费设置值",
  8023. "type": "number"
  8024. },
  8025. "openqty": {
  8026. "description": "开仓数量(先建后平操作 需要记录)",
  8027. "type": "integer"
  8028. },
  8029. "optiontype": {
  8030. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8031. "type": "integer"
  8032. },
  8033. "orderid": {
  8034. "description": "委托单号",
  8035. "type": "string"
  8036. },
  8037. "performanceplanid": {
  8038. "description": "履约计划ID[期权]",
  8039. "type": "integer"
  8040. },
  8041. "performancestatus": {
  8042. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8043. "type": "integer"
  8044. },
  8045. "preexerciseprice": {
  8046. "description": "预申报价格",
  8047. "type": "number"
  8048. },
  8049. "premium": {
  8050. "description": "权利金 - [持仓单的权利金]",
  8051. "type": "number"
  8052. },
  8053. "relatedouttradeid": {
  8054. "description": "关联外部成交单ID",
  8055. "type": "integer"
  8056. },
  8057. "status": {
  8058. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8059. "type": "integer"
  8060. },
  8061. "tradeamount": {
  8062. "description": "成交金额[账户币种,用于所有权]",
  8063. "type": "number"
  8064. },
  8065. "tradedate": {
  8066. "description": "交易日(yyyyMMdd)",
  8067. "type": "string"
  8068. },
  8069. "tradeid": {
  8070. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8071. "type": "string"
  8072. },
  8073. "trademode": {
  8074. "description": "交易模式",
  8075. "type": "integer"
  8076. },
  8077. "tradeprice": {
  8078. "description": "成交价格",
  8079. "type": "number"
  8080. },
  8081. "tradeproperty": {
  8082. "description": "交易属性",
  8083. "type": "integer"
  8084. },
  8085. "tradeqty": {
  8086. "description": "成交数量",
  8087. "type": "integer"
  8088. },
  8089. "tradetime": {
  8090. "description": "成交时间",
  8091. "type": "string"
  8092. },
  8093. "tradetype": {
  8094. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8095. "type": "integer"
  8096. }
  8097. }
  8098. },
  8099. "order.QueryHisTradeOrderDetailRsp": {
  8100. "type": "object",
  8101. "required": [
  8102. "accountid",
  8103. "buildtype",
  8104. "buyorsell",
  8105. "goodsid",
  8106. "histradedate",
  8107. "marketid",
  8108. "memberuserid",
  8109. "operatetype",
  8110. "orderid",
  8111. "orderqty",
  8112. "ordertime",
  8113. "pricemode",
  8114. "tradedate",
  8115. "validtype"
  8116. ],
  8117. "properties": {
  8118. "accountid": {
  8119. "description": "账户ID[报价币种]",
  8120. "type": "integer"
  8121. },
  8122. "buildtype": {
  8123. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8124. "type": "integer"
  8125. },
  8126. "buyorsell": {
  8127. "description": "买卖 - 0:买 1:卖",
  8128. "type": "integer"
  8129. },
  8130. "cancelorderid": {
  8131. "description": "撤单单号(撤单时填写)",
  8132. "type": "string"
  8133. },
  8134. "cancelqty": {
  8135. "description": "撤单数量",
  8136. "type": "integer"
  8137. },
  8138. "clientordertime": {
  8139. "description": "客户端委托时间",
  8140. "type": "string"
  8141. },
  8142. "clientticket": {
  8143. "description": "客户端流水号",
  8144. "type": "string"
  8145. },
  8146. "clienttype": {
  8147. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8148. "type": "integer"
  8149. },
  8150. "closeexchagechargevalue": {
  8151. "description": "平仓交易所手续费设置值",
  8152. "type": "number"
  8153. },
  8154. "closefeealgorithm": {
  8155. "description": "平仓手续费收取方式 1:比率 2:固定",
  8156. "type": "integer"
  8157. },
  8158. "closefreezecharge": {
  8159. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8160. "type": "number"
  8161. },
  8162. "closememberchargevalue": {
  8163. "description": "平仓会员手续费设置值",
  8164. "type": "number"
  8165. },
  8166. "closeqty": {
  8167. "description": "平仓数量(先建后平操作 需要记录)",
  8168. "type": "integer"
  8169. },
  8170. "closetradeqty": {
  8171. "description": "平仓成交数量(先建后平操作,需要记录)",
  8172. "type": "integer"
  8173. },
  8174. "closeunfreezecharge": {
  8175. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8176. "type": "number"
  8177. },
  8178. "delistingtype": {
  8179. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8180. "type": "integer"
  8181. },
  8182. "freezecharge": {
  8183. "description": "冻结手续费",
  8184. "type": "number"
  8185. },
  8186. "freezemargin": {
  8187. "description": "冻结保证金(冻结交易金额)",
  8188. "type": "number"
  8189. },
  8190. "gcaccountid": {
  8191. "description": "账户ID[合约币种]",
  8192. "type": "integer"
  8193. },
  8194. "goodscode": {
  8195. "description": "商品代码",
  8196. "type": "string"
  8197. },
  8198. "goodsid": {
  8199. "description": "商品ID",
  8200. "type": "integer"
  8201. },
  8202. "goodsname": {
  8203. "description": "商品名称",
  8204. "type": "string"
  8205. },
  8206. "histradedate": {
  8207. "description": "历史交易日",
  8208. "type": "string"
  8209. },
  8210. "isconfirmexercise": {
  8211. "description": "是否确认行权- 0:否 1:是",
  8212. "type": "integer"
  8213. },
  8214. "ispreexercise": {
  8215. "description": "是否预申报- 0:否 1:是",
  8216. "type": "integer"
  8217. },
  8218. "isvaliddata": {
  8219. "description": "是否有效 - 0:无效 1:有效",
  8220. "type": "integer"
  8221. },
  8222. "listingselecttype": {
  8223. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8224. "type": "integer"
  8225. },
  8226. "marginalgorithm": {
  8227. "description": "保证金收取方式 1:比率 2:固定",
  8228. "type": "integer"
  8229. },
  8230. "marginvalue": {
  8231. "description": "即市保证金设置值",
  8232. "type": "number"
  8233. },
  8234. "marketid": {
  8235. "description": "市场ID",
  8236. "type": "integer"
  8237. },
  8238. "marketmaxsub": {
  8239. "description": "市价最大偏移范围",
  8240. "type": "number"
  8241. },
  8242. "marketname": {
  8243. "description": "市场名称",
  8244. "type": "string"
  8245. },
  8246. "memberuserid": {
  8247. "description": "所属会员UserID",
  8248. "type": "integer"
  8249. },
  8250. "openexchagechargevalue": {
  8251. "description": "建仓交易所手续费设置值",
  8252. "type": "number"
  8253. },
  8254. "openfeealgorithm": {
  8255. "description": "建仓手续费收取方式 1:比率 2:固定",
  8256. "type": "integer"
  8257. },
  8258. "openfreezecharge": {
  8259. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8260. "type": "number"
  8261. },
  8262. "openmemberchargevalue": {
  8263. "description": "建仓会员手续费设置值",
  8264. "type": "number"
  8265. },
  8266. "openqty": {
  8267. "description": "开仓数量(先建后平操作,需要记录)",
  8268. "type": "integer"
  8269. },
  8270. "opentradeqty": {
  8271. "description": "开仓成交数量(先建后平操作,需要记录)",
  8272. "type": "integer"
  8273. },
  8274. "openunfreezecharge": {
  8275. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8276. "type": "number"
  8277. },
  8278. "operatetype": {
  8279. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8280. "type": "integer"
  8281. },
  8282. "operatorid": {
  8283. "description": "登录账号(LoginID)",
  8284. "type": "integer"
  8285. },
  8286. "optiontype": {
  8287. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8288. "type": "integer"
  8289. },
  8290. "orderid": {
  8291. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8292. "type": "string"
  8293. },
  8294. "orderprice": {
  8295. "description": "委托价格",
  8296. "type": "number"
  8297. },
  8298. "orderqty": {
  8299. "description": "委托数量",
  8300. "type": "integer"
  8301. },
  8302. "ordersrc": {
  8303. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8304. "type": "integer"
  8305. },
  8306. "orderstatus": {
  8307. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8308. "type": "integer"
  8309. },
  8310. "ordertime": {
  8311. "description": "委托时间",
  8312. "type": "string"
  8313. },
  8314. "preexerciseprice": {
  8315. "description": "预申报价格",
  8316. "type": "number"
  8317. },
  8318. "premium": {
  8319. "description": "权利金",
  8320. "type": "number"
  8321. },
  8322. "preorderid": {
  8323. "description": "关联预埋单号(止盈止损单时填写)",
  8324. "type": "string"
  8325. },
  8326. "pricemode": {
  8327. "description": "取价方式 - 1:市价 2: 限价",
  8328. "type": "integer"
  8329. },
  8330. "quoteid": {
  8331. "description": "报价单ID",
  8332. "type": "integer"
  8333. },
  8334. "relatedid": {
  8335. "description": "关联单号(交割单)",
  8336. "type": "string"
  8337. },
  8338. "retcode": {
  8339. "description": "错误代码",
  8340. "type": "integer"
  8341. },
  8342. "sessionid": {
  8343. "description": "会话ID",
  8344. "type": "integer"
  8345. },
  8346. "tradedate": {
  8347. "description": "交易日(yyyyMMdd)",
  8348. "type": "string"
  8349. },
  8350. "trademode": {
  8351. "description": "交易模式",
  8352. "type": "integer"
  8353. },
  8354. "tradeproperty": {
  8355. "description": "交易属性",
  8356. "type": "integer"
  8357. },
  8358. "tradeqty": {
  8359. "description": "成交数量",
  8360. "type": "integer"
  8361. },
  8362. "unfreezecharge": {
  8363. "description": "解冻手续费",
  8364. "type": "number"
  8365. },
  8366. "unfreezemargin": {
  8367. "description": "解冻保证金",
  8368. "type": "number"
  8369. },
  8370. "updatetime": {
  8371. "description": "更新时间",
  8372. "type": "string"
  8373. },
  8374. "uuid": {
  8375. "description": "发起端唯一id",
  8376. "type": "string"
  8377. },
  8378. "validtime": {
  8379. "description": "有效期限",
  8380. "type": "string"
  8381. },
  8382. "validtype": {
  8383. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8384. "type": "integer"
  8385. },
  8386. "volumetype": {
  8387. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8388. "type": "integer"
  8389. }
  8390. }
  8391. },
  8392. "order.QueryTradeDetailRsp": {
  8393. "type": "object",
  8394. "required": [
  8395. "accountid",
  8396. "buyorsell",
  8397. "goodsid",
  8398. "marketid",
  8399. "memberuserid",
  8400. "orderid",
  8401. "tradeamount",
  8402. "tradedate",
  8403. "tradeid",
  8404. "tradeprice",
  8405. "tradeqty",
  8406. "tradetime"
  8407. ],
  8408. "properties": {
  8409. "accountid": {
  8410. "description": "账户ID[报价币种]",
  8411. "type": "integer"
  8412. },
  8413. "buildtype": {
  8414. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8415. "type": "integer"
  8416. },
  8417. "buyorsell": {
  8418. "description": "方向 - 0:买 1:卖",
  8419. "type": "integer"
  8420. },
  8421. "charge": {
  8422. "description": "手续费",
  8423. "type": "number"
  8424. },
  8425. "closecharge": {
  8426. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8427. "type": "number"
  8428. },
  8429. "closeexchagechargevalue": {
  8430. "description": "平仓交易所手续费设置值",
  8431. "type": "number"
  8432. },
  8433. "closefeealgorithm": {
  8434. "description": "平仓手续费收取方式 1:比率 2:固定",
  8435. "type": "integer"
  8436. },
  8437. "closememberchargevalue": {
  8438. "description": "平仓会员手续费设置值",
  8439. "type": "number"
  8440. },
  8441. "closepl": {
  8442. "description": "平仓盈亏",
  8443. "type": "number"
  8444. },
  8445. "closepl2": {
  8446. "description": "平仓盈亏[逐笔]",
  8447. "type": "number"
  8448. },
  8449. "closeqty": {
  8450. "description": "平仓数量(先建后平操作 需要记录)",
  8451. "type": "integer"
  8452. },
  8453. "creditamount": {
  8454. "description": "授信金额",
  8455. "type": "number"
  8456. },
  8457. "gcaccountid": {
  8458. "description": "账户ID[合约币种]",
  8459. "type": "integer"
  8460. },
  8461. "goodscode": {
  8462. "description": "商品代码",
  8463. "type": "string"
  8464. },
  8465. "goodsid": {
  8466. "description": "商品ID",
  8467. "type": "integer"
  8468. },
  8469. "goodsname": {
  8470. "description": "商品名称",
  8471. "type": "string"
  8472. },
  8473. "intclosepl": {
  8474. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8475. "type": "integer"
  8476. },
  8477. "isconfirmexercise": {
  8478. "description": "是否确认行权- 0:否 1:是",
  8479. "type": "integer"
  8480. },
  8481. "ismain": {
  8482. "description": "是否主单 - 0:不是 1:是",
  8483. "type": "integer"
  8484. },
  8485. "ispreexercise": {
  8486. "description": "是否预申报- 0:否 1:是",
  8487. "type": "integer"
  8488. },
  8489. "isreckoned": {
  8490. "description": "是否结算 - 0:未结算 1:已结算",
  8491. "type": "integer"
  8492. },
  8493. "listingselecttype": {
  8494. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8495. "type": "integer"
  8496. },
  8497. "marketid": {
  8498. "description": "市场ID",
  8499. "type": "integer"
  8500. },
  8501. "marketname": {
  8502. "description": "市场名称",
  8503. "type": "string"
  8504. },
  8505. "matchaccountid": {
  8506. "description": "对手账号id",
  8507. "type": "integer"
  8508. },
  8509. "memberuserid": {
  8510. "description": "会员id 个人投资者 需要填写",
  8511. "type": "integer"
  8512. },
  8513. "opencharge": {
  8514. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8515. "type": "number"
  8516. },
  8517. "openexchagechargevalue": {
  8518. "description": "建仓交易所手续费设置值",
  8519. "type": "number"
  8520. },
  8521. "openfeealgorithm": {
  8522. "description": "建仓手续费收取方式 1:比率 2:固定",
  8523. "type": "integer"
  8524. },
  8525. "openmemberchargevalue": {
  8526. "description": "建仓会员手续费设置值",
  8527. "type": "number"
  8528. },
  8529. "openqty": {
  8530. "description": "开仓数量(先建后平操作 需要记录)",
  8531. "type": "integer"
  8532. },
  8533. "optiontype": {
  8534. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8535. "type": "integer"
  8536. },
  8537. "orderid": {
  8538. "description": "委托单号",
  8539. "type": "string"
  8540. },
  8541. "performanceplanid": {
  8542. "description": "履约计划ID[期权]",
  8543. "type": "integer"
  8544. },
  8545. "performancestatus": {
  8546. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8547. "type": "integer"
  8548. },
  8549. "preexerciseprice": {
  8550. "description": "预申报价格",
  8551. "type": "number"
  8552. },
  8553. "premium": {
  8554. "description": "权利金 - [持仓单的权利金]",
  8555. "type": "number"
  8556. },
  8557. "relatedouttradeid": {
  8558. "description": "关联外部成交单ID",
  8559. "type": "integer"
  8560. },
  8561. "status": {
  8562. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8563. "type": "integer"
  8564. },
  8565. "tradeamount": {
  8566. "description": "成交金额[账户币种,用于所有权]",
  8567. "type": "number"
  8568. },
  8569. "tradedate": {
  8570. "description": "交易日(yyyyMMdd)",
  8571. "type": "string"
  8572. },
  8573. "tradeid": {
  8574. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8575. "type": "string"
  8576. },
  8577. "trademode": {
  8578. "description": "交易模式",
  8579. "type": "integer"
  8580. },
  8581. "tradeprice": {
  8582. "description": "成交价格",
  8583. "type": "number"
  8584. },
  8585. "tradeproperty": {
  8586. "description": "交易属性",
  8587. "type": "integer"
  8588. },
  8589. "tradeqty": {
  8590. "description": "成交数量",
  8591. "type": "integer"
  8592. },
  8593. "tradetime": {
  8594. "description": "成交时间",
  8595. "type": "string"
  8596. },
  8597. "tradetype": {
  8598. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8599. "type": "integer"
  8600. }
  8601. }
  8602. },
  8603. "order.QueryTradeOrderDetailRsp": {
  8604. "type": "object",
  8605. "required": [
  8606. "accountid",
  8607. "buildtype",
  8608. "buyorsell",
  8609. "goodsid",
  8610. "marketid",
  8611. "operatetype",
  8612. "orderqty",
  8613. "ordertime",
  8614. "pricemode",
  8615. "tradedate",
  8616. "validtype"
  8617. ],
  8618. "properties": {
  8619. "accountid": {
  8620. "description": "账户ID[报价币种]",
  8621. "type": "integer"
  8622. },
  8623. "buildtype": {
  8624. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8625. "type": "integer"
  8626. },
  8627. "buyorsell": {
  8628. "description": "买卖 - 0:买 1:卖",
  8629. "type": "integer"
  8630. },
  8631. "cancelorderid": {
  8632. "description": "撤单单号(撤单时填写)",
  8633. "type": "string"
  8634. },
  8635. "cancelqty": {
  8636. "description": "撤单数量",
  8637. "type": "integer"
  8638. },
  8639. "clienttype": {
  8640. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8641. "type": "integer"
  8642. },
  8643. "closefreezecharge": {
  8644. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8645. "type": "number"
  8646. },
  8647. "closeqty": {
  8648. "description": "平仓数量(先建后平操作 需要记录)",
  8649. "type": "integer"
  8650. },
  8651. "closetradeqty": {
  8652. "description": "平仓成交数量(先建后平操作,需要记录)",
  8653. "type": "integer"
  8654. },
  8655. "closeunfreezecharge": {
  8656. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8657. "type": "number"
  8658. },
  8659. "delistingtype": {
  8660. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8661. "type": "integer"
  8662. },
  8663. "enableqty": {
  8664. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  8665. "type": "integer"
  8666. },
  8667. "freezecharge": {
  8668. "description": "冻结手续费",
  8669. "type": "number"
  8670. },
  8671. "freezemargin": {
  8672. "description": "冻结保证金(冻结交易金额)",
  8673. "type": "number"
  8674. },
  8675. "goodscode": {
  8676. "description": "商品代码",
  8677. "type": "string"
  8678. },
  8679. "goodsid": {
  8680. "description": "商品ID",
  8681. "type": "integer"
  8682. },
  8683. "goodsname": {
  8684. "description": "商品名称",
  8685. "type": "string"
  8686. },
  8687. "listingselecttype": {
  8688. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8689. "type": "integer"
  8690. },
  8691. "marketid": {
  8692. "description": "市场ID",
  8693. "type": "integer"
  8694. },
  8695. "marketname": {
  8696. "description": "市场名称",
  8697. "type": "string"
  8698. },
  8699. "openfreezecharge": {
  8700. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8701. "type": "number"
  8702. },
  8703. "openqty": {
  8704. "description": "开仓数量(先建后平操作,需要记录)",
  8705. "type": "integer"
  8706. },
  8707. "opentradeqty": {
  8708. "description": "开仓成交数量(先建后平操作,需要记录)",
  8709. "type": "integer"
  8710. },
  8711. "openunfreezecharge": {
  8712. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8713. "type": "number"
  8714. },
  8715. "operatetype": {
  8716. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8717. "type": "integer"
  8718. },
  8719. "operatorid": {
  8720. "description": "登录账号(LoginID)",
  8721. "type": "integer"
  8722. },
  8723. "orderid": {
  8724. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8725. "type": "string"
  8726. },
  8727. "orderprice": {
  8728. "description": "委托价格",
  8729. "type": "number"
  8730. },
  8731. "orderqty": {
  8732. "description": "委托数量",
  8733. "type": "integer"
  8734. },
  8735. "ordersrc": {
  8736. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8737. "type": "integer"
  8738. },
  8739. "orderstatus": {
  8740. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8741. "type": "integer"
  8742. },
  8743. "ordertime": {
  8744. "description": "委托时间",
  8745. "type": "string"
  8746. },
  8747. "preorderid": {
  8748. "description": "关联预埋单号(止盈止损单时填写)",
  8749. "type": "string"
  8750. },
  8751. "pricemode": {
  8752. "description": "取价方式 - 1:市价 2: 限价",
  8753. "type": "integer"
  8754. },
  8755. "relatedid": {
  8756. "description": "关联单号(交割单)",
  8757. "type": "string"
  8758. },
  8759. "tradedate": {
  8760. "description": "交易日(yyyyMMdd)",
  8761. "type": "string"
  8762. },
  8763. "trademode": {
  8764. "description": "交易模式",
  8765. "type": "integer"
  8766. },
  8767. "tradeqty": {
  8768. "description": "成交数量",
  8769. "type": "integer"
  8770. },
  8771. "unfreezecharge": {
  8772. "description": "解冻手续费",
  8773. "type": "number"
  8774. },
  8775. "unfreezemargin": {
  8776. "description": "解冻保证金",
  8777. "type": "number"
  8778. },
  8779. "validtime": {
  8780. "description": "有效期限",
  8781. "type": "string"
  8782. },
  8783. "validtype": {
  8784. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8785. "type": "integer"
  8786. },
  8787. "volumetype": {
  8788. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8789. "type": "integer"
  8790. }
  8791. }
  8792. },
  8793. "order.QueryTradePositionRsp": {
  8794. "type": "object",
  8795. "required": [
  8796. "goodsid"
  8797. ],
  8798. "properties": {
  8799. "accountid": {
  8800. "description": "资金账户",
  8801. "type": "integer"
  8802. },
  8803. "agreeunit": {
  8804. "description": "合约单位",
  8805. "type": "number"
  8806. },
  8807. "averageprice": {
  8808. "description": "持仓均价",
  8809. "type": "number"
  8810. },
  8811. "buyorsell": {
  8812. "description": "方向 - 0:买 1:卖",
  8813. "type": "integer"
  8814. },
  8815. "closetotalqty": {
  8816. "description": "平仓总数量",
  8817. "type": "integer"
  8818. },
  8819. "curholderamount": {
  8820. "description": "当前持仓总金额[商品币种]",
  8821. "type": "number"
  8822. },
  8823. "curpositionqty": {
  8824. "description": "当前持仓总数量",
  8825. "type": "integer"
  8826. },
  8827. "currencyid": {
  8828. "description": "报价货币ID",
  8829. "type": "integer"
  8830. },
  8831. "curtdposition": {
  8832. "description": "期末今日头寸",
  8833. "type": "integer"
  8834. },
  8835. "decimalplace": {
  8836. "description": "报价小数位",
  8837. "type": "integer"
  8838. },
  8839. "enableqty": {
  8840. "description": "可用量",
  8841. "type": "integer"
  8842. },
  8843. "fretdposition": {
  8844. "description": "冻结今日头寸",
  8845. "type": "integer"
  8846. },
  8847. "frozenqty": {
  8848. "description": "持仓冻结数量",
  8849. "type": "integer"
  8850. },
  8851. "goodscode": {
  8852. "description": "商品代码",
  8853. "type": "string"
  8854. },
  8855. "goodsid": {
  8856. "description": "商品Id",
  8857. "type": "integer"
  8858. },
  8859. "goodsname": {
  8860. "description": "商品名称",
  8861. "type": "string"
  8862. },
  8863. "goodunit": {
  8864. "description": "报价单位",
  8865. "type": "string"
  8866. },
  8867. "goodunitid": {
  8868. "description": "报价单位ID",
  8869. "type": "integer"
  8870. },
  8871. "holderamount": {
  8872. "description": "期初持仓总金额[商品币种]",
  8873. "type": "number"
  8874. },
  8875. "marketid": {
  8876. "description": "所属市场ID",
  8877. "type": "integer"
  8878. },
  8879. "openreqqty": {
  8880. "description": "开仓申请数量(用于比较最大持仓数量)",
  8881. "type": "integer"
  8882. },
  8883. "opentotalqty": {
  8884. "description": "开仓总数量",
  8885. "type": "integer"
  8886. },
  8887. "otherfrozenqty": {
  8888. "description": "持仓其他冻结数量(交割冻结)",
  8889. "type": "integer"
  8890. },
  8891. "positionqty": {
  8892. "description": "期初持仓数量",
  8893. "type": "integer"
  8894. },
  8895. "tnqty": {
  8896. "description": "T+N冻结总量",
  8897. "type": "integer"
  8898. },
  8899. "tnusedqty": {
  8900. "description": "T+N使用量(可以使用T+N的冻结数量)",
  8901. "type": "integer"
  8902. },
  8903. "trademode": {
  8904. "description": "交易模式",
  8905. "type": "integer"
  8906. },
  8907. "usedmargin": {
  8908. "description": "占用保证金[商品币种]",
  8909. "type": "number"
  8910. }
  8911. }
  8912. },
  8913. "quote.HistoryData": {
  8914. "type": "object",
  8915. "properties": {
  8916. "c": {
  8917. "description": "收盘价",
  8918. "type": "number"
  8919. },
  8920. "h": {
  8921. "description": "最高价",
  8922. "type": "number"
  8923. },
  8924. "hv": {
  8925. "description": "持仓量",
  8926. "type": "integer"
  8927. },
  8928. "l": {
  8929. "description": "最低价",
  8930. "type": "number"
  8931. },
  8932. "o": {
  8933. "description": "开盘价",
  8934. "type": "number"
  8935. },
  8936. "s": {
  8937. "description": "结算价,日线周期(包括)以上才有",
  8938. "type": "number"
  8939. },
  8940. "ts": {
  8941. "description": "时间",
  8942. "type": "string"
  8943. },
  8944. "tt": {
  8945. "description": "总金额",
  8946. "type": "number"
  8947. },
  8948. "tv": {
  8949. "description": "总量",
  8950. "type": "integer"
  8951. }
  8952. }
  8953. },
  8954. "quote.QueryTSDataRsp": {
  8955. "type": "object",
  8956. "properties": {
  8957. "decimalPlace": {
  8958. "description": "小数位",
  8959. "type": "integer"
  8960. },
  8961. "endTime": {
  8962. "description": "结束时间",
  8963. "type": "string"
  8964. },
  8965. "goodsCode": {
  8966. "description": "商品代码",
  8967. "type": "string"
  8968. },
  8969. "historyDatas": {
  8970. "description": "历史数据",
  8971. "type": "array",
  8972. "items": {
  8973. "$ref": "#/definitions/quote.HistoryData"
  8974. }
  8975. },
  8976. "preSettle": {
  8977. "description": "昨结",
  8978. "type": "number"
  8979. },
  8980. "startTime": {
  8981. "description": "开始时间",
  8982. "type": "string"
  8983. },
  8984. "tradeDate": {
  8985. "description": "交易日",
  8986. "type": "string"
  8987. }
  8988. }
  8989. },
  8990. "szdz.QueryConvertLogRsp": {
  8991. "type": "object",
  8992. "required": [
  8993. "logid"
  8994. ],
  8995. "properties": {
  8996. "accountid": {
  8997. "description": "资金账户ID",
  8998. "type": "integer"
  8999. },
  9000. "clientticket": {
  9001. "description": "客户端流水号",
  9002. "type": "string"
  9003. },
  9004. "converttype": {
  9005. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9006. "type": "integer"
  9007. },
  9008. "createtime": {
  9009. "description": "记账时间",
  9010. "type": "string"
  9011. },
  9012. "daymaxvalue": {
  9013. "description": "配置当日最大转入限制",
  9014. "type": "number"
  9015. },
  9016. "daymaxvalue2": {
  9017. "description": "配置当日最大转入限制(转入)",
  9018. "type": "number"
  9019. },
  9020. "goodscode": {
  9021. "description": "商品代码",
  9022. "type": "string"
  9023. },
  9024. "goodsname": {
  9025. "description": "商品名称",
  9026. "type": "string"
  9027. },
  9028. "handlestatus": {
  9029. "description": "处理状态",
  9030. "type": "integer"
  9031. },
  9032. "innergoodsid": {
  9033. "description": "内部商品ID",
  9034. "type": "integer"
  9035. },
  9036. "inratio": {
  9037. "description": "配置转入比值",
  9038. "type": "integer"
  9039. },
  9040. "invalue": {
  9041. "description": "目标值",
  9042. "type": "number"
  9043. },
  9044. "logid": {
  9045. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9046. "type": "integer"
  9047. },
  9048. "mobile": {
  9049. "description": "手机号码(加密存储)",
  9050. "type": "string"
  9051. },
  9052. "outergoodscode": {
  9053. "description": "外部商品代码[JD\\PD]",
  9054. "type": "string"
  9055. },
  9056. "outratio": {
  9057. "description": "配置转出比值",
  9058. "type": "integer"
  9059. },
  9060. "outvalue": {
  9061. "description": "源值",
  9062. "type": "number"
  9063. },
  9064. "pddecimalplace": {
  9065. "description": "PD小数位",
  9066. "type": "integer"
  9067. },
  9068. "qty": {
  9069. "description": "数量",
  9070. "type": "string"
  9071. },
  9072. "remark": {
  9073. "description": "备注",
  9074. "type": "string"
  9075. },
  9076. "sessionid": {
  9077. "description": "会话ID",
  9078. "type": "integer"
  9079. },
  9080. "timemaxvalue": {
  9081. "description": "配置单次最大转入限制",
  9082. "type": "number"
  9083. },
  9084. "timemaxvalue2": {
  9085. "description": "配置单次最大转入限制(转入)",
  9086. "type": "number"
  9087. },
  9088. "timeminvalue": {
  9089. "description": "配置单次最小数量限制",
  9090. "type": "number"
  9091. },
  9092. "timeminvalue2": {
  9093. "description": "配置单次最小数量限制(转入)",
  9094. "type": "number"
  9095. },
  9096. "tradedate": {
  9097. "description": "交易日(yyyyMMdd)",
  9098. "type": "string"
  9099. },
  9100. "userid": {
  9101. "description": "用户ID",
  9102. "type": "integer"
  9103. }
  9104. }
  9105. },
  9106. "szdz.QueryGoodsPickupRsp": {
  9107. "type": "object",
  9108. "required": [
  9109. "takeorderid"
  9110. ],
  9111. "properties": {
  9112. "accountid": {
  9113. "description": "账户ID",
  9114. "type": "integer"
  9115. },
  9116. "address": {
  9117. "description": "提货人详细地址",
  9118. "type": "string"
  9119. },
  9120. "auditer": {
  9121. "description": "审核人",
  9122. "type": "integer"
  9123. },
  9124. "audittime": {
  9125. "description": "审核时间",
  9126. "type": "string"
  9127. },
  9128. "cardnum": {
  9129. "description": "提货人证件号码",
  9130. "type": "string"
  9131. },
  9132. "cardtypeid": {
  9133. "description": "提货人证件类型",
  9134. "type": "integer"
  9135. },
  9136. "checkremark": {
  9137. "description": "审核备注",
  9138. "type": "string"
  9139. },
  9140. "goodscode": {
  9141. "description": "商品代码",
  9142. "type": "string"
  9143. },
  9144. "goodsid": {
  9145. "description": "商品ID",
  9146. "type": "integer"
  9147. },
  9148. "goodsname": {
  9149. "description": "商品名称",
  9150. "type": "string"
  9151. },
  9152. "handlestatus": {
  9153. "description": "处理状态",
  9154. "type": "integer"
  9155. },
  9156. "marketid": {
  9157. "description": "市场ID",
  9158. "type": "integer"
  9159. },
  9160. "phonenum": {
  9161. "description": "提货人联系方式",
  9162. "type": "string"
  9163. },
  9164. "qty": {
  9165. "description": "提货数量",
  9166. "type": "number"
  9167. },
  9168. "recivername": {
  9169. "description": "提货人姓名",
  9170. "type": "string"
  9171. },
  9172. "reqtime": {
  9173. "description": "更新时间",
  9174. "type": "string"
  9175. },
  9176. "takemode": {
  9177. "description": "提货方式 - 2:自提 3:配送",
  9178. "type": "integer"
  9179. },
  9180. "takeorderid": {
  9181. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9182. "type": "string"
  9183. },
  9184. "takeorderstatus": {
  9185. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9186. "type": "integer"
  9187. },
  9188. "takeremark": {
  9189. "description": "提货备注",
  9190. "type": "string"
  9191. },
  9192. "tradedate": {
  9193. "description": "交易日(yyyyMMdd)",
  9194. "type": "string"
  9195. },
  9196. "userid": {
  9197. "description": "用户ID",
  9198. "type": "integer"
  9199. }
  9200. }
  9201. },
  9202. "szdz.QueryRecieptOrderRsp": {
  9203. "type": "object",
  9204. "required": [
  9205. "ordertime"
  9206. ],
  9207. "properties": {
  9208. "accountName": {
  9209. "description": "所属账号名称(已脱敏)",
  9210. "type": "string"
  9211. },
  9212. "accountid": {
  9213. "description": "资金账号",
  9214. "type": "integer"
  9215. },
  9216. "buyorsell": {
  9217. "description": "方向 - 0:买 1:卖",
  9218. "type": "integer"
  9219. },
  9220. "enableqty": {
  9221. "description": "可摘数量",
  9222. "type": "integer"
  9223. },
  9224. "goodscode": {
  9225. "description": "商品代码",
  9226. "type": "string"
  9227. },
  9228. "goodsid": {
  9229. "description": "商品ID",
  9230. "type": "integer"
  9231. },
  9232. "goodsname": {
  9233. "description": "商品名称",
  9234. "type": "string"
  9235. },
  9236. "orderid": {
  9237. "description": "委托单号",
  9238. "type": "string"
  9239. },
  9240. "orderprice": {
  9241. "description": "委托价格",
  9242. "type": "number"
  9243. },
  9244. "ordertime": {
  9245. "description": "委托时间",
  9246. "type": "string"
  9247. },
  9248. "tradedate": {
  9249. "description": "交易日(yyyyMMdd)",
  9250. "type": "string"
  9251. }
  9252. }
  9253. },
  9254. "szdz.QuerySZDZTradePositionRsp": {
  9255. "type": "object",
  9256. "properties": {
  9257. "accountid": {
  9258. "description": "账号Id",
  9259. "type": "integer"
  9260. },
  9261. "agreeunit": {
  9262. "description": "合约单位",
  9263. "type": "number"
  9264. },
  9265. "averageprice": {
  9266. "description": "持仓均价",
  9267. "type": "number"
  9268. },
  9269. "buyorsell": {
  9270. "description": "方向 - 0:买 1:卖",
  9271. "type": "integer"
  9272. },
  9273. "closetotalqty": {
  9274. "description": "平仓总数量",
  9275. "type": "integer"
  9276. },
  9277. "curholderamount": {
  9278. "description": "当前持仓总金额",
  9279. "type": "number"
  9280. },
  9281. "curpositionqty": {
  9282. "description": "当前持仓总数量",
  9283. "type": "integer"
  9284. },
  9285. "currencyid": {
  9286. "description": "报价货币ID",
  9287. "type": "integer"
  9288. },
  9289. "curtdposition": {
  9290. "description": "期末今日头寸",
  9291. "type": "integer"
  9292. },
  9293. "decimalplace": {
  9294. "description": "报价小数位",
  9295. "type": "integer"
  9296. },
  9297. "enableqty": {
  9298. "description": "可用量",
  9299. "type": "integer"
  9300. },
  9301. "fretdposition": {
  9302. "description": "冻结今日头寸",
  9303. "type": "integer"
  9304. },
  9305. "frozenqty": {
  9306. "description": "持仓冻结数量",
  9307. "type": "integer"
  9308. },
  9309. "goodscode": {
  9310. "description": "商品代码(内部)",
  9311. "type": "string"
  9312. },
  9313. "goodsid": {
  9314. "description": "商品Id",
  9315. "type": "integer"
  9316. },
  9317. "goodsname": {
  9318. "description": "商品名称",
  9319. "type": "string"
  9320. },
  9321. "goodunit": {
  9322. "description": "报价单位",
  9323. "type": "string"
  9324. },
  9325. "goodunitid": {
  9326. "description": "报价单位ID",
  9327. "type": "integer"
  9328. },
  9329. "holderamount": {
  9330. "description": "期初持仓总金额",
  9331. "type": "number"
  9332. },
  9333. "marketid": {
  9334. "description": "市场ID",
  9335. "type": "integer"
  9336. },
  9337. "openreqqty": {
  9338. "description": "开仓申请数量",
  9339. "type": "integer"
  9340. },
  9341. "opentotalqty": {
  9342. "description": "开仓总数量",
  9343. "type": "integer"
  9344. },
  9345. "otherfrozenqty": {
  9346. "description": "持仓其他冻结数量(交割冻结)",
  9347. "type": "integer"
  9348. },
  9349. "positionqty": {
  9350. "description": "期初持仓数量",
  9351. "type": "integer"
  9352. },
  9353. "szdz3freezqty": {
  9354. "description": "尚志大宗转换冻结总数量",
  9355. "type": "integer"
  9356. },
  9357. "tnqty": {
  9358. "description": "T+N冻结总量",
  9359. "type": "integer"
  9360. },
  9361. "tnusedqty": {
  9362. "description": "T+N使用量",
  9363. "type": "integer"
  9364. },
  9365. "trademode": {
  9366. "description": "交易模式",
  9367. "type": "integer"
  9368. },
  9369. "usedmargin": {
  9370. "description": "占用保证金",
  9371. "type": "number"
  9372. }
  9373. }
  9374. },
  9375. "taaccount.QueryAmountLogRsp": {
  9376. "type": "object",
  9377. "required": [
  9378. "accountid",
  9379. "amount",
  9380. "amountadjusttype",
  9381. "autoid",
  9382. "balance",
  9383. "createtime",
  9384. "currentbalance",
  9385. "operatetype"
  9386. ],
  9387. "properties": {
  9388. "OPERATETYPENAME": {
  9389. "description": "资金操作类型名称",
  9390. "type": "string"
  9391. },
  9392. "accountid": {
  9393. "description": "资金账户ID",
  9394. "type": "integer"
  9395. },
  9396. "agoodscode": {
  9397. "description": "竞拍商品代码",
  9398. "type": "string"
  9399. },
  9400. "agoodsname": {
  9401. "description": "竞拍商品名称",
  9402. "type": "string"
  9403. },
  9404. "amount": {
  9405. "description": "资金金额",
  9406. "type": "number"
  9407. },
  9408. "amountadjusttype": {
  9409. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9410. "type": "integer"
  9411. },
  9412. "autoid": {
  9413. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9414. "type": "integer"
  9415. },
  9416. "balance": {
  9417. "description": "期初余额",
  9418. "type": "number"
  9419. },
  9420. "businesscode": {
  9421. "description": "业务编号",
  9422. "type": "integer"
  9423. },
  9424. "createtime": {
  9425. "description": "发生时间",
  9426. "type": "string"
  9427. },
  9428. "currencyid": {
  9429. "description": "币种ID",
  9430. "type": "integer"
  9431. },
  9432. "currentbalance": {
  9433. "description": "期末余额(变动后金额)",
  9434. "type": "number"
  9435. },
  9436. "dgoodscode": {
  9437. "description": "交割商品代码",
  9438. "type": "string"
  9439. },
  9440. "dgoodsname": {
  9441. "description": "交割商品名称",
  9442. "type": "string"
  9443. },
  9444. "goodscode": {
  9445. "description": "商品代码",
  9446. "type": "string"
  9447. },
  9448. "goodsid": {
  9449. "description": "商品ID",
  9450. "type": "integer"
  9451. },
  9452. "goodsname": {
  9453. "description": "商品名称",
  9454. "type": "string"
  9455. },
  9456. "marketid": {
  9457. "description": "市场ID",
  9458. "type": "integer"
  9459. },
  9460. "marketname": {
  9461. "description": "市场名称",
  9462. "type": "string"
  9463. },
  9464. "moneyticket": {
  9465. "description": "资金流水号:银行端流水号",
  9466. "type": "integer"
  9467. },
  9468. "operatetype": {
  9469. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9470. "type": "integer"
  9471. },
  9472. "relationorderid": {
  9473. "description": "关联单号",
  9474. "type": "string"
  9475. },
  9476. "remark": {
  9477. "description": "备注",
  9478. "type": "string"
  9479. },
  9480. "trademode": {
  9481. "description": "交易模式",
  9482. "type": "integer"
  9483. }
  9484. }
  9485. },
  9486. "taaccount.QueryHisAmountLogRsp": {
  9487. "type": "object",
  9488. "required": [
  9489. "accountid",
  9490. "amount",
  9491. "amountadjusttype",
  9492. "autoid",
  9493. "balance",
  9494. "createtime",
  9495. "currentbalance",
  9496. "histradedate",
  9497. "operatetype"
  9498. ],
  9499. "properties": {
  9500. "OPERATETYPENAME": {
  9501. "description": "资金操作类型名称",
  9502. "type": "string"
  9503. },
  9504. "accountid": {
  9505. "description": "资金账户ID",
  9506. "type": "integer"
  9507. },
  9508. "agoodscode": {
  9509. "description": "竞拍商品代码",
  9510. "type": "string"
  9511. },
  9512. "agoodsname": {
  9513. "description": "竞拍商品名称",
  9514. "type": "string"
  9515. },
  9516. "amount": {
  9517. "description": "资金金额",
  9518. "type": "number"
  9519. },
  9520. "amountadjusttype": {
  9521. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9522. "type": "integer"
  9523. },
  9524. "autoid": {
  9525. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9526. "type": "integer"
  9527. },
  9528. "balance": {
  9529. "description": "期初余额",
  9530. "type": "number"
  9531. },
  9532. "businesscode": {
  9533. "description": "业务编号",
  9534. "type": "integer"
  9535. },
  9536. "createtime": {
  9537. "description": "发生时间",
  9538. "type": "string"
  9539. },
  9540. "currencyid": {
  9541. "description": "币种ID",
  9542. "type": "integer"
  9543. },
  9544. "currentbalance": {
  9545. "description": "期末余额(变动后金额)",
  9546. "type": "number"
  9547. },
  9548. "dgoodscode": {
  9549. "description": "交割商品代码",
  9550. "type": "string"
  9551. },
  9552. "dgoodsname": {
  9553. "description": "交割商品名称",
  9554. "type": "string"
  9555. },
  9556. "goodscode": {
  9557. "description": "商品代码",
  9558. "type": "string"
  9559. },
  9560. "goodsid": {
  9561. "description": "商品ID",
  9562. "type": "integer"
  9563. },
  9564. "goodsname": {
  9565. "description": "商品名称",
  9566. "type": "string"
  9567. },
  9568. "histradedate": {
  9569. "description": "历史交易日",
  9570. "type": "string"
  9571. },
  9572. "isvaliddata": {
  9573. "description": "是否有效 - 0:无效 1:有效",
  9574. "type": "integer"
  9575. },
  9576. "marketid": {
  9577. "description": "市场ID",
  9578. "type": "integer"
  9579. },
  9580. "marketname": {
  9581. "description": "市场名称",
  9582. "type": "string"
  9583. },
  9584. "moneyticket": {
  9585. "description": "资金流水号:银行端流水号",
  9586. "type": "integer"
  9587. },
  9588. "operatetype": {
  9589. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9590. "type": "integer"
  9591. },
  9592. "relationorderid": {
  9593. "description": "关联单号",
  9594. "type": "string"
  9595. },
  9596. "remark": {
  9597. "description": "备注",
  9598. "type": "string"
  9599. },
  9600. "trademode": {
  9601. "description": "交易模式",
  9602. "type": "integer"
  9603. }
  9604. }
  9605. },
  9606. "trade.QueryRecieptOrderRsp": {
  9607. "type": "object",
  9608. "required": [
  9609. "ordertime"
  9610. ],
  9611. "properties": {
  9612. "accountName": {
  9613. "description": "所属账号名称(已脱敏)",
  9614. "type": "string"
  9615. },
  9616. "accountid": {
  9617. "description": "资金账号",
  9618. "type": "integer"
  9619. },
  9620. "buyorsell": {
  9621. "description": "方向 - 0:买 1:卖",
  9622. "type": "integer"
  9623. },
  9624. "enableqty": {
  9625. "description": "可摘数量",
  9626. "type": "integer"
  9627. },
  9628. "goodscode": {
  9629. "description": "商品代码",
  9630. "type": "string"
  9631. },
  9632. "goodsid": {
  9633. "description": "商品ID",
  9634. "type": "integer"
  9635. },
  9636. "goodsname": {
  9637. "description": "商品名称",
  9638. "type": "string"
  9639. },
  9640. "orderid": {
  9641. "description": "委托单号",
  9642. "type": "string"
  9643. },
  9644. "orderprice": {
  9645. "description": "委托价格",
  9646. "type": "number"
  9647. },
  9648. "ordertime": {
  9649. "description": "委托时间",
  9650. "type": "string"
  9651. },
  9652. "tradedate": {
  9653. "description": "交易日(yyyyMMdd)",
  9654. "type": "string"
  9655. }
  9656. }
  9657. }
  9658. },
  9659. "securityDefinitions": {
  9660. "ApiKeyAuth": {
  9661. "type": "apiKey",
  9662. "name": "Authorization",
  9663. "in": "header"
  9664. }
  9665. }
  9666. }`
  9667. type swaggerInfo struct {
  9668. Version string
  9669. Host string
  9670. BasePath string
  9671. Schemes []string
  9672. Title string
  9673. Description string
  9674. }
  9675. // SwaggerInfo holds exported Swagger Info so clients can modify it
  9676. var SwaggerInfo = swaggerInfo{
  9677. Version: "1.0",
  9678. Host: "",
  9679. BasePath: "/api",
  9680. Schemes: []string{},
  9681. Title: "MTP2.0 查询服务 API",
  9682. Description: "新的查询服务,替代原通用查询服务。",
  9683. }
  9684. type s struct{}
  9685. func (s *s) ReadDoc() string {
  9686. sInfo := SwaggerInfo
  9687. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  9688. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  9689. "marshal": func(v interface{}) string {
  9690. a, _ := json.Marshal(v)
  9691. return string(a)
  9692. },
  9693. }).Parse(doc)
  9694. if err != nil {
  9695. return doc
  9696. }
  9697. var tpl bytes.Buffer
  9698. if err := t.Execute(&tpl, sInfo); err != nil {
  9699. return doc
  9700. }
  9701. return tpl.String()
  9702. }
  9703. func init() {
  9704. swag.Register(swag.Name, &s{})
  9705. }