docs.go 414 KB

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