docs.go 442 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryBusinessDj": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  730. "responses": {
  731. "200": {
  732. "description": "OK",
  733. "schema": {
  734. "type": "array",
  735. "items": {
  736. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  737. }
  738. }
  739. },
  740. "500": {
  741. "description": "Internal Server Error",
  742. "schema": {
  743. "$ref": "#/definitions/app.Response"
  744. }
  745. }
  746. }
  747. }
  748. },
  749. "/Ermcp/QueryBusinessFp": {
  750. "get": {
  751. "security": [
  752. {
  753. "ApiKeyAuth": []
  754. }
  755. ],
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "企业风险管理(app)"
  761. ],
  762. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  763. "responses": {
  764. "200": {
  765. "description": "OK",
  766. "schema": {
  767. "type": "array",
  768. "items": {
  769. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  770. }
  771. }
  772. },
  773. "500": {
  774. "description": "Internal Server Error",
  775. "schema": {
  776. "$ref": "#/definitions/app.Response"
  777. }
  778. }
  779. }
  780. }
  781. },
  782. "/Ermcp/QueryBusinessJs": {
  783. "get": {
  784. "security": [
  785. {
  786. "ApiKeyAuth": []
  787. }
  788. ],
  789. "produces": [
  790. "application/json"
  791. ],
  792. "tags": [
  793. "企业风险管理(app)"
  794. ],
  795. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  796. "responses": {
  797. "200": {
  798. "description": "OK",
  799. "schema": {
  800. "type": "array",
  801. "items": {
  802. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  803. }
  804. }
  805. },
  806. "500": {
  807. "description": "Internal Server Error",
  808. "schema": {
  809. "$ref": "#/definitions/app.Response"
  810. }
  811. }
  812. }
  813. }
  814. },
  815. "/Ermcp/QueryBusinessKx": {
  816. "get": {
  817. "security": [
  818. {
  819. "ApiKeyAuth": []
  820. }
  821. ],
  822. "produces": [
  823. "application/json"
  824. ],
  825. "tags": [
  826. "企业风险管理(app)"
  827. ],
  828. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  829. "responses": {
  830. "200": {
  831. "description": "OK",
  832. "schema": {
  833. "type": "array",
  834. "items": {
  835. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  836. }
  837. }
  838. },
  839. "500": {
  840. "description": "Internal Server Error",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/Ermcp/QueryContract": {
  849. "get": {
  850. "security": [
  851. {
  852. "ApiKeyAuth": []
  853. }
  854. ],
  855. "produces": [
  856. "application/json"
  857. ],
  858. "tags": [
  859. "企业风险管理(app)"
  860. ],
  861. "summary": "查询合同(采购和销售)",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "description": "合同类型 1-采购, -1-销售",
  866. "name": "contracttype",
  867. "in": "query",
  868. "required": true
  869. },
  870. {
  871. "type": "integer",
  872. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  873. "name": "QueryType",
  874. "in": "query",
  875. "required": true
  876. }
  877. ],
  878. "responses": {
  879. "200": {
  880. "description": "OK",
  881. "schema": {
  882. "type": "array",
  883. "items": {
  884. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  885. }
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/QueryHedgePlan": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询套保计划",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  915. "name": "HedgePlanStatus",
  916. "in": "query",
  917. "required": true
  918. }
  919. ],
  920. "responses": {
  921. "200": {
  922. "description": "OK",
  923. "schema": {
  924. "type": "array",
  925. "items": {
  926. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  927. }
  928. }
  929. },
  930. "500": {
  931. "description": "Internal Server Error",
  932. "schema": {
  933. "$ref": "#/definitions/app.Response"
  934. }
  935. }
  936. }
  937. }
  938. },
  939. "/Ermcp/QuerySpotContract": {
  940. "get": {
  941. "security": [
  942. {
  943. "ApiKeyAuth": []
  944. }
  945. ],
  946. "produces": [
  947. "application/json"
  948. ],
  949. "tags": [
  950. "企业风险管理(app)"
  951. ],
  952. "summary": "查询现货合同(对应现货合同菜单)",
  953. "parameters": [
  954. {
  955. "type": "integer",
  956. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  957. "name": "QueryType",
  958. "in": "query",
  959. "required": true
  960. }
  961. ],
  962. "responses": {
  963. "200": {
  964. "description": "OK",
  965. "schema": {
  966. "type": "array",
  967. "items": {
  968. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  969. }
  970. }
  971. },
  972. "500": {
  973. "description": "Internal Server Error",
  974. "schema": {
  975. "$ref": "#/definitions/app.Response"
  976. }
  977. }
  978. }
  979. }
  980. },
  981. "/Ermcp/QueryUserInfo": {
  982. "get": {
  983. "security": [
  984. {
  985. "ApiKeyAuth": []
  986. }
  987. ],
  988. "produces": [
  989. "application/json"
  990. ],
  991. "tags": [
  992. "企业风险管理(app)"
  993. ],
  994. "summary": "查询客户资料",
  995. "parameters": [
  996. {
  997. "type": "string",
  998. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  999. "name": "AccountStatus",
  1000. "in": "query",
  1001. "required": true
  1002. }
  1003. ],
  1004. "responses": {
  1005. "200": {
  1006. "description": "OK",
  1007. "schema": {
  1008. "type": "array",
  1009. "items": {
  1010. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1011. }
  1012. }
  1013. },
  1014. "500": {
  1015. "description": "Internal Server Error",
  1016. "schema": {
  1017. "$ref": "#/definitions/app.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/Ermcp/QueryWrStandard": {
  1024. "get": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "企业风险管理(app)"
  1035. ],
  1036. "summary": "查询现货商品",
  1037. "responses": {
  1038. "200": {
  1039. "description": "OK",
  1040. "schema": {
  1041. "type": "array",
  1042. "items": {
  1043. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1044. }
  1045. }
  1046. },
  1047. "500": {
  1048. "description": "Internal Server Error",
  1049. "schema": {
  1050. "$ref": "#/definitions/app.Response"
  1051. }
  1052. }
  1053. }
  1054. }
  1055. },
  1056. "/Erms2/QueryArbitrageStrategy": {
  1057. "get": {
  1058. "security": [
  1059. {
  1060. "ApiKeyAuth": []
  1061. }
  1062. ],
  1063. "produces": [
  1064. "application/json"
  1065. ],
  1066. "tags": [
  1067. "风险管理"
  1068. ],
  1069. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1070. "parameters": [
  1071. {
  1072. "type": "integer",
  1073. "description": "账户ID",
  1074. "name": "userid",
  1075. "in": "query",
  1076. "required": true
  1077. },
  1078. {
  1079. "type": "string",
  1080. "description": "商品组ID(品种ID)",
  1081. "name": "goodsgroupid",
  1082. "in": "query"
  1083. }
  1084. ],
  1085. "responses": {
  1086. "200": {
  1087. "description": "OK",
  1088. "schema": {
  1089. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Erms2/QueryInnerTradeDetail": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "风险管理"
  1113. ],
  1114. "summary": "查询内部成交单信息",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "资金账户",
  1119. "name": "accountid",
  1120. "in": "query",
  1121. "required": true
  1122. }
  1123. ],
  1124. "responses": {
  1125. "200": {
  1126. "description": "OK",
  1127. "schema": {
  1128. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1129. }
  1130. },
  1131. "500": {
  1132. "description": "Internal Server Error",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. }
  1137. }
  1138. }
  1139. },
  1140. "/Erms2/QuerySpotContract": {
  1141. "get": {
  1142. "security": [
  1143. {
  1144. "ApiKeyAuth": []
  1145. }
  1146. ],
  1147. "produces": [
  1148. "application/json"
  1149. ],
  1150. "tags": [
  1151. "风险管理"
  1152. ],
  1153. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1154. "parameters": [
  1155. {
  1156. "type": "integer",
  1157. "description": "策略申请ID",
  1158. "name": "asapplyid",
  1159. "in": "query",
  1160. "required": true
  1161. },
  1162. {
  1163. "type": "integer",
  1164. "description": "现货合同ID",
  1165. "name": "spotcontractid",
  1166. "in": "query"
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "OK",
  1172. "schema": {
  1173. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1174. }
  1175. },
  1176. "500": {
  1177. "description": "Internal Server Error",
  1178. "schema": {
  1179. "$ref": "#/definitions/app.Response"
  1180. }
  1181. }
  1182. }
  1183. }
  1184. },
  1185. "/Erms3/AddErms2ASApply": {
  1186. "post": {
  1187. "security": [
  1188. {
  1189. "ApiKeyAuth": []
  1190. }
  1191. ],
  1192. "produces": [
  1193. "application/json"
  1194. ],
  1195. "tags": [
  1196. "风险管理v3"
  1197. ],
  1198. "summary": "新增期现套利业务申请",
  1199. "parameters": [
  1200. {
  1201. "description": "申请参数",
  1202. "name": "jsonBody",
  1203. "in": "body",
  1204. "required": true,
  1205. "schema": {
  1206. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1207. }
  1208. }
  1209. ],
  1210. "responses": {
  1211. "200": {
  1212. "description": "OK",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Erms3/AddErms2SpotTradeApply": {
  1227. "post": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "风险管理v3"
  1238. ],
  1239. "summary": "新增现货贸易业务申请",
  1240. "parameters": [
  1241. {
  1242. "description": "申请参数",
  1243. "name": "jsonBody",
  1244. "in": "body",
  1245. "required": true,
  1246. "schema": {
  1247. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1248. }
  1249. }
  1250. ],
  1251. "responses": {
  1252. "200": {
  1253. "description": "OK",
  1254. "schema": {
  1255. "$ref": "#/definitions/app.Response"
  1256. }
  1257. },
  1258. "500": {
  1259. "description": "Internal Server Error",
  1260. "schema": {
  1261. "$ref": "#/definitions/app.Response"
  1262. }
  1263. }
  1264. }
  1265. }
  1266. },
  1267. "/Erms3/AddSpotContractApply": {
  1268. "post": {
  1269. "security": [
  1270. {
  1271. "ApiKeyAuth": []
  1272. }
  1273. ],
  1274. "produces": [
  1275. "application/json"
  1276. ],
  1277. "tags": [
  1278. "风险管理v3"
  1279. ],
  1280. "summary": "新增现货合同申请",
  1281. "parameters": [
  1282. {
  1283. "description": "申请参数",
  1284. "name": "jsonBody",
  1285. "in": "body",
  1286. "required": true,
  1287. "schema": {
  1288. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1289. }
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1297. }
  1298. },
  1299. "500": {
  1300. "description": "Internal Server Error",
  1301. "schema": {
  1302. "$ref": "#/definitions/app.Response"
  1303. }
  1304. }
  1305. }
  1306. }
  1307. },
  1308. "/Erms3/AddUserInfoApply": {
  1309. "post": {
  1310. "security": [
  1311. {
  1312. "ApiKeyAuth": []
  1313. }
  1314. ],
  1315. "produces": [
  1316. "application/json"
  1317. ],
  1318. "tags": [
  1319. "风险管理v3"
  1320. ],
  1321. "summary": "新增客户申请",
  1322. "parameters": [
  1323. {
  1324. "description": "申请参数",
  1325. "name": "jsonBody",
  1326. "in": "body",
  1327. "required": true,
  1328. "schema": {
  1329. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1330. }
  1331. }
  1332. ],
  1333. "responses": {
  1334. "200": {
  1335. "description": "OK",
  1336. "schema": {
  1337. "$ref": "#/definitions/app.Response"
  1338. }
  1339. },
  1340. "500": {
  1341. "description": "Internal Server Error",
  1342. "schema": {
  1343. "$ref": "#/definitions/app.Response"
  1344. }
  1345. }
  1346. }
  1347. }
  1348. },
  1349. "/Erms3/QueryBusinessInfo": {
  1350. "get": {
  1351. "security": [
  1352. {
  1353. "ApiKeyAuth": []
  1354. }
  1355. ],
  1356. "produces": [
  1357. "application/json"
  1358. ],
  1359. "tags": [
  1360. "风险管理v3"
  1361. ],
  1362. "summary": "查询业务表单数据",
  1363. "parameters": [
  1364. {
  1365. "type": "string",
  1366. "description": "资金账号ID列表,用逗号分隔",
  1367. "name": "accountids",
  1368. "in": "query",
  1369. "required": true
  1370. },
  1371. {
  1372. "type": "integer",
  1373. "description": "状态,0为未结束 1为已结束",
  1374. "name": "status",
  1375. "in": "query",
  1376. "required": true
  1377. }
  1378. ],
  1379. "responses": {
  1380. "200": {
  1381. "description": "OK",
  1382. "schema": {
  1383. "type": "array",
  1384. "items": {
  1385. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1386. }
  1387. }
  1388. },
  1389. "500": {
  1390. "description": "Internal Server Error",
  1391. "schema": {
  1392. "$ref": "#/definitions/app.Response"
  1393. }
  1394. }
  1395. }
  1396. }
  1397. },
  1398. "/Erms3/QueryPendingAuditContract": {
  1399. "get": {
  1400. "security": [
  1401. {
  1402. "ApiKeyAuth": []
  1403. }
  1404. ],
  1405. "produces": [
  1406. "application/json"
  1407. ],
  1408. "tags": [
  1409. "风险管理v3"
  1410. ],
  1411. "summary": "查询待审核合同",
  1412. "parameters": [
  1413. {
  1414. "type": "string",
  1415. "description": "资金账号ID列表,逗号隔开",
  1416. "name": "accountids",
  1417. "in": "query",
  1418. "required": true
  1419. },
  1420. {
  1421. "type": "integer",
  1422. "description": "合同类型 1-采购 -1-销售",
  1423. "name": "contracttype",
  1424. "in": "query",
  1425. "required": true
  1426. },
  1427. {
  1428. "type": "integer",
  1429. "description": "合同模式 1-普通 2-回购",
  1430. "name": "contractmode",
  1431. "in": "query",
  1432. "required": true
  1433. }
  1434. ],
  1435. "responses": {
  1436. "200": {
  1437. "description": "OK",
  1438. "schema": {
  1439. "type": "array",
  1440. "items": {
  1441. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1442. }
  1443. }
  1444. },
  1445. "500": {
  1446. "description": "Internal Server Error",
  1447. "schema": {
  1448. "$ref": "#/definitions/app.Response"
  1449. }
  1450. }
  1451. }
  1452. }
  1453. },
  1454. "/Erms3/QueryPendingBusiness": {
  1455. "get": {
  1456. "security": [
  1457. {
  1458. "ApiKeyAuth": []
  1459. }
  1460. ],
  1461. "produces": [
  1462. "application/json"
  1463. ],
  1464. "tags": [
  1465. "风险管理v3"
  1466. ],
  1467. "summary": "查询待审核基差贸易业务",
  1468. "parameters": [
  1469. {
  1470. "type": "string",
  1471. "description": "资金账号ID列表,逗号隔开",
  1472. "name": "accountids",
  1473. "in": "query",
  1474. "required": true
  1475. }
  1476. ],
  1477. "responses": {
  1478. "200": {
  1479. "description": "OK",
  1480. "schema": {
  1481. "type": "array",
  1482. "items": {
  1483. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1484. }
  1485. }
  1486. },
  1487. "500": {
  1488. "description": "Internal Server Error",
  1489. "schema": {
  1490. "$ref": "#/definitions/app.Response"
  1491. }
  1492. }
  1493. }
  1494. }
  1495. },
  1496. "/Erms3/QuerySpotContractAppleForm": {
  1497. "get": {
  1498. "security": [
  1499. {
  1500. "ApiKeyAuth": []
  1501. }
  1502. ],
  1503. "produces": [
  1504. "application/json"
  1505. ],
  1506. "tags": [
  1507. "风险管理v3"
  1508. ],
  1509. "summary": "查询合同申请表单数据",
  1510. "parameters": [
  1511. {
  1512. "type": "integer",
  1513. "description": "登录账号",
  1514. "name": "loginID",
  1515. "in": "query",
  1516. "required": true
  1517. }
  1518. ],
  1519. "responses": {
  1520. "200": {
  1521. "description": "OK",
  1522. "schema": {
  1523. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1524. }
  1525. },
  1526. "500": {
  1527. "description": "Internal Server Error",
  1528. "schema": {
  1529. "$ref": "#/definitions/app.Response"
  1530. }
  1531. }
  1532. }
  1533. }
  1534. },
  1535. "/Erms3/QuerySpotContractDetail": {
  1536. "get": {
  1537. "security": [
  1538. {
  1539. "ApiKeyAuth": []
  1540. }
  1541. ],
  1542. "produces": [
  1543. "application/json"
  1544. ],
  1545. "tags": [
  1546. "风险管理v3"
  1547. ],
  1548. "summary": "查询合同详细信息",
  1549. "parameters": [
  1550. {
  1551. "type": "string",
  1552. "description": "资金账号ID列表,用逗号分隔",
  1553. "name": "accountids",
  1554. "in": "query",
  1555. "required": true
  1556. },
  1557. {
  1558. "type": "integer",
  1559. "description": "合同类型,1为采购合同 -1为销售合同",
  1560. "name": "contracttype",
  1561. "in": "query",
  1562. "required": true
  1563. },
  1564. {
  1565. "type": "integer",
  1566. "description": "合同模式,1为普通合同 2为回购销售合同",
  1567. "name": "contractmode",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "状态,0为履约中 1为已完成",
  1574. "name": "status",
  1575. "in": "query",
  1576. "required": true
  1577. }
  1578. ],
  1579. "responses": {
  1580. "200": {
  1581. "description": "OK",
  1582. "schema": {
  1583. "type": "array",
  1584. "items": {
  1585. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1586. }
  1587. }
  1588. },
  1589. "500": {
  1590. "description": "Internal Server Error",
  1591. "schema": {
  1592. "$ref": "#/definitions/app.Response"
  1593. }
  1594. }
  1595. }
  1596. }
  1597. },
  1598. "/Erms3/QueryUserInfoApplies": {
  1599. "get": {
  1600. "security": [
  1601. {
  1602. "ApiKeyAuth": []
  1603. }
  1604. ],
  1605. "produces": [
  1606. "application/json"
  1607. ],
  1608. "tags": [
  1609. "风险管理v3"
  1610. ],
  1611. "summary": "客户申请信息查询",
  1612. "parameters": [
  1613. {
  1614. "type": "integer",
  1615. "description": "页码",
  1616. "name": "page",
  1617. "in": "query"
  1618. },
  1619. {
  1620. "type": "integer",
  1621. "description": "每页条数",
  1622. "name": "pagesize",
  1623. "in": "query"
  1624. },
  1625. {
  1626. "type": "string",
  1627. "description": "客户名称,支持模糊查询",
  1628. "name": "userName",
  1629. "in": "query"
  1630. }
  1631. ],
  1632. "responses": {
  1633. "200": {
  1634. "description": "OK",
  1635. "schema": {
  1636. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1637. }
  1638. },
  1639. "500": {
  1640. "description": "Internal Server Error",
  1641. "schema": {
  1642. "$ref": "#/definitions/app.Response"
  1643. }
  1644. }
  1645. }
  1646. }
  1647. },
  1648. "/Erms3/QueryUserInfos": {
  1649. "get": {
  1650. "security": [
  1651. {
  1652. "ApiKeyAuth": []
  1653. }
  1654. ],
  1655. "produces": [
  1656. "application/json"
  1657. ],
  1658. "tags": [
  1659. "风险管理v3"
  1660. ],
  1661. "summary": "客户信息查询",
  1662. "parameters": [
  1663. {
  1664. "type": "integer",
  1665. "description": "页码",
  1666. "name": "page",
  1667. "in": "query"
  1668. },
  1669. {
  1670. "type": "integer",
  1671. "description": "每页条数",
  1672. "name": "pagesize",
  1673. "in": "query"
  1674. },
  1675. {
  1676. "type": "string",
  1677. "description": "客户名称,支持模糊查询",
  1678. "name": "userName",
  1679. "in": "query"
  1680. }
  1681. ],
  1682. "responses": {
  1683. "200": {
  1684. "description": "OK",
  1685. "schema": {
  1686. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1687. }
  1688. },
  1689. "500": {
  1690. "description": "Internal Server Error",
  1691. "schema": {
  1692. "$ref": "#/definitions/app.Response"
  1693. }
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "/HSBY/GetHsbyMyCount": {
  1699. "get": {
  1700. "security": [
  1701. {
  1702. "ApiKeyAuth": []
  1703. }
  1704. ],
  1705. "description": "说明: 不包括已完成的数量。",
  1706. "produces": [
  1707. "application/json"
  1708. ],
  1709. "tags": [
  1710. "定制【海商报业】"
  1711. ],
  1712. "summary": "获取我的订单与包裹数量",
  1713. "parameters": [
  1714. {
  1715. "type": "string",
  1716. "description": "资金账户列表,格式:1,2,3",
  1717. "name": "accountIDs",
  1718. "in": "query",
  1719. "required": true
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1727. }
  1728. },
  1729. "500": {
  1730. "description": "Internal Server Error",
  1731. "schema": {
  1732. "$ref": "#/definitions/app.Response"
  1733. }
  1734. }
  1735. }
  1736. }
  1737. },
  1738. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1739. "get": {
  1740. "security": [
  1741. {
  1742. "ApiKeyAuth": []
  1743. }
  1744. ],
  1745. "produces": [
  1746. "application/json"
  1747. ],
  1748. "tags": [
  1749. "定制【海商报业】"
  1750. ],
  1751. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1752. "parameters": [
  1753. {
  1754. "type": "integer",
  1755. "description": "页码",
  1756. "name": "page",
  1757. "in": "query"
  1758. },
  1759. {
  1760. "type": "integer",
  1761. "description": "每页条数",
  1762. "name": "pagesize",
  1763. "in": "query"
  1764. },
  1765. {
  1766. "type": "string",
  1767. "description": "资金账户列表,格式:1,2,3",
  1768. "name": "accountIDs",
  1769. "in": "query",
  1770. "required": true
  1771. }
  1772. ],
  1773. "responses": {
  1774. "200": {
  1775. "description": "OK",
  1776. "schema": {
  1777. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1778. }
  1779. },
  1780. "500": {
  1781. "description": "Internal Server Error",
  1782. "schema": {
  1783. "$ref": "#/definitions/app.Response"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1790. "get": {
  1791. "security": [
  1792. {
  1793. "ApiKeyAuth": []
  1794. }
  1795. ],
  1796. "description": "说明:查询结果已按委托价格和委托时间排序",
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "定制【海商报业】"
  1802. ],
  1803. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "商品ID",
  1808. "name": "goodsID",
  1809. "in": "query",
  1810. "required": true
  1811. },
  1812. {
  1813. "type": "string",
  1814. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1815. "name": "accountIDs",
  1816. "in": "query"
  1817. },
  1818. {
  1819. "type": "integer",
  1820. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1821. "name": "buyOrSell",
  1822. "in": "query"
  1823. },
  1824. {
  1825. "type": "number",
  1826. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1827. "name": "price",
  1828. "in": "query"
  1829. },
  1830. {
  1831. "type": "integer",
  1832. "description": "档位,不传则默认为3档",
  1833. "name": "speed",
  1834. "in": "query"
  1835. }
  1836. ],
  1837. "responses": {
  1838. "200": {
  1839. "description": "OK",
  1840. "schema": {
  1841. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/app.Response"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/HSBY/QueryHsbyListingGoodsDetail": {
  1854. "get": {
  1855. "security": [
  1856. {
  1857. "ApiKeyAuth": []
  1858. }
  1859. ],
  1860. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "定制【海商报业】"
  1866. ],
  1867. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "商品ID",
  1872. "name": "goodsID",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1879. "name": "accountID",
  1880. "in": "query"
  1881. }
  1882. ],
  1883. "responses": {
  1884. "200": {
  1885. "description": "OK",
  1886. "schema": {
  1887. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1888. }
  1889. },
  1890. "500": {
  1891. "description": "Internal Server Error",
  1892. "schema": {
  1893. "$ref": "#/definitions/app.Response"
  1894. }
  1895. }
  1896. }
  1897. }
  1898. },
  1899. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1900. "get": {
  1901. "security": [
  1902. {
  1903. "ApiKeyAuth": []
  1904. }
  1905. ],
  1906. "produces": [
  1907. "application/json"
  1908. ],
  1909. "tags": [
  1910. "定制【海商报业】"
  1911. ],
  1912. "summary": "查询三级市场(商城)商品信息详情",
  1913. "parameters": [
  1914. {
  1915. "type": "integer",
  1916. "description": "委托单号",
  1917. "name": "orderID",
  1918. "in": "query",
  1919. "required": true
  1920. },
  1921. {
  1922. "type": "integer",
  1923. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  1924. "name": "accountID",
  1925. "in": "query"
  1926. }
  1927. ],
  1928. "responses": {
  1929. "200": {
  1930. "description": "OK",
  1931. "schema": {
  1932. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1933. }
  1934. },
  1935. "500": {
  1936. "description": "Internal Server Error",
  1937. "schema": {
  1938. "$ref": "#/definitions/app.Response"
  1939. }
  1940. }
  1941. }
  1942. }
  1943. },
  1944. "/HSBY/QueryHsbyMarketGoodses": {
  1945. "get": {
  1946. "security": [
  1947. {
  1948. "ApiKeyAuth": []
  1949. }
  1950. ],
  1951. "produces": [
  1952. "application/json"
  1953. ],
  1954. "tags": [
  1955. "定制【海商报业】"
  1956. ],
  1957. "summary": "查询特卖商品列表(三级商城)",
  1958. "parameters": [
  1959. {
  1960. "type": "integer",
  1961. "description": "页码",
  1962. "name": "page",
  1963. "in": "query"
  1964. },
  1965. {
  1966. "type": "integer",
  1967. "description": "每页条数",
  1968. "name": "pagesize",
  1969. "in": "query"
  1970. },
  1971. {
  1972. "type": "string",
  1973. "description": "市场ID列表,格式:1,2,3",
  1974. "name": "marketIDs",
  1975. "in": "query",
  1976. "required": true
  1977. },
  1978. {
  1979. "type": "integer",
  1980. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1981. "name": "accountID",
  1982. "in": "query"
  1983. },
  1984. {
  1985. "type": "integer",
  1986. "description": "类别ID",
  1987. "name": "categoryID",
  1988. "in": "query"
  1989. },
  1990. {
  1991. "type": "string",
  1992. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1993. "name": "goodsIDs",
  1994. "in": "query"
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1999. "name": "couponTypeID",
  2000. "in": "query"
  2001. }
  2002. ],
  2003. "responses": {
  2004. "200": {
  2005. "description": "OK",
  2006. "schema": {
  2007. "$ref": "#/definitions/models.HsbyMarketGoods"
  2008. }
  2009. },
  2010. "500": {
  2011. "description": "Internal Server Error",
  2012. "schema": {
  2013. "$ref": "#/definitions/app.Response"
  2014. }
  2015. }
  2016. }
  2017. }
  2018. },
  2019. "/HSBY/QueryHsbyMarkets": {
  2020. "get": {
  2021. "security": [
  2022. {
  2023. "ApiKeyAuth": []
  2024. }
  2025. ],
  2026. "produces": [
  2027. "application/json"
  2028. ],
  2029. "tags": [
  2030. "定制【海商报业】"
  2031. ],
  2032. "summary": "查询海商报业相关市场信息",
  2033. "responses": {
  2034. "200": {
  2035. "description": "OK",
  2036. "schema": {
  2037. "$ref": "#/definitions/models.HsbyMarketInfo"
  2038. }
  2039. },
  2040. "500": {
  2041. "description": "Internal Server Error",
  2042. "schema": {
  2043. "$ref": "#/definitions/app.Response"
  2044. }
  2045. }
  2046. }
  2047. }
  2048. },
  2049. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2050. "get": {
  2051. "security": [
  2052. {
  2053. "ApiKeyAuth": []
  2054. }
  2055. ],
  2056. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2057. "produces": [
  2058. "application/json"
  2059. ],
  2060. "tags": [
  2061. "定制【海商报业】"
  2062. ],
  2063. "summary": "查询“我的订单”信息",
  2064. "parameters": [
  2065. {
  2066. "type": "string",
  2067. "description": "资金账户列表,格式:1,2,3",
  2068. "name": "accountIDs",
  2069. "in": "query",
  2070. "required": true
  2071. },
  2072. {
  2073. "type": "integer",
  2074. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2075. "name": "myBuyStatus",
  2076. "in": "query"
  2077. }
  2078. ],
  2079. "responses": {
  2080. "200": {
  2081. "description": "OK",
  2082. "schema": {
  2083. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/HSBY/QueryHsbyMyGoods": {
  2096. "get": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "定制【海商报业】"
  2107. ],
  2108. "summary": "查询“我的商品”信息",
  2109. "parameters": [
  2110. {
  2111. "type": "string",
  2112. "description": "资金账户列表,格式:1,2,3",
  2113. "name": "accountIDs",
  2114. "in": "query",
  2115. "required": true
  2116. }
  2117. ],
  2118. "responses": {
  2119. "200": {
  2120. "description": "OK",
  2121. "schema": {
  2122. "$ref": "#/definitions/models.HsbyMyGoods"
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/HSBY/QueryHsbyMyPackages": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "定制【海商报业】"
  2146. ],
  2147. "summary": "查询我的包裹信息",
  2148. "parameters": [
  2149. {
  2150. "type": "string",
  2151. "description": "资金账户列表,格式:1,2,3",
  2152. "name": "accountIDs",
  2153. "in": "query",
  2154. "required": true
  2155. },
  2156. {
  2157. "type": "integer",
  2158. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2159. "name": "takeOrderStatus",
  2160. "in": "query"
  2161. }
  2162. ],
  2163. "responses": {
  2164. "200": {
  2165. "description": "OK",
  2166. "schema": {
  2167. "$ref": "#/definitions/models.HsbyMyPackage"
  2168. }
  2169. },
  2170. "500": {
  2171. "description": "Internal Server Error",
  2172. "schema": {
  2173. "$ref": "#/definitions/app.Response"
  2174. }
  2175. }
  2176. }
  2177. }
  2178. },
  2179. "/HSBY/QueryHsbyPreGoodsDetail": {
  2180. "get": {
  2181. "security": [
  2182. {
  2183. "ApiKeyAuth": []
  2184. }
  2185. ],
  2186. "produces": [
  2187. "application/json"
  2188. ],
  2189. "tags": [
  2190. "定制【海商报业】"
  2191. ],
  2192. "summary": "查询一级市场(预售)商品信息详情",
  2193. "parameters": [
  2194. {
  2195. "type": "integer",
  2196. "description": "商品ID",
  2197. "name": "goodsID",
  2198. "in": "query",
  2199. "required": true
  2200. },
  2201. {
  2202. "type": "integer",
  2203. "description": "资金账户,主要用于获取预售商品购买上限",
  2204. "name": "accountID",
  2205. "in": "query"
  2206. }
  2207. ],
  2208. "responses": {
  2209. "200": {
  2210. "description": "OK",
  2211. "schema": {
  2212. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/HSBY/QueryHsbyPreGoodses": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2232. "produces": [
  2233. "application/json"
  2234. ],
  2235. "tags": [
  2236. "定制【海商报业】"
  2237. ],
  2238. "summary": "查询新品上市商品列表(一级市场预售)",
  2239. "parameters": [
  2240. {
  2241. "type": "integer",
  2242. "description": "页码",
  2243. "name": "page",
  2244. "in": "query"
  2245. },
  2246. {
  2247. "type": "integer",
  2248. "description": "每页条数",
  2249. "name": "pagesize",
  2250. "in": "query"
  2251. },
  2252. {
  2253. "type": "string",
  2254. "description": "市场ID列表,格式:1,2,3",
  2255. "name": "marketIDs",
  2256. "in": "query",
  2257. "required": true
  2258. },
  2259. {
  2260. "type": "integer",
  2261. "description": "目的地(省)ID",
  2262. "name": "descProvinceID",
  2263. "in": "query"
  2264. },
  2265. {
  2266. "type": "integer",
  2267. "description": "目的地(市)ID",
  2268. "name": "descCityID",
  2269. "in": "query"
  2270. }
  2271. ],
  2272. "responses": {
  2273. "200": {
  2274. "description": "OK",
  2275. "schema": {
  2276. "$ref": "#/definitions/models.HsbyPreGoods"
  2277. }
  2278. },
  2279. "500": {
  2280. "description": "Internal Server Error",
  2281. "schema": {
  2282. "$ref": "#/definitions/app.Response"
  2283. }
  2284. }
  2285. }
  2286. }
  2287. },
  2288. "/HSBY/QueryHsbySellMyDetails": {
  2289. "get": {
  2290. "security": [
  2291. {
  2292. "ApiKeyAuth": []
  2293. }
  2294. ],
  2295. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "定制【海商报业】"
  2301. ],
  2302. "summary": "查询\"我的闲置\"单据信息",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "页码",
  2307. "name": "page",
  2308. "in": "query"
  2309. },
  2310. {
  2311. "type": "integer",
  2312. "description": "每页条数",
  2313. "name": "pagesize",
  2314. "in": "query"
  2315. },
  2316. {
  2317. "type": "string",
  2318. "description": "资金账户列表,格式:1,2,3",
  2319. "name": "accountIDs",
  2320. "in": "query",
  2321. "required": true
  2322. },
  2323. {
  2324. "type": "integer",
  2325. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2326. "name": "orderType",
  2327. "in": "query"
  2328. }
  2329. ],
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "$ref": "#/definitions/models.HsbySellMyDetail"
  2335. }
  2336. },
  2337. "500": {
  2338. "description": "Internal Server Error",
  2339. "schema": {
  2340. "$ref": "#/definitions/app.Response"
  2341. }
  2342. }
  2343. }
  2344. }
  2345. },
  2346. "/HSBY/QueryHsbyTopGoodses": {
  2347. "get": {
  2348. "security": [
  2349. {
  2350. "ApiKeyAuth": []
  2351. }
  2352. ],
  2353. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2354. "produces": [
  2355. "application/json"
  2356. ],
  2357. "tags": [
  2358. "定制【海商报业】"
  2359. ],
  2360. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2361. "parameters": [
  2362. {
  2363. "type": "integer",
  2364. "description": "页码",
  2365. "name": "page",
  2366. "in": "query"
  2367. },
  2368. {
  2369. "type": "integer",
  2370. "description": "每页条数",
  2371. "name": "pagesize",
  2372. "in": "query"
  2373. },
  2374. {
  2375. "type": "string",
  2376. "description": "市场ID列表,格式:1,2,3",
  2377. "name": "marketIDs",
  2378. "in": "query",
  2379. "required": true
  2380. },
  2381. {
  2382. "type": "integer",
  2383. "description": "目的地(省)ID",
  2384. "name": "descProvinceID",
  2385. "in": "query"
  2386. },
  2387. {
  2388. "type": "integer",
  2389. "description": "目的地(市)ID",
  2390. "name": "descCityID",
  2391. "in": "query"
  2392. }
  2393. ],
  2394. "responses": {
  2395. "200": {
  2396. "description": "OK",
  2397. "schema": {
  2398. "$ref": "#/definitions/models.HsbyTopGoods"
  2399. }
  2400. },
  2401. "500": {
  2402. "description": "Internal Server Error",
  2403. "schema": {
  2404. "$ref": "#/definitions/app.Response"
  2405. }
  2406. }
  2407. }
  2408. }
  2409. },
  2410. "/HSBY/QueryMyCollectionOrders": {
  2411. "get": {
  2412. "security": [
  2413. {
  2414. "ApiKeyAuth": []
  2415. }
  2416. ],
  2417. "produces": [
  2418. "application/json"
  2419. ],
  2420. "tags": [
  2421. "定制【海商报业】"
  2422. ],
  2423. "summary": "我的闲置中收款信息查询",
  2424. "parameters": [
  2425. {
  2426. "type": "integer",
  2427. "description": "页码",
  2428. "name": "page",
  2429. "in": "query"
  2430. },
  2431. {
  2432. "type": "integer",
  2433. "description": "每页条数",
  2434. "name": "pagesize",
  2435. "in": "query"
  2436. },
  2437. {
  2438. "type": "string",
  2439. "description": "资金账户,格式:1,2,3",
  2440. "name": "accountIDs",
  2441. "in": "query",
  2442. "required": true
  2443. }
  2444. ],
  2445. "responses": {
  2446. "200": {
  2447. "description": "OK",
  2448. "schema": {
  2449. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2450. }
  2451. },
  2452. "500": {
  2453. "description": "Internal Server Error",
  2454. "schema": {
  2455. "$ref": "#/definitions/app.Response"
  2456. }
  2457. }
  2458. }
  2459. }
  2460. },
  2461. "/HSBY/QueryMyCouponHolds": {
  2462. "get": {
  2463. "security": [
  2464. {
  2465. "ApiKeyAuth": []
  2466. }
  2467. ],
  2468. "produces": [
  2469. "application/json"
  2470. ],
  2471. "tags": [
  2472. "定制【海商报业】"
  2473. ],
  2474. "summary": "我的优惠卷持仓查询",
  2475. "parameters": [
  2476. {
  2477. "type": "string",
  2478. "description": "资金账户列表,格式:1,2,3",
  2479. "name": "accountIDs",
  2480. "in": "query",
  2481. "required": true
  2482. },
  2483. {
  2484. "type": "string",
  2485. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2486. "name": "holdStatus",
  2487. "in": "query"
  2488. }
  2489. ],
  2490. "responses": {
  2491. "200": {
  2492. "description": "OK",
  2493. "schema": {
  2494. "$ref": "#/definitions/models.MyCouponHold"
  2495. }
  2496. },
  2497. "500": {
  2498. "description": "Internal Server Error",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/HSBY/QueryMyCoupons": {
  2507. "get": {
  2508. "security": [
  2509. {
  2510. "ApiKeyAuth": []
  2511. }
  2512. ],
  2513. "produces": [
  2514. "application/json"
  2515. ],
  2516. "tags": [
  2517. "定制【海商报业】"
  2518. ],
  2519. "summary": "我的优惠卷查询",
  2520. "parameters": [
  2521. {
  2522. "type": "string",
  2523. "description": "资金账户列表,格式:1,2,3",
  2524. "name": "accountIDs",
  2525. "in": "query",
  2526. "required": true
  2527. },
  2528. {
  2529. "type": "integer",
  2530. "description": "商品ID, 一般与sellUserID配套传入",
  2531. "name": "goodsID",
  2532. "in": "query"
  2533. },
  2534. {
  2535. "type": "integer",
  2536. "description": "卖方UserID",
  2537. "name": "sellUserID",
  2538. "in": "query"
  2539. }
  2540. ],
  2541. "responses": {
  2542. "200": {
  2543. "description": "OK",
  2544. "schema": {
  2545. "$ref": "#/definitions/models.MyCoupon"
  2546. }
  2547. },
  2548. "500": {
  2549. "description": "Internal Server Error",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. }
  2554. }
  2555. }
  2556. },
  2557. "/HSBY/QueryMyPayOrders": {
  2558. "get": {
  2559. "security": [
  2560. {
  2561. "ApiKeyAuth": []
  2562. }
  2563. ],
  2564. "produces": [
  2565. "application/json"
  2566. ],
  2567. "tags": [
  2568. "定制【海商报业】"
  2569. ],
  2570. "summary": "获取我的订单中待付款信息",
  2571. "parameters": [
  2572. {
  2573. "type": "integer",
  2574. "description": "页码",
  2575. "name": "page",
  2576. "in": "query"
  2577. },
  2578. {
  2579. "type": "integer",
  2580. "description": "每页条数",
  2581. "name": "pagesize",
  2582. "in": "query"
  2583. },
  2584. {
  2585. "type": "string",
  2586. "description": "资金账户列表,格式:1,2,3",
  2587. "name": "accountIDs",
  2588. "in": "query",
  2589. "required": true
  2590. },
  2591. {
  2592. "type": "integer",
  2593. "description": "买方委托单号",
  2594. "name": "buyOrderID",
  2595. "in": "query"
  2596. },
  2597. {
  2598. "type": "integer",
  2599. "description": "卖方委托单号",
  2600. "name": "sellOrderID",
  2601. "in": "query"
  2602. }
  2603. ],
  2604. "responses": {
  2605. "200": {
  2606. "description": "OK",
  2607. "schema": {
  2608. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2609. }
  2610. },
  2611. "500": {
  2612. "description": "Internal Server Error",
  2613. "schema": {
  2614. "$ref": "#/definitions/app.Response"
  2615. }
  2616. }
  2617. }
  2618. }
  2619. },
  2620. "/HSBY/QueryMyUsedCoupon": {
  2621. "get": {
  2622. "security": [
  2623. {
  2624. "ApiKeyAuth": []
  2625. }
  2626. ],
  2627. "produces": [
  2628. "application/json"
  2629. ],
  2630. "tags": [
  2631. "定制【海商报业】"
  2632. ],
  2633. "summary": "已使用优惠卷查询",
  2634. "parameters": [
  2635. {
  2636. "type": "string",
  2637. "description": "资金账户列表,格式:1,2,3",
  2638. "name": "accountIDs",
  2639. "in": "query",
  2640. "required": true
  2641. }
  2642. ],
  2643. "responses": {
  2644. "200": {
  2645. "description": "OK",
  2646. "schema": {
  2647. "$ref": "#/definitions/models.MyUsedCoupon"
  2648. }
  2649. },
  2650. "500": {
  2651. "description": "Internal Server Error",
  2652. "schema": {
  2653. "$ref": "#/definitions/app.Response"
  2654. }
  2655. }
  2656. }
  2657. }
  2658. },
  2659. "/HSBY/QueryProvincesAndCities": {
  2660. "get": {
  2661. "security": [
  2662. {
  2663. "ApiKeyAuth": []
  2664. }
  2665. ],
  2666. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2667. "produces": [
  2668. "application/json"
  2669. ],
  2670. "tags": [
  2671. "定制【海商报业】"
  2672. ],
  2673. "summary": "查询省市信息(不包括区)",
  2674. "parameters": [
  2675. {
  2676. "type": "integer",
  2677. "description": "省ID",
  2678. "name": "provinceID",
  2679. "in": "query"
  2680. }
  2681. ],
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2687. }
  2688. },
  2689. "500": {
  2690. "description": "Internal Server Error",
  2691. "schema": {
  2692. "$ref": "#/definitions/app.Response"
  2693. }
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "/HSBY/SetHsbyMyPackagesStatus": {
  2699. "post": {
  2700. "security": [
  2701. {
  2702. "ApiKeyAuth": []
  2703. }
  2704. ],
  2705. "produces": [
  2706. "application/json"
  2707. ],
  2708. "tags": [
  2709. "定制【海商报业】"
  2710. ],
  2711. "summary": "设置我的包裹已收货状态",
  2712. "parameters": [
  2713. {
  2714. "type": "string",
  2715. "description": "提货单号",
  2716. "name": "takeOrderID",
  2717. "in": "query",
  2718. "required": true
  2719. },
  2720. {
  2721. "type": "integer",
  2722. "description": "资金账号",
  2723. "name": "accountID",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "$ref": "#/definitions/app.Response"
  2733. }
  2734. },
  2735. "500": {
  2736. "description": "Internal Server Error",
  2737. "schema": {
  2738. "$ref": "#/definitions/app.Response"
  2739. }
  2740. }
  2741. }
  2742. }
  2743. },
  2744. "/Market/QueryMarketRun": {
  2745. "get": {
  2746. "security": [
  2747. {
  2748. "ApiKeyAuth": []
  2749. }
  2750. ],
  2751. "produces": [
  2752. "application/json"
  2753. ],
  2754. "tags": [
  2755. "通用市场"
  2756. ],
  2757. "summary": "查询市场运行信息",
  2758. "parameters": [
  2759. {
  2760. "type": "integer",
  2761. "description": "市场ID,不传返回所有",
  2762. "name": "marketID",
  2763. "in": "query"
  2764. }
  2765. ],
  2766. "responses": {
  2767. "200": {
  2768. "description": "OK",
  2769. "schema": {
  2770. "$ref": "#/definitions/models.Marketrun"
  2771. }
  2772. },
  2773. "500": {
  2774. "description": "Internal Server Error",
  2775. "schema": {
  2776. "$ref": "#/definitions/app.Response"
  2777. }
  2778. }
  2779. }
  2780. }
  2781. },
  2782. "/Order/QueryHisTradeDetail": {
  2783. "get": {
  2784. "security": [
  2785. {
  2786. "ApiKeyAuth": []
  2787. }
  2788. ],
  2789. "produces": [
  2790. "application/json"
  2791. ],
  2792. "tags": [
  2793. "通用单据"
  2794. ],
  2795. "summary": "历史成交单查询(合约市场)",
  2796. "parameters": [
  2797. {
  2798. "type": "string",
  2799. "description": "资金账户 - 格式:1,2,3",
  2800. "name": "accountID",
  2801. "in": "query",
  2802. "required": true
  2803. },
  2804. {
  2805. "type": "integer",
  2806. "description": "成交单号",
  2807. "name": "tradeID",
  2808. "in": "query"
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "委托单号",
  2813. "name": "orderID",
  2814. "in": "query"
  2815. },
  2816. {
  2817. "type": "string",
  2818. "description": "交易模式 - 格式:1,2,3",
  2819. "name": "tradeMode",
  2820. "in": "query"
  2821. },
  2822. {
  2823. "type": "integer",
  2824. "description": "委托单据类型",
  2825. "name": "buildType",
  2826. "in": "query"
  2827. },
  2828. {
  2829. "type": "string",
  2830. "description": "成交类别 - 格式:1,2,3",
  2831. "name": "tradeType",
  2832. "in": "query"
  2833. },
  2834. {
  2835. "type": "string",
  2836. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2837. "name": "startDate",
  2838. "in": "query"
  2839. },
  2840. {
  2841. "type": "string",
  2842. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2843. "name": "endDate",
  2844. "in": "query"
  2845. }
  2846. ],
  2847. "responses": {
  2848. "200": {
  2849. "description": "OK",
  2850. "schema": {
  2851. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2852. }
  2853. },
  2854. "500": {
  2855. "description": "Internal Server Error",
  2856. "schema": {
  2857. "$ref": "#/definitions/app.Response"
  2858. }
  2859. }
  2860. }
  2861. }
  2862. },
  2863. "/Order/QueryHisTradeOrderDetail": {
  2864. "get": {
  2865. "security": [
  2866. {
  2867. "ApiKeyAuth": []
  2868. }
  2869. ],
  2870. "produces": [
  2871. "application/json"
  2872. ],
  2873. "tags": [
  2874. "通用单据"
  2875. ],
  2876. "summary": "历史委托单查询请求(合约市场)",
  2877. "parameters": [
  2878. {
  2879. "type": "string",
  2880. "description": "资金账户 - 格式:1,2,3",
  2881. "name": "accountID",
  2882. "in": "query",
  2883. "required": true
  2884. },
  2885. {
  2886. "type": "string",
  2887. "description": "交易模式 - 格式:1,2,3",
  2888. "name": "tradeMode",
  2889. "in": "query"
  2890. },
  2891. {
  2892. "type": "string",
  2893. "description": "委托状态 - 格式:1,2,3",
  2894. "name": "orderStatus",
  2895. "in": "query"
  2896. },
  2897. {
  2898. "type": "integer",
  2899. "description": "委托单号",
  2900. "name": "orderID",
  2901. "in": "query"
  2902. },
  2903. {
  2904. "type": "string",
  2905. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2906. "name": "startDate",
  2907. "in": "query"
  2908. },
  2909. {
  2910. "type": "string",
  2911. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2912. "name": "endDate",
  2913. "in": "query"
  2914. }
  2915. ],
  2916. "responses": {
  2917. "200": {
  2918. "description": "OK",
  2919. "schema": {
  2920. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2921. }
  2922. },
  2923. "500": {
  2924. "description": "Internal Server Error",
  2925. "schema": {
  2926. "$ref": "#/definitions/app.Response"
  2927. }
  2928. }
  2929. }
  2930. }
  2931. },
  2932. "/Order/QueryTradeDetail": {
  2933. "get": {
  2934. "security": [
  2935. {
  2936. "ApiKeyAuth": []
  2937. }
  2938. ],
  2939. "produces": [
  2940. "application/json"
  2941. ],
  2942. "tags": [
  2943. "通用单据"
  2944. ],
  2945. "summary": "成交单查询(合约市场)",
  2946. "parameters": [
  2947. {
  2948. "type": "string",
  2949. "description": "资金账户 - 格式:1,2,3",
  2950. "name": "accountID",
  2951. "in": "query",
  2952. "required": true
  2953. },
  2954. {
  2955. "type": "integer",
  2956. "description": "成交单号",
  2957. "name": "tradeID",
  2958. "in": "query"
  2959. },
  2960. {
  2961. "type": "integer",
  2962. "description": "委托单号",
  2963. "name": "orderID",
  2964. "in": "query"
  2965. },
  2966. {
  2967. "type": "string",
  2968. "description": "交易模式 - 格式:1,2,3",
  2969. "name": "tradeMode",
  2970. "in": "query"
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "委托单据类型",
  2975. "name": "buildType",
  2976. "in": "query"
  2977. },
  2978. {
  2979. "type": "string",
  2980. "description": "成交类别 - 格式:1,2,3",
  2981. "name": "tradeType",
  2982. "in": "query"
  2983. }
  2984. ],
  2985. "responses": {
  2986. "200": {
  2987. "description": "OK",
  2988. "schema": {
  2989. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2990. }
  2991. },
  2992. "500": {
  2993. "description": "Internal Server Error",
  2994. "schema": {
  2995. "$ref": "#/definitions/app.Response"
  2996. }
  2997. }
  2998. }
  2999. }
  3000. },
  3001. "/Order/QueryTradeOrderDetail": {
  3002. "get": {
  3003. "security": [
  3004. {
  3005. "ApiKeyAuth": []
  3006. }
  3007. ],
  3008. "produces": [
  3009. "application/json"
  3010. ],
  3011. "tags": [
  3012. "通用单据"
  3013. ],
  3014. "summary": "委托单查询请求(合约市场)",
  3015. "parameters": [
  3016. {
  3017. "type": "string",
  3018. "description": "资金账户 - 格式:1,2,3",
  3019. "name": "accountID",
  3020. "in": "query",
  3021. "required": true
  3022. },
  3023. {
  3024. "type": "string",
  3025. "description": "交易模式 - 格式:1,2,3",
  3026. "name": "tradeMode",
  3027. "in": "query"
  3028. },
  3029. {
  3030. "type": "string",
  3031. "description": "委托状态 - 格式:1,2,3",
  3032. "name": "orderStatus",
  3033. "in": "query"
  3034. },
  3035. {
  3036. "type": "integer",
  3037. "description": "委托单号",
  3038. "name": "orderID",
  3039. "in": "query"
  3040. }
  3041. ],
  3042. "responses": {
  3043. "200": {
  3044. "description": "OK",
  3045. "schema": {
  3046. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3047. }
  3048. },
  3049. "500": {
  3050. "description": "Internal Server Error",
  3051. "schema": {
  3052. "$ref": "#/definitions/app.Response"
  3053. }
  3054. }
  3055. }
  3056. }
  3057. },
  3058. "/Order/QueryTradePosition": {
  3059. "get": {
  3060. "security": [
  3061. {
  3062. "ApiKeyAuth": []
  3063. }
  3064. ],
  3065. "produces": [
  3066. "application/json"
  3067. ],
  3068. "tags": [
  3069. "通用单据"
  3070. ],
  3071. "summary": "持仓汇总查询(合约市场)",
  3072. "parameters": [
  3073. {
  3074. "type": "string",
  3075. "description": "资金账户 - 格式:1,2,3",
  3076. "name": "accountID",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "string",
  3082. "description": "交易模式 - 格式:1,2,3",
  3083. "name": "tradeMode",
  3084. "in": "query"
  3085. }
  3086. ],
  3087. "responses": {
  3088. "200": {
  3089. "description": "OK",
  3090. "schema": {
  3091. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3092. }
  3093. },
  3094. "500": {
  3095. "description": "Internal Server Error",
  3096. "schema": {
  3097. "$ref": "#/definitions/app.Response"
  3098. }
  3099. }
  3100. }
  3101. }
  3102. },
  3103. "/Quote/QueryHistoryDatas": {
  3104. "get": {
  3105. "security": [
  3106. {
  3107. "ApiKeyAuth": []
  3108. }
  3109. ],
  3110. "produces": [
  3111. "application/json"
  3112. ],
  3113. "tags": [
  3114. "行情服务"
  3115. ],
  3116. "summary": "查询行情历史数据",
  3117. "parameters": [
  3118. {
  3119. "type": "integer",
  3120. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3121. "name": "cycleType",
  3122. "in": "query",
  3123. "required": true
  3124. },
  3125. {
  3126. "type": "string",
  3127. "description": "商品代码",
  3128. "name": "goodsCode",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "string",
  3134. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3135. "name": "startTime",
  3136. "in": "query"
  3137. },
  3138. {
  3139. "type": "string",
  3140. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3141. "name": "endTime",
  3142. "in": "query"
  3143. },
  3144. {
  3145. "type": "integer",
  3146. "description": "条数",
  3147. "name": "count",
  3148. "in": "query"
  3149. },
  3150. {
  3151. "type": "boolean",
  3152. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3153. "name": "isAsc",
  3154. "in": "query"
  3155. }
  3156. ],
  3157. "responses": {
  3158. "200": {
  3159. "description": "OK",
  3160. "schema": {
  3161. "$ref": "#/definitions/quote.HistoryData"
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Quote/QueryTSData": {
  3174. "get": {
  3175. "produces": [
  3176. "application/json"
  3177. ],
  3178. "tags": [
  3179. "行情服务"
  3180. ],
  3181. "summary": "分时图数据查询",
  3182. "parameters": [
  3183. {
  3184. "type": "string",
  3185. "description": "商品代码",
  3186. "name": "GoodsCode",
  3187. "in": "query",
  3188. "required": true
  3189. }
  3190. ],
  3191. "responses": {
  3192. "200": {
  3193. "description": "OK",
  3194. "schema": {
  3195. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3196. }
  3197. },
  3198. "500": {
  3199. "description": "Internal Server Error",
  3200. "schema": {
  3201. "$ref": "#/definitions/app.Response"
  3202. }
  3203. }
  3204. }
  3205. }
  3206. },
  3207. "/SZDZ/QueryConvertConfig": {
  3208. "get": {
  3209. "security": [
  3210. {
  3211. "ApiKeyAuth": []
  3212. }
  3213. ],
  3214. "produces": [
  3215. "application/json"
  3216. ],
  3217. "tags": [
  3218. "定制【尚志大宗】"
  3219. ],
  3220. "summary": "查询交易系统转换设置",
  3221. "parameters": [
  3222. {
  3223. "type": "integer",
  3224. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3225. "name": "convertType",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "string",
  3230. "description": "外部商品代码[JD\\PD]",
  3231. "name": "outerGoodsCode",
  3232. "in": "query"
  3233. },
  3234. {
  3235. "type": "string",
  3236. "description": "内部商品ID列表[交易],格式:1,2,3",
  3237. "name": "innerGoodsIDs",
  3238. "in": "query"
  3239. }
  3240. ],
  3241. "responses": {
  3242. "200": {
  3243. "description": "OK",
  3244. "schema": {
  3245. "$ref": "#/definitions/models.Szdz3convertconfig"
  3246. }
  3247. },
  3248. "500": {
  3249. "description": "Internal Server Error",
  3250. "schema": {
  3251. "$ref": "#/definitions/app.Response"
  3252. }
  3253. }
  3254. }
  3255. }
  3256. },
  3257. "/SZDZ/QueryConvertLog": {
  3258. "get": {
  3259. "security": [
  3260. {
  3261. "ApiKeyAuth": []
  3262. }
  3263. ],
  3264. "produces": [
  3265. "application/json"
  3266. ],
  3267. "tags": [
  3268. "定制【尚志大宗】"
  3269. ],
  3270. "summary": "交易系统转换流水查询",
  3271. "parameters": [
  3272. {
  3273. "type": "string",
  3274. "description": "资金账户 - 格式:1,2,3",
  3275. "name": "accountID",
  3276. "in": "query",
  3277. "required": true
  3278. },
  3279. {
  3280. "type": "string",
  3281. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3282. "name": "startDate",
  3283. "in": "query"
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3288. "name": "endDate",
  3289. "in": "query"
  3290. }
  3291. ],
  3292. "responses": {
  3293. "200": {
  3294. "description": "OK",
  3295. "schema": {
  3296. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3297. }
  3298. },
  3299. "500": {
  3300. "description": "Internal Server Error",
  3301. "schema": {
  3302. "$ref": "#/definitions/app.Response"
  3303. }
  3304. }
  3305. }
  3306. }
  3307. },
  3308. "/SZDZ/QueryGoodsPickup": {
  3309. "get": {
  3310. "security": [
  3311. {
  3312. "ApiKeyAuth": []
  3313. }
  3314. ],
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "定制【尚志大宗】"
  3320. ],
  3321. "summary": "商品提货单查询",
  3322. "parameters": [
  3323. {
  3324. "type": "string",
  3325. "description": "资金账户 - 格式:1,2,3",
  3326. "name": "accountID",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "integer",
  3332. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3333. "name": "takeOrderStatus",
  3334. "in": "query"
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3342. }
  3343. },
  3344. "500": {
  3345. "description": "Internal Server Error",
  3346. "schema": {
  3347. "$ref": "#/definitions/app.Response"
  3348. }
  3349. }
  3350. }
  3351. }
  3352. },
  3353. "/SZDZ/QueryRecieptOrder": {
  3354. "get": {
  3355. "security": [
  3356. {
  3357. "ApiKeyAuth": []
  3358. }
  3359. ],
  3360. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3361. "produces": [
  3362. "application/json"
  3363. ],
  3364. "tags": [
  3365. "定制【尚志大宗】"
  3366. ],
  3367. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3368. "parameters": [
  3369. {
  3370. "type": "integer",
  3371. "description": "页码",
  3372. "name": "page",
  3373. "in": "query"
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "每页条数",
  3378. "name": "pagesize",
  3379. "in": "query"
  3380. },
  3381. {
  3382. "type": "integer",
  3383. "description": "商品ID",
  3384. "name": "goodsID",
  3385. "in": "query",
  3386. "required": true
  3387. },
  3388. {
  3389. "type": "string",
  3390. "description": "所属账户名称",
  3391. "name": "accountName",
  3392. "in": "query"
  3393. },
  3394. {
  3395. "type": "integer",
  3396. "description": "市场ID",
  3397. "name": "marketID",
  3398. "in": "query"
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "方向 - 0:买 1:卖",
  3403. "name": "buyorsell",
  3404. "in": "query",
  3405. "required": true
  3406. }
  3407. ],
  3408. "responses": {
  3409. "200": {
  3410. "description": "OK",
  3411. "schema": {
  3412. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3413. }
  3414. },
  3415. "500": {
  3416. "description": "Internal Server Error",
  3417. "schema": {
  3418. "$ref": "#/definitions/app.Response"
  3419. }
  3420. }
  3421. }
  3422. }
  3423. },
  3424. "/SZDZ/QuerySZDZTradePosition": {
  3425. "get": {
  3426. "security": [
  3427. {
  3428. "ApiKeyAuth": []
  3429. }
  3430. ],
  3431. "produces": [
  3432. "application/json"
  3433. ],
  3434. "tags": [
  3435. "定制【尚志大宗】"
  3436. ],
  3437. "summary": "持仓汇总查询(尚志大宗)",
  3438. "parameters": [
  3439. {
  3440. "type": "integer",
  3441. "description": "资金账户",
  3442. "name": "accountID",
  3443. "in": "query",
  3444. "required": true
  3445. }
  3446. ],
  3447. "responses": {
  3448. "200": {
  3449. "description": "OK",
  3450. "schema": {
  3451. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3452. }
  3453. },
  3454. "500": {
  3455. "description": "Internal Server Error",
  3456. "schema": {
  3457. "$ref": "#/definitions/app.Response"
  3458. }
  3459. }
  3460. }
  3461. }
  3462. },
  3463. "/SZDZ/SearchWhite": {
  3464. "get": {
  3465. "security": [
  3466. {
  3467. "ApiKeyAuth": []
  3468. }
  3469. ],
  3470. "produces": [
  3471. "application/json"
  3472. ],
  3473. "tags": [
  3474. "定制【尚志大宗】"
  3475. ],
  3476. "summary": "搜索白名单",
  3477. "parameters": [
  3478. {
  3479. "type": "integer",
  3480. "description": "用户ID",
  3481. "name": "userID",
  3482. "in": "query",
  3483. "required": true
  3484. }
  3485. ],
  3486. "responses": {
  3487. "200": {
  3488. "description": "OK",
  3489. "schema": {
  3490. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3491. }
  3492. },
  3493. "500": {
  3494. "description": "Internal Server Error",
  3495. "schema": {
  3496. "$ref": "#/definitions/app.Response"
  3497. }
  3498. }
  3499. }
  3500. }
  3501. },
  3502. "/Search/SearchGoodses": {
  3503. "get": {
  3504. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3505. "produces": [
  3506. "application/json"
  3507. ],
  3508. "tags": [
  3509. "检索服务"
  3510. ],
  3511. "summary": "检索商品信息",
  3512. "parameters": [
  3513. {
  3514. "type": "string",
  3515. "description": "检索内容",
  3516. "name": "content",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "string",
  3522. "description": "交易模式,格式:1,2,3",
  3523. "name": "tradeModes",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "$ref": "#/definitions/models.SearchGoods"
  3532. }
  3533. },
  3534. "500": {
  3535. "description": "Internal Server Error",
  3536. "schema": {
  3537. "$ref": "#/definitions/app.Response"
  3538. }
  3539. }
  3540. }
  3541. }
  3542. },
  3543. "/TaAccount/QueryAmountLog": {
  3544. "get": {
  3545. "security": [
  3546. {
  3547. "ApiKeyAuth": []
  3548. }
  3549. ],
  3550. "produces": [
  3551. "application/json"
  3552. ],
  3553. "tags": [
  3554. "资金账户"
  3555. ],
  3556. "summary": "资金流水查询(当前)",
  3557. "parameters": [
  3558. {
  3559. "type": "integer",
  3560. "description": "页码",
  3561. "name": "page",
  3562. "in": "query"
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "每页条数",
  3567. "name": "pagesize",
  3568. "in": "query"
  3569. },
  3570. {
  3571. "type": "string",
  3572. "description": "资金账户 - 格式:1,2,3",
  3573. "name": "accountID",
  3574. "in": "query",
  3575. "required": true
  3576. },
  3577. {
  3578. "type": "string",
  3579. "description": "资金操作类型 - 格式:1,2,3",
  3580. "name": "OperateType",
  3581. "in": "query"
  3582. }
  3583. ],
  3584. "responses": {
  3585. "200": {
  3586. "description": "OK",
  3587. "schema": {
  3588. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3589. }
  3590. },
  3591. "500": {
  3592. "description": "Internal Server Error",
  3593. "schema": {
  3594. "$ref": "#/definitions/app.Response"
  3595. }
  3596. }
  3597. }
  3598. }
  3599. },
  3600. "/TaAccount/QueryHisAmountLog": {
  3601. "get": {
  3602. "security": [
  3603. {
  3604. "ApiKeyAuth": []
  3605. }
  3606. ],
  3607. "produces": [
  3608. "application/json"
  3609. ],
  3610. "tags": [
  3611. "资金账户"
  3612. ],
  3613. "summary": "资金流水查询(历史)",
  3614. "parameters": [
  3615. {
  3616. "type": "integer",
  3617. "description": "页码",
  3618. "name": "page",
  3619. "in": "query"
  3620. },
  3621. {
  3622. "type": "integer",
  3623. "description": "每页条数",
  3624. "name": "pagesize",
  3625. "in": "query"
  3626. },
  3627. {
  3628. "type": "string",
  3629. "description": "资金账户 - 格式:1,2,3",
  3630. "name": "accountID",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "资金操作类型 - 格式:1,2,3",
  3637. "name": "OperateType",
  3638. "in": "query"
  3639. },
  3640. {
  3641. "type": "string",
  3642. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3643. "name": "startDate",
  3644. "in": "query"
  3645. },
  3646. {
  3647. "type": "string",
  3648. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3649. "name": "endDate",
  3650. "in": "query"
  3651. }
  3652. ],
  3653. "responses": {
  3654. "200": {
  3655. "description": "OK",
  3656. "schema": {
  3657. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3658. }
  3659. },
  3660. "500": {
  3661. "description": "Internal Server Error",
  3662. "schema": {
  3663. "$ref": "#/definitions/app.Response"
  3664. }
  3665. }
  3666. }
  3667. }
  3668. },
  3669. "/Trade/QueryRecieptOrder": {
  3670. "get": {
  3671. "security": [
  3672. {
  3673. "ApiKeyAuth": []
  3674. }
  3675. ],
  3676. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3677. "produces": [
  3678. "application/json"
  3679. ],
  3680. "tags": [
  3681. "通用交易"
  3682. ],
  3683. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3684. "parameters": [
  3685. {
  3686. "type": "integer",
  3687. "description": "页码",
  3688. "name": "page",
  3689. "in": "query"
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "每页条数",
  3694. "name": "pagesize",
  3695. "in": "query"
  3696. },
  3697. {
  3698. "type": "integer",
  3699. "description": "商品ID",
  3700. "name": "goodsID",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "string",
  3706. "description": "所属账户名称",
  3707. "name": "accountName",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "市场ID",
  3713. "name": "marketID",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "方向 - 0:买 1:卖",
  3719. "name": "buyorsell",
  3720. "in": "query",
  3721. "required": true
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3729. }
  3730. },
  3731. "500": {
  3732. "description": "Internal Server Error",
  3733. "schema": {
  3734. "$ref": "#/definitions/app.Response"
  3735. }
  3736. }
  3737. }
  3738. }
  3739. },
  3740. "/User/AddMessageBoard": {
  3741. "post": {
  3742. "security": [
  3743. {
  3744. "ApiKeyAuth": []
  3745. }
  3746. ],
  3747. "produces": [
  3748. "application/json"
  3749. ],
  3750. "tags": [
  3751. "用户信息"
  3752. ],
  3753. "summary": "添加用户留言板信息",
  3754. "parameters": [
  3755. {
  3756. "type": "integer",
  3757. "description": "用户ID",
  3758. "name": "userID",
  3759. "in": "query",
  3760. "required": true
  3761. },
  3762. {
  3763. "type": "string",
  3764. "description": "留言信息",
  3765. "name": "message",
  3766. "in": "query",
  3767. "required": true
  3768. }
  3769. ],
  3770. "responses": {
  3771. "200": {
  3772. "description": "OK",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. },
  3777. "500": {
  3778. "description": "Internal Server Error",
  3779. "schema": {
  3780. "$ref": "#/definitions/app.Response"
  3781. }
  3782. }
  3783. }
  3784. }
  3785. },
  3786. "/User/AddUserFavoriteGoods": {
  3787. "post": {
  3788. "security": [
  3789. {
  3790. "ApiKeyAuth": []
  3791. }
  3792. ],
  3793. "produces": [
  3794. "application/json"
  3795. ],
  3796. "tags": [
  3797. "用户信息"
  3798. ],
  3799. "summary": "添加用户商品收藏信息",
  3800. "parameters": [
  3801. {
  3802. "type": "integer",
  3803. "description": "用户ID",
  3804. "name": "userID",
  3805. "in": "query",
  3806. "required": true
  3807. },
  3808. {
  3809. "type": "integer",
  3810. "description": "商品ID",
  3811. "name": "goodsID",
  3812. "in": "query",
  3813. "required": true
  3814. }
  3815. ],
  3816. "responses": {
  3817. "200": {
  3818. "description": "OK",
  3819. "schema": {
  3820. "$ref": "#/definitions/app.Response"
  3821. }
  3822. },
  3823. "500": {
  3824. "description": "Internal Server Error",
  3825. "schema": {
  3826. "$ref": "#/definitions/app.Response"
  3827. }
  3828. }
  3829. }
  3830. }
  3831. },
  3832. "/User/GetLoginID": {
  3833. "get": {
  3834. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3835. "produces": [
  3836. "application/json"
  3837. ],
  3838. "tags": [
  3839. "用户信息"
  3840. ],
  3841. "summary": "获取登录ID",
  3842. "parameters": [
  3843. {
  3844. "type": "string",
  3845. "description": "登录代码",
  3846. "name": "username",
  3847. "in": "query",
  3848. "required": true
  3849. }
  3850. ],
  3851. "responses": {
  3852. "200": {
  3853. "description": "OK",
  3854. "schema": {
  3855. "$ref": "#/definitions/app.Response"
  3856. }
  3857. },
  3858. "500": {
  3859. "description": "Internal Server Error",
  3860. "schema": {
  3861. "$ref": "#/definitions/app.Response"
  3862. }
  3863. }
  3864. }
  3865. }
  3866. },
  3867. "/User/GetUserAccount": {
  3868. "get": {
  3869. "security": [
  3870. {
  3871. "ApiKeyAuth": []
  3872. }
  3873. ],
  3874. "produces": [
  3875. "application/json"
  3876. ],
  3877. "tags": [
  3878. "用户信息"
  3879. ],
  3880. "summary": "获取用户账号信息",
  3881. "parameters": [
  3882. {
  3883. "type": "integer",
  3884. "description": "用户ID",
  3885. "name": "userID",
  3886. "in": "query",
  3887. "required": true
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "$ref": "#/definitions/models.Useraccount"
  3895. }
  3896. },
  3897. "500": {
  3898. "description": "Internal Server Error",
  3899. "schema": {
  3900. "$ref": "#/definitions/app.Response"
  3901. }
  3902. }
  3903. }
  3904. }
  3905. },
  3906. "/User/GetUserAuthStatus": {
  3907. "get": {
  3908. "security": [
  3909. {
  3910. "ApiKeyAuth": []
  3911. }
  3912. ],
  3913. "produces": [
  3914. "application/json"
  3915. ],
  3916. "tags": [
  3917. "用户信息"
  3918. ],
  3919. "summary": "获取用户实名认证状态",
  3920. "parameters": [
  3921. {
  3922. "type": "integer",
  3923. "description": "用户ID",
  3924. "name": "userID",
  3925. "in": "query",
  3926. "required": true
  3927. }
  3928. ],
  3929. "responses": {
  3930. "200": {
  3931. "description": "OK",
  3932. "schema": {
  3933. "$ref": "#/definitions/app.Response"
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/app.Response"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/User/QueryMessageBoard": {
  3946. "get": {
  3947. "security": [
  3948. {
  3949. "ApiKeyAuth": []
  3950. }
  3951. ],
  3952. "produces": [
  3953. "application/json"
  3954. ],
  3955. "tags": [
  3956. "用户信息"
  3957. ],
  3958. "summary": "获取用户留言板信息",
  3959. "parameters": [
  3960. {
  3961. "type": "integer",
  3962. "description": "用户ID",
  3963. "name": "userID",
  3964. "in": "query",
  3965. "required": true
  3966. }
  3967. ],
  3968. "responses": {
  3969. "200": {
  3970. "description": "OK",
  3971. "schema": {
  3972. "$ref": "#/definitions/models.Messageboard"
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "Internal Server Error",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "/User/QueryUserFavoriteGoodses": {
  3985. "get": {
  3986. "security": [
  3987. {
  3988. "ApiKeyAuth": []
  3989. }
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "用户信息"
  3996. ],
  3997. "summary": "获取用户商品收藏信息",
  3998. "parameters": [
  3999. {
  4000. "type": "integer",
  4001. "description": "用户ID",
  4002. "name": "userID",
  4003. "in": "query",
  4004. "required": true
  4005. }
  4006. ],
  4007. "responses": {
  4008. "200": {
  4009. "description": "OK",
  4010. "schema": {
  4011. "$ref": "#/definitions/models.Userfavoritegoods"
  4012. }
  4013. },
  4014. "500": {
  4015. "description": "Internal Server Error",
  4016. "schema": {
  4017. "$ref": "#/definitions/app.Response"
  4018. }
  4019. }
  4020. }
  4021. }
  4022. },
  4023. "/User/QueryUserInfo": {
  4024. "get": {
  4025. "security": [
  4026. {
  4027. "ApiKeyAuth": []
  4028. }
  4029. ],
  4030. "produces": [
  4031. "application/json"
  4032. ],
  4033. "tags": [
  4034. "用户信息"
  4035. ],
  4036. "summary": "获取用户信息",
  4037. "parameters": [
  4038. {
  4039. "type": "integer",
  4040. "description": "用户ID",
  4041. "name": "userID",
  4042. "in": "query",
  4043. "required": true
  4044. }
  4045. ],
  4046. "responses": {
  4047. "200": {
  4048. "description": "OK",
  4049. "schema": {
  4050. "$ref": "#/definitions/models.Userinfo"
  4051. }
  4052. },
  4053. "500": {
  4054. "description": "Internal Server Error",
  4055. "schema": {
  4056. "$ref": "#/definitions/app.Response"
  4057. }
  4058. }
  4059. }
  4060. }
  4061. },
  4062. "/User/QueryUserReferNum": {
  4063. "get": {
  4064. "produces": [
  4065. "application/json"
  4066. ],
  4067. "tags": [
  4068. "用户信息"
  4069. ],
  4070. "summary": "获取用户邀请码",
  4071. "parameters": [
  4072. {
  4073. "type": "integer",
  4074. "description": "用户ID",
  4075. "name": "userID",
  4076. "in": "query",
  4077. "required": true
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "$ref": "#/definitions/app.Response"
  4085. }
  4086. },
  4087. "500": {
  4088. "description": "Internal Server Error",
  4089. "schema": {
  4090. "$ref": "#/definitions/app.Response"
  4091. }
  4092. }
  4093. }
  4094. }
  4095. },
  4096. "/User/RemoveUserFavoriteGoods": {
  4097. "post": {
  4098. "security": [
  4099. {
  4100. "ApiKeyAuth": []
  4101. }
  4102. ],
  4103. "produces": [
  4104. "application/json"
  4105. ],
  4106. "tags": [
  4107. "用户信息"
  4108. ],
  4109. "summary": "移除用户商品收藏信息",
  4110. "parameters": [
  4111. {
  4112. "type": "integer",
  4113. "description": "用户ID",
  4114. "name": "userID",
  4115. "in": "query",
  4116. "required": true
  4117. },
  4118. {
  4119. "type": "integer",
  4120. "description": "商品ID",
  4121. "name": "goodsID",
  4122. "in": "query",
  4123. "required": true
  4124. }
  4125. ],
  4126. "responses": {
  4127. "200": {
  4128. "description": "OK",
  4129. "schema": {
  4130. "$ref": "#/definitions/app.Response"
  4131. }
  4132. },
  4133. "500": {
  4134. "description": "Internal Server Error",
  4135. "schema": {
  4136. "$ref": "#/definitions/app.Response"
  4137. }
  4138. }
  4139. }
  4140. }
  4141. },
  4142. "/WR/GetWRCategoryInfo": {
  4143. "get": {
  4144. "produces": [
  4145. "application/json"
  4146. ],
  4147. "tags": [
  4148. "仓单服务"
  4149. ],
  4150. "summary": "获取现货分类信息",
  4151. "responses": {
  4152. "200": {
  4153. "description": "OK",
  4154. "schema": {
  4155. "$ref": "#/definitions/models.WRCategoryTree"
  4156. }
  4157. },
  4158. "500": {
  4159. "description": "Internal Server Error",
  4160. "schema": {
  4161. "$ref": "#/definitions/app.Response"
  4162. }
  4163. }
  4164. }
  4165. }
  4166. },
  4167. "/WRTrade/GetAllDeliveryGoods": {
  4168. "get": {
  4169. "security": [
  4170. {
  4171. "ApiKeyAuth": []
  4172. },
  4173. {
  4174. "ApiKeyAuth": []
  4175. }
  4176. ],
  4177. "produces": [
  4178. "application/json",
  4179. "application/json"
  4180. ],
  4181. "tags": [
  4182. "仓单贸易",
  4183. "仓单贸易"
  4184. ],
  4185. "summary": "获取带仓单分类的种类信息",
  4186. "responses": {
  4187. "200": {
  4188. "description": "OK",
  4189. "schema": {
  4190. "$ref": "#/definitions/app.Response"
  4191. }
  4192. },
  4193. "500": {
  4194. "description": "Internal Server Error",
  4195. "schema": {
  4196. "$ref": "#/definitions/app.Response"
  4197. }
  4198. }
  4199. }
  4200. }
  4201. }
  4202. },
  4203. "definitions": {
  4204. "app.Response": {
  4205. "type": "object",
  4206. "properties": {
  4207. "code": {
  4208. "type": "integer"
  4209. },
  4210. "data": {
  4211. "type": "object"
  4212. },
  4213. "msg": {
  4214. "type": "string"
  4215. },
  4216. "page": {
  4217. "description": "页码",
  4218. "type": "integer"
  4219. },
  4220. "pagesize": {
  4221. "description": "每页条数",
  4222. "type": "integer"
  4223. },
  4224. "total": {
  4225. "description": "总条数",
  4226. "type": "integer"
  4227. }
  4228. }
  4229. },
  4230. "common.QueryNoticeRsp": {
  4231. "type": "object",
  4232. "required": [
  4233. "autoid"
  4234. ],
  4235. "properties": {
  4236. "auditoruserid": {
  4237. "description": "审核人",
  4238. "type": "integer"
  4239. },
  4240. "auditremark": {
  4241. "description": "审核备注",
  4242. "type": "string"
  4243. },
  4244. "audittime": {
  4245. "description": "审核日期",
  4246. "type": "string"
  4247. },
  4248. "autoid": {
  4249. "description": "自增ID",
  4250. "type": "integer"
  4251. },
  4252. "content": {
  4253. "description": "内容",
  4254. "type": "string"
  4255. },
  4256. "createtime": {
  4257. "description": "创建时间",
  4258. "type": "string"
  4259. },
  4260. "creatorid": {
  4261. "description": "建仓人",
  4262. "type": "integer"
  4263. },
  4264. "endtime": {
  4265. "description": "结束时间",
  4266. "type": "string"
  4267. },
  4268. "istop": {
  4269. "description": "是否置顶 - 0:不置顶 1:置顶",
  4270. "type": "integer"
  4271. },
  4272. "msgiconurl": {
  4273. "description": "消息图标Url",
  4274. "type": "string"
  4275. },
  4276. "msgtype": {
  4277. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4278. "type": "integer"
  4279. },
  4280. "publisher": {
  4281. "description": "消息发布者",
  4282. "type": "string"
  4283. },
  4284. "readed": {
  4285. "description": "是否已读",
  4286. "type": "boolean"
  4287. },
  4288. "scheduletime": {
  4289. "description": "计划发送时间",
  4290. "type": "string"
  4291. },
  4292. "sendtype": {
  4293. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4294. "type": "integer"
  4295. },
  4296. "sentstatus": {
  4297. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4298. "type": "integer"
  4299. },
  4300. "title": {
  4301. "description": "标题",
  4302. "type": "string"
  4303. },
  4304. "userid": {
  4305. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4306. "type": "integer"
  4307. }
  4308. }
  4309. },
  4310. "common.QueryProvincesAndCitiesRsp": {
  4311. "type": "object",
  4312. "properties": {
  4313. "cities": {
  4314. "description": "市",
  4315. "type": "array",
  4316. "items": {
  4317. "$ref": "#/definitions/models.Division"
  4318. }
  4319. },
  4320. "province": {
  4321. "description": "省",
  4322. "type": "object",
  4323. "$ref": "#/definitions/models.Division"
  4324. }
  4325. }
  4326. },
  4327. "common.QueryTableDefineRsp": {
  4328. "type": "object",
  4329. "required": [
  4330. "tablekey"
  4331. ],
  4332. "properties": {
  4333. "columns": {
  4334. "description": "列头信息数组",
  4335. "type": "array",
  4336. "items": {
  4337. "$ref": "#/definitions/models.Tablecolumnconfig"
  4338. }
  4339. },
  4340. "remark": {
  4341. "description": "Remark",
  4342. "type": "string"
  4343. },
  4344. "tabelmenu": {
  4345. "description": "列表菜单",
  4346. "type": "string"
  4347. },
  4348. "tablekey": {
  4349. "description": "列表Key",
  4350. "type": "string"
  4351. },
  4352. "tablename": {
  4353. "description": "列表名称",
  4354. "type": "string"
  4355. },
  4356. "tabletype": {
  4357. "description": "列表类型 - 1:管理端 2:终端",
  4358. "type": "integer"
  4359. }
  4360. }
  4361. },
  4362. "common.QueryTraderMenuRsp": {
  4363. "type": "object",
  4364. "properties": {
  4365. "OperationMenu": {
  4366. "description": "功能菜单",
  4367. "type": "array",
  4368. "items": {
  4369. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4370. }
  4371. },
  4372. "QuoteMenu": {
  4373. "description": "报价牌分类菜单",
  4374. "type": "array",
  4375. "items": {
  4376. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "cptrade.Cptradepositioncancel": {
  4382. "type": "object",
  4383. "required": [
  4384. "cancelid"
  4385. ],
  4386. "properties": {
  4387. "accountid": {
  4388. "description": "申请人账户ID",
  4389. "type": "integer"
  4390. },
  4391. "applystatus": {
  4392. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4393. "type": "integer"
  4394. },
  4395. "applytime": {
  4396. "description": "申请时间",
  4397. "type": "string"
  4398. },
  4399. "cancelid": {
  4400. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4401. "type": "integer"
  4402. },
  4403. "cancelqty": {
  4404. "description": "注销数量",
  4405. "type": "integer"
  4406. },
  4407. "createtime": {
  4408. "description": "创建时间",
  4409. "type": "string"
  4410. },
  4411. "creatorid": {
  4412. "description": "创建人ID",
  4413. "type": "integer"
  4414. },
  4415. "creatorname": {
  4416. "description": "创建人",
  4417. "type": "string"
  4418. },
  4419. "goodscode": {
  4420. "description": "订单商品代码",
  4421. "type": "string"
  4422. },
  4423. "goodsid": {
  4424. "description": "商品ID",
  4425. "type": "integer"
  4426. },
  4427. "goodsname": {
  4428. "description": "订单商品名称",
  4429. "type": "string"
  4430. },
  4431. "goodunit": {
  4432. "description": "报价单位",
  4433. "type": "string"
  4434. },
  4435. "handlestatus": {
  4436. "description": "处理状态",
  4437. "type": "integer"
  4438. },
  4439. "marketid": {
  4440. "description": "市场ID",
  4441. "type": "integer"
  4442. },
  4443. "marketname": {
  4444. "description": "市场名称",
  4445. "type": "string"
  4446. },
  4447. "tradedate": {
  4448. "description": "交易日(yyyyMMdd)",
  4449. "type": "string"
  4450. },
  4451. "userid": {
  4452. "description": "申请人ID",
  4453. "type": "integer"
  4454. }
  4455. }
  4456. },
  4457. "cptrade.Cptradepresaleapply": {
  4458. "type": "object",
  4459. "required": [
  4460. "applyid"
  4461. ],
  4462. "properties": {
  4463. "accountid": {
  4464. "description": "申请人账户ID",
  4465. "type": "integer"
  4466. },
  4467. "applyid": {
  4468. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4469. "type": "integer"
  4470. },
  4471. "applyremark": {
  4472. "description": "申请备注",
  4473. "type": "string"
  4474. },
  4475. "applystatus": {
  4476. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4477. "type": "integer"
  4478. },
  4479. "applytime": {
  4480. "description": "申请时间",
  4481. "type": "string"
  4482. },
  4483. "attachmenturl": {
  4484. "description": "附件地址",
  4485. "type": "string"
  4486. },
  4487. "endtime": {
  4488. "description": "预售结束时间",
  4489. "type": "string"
  4490. },
  4491. "goodscode": {
  4492. "description": "商品代码",
  4493. "type": "string"
  4494. },
  4495. "goodsid": {
  4496. "description": "商品ID",
  4497. "type": "integer"
  4498. },
  4499. "goodsname": {
  4500. "description": "商品名称",
  4501. "type": "string"
  4502. },
  4503. "goodunit": {
  4504. "description": "报价单位",
  4505. "type": "string"
  4506. },
  4507. "handlestatus": {
  4508. "description": "处理状态",
  4509. "type": "integer"
  4510. },
  4511. "marketid": {
  4512. "description": "预售市场ID",
  4513. "type": "integer"
  4514. },
  4515. "marketname": {
  4516. "description": "预售市场名称",
  4517. "type": "string"
  4518. },
  4519. "presaleqty": {
  4520. "description": "预售数量",
  4521. "type": "integer"
  4522. },
  4523. "relatedgoodscode": {
  4524. "description": "关联交易合约代码",
  4525. "type": "string"
  4526. },
  4527. "relatedgoodsid": {
  4528. "description": "关联交易合约ID",
  4529. "type": "integer"
  4530. },
  4531. "relatedgoodsname": {
  4532. "description": "关联交易合约名称",
  4533. "type": "string"
  4534. },
  4535. "starttime": {
  4536. "description": "预售开始时间",
  4537. "type": "string"
  4538. },
  4539. "tradedate": {
  4540. "description": "交易日(yyyyMMdd)",
  4541. "type": "string"
  4542. },
  4543. "trademode": {
  4544. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4545. "type": "integer"
  4546. },
  4547. "userid": {
  4548. "description": "申请人ID",
  4549. "type": "integer"
  4550. }
  4551. }
  4552. },
  4553. "cptrade.Cptradeusergoodsdata": {
  4554. "type": "object",
  4555. "required": [
  4556. "accountid",
  4557. "goodsid"
  4558. ],
  4559. "properties": {
  4560. "EnabledQty": {
  4561. "description": "可用量",
  4562. "type": "integer"
  4563. },
  4564. "GoodsCode": {
  4565. "description": "订单商品代码",
  4566. "type": "string"
  4567. },
  4568. "GoodsName": {
  4569. "description": "订单商品名称",
  4570. "type": "string"
  4571. },
  4572. "WRStandardCode": {
  4573. "description": "仓单标准代码",
  4574. "type": "string"
  4575. },
  4576. "WRStandardName": {
  4577. "description": "仓单标准名称",
  4578. "type": "string"
  4579. },
  4580. "accountid": {
  4581. "description": "账户ID",
  4582. "type": "integer"
  4583. },
  4584. "cancelqty": {
  4585. "description": "注销量",
  4586. "type": "integer"
  4587. },
  4588. "curpresaleqty": {
  4589. "description": "当前预售量",
  4590. "type": "integer"
  4591. },
  4592. "deliveryqty": {
  4593. "description": "交割量",
  4594. "type": "integer"
  4595. },
  4596. "freezeamount": {
  4597. "description": "冻结金额",
  4598. "type": "number"
  4599. },
  4600. "goodsid": {
  4601. "description": "商品ID",
  4602. "type": "integer"
  4603. },
  4604. "goodunit": {
  4605. "description": "报价单位",
  4606. "type": "string"
  4607. },
  4608. "hasspotfreeze": {
  4609. "description": "是否有现货冻结 - 0:否 1:有",
  4610. "type": "integer"
  4611. },
  4612. "inqty": {
  4613. "description": "转入量(总数量)",
  4614. "type": "integer"
  4615. },
  4616. "marketid": {
  4617. "description": "市场ID",
  4618. "type": "integer"
  4619. },
  4620. "presaledamount": {
  4621. "description": "已预售总金额",
  4622. "type": "integer"
  4623. },
  4624. "presaledqty": {
  4625. "description": "已预售量",
  4626. "type": "integer"
  4627. },
  4628. "userid": {
  4629. "description": "用户ID",
  4630. "type": "integer"
  4631. },
  4632. "wrstandardid": {
  4633. "description": "仓单标准ID",
  4634. "type": "integer"
  4635. }
  4636. }
  4637. },
  4638. "cptrade.QueryCPTradeMyBidRsp": {
  4639. "type": "object",
  4640. "required": [
  4641. "accountid",
  4642. "goodsid",
  4643. "marketid",
  4644. "orderid",
  4645. "orderqty",
  4646. "ordertime",
  4647. "tradeprice",
  4648. "tradeqty"
  4649. ],
  4650. "properties": {
  4651. "accountid": {
  4652. "description": "账户ID[报价币种]",
  4653. "type": "integer"
  4654. },
  4655. "goodsid": {
  4656. "description": "商品ID",
  4657. "type": "integer"
  4658. },
  4659. "goodunit": {
  4660. "description": "报价单位",
  4661. "type": "string"
  4662. },
  4663. "marketid": {
  4664. "description": "市场ID",
  4665. "type": "integer"
  4666. },
  4667. "orderid": {
  4668. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4669. "type": "integer"
  4670. },
  4671. "orderprice": {
  4672. "description": "委托价格",
  4673. "type": "number"
  4674. },
  4675. "orderqty": {
  4676. "description": "委托数量",
  4677. "type": "integer"
  4678. },
  4679. "ordertime": {
  4680. "description": "委托时间",
  4681. "type": "string"
  4682. },
  4683. "ordertotalprice": {
  4684. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4685. "type": "number"
  4686. },
  4687. "ordertotalweight": {
  4688. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4689. "type": "integer"
  4690. },
  4691. "totaltotalprice": {
  4692. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4693. "type": "number"
  4694. },
  4695. "tradeprice": {
  4696. "description": "成交价格",
  4697. "type": "number"
  4698. },
  4699. "tradeqty": {
  4700. "description": "成交数量",
  4701. "type": "integer"
  4702. }
  4703. }
  4704. },
  4705. "cptrade.QueryCPTradeOrderDetailRsq": {
  4706. "type": "object",
  4707. "required": [
  4708. "accountid",
  4709. "buildtype",
  4710. "buyorsell",
  4711. "goodsid",
  4712. "marketid",
  4713. "memberuserid",
  4714. "operatetype",
  4715. "orderqty",
  4716. "ordertime",
  4717. "pricemode",
  4718. "strorderid",
  4719. "tradedate",
  4720. "validtype"
  4721. ],
  4722. "properties": {
  4723. "accountid": {
  4724. "description": "账户ID[报价币种]",
  4725. "type": "integer"
  4726. },
  4727. "buildtype": {
  4728. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4729. "type": "integer"
  4730. },
  4731. "buyorsell": {
  4732. "description": "买卖 - 0:买 1:卖",
  4733. "type": "integer"
  4734. },
  4735. "cancelorderid": {
  4736. "description": "撤单单号(撤单时填写)",
  4737. "type": "integer"
  4738. },
  4739. "cancelqty": {
  4740. "description": "撤单数量",
  4741. "type": "integer"
  4742. },
  4743. "clientordertime": {
  4744. "description": "客户端委托时间",
  4745. "type": "string"
  4746. },
  4747. "clientticket": {
  4748. "description": "客户端流水号",
  4749. "type": "string"
  4750. },
  4751. "clienttype": {
  4752. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4753. "type": "integer"
  4754. },
  4755. "closeexchagechargevalue": {
  4756. "description": "平仓交易所手续费设置值",
  4757. "type": "number"
  4758. },
  4759. "closefeealgorithm": {
  4760. "description": "平仓手续费收取方式 1:比率 2:固定",
  4761. "type": "integer"
  4762. },
  4763. "closefreezecharge": {
  4764. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4765. "type": "number"
  4766. },
  4767. "closememberchargevalue": {
  4768. "description": "平仓会员手续费设置值",
  4769. "type": "number"
  4770. },
  4771. "closeqty": {
  4772. "description": "平仓数量(先建后平操作 需要记录)",
  4773. "type": "integer"
  4774. },
  4775. "closetradeqty": {
  4776. "description": "平仓成交数量(先建后平操作,需要记录)",
  4777. "type": "integer"
  4778. },
  4779. "closeunfreezecharge": {
  4780. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4781. "type": "number"
  4782. },
  4783. "delistingtype": {
  4784. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4785. "type": "integer"
  4786. },
  4787. "freezecharge": {
  4788. "description": "冻结手续费",
  4789. "type": "number"
  4790. },
  4791. "freezemargin": {
  4792. "description": "冻结保证金(冻结交易金额)",
  4793. "type": "number"
  4794. },
  4795. "gcaccountid": {
  4796. "description": "账户ID[合约币种]",
  4797. "type": "integer"
  4798. },
  4799. "goodsid": {
  4800. "description": "商品ID",
  4801. "type": "integer"
  4802. },
  4803. "isconfirmexercise": {
  4804. "description": "是否确认行权- 0:否 1:是",
  4805. "type": "integer"
  4806. },
  4807. "ispreexercise": {
  4808. "description": "是否预申报- 0:否 1:是",
  4809. "type": "integer"
  4810. },
  4811. "listingselecttype": {
  4812. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4813. "type": "integer"
  4814. },
  4815. "marginalgorithm": {
  4816. "description": "保证金收取方式 1:比率 2:固定",
  4817. "type": "integer"
  4818. },
  4819. "marginvalue": {
  4820. "description": "即市保证金设置值",
  4821. "type": "number"
  4822. },
  4823. "marketid": {
  4824. "description": "市场ID",
  4825. "type": "integer"
  4826. },
  4827. "marketmaxsub": {
  4828. "description": "市价最大偏移范围",
  4829. "type": "number"
  4830. },
  4831. "memberuserid": {
  4832. "description": "所属会员UserID",
  4833. "type": "integer"
  4834. },
  4835. "openexchagechargevalue": {
  4836. "description": "建仓交易所手续费设置值",
  4837. "type": "number"
  4838. },
  4839. "openfeealgorithm": {
  4840. "description": "建仓手续费收取方式 1:比率 2:固定",
  4841. "type": "integer"
  4842. },
  4843. "openfreezecharge": {
  4844. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4845. "type": "number"
  4846. },
  4847. "openmemberchargevalue": {
  4848. "description": "建仓会员手续费设置值",
  4849. "type": "number"
  4850. },
  4851. "openqty": {
  4852. "description": "开仓数量(先建后平操作,需要记录)",
  4853. "type": "integer"
  4854. },
  4855. "opentradeqty": {
  4856. "description": "开仓成交数量(先建后平操作,需要记录)",
  4857. "type": "integer"
  4858. },
  4859. "openunfreezecharge": {
  4860. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4861. "type": "number"
  4862. },
  4863. "operatetype": {
  4864. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4865. "type": "integer"
  4866. },
  4867. "operatorid": {
  4868. "description": "登录账号(LoginID)",
  4869. "type": "integer"
  4870. },
  4871. "optiontype": {
  4872. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4873. "type": "integer"
  4874. },
  4875. "orderprice": {
  4876. "description": "委托价格",
  4877. "type": "number"
  4878. },
  4879. "orderqty": {
  4880. "description": "委托数量",
  4881. "type": "integer"
  4882. },
  4883. "ordersrc": {
  4884. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4885. "type": "integer"
  4886. },
  4887. "orderstatus": {
  4888. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4889. "type": "integer"
  4890. },
  4891. "ordertime": {
  4892. "description": "委托时间",
  4893. "type": "string"
  4894. },
  4895. "preexerciseprice": {
  4896. "description": "预申报价格",
  4897. "type": "number"
  4898. },
  4899. "premium": {
  4900. "description": "权利金",
  4901. "type": "number"
  4902. },
  4903. "preorderid": {
  4904. "description": "关联预埋单号(止盈止损单时填写)",
  4905. "type": "integer"
  4906. },
  4907. "pricemode": {
  4908. "description": "取价方式 - 1:市价 2: 限价",
  4909. "type": "integer"
  4910. },
  4911. "quoteid": {
  4912. "description": "报价单ID",
  4913. "type": "integer"
  4914. },
  4915. "relatedid": {
  4916. "description": "关联单号(交割单)",
  4917. "type": "integer"
  4918. },
  4919. "retcode": {
  4920. "description": "错误代码",
  4921. "type": "integer"
  4922. },
  4923. "sessionid": {
  4924. "description": "会话ID",
  4925. "type": "integer"
  4926. },
  4927. "strorderid": {
  4928. "description": "委托单号",
  4929. "type": "string"
  4930. },
  4931. "tradedate": {
  4932. "description": "交易日(yyyyMMdd)",
  4933. "type": "string"
  4934. },
  4935. "tradeproperty": {
  4936. "description": "交易属性",
  4937. "type": "integer"
  4938. },
  4939. "tradeqty": {
  4940. "description": "成交数量",
  4941. "type": "integer"
  4942. },
  4943. "unfreezecharge": {
  4944. "description": "解冻手续费",
  4945. "type": "number"
  4946. },
  4947. "unfreezemargin": {
  4948. "description": "解冻保证金",
  4949. "type": "number"
  4950. },
  4951. "updatetime": {
  4952. "description": "更新时间",
  4953. "type": "string"
  4954. },
  4955. "uuid": {
  4956. "description": "发起端唯一id",
  4957. "type": "string"
  4958. },
  4959. "validtime": {
  4960. "description": "有效期限",
  4961. "type": "string"
  4962. },
  4963. "validtype": {
  4964. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4965. "type": "integer"
  4966. },
  4967. "volumetype": {
  4968. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4969. "type": "integer"
  4970. }
  4971. }
  4972. },
  4973. "cptrade.QueryMyCPTradeGoodsRsp": {
  4974. "type": "object",
  4975. "required": [
  4976. "goodscode",
  4977. "goodsid",
  4978. "goodsname",
  4979. "marketid",
  4980. "relatedgoodscode",
  4981. "relatedgoodsname"
  4982. ],
  4983. "properties": {
  4984. "accountid": {
  4985. "description": "卖方账户ID",
  4986. "type": "integer"
  4987. },
  4988. "agreeunit": {
  4989. "description": "合约单位",
  4990. "type": "number"
  4991. },
  4992. "applyid": {
  4993. "description": "关联申请ID",
  4994. "type": "integer"
  4995. },
  4996. "attachmenturl": {
  4997. "description": "附件地址",
  4998. "type": "string"
  4999. },
  5000. "createtime": {
  5001. "description": "创建时间",
  5002. "type": "string"
  5003. },
  5004. "currencyid": {
  5005. "description": "报价货币ID",
  5006. "type": "integer"
  5007. },
  5008. "decimalplace": {
  5009. "description": "报价小数位",
  5010. "type": "integer"
  5011. },
  5012. "endtime": {
  5013. "description": "预售结束时间",
  5014. "type": "string"
  5015. },
  5016. "floorprice": {
  5017. "description": "底价[大宗式竞拍]",
  5018. "type": "number"
  5019. },
  5020. "goodscode": {
  5021. "description": "商品代码(预售)",
  5022. "type": "string"
  5023. },
  5024. "goodsdetail": {
  5025. "description": "详情[大宗]",
  5026. "type": "string"
  5027. },
  5028. "goodsid": {
  5029. "description": "商品ID(自增ID SEQ_GOODS)",
  5030. "type": "integer"
  5031. },
  5032. "goodsname": {
  5033. "description": "商品名称(预售)",
  5034. "type": "string"
  5035. },
  5036. "goodunit": {
  5037. "description": "报价单位",
  5038. "type": "string"
  5039. },
  5040. "goodunitid": {
  5041. "description": "报价单位ID",
  5042. "type": "integer"
  5043. },
  5044. "marketid": {
  5045. "description": "所属市场ID",
  5046. "type": "integer"
  5047. },
  5048. "marketname": {
  5049. "description": "预售市场名称",
  5050. "type": "string"
  5051. },
  5052. "presaledamount": {
  5053. "description": "已预售总金额(预售结束时更新)",
  5054. "type": "number"
  5055. },
  5056. "presaledqty": {
  5057. "description": "已预售量(预售结束时更新)",
  5058. "type": "integer"
  5059. },
  5060. "presalemode": {
  5061. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5062. "type": "integer"
  5063. },
  5064. "presaleqty": {
  5065. "description": "预售数量",
  5066. "type": "integer"
  5067. },
  5068. "refprice": {
  5069. "description": "参考价格[一口价]",
  5070. "type": "number"
  5071. },
  5072. "relatedgoodscode": {
  5073. "description": "商品代码(订单)",
  5074. "type": "string"
  5075. },
  5076. "relatedgoodsid": {
  5077. "description": "关联交易合约ID",
  5078. "type": "integer"
  5079. },
  5080. "relatedgoodsname": {
  5081. "description": "商品名称(订单)",
  5082. "type": "string"
  5083. },
  5084. "relatedmarketid": {
  5085. "description": "关联交易合约市场ID",
  5086. "type": "integer"
  5087. },
  5088. "sellstatus": {
  5089. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5090. "type": "integer"
  5091. },
  5092. "startprice": {
  5093. "description": "起拍价[大宗式竞拍]",
  5094. "type": "number"
  5095. },
  5096. "starttime": {
  5097. "description": "预售开始时间",
  5098. "type": "string"
  5099. },
  5100. "tradedate": {
  5101. "description": "交易日(yyyyMMdd)",
  5102. "type": "string"
  5103. },
  5104. "tradeprice": {
  5105. "description": "成交价[大宗]",
  5106. "type": "number"
  5107. },
  5108. "userid": {
  5109. "description": "卖方用户ID",
  5110. "type": "integer"
  5111. }
  5112. }
  5113. },
  5114. "cptrade.QueryPresaleGoodsExRsp": {
  5115. "type": "object",
  5116. "required": [
  5117. "goodsid"
  5118. ],
  5119. "properties": {
  5120. "attachmenturl": {
  5121. "description": "附件地址",
  5122. "type": "string"
  5123. },
  5124. "createtime": {
  5125. "description": "创建时间",
  5126. "type": "string"
  5127. },
  5128. "endtime": {
  5129. "description": "预售结束时间",
  5130. "type": "string"
  5131. },
  5132. "floorprice": {
  5133. "description": "底价[大宗式竞拍]",
  5134. "type": "number"
  5135. },
  5136. "goodsdetail": {
  5137. "description": "详情[大宗]",
  5138. "type": "string"
  5139. },
  5140. "goodsid": {
  5141. "description": "商品ID(预售)",
  5142. "type": "integer"
  5143. },
  5144. "goodunit": {
  5145. "description": "报价单位",
  5146. "type": "string"
  5147. },
  5148. "marketid": {
  5149. "description": "预售市场ID - 根据预售模式选择市场",
  5150. "type": "integer"
  5151. },
  5152. "presaledamount": {
  5153. "description": "已预售总金额(预售结束时更新)",
  5154. "type": "number"
  5155. },
  5156. "presaledqty": {
  5157. "description": "已预售量(预售结束时更新)",
  5158. "type": "integer"
  5159. },
  5160. "presalemode": {
  5161. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5162. "type": "integer"
  5163. },
  5164. "presaleqty": {
  5165. "description": "预售数量",
  5166. "type": "integer"
  5167. },
  5168. "refprice": {
  5169. "description": "参考价格[一口价]",
  5170. "type": "number"
  5171. },
  5172. "relatedgoodsid": {
  5173. "description": "关联交易合约ID",
  5174. "type": "integer"
  5175. },
  5176. "relatedmarketid": {
  5177. "description": "关联交易合约市场ID",
  5178. "type": "integer"
  5179. },
  5180. "sellstatus": {
  5181. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5182. "type": "integer"
  5183. },
  5184. "startprice": {
  5185. "description": "起拍价[大宗式竞拍]",
  5186. "type": "number"
  5187. },
  5188. "starttime": {
  5189. "description": "预售开始时间",
  5190. "type": "string"
  5191. },
  5192. "tradedate": {
  5193. "description": "交易日(yyyyMMdd)",
  5194. "type": "string"
  5195. },
  5196. "tradeprice": {
  5197. "description": "成交价[大宗]",
  5198. "type": "number"
  5199. }
  5200. }
  5201. },
  5202. "delivery.QueryDeliveryRelationRsp": {
  5203. "type": "object",
  5204. "required": [
  5205. "begindate",
  5206. "enddate",
  5207. "goodsid",
  5208. "mindeliveryqty",
  5209. "xdeliveryratio"
  5210. ],
  5211. "properties": {
  5212. "begindate": {
  5213. "description": "起始日期(yyyyMMdd)",
  5214. "type": "string"
  5215. },
  5216. "buytemplateid": {
  5217. "description": "买履约计划模板ID",
  5218. "type": "integer"
  5219. },
  5220. "deliverygoodscode": {
  5221. "description": "品种代码",
  5222. "type": "string"
  5223. },
  5224. "deliverygoodsid": {
  5225. "description": "交割商品",
  5226. "type": "integer"
  5227. },
  5228. "deliverygoodsname": {
  5229. "description": "品种名称",
  5230. "type": "string"
  5231. },
  5232. "deliverymode": {
  5233. "description": "交割方式 - 1:点选式 2:申报式",
  5234. "type": "integer"
  5235. },
  5236. "deliverypricerule": {
  5237. "description": "交割价规则- 1:行情价 2:建仓价",
  5238. "type": "integer"
  5239. },
  5240. "deliverytype": {
  5241. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5242. "type": "integer"
  5243. },
  5244. "enddate": {
  5245. "description": "结束日期(yyyyMMdd)",
  5246. "type": "string"
  5247. },
  5248. "goodscode": {
  5249. "description": "商品代码",
  5250. "type": "string"
  5251. },
  5252. "goodsid": {
  5253. "description": "交易合约ID",
  5254. "type": "integer"
  5255. },
  5256. "goodsname": {
  5257. "description": "商品名称",
  5258. "type": "string"
  5259. },
  5260. "marketid": {
  5261. "description": "市场ID",
  5262. "type": "integer"
  5263. },
  5264. "mindeliveryqty": {
  5265. "description": "最小交割系数(K)",
  5266. "type": "integer"
  5267. },
  5268. "p2deliveryprice": {
  5269. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5270. "type": "number"
  5271. },
  5272. "p2deliveryratio": {
  5273. "description": "P2合约系数(p)",
  5274. "type": "integer"
  5275. },
  5276. "p2goodsid": {
  5277. "description": "P2合约ID",
  5278. "type": "integer"
  5279. },
  5280. "p2pricemode": {
  5281. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5282. "type": "integer"
  5283. },
  5284. "pdeliveryprice": {
  5285. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5286. "type": "number"
  5287. },
  5288. "pdeliveryratio": {
  5289. "description": "P合约系数(n)",
  5290. "type": "integer"
  5291. },
  5292. "pgoodsid": {
  5293. "description": "P合约ID",
  5294. "type": "integer"
  5295. },
  5296. "ppricemode": {
  5297. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5298. "type": "integer"
  5299. },
  5300. "rratio": {
  5301. "description": "兑换系数(R)",
  5302. "type": "integer"
  5303. },
  5304. "rratio1": {
  5305. "description": "兑换系数(交易合约)(R1)",
  5306. "type": "integer"
  5307. },
  5308. "rratio2": {
  5309. "description": "兑换系数(仓单标准)(R2)",
  5310. "type": "integer"
  5311. },
  5312. "selltemplateid": {
  5313. "description": "卖履约计划模板ID",
  5314. "type": "integer"
  5315. },
  5316. "wrstandardid": {
  5317. "description": "仓单标准ID",
  5318. "type": "integer"
  5319. },
  5320. "xdeliveryratio": {
  5321. "description": "交易合约系数(m)",
  5322. "type": "integer"
  5323. }
  5324. }
  5325. },
  5326. "ermcp.QryBusinessDjRsp": {
  5327. "type": "object",
  5328. "properties": {
  5329. "applyid": {
  5330. "description": "申请人",
  5331. "type": "string"
  5332. },
  5333. "applyname": {
  5334. "description": "申请人名称",
  5335. "type": "string"
  5336. },
  5337. "applystatus": {
  5338. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5339. "type": "integer"
  5340. },
  5341. "applytime": {
  5342. "description": "申请时间",
  5343. "type": "string"
  5344. },
  5345. "auditname": {
  5346. "description": "审核人名称",
  5347. "type": "string"
  5348. },
  5349. "audittime": {
  5350. "description": "审核时间",
  5351. "type": "string"
  5352. },
  5353. "buyusername": {
  5354. "description": "采购方名称",
  5355. "type": "string"
  5356. },
  5357. "contractno": {
  5358. "description": "合同编号",
  5359. "type": "string"
  5360. },
  5361. "contracttype": {
  5362. "description": "现货合同类型 - 1:采购 -1:销售",
  5363. "type": "integer"
  5364. },
  5365. "enumdicname": {
  5366. "description": "单位名称",
  5367. "type": "string"
  5368. },
  5369. "goodscode": {
  5370. "description": "点价合约",
  5371. "type": "string"
  5372. },
  5373. "goodsname": {
  5374. "description": "商品名称",
  5375. "type": "string"
  5376. },
  5377. "operateapplyid": {
  5378. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5379. "type": "string"
  5380. },
  5381. "operateapplytype": {
  5382. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5383. "type": "integer"
  5384. },
  5385. "pricedPrice": {
  5386. "description": "点价价格(非必填)",
  5387. "type": "number"
  5388. },
  5389. "pricedQty": {
  5390. "description": "点价数量(非必填)",
  5391. "type": "number"
  5392. },
  5393. "pricemove": {
  5394. "description": "升贴水",
  5395. "type": "number"
  5396. },
  5397. "pricetype": {
  5398. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5399. "type": "integer"
  5400. },
  5401. "relatedid": {
  5402. "description": "现货合同ID",
  5403. "type": "string"
  5404. },
  5405. "sellusername": {
  5406. "description": "销售方名字",
  5407. "type": "string"
  5408. }
  5409. }
  5410. },
  5411. "ermcp.QryBussinessFpRsp": {
  5412. "type": "object",
  5413. "properties": {
  5414. "applyid": {
  5415. "description": "申请人",
  5416. "type": "string"
  5417. },
  5418. "applyname": {
  5419. "description": "申请人名称",
  5420. "type": "string"
  5421. },
  5422. "applystatus": {
  5423. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5424. "type": "integer"
  5425. },
  5426. "applytime": {
  5427. "description": "申请时间",
  5428. "type": "string"
  5429. },
  5430. "auditname": {
  5431. "description": "审核人名称",
  5432. "type": "string"
  5433. },
  5434. "audittime": {
  5435. "description": "审核时间",
  5436. "type": "string"
  5437. },
  5438. "buyusername": {
  5439. "description": "采购方名称",
  5440. "type": "string"
  5441. },
  5442. "contractno": {
  5443. "description": "合同编号",
  5444. "type": "string"
  5445. },
  5446. "contracttype": {
  5447. "description": "现货合同类型 - 1:采购 -1:销售",
  5448. "type": "integer"
  5449. },
  5450. "enumdicname": {
  5451. "description": "单位名称",
  5452. "type": "string"
  5453. },
  5454. "goodscode": {
  5455. "description": "点价合约",
  5456. "type": "string"
  5457. },
  5458. "goodsname": {
  5459. "description": "商品名称",
  5460. "type": "string"
  5461. },
  5462. "invoiceAmount": {
  5463. "description": "已开收票金额(销售为开票,采购为收票)",
  5464. "type": "number"
  5465. },
  5466. "operateapplyid": {
  5467. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5468. "type": "string"
  5469. },
  5470. "operateapplytype": {
  5471. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5472. "type": "integer"
  5473. },
  5474. "pricemove": {
  5475. "description": "升贴水",
  5476. "type": "number"
  5477. },
  5478. "pricetype": {
  5479. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5480. "type": "integer"
  5481. },
  5482. "relatedid": {
  5483. "description": "现货合同ID",
  5484. "type": "string"
  5485. },
  5486. "sellusername": {
  5487. "description": "销售方名字",
  5488. "type": "string"
  5489. }
  5490. }
  5491. },
  5492. "ermcp.QryBussinessJsRsp": {
  5493. "type": "object",
  5494. "properties": {
  5495. "addmargin": {
  5496. "description": "追加保证金(非必填)",
  5497. "type": "number"
  5498. },
  5499. "applyid": {
  5500. "description": "申请人",
  5501. "type": "string"
  5502. },
  5503. "applyname": {
  5504. "description": "申请人名称",
  5505. "type": "string"
  5506. },
  5507. "applystatus": {
  5508. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5509. "type": "integer"
  5510. },
  5511. "applytime": {
  5512. "description": "申请时间",
  5513. "type": "string"
  5514. },
  5515. "auditname": {
  5516. "description": "审核人名称",
  5517. "type": "string"
  5518. },
  5519. "audittime": {
  5520. "description": "审核时间",
  5521. "type": "string"
  5522. },
  5523. "buyusername": {
  5524. "description": "采购方名称",
  5525. "type": "string"
  5526. },
  5527. "contractno": {
  5528. "description": "合同编号",
  5529. "type": "string"
  5530. },
  5531. "contracttype": {
  5532. "description": "现货合同类型 - 1:采购 -1:销售",
  5533. "type": "integer"
  5534. },
  5535. "decmargin": {
  5536. "description": "减少保证金(非必填)",
  5537. "type": "number"
  5538. },
  5539. "enumdicname": {
  5540. "description": "单位名称",
  5541. "type": "string"
  5542. },
  5543. "goodscode": {
  5544. "description": "点价合约",
  5545. "type": "string"
  5546. },
  5547. "goodsname": {
  5548. "description": "商品名称",
  5549. "type": "string"
  5550. },
  5551. "operateapplyid": {
  5552. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5553. "type": "string"
  5554. },
  5555. "operateapplytype": {
  5556. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5557. "type": "integer"
  5558. },
  5559. "pricemove": {
  5560. "description": "升贴水",
  5561. "type": "number"
  5562. },
  5563. "pricetype": {
  5564. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5565. "type": "integer"
  5566. },
  5567. "reckonadjustamount": {
  5568. "description": "结算调整金额(非必填)",
  5569. "type": "number"
  5570. },
  5571. "reckonosamount": {
  5572. "description": "结算溢短金额(非必填)",
  5573. "type": "number"
  5574. },
  5575. "reckonotheramount": {
  5576. "description": "结算其他费用(非必填)",
  5577. "type": "number"
  5578. },
  5579. "reckonrealqty": {
  5580. "description": "结算实际数量(非必填)",
  5581. "type": "number"
  5582. },
  5583. "relatedid": {
  5584. "description": "现货合同ID",
  5585. "type": "string"
  5586. },
  5587. "sellusername": {
  5588. "description": "销售方名字",
  5589. "type": "string"
  5590. }
  5591. }
  5592. },
  5593. "ermcp.QryBussinessKxRsp": {
  5594. "type": "object",
  5595. "properties": {
  5596. "applyid": {
  5597. "description": "申请人",
  5598. "type": "string"
  5599. },
  5600. "applyname": {
  5601. "description": "申请人名称",
  5602. "type": "string"
  5603. },
  5604. "applystatus": {
  5605. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5606. "type": "integer"
  5607. },
  5608. "applytime": {
  5609. "description": "申请时间",
  5610. "type": "string"
  5611. },
  5612. "auditname": {
  5613. "description": "审核人名称",
  5614. "type": "string"
  5615. },
  5616. "audittime": {
  5617. "description": "审核时间",
  5618. "type": "string"
  5619. },
  5620. "buyusername": {
  5621. "description": "采购方名称",
  5622. "type": "string"
  5623. },
  5624. "contractno": {
  5625. "description": "合同编号",
  5626. "type": "string"
  5627. },
  5628. "contracttype": {
  5629. "description": "现货合同类型 - 1:采购 -1:销售",
  5630. "type": "integer"
  5631. },
  5632. "deductamount": {
  5633. "description": "退款(非必填)",
  5634. "type": "number"
  5635. },
  5636. "enumdicname": {
  5637. "description": "单位名称",
  5638. "type": "string"
  5639. },
  5640. "goodscode": {
  5641. "description": "点价合约",
  5642. "type": "string"
  5643. },
  5644. "goodsname": {
  5645. "description": "商品名称",
  5646. "type": "string"
  5647. },
  5648. "operateapplyid": {
  5649. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5650. "type": "string"
  5651. },
  5652. "operateapplytype": {
  5653. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5654. "type": "integer"
  5655. },
  5656. "payamount": {
  5657. "description": "收付款(非必填)",
  5658. "type": "number"
  5659. },
  5660. "pricemove": {
  5661. "description": "升贴水",
  5662. "type": "number"
  5663. },
  5664. "pricetype": {
  5665. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5666. "type": "integer"
  5667. },
  5668. "relatedid": {
  5669. "description": "现货合同ID",
  5670. "type": "string"
  5671. },
  5672. "sellusername": {
  5673. "description": "销售方名字",
  5674. "type": "string"
  5675. }
  5676. }
  5677. },
  5678. "ermcp.QryErmcpRsp": {
  5679. "$ref": "#/definitions/models.ErmcpModel"
  5680. },
  5681. "ermcp.QryHedgePlanRsp": {
  5682. "$ref": "#/definitions/models.ErmcpHedgePlan"
  5683. },
  5684. "ermcp.QrySpotContractRsp": {
  5685. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  5686. },
  5687. "ermcp.QryUserInfoRsp": {
  5688. "$ref": "#/definitions/models.ErmcpUserModel"
  5689. },
  5690. "ermcp.QryWrStandardRsp": {
  5691. "$ref": "#/definitions/models.ErmcpWrstandard"
  5692. },
  5693. "erms2.QueryArbitrageStrategyRsp": {
  5694. "type": "object",
  5695. "required": [
  5696. "asapplyid"
  5697. ],
  5698. "properties": {
  5699. "applybasis": {
  5700. "description": "申请基差",
  5701. "type": "number"
  5702. },
  5703. "asapplyid": {
  5704. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5705. "type": "string"
  5706. },
  5707. "asname": {
  5708. "description": "策略名称",
  5709. "type": "string"
  5710. },
  5711. "asno": {
  5712. "description": "策略编号",
  5713. "type": "string"
  5714. },
  5715. "basischangepl": {
  5716. "description": "基差变动损益[结算更新]",
  5717. "type": "number"
  5718. },
  5719. "biztype": {
  5720. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5721. "type": "integer"
  5722. },
  5723. "closetradedate": {
  5724. "description": "完结交易日(yyyyMMdd)",
  5725. "type": "string"
  5726. },
  5727. "curbasis": {
  5728. "description": "当前基差[结算更新]",
  5729. "type": "number"
  5730. },
  5731. "deliverygoodsid": {
  5732. "description": "现货品种ID",
  5733. "type": "integer"
  5734. },
  5735. "futureavgprice": {
  5736. "description": "期货建仓均价",
  5737. "type": "number"
  5738. },
  5739. "futurecloseamount": {
  5740. "description": "期货平仓金额",
  5741. "type": "number"
  5742. },
  5743. "futurecloseqty": {
  5744. "description": "期货平仓数量",
  5745. "type": "number"
  5746. },
  5747. "futureopenamount": {
  5748. "description": "期货开仓金额",
  5749. "type": "number"
  5750. },
  5751. "futureopenqty": {
  5752. "description": "期货开仓数量",
  5753. "type": "number"
  5754. },
  5755. "futurepl": {
  5756. "description": "期货总盈亏[结算更新]",
  5757. "type": "number"
  5758. },
  5759. "futureqty": {
  5760. "description": "期货持仓数量",
  5761. "type": "number"
  5762. },
  5763. "futurequote": {
  5764. "description": "期货额度",
  5765. "type": "number"
  5766. },
  5767. "goodsgroupid": {
  5768. "description": "期货品种ID",
  5769. "type": "integer"
  5770. },
  5771. "marketid": {
  5772. "description": "市场ID",
  5773. "type": "integer"
  5774. },
  5775. "netexposure": {
  5776. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  5777. "type": "number"
  5778. },
  5779. "netexposurepl": {
  5780. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  5781. "type": "number"
  5782. },
  5783. "netexposurerate": {
  5784. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  5785. "type": "number"
  5786. },
  5787. "openbasis": {
  5788. "description": "建仓基差",
  5789. "type": "number"
  5790. },
  5791. "pricedspotqty": {
  5792. "description": "已定价现货数量",
  5793. "type": "number"
  5794. },
  5795. "pricedspotqtynotax": {
  5796. "description": "已定价现货不含税数量",
  5797. "type": "number"
  5798. },
  5799. "remark": {
  5800. "description": "备注",
  5801. "type": "string"
  5802. },
  5803. "spotavgprice": {
  5804. "description": "现货均价",
  5805. "type": "number"
  5806. },
  5807. "spotbuyamount": {
  5808. "description": "现货采购金额",
  5809. "type": "number"
  5810. },
  5811. "spotbuyqty": {
  5812. "description": "现货采购数量",
  5813. "type": "number"
  5814. },
  5815. "spotpl": {
  5816. "description": "现货总盈亏[结算更新]",
  5817. "type": "number"
  5818. },
  5819. "spotquota": {
  5820. "description": "现货额度",
  5821. "type": "number"
  5822. },
  5823. "spotsellamount": {
  5824. "description": "现货销售金额",
  5825. "type": "number"
  5826. },
  5827. "spotsellqty": {
  5828. "description": "现货销售数量",
  5829. "type": "number"
  5830. },
  5831. "spotusedquota": {
  5832. "description": "现货占用资金",
  5833. "type": "number"
  5834. },
  5835. "strategystatus": {
  5836. "description": "策略状态 - 0:未结束 1:已结束",
  5837. "type": "integer"
  5838. },
  5839. "totalpl": {
  5840. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  5841. "type": "number"
  5842. },
  5843. "tradedate": {
  5844. "description": "交易日(yyyyMMdd)",
  5845. "type": "string"
  5846. },
  5847. "updatetime": {
  5848. "description": "更新时间",
  5849. "type": "string"
  5850. },
  5851. "usedquota": {
  5852. "description": "已占用资金",
  5853. "type": "number"
  5854. },
  5855. "userid": {
  5856. "description": "所属机构",
  5857. "type": "integer"
  5858. }
  5859. }
  5860. },
  5861. "erms2.QueryInnerTradeDetailRsp": {
  5862. "type": "object",
  5863. "required": [
  5864. "asapplyid",
  5865. "buyorsell",
  5866. "goodscode",
  5867. "goodsgroupid",
  5868. "goodsgroupname",
  5869. "goodsname",
  5870. "tradeid"
  5871. ],
  5872. "properties": {
  5873. "accountid": {
  5874. "description": "账号ID",
  5875. "type": "integer"
  5876. },
  5877. "agreeunit": {
  5878. "description": "合约单位",
  5879. "type": "number"
  5880. },
  5881. "asapplyid": {
  5882. "description": "策略申请ID",
  5883. "type": "integer"
  5884. },
  5885. "asname": {
  5886. "description": "策略名称",
  5887. "type": "string"
  5888. },
  5889. "asno": {
  5890. "description": "策略编号",
  5891. "type": "string"
  5892. },
  5893. "buyorsell": {
  5894. "description": "方向 - 0:买 1:卖",
  5895. "type": "integer"
  5896. },
  5897. "channelbuildtype": {
  5898. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5899. "type": "integer"
  5900. },
  5901. "closetype": {
  5902. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5903. "type": "integer"
  5904. },
  5905. "decimalplace": {
  5906. "description": "报价小数位",
  5907. "type": "integer"
  5908. },
  5909. "detailtype": {
  5910. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5911. "type": "integer"
  5912. },
  5913. "exexchangecode": {
  5914. "description": "外部交易所代码",
  5915. "type": "string"
  5916. },
  5917. "exexchangename": {
  5918. "description": "外部交易所名称",
  5919. "type": "string"
  5920. },
  5921. "goodscode": {
  5922. "description": "商品代码(合约)",
  5923. "type": "string"
  5924. },
  5925. "goodsgroupid": {
  5926. "description": "商品组ID(品种ID)",
  5927. "type": "integer"
  5928. },
  5929. "goodsgroupname": {
  5930. "description": "商品组名称(品种)",
  5931. "type": "string"
  5932. },
  5933. "goodsid": {
  5934. "description": "商品ID",
  5935. "type": "integer"
  5936. },
  5937. "goodsname": {
  5938. "description": "商品名称(合约)",
  5939. "type": "string"
  5940. },
  5941. "goodunit": {
  5942. "description": "报价单位",
  5943. "type": "string"
  5944. },
  5945. "marketid": {
  5946. "description": "市场ID",
  5947. "type": "integer"
  5948. },
  5949. "orderid": {
  5950. "description": "委托单号",
  5951. "type": "string"
  5952. },
  5953. "outgoodscode": {
  5954. "description": "商品代码(外部)",
  5955. "type": "string"
  5956. },
  5957. "relatedouttradeid": {
  5958. "description": "关联外部成交单ID",
  5959. "type": "string"
  5960. },
  5961. "remark": {
  5962. "description": "备注",
  5963. "type": "string"
  5964. },
  5965. "spotcontractid": {
  5966. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5967. "type": "integer"
  5968. },
  5969. "spotcontractno": {
  5970. "description": "现货合同编号",
  5971. "type": "string"
  5972. },
  5973. "tradeid": {
  5974. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5975. "type": "string"
  5976. },
  5977. "tradeprice": {
  5978. "description": "成交价格",
  5979. "type": "number"
  5980. },
  5981. "tradeqty": {
  5982. "description": "成交数量",
  5983. "type": "integer"
  5984. },
  5985. "tradetime": {
  5986. "description": "成交时间",
  5987. "type": "string"
  5988. },
  5989. "updatetime": {
  5990. "description": "更新时间",
  5991. "type": "string"
  5992. }
  5993. }
  5994. },
  5995. "erms2.QuerySpotContractRsp": {
  5996. "type": "object",
  5997. "required": [
  5998. "spotcontractid"
  5999. ],
  6000. "properties": {
  6001. "accountid": {
  6002. "description": "资金账户ID",
  6003. "type": "integer"
  6004. },
  6005. "areauserid": {
  6006. "description": "所属机构",
  6007. "type": "integer"
  6008. },
  6009. "closedate": {
  6010. "description": "终止日期",
  6011. "type": "string"
  6012. },
  6013. "closeremark": {
  6014. "description": "结束备注",
  6015. "type": "string"
  6016. },
  6017. "closetradedate": {
  6018. "description": "完结交易日(yyyyMMdd)",
  6019. "type": "string"
  6020. },
  6021. "closetype": {
  6022. "description": "终止类型 - 1:违约 2:提前终止",
  6023. "type": "integer"
  6024. },
  6025. "contractamount": {
  6026. "description": "合同金额",
  6027. "type": "number"
  6028. },
  6029. "contractattachment": {
  6030. "description": "合同附件",
  6031. "type": "string"
  6032. },
  6033. "contractno": {
  6034. "description": "现货合同编号",
  6035. "type": "string"
  6036. },
  6037. "contractqty": {
  6038. "description": "合同数量(数值) (用于计算)",
  6039. "type": "number"
  6040. },
  6041. "contractqtychar": {
  6042. "description": "合同数量\\已订价数量 (用于显示)",
  6043. "type": "string"
  6044. },
  6045. "contractstatus": {
  6046. "description": "合同状态 - 0:未结束 1:已结束",
  6047. "type": "integer"
  6048. },
  6049. "contracttype": {
  6050. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6051. "type": "integer"
  6052. },
  6053. "customeraccountid": {
  6054. "description": "客户资金账户ID",
  6055. "type": "integer"
  6056. },
  6057. "customeruserid": {
  6058. "description": "客户ID",
  6059. "type": "integer"
  6060. },
  6061. "deliverygoodsdesc": {
  6062. "description": "品种说明",
  6063. "type": "string"
  6064. },
  6065. "deliverygoodsid": {
  6066. "description": "现货品种ID",
  6067. "type": "integer"
  6068. },
  6069. "handlestatus": {
  6070. "description": "处理状态",
  6071. "type": "integer"
  6072. },
  6073. "invoiceatt": {
  6074. "description": "发票附件",
  6075. "type": "string"
  6076. },
  6077. "invoicedatetime": {
  6078. "description": "开收票更新时间",
  6079. "type": "string"
  6080. },
  6081. "invoiceopentime": {
  6082. "description": "开票时间",
  6083. "type": "string"
  6084. },
  6085. "invoiceremark": {
  6086. "description": "发票备注",
  6087. "type": "string"
  6088. },
  6089. "invoicestatus": {
  6090. "description": "开收票状态 - 0:未开票 1:已开票",
  6091. "type": "integer"
  6092. },
  6093. "lastdate": {
  6094. "description": "交货时间",
  6095. "type": "string"
  6096. },
  6097. "marketid": {
  6098. "description": "市场ID",
  6099. "type": "integer"
  6100. },
  6101. "paydatetime": {
  6102. "description": "收付款更新时间",
  6103. "type": "string"
  6104. },
  6105. "payremark": {
  6106. "description": "收付款备注",
  6107. "type": "string"
  6108. },
  6109. "paystatus": {
  6110. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6111. "type": "integer"
  6112. },
  6113. "positionqty": {
  6114. "description": "头寸数量 - 合同数量去小数部分",
  6115. "type": "integer"
  6116. },
  6117. "producttype": {
  6118. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6119. "type": "integer"
  6120. },
  6121. "relatedqty": {
  6122. "description": "已关联数量",
  6123. "type": "number"
  6124. },
  6125. "relatedstatus": {
  6126. "description": "关联完结状态 - 0:未结束 1:已结束",
  6127. "type": "integer"
  6128. },
  6129. "remark": {
  6130. "description": "备注",
  6131. "type": "string"
  6132. },
  6133. "signdate": {
  6134. "description": "签订日期",
  6135. "type": "string"
  6136. },
  6137. "spotcontractid": {
  6138. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6139. "type": "string"
  6140. },
  6141. "spotdatetime": {
  6142. "description": "收发货更新时间",
  6143. "type": "string"
  6144. },
  6145. "spotprice": {
  6146. "description": "价格",
  6147. "type": "number"
  6148. },
  6149. "spotremark": {
  6150. "description": "收发货备注",
  6151. "type": "string"
  6152. },
  6153. "spotstatus": {
  6154. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6155. "type": "integer"
  6156. },
  6157. "tradedate": {
  6158. "description": "交易日(yyyyMMdd)",
  6159. "type": "string"
  6160. },
  6161. "userid": {
  6162. "description": "业务员用户ID",
  6163. "type": "integer"
  6164. },
  6165. "warehouseid": {
  6166. "description": "仓库ID",
  6167. "type": "integer"
  6168. },
  6169. "wrfactortypeid": {
  6170. "description": "仓单要素类型ID",
  6171. "type": "integer"
  6172. },
  6173. "wrstandardid": {
  6174. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6175. "type": "integer"
  6176. }
  6177. }
  6178. },
  6179. "erms3.AddErms2ASApplyReq": {
  6180. "type": "object",
  6181. "required": [
  6182. "asapplyid"
  6183. ],
  6184. "properties": {
  6185. "applybasis": {
  6186. "description": "申请基差",
  6187. "type": "number"
  6188. },
  6189. "applystatus": {
  6190. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6191. "type": "integer"
  6192. },
  6193. "asapplyid": {
  6194. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6195. "type": "integer"
  6196. },
  6197. "asname": {
  6198. "description": "策略名称",
  6199. "type": "string"
  6200. },
  6201. "asno": {
  6202. "description": "策略编号",
  6203. "type": "string"
  6204. },
  6205. "auditid": {
  6206. "description": "审核人",
  6207. "type": "integer"
  6208. },
  6209. "auditremark": {
  6210. "description": "审核备注",
  6211. "type": "string"
  6212. },
  6213. "audittime": {
  6214. "description": "审核时间",
  6215. "type": "string"
  6216. },
  6217. "biztype": {
  6218. "description": "业务类型 - 1:正向套利 2:反向套利",
  6219. "type": "integer"
  6220. },
  6221. "createtime": {
  6222. "description": "创建时间",
  6223. "type": "string"
  6224. },
  6225. "creatorid": {
  6226. "description": "创建人",
  6227. "type": "integer"
  6228. },
  6229. "deliverygoodsid": {
  6230. "description": "现货品种ID",
  6231. "type": "integer"
  6232. },
  6233. "futurequote": {
  6234. "description": "期货额度",
  6235. "type": "number"
  6236. },
  6237. "goodsgroupid": {
  6238. "description": "期货品种ID",
  6239. "type": "integer"
  6240. },
  6241. "marketid": {
  6242. "description": "市场ID",
  6243. "type": "integer"
  6244. },
  6245. "remark": {
  6246. "description": "备注",
  6247. "type": "string"
  6248. },
  6249. "spotquota": {
  6250. "description": "现货额度",
  6251. "type": "number"
  6252. },
  6253. "tradedate": {
  6254. "description": "交易日(yyyyMMdd)",
  6255. "type": "string"
  6256. },
  6257. "userid": {
  6258. "description": "所属机构",
  6259. "type": "integer"
  6260. }
  6261. }
  6262. },
  6263. "erms3.AddErms2SpotTradeApplyReq": {
  6264. "type": "object",
  6265. "required": [
  6266. "spottradeid"
  6267. ],
  6268. "properties": {
  6269. "applyjsondetail": {
  6270. "description": "申请明细(JSON)",
  6271. "type": "string"
  6272. },
  6273. "applystatus": {
  6274. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6275. "type": "integer"
  6276. },
  6277. "areauserid": {
  6278. "description": "所属机构",
  6279. "type": "integer"
  6280. },
  6281. "auditid": {
  6282. "description": "审核人",
  6283. "type": "integer"
  6284. },
  6285. "auditremark": {
  6286. "description": "审核备注",
  6287. "type": "string"
  6288. },
  6289. "audittime": {
  6290. "description": "审核时间",
  6291. "type": "string"
  6292. },
  6293. "createtime": {
  6294. "description": "创建时间",
  6295. "type": "string"
  6296. },
  6297. "creatorid": {
  6298. "description": "创建人",
  6299. "type": "integer"
  6300. },
  6301. "deliverygoodsid": {
  6302. "description": "现货品种ID",
  6303. "type": "integer"
  6304. },
  6305. "futureaccountid": {
  6306. "description": "期货资金账户",
  6307. "type": "integer"
  6308. },
  6309. "goodsgroupid": {
  6310. "description": "期货品种",
  6311. "type": "integer"
  6312. },
  6313. "marketid": {
  6314. "description": "市场ID",
  6315. "type": "integer"
  6316. },
  6317. "remark": {
  6318. "description": "备注",
  6319. "type": "string"
  6320. },
  6321. "spotaccountid": {
  6322. "description": "现货资金账户",
  6323. "type": "integer"
  6324. },
  6325. "spottradeid": {
  6326. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6327. "type": "integer"
  6328. },
  6329. "spottradename": {
  6330. "description": "业务名称",
  6331. "type": "string"
  6332. },
  6333. "spottradeno": {
  6334. "description": "业务编号",
  6335. "type": "string"
  6336. },
  6337. "tradedate": {
  6338. "description": "交易日(yyyyMMdd)",
  6339. "type": "string"
  6340. },
  6341. "wrstandardid": {
  6342. "description": "仓单标准ID",
  6343. "type": "integer"
  6344. }
  6345. }
  6346. },
  6347. "erms3.AddSpotContractApplyReq": {
  6348. "type": "object",
  6349. "required": [
  6350. "accountid",
  6351. "areauserid",
  6352. "contractno",
  6353. "contracttype",
  6354. "customeraccountid",
  6355. "customeruserid",
  6356. "details",
  6357. "orimargin",
  6358. "signdate"
  6359. ],
  6360. "properties": {
  6361. "accountid": {
  6362. "description": "资金账户ID",
  6363. "type": "integer"
  6364. },
  6365. "areauserid": {
  6366. "description": "所属机构",
  6367. "type": "integer"
  6368. },
  6369. "contractattachment": {
  6370. "description": "合同附件",
  6371. "type": "string"
  6372. },
  6373. "contractno": {
  6374. "description": "现货合同编号",
  6375. "type": "string"
  6376. },
  6377. "contracttype": {
  6378. "description": "现货合同类型 - 1:采购 -1:销售",
  6379. "type": "integer"
  6380. },
  6381. "creatorid": {
  6382. "description": "申请人",
  6383. "type": "integer"
  6384. },
  6385. "customeraccountid": {
  6386. "description": "客户资金账户ID",
  6387. "type": "integer"
  6388. },
  6389. "customeruserid": {
  6390. "description": "客户ID",
  6391. "type": "integer"
  6392. },
  6393. "details": {
  6394. "description": "明细",
  6395. "type": "array",
  6396. "items": {
  6397. "$ref": "#/definitions/erms3.SoptContractDetail"
  6398. }
  6399. },
  6400. "orimargin": {
  6401. "description": "初始保证金",
  6402. "type": "number"
  6403. },
  6404. "remark": {
  6405. "description": "备注",
  6406. "type": "string"
  6407. },
  6408. "signdate": {
  6409. "description": "签订日期",
  6410. "type": "string"
  6411. }
  6412. }
  6413. },
  6414. "erms3.AddSpotContractApplyRsp": {
  6415. "type": "object",
  6416. "required": [
  6417. "contractno"
  6418. ],
  6419. "properties": {
  6420. "contractno": {
  6421. "description": "现货合同编号",
  6422. "type": "string"
  6423. },
  6424. "spotcontractid": {
  6425. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6426. "type": "integer"
  6427. }
  6428. }
  6429. },
  6430. "erms3.AddUserInfoApplyReq": {
  6431. "type": "object",
  6432. "required": [
  6433. "userid"
  6434. ],
  6435. "properties": {
  6436. "accountid": {
  6437. "description": "交易系统帐号Id (加密存储)",
  6438. "type": "integer"
  6439. },
  6440. "areacode": {
  6441. "description": "机构代码",
  6442. "type": "string"
  6443. },
  6444. "areaid": {
  6445. "description": "机构Id",
  6446. "type": "integer"
  6447. },
  6448. "attachment1": {
  6449. "description": "附件1",
  6450. "type": "string"
  6451. },
  6452. "attachment2": {
  6453. "description": "附件2",
  6454. "type": "string"
  6455. },
  6456. "attachment3": {
  6457. "description": "附件3",
  6458. "type": "string"
  6459. },
  6460. "attachment4": {
  6461. "description": "附件4",
  6462. "type": "string"
  6463. },
  6464. "attachment5": {
  6465. "description": "附件5",
  6466. "type": "string"
  6467. },
  6468. "auditedby": {
  6469. "description": "审核人",
  6470. "type": "string"
  6471. },
  6472. "auditime": {
  6473. "description": "审核时间",
  6474. "type": "string"
  6475. },
  6476. "bankaccount": {
  6477. "description": "银行帐号 (加密存储)",
  6478. "type": "string"
  6479. },
  6480. "bankaccountname": {
  6481. "description": "收款人名称",
  6482. "type": "string"
  6483. },
  6484. "bankcardbackphotourl": {
  6485. "description": "银行卡背面照地址",
  6486. "type": "string"
  6487. },
  6488. "bankcardfrontphotourl": {
  6489. "description": "银行卡正面照地址",
  6490. "type": "string"
  6491. },
  6492. "bankid": {
  6493. "description": "银行编码",
  6494. "type": "string"
  6495. },
  6496. "bankname": {
  6497. "description": "银行名称",
  6498. "type": "string"
  6499. },
  6500. "bankpictureurl": {
  6501. "description": "银行卡正面地址",
  6502. "type": "string"
  6503. },
  6504. "biznature": {
  6505. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6506. "type": "integer"
  6507. },
  6508. "bizscope": {
  6509. "description": "企业经营范围(企业)",
  6510. "type": "string"
  6511. },
  6512. "biztype": {
  6513. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6514. "type": "integer"
  6515. },
  6516. "brokerid": {
  6517. "description": "经纪人ID(加密存储)",
  6518. "type": "string"
  6519. },
  6520. "cardaddress": {
  6521. "description": "证件地址 (加密存储)",
  6522. "type": "string"
  6523. },
  6524. "cardbackphotourl": {
  6525. "description": "背面证件照地址",
  6526. "type": "string"
  6527. },
  6528. "cardfrontphotourl": {
  6529. "description": "正面证件照地址",
  6530. "type": "string"
  6531. },
  6532. "cardnum": {
  6533. "description": "证件号码 (加密存储)",
  6534. "type": "string"
  6535. },
  6536. "cardtype": {
  6537. "description": "证件类型",
  6538. "type": "integer"
  6539. },
  6540. "cityid": {
  6541. "description": "市",
  6542. "type": "integer"
  6543. },
  6544. "company": {
  6545. "description": "公司(个人)",
  6546. "type": "string"
  6547. },
  6548. "contactcardbackphotourl": {
  6549. "description": "联系人证件背面图片地址",
  6550. "type": "string"
  6551. },
  6552. "contactcardfrontphotourl": {
  6553. "description": "联系人证件正面图片地址",
  6554. "type": "string"
  6555. },
  6556. "contactname": {
  6557. "description": "联系人",
  6558. "type": "string"
  6559. },
  6560. "countryid": {
  6561. "description": "国家",
  6562. "type": "integer"
  6563. },
  6564. "createtime": {
  6565. "description": "开户申请时间",
  6566. "type": "string"
  6567. },
  6568. "cusbankid": {
  6569. "description": "签约类型",
  6570. "type": "string"
  6571. },
  6572. "cusbankname": {
  6573. "description": "签约类型名称",
  6574. "type": "string"
  6575. },
  6576. "customername": {
  6577. "description": "客户名称(企业名称)",
  6578. "type": "string"
  6579. },
  6580. "districtid": {
  6581. "description": "地区",
  6582. "type": "integer"
  6583. },
  6584. "email": {
  6585. "description": "Email地址(加密存储)",
  6586. "type": "string"
  6587. },
  6588. "halfbodyphotourl": {
  6589. "description": "半身照地址",
  6590. "type": "string"
  6591. },
  6592. "headurl": {
  6593. "description": "头像地址",
  6594. "type": "string"
  6595. },
  6596. "ipaddress": {
  6597. "description": "IP地址",
  6598. "type": "string"
  6599. },
  6600. "isvalidate": {
  6601. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6602. "type": "string"
  6603. },
  6604. "legalcardbackphotourl": {
  6605. "description": "法人身份证背面照地址",
  6606. "type": "string"
  6607. },
  6608. "legalcardfrontphotourl": {
  6609. "description": "法人身份证正面照地址",
  6610. "type": "string"
  6611. },
  6612. "legalpersonname": {
  6613. "description": "法人姓名(企业)",
  6614. "type": "string"
  6615. },
  6616. "logincode": {
  6617. "description": "登录帐号 (加密存储)",
  6618. "type": "string"
  6619. },
  6620. "memberareaid": {
  6621. "description": "所属会员ID",
  6622. "type": "integer"
  6623. },
  6624. "mobile2": {
  6625. "description": "手机号码[明文-尚志]",
  6626. "type": "string"
  6627. },
  6628. "mobilephone": {
  6629. "description": "手机号码 (加密存储)",
  6630. "type": "string"
  6631. },
  6632. "modifiedby": {
  6633. "description": "修改人帐号",
  6634. "type": "integer"
  6635. },
  6636. "modifiedtime": {
  6637. "description": "修改时间",
  6638. "type": "string"
  6639. },
  6640. "nickname": {
  6641. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6642. "type": "string"
  6643. },
  6644. "openmode": {
  6645. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6646. "type": "integer"
  6647. },
  6648. "otherurl": {
  6649. "description": "其它图片地址[使用分号分隔]",
  6650. "type": "string"
  6651. },
  6652. "postalcode": {
  6653. "description": "邮政编码",
  6654. "type": "string"
  6655. },
  6656. "provinceid": {
  6657. "description": "省",
  6658. "type": "integer"
  6659. },
  6660. "proxystatementurl": {
  6661. "description": "授权委托书",
  6662. "type": "string"
  6663. },
  6664. "qq": {
  6665. "description": "QQ(加密存储",
  6666. "type": "string"
  6667. },
  6668. "referral": {
  6669. "description": "推荐人编码",
  6670. "type": "string"
  6671. },
  6672. "remark": {
  6673. "description": "备注",
  6674. "type": "string"
  6675. },
  6676. "removebeforestatus": {
  6677. "description": "REMOVEBEFORESTATUS",
  6678. "type": "integer"
  6679. },
  6680. "sex": {
  6681. "description": "性别 - 0:女 1:男",
  6682. "type": "integer"
  6683. },
  6684. "signedstatus": {
  6685. "description": "账户一号签签约状态",
  6686. "type": "integer"
  6687. },
  6688. "signpdfurl": {
  6689. "description": "签约pdf文件",
  6690. "type": "string"
  6691. },
  6692. "subbranch": {
  6693. "description": "开户支行",
  6694. "type": "string"
  6695. },
  6696. "telphone": {
  6697. "description": "联系电话(加密存储)",
  6698. "type": "string"
  6699. },
  6700. "userid": {
  6701. "description": "用户ID(自增ID)",
  6702. "type": "integer"
  6703. },
  6704. "userinfotype": {
  6705. "description": "用户信息类型 - 1:个人 2:企业",
  6706. "type": "integer"
  6707. },
  6708. "username": {
  6709. "description": "用户姓名",
  6710. "type": "string"
  6711. },
  6712. "userstate": {
  6713. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6714. "type": "integer"
  6715. },
  6716. "usertype": {
  6717. "description": "用户类型 - 1:投资者 2:机构",
  6718. "type": "integer"
  6719. },
  6720. "videourl": {
  6721. "description": "视频地址",
  6722. "type": "string"
  6723. },
  6724. "wechat": {
  6725. "description": "微信号 (加密存储)",
  6726. "type": "string"
  6727. }
  6728. }
  6729. },
  6730. "erms3.CustomerInfo": {
  6731. "type": "object",
  6732. "required": [
  6733. "userid"
  6734. ],
  6735. "properties": {
  6736. "accountids": {
  6737. "description": "资金账户ID列表",
  6738. "type": "array",
  6739. "items": {
  6740. "type": "integer"
  6741. }
  6742. },
  6743. "customername": {
  6744. "description": "名称(企业名称)",
  6745. "type": "string"
  6746. },
  6747. "mobile": {
  6748. "description": "手机号码",
  6749. "type": "string"
  6750. },
  6751. "userid": {
  6752. "description": "用户ID",
  6753. "type": "integer"
  6754. }
  6755. }
  6756. },
  6757. "erms3.QryAuditContractRsp": {
  6758. "type": "object",
  6759. "required": [
  6760. "matchcustomername",
  6761. "spotcontractid"
  6762. ],
  6763. "properties": {
  6764. "accountid": {
  6765. "description": "交易员ID",
  6766. "type": "string"
  6767. },
  6768. "applystatus": {
  6769. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6770. "type": "integer"
  6771. },
  6772. "curdeliveryqty": {
  6773. "description": "未交收量",
  6774. "type": "integer"
  6775. },
  6776. "customername": {
  6777. "description": "采购方ID",
  6778. "type": "string"
  6779. },
  6780. "deliverygoodsid": {
  6781. "description": "品种ID",
  6782. "type": "string"
  6783. },
  6784. "deliveryqty": {
  6785. "description": "交收量",
  6786. "type": "integer"
  6787. },
  6788. "enumdicname": {
  6789. "description": "单位名称",
  6790. "type": "string"
  6791. },
  6792. "matchaccountid": {
  6793. "description": "业务员ID",
  6794. "type": "string"
  6795. },
  6796. "matchcustomername": {
  6797. "description": "销售方ID",
  6798. "type": "string"
  6799. },
  6800. "pricedqty": {
  6801. "description": "定价量",
  6802. "type": "number"
  6803. },
  6804. "signdate": {
  6805. "description": "签订日期",
  6806. "type": "string"
  6807. },
  6808. "spotcontractid": {
  6809. "description": "合同ID",
  6810. "type": "string"
  6811. },
  6812. "totaldqty": {
  6813. "description": "合同量",
  6814. "type": "number"
  6815. },
  6816. "unpricedqty": {
  6817. "description": "未定价量",
  6818. "type": "number"
  6819. },
  6820. "wrstandardname": {
  6821. "description": "商品名称",
  6822. "type": "string"
  6823. }
  6824. }
  6825. },
  6826. "erms3.QryPendingBizRsp": {
  6827. "$ref": "#/definitions/models.PendingAuditBizModel"
  6828. },
  6829. "erms3.QueryBusinessInfoRsp": {
  6830. "type": "object",
  6831. "properties": {
  6832. "businessid": {
  6833. "description": "业务ID.",
  6834. "type": "integer"
  6835. },
  6836. "buyamount": {
  6837. "description": "采购额.",
  6838. "type": "number"
  6839. },
  6840. "buyqty": {
  6841. "description": "采购量.",
  6842. "type": "string"
  6843. },
  6844. "futurepl": {
  6845. "description": "期货盈亏.",
  6846. "type": "number"
  6847. },
  6848. "futureqty": {
  6849. "description": "期货敞口.",
  6850. "type": "string"
  6851. },
  6852. "goodsid": {
  6853. "description": "商品名称/商品代码.",
  6854. "type": "string"
  6855. },
  6856. "hedgingqty": {
  6857. "description": "套保量.",
  6858. "type": "string"
  6859. },
  6860. "sellamount": {
  6861. "description": "销售额.",
  6862. "type": "number"
  6863. },
  6864. "sellqty": {
  6865. "description": "销售量.",
  6866. "type": "string"
  6867. },
  6868. "spotmarketvalue": {
  6869. "description": "现货市值.",
  6870. "type": "number"
  6871. },
  6872. "spotpl": {
  6873. "description": "浮动权益.",
  6874. "type": "number"
  6875. },
  6876. "spotqty": {
  6877. "description": "现货量.",
  6878. "type": "string"
  6879. },
  6880. "statu": {
  6881. "description": "状态,0-未结束 1-已结束.",
  6882. "type": "integer"
  6883. },
  6884. "totalpl": {
  6885. "description": "总盈亏.",
  6886. "type": "number"
  6887. },
  6888. "totalqty": {
  6889. "description": "总敞口.",
  6890. "type": "string"
  6891. },
  6892. "type": {
  6893. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6894. "type": "integer"
  6895. }
  6896. }
  6897. },
  6898. "erms3.QuerySpotContractAppleFormRsp": {
  6899. "type": "object",
  6900. "properties": {
  6901. "goodses": {
  6902. "description": "合约列表",
  6903. "type": "array",
  6904. "items": {
  6905. "$ref": "#/definitions/models.GoodsIDAndName"
  6906. }
  6907. },
  6908. "oppositeusers": {
  6909. "description": "对方账号列表",
  6910. "type": "array",
  6911. "items": {
  6912. "$ref": "#/definitions/erms3.CustomerInfo"
  6913. }
  6914. },
  6915. "ouruser": {
  6916. "description": "我方账号",
  6917. "type": "object",
  6918. "$ref": "#/definitions/erms3.CustomerInfo"
  6919. },
  6920. "warehouseinfos": {
  6921. "description": "仓库信息列表",
  6922. "type": "array",
  6923. "items": {
  6924. "$ref": "#/definitions/models.Warehouseinfo"
  6925. }
  6926. },
  6927. "wrstandards": {
  6928. "description": "仓单标准列表",
  6929. "type": "array",
  6930. "items": {
  6931. "$ref": "#/definitions/models.WRStandardInfo"
  6932. }
  6933. }
  6934. }
  6935. },
  6936. "erms3.QuerySpotContractInfoRsp": {
  6937. "type": "object",
  6938. "properties": {
  6939. "accountid": {
  6940. "description": "表示交易员ID.",
  6941. "type": "integer"
  6942. },
  6943. "curdeliveryqty": {
  6944. "description": "表示未交收量.",
  6945. "type": "number"
  6946. },
  6947. "customername": {
  6948. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6949. "type": "string"
  6950. },
  6951. "deliverygoodsid": {
  6952. "description": "表示品种ID.",
  6953. "type": "string"
  6954. },
  6955. "deliveryqty": {
  6956. "description": "表示交收量.",
  6957. "type": "number"
  6958. },
  6959. "matchaccountid": {
  6960. "description": "表示业务员ID.",
  6961. "type": "integer"
  6962. },
  6963. "matchcustomername": {
  6964. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6965. "type": "string"
  6966. },
  6967. "priceqty": {
  6968. "description": "表示定价量.",
  6969. "type": "number"
  6970. },
  6971. "relatedbizid": {
  6972. "description": "表示业务ID.",
  6973. "type": "string"
  6974. },
  6975. "signdate": {
  6976. "description": "表示签订日期.",
  6977. "type": "string"
  6978. },
  6979. "spotcontractid": {
  6980. "description": "合同ID",
  6981. "type": "string"
  6982. },
  6983. "status": {
  6984. "description": "表示状态,0-履约中 1-已完成.",
  6985. "type": "integer"
  6986. },
  6987. "totalqty": {
  6988. "description": "表示合同量.",
  6989. "type": "number"
  6990. },
  6991. "unpricedqty": {
  6992. "description": "表示未定价量.",
  6993. "type": "number"
  6994. },
  6995. "wrstandardname": {
  6996. "description": "表示商品ID.",
  6997. "type": "string"
  6998. }
  6999. }
  7000. },
  7001. "erms3.QueryUserInfoAppliesRsp": {
  7002. "type": "object",
  7003. "required": [
  7004. "userid"
  7005. ],
  7006. "properties": {
  7007. "biznature": {
  7008. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7009. "type": "integer"
  7010. },
  7011. "contactname": {
  7012. "description": "联系人",
  7013. "type": "string"
  7014. },
  7015. "createtime": {
  7016. "description": "开户申请时间",
  7017. "type": "string"
  7018. },
  7019. "userid": {
  7020. "description": "用户ID(自增ID)",
  7021. "type": "integer"
  7022. },
  7023. "userinfotype": {
  7024. "description": "用户信息类型 - 1:个人 2:企业",
  7025. "type": "integer"
  7026. },
  7027. "username": {
  7028. "description": "用户姓名",
  7029. "type": "string"
  7030. },
  7031. "userstate": {
  7032. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7033. "type": "integer"
  7034. }
  7035. }
  7036. },
  7037. "erms3.QueryUserInfosRsp": {
  7038. "type": "object",
  7039. "required": [
  7040. "userid"
  7041. ],
  7042. "properties": {
  7043. "biznature": {
  7044. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7045. "type": "integer"
  7046. },
  7047. "contactname": {
  7048. "description": "联系人",
  7049. "type": "string"
  7050. },
  7051. "customername": {
  7052. "description": "客户名称(企业名称)",
  7053. "type": "string"
  7054. },
  7055. "userid": {
  7056. "description": "用户ID",
  7057. "type": "integer"
  7058. },
  7059. "userinfotype": {
  7060. "description": "用户信息类型 - 1:个人 2:企业",
  7061. "type": "integer"
  7062. },
  7063. "userstatus": {
  7064. "description": "用户状态 - 1:正常 2:注销",
  7065. "type": "integer"
  7066. }
  7067. }
  7068. },
  7069. "erms3.SoptContractDetail": {
  7070. "type": "object",
  7071. "required": [
  7072. "deliverygoodsid",
  7073. "producttype",
  7074. "unitname",
  7075. "warehouseid",
  7076. "wrstandardid",
  7077. "wrstandardname"
  7078. ],
  7079. "properties": {
  7080. "deliverygoodsdesc": {
  7081. "description": "现货品种说明",
  7082. "type": "string"
  7083. },
  7084. "deliverygoodsid": {
  7085. "description": "现货品种ID",
  7086. "type": "integer"
  7087. },
  7088. "deliverygoodsname": {
  7089. "description": "现货品种名称",
  7090. "type": "string"
  7091. },
  7092. "pointdesc": {
  7093. "description": "点价描述",
  7094. "type": "string"
  7095. },
  7096. "producttype": {
  7097. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7098. "type": "integer"
  7099. },
  7100. "producttypename": {
  7101. "description": "产品类型名称",
  7102. "type": "string"
  7103. },
  7104. "spotPointOrderVoList": {
  7105. "description": "点价列表",
  7106. "type": "array",
  7107. "items": {
  7108. "$ref": "#/definitions/erms3.SpotPointOrder"
  7109. }
  7110. },
  7111. "spotPriceOrderList": {
  7112. "description": "定价列表",
  7113. "type": "array",
  7114. "items": {
  7115. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7116. }
  7117. },
  7118. "unitname": {
  7119. "description": "单位名称",
  7120. "type": "string"
  7121. },
  7122. "warehouseid": {
  7123. "description": "仓库ID",
  7124. "type": "integer"
  7125. },
  7126. "warehousename": {
  7127. "description": "仓库名称",
  7128. "type": "string"
  7129. },
  7130. "wrstandardid": {
  7131. "description": "交易标的ID",
  7132. "type": "integer"
  7133. },
  7134. "wrstandardname": {
  7135. "description": "交易标的名称",
  7136. "type": "string"
  7137. }
  7138. }
  7139. },
  7140. "erms3.SpotPointOrder": {
  7141. "type": "object",
  7142. "required": [
  7143. "basic",
  7144. "goodsid",
  7145. "qty"
  7146. ],
  7147. "properties": {
  7148. "basic": {
  7149. "description": "基差",
  7150. "type": "number"
  7151. },
  7152. "deliveryenddate": {
  7153. "description": "交收结束日期",
  7154. "type": "string"
  7155. },
  7156. "deliverystartdate": {
  7157. "description": "交收开始日期",
  7158. "type": "string"
  7159. },
  7160. "enddate": {
  7161. "description": "点价结束日期",
  7162. "type": "string"
  7163. },
  7164. "goodsid": {
  7165. "description": "商品ID",
  7166. "type": "integer"
  7167. },
  7168. "goodsname": {
  7169. "description": "商品名称",
  7170. "type": "string"
  7171. },
  7172. "qty": {
  7173. "description": "数量",
  7174. "type": "number"
  7175. },
  7176. "startdate": {
  7177. "description": "点价开始日期",
  7178. "type": "string"
  7179. }
  7180. }
  7181. },
  7182. "erms3.SpotPriceOrder": {
  7183. "type": "object",
  7184. "required": [
  7185. "amount",
  7186. "price",
  7187. "qty"
  7188. ],
  7189. "properties": {
  7190. "amount": {
  7191. "description": "金额",
  7192. "type": "number"
  7193. },
  7194. "deliveryenddate": {
  7195. "description": "交收结束日期",
  7196. "type": "string"
  7197. },
  7198. "deliverystartdate": {
  7199. "description": "交收开始日期",
  7200. "type": "string"
  7201. },
  7202. "price": {
  7203. "description": "价格",
  7204. "type": "number"
  7205. },
  7206. "qty": {
  7207. "description": "数量",
  7208. "type": "number"
  7209. }
  7210. }
  7211. },
  7212. "hsby.GetHsbyMyCountRsp": {
  7213. "type": "object",
  7214. "properties": {
  7215. "myCouponCount": {
  7216. "description": "我的优惠卷数量",
  7217. "type": "integer"
  7218. },
  7219. "myOrderDetailListingCount": {
  7220. "description": "我的订单求购中数量",
  7221. "type": "integer"
  7222. },
  7223. "myOrderDetailPreCount": {
  7224. "description": "我的订单抢购中数量",
  7225. "type": "integer"
  7226. },
  7227. "myPackageUnReceiveCount": {
  7228. "description": "我的包裹待收货数量",
  7229. "type": "integer"
  7230. },
  7231. "myPackageUnSendCount": {
  7232. "description": "我的包裹待发货数量",
  7233. "type": "integer"
  7234. },
  7235. "myPayOrderCount": {
  7236. "description": "我的订单待付款数量",
  7237. "type": "integer"
  7238. }
  7239. }
  7240. },
  7241. "hsby.QueryProvincesAndCitiesRsp": {
  7242. "type": "object",
  7243. "properties": {
  7244. "cities": {
  7245. "description": "市",
  7246. "type": "array",
  7247. "items": {
  7248. "$ref": "#/definitions/models.Division"
  7249. }
  7250. },
  7251. "province": {
  7252. "description": "省",
  7253. "type": "object",
  7254. "$ref": "#/definitions/models.Division"
  7255. }
  7256. }
  7257. },
  7258. "models.Division": {
  7259. "type": "object",
  7260. "required": [
  7261. "autoid",
  7262. "divisioncode"
  7263. ],
  7264. "properties": {
  7265. "autoid": {
  7266. "description": "自增ID",
  7267. "type": "integer"
  7268. },
  7269. "divisioncode": {
  7270. "description": "行政代码",
  7271. "type": "string"
  7272. },
  7273. "divisionlevel": {
  7274. "description": "行政级别",
  7275. "type": "string"
  7276. },
  7277. "divisionname": {
  7278. "description": "行政名称",
  7279. "type": "string"
  7280. },
  7281. "modifierid": {
  7282. "description": "修改人",
  7283. "type": "integer"
  7284. },
  7285. "modifytime": {
  7286. "description": "修改时间",
  7287. "type": "string"
  7288. },
  7289. "parentcode": {
  7290. "description": "上级行政代码",
  7291. "type": "string"
  7292. },
  7293. "pathname": {
  7294. "description": "路径名称",
  7295. "type": "string"
  7296. },
  7297. "postcode": {
  7298. "description": "邮政编码",
  7299. "type": "string"
  7300. },
  7301. "separablename": {
  7302. "description": "可拆分的全称",
  7303. "type": "string"
  7304. },
  7305. "shortcode": {
  7306. "description": "地区简码",
  7307. "type": "string"
  7308. }
  7309. }
  7310. },
  7311. "models.Enumdicitem": {
  7312. "type": "object",
  7313. "required": [
  7314. "autoid",
  7315. "enumdiccode",
  7316. "enumdicid",
  7317. "enumitemname"
  7318. ],
  7319. "properties": {
  7320. "autoid": {
  7321. "description": "自增ID",
  7322. "type": "integer"
  7323. },
  7324. "bankmappedvalue": {
  7325. "description": "银行服务对应值",
  7326. "type": "string"
  7327. },
  7328. "enumdiccode": {
  7329. "description": "所属枚举代码",
  7330. "type": "string"
  7331. },
  7332. "enumdicid": {
  7333. "description": "所属枚举ID",
  7334. "type": "integer"
  7335. },
  7336. "enumdicname": {
  7337. "description": "枚举项名称",
  7338. "type": "string"
  7339. },
  7340. "enumitemname": {
  7341. "description": "枚举项值",
  7342. "type": "integer"
  7343. },
  7344. "enumitemstatus": {
  7345. "description": "枚举项状态 - 1.启用 2.不启用",
  7346. "type": "integer"
  7347. },
  7348. "enumitemvalue": {
  7349. "description": "通用值 - [币种通用简写]",
  7350. "type": "string"
  7351. },
  7352. "param1": {
  7353. "description": "参数1[币种:币种小数位]",
  7354. "type": "string"
  7355. },
  7356. "param2": {
  7357. "description": "参数1[币种:币种显示单位]",
  7358. "type": "string"
  7359. },
  7360. "remark": {
  7361. "description": "备注",
  7362. "type": "string"
  7363. }
  7364. }
  7365. },
  7366. "models.ErmcpHedgePlan": {
  7367. "type": "object",
  7368. "properties": {
  7369. "contracttype": {
  7370. "description": "计划类型 - 1:采购 -1:销售",
  7371. "type": "integer"
  7372. },
  7373. "convertfactor": {
  7374. "description": "标仓系数",
  7375. "type": "number"
  7376. },
  7377. "deliverygoodsid": {
  7378. "description": "现货品种ID",
  7379. "type": "integer"
  7380. },
  7381. "deliverygoodsname": {
  7382. "description": "现货品种名称",
  7383. "type": "string"
  7384. },
  7385. "hedgeplanid": {
  7386. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7387. "type": "string"
  7388. },
  7389. "hedgeplanno": {
  7390. "description": "套保计划编号",
  7391. "type": "string"
  7392. },
  7393. "hedgeplanstatus": {
  7394. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7395. "type": "integer"
  7396. },
  7397. "planqty": {
  7398. "description": "计划数量",
  7399. "type": "number"
  7400. },
  7401. "plantime": {
  7402. "description": "计划时间",
  7403. "type": "string"
  7404. },
  7405. "producttype": {
  7406. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7407. "type": "integer"
  7408. },
  7409. "remark": {
  7410. "description": "备注",
  7411. "type": "string"
  7412. },
  7413. "spotgoodsdesc": {
  7414. "description": "商品型号",
  7415. "type": "string"
  7416. },
  7417. "wrstandardid": {
  7418. "description": "现货商品ID",
  7419. "type": "integer"
  7420. },
  7421. "wrstandardname": {
  7422. "description": "现货商品名称",
  7423. "type": "string"
  7424. }
  7425. }
  7426. },
  7427. "models.ErmcpModel": {
  7428. "type": "object",
  7429. "properties": {
  7430. "accountid": {
  7431. "description": "账户ID",
  7432. "type": "string"
  7433. },
  7434. "accountname": {
  7435. "description": "账户名称",
  7436. "type": "string"
  7437. },
  7438. "contracctstatus": {
  7439. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7440. "type": "integer"
  7441. },
  7442. "convertfactor": {
  7443. "description": "标仓系数",
  7444. "type": "number"
  7445. },
  7446. "daikaiamount": {
  7447. "description": "待开票额",
  7448. "type": "number"
  7449. },
  7450. "deliveryenddate": {
  7451. "description": "交割结束日",
  7452. "type": "string"
  7453. },
  7454. "deliverygoodscode": {
  7455. "description": "现货商品代码",
  7456. "type": "string"
  7457. },
  7458. "deliverygoodsid": {
  7459. "description": "现货商品ID",
  7460. "type": "integer"
  7461. },
  7462. "deliverygoodsname": {
  7463. "description": "现货商品名称",
  7464. "type": "string"
  7465. },
  7466. "deliverystartdate": {
  7467. "description": "交割开始日",
  7468. "type": "string"
  7469. },
  7470. "enddate": {
  7471. "description": "点价结束日",
  7472. "type": "string"
  7473. },
  7474. "enumdicname": {
  7475. "description": "单位名称",
  7476. "type": "string"
  7477. },
  7478. "goodscode": {
  7479. "description": "点价商品代码",
  7480. "type": "string"
  7481. },
  7482. "goodsid": {
  7483. "description": "点价商品ID",
  7484. "type": "integer"
  7485. },
  7486. "invoiceamount": {
  7487. "description": "已开票额",
  7488. "type": "number"
  7489. },
  7490. "payamount": {
  7491. "description": "已收付额(收款或付款)",
  7492. "type": "number"
  7493. },
  7494. "pricedqty": {
  7495. "description": "已定价量",
  7496. "type": "number"
  7497. },
  7498. "pricemove": {
  7499. "description": "升贴水",
  7500. "type": "number"
  7501. },
  7502. "pricetype": {
  7503. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7504. "type": "integer"
  7505. },
  7506. "producttype": {
  7507. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7508. "type": "integer"
  7509. },
  7510. "qty": {
  7511. "description": "合同量",
  7512. "type": "number"
  7513. },
  7514. "spotcontractid": {
  7515. "description": "合同ID",
  7516. "type": "string"
  7517. },
  7518. "spotgoodsdesc": {
  7519. "description": "商品型号(商品规格)",
  7520. "type": "string"
  7521. },
  7522. "startdate": {
  7523. "description": "点价开始日",
  7524. "type": "string"
  7525. },
  7526. "unpayamount": {
  7527. "description": "待支收额(支付或收款)",
  7528. "type": "number"
  7529. },
  7530. "unpricedqty": {
  7531. "description": "未定价量",
  7532. "type": "number"
  7533. },
  7534. "unsureqty": {
  7535. "description": "未确定量",
  7536. "type": "number"
  7537. }
  7538. }
  7539. },
  7540. "models.ErmcpSpotContractModel": {
  7541. "type": "object",
  7542. "properties": {
  7543. "amount": {
  7544. "description": "金额 [1:一口价、3:暂定价]",
  7545. "type": "number"
  7546. },
  7547. "buyuserid": {
  7548. "description": "采购方ID",
  7549. "type": "integer"
  7550. },
  7551. "buyusername": {
  7552. "description": "采购方名称",
  7553. "type": "string"
  7554. },
  7555. "contracctstatus": {
  7556. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7557. "type": "integer"
  7558. },
  7559. "contractno": {
  7560. "description": "现货合同编号",
  7561. "type": "string"
  7562. },
  7563. "contracttype": {
  7564. "description": "现货合同类型 - 1:采购 -1:销售",
  7565. "type": "integer"
  7566. },
  7567. "convertfactor": {
  7568. "description": "标仓系数",
  7569. "type": "number"
  7570. },
  7571. "deliveryenddate": {
  7572. "description": "交收期(结束)",
  7573. "type": "string"
  7574. },
  7575. "deliverygoodscode": {
  7576. "description": "现货品种代码",
  7577. "type": "string"
  7578. },
  7579. "deliverygoodsid": {
  7580. "description": "现货品种ID",
  7581. "type": "integer"
  7582. },
  7583. "deliverygoodsname": {
  7584. "description": "现货品种名称",
  7585. "type": "string"
  7586. },
  7587. "deliverystartdate": {
  7588. "description": "交收期(开始)",
  7589. "type": "string"
  7590. },
  7591. "enddate": {
  7592. "description": "点价结束日期 [2:点价 3:暂定价]",
  7593. "type": "string"
  7594. },
  7595. "enumdicname": {
  7596. "description": "单位名称",
  7597. "type": "string"
  7598. },
  7599. "goodscode": {
  7600. "description": "点价合约代码",
  7601. "type": "string"
  7602. },
  7603. "goodsid": {
  7604. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  7605. "type": "integer"
  7606. },
  7607. "margin": {
  7608. "description": "当前保证金",
  7609. "type": "number"
  7610. },
  7611. "price": {
  7612. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  7613. "type": "number"
  7614. },
  7615. "pricemove": {
  7616. "description": "升贴水 [2:点价 3:暂定价]",
  7617. "type": "number"
  7618. },
  7619. "pricetype": {
  7620. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7621. "type": "integer"
  7622. },
  7623. "producttype": {
  7624. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7625. "type": "integer"
  7626. },
  7627. "qty": {
  7628. "description": "数量",
  7629. "type": "number"
  7630. },
  7631. "selluserid": {
  7632. "description": "销售方ID",
  7633. "type": "integer"
  7634. },
  7635. "sellusername": {
  7636. "description": "销售方名称",
  7637. "type": "string"
  7638. },
  7639. "spotcontractid": {
  7640. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  7641. "type": "string"
  7642. },
  7643. "spotgoodsdesc": {
  7644. "description": "商品型号",
  7645. "type": "string"
  7646. },
  7647. "startdate": {
  7648. "description": "点价开始日期 [2:点价 3:暂定价]",
  7649. "type": "string"
  7650. }
  7651. }
  7652. },
  7653. "models.ErmcpUserModel": {
  7654. "type": "object",
  7655. "properties": {
  7656. "address": {
  7657. "description": "通讯地址",
  7658. "type": "string"
  7659. },
  7660. "cardnum": {
  7661. "description": "证件号码",
  7662. "type": "string"
  7663. },
  7664. "cardtype": {
  7665. "description": "证件类型",
  7666. "type": "string"
  7667. },
  7668. "customername": {
  7669. "description": "企业名称",
  7670. "type": "string"
  7671. },
  7672. "mobile": {
  7673. "description": "手机号码",
  7674. "type": "string"
  7675. },
  7676. "remark": {
  7677. "description": "备注",
  7678. "type": "string"
  7679. },
  7680. "status": {
  7681. "description": "账户状态",
  7682. "type": "string"
  7683. },
  7684. "telphone": {
  7685. "description": "联系电话",
  7686. "type": "string"
  7687. },
  7688. "userinfotype": {
  7689. "description": "客户类型",
  7690. "type": "string"
  7691. }
  7692. }
  7693. },
  7694. "models.ErmcpWrstandard": {
  7695. "type": "object",
  7696. "properties": {
  7697. "areauserid": {
  7698. "description": "所属机构",
  7699. "type": "integer"
  7700. },
  7701. "createtime": {
  7702. "description": "创建时间",
  7703. "type": "string"
  7704. },
  7705. "creatorid": {
  7706. "description": "创建人",
  7707. "type": "integer"
  7708. },
  7709. "deliverygoodsid": {
  7710. "description": "品种ID",
  7711. "type": "integer"
  7712. },
  7713. "enumdicname": {
  7714. "description": "单位名称",
  7715. "type": "string"
  7716. },
  7717. "minivalue": {
  7718. "description": "最小变动值",
  7719. "type": "integer"
  7720. },
  7721. "minivaluedp": {
  7722. "description": "最小变动值小数位",
  7723. "type": "integer"
  7724. },
  7725. "realminivalue": {
  7726. "description": "实际最小变动值",
  7727. "type": "integer"
  7728. },
  7729. "realminivaluedp": {
  7730. "description": "实际最小变动值小数位",
  7731. "type": "integer"
  7732. },
  7733. "unitid": {
  7734. "description": "单位ID",
  7735. "type": "integer"
  7736. },
  7737. "wrstandardcode": {
  7738. "description": "现货商品代码",
  7739. "type": "string"
  7740. },
  7741. "wrstandardid": {
  7742. "description": "现货商品ID(SEQ_WRSTANDARD)",
  7743. "type": "integer"
  7744. },
  7745. "wrstandardname": {
  7746. "description": "现货商品名称",
  7747. "type": "string"
  7748. }
  7749. }
  7750. },
  7751. "models.GoodsIDAndName": {
  7752. "type": "object",
  7753. "required": [
  7754. "goodscode",
  7755. "goodsid",
  7756. "goodsname",
  7757. "marketid"
  7758. ],
  7759. "properties": {
  7760. "goodscode": {
  7761. "description": "商品代码(内部)",
  7762. "type": "string"
  7763. },
  7764. "goodsid": {
  7765. "description": "商品ID(自增ID SEQ_GOODS)",
  7766. "type": "integer"
  7767. },
  7768. "goodsname": {
  7769. "description": "商品名称",
  7770. "type": "string"
  7771. },
  7772. "marketid": {
  7773. "description": "所属市场ID",
  7774. "type": "integer"
  7775. }
  7776. }
  7777. },
  7778. "models.HsbyBuyMyPayOrder": {
  7779. "type": "object",
  7780. "required": [
  7781. "goodscode",
  7782. "goodsname",
  7783. "tradeid",
  7784. "trademode"
  7785. ],
  7786. "properties": {
  7787. "agreeunit": {
  7788. "description": "合约单位",
  7789. "type": "number"
  7790. },
  7791. "buyaccountid": {
  7792. "description": "买方账号ID[报价币种]",
  7793. "type": "integer"
  7794. },
  7795. "buyorderid": {
  7796. "description": "买方委托单号",
  7797. "type": "string"
  7798. },
  7799. "createtime": {
  7800. "description": "创建时间",
  7801. "type": "string"
  7802. },
  7803. "currencysign": {
  7804. "description": "货币符号",
  7805. "type": "string"
  7806. },
  7807. "decimalplace": {
  7808. "description": "报价小数位",
  7809. "type": "integer"
  7810. },
  7811. "goodscode": {
  7812. "description": "商品代码(内部)",
  7813. "type": "string"
  7814. },
  7815. "goodsid": {
  7816. "description": "商品ID",
  7817. "type": "integer"
  7818. },
  7819. "goodsname": {
  7820. "description": "商品名称",
  7821. "type": "string"
  7822. },
  7823. "marketid": {
  7824. "description": "市场ID",
  7825. "type": "integer"
  7826. },
  7827. "offamount": {
  7828. "description": "优惠金额",
  7829. "type": "number"
  7830. },
  7831. "payamount": {
  7832. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7833. "type": "number"
  7834. },
  7835. "payflag": {
  7836. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7837. "type": "integer"
  7838. },
  7839. "paylimitedtime": {
  7840. "description": "支付期限",
  7841. "type": "string"
  7842. },
  7843. "paytime": {
  7844. "description": "付款时间",
  7845. "type": "string"
  7846. },
  7847. "picurls1": {
  7848. "description": "预售商品介绍图片[多张用逗号分隔]",
  7849. "type": "string"
  7850. },
  7851. "picurls2": {
  7852. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7853. "type": "string"
  7854. },
  7855. "sellaccountid": {
  7856. "description": "卖方账号ID[报价币种]",
  7857. "type": "integer"
  7858. },
  7859. "sellorderid": {
  7860. "description": "卖方委托单号",
  7861. "type": "string"
  7862. },
  7863. "tradeamount": {
  7864. "description": "成交金额",
  7865. "type": "number"
  7866. },
  7867. "tradecharge": {
  7868. "description": "成交手续费(买方)",
  7869. "type": "number"
  7870. },
  7871. "tradedate": {
  7872. "description": "交易日(yyyyMMdd)",
  7873. "type": "string"
  7874. },
  7875. "tradeid": {
  7876. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7877. "type": "string"
  7878. },
  7879. "trademode": {
  7880. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7881. "type": "integer"
  7882. },
  7883. "tradeprice": {
  7884. "description": "成交价格",
  7885. "type": "number"
  7886. },
  7887. "tradeqty": {
  7888. "description": "成交数量",
  7889. "type": "integer"
  7890. },
  7891. "vendorname1": {
  7892. "description": "预售商品供应商名称",
  7893. "type": "string"
  7894. },
  7895. "vendorname2": {
  7896. "description": "挂牌商品供应商名称",
  7897. "type": "string"
  7898. }
  7899. }
  7900. },
  7901. "models.HsbyBuyMyTradeDetail": {
  7902. "type": "object",
  7903. "required": [
  7904. "accountid",
  7905. "buyorsell",
  7906. "goodscode",
  7907. "goodsid",
  7908. "goodsname",
  7909. "marketid",
  7910. "orderid",
  7911. "qty",
  7912. "time",
  7913. "trademode"
  7914. ],
  7915. "properties": {
  7916. "accountid": {
  7917. "description": "账户ID[报价币种]",
  7918. "type": "integer"
  7919. },
  7920. "agreeunit": {
  7921. "description": "合约单位",
  7922. "type": "number"
  7923. },
  7924. "amount": {
  7925. "description": "金额 = 价格 * 数量 * 合约单位",
  7926. "type": "number"
  7927. },
  7928. "buyorsell": {
  7929. "description": "买卖 - 0:买 1:卖",
  7930. "type": "integer"
  7931. },
  7932. "currencysign": {
  7933. "description": "货币符号",
  7934. "type": "string"
  7935. },
  7936. "decimalplace": {
  7937. "description": "报价小数位",
  7938. "type": "integer"
  7939. },
  7940. "goodscode": {
  7941. "description": "商品代码(内部)",
  7942. "type": "string"
  7943. },
  7944. "goodsid": {
  7945. "description": "商品ID",
  7946. "type": "integer"
  7947. },
  7948. "goodsname": {
  7949. "description": "商品名称",
  7950. "type": "string"
  7951. },
  7952. "marketid": {
  7953. "description": "市场ID",
  7954. "type": "integer"
  7955. },
  7956. "orderid": {
  7957. "description": "单号(成交单号)",
  7958. "type": "string"
  7959. },
  7960. "picurls1": {
  7961. "description": "预售商品介绍图片[多张用逗号分隔]",
  7962. "type": "string"
  7963. },
  7964. "picurls2": {
  7965. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7966. "type": "string"
  7967. },
  7968. "price": {
  7969. "description": "价格",
  7970. "type": "number"
  7971. },
  7972. "qty": {
  7973. "description": "数量",
  7974. "type": "integer"
  7975. },
  7976. "time": {
  7977. "description": "时间",
  7978. "type": "string"
  7979. },
  7980. "trademode": {
  7981. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7982. "type": "integer"
  7983. },
  7984. "vendorname1": {
  7985. "description": "预售商品供应商名称",
  7986. "type": "string"
  7987. },
  7988. "vendorname2": {
  7989. "description": "挂牌商品供应商名称",
  7990. "type": "string"
  7991. }
  7992. }
  7993. },
  7994. "models.HsbyGoodsOrderDetail": {
  7995. "type": "object",
  7996. "required": [
  7997. "buyorsell",
  7998. "orderid",
  7999. "ordertime"
  8000. ],
  8001. "properties": {
  8002. "buyorsell": {
  8003. "description": "买卖 - 0:买 1:卖",
  8004. "type": "integer"
  8005. },
  8006. "currencysign": {
  8007. "description": "货币符号",
  8008. "type": "string"
  8009. },
  8010. "customername": {
  8011. "description": "客户名称(企业名称),已脱敏",
  8012. "type": "string"
  8013. },
  8014. "enableqty": {
  8015. "description": "可用数量",
  8016. "type": "integer"
  8017. },
  8018. "goodunit": {
  8019. "description": "报价单位",
  8020. "type": "string"
  8021. },
  8022. "orderid": {
  8023. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8024. "type": "string"
  8025. },
  8026. "orderprice": {
  8027. "description": "委托价格",
  8028. "type": "number"
  8029. },
  8030. "ordertime": {
  8031. "description": "委托时间",
  8032. "type": "string"
  8033. }
  8034. }
  8035. },
  8036. "models.HsbyListingGoodsDetail": {
  8037. "type": "object",
  8038. "required": [
  8039. "goodscode",
  8040. "goodsid",
  8041. "goodsname",
  8042. "marketid",
  8043. "trademode"
  8044. ],
  8045. "properties": {
  8046. "agreeunit": {
  8047. "description": "合约单位",
  8048. "type": "number"
  8049. },
  8050. "buymaxqty": {
  8051. "description": "购买上限 [71] - 0为不限",
  8052. "type": "integer"
  8053. },
  8054. "currency": {
  8055. "description": "货币",
  8056. "type": "string"
  8057. },
  8058. "currencysign": {
  8059. "description": "货币符号",
  8060. "type": "string"
  8061. },
  8062. "decimalplace": {
  8063. "description": "报价小数位",
  8064. "type": "integer"
  8065. },
  8066. "desccityid": {
  8067. "description": "目的地(市)ID",
  8068. "type": "integer"
  8069. },
  8070. "descprovinceid": {
  8071. "description": "目的地(省)ID",
  8072. "type": "integer"
  8073. },
  8074. "goodscode": {
  8075. "description": "商品代码(内部)",
  8076. "type": "string"
  8077. },
  8078. "goodsdesc": {
  8079. "description": "商品详情",
  8080. "type": "string"
  8081. },
  8082. "goodsid": {
  8083. "description": "商品ID(自增ID SEQ_GOODS)",
  8084. "type": "integer"
  8085. },
  8086. "goodsname": {
  8087. "description": "商品名称",
  8088. "type": "string"
  8089. },
  8090. "goodsprice": {
  8091. "description": "商品价格",
  8092. "type": "number"
  8093. },
  8094. "hotindex": {
  8095. "description": "景点热度",
  8096. "type": "integer"
  8097. },
  8098. "last": {
  8099. "description": "现价",
  8100. "type": "number"
  8101. },
  8102. "limitdown": {
  8103. "description": "跌停价",
  8104. "type": "number"
  8105. },
  8106. "limitup": {
  8107. "description": "涨停价",
  8108. "type": "number"
  8109. },
  8110. "lotsize": {
  8111. "description": "手数最小变动单位",
  8112. "type": "integer"
  8113. },
  8114. "marketid": {
  8115. "description": "所属市场ID",
  8116. "type": "integer"
  8117. },
  8118. "picurls": {
  8119. "description": "介绍图片[多张用逗号分隔]",
  8120. "type": "string"
  8121. },
  8122. "quoteminunit": {
  8123. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8124. "type": "integer"
  8125. },
  8126. "stepvalue": {
  8127. "description": "价格最小变动单位",
  8128. "type": "number"
  8129. },
  8130. "trademode": {
  8131. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8132. "type": "integer"
  8133. },
  8134. "vendorattr": {
  8135. "description": "供应商附件(多张,逗号分隔)",
  8136. "type": "string"
  8137. },
  8138. "vendorname": {
  8139. "description": "供应商名称",
  8140. "type": "string"
  8141. },
  8142. "vendorphone": {
  8143. "description": "供应商客服电话",
  8144. "type": "string"
  8145. },
  8146. "videourls": {
  8147. "description": "介绍视频[多张用逗号分隔]",
  8148. "type": "string"
  8149. }
  8150. }
  8151. },
  8152. "models.HsbyMarketGoods": {
  8153. "type": "object",
  8154. "required": [
  8155. "accountid",
  8156. "buyorsell",
  8157. "goodscode",
  8158. "goodsid",
  8159. "goodsname",
  8160. "marketid",
  8161. "orderid",
  8162. "trademode"
  8163. ],
  8164. "properties": {
  8165. "accountid": {
  8166. "description": "账户ID[报价币种]",
  8167. "type": "integer"
  8168. },
  8169. "agreeunit": {
  8170. "description": "合约单位",
  8171. "type": "number"
  8172. },
  8173. "buyorsell": {
  8174. "description": "买卖 - 0:买 1:卖",
  8175. "type": "integer"
  8176. },
  8177. "categoryid": {
  8178. "description": "类别ID(WRCATEGORY)",
  8179. "type": "integer"
  8180. },
  8181. "currency": {
  8182. "description": "货币",
  8183. "type": "string"
  8184. },
  8185. "currencysign": {
  8186. "description": "货币符号",
  8187. "type": "string"
  8188. },
  8189. "customername": {
  8190. "description": "卖家名称",
  8191. "type": "string"
  8192. },
  8193. "decimalplace": {
  8194. "description": "报价小数位",
  8195. "type": "integer"
  8196. },
  8197. "goodscode": {
  8198. "description": "商品代码(内部)",
  8199. "type": "string"
  8200. },
  8201. "goodsid": {
  8202. "description": "商品ID",
  8203. "type": "integer"
  8204. },
  8205. "goodsname": {
  8206. "description": "商品名称",
  8207. "type": "string"
  8208. },
  8209. "hascoupon": {
  8210. "description": "是否可用优惠卷",
  8211. "type": "boolean"
  8212. },
  8213. "hotindex": {
  8214. "description": "景点热度",
  8215. "type": "integer"
  8216. },
  8217. "marketid": {
  8218. "description": "市场ID",
  8219. "type": "integer"
  8220. },
  8221. "orderid": {
  8222. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8223. "type": "string"
  8224. },
  8225. "orderprice": {
  8226. "description": "委托价格",
  8227. "type": "number"
  8228. },
  8229. "orderstatus": {
  8230. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8231. "type": "integer"
  8232. },
  8233. "picurls": {
  8234. "description": "介绍图片[多张用逗号分隔]",
  8235. "type": "string"
  8236. },
  8237. "quoteminunit": {
  8238. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8239. "type": "integer"
  8240. },
  8241. "sellUserID": {
  8242. "description": "卖方UserID",
  8243. "type": "integer"
  8244. },
  8245. "trademode": {
  8246. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8247. "type": "integer"
  8248. },
  8249. "videourls": {
  8250. "description": "介绍视频[多张用逗号分隔]",
  8251. "type": "string"
  8252. }
  8253. }
  8254. },
  8255. "models.HsbyMarketGoodsDetail": {
  8256. "type": "object",
  8257. "required": [
  8258. "accountid",
  8259. "buyorsell",
  8260. "goodscode",
  8261. "goodsid",
  8262. "goodsname",
  8263. "marketid",
  8264. "orderid",
  8265. "orderqty",
  8266. "trademode"
  8267. ],
  8268. "properties": {
  8269. "accountid": {
  8270. "description": "账户ID[报价币种]",
  8271. "type": "integer"
  8272. },
  8273. "agreeunit": {
  8274. "description": "合约单位",
  8275. "type": "number"
  8276. },
  8277. "buymaxqty": {
  8278. "description": "购买上限 [71] - 0为不限",
  8279. "type": "integer"
  8280. },
  8281. "buyorsell": {
  8282. "description": "买卖 - 0:买 1:卖",
  8283. "type": "integer"
  8284. },
  8285. "cancelqty": {
  8286. "description": "撤单数量",
  8287. "type": "integer"
  8288. },
  8289. "categoryid": {
  8290. "description": "类别ID(WRCATEGORY)",
  8291. "type": "integer"
  8292. },
  8293. "currency": {
  8294. "description": "货币",
  8295. "type": "string"
  8296. },
  8297. "currencysign": {
  8298. "description": "货币符号",
  8299. "type": "string"
  8300. },
  8301. "customername": {
  8302. "description": "卖家名称",
  8303. "type": "string"
  8304. },
  8305. "decimalplace": {
  8306. "description": "报价小数位",
  8307. "type": "integer"
  8308. },
  8309. "goodscode": {
  8310. "description": "商品代码(内部)",
  8311. "type": "string"
  8312. },
  8313. "goodsdesc": {
  8314. "description": "商品详情",
  8315. "type": "string"
  8316. },
  8317. "goodsid": {
  8318. "description": "商品ID",
  8319. "type": "integer"
  8320. },
  8321. "goodsname": {
  8322. "description": "商品名称",
  8323. "type": "string"
  8324. },
  8325. "hotindex": {
  8326. "description": "景点热度",
  8327. "type": "integer"
  8328. },
  8329. "lotsize": {
  8330. "description": "手数最小变动单位",
  8331. "type": "integer"
  8332. },
  8333. "marketid": {
  8334. "description": "市场ID",
  8335. "type": "integer"
  8336. },
  8337. "orderid": {
  8338. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8339. "type": "string"
  8340. },
  8341. "orderprice": {
  8342. "description": "委托价格",
  8343. "type": "number"
  8344. },
  8345. "orderqty": {
  8346. "description": "委托数量",
  8347. "type": "integer"
  8348. },
  8349. "orderstatus": {
  8350. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8351. "type": "integer"
  8352. },
  8353. "picurls": {
  8354. "description": "介绍图片[多张用逗号分隔]",
  8355. "type": "string"
  8356. },
  8357. "quoteminunit": {
  8358. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8359. "type": "integer"
  8360. },
  8361. "sellUserID": {
  8362. "description": "卖方UserID",
  8363. "type": "integer"
  8364. },
  8365. "trademode": {
  8366. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8367. "type": "integer"
  8368. },
  8369. "tradeqty": {
  8370. "description": "成交数量",
  8371. "type": "integer"
  8372. },
  8373. "vendorname": {
  8374. "description": "供应商名称",
  8375. "type": "string"
  8376. },
  8377. "videourls": {
  8378. "description": "介绍视频[多张用逗号分隔]",
  8379. "type": "string"
  8380. }
  8381. }
  8382. },
  8383. "models.HsbyMarketInfo": {
  8384. "type": "object",
  8385. "required": [
  8386. "marketid",
  8387. "marketstatus",
  8388. "trademode"
  8389. ],
  8390. "properties": {
  8391. "marketid": {
  8392. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8393. "type": "integer"
  8394. },
  8395. "marketname": {
  8396. "description": "市场名称",
  8397. "type": "string"
  8398. },
  8399. "marketstatus": {
  8400. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8401. "type": "integer"
  8402. },
  8403. "trademode": {
  8404. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8405. "type": "integer"
  8406. }
  8407. }
  8408. },
  8409. "models.HsbyMyGoods": {
  8410. "type": "object",
  8411. "required": [
  8412. "accountid",
  8413. "goodscode",
  8414. "goodsid",
  8415. "goodsname",
  8416. "marketid",
  8417. "trademode"
  8418. ],
  8419. "properties": {
  8420. "accountid": {
  8421. "description": "账号Id",
  8422. "type": "integer"
  8423. },
  8424. "agreeunit": {
  8425. "description": "合约单位",
  8426. "type": "number"
  8427. },
  8428. "buyaverageprice": {
  8429. "description": "持仓均价",
  8430. "type": "number"
  8431. },
  8432. "buycurholderamount": {
  8433. "description": "买当前持仓总金额[商品币种]",
  8434. "type": "number"
  8435. },
  8436. "buycurpositionqty": {
  8437. "description": "买当前持仓总数量",
  8438. "type": "integer"
  8439. },
  8440. "currencysign": {
  8441. "description": "货币符号",
  8442. "type": "string"
  8443. },
  8444. "decimalplace": {
  8445. "description": "报价小数位",
  8446. "type": "integer"
  8447. },
  8448. "enableqty": {
  8449. "description": "可用数量",
  8450. "type": "integer"
  8451. },
  8452. "goodscode": {
  8453. "description": "商品代码(内部)",
  8454. "type": "string"
  8455. },
  8456. "goodsid": {
  8457. "description": "商品Id",
  8458. "type": "integer"
  8459. },
  8460. "goodsname": {
  8461. "description": "商品名称",
  8462. "type": "string"
  8463. },
  8464. "goodsprice": {
  8465. "description": "商品价格",
  8466. "type": "number"
  8467. },
  8468. "goodsstatus": {
  8469. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8470. "type": "integer"
  8471. },
  8472. "marketid": {
  8473. "description": "所属市场ID",
  8474. "type": "integer"
  8475. },
  8476. "picurls": {
  8477. "description": "介绍图片[多张用逗号分隔]",
  8478. "type": "string"
  8479. },
  8480. "trademode": {
  8481. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8482. "type": "integer"
  8483. }
  8484. }
  8485. },
  8486. "models.HsbyMyPackage": {
  8487. "type": "object",
  8488. "required": [
  8489. "goodscode",
  8490. "goodsname",
  8491. "takeorderid"
  8492. ],
  8493. "properties": {
  8494. "accountid": {
  8495. "description": "账户ID",
  8496. "type": "integer"
  8497. },
  8498. "address": {
  8499. "description": "提货人详细地址",
  8500. "type": "string"
  8501. },
  8502. "agreeunit": {
  8503. "description": "合约单位",
  8504. "type": "number"
  8505. },
  8506. "amount": {
  8507. "description": "提货金额",
  8508. "type": "number"
  8509. },
  8510. "auditer": {
  8511. "description": "审核人",
  8512. "type": "integer"
  8513. },
  8514. "audittime": {
  8515. "description": "审核时间",
  8516. "type": "string"
  8517. },
  8518. "averageprice": {
  8519. "description": "均价",
  8520. "type": "number"
  8521. },
  8522. "cardnum": {
  8523. "description": "提货人证件号码",
  8524. "type": "string"
  8525. },
  8526. "cardtypeid": {
  8527. "description": "提货人证件类型",
  8528. "type": "integer"
  8529. },
  8530. "checkremark": {
  8531. "description": "审核备注",
  8532. "type": "string"
  8533. },
  8534. "currencysign": {
  8535. "description": "货币符号",
  8536. "type": "string"
  8537. },
  8538. "decimalplace": {
  8539. "description": "报价小数位",
  8540. "type": "integer"
  8541. },
  8542. "goodscode": {
  8543. "description": "商品代码(内部)",
  8544. "type": "string"
  8545. },
  8546. "goodsid": {
  8547. "description": "商品ID",
  8548. "type": "integer"
  8549. },
  8550. "goodsname": {
  8551. "description": "商品名称",
  8552. "type": "string"
  8553. },
  8554. "handlestatus": {
  8555. "description": "处理状态",
  8556. "type": "integer"
  8557. },
  8558. "marketid": {
  8559. "description": "市场ID",
  8560. "type": "integer"
  8561. },
  8562. "phonenum": {
  8563. "description": "提货人联系方式",
  8564. "type": "string"
  8565. },
  8566. "picurls": {
  8567. "description": "介绍图片[多张用逗号分隔]",
  8568. "type": "string"
  8569. },
  8570. "qty": {
  8571. "description": "提货数量",
  8572. "type": "number"
  8573. },
  8574. "recivername": {
  8575. "description": "提货人姓名",
  8576. "type": "string"
  8577. },
  8578. "reqtime": {
  8579. "description": "更新时间",
  8580. "type": "string"
  8581. },
  8582. "takemode": {
  8583. "description": "提货方式 - 2:自提 3:配送",
  8584. "type": "integer"
  8585. },
  8586. "takeorderid": {
  8587. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8588. "type": "string"
  8589. },
  8590. "takeorderstatus": {
  8591. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8592. "type": "integer"
  8593. },
  8594. "takeremark": {
  8595. "description": "提货备注",
  8596. "type": "string"
  8597. },
  8598. "tradedate": {
  8599. "description": "交易日(yyyyMMdd)",
  8600. "type": "string"
  8601. },
  8602. "userid": {
  8603. "description": "用户ID",
  8604. "type": "integer"
  8605. },
  8606. "vendorname": {
  8607. "description": "供应商名称",
  8608. "type": "string"
  8609. }
  8610. }
  8611. },
  8612. "models.HsbyPreGoods": {
  8613. "type": "object",
  8614. "required": [
  8615. "goodscode",
  8616. "goodsid",
  8617. "goodsname",
  8618. "marketid",
  8619. "trademode"
  8620. ],
  8621. "properties": {
  8622. "agreeunit": {
  8623. "description": "合约单位",
  8624. "type": "number"
  8625. },
  8626. "currency": {
  8627. "description": "货币",
  8628. "type": "string"
  8629. },
  8630. "currencysign": {
  8631. "description": "货币符号",
  8632. "type": "string"
  8633. },
  8634. "decimalplace": {
  8635. "description": "报价小数位",
  8636. "type": "integer"
  8637. },
  8638. "enableqty": {
  8639. "description": "剩余数量",
  8640. "type": "integer"
  8641. },
  8642. "goodscode": {
  8643. "description": "商品代码(内部)",
  8644. "type": "string"
  8645. },
  8646. "goodsid": {
  8647. "description": "商品ID(自增ID SEQ_GOODS)",
  8648. "type": "integer"
  8649. },
  8650. "goodsname": {
  8651. "description": "商品名称",
  8652. "type": "string"
  8653. },
  8654. "goodsstatus": {
  8655. "description": "商品状态- 2:未上市 3:上市",
  8656. "type": "integer"
  8657. },
  8658. "lasttradedate": {
  8659. "description": "最后交易日期(状态:待退市)",
  8660. "type": "string"
  8661. },
  8662. "listingdate": {
  8663. "description": "交易开始日期",
  8664. "type": "string"
  8665. },
  8666. "marketid": {
  8667. "description": "所属市场ID",
  8668. "type": "integer"
  8669. },
  8670. "picurls": {
  8671. "description": "介绍图片[多张用逗号分隔]",
  8672. "type": "string"
  8673. },
  8674. "presaledqty": {
  8675. "description": "已预售量(预售结束时更新)",
  8676. "type": "integer"
  8677. },
  8678. "presaleqty": {
  8679. "description": "预售数量",
  8680. "type": "integer"
  8681. },
  8682. "quoteminunit": {
  8683. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8684. "type": "integer"
  8685. },
  8686. "refprice": {
  8687. "description": "参考价格[一口价]",
  8688. "type": "number"
  8689. },
  8690. "relatedgoodsid": {
  8691. "description": "关联交易合约ID",
  8692. "type": "integer"
  8693. },
  8694. "trademode": {
  8695. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8696. "type": "integer"
  8697. },
  8698. "videourls": {
  8699. "description": "介绍视频[多张用逗号分隔]",
  8700. "type": "string"
  8701. }
  8702. }
  8703. },
  8704. "models.HsbyPreGoodsDetail": {
  8705. "type": "object",
  8706. "required": [
  8707. "goodscode",
  8708. "goodsid",
  8709. "goodsname",
  8710. "marketid",
  8711. "trademode"
  8712. ],
  8713. "properties": {
  8714. "agreeunit": {
  8715. "description": "合约单位",
  8716. "type": "number"
  8717. },
  8718. "buymaxqty": {
  8719. "description": "购买上限 [71] - 0为不限",
  8720. "type": "integer"
  8721. },
  8722. "currency": {
  8723. "description": "货币",
  8724. "type": "string"
  8725. },
  8726. "currencysign": {
  8727. "description": "货币符号",
  8728. "type": "string"
  8729. },
  8730. "customername": {
  8731. "description": "发行单位",
  8732. "type": "string"
  8733. },
  8734. "decimalplace": {
  8735. "description": "报价小数位",
  8736. "type": "integer"
  8737. },
  8738. "desccityid": {
  8739. "description": "目的地(市)ID",
  8740. "type": "integer"
  8741. },
  8742. "descprovinceid": {
  8743. "description": "目的地(省)ID",
  8744. "type": "integer"
  8745. },
  8746. "enableqty": {
  8747. "description": "剩余数量",
  8748. "type": "integer"
  8749. },
  8750. "goodscode": {
  8751. "description": "商品代码(内部)",
  8752. "type": "string"
  8753. },
  8754. "goodsdesc": {
  8755. "description": "商品详情",
  8756. "type": "string"
  8757. },
  8758. "goodsid": {
  8759. "description": "商品ID(自增ID SEQ_GOODS)",
  8760. "type": "integer"
  8761. },
  8762. "goodsname": {
  8763. "description": "商品名称",
  8764. "type": "string"
  8765. },
  8766. "goodsstatus": {
  8767. "description": "商品状态- 2:未上市 3:上市",
  8768. "type": "integer"
  8769. },
  8770. "goodunit": {
  8771. "description": "报价单位",
  8772. "type": "string"
  8773. },
  8774. "lasttradedate": {
  8775. "description": "最后交易日期(状态:待退市)",
  8776. "type": "string"
  8777. },
  8778. "listingdate": {
  8779. "description": "交易开始日期",
  8780. "type": "string"
  8781. },
  8782. "lotsize": {
  8783. "description": "手数最小变动单位",
  8784. "type": "integer"
  8785. },
  8786. "marketid": {
  8787. "description": "所属市场ID",
  8788. "type": "integer"
  8789. },
  8790. "picurls": {
  8791. "description": "介绍图片[多张用逗号分隔]",
  8792. "type": "string"
  8793. },
  8794. "presaledqty": {
  8795. "description": "已预售量(预售结束时更新)",
  8796. "type": "integer"
  8797. },
  8798. "presaleqty": {
  8799. "description": "预售数量",
  8800. "type": "integer"
  8801. },
  8802. "quoteminunit": {
  8803. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8804. "type": "integer"
  8805. },
  8806. "refprice": {
  8807. "description": "参考价格[一口价]",
  8808. "type": "number"
  8809. },
  8810. "relatedgoodsid": {
  8811. "description": "关联交易合约ID",
  8812. "type": "integer"
  8813. },
  8814. "stepvalue": {
  8815. "description": "价格最小变动单位",
  8816. "type": "number"
  8817. },
  8818. "trademode": {
  8819. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8820. "type": "integer"
  8821. },
  8822. "vendorattr": {
  8823. "description": "供应商附件(多张,逗号分隔)",
  8824. "type": "string"
  8825. },
  8826. "vendorname": {
  8827. "description": "供应商名称",
  8828. "type": "string"
  8829. },
  8830. "vendorphone": {
  8831. "description": "供应商客服电话",
  8832. "type": "string"
  8833. },
  8834. "videourls": {
  8835. "description": "介绍视频[多张用逗号分隔]",
  8836. "type": "string"
  8837. }
  8838. }
  8839. },
  8840. "models.HsbySellCollectionOrder": {
  8841. "type": "object",
  8842. "required": [
  8843. "goodscode",
  8844. "goodsname",
  8845. "tradeid",
  8846. "trademode"
  8847. ],
  8848. "properties": {
  8849. "agreeunit": {
  8850. "description": "合约单位",
  8851. "type": "number"
  8852. },
  8853. "buyaccountid": {
  8854. "description": "买方账号ID[报价币种]",
  8855. "type": "integer"
  8856. },
  8857. "buyorderid": {
  8858. "description": "买方委托单号",
  8859. "type": "string"
  8860. },
  8861. "createtime": {
  8862. "description": "创建时间",
  8863. "type": "string"
  8864. },
  8865. "currencysign": {
  8866. "description": "货币符号",
  8867. "type": "string"
  8868. },
  8869. "decimalplace": {
  8870. "description": "报价小数位",
  8871. "type": "integer"
  8872. },
  8873. "goodscode": {
  8874. "description": "商品代码(内部)",
  8875. "type": "string"
  8876. },
  8877. "goodsid": {
  8878. "description": "商品ID",
  8879. "type": "integer"
  8880. },
  8881. "goodsname": {
  8882. "description": "商品名称",
  8883. "type": "string"
  8884. },
  8885. "marketid": {
  8886. "description": "市场ID",
  8887. "type": "integer"
  8888. },
  8889. "offamount": {
  8890. "description": "优惠金额",
  8891. "type": "number"
  8892. },
  8893. "payamount": {
  8894. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8895. "type": "number"
  8896. },
  8897. "payflag": {
  8898. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8899. "type": "integer"
  8900. },
  8901. "paylimitedtime": {
  8902. "description": "支付期限",
  8903. "type": "string"
  8904. },
  8905. "paytime": {
  8906. "description": "付款时间",
  8907. "type": "string"
  8908. },
  8909. "picurls": {
  8910. "description": "商品介绍图片[多张用逗号分隔]",
  8911. "type": "string"
  8912. },
  8913. "sellaccountid": {
  8914. "description": "卖方账号ID[报价币种]",
  8915. "type": "integer"
  8916. },
  8917. "sellorderid": {
  8918. "description": "卖方委托单号",
  8919. "type": "string"
  8920. },
  8921. "tradeamount": {
  8922. "description": "成交金额",
  8923. "type": "number"
  8924. },
  8925. "tradecharge": {
  8926. "description": "成交手续费(买方)",
  8927. "type": "number"
  8928. },
  8929. "tradedate": {
  8930. "description": "交易日(yyyyMMdd)",
  8931. "type": "string"
  8932. },
  8933. "tradeid": {
  8934. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8935. "type": "string"
  8936. },
  8937. "trademode": {
  8938. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8939. "type": "integer"
  8940. },
  8941. "tradeprice": {
  8942. "description": "成交价格",
  8943. "type": "number"
  8944. },
  8945. "tradeqty": {
  8946. "description": "成交数量",
  8947. "type": "integer"
  8948. }
  8949. }
  8950. },
  8951. "models.HsbySellMyDetail": {
  8952. "type": "object",
  8953. "required": [
  8954. "accountid",
  8955. "buyorsell",
  8956. "goodscode",
  8957. "goodsid",
  8958. "goodsname",
  8959. "marketid",
  8960. "orderid",
  8961. "time",
  8962. "trademode"
  8963. ],
  8964. "properties": {
  8965. "accountid": {
  8966. "description": "账户ID[报价币种]",
  8967. "type": "integer"
  8968. },
  8969. "agreeunit": {
  8970. "description": "合约单位",
  8971. "type": "number"
  8972. },
  8973. "buyorsell": {
  8974. "description": "买卖 - 0:买 1:卖",
  8975. "type": "integer"
  8976. },
  8977. "currencysign": {
  8978. "description": "货币符号",
  8979. "type": "string"
  8980. },
  8981. "decimalplace": {
  8982. "description": "报价小数位",
  8983. "type": "integer"
  8984. },
  8985. "goodscode": {
  8986. "description": "商品代码(内部)",
  8987. "type": "string"
  8988. },
  8989. "goodsid": {
  8990. "description": "商品ID",
  8991. "type": "integer"
  8992. },
  8993. "goodsname": {
  8994. "description": "商品名称",
  8995. "type": "string"
  8996. },
  8997. "marketid": {
  8998. "description": "市场ID",
  8999. "type": "integer"
  9000. },
  9001. "orderid": {
  9002. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9003. "type": "string"
  9004. },
  9005. "ordertype": {
  9006. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9007. "type": "integer"
  9008. },
  9009. "picurls": {
  9010. "description": "介绍图片[多张用逗号分隔]",
  9011. "type": "string"
  9012. },
  9013. "price": {
  9014. "description": "价格",
  9015. "type": "number"
  9016. },
  9017. "qty": {
  9018. "description": "数量",
  9019. "type": "integer"
  9020. },
  9021. "time": {
  9022. "description": "时间",
  9023. "type": "string"
  9024. },
  9025. "trademode": {
  9026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9027. "type": "integer"
  9028. },
  9029. "vendorname": {
  9030. "description": "供应商名称",
  9031. "type": "string"
  9032. }
  9033. }
  9034. },
  9035. "models.HsbyTopGoods": {
  9036. "type": "object",
  9037. "required": [
  9038. "goodscode",
  9039. "goodsid",
  9040. "goodsname",
  9041. "marketid",
  9042. "trademode"
  9043. ],
  9044. "properties": {
  9045. "agreeunit": {
  9046. "description": "合约单位",
  9047. "type": "number"
  9048. },
  9049. "currency": {
  9050. "description": "货币",
  9051. "type": "string"
  9052. },
  9053. "currencysign": {
  9054. "description": "货币符号",
  9055. "type": "string"
  9056. },
  9057. "decimalplace": {
  9058. "description": "报价小数位",
  9059. "type": "integer"
  9060. },
  9061. "goodscode": {
  9062. "description": "商品代码(内部)",
  9063. "type": "string"
  9064. },
  9065. "goodsid": {
  9066. "description": "商品ID(自增ID SEQ_GOODS)",
  9067. "type": "integer"
  9068. },
  9069. "goodsname": {
  9070. "description": "商品名称",
  9071. "type": "string"
  9072. },
  9073. "hotindex": {
  9074. "description": "景点热度",
  9075. "type": "integer"
  9076. },
  9077. "last": {
  9078. "description": "现价",
  9079. "type": "number"
  9080. },
  9081. "marketid": {
  9082. "description": "所属市场ID",
  9083. "type": "integer"
  9084. },
  9085. "picurls": {
  9086. "description": "介绍图片[多张用逗号分隔]",
  9087. "type": "string"
  9088. },
  9089. "quoteminunit": {
  9090. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9091. "type": "integer"
  9092. },
  9093. "trademode": {
  9094. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9095. "type": "integer"
  9096. },
  9097. "videourls": {
  9098. "description": "介绍视频[多张用逗号分隔]",
  9099. "type": "string"
  9100. }
  9101. }
  9102. },
  9103. "models.HybsMyBuyOrderDetail": {
  9104. "type": "object",
  9105. "required": [
  9106. "accountid",
  9107. "buyorsell",
  9108. "goodscode",
  9109. "goodsid",
  9110. "goodsname",
  9111. "marketid",
  9112. "orderid",
  9113. "orderqty",
  9114. "ordertime",
  9115. "trademode"
  9116. ],
  9117. "properties": {
  9118. "accountid": {
  9119. "description": "账户ID[报价币种]",
  9120. "type": "integer"
  9121. },
  9122. "agreeunit": {
  9123. "description": "合约单位",
  9124. "type": "number"
  9125. },
  9126. "buyorsell": {
  9127. "description": "买卖 - 0:买 1:卖",
  9128. "type": "integer"
  9129. },
  9130. "cancelqty": {
  9131. "description": "撤单数量",
  9132. "type": "integer"
  9133. },
  9134. "currencysign": {
  9135. "description": "货币符号",
  9136. "type": "string"
  9137. },
  9138. "decimalplace": {
  9139. "description": "报价小数位",
  9140. "type": "integer"
  9141. },
  9142. "goodscode": {
  9143. "description": "商品代码(内部)",
  9144. "type": "string"
  9145. },
  9146. "goodsid": {
  9147. "description": "商品ID",
  9148. "type": "integer"
  9149. },
  9150. "goodsname": {
  9151. "description": "商品名称",
  9152. "type": "string"
  9153. },
  9154. "listingselecttype": {
  9155. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9156. "type": "integer"
  9157. },
  9158. "marketid": {
  9159. "description": "市场ID",
  9160. "type": "integer"
  9161. },
  9162. "mybuystatus": {
  9163. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9164. "type": "integer"
  9165. },
  9166. "orderamount": {
  9167. "description": "委托金额",
  9168. "type": "number"
  9169. },
  9170. "orderid": {
  9171. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9172. "type": "string"
  9173. },
  9174. "orderprice": {
  9175. "description": "委托价格",
  9176. "type": "number"
  9177. },
  9178. "orderqty": {
  9179. "description": "委托数量",
  9180. "type": "integer"
  9181. },
  9182. "orderstatus": {
  9183. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9184. "type": "integer"
  9185. },
  9186. "ordertime": {
  9187. "description": "委托时间",
  9188. "type": "string"
  9189. },
  9190. "picurls1": {
  9191. "description": "预售商品介绍图片[多张用逗号分隔]",
  9192. "type": "string"
  9193. },
  9194. "picurls2": {
  9195. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9196. "type": "string"
  9197. },
  9198. "trademode": {
  9199. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9200. "type": "integer"
  9201. },
  9202. "tradeqty": {
  9203. "description": "成交数量",
  9204. "type": "integer"
  9205. },
  9206. "vendorname1": {
  9207. "description": "预售商品供应商名称",
  9208. "type": "string"
  9209. },
  9210. "vendorname2": {
  9211. "description": "挂牌商品供应商名称",
  9212. "type": "string"
  9213. }
  9214. }
  9215. },
  9216. "models.Marketrun": {
  9217. "type": "object",
  9218. "required": [
  9219. "marketid",
  9220. "nexttradedate",
  9221. "reckonflag",
  9222. "runstatus",
  9223. "tradedate",
  9224. "tradedate2"
  9225. ],
  9226. "properties": {
  9227. "afternexttradedate": {
  9228. "description": "下下交易日",
  9229. "type": "string"
  9230. },
  9231. "clearquoteflag": {
  9232. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9233. "type": "integer"
  9234. },
  9235. "lastreckondate": {
  9236. "description": "最新交易日(结算成功)",
  9237. "type": "string"
  9238. },
  9239. "machinedate": {
  9240. "description": "机器时间",
  9241. "type": "string"
  9242. },
  9243. "manualflag": {
  9244. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9245. "type": "integer"
  9246. },
  9247. "marketid": {
  9248. "description": "市场ID",
  9249. "type": "integer"
  9250. },
  9251. "nexttradedate": {
  9252. "description": "下一交易日",
  9253. "type": "string"
  9254. },
  9255. "pretradedate": {
  9256. "description": "上一交易日",
  9257. "type": "string"
  9258. },
  9259. "reckonflag": {
  9260. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9261. "type": "integer"
  9262. },
  9263. "runstatus": {
  9264. "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.今日免清算",
  9265. "type": "integer"
  9266. },
  9267. "sectionid": {
  9268. "description": "时间段号[多时段时用]",
  9269. "type": "integer"
  9270. },
  9271. "tradedate": {
  9272. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9273. "type": "string"
  9274. },
  9275. "tradedate2": {
  9276. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9277. "type": "string"
  9278. },
  9279. "updatetime": {
  9280. "description": "更新时间",
  9281. "type": "string"
  9282. }
  9283. }
  9284. },
  9285. "models.Messageboard": {
  9286. "type": "object",
  9287. "required": [
  9288. "messageboardid"
  9289. ],
  9290. "properties": {
  9291. "createtime": {
  9292. "description": "创建时间",
  9293. "type": "string"
  9294. },
  9295. "message": {
  9296. "description": "留言信息",
  9297. "type": "string"
  9298. },
  9299. "messageboardid": {
  9300. "description": "留言簿ID(SEQ_MessageBoard)",
  9301. "type": "integer"
  9302. },
  9303. "userid": {
  9304. "description": "用户ID",
  9305. "type": "integer"
  9306. }
  9307. }
  9308. },
  9309. "models.MyCoupon": {
  9310. "type": "object",
  9311. "required": [
  9312. "accountid",
  9313. "coupontypeid"
  9314. ],
  9315. "properties": {
  9316. "accountid": {
  9317. "description": "资金账户ID",
  9318. "type": "integer"
  9319. },
  9320. "areauserid": {
  9321. "description": "所属机构",
  9322. "type": "integer"
  9323. },
  9324. "conditionvalue": {
  9325. "description": "条件阈值(可为0)",
  9326. "type": "number"
  9327. },
  9328. "couponcategroy": {
  9329. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9330. "type": "integer"
  9331. },
  9332. "couponname": {
  9333. "description": "优惠券名称",
  9334. "type": "string"
  9335. },
  9336. "coupontypeid": {
  9337. "description": "优惠券类型ID",
  9338. "type": "string"
  9339. },
  9340. "couponvalue": {
  9341. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9342. "type": "number"
  9343. },
  9344. "curfreezeqty": {
  9345. "description": "期末冻结数量",
  9346. "type": "integer"
  9347. },
  9348. "curqty": {
  9349. "description": "期末数量",
  9350. "type": "integer"
  9351. },
  9352. "isgeneral": {
  9353. "description": "是否通用券 - 0:否 1:是",
  9354. "type": "integer"
  9355. },
  9356. "isunusable": {
  9357. "description": "是否不可用",
  9358. "type": "boolean"
  9359. },
  9360. "limitedflag": {
  9361. "description": "是否指定商品 - 0:不限 1:限制",
  9362. "type": "integer"
  9363. },
  9364. "limitedgoodsids": {
  9365. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9366. "type": "string"
  9367. },
  9368. "orifreezeqty": {
  9369. "description": "期初冻结数量",
  9370. "type": "integer"
  9371. },
  9372. "oriqty": {
  9373. "description": "期初数量",
  9374. "type": "integer"
  9375. },
  9376. "reasontype": {
  9377. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9378. "type": "integer"
  9379. },
  9380. "todaydecrease": {
  9381. "description": "今日减少",
  9382. "type": "integer"
  9383. },
  9384. "todayincrease": {
  9385. "description": "今日增加",
  9386. "type": "integer"
  9387. },
  9388. "userid": {
  9389. "description": "用户ID",
  9390. "type": "integer"
  9391. },
  9392. "userscope": {
  9393. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9394. "type": "string"
  9395. }
  9396. }
  9397. },
  9398. "models.MyCouponHold": {
  9399. "type": "object",
  9400. "required": [
  9401. "couponholdid"
  9402. ],
  9403. "properties": {
  9404. "accountid": {
  9405. "description": "资金账户ID",
  9406. "type": "integer"
  9407. },
  9408. "conditionvalue": {
  9409. "description": "条件阈值(可为0)",
  9410. "type": "number"
  9411. },
  9412. "couponcategroy": {
  9413. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9414. "type": "integer"
  9415. },
  9416. "couponholdid": {
  9417. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9418. "type": "string"
  9419. },
  9420. "couponname": {
  9421. "description": "优惠券名称",
  9422. "type": "string"
  9423. },
  9424. "coupontypeid": {
  9425. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9426. "type": "string"
  9427. },
  9428. "couponvalue": {
  9429. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9430. "type": "number"
  9431. },
  9432. "createtime": {
  9433. "description": "创建时间",
  9434. "type": "string"
  9435. },
  9436. "enddate": {
  9437. "description": "结束日期",
  9438. "type": "string"
  9439. },
  9440. "giveapplyid": {
  9441. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9442. "type": "integer"
  9443. },
  9444. "holdstatus": {
  9445. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9446. "type": "integer"
  9447. },
  9448. "isgeneral": {
  9449. "description": "是否通用券 - 0:否 1:是",
  9450. "type": "integer"
  9451. },
  9452. "limitedflag": {
  9453. "description": "是否指定商品 - 0:不限 1:限制",
  9454. "type": "integer"
  9455. },
  9456. "limitedgoodsids": {
  9457. "description": "指定商品IDs[逗号分隔]",
  9458. "type": "string"
  9459. },
  9460. "qty": {
  9461. "description": "数量(按1平铺)",
  9462. "type": "integer"
  9463. },
  9464. "startdate": {
  9465. "description": "开始日期",
  9466. "type": "string"
  9467. },
  9468. "userid": {
  9469. "description": "用户ID",
  9470. "type": "integer"
  9471. },
  9472. "userscope": {
  9473. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9474. "type": "string"
  9475. }
  9476. }
  9477. },
  9478. "models.MyUsedCoupon": {
  9479. "type": "object",
  9480. "required": [
  9481. "coupontypeid",
  9482. "orderid"
  9483. ],
  9484. "properties": {
  9485. "accountid": {
  9486. "description": "资金账户ID(买方)",
  9487. "type": "integer"
  9488. },
  9489. "conditionvalue": {
  9490. "description": "条件阈值(可为0)",
  9491. "type": "number"
  9492. },
  9493. "couponcategroy": {
  9494. "description": "种类 - 1:现金券 2:折扣券",
  9495. "type": "integer"
  9496. },
  9497. "couponname": {
  9498. "description": "优惠券名称",
  9499. "type": "string"
  9500. },
  9501. "coupontypeid": {
  9502. "description": "优惠券类型ID(买方)",
  9503. "type": "string"
  9504. },
  9505. "couponvalue": {
  9506. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9507. "type": "number"
  9508. },
  9509. "createtime": {
  9510. "description": "创建时间",
  9511. "type": "string"
  9512. },
  9513. "goodsid": {
  9514. "description": "商品ID",
  9515. "type": "integer"
  9516. },
  9517. "handlestatus": {
  9518. "description": "处理状态",
  9519. "type": "integer"
  9520. },
  9521. "marketid": {
  9522. "description": "市场ID",
  9523. "type": "integer"
  9524. },
  9525. "offamount": {
  9526. "description": "优惠金额",
  9527. "type": "number"
  9528. },
  9529. "orderid": {
  9530. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9531. "type": "string"
  9532. },
  9533. "sellaccountid": {
  9534. "description": "资金账户ID(卖方)",
  9535. "type": "integer"
  9536. },
  9537. "tradeamount": {
  9538. "description": "成交金额",
  9539. "type": "number"
  9540. },
  9541. "tradeid": {
  9542. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9543. "type": "string"
  9544. },
  9545. "usedqty": {
  9546. "description": "使用数量",
  9547. "type": "integer"
  9548. }
  9549. }
  9550. },
  9551. "models.OperationPrimaryMenu": {
  9552. "type": "object",
  9553. "properties": {
  9554. "Children": {
  9555. "description": "二级功能菜单",
  9556. "type": "array",
  9557. "items": {
  9558. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9559. }
  9560. },
  9561. "Key": {
  9562. "description": "菜单KEY",
  9563. "type": "string"
  9564. },
  9565. "Label": {
  9566. "description": "菜单标题",
  9567. "type": "string"
  9568. }
  9569. }
  9570. },
  9571. "models.OperationSecondaryMenu": {
  9572. "type": "object",
  9573. "properties": {
  9574. "Key": {
  9575. "description": "菜单KEY",
  9576. "type": "string"
  9577. },
  9578. "Label": {
  9579. "description": "菜单标题",
  9580. "type": "string"
  9581. },
  9582. "TabList": {
  9583. "description": "三级功能菜单",
  9584. "type": "array",
  9585. "items": {
  9586. "$ref": "#/definitions/models.OperationTabMenu"
  9587. }
  9588. }
  9589. }
  9590. },
  9591. "models.OperationTabMenu": {
  9592. "type": "object",
  9593. "properties": {
  9594. "Key": {
  9595. "description": "菜单KEY",
  9596. "type": "string"
  9597. },
  9598. "Label": {
  9599. "description": "菜单标题",
  9600. "type": "string"
  9601. }
  9602. }
  9603. },
  9604. "models.PendingAuditBizModel": {
  9605. "type": "object",
  9606. "properties": {
  9607. "accountid": {
  9608. "description": "现货账户",
  9609. "type": "string"
  9610. },
  9611. "areaname": {
  9612. "description": "所属部门",
  9613. "type": "string"
  9614. },
  9615. "bizid": {
  9616. "description": "业务ID",
  9617. "type": "string"
  9618. },
  9619. "bizname": {
  9620. "description": "业务名称",
  9621. "type": "string"
  9622. },
  9623. "status": {
  9624. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9625. "type": "integer"
  9626. },
  9627. "type": {
  9628. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  9629. "type": "integer"
  9630. }
  9631. }
  9632. },
  9633. "models.QuotePrimaryMenu": {
  9634. "type": "object",
  9635. "properties": {
  9636. "Index": {
  9637. "description": "序号",
  9638. "type": "integer"
  9639. },
  9640. "Key": {
  9641. "description": "键名",
  9642. "type": "string"
  9643. },
  9644. "Name": {
  9645. "description": "菜单名称",
  9646. "type": "string"
  9647. },
  9648. "SubMenus": {
  9649. "description": "子菜单",
  9650. "type": "array",
  9651. "items": {
  9652. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9653. }
  9654. },
  9655. "SubTitleType": {
  9656. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9657. "type": "integer"
  9658. },
  9659. "TradeModes": {
  9660. "description": "包含市场交易类型",
  9661. "type": "string"
  9662. }
  9663. }
  9664. },
  9665. "models.QuoteSecondaryMenu": {
  9666. "type": "object",
  9667. "properties": {
  9668. "ExExchangeCode": {
  9669. "description": "外部交易所代码",
  9670. "type": "string"
  9671. },
  9672. "ExExchangeID": {
  9673. "description": "外部交易所ID",
  9674. "type": "integer"
  9675. },
  9676. "GoodsGroupIDs": {
  9677. "description": "商品组ID列表",
  9678. "type": "array",
  9679. "items": {
  9680. "type": "integer"
  9681. }
  9682. },
  9683. "Index": {
  9684. "description": "序号",
  9685. "type": "integer"
  9686. },
  9687. "MarketID": {
  9688. "description": "市场ID",
  9689. "type": "integer"
  9690. },
  9691. "MenuTitle": {
  9692. "description": "菜单标题(市场名称或外部交易所名称)",
  9693. "type": "string"
  9694. },
  9695. "TradeMode": {
  9696. "description": "交易模式",
  9697. "type": "integer"
  9698. }
  9699. }
  9700. },
  9701. "models.SearchGoods": {
  9702. "type": "object",
  9703. "required": [
  9704. "goodscode",
  9705. "goodsid",
  9706. "goodsname",
  9707. "marketid",
  9708. "trademode"
  9709. ],
  9710. "properties": {
  9711. "goodscode": {
  9712. "description": "商品代码(内部)",
  9713. "type": "string"
  9714. },
  9715. "goodsid": {
  9716. "description": "商品ID(自增ID SEQ_GOODS)",
  9717. "type": "integer"
  9718. },
  9719. "goodsname": {
  9720. "description": "商品名称",
  9721. "type": "string"
  9722. },
  9723. "marketid": {
  9724. "description": "所属市场ID",
  9725. "type": "integer"
  9726. },
  9727. "marketname": {
  9728. "description": "市场名称",
  9729. "type": "string"
  9730. },
  9731. "trademode": {
  9732. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9733. "type": "integer"
  9734. }
  9735. }
  9736. },
  9737. "models.Szdz2imageconfig": {
  9738. "type": "object",
  9739. "required": [
  9740. "configid"
  9741. ],
  9742. "properties": {
  9743. "configid": {
  9744. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9745. "type": "integer"
  9746. },
  9747. "imagepath": {
  9748. "description": "图片",
  9749. "type": "string"
  9750. },
  9751. "imagetype": {
  9752. "description": "类型 - 1:App首页轮播 2:我的",
  9753. "type": "integer"
  9754. },
  9755. "sort": {
  9756. "description": "排序",
  9757. "type": "integer"
  9758. },
  9759. "title": {
  9760. "description": "标题",
  9761. "type": "string"
  9762. },
  9763. "url": {
  9764. "description": "链接",
  9765. "type": "string"
  9766. }
  9767. }
  9768. },
  9769. "models.Szdz3convertconfig": {
  9770. "type": "object",
  9771. "required": [
  9772. "converttype",
  9773. "innergoodsid",
  9774. "outergoodscode"
  9775. ],
  9776. "properties": {
  9777. "canin": {
  9778. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9779. "type": "integer"
  9780. },
  9781. "canout": {
  9782. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9783. "type": "integer"
  9784. },
  9785. "converttype": {
  9786. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9787. "type": "integer"
  9788. },
  9789. "createtime": {
  9790. "description": "创建时间",
  9791. "type": "string"
  9792. },
  9793. "creatorid": {
  9794. "description": "创建人",
  9795. "type": "integer"
  9796. },
  9797. "daymaxvalue": {
  9798. "description": "当日最大转入限制",
  9799. "type": "number"
  9800. },
  9801. "freezedays": {
  9802. "description": "冻结天数 [5:花生米转交易]",
  9803. "type": "integer"
  9804. },
  9805. "innergoodsid": {
  9806. "description": "内部商品ID[交易]",
  9807. "type": "integer"
  9808. },
  9809. "inratio": {
  9810. "description": "目标值",
  9811. "type": "integer"
  9812. },
  9813. "modifierid": {
  9814. "description": "修改人",
  9815. "type": "integer"
  9816. },
  9817. "modifytime": {
  9818. "description": "修改时间",
  9819. "type": "string"
  9820. },
  9821. "outergoodscode": {
  9822. "description": "外部商品代码[JD\\PD]",
  9823. "type": "string"
  9824. },
  9825. "outratio": {
  9826. "description": "源值",
  9827. "type": "integer"
  9828. },
  9829. "pddecimalplace": {
  9830. "description": "PD小数位",
  9831. "type": "integer"
  9832. },
  9833. "timemaxvalue": {
  9834. "description": "单次最大转入限制",
  9835. "type": "number"
  9836. },
  9837. "timeminvalue": {
  9838. "description": "单次最小转入限制",
  9839. "type": "number"
  9840. }
  9841. }
  9842. },
  9843. "models.Szdz3searchwhitelist": {
  9844. "type": "object",
  9845. "required": [
  9846. "userid"
  9847. ],
  9848. "properties": {
  9849. "createtime": {
  9850. "description": "创建时间",
  9851. "type": "string"
  9852. },
  9853. "creatorid": {
  9854. "description": "创建人",
  9855. "type": "integer"
  9856. },
  9857. "modifierid": {
  9858. "description": "修改人",
  9859. "type": "integer"
  9860. },
  9861. "modifytime": {
  9862. "description": "修改时间",
  9863. "type": "string"
  9864. },
  9865. "userid": {
  9866. "description": "用户ID",
  9867. "type": "integer"
  9868. }
  9869. }
  9870. },
  9871. "models.Tablecolumnconfig": {
  9872. "type": "object",
  9873. "required": [
  9874. "autoid"
  9875. ],
  9876. "properties": {
  9877. "aligntype": {
  9878. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9879. "type": "integer"
  9880. },
  9881. "autoid": {
  9882. "description": "AutoID",
  9883. "type": "integer"
  9884. },
  9885. "columnfield": {
  9886. "description": "列字段",
  9887. "type": "string"
  9888. },
  9889. "columntitle": {
  9890. "description": "列Title",
  9891. "type": "string"
  9892. },
  9893. "columnwidth": {
  9894. "description": "列宽",
  9895. "type": "string"
  9896. },
  9897. "formatterstring": {
  9898. "description": "格式化字符",
  9899. "type": "string"
  9900. },
  9901. "formattertype": {
  9902. "description": "格式化类型",
  9903. "type": "string"
  9904. },
  9905. "groupname": {
  9906. "description": "表头分组名称",
  9907. "type": "string"
  9908. },
  9909. "isshow": {
  9910. "description": "是否显示 - 0:不显示 1:显示",
  9911. "type": "integer"
  9912. },
  9913. "needsummary": {
  9914. "description": "是否需要汇总 - 0:不需要 1:需要",
  9915. "type": "integer"
  9916. },
  9917. "orderindex": {
  9918. "description": "顺序",
  9919. "type": "integer"
  9920. },
  9921. "remark": {
  9922. "description": "备注",
  9923. "type": "string"
  9924. },
  9925. "summarytype": {
  9926. "description": "汇总类型 - 1:加总 2:最后一个",
  9927. "type": "integer"
  9928. },
  9929. "tablekey": {
  9930. "description": "列表Key",
  9931. "type": "string"
  9932. }
  9933. }
  9934. },
  9935. "models.Useraccount": {
  9936. "type": "object",
  9937. "required": [
  9938. "userid"
  9939. ],
  9940. "properties": {
  9941. "accountname": {
  9942. "description": "账户名称(机构名称)",
  9943. "type": "string"
  9944. },
  9945. "accountstatus": {
  9946. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9947. "type": "integer"
  9948. },
  9949. "auditremark": {
  9950. "description": "审核备注",
  9951. "type": "string"
  9952. },
  9953. "audittime": {
  9954. "description": "审核时间",
  9955. "type": "string"
  9956. },
  9957. "audituserid": {
  9958. "description": "审核人",
  9959. "type": "integer"
  9960. },
  9961. "broker": {
  9962. "description": "所属经纪人ID",
  9963. "type": "integer"
  9964. },
  9965. "canceltime": {
  9966. "description": "销户时间",
  9967. "type": "string"
  9968. },
  9969. "canceluserid": {
  9970. "description": "销户人",
  9971. "type": "integer"
  9972. },
  9973. "createtime": {
  9974. "description": "创建时间",
  9975. "type": "string"
  9976. },
  9977. "creatorid": {
  9978. "description": "创建人",
  9979. "type": "integer"
  9980. },
  9981. "hasauth": {
  9982. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9983. "type": "integer"
  9984. },
  9985. "isanonymous": {
  9986. "description": "是否匿名下单 - 0:否 1:是",
  9987. "type": "integer"
  9988. },
  9989. "maxinvestornum": {
  9990. "description": "最大用户数(经纪会员下投资者个数)",
  9991. "type": "integer"
  9992. },
  9993. "memberuserid": {
  9994. "description": "所属会员ID",
  9995. "type": "integer"
  9996. },
  9997. "modifierid": {
  9998. "description": "修改人",
  9999. "type": "integer"
  10000. },
  10001. "modifyremark": {
  10002. "description": "变更备注",
  10003. "type": "string"
  10004. },
  10005. "modifystatus": {
  10006. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10007. "type": "integer"
  10008. },
  10009. "modifytime": {
  10010. "description": "修改时间",
  10011. "type": "string"
  10012. },
  10013. "parentuserid": {
  10014. "description": "所属机构ID",
  10015. "type": "integer"
  10016. },
  10017. "reckonaccountid": {
  10018. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10019. "type": "integer"
  10020. },
  10021. "refercount": {
  10022. "description": "推荐总人数",
  10023. "type": "integer"
  10024. },
  10025. "refereeuserid": {
  10026. "description": "推荐人ID",
  10027. "type": "integer"
  10028. },
  10029. "refernum": {
  10030. "description": "推荐码",
  10031. "type": "string"
  10032. },
  10033. "subarealevelpath": {
  10034. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10035. "type": "string"
  10036. },
  10037. "userid": {
  10038. "description": "用户ID",
  10039. "type": "integer"
  10040. },
  10041. "usertype": {
  10042. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10043. "type": "integer"
  10044. }
  10045. }
  10046. },
  10047. "models.Userfavoritegoods": {
  10048. "type": "object",
  10049. "required": [
  10050. "goodsid"
  10051. ],
  10052. "properties": {
  10053. "goodsid": {
  10054. "description": "商品ID",
  10055. "type": "integer"
  10056. }
  10057. }
  10058. },
  10059. "models.Userinfo": {
  10060. "type": "object",
  10061. "required": [
  10062. "userid"
  10063. ],
  10064. "properties": {
  10065. "address": {
  10066. "description": "地址",
  10067. "type": "string"
  10068. },
  10069. "attachment1": {
  10070. "description": "附件1",
  10071. "type": "string"
  10072. },
  10073. "attachment2": {
  10074. "description": "附件2",
  10075. "type": "string"
  10076. },
  10077. "bankaccount": {
  10078. "description": "银行帐号 (加密存储)",
  10079. "type": "string"
  10080. },
  10081. "bankaccountname": {
  10082. "description": "收款人名称",
  10083. "type": "string"
  10084. },
  10085. "bankcardfrontphotourl": {
  10086. "description": "银行卡正面照地址",
  10087. "type": "string"
  10088. },
  10089. "bankid": {
  10090. "description": "银行编码",
  10091. "type": "string"
  10092. },
  10093. "bankname": {
  10094. "description": "银行名称",
  10095. "type": "string"
  10096. },
  10097. "biznature": {
  10098. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10099. "type": "integer"
  10100. },
  10101. "bizscope": {
  10102. "description": "企业经营范围(企业)",
  10103. "type": "string"
  10104. },
  10105. "cardbackphotourl": {
  10106. "description": "证件背面图片地址",
  10107. "type": "string"
  10108. },
  10109. "cardfrontphotourl": {
  10110. "description": "证件正面图片地址",
  10111. "type": "string"
  10112. },
  10113. "cardnum": {
  10114. "description": "证件号码(加密存储)",
  10115. "type": "string"
  10116. },
  10117. "cardtypeid": {
  10118. "description": "证件类型ID",
  10119. "type": "integer"
  10120. },
  10121. "cityid": {
  10122. "description": "市",
  10123. "type": "integer"
  10124. },
  10125. "company": {
  10126. "description": "公司(个人)",
  10127. "type": "string"
  10128. },
  10129. "contactname": {
  10130. "description": "联系人",
  10131. "type": "string"
  10132. },
  10133. "countryid": {
  10134. "description": "国家",
  10135. "type": "integer"
  10136. },
  10137. "createtime": {
  10138. "description": "创建时间",
  10139. "type": "string"
  10140. },
  10141. "creatorid": {
  10142. "description": "创建人",
  10143. "type": "integer"
  10144. },
  10145. "customername": {
  10146. "description": "客户名称(企业名称)",
  10147. "type": "string"
  10148. },
  10149. "districtid": {
  10150. "description": "地区",
  10151. "type": "integer"
  10152. },
  10153. "email": {
  10154. "description": "邮件(加密存储)",
  10155. "type": "string"
  10156. },
  10157. "fax": {
  10158. "description": "传真(加密存储)",
  10159. "type": "string"
  10160. },
  10161. "halfbodyphotourl": {
  10162. "description": "半身照地址",
  10163. "type": "string"
  10164. },
  10165. "hasencrypt": {
  10166. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10167. "type": "integer"
  10168. },
  10169. "headurl": {
  10170. "description": "头像地址",
  10171. "type": "string"
  10172. },
  10173. "legalcardbackphotourl": {
  10174. "description": "法人身份证背面照地址",
  10175. "type": "string"
  10176. },
  10177. "legalcardfrontphotourl": {
  10178. "description": "法人身份证正面照地址",
  10179. "type": "string"
  10180. },
  10181. "legalpersonname": {
  10182. "description": "法人姓名(企业)",
  10183. "type": "string"
  10184. },
  10185. "mobile": {
  10186. "description": "手机号码(加密存储)",
  10187. "type": "string"
  10188. },
  10189. "mobile2": {
  10190. "description": "手机号码[明文-尚志]",
  10191. "type": "string"
  10192. },
  10193. "modifierid": {
  10194. "description": "修改人",
  10195. "type": "integer"
  10196. },
  10197. "modifiertime": {
  10198. "description": "修改时间",
  10199. "type": "string"
  10200. },
  10201. "needinvoice": {
  10202. "description": "是否需要发票 - 0:不需要 1:需要",
  10203. "type": "integer"
  10204. },
  10205. "nickname": {
  10206. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10207. "type": "string"
  10208. },
  10209. "openmode": {
  10210. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10211. "type": "integer"
  10212. },
  10213. "otherurl": {
  10214. "description": "其它图片地址[使用分号分隔]",
  10215. "type": "string"
  10216. },
  10217. "postalcode": {
  10218. "description": "邮政编码",
  10219. "type": "string"
  10220. },
  10221. "provinceid": {
  10222. "description": "省",
  10223. "type": "integer"
  10224. },
  10225. "qq": {
  10226. "description": "QQ(加密存储",
  10227. "type": "string"
  10228. },
  10229. "remark": {
  10230. "description": "备注",
  10231. "type": "string"
  10232. },
  10233. "sex": {
  10234. "description": "用户性别 0: 女 1: 男",
  10235. "type": "integer"
  10236. },
  10237. "signpdfurl": {
  10238. "description": "签约pdf文件",
  10239. "type": "string"
  10240. },
  10241. "telphone": {
  10242. "description": "联系电话(加密存储)",
  10243. "type": "string"
  10244. },
  10245. "userid": {
  10246. "description": "用户ID",
  10247. "type": "integer"
  10248. },
  10249. "userinfotype": {
  10250. "description": "用户信息类型 - 1:个人 2:企业",
  10251. "type": "integer"
  10252. },
  10253. "userstatus": {
  10254. "description": "用户状态 - 1:正常 2:注销",
  10255. "type": "integer"
  10256. },
  10257. "usertype": {
  10258. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10259. "type": "integer"
  10260. },
  10261. "wechat": {
  10262. "description": "微信(加密存储)",
  10263. "type": "string"
  10264. },
  10265. "wskhinfo": {
  10266. "description": "开户申请信息(JSON)",
  10267. "type": "string"
  10268. }
  10269. }
  10270. },
  10271. "models.WRCategoryTree": {
  10272. "type": "object",
  10273. "required": [
  10274. "categoryid"
  10275. ],
  10276. "properties": {
  10277. "areauserid": {
  10278. "description": "所属机构",
  10279. "type": "integer"
  10280. },
  10281. "categorydesc": {
  10282. "description": "类别描述",
  10283. "type": "string"
  10284. },
  10285. "categoryid": {
  10286. "description": "类别ID(SEQ_WRCATEGORY)",
  10287. "type": "integer"
  10288. },
  10289. "categoryname": {
  10290. "description": "类别名称",
  10291. "type": "string"
  10292. },
  10293. "iconurl": {
  10294. "description": "图标地址",
  10295. "type": "string"
  10296. },
  10297. "orderindex": {
  10298. "description": "顺序",
  10299. "type": "integer"
  10300. },
  10301. "parentcategoryid": {
  10302. "description": "父类别ID",
  10303. "type": "integer"
  10304. },
  10305. "subcategory": {
  10306. "description": "子分类",
  10307. "type": "array",
  10308. "items": {
  10309. "$ref": "#/definitions/models.WRCategoryTree"
  10310. }
  10311. }
  10312. }
  10313. },
  10314. "models.WRStandardInfo": {
  10315. "type": "object",
  10316. "required": [
  10317. "wrstandardid"
  10318. ],
  10319. "properties": {
  10320. "createtime": {
  10321. "description": "创建时间",
  10322. "type": "string"
  10323. },
  10324. "creatorid": {
  10325. "description": "创建人",
  10326. "type": "integer"
  10327. },
  10328. "deliverygoodsid": {
  10329. "description": "品种ID",
  10330. "type": "integer"
  10331. },
  10332. "deliverygoodsname": {
  10333. "description": "交割商品名称",
  10334. "type": "string"
  10335. },
  10336. "factoryitemjson": {
  10337. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10338. "type": "string"
  10339. },
  10340. "isvalid": {
  10341. "description": "是否有效 - 0:无效 1:有效",
  10342. "type": "integer"
  10343. },
  10344. "minivalue": {
  10345. "description": "最小变动值",
  10346. "type": "integer"
  10347. },
  10348. "minivaluedp": {
  10349. "description": "最小变动值小数位",
  10350. "type": "integer"
  10351. },
  10352. "realminivalue": {
  10353. "description": "实际最小变动值",
  10354. "type": "integer"
  10355. },
  10356. "realminivaluedp": {
  10357. "description": "实际最小变动值小数位",
  10358. "type": "integer"
  10359. },
  10360. "unitid": {
  10361. "description": "单位ID",
  10362. "type": "integer"
  10363. },
  10364. "unitname": {
  10365. "description": "单位",
  10366. "type": "string"
  10367. },
  10368. "updatetime": {
  10369. "description": "更新时间",
  10370. "type": "string"
  10371. },
  10372. "updatorid": {
  10373. "description": "更新人",
  10374. "type": "integer"
  10375. },
  10376. "wrsstatus": {
  10377. "description": "状态 - 作废 - 0:未激活 1:正常",
  10378. "type": "integer"
  10379. },
  10380. "wrstandardcode": {
  10381. "description": "仓单标准代码",
  10382. "type": "string"
  10383. },
  10384. "wrstandardid": {
  10385. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10386. "type": "integer"
  10387. },
  10388. "wrstandardname": {
  10389. "description": "仓单标准名称",
  10390. "type": "string"
  10391. }
  10392. }
  10393. },
  10394. "models.Warehouseinfo": {
  10395. "type": "object",
  10396. "required": [
  10397. "autoid",
  10398. "warehousecode"
  10399. ],
  10400. "properties": {
  10401. "address": {
  10402. "description": "详细地址",
  10403. "type": "string"
  10404. },
  10405. "areauserid": {
  10406. "description": "所属机构",
  10407. "type": "integer"
  10408. },
  10409. "autoid": {
  10410. "description": "自增ID",
  10411. "type": "integer"
  10412. },
  10413. "cityid": {
  10414. "description": "市",
  10415. "type": "integer"
  10416. },
  10417. "contactname": {
  10418. "description": "联系人",
  10419. "type": "string"
  10420. },
  10421. "contactnum": {
  10422. "description": "联系电话",
  10423. "type": "string"
  10424. },
  10425. "countryid": {
  10426. "description": "国家",
  10427. "type": "integer"
  10428. },
  10429. "createtime": {
  10430. "description": "创建时间",
  10431. "type": "string"
  10432. },
  10433. "districtid": {
  10434. "description": "区",
  10435. "type": "integer"
  10436. },
  10437. "hasvideo": {
  10438. "description": "是否有视频 - 0:无 1:有",
  10439. "type": "integer"
  10440. },
  10441. "provinceid": {
  10442. "description": "省",
  10443. "type": "integer"
  10444. },
  10445. "remark": {
  10446. "description": "审核备注",
  10447. "type": "string"
  10448. },
  10449. "videourl": {
  10450. "description": "视频地址",
  10451. "type": "string"
  10452. },
  10453. "warehousecode": {
  10454. "description": "仓库代码",
  10455. "type": "string"
  10456. },
  10457. "warehousename": {
  10458. "description": "仓库名称",
  10459. "type": "string"
  10460. },
  10461. "warehousestatus": {
  10462. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10463. "type": "integer"
  10464. },
  10465. "warehousetype": {
  10466. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10467. "type": "integer"
  10468. }
  10469. }
  10470. },
  10471. "order.QueryHisTradeDetailRsp": {
  10472. "type": "object",
  10473. "required": [
  10474. "accountid",
  10475. "buyorsell",
  10476. "goodsid",
  10477. "histradedate",
  10478. "marketid",
  10479. "memberuserid",
  10480. "orderid",
  10481. "tradeamount",
  10482. "tradedate",
  10483. "tradeid",
  10484. "tradeprice",
  10485. "tradeqty",
  10486. "tradetime"
  10487. ],
  10488. "properties": {
  10489. "accountid": {
  10490. "description": "账户ID[报价币种]",
  10491. "type": "integer"
  10492. },
  10493. "buildtype": {
  10494. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10495. "type": "integer"
  10496. },
  10497. "buyorsell": {
  10498. "description": "方向 - 0:买 1:卖",
  10499. "type": "integer"
  10500. },
  10501. "charge": {
  10502. "description": "手续费",
  10503. "type": "number"
  10504. },
  10505. "closecharge": {
  10506. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10507. "type": "number"
  10508. },
  10509. "closeexchagechargevalue": {
  10510. "description": "平仓交易所手续费设置值",
  10511. "type": "number"
  10512. },
  10513. "closefeealgorithm": {
  10514. "description": "平仓手续费收取方式 1:比率 2:固定",
  10515. "type": "integer"
  10516. },
  10517. "closememberchargevalue": {
  10518. "description": "平仓会员手续费设置值",
  10519. "type": "number"
  10520. },
  10521. "closepl": {
  10522. "description": "平仓盈亏",
  10523. "type": "number"
  10524. },
  10525. "closepl2": {
  10526. "description": "平仓盈亏[逐笔]",
  10527. "type": "number"
  10528. },
  10529. "closeqty": {
  10530. "description": "平仓数量(先建后平操作 需要记录)",
  10531. "type": "integer"
  10532. },
  10533. "creditamount": {
  10534. "description": "授信金额",
  10535. "type": "number"
  10536. },
  10537. "gcaccountid": {
  10538. "description": "账户ID[合约币种]",
  10539. "type": "integer"
  10540. },
  10541. "goodscode": {
  10542. "description": "商品代码",
  10543. "type": "string"
  10544. },
  10545. "goodsid": {
  10546. "description": "商品ID",
  10547. "type": "integer"
  10548. },
  10549. "goodsname": {
  10550. "description": "商品名称",
  10551. "type": "string"
  10552. },
  10553. "histradedate": {
  10554. "description": "历史交易日",
  10555. "type": "string"
  10556. },
  10557. "intclosepl": {
  10558. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10559. "type": "integer"
  10560. },
  10561. "isconfirmexercise": {
  10562. "description": "是否确认行权- 0:否 1:是",
  10563. "type": "integer"
  10564. },
  10565. "ismain": {
  10566. "description": "是否主单 - 0:不是 1:是",
  10567. "type": "integer"
  10568. },
  10569. "ispreexercise": {
  10570. "description": "是否预申报- 0:否 1:是",
  10571. "type": "integer"
  10572. },
  10573. "isreckoned": {
  10574. "description": "是否结算 - 0:未结算 1:已结算",
  10575. "type": "integer"
  10576. },
  10577. "isvaliddata": {
  10578. "description": "是否有效 - 0:无效 1:有效",
  10579. "type": "integer"
  10580. },
  10581. "listingselecttype": {
  10582. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10583. "type": "integer"
  10584. },
  10585. "marketid": {
  10586. "description": "市场ID",
  10587. "type": "integer"
  10588. },
  10589. "marketname": {
  10590. "description": "市场名称",
  10591. "type": "string"
  10592. },
  10593. "matchaccountid": {
  10594. "description": "对手账号id",
  10595. "type": "integer"
  10596. },
  10597. "memberuserid": {
  10598. "description": "会员id 个人投资者 需要填写",
  10599. "type": "integer"
  10600. },
  10601. "opencharge": {
  10602. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10603. "type": "number"
  10604. },
  10605. "openexchagechargevalue": {
  10606. "description": "建仓交易所手续费设置值",
  10607. "type": "number"
  10608. },
  10609. "openfeealgorithm": {
  10610. "description": "建仓手续费收取方式 1:比率 2:固定",
  10611. "type": "integer"
  10612. },
  10613. "openmemberchargevalue": {
  10614. "description": "建仓会员手续费设置值",
  10615. "type": "number"
  10616. },
  10617. "openqty": {
  10618. "description": "开仓数量(先建后平操作 需要记录)",
  10619. "type": "integer"
  10620. },
  10621. "optiontype": {
  10622. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10623. "type": "integer"
  10624. },
  10625. "orderid": {
  10626. "description": "委托单号",
  10627. "type": "string"
  10628. },
  10629. "performanceplanid": {
  10630. "description": "履约计划ID[期权]",
  10631. "type": "integer"
  10632. },
  10633. "performancestatus": {
  10634. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10635. "type": "integer"
  10636. },
  10637. "preexerciseprice": {
  10638. "description": "预申报价格",
  10639. "type": "number"
  10640. },
  10641. "premium": {
  10642. "description": "权利金 - [持仓单的权利金]",
  10643. "type": "number"
  10644. },
  10645. "relatedouttradeid": {
  10646. "description": "关联外部成交单ID",
  10647. "type": "integer"
  10648. },
  10649. "status": {
  10650. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10651. "type": "integer"
  10652. },
  10653. "tradeamount": {
  10654. "description": "成交金额[账户币种,用于所有权]",
  10655. "type": "number"
  10656. },
  10657. "tradedate": {
  10658. "description": "交易日(yyyyMMdd)",
  10659. "type": "string"
  10660. },
  10661. "tradeid": {
  10662. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10663. "type": "string"
  10664. },
  10665. "trademode": {
  10666. "description": "交易模式",
  10667. "type": "integer"
  10668. },
  10669. "tradeprice": {
  10670. "description": "成交价格",
  10671. "type": "number"
  10672. },
  10673. "tradeproperty": {
  10674. "description": "交易属性",
  10675. "type": "integer"
  10676. },
  10677. "tradeqty": {
  10678. "description": "成交数量",
  10679. "type": "integer"
  10680. },
  10681. "tradetime": {
  10682. "description": "成交时间",
  10683. "type": "string"
  10684. },
  10685. "tradetype": {
  10686. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10687. "type": "integer"
  10688. }
  10689. }
  10690. },
  10691. "order.QueryHisTradeOrderDetailRsp": {
  10692. "type": "object",
  10693. "required": [
  10694. "accountid",
  10695. "buildtype",
  10696. "buyorsell",
  10697. "goodsid",
  10698. "histradedate",
  10699. "marketid",
  10700. "memberuserid",
  10701. "operatetype",
  10702. "orderid",
  10703. "orderqty",
  10704. "ordertime",
  10705. "pricemode",
  10706. "tradedate",
  10707. "validtype"
  10708. ],
  10709. "properties": {
  10710. "accountid": {
  10711. "description": "账户ID[报价币种]",
  10712. "type": "integer"
  10713. },
  10714. "buildtype": {
  10715. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10716. "type": "integer"
  10717. },
  10718. "buyorsell": {
  10719. "description": "买卖 - 0:买 1:卖",
  10720. "type": "integer"
  10721. },
  10722. "cancelorderid": {
  10723. "description": "撤单单号(撤单时填写)",
  10724. "type": "string"
  10725. },
  10726. "cancelqty": {
  10727. "description": "撤单数量",
  10728. "type": "integer"
  10729. },
  10730. "clientordertime": {
  10731. "description": "客户端委托时间",
  10732. "type": "string"
  10733. },
  10734. "clientticket": {
  10735. "description": "客户端流水号",
  10736. "type": "string"
  10737. },
  10738. "clienttype": {
  10739. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10740. "type": "integer"
  10741. },
  10742. "closeexchagechargevalue": {
  10743. "description": "平仓交易所手续费设置值",
  10744. "type": "number"
  10745. },
  10746. "closefeealgorithm": {
  10747. "description": "平仓手续费收取方式 1:比率 2:固定",
  10748. "type": "integer"
  10749. },
  10750. "closefreezecharge": {
  10751. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10752. "type": "number"
  10753. },
  10754. "closememberchargevalue": {
  10755. "description": "平仓会员手续费设置值",
  10756. "type": "number"
  10757. },
  10758. "closeqty": {
  10759. "description": "平仓数量(先建后平操作 需要记录)",
  10760. "type": "integer"
  10761. },
  10762. "closetradeqty": {
  10763. "description": "平仓成交数量(先建后平操作,需要记录)",
  10764. "type": "integer"
  10765. },
  10766. "closeunfreezecharge": {
  10767. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10768. "type": "number"
  10769. },
  10770. "delistingtype": {
  10771. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10772. "type": "integer"
  10773. },
  10774. "freezecharge": {
  10775. "description": "冻结手续费",
  10776. "type": "number"
  10777. },
  10778. "freezemargin": {
  10779. "description": "冻结保证金(冻结交易金额)",
  10780. "type": "number"
  10781. },
  10782. "gcaccountid": {
  10783. "description": "账户ID[合约币种]",
  10784. "type": "integer"
  10785. },
  10786. "goodscode": {
  10787. "description": "商品代码",
  10788. "type": "string"
  10789. },
  10790. "goodsid": {
  10791. "description": "商品ID",
  10792. "type": "integer"
  10793. },
  10794. "goodsname": {
  10795. "description": "商品名称",
  10796. "type": "string"
  10797. },
  10798. "histradedate": {
  10799. "description": "历史交易日",
  10800. "type": "string"
  10801. },
  10802. "isconfirmexercise": {
  10803. "description": "是否确认行权- 0:否 1:是",
  10804. "type": "integer"
  10805. },
  10806. "ispreexercise": {
  10807. "description": "是否预申报- 0:否 1:是",
  10808. "type": "integer"
  10809. },
  10810. "isvaliddata": {
  10811. "description": "是否有效 - 0:无效 1:有效",
  10812. "type": "integer"
  10813. },
  10814. "listingselecttype": {
  10815. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10816. "type": "integer"
  10817. },
  10818. "marginalgorithm": {
  10819. "description": "保证金收取方式 1:比率 2:固定",
  10820. "type": "integer"
  10821. },
  10822. "marginvalue": {
  10823. "description": "即市保证金设置值",
  10824. "type": "number"
  10825. },
  10826. "marketid": {
  10827. "description": "市场ID",
  10828. "type": "integer"
  10829. },
  10830. "marketmaxsub": {
  10831. "description": "市价最大偏移范围",
  10832. "type": "number"
  10833. },
  10834. "marketname": {
  10835. "description": "市场名称",
  10836. "type": "string"
  10837. },
  10838. "memberuserid": {
  10839. "description": "所属会员UserID",
  10840. "type": "integer"
  10841. },
  10842. "openexchagechargevalue": {
  10843. "description": "建仓交易所手续费设置值",
  10844. "type": "number"
  10845. },
  10846. "openfeealgorithm": {
  10847. "description": "建仓手续费收取方式 1:比率 2:固定",
  10848. "type": "integer"
  10849. },
  10850. "openfreezecharge": {
  10851. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10852. "type": "number"
  10853. },
  10854. "openmemberchargevalue": {
  10855. "description": "建仓会员手续费设置值",
  10856. "type": "number"
  10857. },
  10858. "openqty": {
  10859. "description": "开仓数量(先建后平操作,需要记录)",
  10860. "type": "integer"
  10861. },
  10862. "opentradeqty": {
  10863. "description": "开仓成交数量(先建后平操作,需要记录)",
  10864. "type": "integer"
  10865. },
  10866. "openunfreezecharge": {
  10867. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10868. "type": "number"
  10869. },
  10870. "operatetype": {
  10871. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10872. "type": "integer"
  10873. },
  10874. "operatorid": {
  10875. "description": "登录账号(LoginID)",
  10876. "type": "integer"
  10877. },
  10878. "optiontype": {
  10879. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10880. "type": "integer"
  10881. },
  10882. "orderid": {
  10883. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10884. "type": "string"
  10885. },
  10886. "orderprice": {
  10887. "description": "委托价格",
  10888. "type": "number"
  10889. },
  10890. "orderqty": {
  10891. "description": "委托数量",
  10892. "type": "integer"
  10893. },
  10894. "ordersrc": {
  10895. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10896. "type": "integer"
  10897. },
  10898. "orderstatus": {
  10899. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10900. "type": "integer"
  10901. },
  10902. "ordertime": {
  10903. "description": "委托时间",
  10904. "type": "string"
  10905. },
  10906. "preexerciseprice": {
  10907. "description": "预申报价格",
  10908. "type": "number"
  10909. },
  10910. "premium": {
  10911. "description": "权利金",
  10912. "type": "number"
  10913. },
  10914. "preorderid": {
  10915. "description": "关联预埋单号(止盈止损单时填写)",
  10916. "type": "string"
  10917. },
  10918. "pricemode": {
  10919. "description": "取价方式 - 1:市价 2: 限价",
  10920. "type": "integer"
  10921. },
  10922. "quoteid": {
  10923. "description": "报价单ID",
  10924. "type": "integer"
  10925. },
  10926. "relatedid": {
  10927. "description": "关联单号(交割单)",
  10928. "type": "string"
  10929. },
  10930. "retcode": {
  10931. "description": "错误代码",
  10932. "type": "integer"
  10933. },
  10934. "sessionid": {
  10935. "description": "会话ID",
  10936. "type": "integer"
  10937. },
  10938. "tradedate": {
  10939. "description": "交易日(yyyyMMdd)",
  10940. "type": "string"
  10941. },
  10942. "trademode": {
  10943. "description": "交易模式",
  10944. "type": "integer"
  10945. },
  10946. "tradeproperty": {
  10947. "description": "交易属性",
  10948. "type": "integer"
  10949. },
  10950. "tradeqty": {
  10951. "description": "成交数量",
  10952. "type": "integer"
  10953. },
  10954. "unfreezecharge": {
  10955. "description": "解冻手续费",
  10956. "type": "number"
  10957. },
  10958. "unfreezemargin": {
  10959. "description": "解冻保证金",
  10960. "type": "number"
  10961. },
  10962. "updatetime": {
  10963. "description": "更新时间",
  10964. "type": "string"
  10965. },
  10966. "uuid": {
  10967. "description": "发起端唯一id",
  10968. "type": "string"
  10969. },
  10970. "validtime": {
  10971. "description": "有效期限",
  10972. "type": "string"
  10973. },
  10974. "validtype": {
  10975. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10976. "type": "integer"
  10977. },
  10978. "volumetype": {
  10979. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10980. "type": "integer"
  10981. }
  10982. }
  10983. },
  10984. "order.QueryTradeDetailRsp": {
  10985. "type": "object",
  10986. "required": [
  10987. "accountid",
  10988. "buyorsell",
  10989. "goodsid",
  10990. "marketid",
  10991. "memberuserid",
  10992. "orderid",
  10993. "tradeamount",
  10994. "tradedate",
  10995. "tradeid",
  10996. "tradeprice",
  10997. "tradeqty",
  10998. "tradetime"
  10999. ],
  11000. "properties": {
  11001. "accountid": {
  11002. "description": "账户ID[报价币种]",
  11003. "type": "integer"
  11004. },
  11005. "buildtype": {
  11006. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11007. "type": "integer"
  11008. },
  11009. "buyorsell": {
  11010. "description": "方向 - 0:买 1:卖",
  11011. "type": "integer"
  11012. },
  11013. "charge": {
  11014. "description": "手续费",
  11015. "type": "number"
  11016. },
  11017. "closecharge": {
  11018. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11019. "type": "number"
  11020. },
  11021. "closeexchagechargevalue": {
  11022. "description": "平仓交易所手续费设置值",
  11023. "type": "number"
  11024. },
  11025. "closefeealgorithm": {
  11026. "description": "平仓手续费收取方式 1:比率 2:固定",
  11027. "type": "integer"
  11028. },
  11029. "closememberchargevalue": {
  11030. "description": "平仓会员手续费设置值",
  11031. "type": "number"
  11032. },
  11033. "closepl": {
  11034. "description": "平仓盈亏",
  11035. "type": "number"
  11036. },
  11037. "closepl2": {
  11038. "description": "平仓盈亏[逐笔]",
  11039. "type": "number"
  11040. },
  11041. "closeqty": {
  11042. "description": "平仓数量(先建后平操作 需要记录)",
  11043. "type": "integer"
  11044. },
  11045. "creditamount": {
  11046. "description": "授信金额",
  11047. "type": "number"
  11048. },
  11049. "gcaccountid": {
  11050. "description": "账户ID[合约币种]",
  11051. "type": "integer"
  11052. },
  11053. "goodscode": {
  11054. "description": "商品代码",
  11055. "type": "string"
  11056. },
  11057. "goodsid": {
  11058. "description": "商品ID",
  11059. "type": "integer"
  11060. },
  11061. "goodsname": {
  11062. "description": "商品名称",
  11063. "type": "string"
  11064. },
  11065. "intclosepl": {
  11066. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11067. "type": "integer"
  11068. },
  11069. "isconfirmexercise": {
  11070. "description": "是否确认行权- 0:否 1:是",
  11071. "type": "integer"
  11072. },
  11073. "ismain": {
  11074. "description": "是否主单 - 0:不是 1:是",
  11075. "type": "integer"
  11076. },
  11077. "ispreexercise": {
  11078. "description": "是否预申报- 0:否 1:是",
  11079. "type": "integer"
  11080. },
  11081. "isreckoned": {
  11082. "description": "是否结算 - 0:未结算 1:已结算",
  11083. "type": "integer"
  11084. },
  11085. "listingselecttype": {
  11086. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11087. "type": "integer"
  11088. },
  11089. "marketid": {
  11090. "description": "市场ID",
  11091. "type": "integer"
  11092. },
  11093. "marketname": {
  11094. "description": "市场名称",
  11095. "type": "string"
  11096. },
  11097. "matchaccountid": {
  11098. "description": "对手账号id",
  11099. "type": "integer"
  11100. },
  11101. "memberuserid": {
  11102. "description": "会员id 个人投资者 需要填写",
  11103. "type": "integer"
  11104. },
  11105. "opencharge": {
  11106. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11107. "type": "number"
  11108. },
  11109. "openexchagechargevalue": {
  11110. "description": "建仓交易所手续费设置值",
  11111. "type": "number"
  11112. },
  11113. "openfeealgorithm": {
  11114. "description": "建仓手续费收取方式 1:比率 2:固定",
  11115. "type": "integer"
  11116. },
  11117. "openmemberchargevalue": {
  11118. "description": "建仓会员手续费设置值",
  11119. "type": "number"
  11120. },
  11121. "openqty": {
  11122. "description": "开仓数量(先建后平操作 需要记录)",
  11123. "type": "integer"
  11124. },
  11125. "optiontype": {
  11126. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11127. "type": "integer"
  11128. },
  11129. "orderid": {
  11130. "description": "委托单号",
  11131. "type": "string"
  11132. },
  11133. "performanceplanid": {
  11134. "description": "履约计划ID[期权]",
  11135. "type": "integer"
  11136. },
  11137. "performancestatus": {
  11138. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11139. "type": "integer"
  11140. },
  11141. "preexerciseprice": {
  11142. "description": "预申报价格",
  11143. "type": "number"
  11144. },
  11145. "premium": {
  11146. "description": "权利金 - [持仓单的权利金]",
  11147. "type": "number"
  11148. },
  11149. "relatedouttradeid": {
  11150. "description": "关联外部成交单ID",
  11151. "type": "integer"
  11152. },
  11153. "status": {
  11154. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11155. "type": "integer"
  11156. },
  11157. "tradeamount": {
  11158. "description": "成交金额[账户币种,用于所有权]",
  11159. "type": "number"
  11160. },
  11161. "tradedate": {
  11162. "description": "交易日(yyyyMMdd)",
  11163. "type": "string"
  11164. },
  11165. "tradeid": {
  11166. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11167. "type": "string"
  11168. },
  11169. "trademode": {
  11170. "description": "交易模式",
  11171. "type": "integer"
  11172. },
  11173. "tradeprice": {
  11174. "description": "成交价格",
  11175. "type": "number"
  11176. },
  11177. "tradeproperty": {
  11178. "description": "交易属性",
  11179. "type": "integer"
  11180. },
  11181. "tradeqty": {
  11182. "description": "成交数量",
  11183. "type": "integer"
  11184. },
  11185. "tradetime": {
  11186. "description": "成交时间",
  11187. "type": "string"
  11188. },
  11189. "tradetype": {
  11190. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11191. "type": "integer"
  11192. }
  11193. }
  11194. },
  11195. "order.QueryTradeOrderDetailRsp": {
  11196. "type": "object",
  11197. "required": [
  11198. "accountid",
  11199. "buildtype",
  11200. "buyorsell",
  11201. "goodsid",
  11202. "marketid",
  11203. "operatetype",
  11204. "orderqty",
  11205. "ordertime",
  11206. "pricemode",
  11207. "tradedate",
  11208. "validtype"
  11209. ],
  11210. "properties": {
  11211. "accountid": {
  11212. "description": "账户ID[报价币种]",
  11213. "type": "integer"
  11214. },
  11215. "buildtype": {
  11216. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11217. "type": "integer"
  11218. },
  11219. "buyorsell": {
  11220. "description": "买卖 - 0:买 1:卖",
  11221. "type": "integer"
  11222. },
  11223. "cancelorderid": {
  11224. "description": "撤单单号(撤单时填写)",
  11225. "type": "string"
  11226. },
  11227. "cancelqty": {
  11228. "description": "撤单数量",
  11229. "type": "integer"
  11230. },
  11231. "clienttype": {
  11232. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11233. "type": "integer"
  11234. },
  11235. "closefreezecharge": {
  11236. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11237. "type": "number"
  11238. },
  11239. "closeqty": {
  11240. "description": "平仓数量(先建后平操作 需要记录)",
  11241. "type": "integer"
  11242. },
  11243. "closetradeqty": {
  11244. "description": "平仓成交数量(先建后平操作,需要记录)",
  11245. "type": "integer"
  11246. },
  11247. "closeunfreezecharge": {
  11248. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11249. "type": "number"
  11250. },
  11251. "delistingtype": {
  11252. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11253. "type": "integer"
  11254. },
  11255. "enableqty": {
  11256. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11257. "type": "integer"
  11258. },
  11259. "freezecharge": {
  11260. "description": "冻结手续费",
  11261. "type": "number"
  11262. },
  11263. "freezemargin": {
  11264. "description": "冻结保证金(冻结交易金额)",
  11265. "type": "number"
  11266. },
  11267. "goodscode": {
  11268. "description": "商品代码",
  11269. "type": "string"
  11270. },
  11271. "goodsid": {
  11272. "description": "商品ID",
  11273. "type": "integer"
  11274. },
  11275. "goodsname": {
  11276. "description": "商品名称",
  11277. "type": "string"
  11278. },
  11279. "listingselecttype": {
  11280. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11281. "type": "integer"
  11282. },
  11283. "marketid": {
  11284. "description": "市场ID",
  11285. "type": "integer"
  11286. },
  11287. "marketname": {
  11288. "description": "市场名称",
  11289. "type": "string"
  11290. },
  11291. "openfreezecharge": {
  11292. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11293. "type": "number"
  11294. },
  11295. "openqty": {
  11296. "description": "开仓数量(先建后平操作,需要记录)",
  11297. "type": "integer"
  11298. },
  11299. "opentradeqty": {
  11300. "description": "开仓成交数量(先建后平操作,需要记录)",
  11301. "type": "integer"
  11302. },
  11303. "openunfreezecharge": {
  11304. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11305. "type": "number"
  11306. },
  11307. "operatetype": {
  11308. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11309. "type": "integer"
  11310. },
  11311. "operatorid": {
  11312. "description": "登录账号(LoginID)",
  11313. "type": "integer"
  11314. },
  11315. "orderid": {
  11316. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11317. "type": "string"
  11318. },
  11319. "orderprice": {
  11320. "description": "委托价格",
  11321. "type": "number"
  11322. },
  11323. "orderqty": {
  11324. "description": "委托数量",
  11325. "type": "integer"
  11326. },
  11327. "ordersrc": {
  11328. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11329. "type": "integer"
  11330. },
  11331. "orderstatus": {
  11332. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11333. "type": "integer"
  11334. },
  11335. "ordertime": {
  11336. "description": "委托时间",
  11337. "type": "string"
  11338. },
  11339. "preorderid": {
  11340. "description": "关联预埋单号(止盈止损单时填写)",
  11341. "type": "string"
  11342. },
  11343. "pricemode": {
  11344. "description": "取价方式 - 1:市价 2: 限价",
  11345. "type": "integer"
  11346. },
  11347. "relatedid": {
  11348. "description": "关联单号(交割单)",
  11349. "type": "string"
  11350. },
  11351. "tradedate": {
  11352. "description": "交易日(yyyyMMdd)",
  11353. "type": "string"
  11354. },
  11355. "trademode": {
  11356. "description": "交易模式",
  11357. "type": "integer"
  11358. },
  11359. "tradeqty": {
  11360. "description": "成交数量",
  11361. "type": "integer"
  11362. },
  11363. "unfreezecharge": {
  11364. "description": "解冻手续费",
  11365. "type": "number"
  11366. },
  11367. "unfreezemargin": {
  11368. "description": "解冻保证金",
  11369. "type": "number"
  11370. },
  11371. "validtime": {
  11372. "description": "有效期限",
  11373. "type": "string"
  11374. },
  11375. "validtype": {
  11376. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11377. "type": "integer"
  11378. },
  11379. "volumetype": {
  11380. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11381. "type": "integer"
  11382. }
  11383. }
  11384. },
  11385. "order.QueryTradePositionRsp": {
  11386. "type": "object",
  11387. "required": [
  11388. "goodsid"
  11389. ],
  11390. "properties": {
  11391. "accountid": {
  11392. "description": "资金账户",
  11393. "type": "integer"
  11394. },
  11395. "agreeunit": {
  11396. "description": "合约单位",
  11397. "type": "number"
  11398. },
  11399. "averageprice": {
  11400. "description": "持仓均价",
  11401. "type": "number"
  11402. },
  11403. "buyorsell": {
  11404. "description": "方向 - 0:买 1:卖",
  11405. "type": "integer"
  11406. },
  11407. "closetotalqty": {
  11408. "description": "平仓总数量",
  11409. "type": "integer"
  11410. },
  11411. "curholderamount": {
  11412. "description": "当前持仓总金额[商品币种]",
  11413. "type": "number"
  11414. },
  11415. "curpositionqty": {
  11416. "description": "当前持仓总数量",
  11417. "type": "integer"
  11418. },
  11419. "currencyid": {
  11420. "description": "报价货币ID",
  11421. "type": "integer"
  11422. },
  11423. "curtdposition": {
  11424. "description": "期末今日头寸",
  11425. "type": "integer"
  11426. },
  11427. "decimalplace": {
  11428. "description": "报价小数位",
  11429. "type": "integer"
  11430. },
  11431. "enableqty": {
  11432. "description": "可用量",
  11433. "type": "integer"
  11434. },
  11435. "fretdposition": {
  11436. "description": "冻结今日头寸",
  11437. "type": "integer"
  11438. },
  11439. "frozenqty": {
  11440. "description": "持仓冻结数量",
  11441. "type": "integer"
  11442. },
  11443. "goodscode": {
  11444. "description": "商品代码",
  11445. "type": "string"
  11446. },
  11447. "goodsid": {
  11448. "description": "商品Id",
  11449. "type": "integer"
  11450. },
  11451. "goodsname": {
  11452. "description": "商品名称",
  11453. "type": "string"
  11454. },
  11455. "goodunit": {
  11456. "description": "报价单位",
  11457. "type": "string"
  11458. },
  11459. "goodunitid": {
  11460. "description": "报价单位ID",
  11461. "type": "integer"
  11462. },
  11463. "holderamount": {
  11464. "description": "期初持仓总金额[商品币种]",
  11465. "type": "number"
  11466. },
  11467. "marketid": {
  11468. "description": "所属市场ID",
  11469. "type": "integer"
  11470. },
  11471. "openreqqty": {
  11472. "description": "开仓申请数量(用于比较最大持仓数量)",
  11473. "type": "integer"
  11474. },
  11475. "opentotalqty": {
  11476. "description": "开仓总数量",
  11477. "type": "integer"
  11478. },
  11479. "otherfrozenqty": {
  11480. "description": "持仓其他冻结数量(交割冻结)",
  11481. "type": "integer"
  11482. },
  11483. "positionqty": {
  11484. "description": "期初持仓数量",
  11485. "type": "integer"
  11486. },
  11487. "tnqty": {
  11488. "description": "T+N冻结总量",
  11489. "type": "integer"
  11490. },
  11491. "tnusedqty": {
  11492. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11493. "type": "integer"
  11494. },
  11495. "trademode": {
  11496. "description": "交易模式",
  11497. "type": "integer"
  11498. },
  11499. "usedmargin": {
  11500. "description": "占用保证金[商品币种]",
  11501. "type": "number"
  11502. }
  11503. }
  11504. },
  11505. "quote.HistoryData": {
  11506. "type": "object",
  11507. "properties": {
  11508. "c": {
  11509. "description": "收盘价",
  11510. "type": "number"
  11511. },
  11512. "h": {
  11513. "description": "最高价",
  11514. "type": "number"
  11515. },
  11516. "hv": {
  11517. "description": "持仓量",
  11518. "type": "integer"
  11519. },
  11520. "l": {
  11521. "description": "最低价",
  11522. "type": "number"
  11523. },
  11524. "o": {
  11525. "description": "开盘价",
  11526. "type": "number"
  11527. },
  11528. "s": {
  11529. "description": "结算价,日线周期(包括)以上才有",
  11530. "type": "number"
  11531. },
  11532. "ts": {
  11533. "description": "时间",
  11534. "type": "string"
  11535. },
  11536. "tt": {
  11537. "description": "总金额",
  11538. "type": "number"
  11539. },
  11540. "tv": {
  11541. "description": "总量",
  11542. "type": "integer"
  11543. }
  11544. }
  11545. },
  11546. "quote.QueryTSDataRsp": {
  11547. "type": "object",
  11548. "properties": {
  11549. "decimalPlace": {
  11550. "description": "小数位",
  11551. "type": "integer"
  11552. },
  11553. "endTime": {
  11554. "description": "结束时间",
  11555. "type": "string"
  11556. },
  11557. "goodsCode": {
  11558. "description": "商品代码",
  11559. "type": "string"
  11560. },
  11561. "historyDatas": {
  11562. "description": "历史数据",
  11563. "type": "array",
  11564. "items": {
  11565. "$ref": "#/definitions/quote.HistoryData"
  11566. }
  11567. },
  11568. "preSettle": {
  11569. "description": "昨结",
  11570. "type": "number"
  11571. },
  11572. "startTime": {
  11573. "description": "开始时间",
  11574. "type": "string"
  11575. },
  11576. "tradeDate": {
  11577. "description": "交易日",
  11578. "type": "string"
  11579. }
  11580. }
  11581. },
  11582. "szdz.QueryConvertLogRsp": {
  11583. "type": "object",
  11584. "required": [
  11585. "logid"
  11586. ],
  11587. "properties": {
  11588. "accountid": {
  11589. "description": "资金账户ID",
  11590. "type": "integer"
  11591. },
  11592. "clientticket": {
  11593. "description": "客户端流水号",
  11594. "type": "string"
  11595. },
  11596. "converttype": {
  11597. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11598. "type": "integer"
  11599. },
  11600. "createtime": {
  11601. "description": "记账时间",
  11602. "type": "string"
  11603. },
  11604. "daymaxvalue": {
  11605. "description": "配置当日最大转入限制",
  11606. "type": "number"
  11607. },
  11608. "daymaxvalue2": {
  11609. "description": "配置当日最大转入限制(转入)",
  11610. "type": "number"
  11611. },
  11612. "goodscode": {
  11613. "description": "商品代码",
  11614. "type": "string"
  11615. },
  11616. "goodsname": {
  11617. "description": "商品名称",
  11618. "type": "string"
  11619. },
  11620. "handlestatus": {
  11621. "description": "处理状态",
  11622. "type": "integer"
  11623. },
  11624. "innergoodsid": {
  11625. "description": "内部商品ID",
  11626. "type": "integer"
  11627. },
  11628. "inratio": {
  11629. "description": "配置转入比值",
  11630. "type": "integer"
  11631. },
  11632. "invalue": {
  11633. "description": "目标值",
  11634. "type": "number"
  11635. },
  11636. "logid": {
  11637. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11638. "type": "integer"
  11639. },
  11640. "mobile": {
  11641. "description": "手机号码(加密存储)",
  11642. "type": "string"
  11643. },
  11644. "outergoodscode": {
  11645. "description": "外部商品代码[JD\\PD]",
  11646. "type": "string"
  11647. },
  11648. "outratio": {
  11649. "description": "配置转出比值",
  11650. "type": "integer"
  11651. },
  11652. "outvalue": {
  11653. "description": "源值",
  11654. "type": "number"
  11655. },
  11656. "pddecimalplace": {
  11657. "description": "PD小数位",
  11658. "type": "integer"
  11659. },
  11660. "qty": {
  11661. "description": "数量",
  11662. "type": "string"
  11663. },
  11664. "remark": {
  11665. "description": "备注",
  11666. "type": "string"
  11667. },
  11668. "sessionid": {
  11669. "description": "会话ID",
  11670. "type": "integer"
  11671. },
  11672. "timemaxvalue": {
  11673. "description": "配置单次最大转入限制",
  11674. "type": "number"
  11675. },
  11676. "timemaxvalue2": {
  11677. "description": "配置单次最大转入限制(转入)",
  11678. "type": "number"
  11679. },
  11680. "timeminvalue": {
  11681. "description": "配置单次最小数量限制",
  11682. "type": "number"
  11683. },
  11684. "timeminvalue2": {
  11685. "description": "配置单次最小数量限制(转入)",
  11686. "type": "number"
  11687. },
  11688. "tradedate": {
  11689. "description": "交易日(yyyyMMdd)",
  11690. "type": "string"
  11691. },
  11692. "userid": {
  11693. "description": "用户ID",
  11694. "type": "integer"
  11695. }
  11696. }
  11697. },
  11698. "szdz.QueryGoodsPickupRsp": {
  11699. "type": "object",
  11700. "required": [
  11701. "takeorderid"
  11702. ],
  11703. "properties": {
  11704. "accountid": {
  11705. "description": "账户ID",
  11706. "type": "integer"
  11707. },
  11708. "address": {
  11709. "description": "提货人详细地址",
  11710. "type": "string"
  11711. },
  11712. "auditer": {
  11713. "description": "审核人",
  11714. "type": "integer"
  11715. },
  11716. "audittime": {
  11717. "description": "审核时间",
  11718. "type": "string"
  11719. },
  11720. "cardnum": {
  11721. "description": "提货人证件号码",
  11722. "type": "string"
  11723. },
  11724. "cardtypeid": {
  11725. "description": "提货人证件类型",
  11726. "type": "integer"
  11727. },
  11728. "checkremark": {
  11729. "description": "审核备注",
  11730. "type": "string"
  11731. },
  11732. "goodscode": {
  11733. "description": "商品代码",
  11734. "type": "string"
  11735. },
  11736. "goodsid": {
  11737. "description": "商品ID",
  11738. "type": "integer"
  11739. },
  11740. "goodsname": {
  11741. "description": "商品名称",
  11742. "type": "string"
  11743. },
  11744. "handlestatus": {
  11745. "description": "处理状态",
  11746. "type": "integer"
  11747. },
  11748. "marketid": {
  11749. "description": "市场ID",
  11750. "type": "integer"
  11751. },
  11752. "phonenum": {
  11753. "description": "提货人联系方式",
  11754. "type": "string"
  11755. },
  11756. "qty": {
  11757. "description": "提货数量",
  11758. "type": "number"
  11759. },
  11760. "recivername": {
  11761. "description": "提货人姓名",
  11762. "type": "string"
  11763. },
  11764. "reqtime": {
  11765. "description": "更新时间",
  11766. "type": "string"
  11767. },
  11768. "takemode": {
  11769. "description": "提货方式 - 2:自提 3:配送",
  11770. "type": "integer"
  11771. },
  11772. "takeorderid": {
  11773. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11774. "type": "string"
  11775. },
  11776. "takeorderstatus": {
  11777. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11778. "type": "integer"
  11779. },
  11780. "takeremark": {
  11781. "description": "提货备注",
  11782. "type": "string"
  11783. },
  11784. "tradedate": {
  11785. "description": "交易日(yyyyMMdd)",
  11786. "type": "string"
  11787. },
  11788. "userid": {
  11789. "description": "用户ID",
  11790. "type": "integer"
  11791. }
  11792. }
  11793. },
  11794. "szdz.QueryRecieptOrderRsp": {
  11795. "type": "object",
  11796. "required": [
  11797. "ordertime"
  11798. ],
  11799. "properties": {
  11800. "accountName": {
  11801. "description": "所属账号名称(已脱敏)",
  11802. "type": "string"
  11803. },
  11804. "accountid": {
  11805. "description": "资金账号",
  11806. "type": "integer"
  11807. },
  11808. "buyorsell": {
  11809. "description": "方向 - 0:买 1:卖",
  11810. "type": "integer"
  11811. },
  11812. "enableqty": {
  11813. "description": "可摘数量",
  11814. "type": "integer"
  11815. },
  11816. "goodscode": {
  11817. "description": "商品代码",
  11818. "type": "string"
  11819. },
  11820. "goodsid": {
  11821. "description": "商品ID",
  11822. "type": "integer"
  11823. },
  11824. "goodsname": {
  11825. "description": "商品名称",
  11826. "type": "string"
  11827. },
  11828. "orderid": {
  11829. "description": "委托单号",
  11830. "type": "string"
  11831. },
  11832. "orderprice": {
  11833. "description": "委托价格",
  11834. "type": "number"
  11835. },
  11836. "ordertime": {
  11837. "description": "委托时间",
  11838. "type": "string"
  11839. },
  11840. "tradedate": {
  11841. "description": "交易日(yyyyMMdd)",
  11842. "type": "string"
  11843. }
  11844. }
  11845. },
  11846. "szdz.QuerySZDZTradePositionRsp": {
  11847. "type": "object",
  11848. "properties": {
  11849. "accountid": {
  11850. "description": "账号Id",
  11851. "type": "integer"
  11852. },
  11853. "agreeunit": {
  11854. "description": "合约单位",
  11855. "type": "number"
  11856. },
  11857. "averageprice": {
  11858. "description": "持仓均价",
  11859. "type": "number"
  11860. },
  11861. "buyorsell": {
  11862. "description": "方向 - 0:买 1:卖",
  11863. "type": "integer"
  11864. },
  11865. "closetotalqty": {
  11866. "description": "平仓总数量",
  11867. "type": "integer"
  11868. },
  11869. "curholderamount": {
  11870. "description": "当前持仓总金额",
  11871. "type": "number"
  11872. },
  11873. "curpositionqty": {
  11874. "description": "当前持仓总数量",
  11875. "type": "integer"
  11876. },
  11877. "currencyid": {
  11878. "description": "报价货币ID",
  11879. "type": "integer"
  11880. },
  11881. "curtdposition": {
  11882. "description": "期末今日头寸",
  11883. "type": "integer"
  11884. },
  11885. "decimalplace": {
  11886. "description": "报价小数位",
  11887. "type": "integer"
  11888. },
  11889. "enableqty": {
  11890. "description": "可用量",
  11891. "type": "integer"
  11892. },
  11893. "fretdposition": {
  11894. "description": "冻结今日头寸",
  11895. "type": "integer"
  11896. },
  11897. "frozenqty": {
  11898. "description": "持仓冻结数量",
  11899. "type": "integer"
  11900. },
  11901. "goodscode": {
  11902. "description": "商品代码(内部)",
  11903. "type": "string"
  11904. },
  11905. "goodsid": {
  11906. "description": "商品Id",
  11907. "type": "integer"
  11908. },
  11909. "goodsname": {
  11910. "description": "商品名称",
  11911. "type": "string"
  11912. },
  11913. "goodunit": {
  11914. "description": "报价单位",
  11915. "type": "string"
  11916. },
  11917. "goodunitid": {
  11918. "description": "报价单位ID",
  11919. "type": "integer"
  11920. },
  11921. "holderamount": {
  11922. "description": "期初持仓总金额",
  11923. "type": "number"
  11924. },
  11925. "marketid": {
  11926. "description": "市场ID",
  11927. "type": "integer"
  11928. },
  11929. "openreqqty": {
  11930. "description": "开仓申请数量",
  11931. "type": "integer"
  11932. },
  11933. "opentotalqty": {
  11934. "description": "开仓总数量",
  11935. "type": "integer"
  11936. },
  11937. "otherfrozenqty": {
  11938. "description": "持仓其他冻结数量(交割冻结)",
  11939. "type": "integer"
  11940. },
  11941. "positionqty": {
  11942. "description": "期初持仓数量",
  11943. "type": "integer"
  11944. },
  11945. "szdz3freezqty": {
  11946. "description": "尚志大宗转换冻结总数量",
  11947. "type": "integer"
  11948. },
  11949. "tnqty": {
  11950. "description": "T+N冻结总量",
  11951. "type": "integer"
  11952. },
  11953. "tnusedqty": {
  11954. "description": "T+N使用量",
  11955. "type": "integer"
  11956. },
  11957. "trademode": {
  11958. "description": "交易模式",
  11959. "type": "integer"
  11960. },
  11961. "usedmargin": {
  11962. "description": "占用保证金",
  11963. "type": "number"
  11964. }
  11965. }
  11966. },
  11967. "taaccount.QueryAmountLogRsp": {
  11968. "type": "object",
  11969. "required": [
  11970. "accountid",
  11971. "amount",
  11972. "amountadjusttype",
  11973. "autoid",
  11974. "balance",
  11975. "createtime",
  11976. "currentbalance",
  11977. "operatetype"
  11978. ],
  11979. "properties": {
  11980. "OPERATETYPENAME": {
  11981. "description": "资金操作类型名称",
  11982. "type": "string"
  11983. },
  11984. "accountid": {
  11985. "description": "资金账户ID",
  11986. "type": "integer"
  11987. },
  11988. "agoodscode": {
  11989. "description": "竞拍商品代码",
  11990. "type": "string"
  11991. },
  11992. "agoodsname": {
  11993. "description": "竞拍商品名称",
  11994. "type": "string"
  11995. },
  11996. "amount": {
  11997. "description": "资金金额",
  11998. "type": "number"
  11999. },
  12000. "amountadjusttype": {
  12001. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12002. "type": "integer"
  12003. },
  12004. "autoid": {
  12005. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12006. "type": "integer"
  12007. },
  12008. "balance": {
  12009. "description": "期初余额",
  12010. "type": "number"
  12011. },
  12012. "businesscode": {
  12013. "description": "业务编号",
  12014. "type": "integer"
  12015. },
  12016. "createtime": {
  12017. "description": "发生时间",
  12018. "type": "string"
  12019. },
  12020. "currencyid": {
  12021. "description": "币种ID",
  12022. "type": "integer"
  12023. },
  12024. "currentbalance": {
  12025. "description": "期末余额(变动后金额)",
  12026. "type": "number"
  12027. },
  12028. "dgoodscode": {
  12029. "description": "交割商品代码",
  12030. "type": "string"
  12031. },
  12032. "dgoodsname": {
  12033. "description": "交割商品名称",
  12034. "type": "string"
  12035. },
  12036. "goodscode": {
  12037. "description": "商品代码",
  12038. "type": "string"
  12039. },
  12040. "goodsid": {
  12041. "description": "商品ID",
  12042. "type": "integer"
  12043. },
  12044. "goodsname": {
  12045. "description": "商品名称",
  12046. "type": "string"
  12047. },
  12048. "marketid": {
  12049. "description": "市场ID",
  12050. "type": "integer"
  12051. },
  12052. "marketname": {
  12053. "description": "市场名称",
  12054. "type": "string"
  12055. },
  12056. "moneyticket": {
  12057. "description": "资金流水号:银行端流水号",
  12058. "type": "integer"
  12059. },
  12060. "operatetype": {
  12061. "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:营销收款",
  12062. "type": "integer"
  12063. },
  12064. "relationorderid": {
  12065. "description": "关联单号",
  12066. "type": "string"
  12067. },
  12068. "remark": {
  12069. "description": "备注",
  12070. "type": "string"
  12071. },
  12072. "trademode": {
  12073. "description": "交易模式",
  12074. "type": "integer"
  12075. }
  12076. }
  12077. },
  12078. "taaccount.QueryHisAmountLogRsp": {
  12079. "type": "object",
  12080. "required": [
  12081. "accountid",
  12082. "amount",
  12083. "amountadjusttype",
  12084. "autoid",
  12085. "balance",
  12086. "createtime",
  12087. "currentbalance",
  12088. "histradedate",
  12089. "operatetype"
  12090. ],
  12091. "properties": {
  12092. "OPERATETYPENAME": {
  12093. "description": "资金操作类型名称",
  12094. "type": "string"
  12095. },
  12096. "accountid": {
  12097. "description": "资金账户ID",
  12098. "type": "integer"
  12099. },
  12100. "agoodscode": {
  12101. "description": "竞拍商品代码",
  12102. "type": "string"
  12103. },
  12104. "agoodsname": {
  12105. "description": "竞拍商品名称",
  12106. "type": "string"
  12107. },
  12108. "amount": {
  12109. "description": "资金金额",
  12110. "type": "number"
  12111. },
  12112. "amountadjusttype": {
  12113. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12114. "type": "integer"
  12115. },
  12116. "autoid": {
  12117. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12118. "type": "integer"
  12119. },
  12120. "balance": {
  12121. "description": "期初余额",
  12122. "type": "number"
  12123. },
  12124. "businesscode": {
  12125. "description": "业务编号",
  12126. "type": "integer"
  12127. },
  12128. "createtime": {
  12129. "description": "发生时间",
  12130. "type": "string"
  12131. },
  12132. "currencyid": {
  12133. "description": "币种ID",
  12134. "type": "integer"
  12135. },
  12136. "currentbalance": {
  12137. "description": "期末余额(变动后金额)",
  12138. "type": "number"
  12139. },
  12140. "dgoodscode": {
  12141. "description": "交割商品代码",
  12142. "type": "string"
  12143. },
  12144. "dgoodsname": {
  12145. "description": "交割商品名称",
  12146. "type": "string"
  12147. },
  12148. "goodscode": {
  12149. "description": "商品代码",
  12150. "type": "string"
  12151. },
  12152. "goodsid": {
  12153. "description": "商品ID",
  12154. "type": "integer"
  12155. },
  12156. "goodsname": {
  12157. "description": "商品名称",
  12158. "type": "string"
  12159. },
  12160. "histradedate": {
  12161. "description": "历史交易日",
  12162. "type": "string"
  12163. },
  12164. "isvaliddata": {
  12165. "description": "是否有效 - 0:无效 1:有效",
  12166. "type": "integer"
  12167. },
  12168. "marketid": {
  12169. "description": "市场ID",
  12170. "type": "integer"
  12171. },
  12172. "marketname": {
  12173. "description": "市场名称",
  12174. "type": "string"
  12175. },
  12176. "moneyticket": {
  12177. "description": "资金流水号:银行端流水号",
  12178. "type": "integer"
  12179. },
  12180. "operatetype": {
  12181. "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:营销收款",
  12182. "type": "integer"
  12183. },
  12184. "relationorderid": {
  12185. "description": "关联单号",
  12186. "type": "string"
  12187. },
  12188. "remark": {
  12189. "description": "备注",
  12190. "type": "string"
  12191. },
  12192. "trademode": {
  12193. "description": "交易模式",
  12194. "type": "integer"
  12195. }
  12196. }
  12197. },
  12198. "trade.QueryRecieptOrderRsp": {
  12199. "type": "object",
  12200. "required": [
  12201. "ordertime"
  12202. ],
  12203. "properties": {
  12204. "accountName": {
  12205. "description": "所属账号名称(已脱敏)",
  12206. "type": "string"
  12207. },
  12208. "accountid": {
  12209. "description": "资金账号",
  12210. "type": "integer"
  12211. },
  12212. "buyorsell": {
  12213. "description": "方向 - 0:买 1:卖",
  12214. "type": "integer"
  12215. },
  12216. "enableqty": {
  12217. "description": "可摘数量",
  12218. "type": "integer"
  12219. },
  12220. "goodscode": {
  12221. "description": "商品代码",
  12222. "type": "string"
  12223. },
  12224. "goodsid": {
  12225. "description": "商品ID",
  12226. "type": "integer"
  12227. },
  12228. "goodsname": {
  12229. "description": "商品名称",
  12230. "type": "string"
  12231. },
  12232. "orderid": {
  12233. "description": "委托单号",
  12234. "type": "string"
  12235. },
  12236. "orderprice": {
  12237. "description": "委托价格",
  12238. "type": "number"
  12239. },
  12240. "ordertime": {
  12241. "description": "委托时间",
  12242. "type": "string"
  12243. },
  12244. "tradedate": {
  12245. "description": "交易日(yyyyMMdd)",
  12246. "type": "string"
  12247. }
  12248. }
  12249. }
  12250. },
  12251. "securityDefinitions": {
  12252. "ApiKeyAuth": {
  12253. "type": "apiKey",
  12254. "name": "Authorization",
  12255. "in": "header"
  12256. }
  12257. }
  12258. }`
  12259. type swaggerInfo struct {
  12260. Version string
  12261. Host string
  12262. BasePath string
  12263. Schemes []string
  12264. Title string
  12265. Description string
  12266. }
  12267. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12268. var SwaggerInfo = swaggerInfo{
  12269. Version: "1.0",
  12270. Host: "",
  12271. BasePath: "/api",
  12272. Schemes: []string{},
  12273. Title: "MTP2.0 查询服务 API",
  12274. Description: "新的查询服务,替代原通用查询服务。",
  12275. }
  12276. type s struct{}
  12277. func (s *s) ReadDoc() string {
  12278. sInfo := SwaggerInfo
  12279. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12280. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12281. "marshal": func(v interface{}) string {
  12282. a, _ := json.Marshal(v)
  12283. return string(a)
  12284. },
  12285. }).Parse(doc)
  12286. if err != nil {
  12287. return doc
  12288. }
  12289. var tpl bytes.Buffer
  12290. if err := t.Execute(&tpl, sInfo); err != nil {
  12291. return doc
  12292. }
  12293. return tpl.String()
  12294. }
  12295. func init() {
  12296. swag.Register(swag.Name, &s{})
  12297. }