docs.go 392 KB

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