docs.go 475 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryBusinessDj": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "用户ID",
  733. "name": "UserId",
  734. "in": "query",
  735. "required": true
  736. },
  737. {
  738. "type": "string",
  739. "description": "现货合同ID, 不填则查所有",
  740. "name": "relatedid",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "type": "array",
  749. "items": {
  750. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  751. }
  752. }
  753. },
  754. "500": {
  755. "description": "Internal Server Error",
  756. "schema": {
  757. "$ref": "#/definitions/app.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/Ermcp/QueryBusinessFp": {
  764. "get": {
  765. "security": [
  766. {
  767. "ApiKeyAuth": []
  768. }
  769. ],
  770. "produces": [
  771. "application/json"
  772. ],
  773. "tags": [
  774. "企业风险管理(app)"
  775. ],
  776. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  777. "parameters": [
  778. {
  779. "type": "integer",
  780. "description": "用户ID",
  781. "name": "UserId",
  782. "in": "query",
  783. "required": true
  784. },
  785. {
  786. "type": "string",
  787. "description": "现货合同ID, 不填则查所有",
  788. "name": "relatedid",
  789. "in": "query"
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "OK",
  795. "schema": {
  796. "type": "array",
  797. "items": {
  798. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  799. }
  800. }
  801. },
  802. "500": {
  803. "description": "Internal Server Error",
  804. "schema": {
  805. "$ref": "#/definitions/app.Response"
  806. }
  807. }
  808. }
  809. }
  810. },
  811. "/Ermcp/QueryBusinessJs": {
  812. "get": {
  813. "security": [
  814. {
  815. "ApiKeyAuth": []
  816. }
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "企业风险管理(app)"
  823. ],
  824. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户ID",
  829. "name": "UserId",
  830. "in": "query",
  831. "required": true
  832. },
  833. {
  834. "type": "string",
  835. "description": "现货合同ID, 不填则查所有",
  836. "name": "relatedid",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "type": "array",
  845. "items": {
  846. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  847. }
  848. }
  849. },
  850. "500": {
  851. "description": "Internal Server Error",
  852. "schema": {
  853. "$ref": "#/definitions/app.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/Ermcp/QueryBusinessKx": {
  860. "get": {
  861. "security": [
  862. {
  863. "ApiKeyAuth": []
  864. }
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "企业风险管理(app)"
  871. ],
  872. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  873. "parameters": [
  874. {
  875. "type": "integer",
  876. "description": "用户ID",
  877. "name": "UserId",
  878. "in": "query",
  879. "required": true
  880. },
  881. {
  882. "type": "string",
  883. "description": "现货合同ID, 不填则查所有",
  884. "name": "relatedid",
  885. "in": "query"
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QueryChangeLog": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询变更记录",
  921. "parameters": [
  922. {
  923. "type": "string",
  924. "description": "用户ID",
  925. "name": "RelatedId",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "type": "array",
  935. "items": {
  936. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  937. }
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Ermcp/QueryContract": {
  950. "get": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "企业风险管理(app)"
  961. ],
  962. "summary": "查询合同(采购和销售)",
  963. "parameters": [
  964. {
  965. "type": "integer",
  966. "description": "用户ID",
  967. "name": "userId",
  968. "in": "query",
  969. "required": true
  970. },
  971. {
  972. "type": "integer",
  973. "description": "合同类型 1-采购, -1-销售",
  974. "name": "contracttype",
  975. "in": "query",
  976. "required": true
  977. },
  978. {
  979. "type": "integer",
  980. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  981. "name": "querytype",
  982. "in": "query",
  983. "required": true
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "type": "array",
  991. "items": {
  992. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  993. }
  994. }
  995. },
  996. "500": {
  997. "description": "Internal Server Error",
  998. "schema": {
  999. "$ref": "#/definitions/app.Response"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/Ermcp/QueryExposureDetail": {
  1006. "get": {
  1007. "security": [
  1008. {
  1009. "ApiKeyAuth": []
  1010. }
  1011. ],
  1012. "produces": [
  1013. "application/json"
  1014. ],
  1015. "tags": [
  1016. "企业风险管理(app)"
  1017. ],
  1018. "summary": "查询敞口现货明细",
  1019. "parameters": [
  1020. {
  1021. "type": "integer",
  1022. "description": "所属机构ID",
  1023. "name": "areaUserId",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "integer",
  1029. "description": "套保商品",
  1030. "name": "middleGoodsId",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QueryExposureSpot": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "所属机构ID",
  1072. "name": "areaUserId",
  1073. "in": "query",
  1074. "required": true
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "OK",
  1080. "schema": {
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1084. }
  1085. }
  1086. },
  1087. "500": {
  1088. "description": "Internal Server Error",
  1089. "schema": {
  1090. "$ref": "#/definitions/app.Response"
  1091. }
  1092. }
  1093. }
  1094. }
  1095. },
  1096. "/Ermcp/QueryHedgePlan": {
  1097. "get": {
  1098. "security": [
  1099. {
  1100. "ApiKeyAuth": []
  1101. }
  1102. ],
  1103. "produces": [
  1104. "application/json"
  1105. ],
  1106. "tags": [
  1107. "企业风险管理(app)"
  1108. ],
  1109. "summary": "查询套保计划",
  1110. "parameters": [
  1111. {
  1112. "type": "integer",
  1113. "description": "用户ID",
  1114. "name": "userId",
  1115. "in": "query",
  1116. "required": true
  1117. },
  1118. {
  1119. "type": "string",
  1120. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1121. "name": "HedgePlanStatus",
  1122. "in": "query",
  1123. "required": true
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "OK",
  1129. "schema": {
  1130. "type": "array",
  1131. "items": {
  1132. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1133. }
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/app.Response"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/Ermcp/QueryRealtimeExposure": {
  1146. "get": {
  1147. "security": [
  1148. {
  1149. "ApiKeyAuth": []
  1150. }
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "企业风险管理(app)"
  1157. ],
  1158. "summary": "查询实时敞口",
  1159. "parameters": [
  1160. {
  1161. "type": "integer",
  1162. "description": "所属机构ID",
  1163. "name": "AreaUserID",
  1164. "in": "query",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "type": "array",
  1173. "items": {
  1174. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1175. }
  1176. }
  1177. },
  1178. "500": {
  1179. "description": "Internal Server Error",
  1180. "schema": {
  1181. "$ref": "#/definitions/app.Response"
  1182. }
  1183. }
  1184. }
  1185. }
  1186. },
  1187. "/Ermcp/QuerySpotContract": {
  1188. "get": {
  1189. "security": [
  1190. {
  1191. "ApiKeyAuth": []
  1192. }
  1193. ],
  1194. "produces": [
  1195. "application/json"
  1196. ],
  1197. "tags": [
  1198. "企业风险管理(app)"
  1199. ],
  1200. "summary": "查询现货合同(对应现货合同菜单)",
  1201. "parameters": [
  1202. {
  1203. "type": "integer",
  1204. "description": "用户ID",
  1205. "name": "userId",
  1206. "in": "query",
  1207. "required": true
  1208. },
  1209. {
  1210. "type": "integer",
  1211. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1212. "name": "QueryType",
  1213. "in": "query",
  1214. "required": true
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1224. }
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Ermcp/QueryUserInfo": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "企业风险管理(app)"
  1248. ],
  1249. "summary": "查询客户资料",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "所属机构用户ID",
  1254. "name": "MemberUserID",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "integer",
  1260. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1261. "name": "queryType",
  1262. "in": "query",
  1263. "required": true
  1264. }
  1265. ],
  1266. "responses": {
  1267. "200": {
  1268. "description": "OK",
  1269. "schema": {
  1270. "type": "array",
  1271. "items": {
  1272. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1273. }
  1274. }
  1275. },
  1276. "500": {
  1277. "description": "Internal Server Error",
  1278. "schema": {
  1279. "$ref": "#/definitions/app.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/Ermcp/QueryWrStandard": {
  1286. "get": {
  1287. "security": [
  1288. {
  1289. "ApiKeyAuth": []
  1290. }
  1291. ],
  1292. "produces": [
  1293. "application/json"
  1294. ],
  1295. "tags": [
  1296. "企业风险管理(app)"
  1297. ],
  1298. "summary": "查询现货商品",
  1299. "parameters": [
  1300. {
  1301. "type": "integer",
  1302. "description": "所属机构ID",
  1303. "name": "userid",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Erms2/QueryArbitrageStrategy": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "风险管理"
  1339. ],
  1340. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "账户ID",
  1345. "name": "userid",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "string",
  1351. "description": "商品组ID(品种ID)",
  1352. "name": "goodsgroupid",
  1353. "in": "query"
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/Erms2/QueryInnerTradeDetail": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "produces": [
  1380. "application/json"
  1381. ],
  1382. "tags": [
  1383. "风险管理"
  1384. ],
  1385. "summary": "查询内部成交单信息",
  1386. "parameters": [
  1387. {
  1388. "type": "integer",
  1389. "description": "资金账户",
  1390. "name": "accountid",
  1391. "in": "query",
  1392. "required": true
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1400. }
  1401. },
  1402. "500": {
  1403. "description": "Internal Server Error",
  1404. "schema": {
  1405. "$ref": "#/definitions/app.Response"
  1406. }
  1407. }
  1408. }
  1409. }
  1410. },
  1411. "/Erms2/QuerySpotContract": {
  1412. "get": {
  1413. "security": [
  1414. {
  1415. "ApiKeyAuth": []
  1416. }
  1417. ],
  1418. "produces": [
  1419. "application/json"
  1420. ],
  1421. "tags": [
  1422. "风险管理"
  1423. ],
  1424. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1425. "parameters": [
  1426. {
  1427. "type": "integer",
  1428. "description": "策略申请ID",
  1429. "name": "asapplyid",
  1430. "in": "query",
  1431. "required": true
  1432. },
  1433. {
  1434. "type": "integer",
  1435. "description": "现货合同ID",
  1436. "name": "spotcontractid",
  1437. "in": "query"
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1445. }
  1446. },
  1447. "500": {
  1448. "description": "Internal Server Error",
  1449. "schema": {
  1450. "$ref": "#/definitions/app.Response"
  1451. }
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/Erms3/AddErms2ASApply": {
  1457. "post": {
  1458. "security": [
  1459. {
  1460. "ApiKeyAuth": []
  1461. }
  1462. ],
  1463. "produces": [
  1464. "application/json"
  1465. ],
  1466. "tags": [
  1467. "风险管理v3"
  1468. ],
  1469. "summary": "新增期现套利业务申请",
  1470. "parameters": [
  1471. {
  1472. "description": "申请参数",
  1473. "name": "jsonBody",
  1474. "in": "body",
  1475. "required": true,
  1476. "schema": {
  1477. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1478. }
  1479. }
  1480. ],
  1481. "responses": {
  1482. "200": {
  1483. "description": "OK",
  1484. "schema": {
  1485. "$ref": "#/definitions/app.Response"
  1486. }
  1487. },
  1488. "500": {
  1489. "description": "Internal Server Error",
  1490. "schema": {
  1491. "$ref": "#/definitions/app.Response"
  1492. }
  1493. }
  1494. }
  1495. }
  1496. },
  1497. "/Erms3/AddErms2SpotTradeApply": {
  1498. "post": {
  1499. "security": [
  1500. {
  1501. "ApiKeyAuth": []
  1502. }
  1503. ],
  1504. "produces": [
  1505. "application/json"
  1506. ],
  1507. "tags": [
  1508. "风险管理v3"
  1509. ],
  1510. "summary": "新增现货贸易业务申请",
  1511. "parameters": [
  1512. {
  1513. "description": "申请参数",
  1514. "name": "jsonBody",
  1515. "in": "body",
  1516. "required": true,
  1517. "schema": {
  1518. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1519. }
  1520. }
  1521. ],
  1522. "responses": {
  1523. "200": {
  1524. "description": "OK",
  1525. "schema": {
  1526. "$ref": "#/definitions/app.Response"
  1527. }
  1528. },
  1529. "500": {
  1530. "description": "Internal Server Error",
  1531. "schema": {
  1532. "$ref": "#/definitions/app.Response"
  1533. }
  1534. }
  1535. }
  1536. }
  1537. },
  1538. "/Erms3/AddSpotContractApply": {
  1539. "post": {
  1540. "security": [
  1541. {
  1542. "ApiKeyAuth": []
  1543. }
  1544. ],
  1545. "produces": [
  1546. "application/json"
  1547. ],
  1548. "tags": [
  1549. "风险管理v3"
  1550. ],
  1551. "summary": "新增现货合同申请",
  1552. "parameters": [
  1553. {
  1554. "description": "申请参数",
  1555. "name": "jsonBody",
  1556. "in": "body",
  1557. "required": true,
  1558. "schema": {
  1559. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1560. }
  1561. }
  1562. ],
  1563. "responses": {
  1564. "200": {
  1565. "description": "OK",
  1566. "schema": {
  1567. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Erms3/AddUserInfoApply": {
  1580. "post": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "风险管理v3"
  1591. ],
  1592. "summary": "新增客户申请",
  1593. "parameters": [
  1594. {
  1595. "description": "申请参数",
  1596. "name": "jsonBody",
  1597. "in": "body",
  1598. "required": true,
  1599. "schema": {
  1600. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1601. }
  1602. }
  1603. ],
  1604. "responses": {
  1605. "200": {
  1606. "description": "OK",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. },
  1611. "500": {
  1612. "description": "Internal Server Error",
  1613. "schema": {
  1614. "$ref": "#/definitions/app.Response"
  1615. }
  1616. }
  1617. }
  1618. }
  1619. },
  1620. "/Erms3/QueryBusinessInfo": {
  1621. "get": {
  1622. "security": [
  1623. {
  1624. "ApiKeyAuth": []
  1625. }
  1626. ],
  1627. "produces": [
  1628. "application/json"
  1629. ],
  1630. "tags": [
  1631. "风险管理v3"
  1632. ],
  1633. "summary": "查询业务表单数据",
  1634. "parameters": [
  1635. {
  1636. "type": "string",
  1637. "description": "资金账号ID列表,用逗号分隔",
  1638. "name": "accountids",
  1639. "in": "query",
  1640. "required": true
  1641. },
  1642. {
  1643. "type": "integer",
  1644. "description": "状态,0为未结束 1为已结束",
  1645. "name": "status",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Erms3/QueryPendingAuditContract": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "风险管理v3"
  1681. ],
  1682. "summary": "查询待审核合同",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "资金账号ID列表,逗号隔开",
  1687. "name": "accountids",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "合同类型 1-采购 -1-销售",
  1694. "name": "contracttype",
  1695. "in": "query",
  1696. "required": true
  1697. },
  1698. {
  1699. "type": "integer",
  1700. "description": "合同模式 1-普通 2-回购",
  1701. "name": "contractmode",
  1702. "in": "query",
  1703. "required": true
  1704. }
  1705. ],
  1706. "responses": {
  1707. "200": {
  1708. "description": "OK",
  1709. "schema": {
  1710. "type": "array",
  1711. "items": {
  1712. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1713. }
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/app.Response"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/Erms3/QueryPendingBusiness": {
  1726. "get": {
  1727. "security": [
  1728. {
  1729. "ApiKeyAuth": []
  1730. }
  1731. ],
  1732. "produces": [
  1733. "application/json"
  1734. ],
  1735. "tags": [
  1736. "风险管理v3"
  1737. ],
  1738. "summary": "查询待审核基差贸易业务",
  1739. "parameters": [
  1740. {
  1741. "type": "string",
  1742. "description": "资金账号ID列表,逗号隔开",
  1743. "name": "accountids",
  1744. "in": "query",
  1745. "required": true
  1746. }
  1747. ],
  1748. "responses": {
  1749. "200": {
  1750. "description": "OK",
  1751. "schema": {
  1752. "type": "array",
  1753. "items": {
  1754. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1755. }
  1756. }
  1757. },
  1758. "500": {
  1759. "description": "Internal Server Error",
  1760. "schema": {
  1761. "$ref": "#/definitions/app.Response"
  1762. }
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "/Erms3/QuerySpotContractAppleForm": {
  1768. "get": {
  1769. "security": [
  1770. {
  1771. "ApiKeyAuth": []
  1772. }
  1773. ],
  1774. "produces": [
  1775. "application/json"
  1776. ],
  1777. "tags": [
  1778. "风险管理v3"
  1779. ],
  1780. "summary": "查询合同申请表单数据",
  1781. "parameters": [
  1782. {
  1783. "type": "integer",
  1784. "description": "登录账号",
  1785. "name": "loginID",
  1786. "in": "query",
  1787. "required": true
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/app.Response"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/Erms3/QuerySpotContractDetail": {
  1807. "get": {
  1808. "security": [
  1809. {
  1810. "ApiKeyAuth": []
  1811. }
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "风险管理v3"
  1818. ],
  1819. "summary": "查询合同详细信息",
  1820. "parameters": [
  1821. {
  1822. "type": "string",
  1823. "description": "资金账号ID列表,用逗号分隔",
  1824. "name": "accountids",
  1825. "in": "query",
  1826. "required": true
  1827. },
  1828. {
  1829. "type": "integer",
  1830. "description": "合同类型,1为采购合同 -1为销售合同",
  1831. "name": "contracttype",
  1832. "in": "query",
  1833. "required": true
  1834. },
  1835. {
  1836. "type": "integer",
  1837. "description": "合同模式,1为普通合同 2为回购销售合同",
  1838. "name": "contractmode",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "状态,0为履约中 1为已完成",
  1845. "name": "status",
  1846. "in": "query",
  1847. "required": true
  1848. }
  1849. ],
  1850. "responses": {
  1851. "200": {
  1852. "description": "OK",
  1853. "schema": {
  1854. "type": "array",
  1855. "items": {
  1856. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1857. }
  1858. }
  1859. },
  1860. "500": {
  1861. "description": "Internal Server Error",
  1862. "schema": {
  1863. "$ref": "#/definitions/app.Response"
  1864. }
  1865. }
  1866. }
  1867. }
  1868. },
  1869. "/Erms3/QueryUserInfoApplies": {
  1870. "get": {
  1871. "security": [
  1872. {
  1873. "ApiKeyAuth": []
  1874. }
  1875. ],
  1876. "produces": [
  1877. "application/json"
  1878. ],
  1879. "tags": [
  1880. "风险管理v3"
  1881. ],
  1882. "summary": "客户申请信息查询",
  1883. "parameters": [
  1884. {
  1885. "type": "integer",
  1886. "description": "页码",
  1887. "name": "page",
  1888. "in": "query"
  1889. },
  1890. {
  1891. "type": "integer",
  1892. "description": "每页条数",
  1893. "name": "pagesize",
  1894. "in": "query"
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "客户名称,支持模糊查询",
  1899. "name": "userName",
  1900. "in": "query"
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Erms3/QueryUserInfos": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "风险管理v3"
  1931. ],
  1932. "summary": "客户信息查询",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "页码",
  1937. "name": "page",
  1938. "in": "query"
  1939. },
  1940. {
  1941. "type": "integer",
  1942. "description": "每页条数",
  1943. "name": "pagesize",
  1944. "in": "query"
  1945. },
  1946. {
  1947. "type": "string",
  1948. "description": "客户名称,支持模糊查询",
  1949. "name": "userName",
  1950. "in": "query"
  1951. }
  1952. ],
  1953. "responses": {
  1954. "200": {
  1955. "description": "OK",
  1956. "schema": {
  1957. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1958. }
  1959. },
  1960. "500": {
  1961. "description": "Internal Server Error",
  1962. "schema": {
  1963. "$ref": "#/definitions/app.Response"
  1964. }
  1965. }
  1966. }
  1967. }
  1968. },
  1969. "/HSBY/GetHsbyMyCount": {
  1970. "get": {
  1971. "security": [
  1972. {
  1973. "ApiKeyAuth": []
  1974. }
  1975. ],
  1976. "description": "说明: 不包括已完成的数量。",
  1977. "produces": [
  1978. "application/json"
  1979. ],
  1980. "tags": [
  1981. "定制【海商报业】"
  1982. ],
  1983. "summary": "获取我的订单与包裹数量",
  1984. "parameters": [
  1985. {
  1986. "type": "string",
  1987. "description": "资金账户列表,格式:1,2,3",
  1988. "name": "accountIDs",
  1989. "in": "query",
  1990. "required": true
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1998. }
  1999. },
  2000. "500": {
  2001. "description": "Internal Server Error",
  2002. "schema": {
  2003. "$ref": "#/definitions/app.Response"
  2004. }
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "/HSBY/QueryClientFixedADConfigs": {
  2010. "get": {
  2011. "security": [
  2012. {
  2013. "ApiKeyAuth": []
  2014. }
  2015. ],
  2016. "produces": [
  2017. "application/json"
  2018. ],
  2019. "tags": [
  2020. "定制【海商报业】"
  2021. ],
  2022. "summary": "获取终端固定广告配置",
  2023. "responses": {
  2024. "200": {
  2025. "description": "OK",
  2026. "schema": {
  2027. "$ref": "#/definitions/models.Clientfixedadconfig"
  2028. }
  2029. },
  2030. "500": {
  2031. "description": "Internal Server Error",
  2032. "schema": {
  2033. "$ref": "#/definitions/app.Response"
  2034. }
  2035. }
  2036. }
  2037. }
  2038. },
  2039. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2040. "get": {
  2041. "security": [
  2042. {
  2043. "ApiKeyAuth": []
  2044. }
  2045. ],
  2046. "produces": [
  2047. "application/json"
  2048. ],
  2049. "tags": [
  2050. "定制【海商报业】"
  2051. ],
  2052. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2053. "parameters": [
  2054. {
  2055. "type": "integer",
  2056. "description": "页码",
  2057. "name": "page",
  2058. "in": "query"
  2059. },
  2060. {
  2061. "type": "integer",
  2062. "description": "每页条数",
  2063. "name": "pagesize",
  2064. "in": "query"
  2065. },
  2066. {
  2067. "type": "string",
  2068. "description": "资金账户列表,格式:1,2,3",
  2069. "name": "accountIDs",
  2070. "in": "query",
  2071. "required": true
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "description": "说明:查询结果已按委托价格和委托时间排序",
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "定制【海商报业】"
  2103. ],
  2104. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2105. "parameters": [
  2106. {
  2107. "type": "integer",
  2108. "description": "商品ID",
  2109. "name": "goodsID",
  2110. "in": "query",
  2111. "required": true
  2112. },
  2113. {
  2114. "type": "string",
  2115. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2116. "name": "accountIDs",
  2117. "in": "query"
  2118. },
  2119. {
  2120. "type": "integer",
  2121. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2122. "name": "buyOrSell",
  2123. "in": "query"
  2124. },
  2125. {
  2126. "type": "number",
  2127. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2128. "name": "price",
  2129. "in": "query"
  2130. },
  2131. {
  2132. "type": "integer",
  2133. "description": "档位,不传则默认为3档",
  2134. "name": "speed",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2143. }
  2144. },
  2145. "500": {
  2146. "description": "Internal Server Error",
  2147. "schema": {
  2148. "$ref": "#/definitions/app.Response"
  2149. }
  2150. }
  2151. }
  2152. }
  2153. },
  2154. "/HSBY/QueryHsbyListingGoodsDetail": {
  2155. "get": {
  2156. "security": [
  2157. {
  2158. "ApiKeyAuth": []
  2159. }
  2160. ],
  2161. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "定制【海商报业】"
  2167. ],
  2168. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2169. "parameters": [
  2170. {
  2171. "type": "integer",
  2172. "description": "商品ID",
  2173. "name": "goodsID",
  2174. "in": "query",
  2175. "required": true
  2176. },
  2177. {
  2178. "type": "integer",
  2179. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2180. "name": "accountID",
  2181. "in": "query"
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "OK",
  2187. "schema": {
  2188. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2189. }
  2190. },
  2191. "500": {
  2192. "description": "Internal Server Error",
  2193. "schema": {
  2194. "$ref": "#/definitions/app.Response"
  2195. }
  2196. }
  2197. }
  2198. }
  2199. },
  2200. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2201. "get": {
  2202. "security": [
  2203. {
  2204. "ApiKeyAuth": []
  2205. }
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "定制【海商报业】"
  2212. ],
  2213. "summary": "查询三级市场(商城)商品信息详情",
  2214. "parameters": [
  2215. {
  2216. "type": "integer",
  2217. "description": "委托单号",
  2218. "name": "orderID",
  2219. "in": "query",
  2220. "required": true
  2221. },
  2222. {
  2223. "type": "integer",
  2224. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2225. "name": "accountID",
  2226. "in": "query"
  2227. }
  2228. ],
  2229. "responses": {
  2230. "200": {
  2231. "description": "OK",
  2232. "schema": {
  2233. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2234. }
  2235. },
  2236. "500": {
  2237. "description": "Internal Server Error",
  2238. "schema": {
  2239. "$ref": "#/definitions/app.Response"
  2240. }
  2241. }
  2242. }
  2243. }
  2244. },
  2245. "/HSBY/QueryHsbyMarketGoodses": {
  2246. "get": {
  2247. "security": [
  2248. {
  2249. "ApiKeyAuth": []
  2250. }
  2251. ],
  2252. "produces": [
  2253. "application/json"
  2254. ],
  2255. "tags": [
  2256. "定制【海商报业】"
  2257. ],
  2258. "summary": "查询特卖商品列表(三级商城)",
  2259. "parameters": [
  2260. {
  2261. "type": "integer",
  2262. "description": "页码",
  2263. "name": "page",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "integer",
  2268. "description": "每页条数",
  2269. "name": "pagesize",
  2270. "in": "query"
  2271. },
  2272. {
  2273. "type": "string",
  2274. "description": "市场ID列表,格式:1,2,3",
  2275. "name": "marketIDs",
  2276. "in": "query",
  2277. "required": true
  2278. },
  2279. {
  2280. "type": "integer",
  2281. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2282. "name": "accountID",
  2283. "in": "query",
  2284. "required": true
  2285. },
  2286. {
  2287. "type": "integer",
  2288. "description": "类别ID",
  2289. "name": "categoryID",
  2290. "in": "query"
  2291. },
  2292. {
  2293. "type": "string",
  2294. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2295. "name": "goodsIDs",
  2296. "in": "query"
  2297. },
  2298. {
  2299. "type": "integer",
  2300. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2301. "name": "couponTypeID",
  2302. "in": "query"
  2303. }
  2304. ],
  2305. "responses": {
  2306. "200": {
  2307. "description": "OK",
  2308. "schema": {
  2309. "$ref": "#/definitions/models.HsbyMarketGoods"
  2310. }
  2311. },
  2312. "500": {
  2313. "description": "Internal Server Error",
  2314. "schema": {
  2315. "$ref": "#/definitions/app.Response"
  2316. }
  2317. }
  2318. }
  2319. }
  2320. },
  2321. "/HSBY/QueryHsbyMarkets": {
  2322. "get": {
  2323. "security": [
  2324. {
  2325. "ApiKeyAuth": []
  2326. }
  2327. ],
  2328. "produces": [
  2329. "application/json"
  2330. ],
  2331. "tags": [
  2332. "定制【海商报业】"
  2333. ],
  2334. "summary": "查询海商报业相关市场信息",
  2335. "responses": {
  2336. "200": {
  2337. "description": "OK",
  2338. "schema": {
  2339. "$ref": "#/definitions/models.HsbyMarketInfo"
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2359. "produces": [
  2360. "application/json"
  2361. ],
  2362. "tags": [
  2363. "定制【海商报业】"
  2364. ],
  2365. "summary": "查询“我的订单”信息",
  2366. "parameters": [
  2367. {
  2368. "type": "string",
  2369. "description": "资金账户列表,格式:1,2,3",
  2370. "name": "accountIDs",
  2371. "in": "query",
  2372. "required": true
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2377. "name": "myBuyStatus",
  2378. "in": "query"
  2379. }
  2380. ],
  2381. "responses": {
  2382. "200": {
  2383. "description": "OK",
  2384. "schema": {
  2385. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2386. }
  2387. },
  2388. "500": {
  2389. "description": "Internal Server Error",
  2390. "schema": {
  2391. "$ref": "#/definitions/app.Response"
  2392. }
  2393. }
  2394. }
  2395. }
  2396. },
  2397. "/HSBY/QueryHsbyMyGoods": {
  2398. "get": {
  2399. "security": [
  2400. {
  2401. "ApiKeyAuth": []
  2402. }
  2403. ],
  2404. "produces": [
  2405. "application/json"
  2406. ],
  2407. "tags": [
  2408. "定制【海商报业】"
  2409. ],
  2410. "summary": "查询“我的商品”信息",
  2411. "parameters": [
  2412. {
  2413. "type": "string",
  2414. "description": "资金账户列表,格式:1,2,3",
  2415. "name": "accountIDs",
  2416. "in": "query",
  2417. "required": true
  2418. }
  2419. ],
  2420. "responses": {
  2421. "200": {
  2422. "description": "OK",
  2423. "schema": {
  2424. "$ref": "#/definitions/models.HsbyMyGoods"
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/HSBY/QueryHsbyMyPackages": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "定制【海商报业】"
  2448. ],
  2449. "summary": "查询我的包裹信息",
  2450. "parameters": [
  2451. {
  2452. "type": "string",
  2453. "description": "资金账户列表,格式:1,2,3",
  2454. "name": "accountIDs",
  2455. "in": "query",
  2456. "required": true
  2457. },
  2458. {
  2459. "type": "integer",
  2460. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2461. "name": "takeOrderStatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "$ref": "#/definitions/models.HsbyMyPackage"
  2470. }
  2471. },
  2472. "500": {
  2473. "description": "Internal Server Error",
  2474. "schema": {
  2475. "$ref": "#/definitions/app.Response"
  2476. }
  2477. }
  2478. }
  2479. }
  2480. },
  2481. "/HSBY/QueryHsbyPreGoodsDetail": {
  2482. "get": {
  2483. "security": [
  2484. {
  2485. "ApiKeyAuth": []
  2486. }
  2487. ],
  2488. "produces": [
  2489. "application/json"
  2490. ],
  2491. "tags": [
  2492. "定制【海商报业】"
  2493. ],
  2494. "summary": "查询一级市场(预售)商品信息详情",
  2495. "parameters": [
  2496. {
  2497. "type": "integer",
  2498. "description": "商品ID",
  2499. "name": "goodsID",
  2500. "in": "query",
  2501. "required": true
  2502. },
  2503. {
  2504. "type": "integer",
  2505. "description": "资金账户,主要用于获取预售商品购买上限",
  2506. "name": "accountID",
  2507. "in": "query"
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/HSBY/QueryHsbyPreGoodses": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "定制【海商报业】"
  2539. ],
  2540. "summary": "查询新品上市商品列表(一级市场预售)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "页码",
  2545. "name": "page",
  2546. "in": "query"
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "每页条数",
  2551. "name": "pagesize",
  2552. "in": "query"
  2553. },
  2554. {
  2555. "type": "string",
  2556. "description": "市场ID列表,格式:1,2,3",
  2557. "name": "marketIDs",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "integer",
  2563. "description": "目的地(省)ID",
  2564. "name": "descProvinceID",
  2565. "in": "query"
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "目的地(市)ID",
  2570. "name": "descCityID",
  2571. "in": "query"
  2572. }
  2573. ],
  2574. "responses": {
  2575. "200": {
  2576. "description": "OK",
  2577. "schema": {
  2578. "$ref": "#/definitions/models.HsbyPreGoods"
  2579. }
  2580. },
  2581. "500": {
  2582. "description": "Internal Server Error",
  2583. "schema": {
  2584. "$ref": "#/definitions/app.Response"
  2585. }
  2586. }
  2587. }
  2588. }
  2589. },
  2590. "/HSBY/QueryHsbySellMyDetails": {
  2591. "get": {
  2592. "security": [
  2593. {
  2594. "ApiKeyAuth": []
  2595. }
  2596. ],
  2597. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2598. "produces": [
  2599. "application/json"
  2600. ],
  2601. "tags": [
  2602. "定制【海商报业】"
  2603. ],
  2604. "summary": "查询\"我的闲置\"单据信息",
  2605. "parameters": [
  2606. {
  2607. "type": "integer",
  2608. "description": "页码",
  2609. "name": "page",
  2610. "in": "query"
  2611. },
  2612. {
  2613. "type": "integer",
  2614. "description": "每页条数",
  2615. "name": "pagesize",
  2616. "in": "query"
  2617. },
  2618. {
  2619. "type": "string",
  2620. "description": "资金账户列表,格式:1,2,3",
  2621. "name": "accountIDs",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "integer",
  2627. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2628. "name": "orderType",
  2629. "in": "query"
  2630. }
  2631. ],
  2632. "responses": {
  2633. "200": {
  2634. "description": "OK",
  2635. "schema": {
  2636. "$ref": "#/definitions/models.HsbySellMyDetail"
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/HSBY/QueryHsbyTopGoodses": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "定制【海商报业】"
  2661. ],
  2662. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2663. "parameters": [
  2664. {
  2665. "type": "integer",
  2666. "description": "页码",
  2667. "name": "page",
  2668. "in": "query"
  2669. },
  2670. {
  2671. "type": "integer",
  2672. "description": "每页条数",
  2673. "name": "pagesize",
  2674. "in": "query"
  2675. },
  2676. {
  2677. "type": "string",
  2678. "description": "市场ID列表,格式:1,2,3",
  2679. "name": "marketIDs",
  2680. "in": "query",
  2681. "required": true
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": "目的地(省)ID",
  2686. "name": "descProvinceID",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "integer",
  2691. "description": "目的地(市)ID",
  2692. "name": "descCityID",
  2693. "in": "query"
  2694. }
  2695. ],
  2696. "responses": {
  2697. "200": {
  2698. "description": "OK",
  2699. "schema": {
  2700. "$ref": "#/definitions/models.HsbyTopGoods"
  2701. }
  2702. },
  2703. "500": {
  2704. "description": "Internal Server Error",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  2713. "get": {
  2714. "security": [
  2715. {
  2716. "ApiKeyAuth": []
  2717. }
  2718. ],
  2719. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "定制【海商报业】"
  2725. ],
  2726. "summary": "查询游客三级市场(商城)商品信息详情",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "商品ID",
  2731. "name": "goodsID",
  2732. "in": "query",
  2733. "required": true
  2734. }
  2735. ],
  2736. "responses": {
  2737. "200": {
  2738. "description": "OK",
  2739. "schema": {
  2740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2741. }
  2742. },
  2743. "500": {
  2744. "description": "Internal Server Error",
  2745. "schema": {
  2746. "$ref": "#/definitions/app.Response"
  2747. }
  2748. }
  2749. }
  2750. }
  2751. },
  2752. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2753. "get": {
  2754. "security": [
  2755. {
  2756. "ApiKeyAuth": []
  2757. }
  2758. ],
  2759. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "定制【海商报业】"
  2765. ],
  2766. "summary": "查询游客特卖商品列表(三级商城)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "页码",
  2771. "name": "page",
  2772. "in": "query"
  2773. },
  2774. {
  2775. "type": "integer",
  2776. "description": "每页条数",
  2777. "name": "pagesize",
  2778. "in": "query"
  2779. },
  2780. {
  2781. "type": "string",
  2782. "description": "市场ID列表,格式:1,2,3",
  2783. "name": "marketIDs",
  2784. "in": "query",
  2785. "required": true
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "类别ID",
  2790. "name": "categoryID",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "string",
  2795. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2796. "name": "goodsIDs",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.HsbyMarketGoods"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/HSBY/QueryMyCollectionOrders": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "produces": [
  2824. "application/json"
  2825. ],
  2826. "tags": [
  2827. "定制【海商报业】"
  2828. ],
  2829. "summary": "我的闲置中收款信息查询",
  2830. "parameters": [
  2831. {
  2832. "type": "integer",
  2833. "description": "页码",
  2834. "name": "page",
  2835. "in": "query"
  2836. },
  2837. {
  2838. "type": "integer",
  2839. "description": "每页条数",
  2840. "name": "pagesize",
  2841. "in": "query"
  2842. },
  2843. {
  2844. "type": "string",
  2845. "description": "资金账户,格式:1,2,3",
  2846. "name": "accountIDs",
  2847. "in": "query",
  2848. "required": true
  2849. }
  2850. ],
  2851. "responses": {
  2852. "200": {
  2853. "description": "OK",
  2854. "schema": {
  2855. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2856. }
  2857. },
  2858. "500": {
  2859. "description": "Internal Server Error",
  2860. "schema": {
  2861. "$ref": "#/definitions/app.Response"
  2862. }
  2863. }
  2864. }
  2865. }
  2866. },
  2867. "/HSBY/QueryMyCouponHolds": {
  2868. "get": {
  2869. "security": [
  2870. {
  2871. "ApiKeyAuth": []
  2872. }
  2873. ],
  2874. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2875. "produces": [
  2876. "application/json"
  2877. ],
  2878. "tags": [
  2879. "定制【海商报业】"
  2880. ],
  2881. "summary": "我的优惠卷持仓查询",
  2882. "parameters": [
  2883. {
  2884. "type": "string",
  2885. "description": "资金账户列表,格式:1,2,3",
  2886. "name": "accountIDs",
  2887. "in": "query",
  2888. "required": true
  2889. },
  2890. {
  2891. "type": "string",
  2892. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2893. "name": "holdStatus",
  2894. "in": "query"
  2895. }
  2896. ],
  2897. "responses": {
  2898. "200": {
  2899. "description": "OK",
  2900. "schema": {
  2901. "$ref": "#/definitions/models.MyCouponHold"
  2902. }
  2903. },
  2904. "500": {
  2905. "description": "Internal Server Error",
  2906. "schema": {
  2907. "$ref": "#/definitions/app.Response"
  2908. }
  2909. }
  2910. }
  2911. }
  2912. },
  2913. "/HSBY/QueryMyCoupons": {
  2914. "get": {
  2915. "security": [
  2916. {
  2917. "ApiKeyAuth": []
  2918. }
  2919. ],
  2920. "produces": [
  2921. "application/json"
  2922. ],
  2923. "tags": [
  2924. "定制【海商报业】"
  2925. ],
  2926. "summary": "我的优惠卷查询",
  2927. "parameters": [
  2928. {
  2929. "type": "string",
  2930. "description": "资金账户列表,格式:1,2,3",
  2931. "name": "accountIDs",
  2932. "in": "query",
  2933. "required": true
  2934. },
  2935. {
  2936. "type": "integer",
  2937. "description": "商品ID, 一般与sellUserID配套传入",
  2938. "name": "goodsID",
  2939. "in": "query"
  2940. },
  2941. {
  2942. "type": "integer",
  2943. "description": "卖方UserID",
  2944. "name": "sellUserID",
  2945. "in": "query"
  2946. }
  2947. ],
  2948. "responses": {
  2949. "200": {
  2950. "description": "OK",
  2951. "schema": {
  2952. "$ref": "#/definitions/models.MyCoupon"
  2953. }
  2954. },
  2955. "500": {
  2956. "description": "Internal Server Error",
  2957. "schema": {
  2958. "$ref": "#/definitions/app.Response"
  2959. }
  2960. }
  2961. }
  2962. }
  2963. },
  2964. "/HSBY/QueryMyPayOrders": {
  2965. "get": {
  2966. "security": [
  2967. {
  2968. "ApiKeyAuth": []
  2969. }
  2970. ],
  2971. "produces": [
  2972. "application/json"
  2973. ],
  2974. "tags": [
  2975. "定制【海商报业】"
  2976. ],
  2977. "summary": "获取我的订单中待付款信息",
  2978. "parameters": [
  2979. {
  2980. "type": "integer",
  2981. "description": "页码",
  2982. "name": "page",
  2983. "in": "query"
  2984. },
  2985. {
  2986. "type": "integer",
  2987. "description": "每页条数",
  2988. "name": "pagesize",
  2989. "in": "query"
  2990. },
  2991. {
  2992. "type": "string",
  2993. "description": "资金账户列表,格式:1,2,3",
  2994. "name": "accountIDs",
  2995. "in": "query",
  2996. "required": true
  2997. },
  2998. {
  2999. "type": "integer",
  3000. "description": "买方委托单号",
  3001. "name": "buyOrderID",
  3002. "in": "query"
  3003. },
  3004. {
  3005. "type": "integer",
  3006. "description": "卖方委托单号",
  3007. "name": "sellOrderID",
  3008. "in": "query"
  3009. }
  3010. ],
  3011. "responses": {
  3012. "200": {
  3013. "description": "OK",
  3014. "schema": {
  3015. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/HSBY/QueryMyUsedCoupon": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "定制【海商报业】"
  3039. ],
  3040. "summary": "已使用优惠卷查询",
  3041. "parameters": [
  3042. {
  3043. "type": "string",
  3044. "description": "资金账户列表,格式:1,2,3",
  3045. "name": "accountIDs",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "$ref": "#/definitions/models.MyUsedCoupon"
  3055. }
  3056. },
  3057. "500": {
  3058. "description": "Internal Server Error",
  3059. "schema": {
  3060. "$ref": "#/definitions/app.Response"
  3061. }
  3062. }
  3063. }
  3064. }
  3065. },
  3066. "/HSBY/QueryProvincesAndCities": {
  3067. "get": {
  3068. "security": [
  3069. {
  3070. "ApiKeyAuth": []
  3071. }
  3072. ],
  3073. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3074. "produces": [
  3075. "application/json"
  3076. ],
  3077. "tags": [
  3078. "定制【海商报业】"
  3079. ],
  3080. "summary": "查询省市信息(不包括区)",
  3081. "parameters": [
  3082. {
  3083. "type": "integer",
  3084. "description": "省ID",
  3085. "name": "provinceID",
  3086. "in": "query"
  3087. }
  3088. ],
  3089. "responses": {
  3090. "200": {
  3091. "description": "OK",
  3092. "schema": {
  3093. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3094. }
  3095. },
  3096. "500": {
  3097. "description": "Internal Server Error",
  3098. "schema": {
  3099. "$ref": "#/definitions/app.Response"
  3100. }
  3101. }
  3102. }
  3103. }
  3104. },
  3105. "/HSBY/SetHsbyMyPackagesStatus": {
  3106. "post": {
  3107. "security": [
  3108. {
  3109. "ApiKeyAuth": []
  3110. }
  3111. ],
  3112. "produces": [
  3113. "application/json"
  3114. ],
  3115. "tags": [
  3116. "定制【海商报业】"
  3117. ],
  3118. "summary": "设置我的包裹已收货状态",
  3119. "parameters": [
  3120. {
  3121. "type": "string",
  3122. "description": "提货单号",
  3123. "name": "takeOrderID",
  3124. "in": "query",
  3125. "required": true
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "资金账号",
  3130. "name": "accountID",
  3131. "in": "query",
  3132. "required": true
  3133. }
  3134. ],
  3135. "responses": {
  3136. "200": {
  3137. "description": "OK",
  3138. "schema": {
  3139. "$ref": "#/definitions/app.Response"
  3140. }
  3141. },
  3142. "500": {
  3143. "description": "Internal Server Error",
  3144. "schema": {
  3145. "$ref": "#/definitions/app.Response"
  3146. }
  3147. }
  3148. }
  3149. }
  3150. },
  3151. "/Market/QueryMarketRun": {
  3152. "get": {
  3153. "security": [
  3154. {
  3155. "ApiKeyAuth": []
  3156. }
  3157. ],
  3158. "produces": [
  3159. "application/json"
  3160. ],
  3161. "tags": [
  3162. "通用市场"
  3163. ],
  3164. "summary": "查询市场运行信息",
  3165. "parameters": [
  3166. {
  3167. "type": "integer",
  3168. "description": "市场ID,不传返回所有",
  3169. "name": "marketID",
  3170. "in": "query"
  3171. }
  3172. ],
  3173. "responses": {
  3174. "200": {
  3175. "description": "OK",
  3176. "schema": {
  3177. "$ref": "#/definitions/models.Marketrun"
  3178. }
  3179. },
  3180. "500": {
  3181. "description": "Internal Server Error",
  3182. "schema": {
  3183. "$ref": "#/definitions/app.Response"
  3184. }
  3185. }
  3186. }
  3187. }
  3188. },
  3189. "/Order/QueryHisTradeDetail": {
  3190. "get": {
  3191. "security": [
  3192. {
  3193. "ApiKeyAuth": []
  3194. }
  3195. ],
  3196. "produces": [
  3197. "application/json"
  3198. ],
  3199. "tags": [
  3200. "通用单据"
  3201. ],
  3202. "summary": "历史成交单查询(合约市场)",
  3203. "parameters": [
  3204. {
  3205. "type": "string",
  3206. "description": "资金账户 - 格式:1,2,3",
  3207. "name": "accountID",
  3208. "in": "query",
  3209. "required": true
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "成交单号",
  3214. "name": "tradeID",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "委托单号",
  3220. "name": "orderID",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "string",
  3225. "description": "交易模式 - 格式:1,2,3",
  3226. "name": "tradeMode",
  3227. "in": "query"
  3228. },
  3229. {
  3230. "type": "integer",
  3231. "description": "委托单据类型",
  3232. "name": "buildType",
  3233. "in": "query"
  3234. },
  3235. {
  3236. "type": "string",
  3237. "description": "成交类别 - 格式:1,2,3",
  3238. "name": "tradeType",
  3239. "in": "query"
  3240. },
  3241. {
  3242. "type": "string",
  3243. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3244. "name": "startDate",
  3245. "in": "query"
  3246. },
  3247. {
  3248. "type": "string",
  3249. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3250. "name": "endDate",
  3251. "in": "query"
  3252. }
  3253. ],
  3254. "responses": {
  3255. "200": {
  3256. "description": "OK",
  3257. "schema": {
  3258. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3259. }
  3260. },
  3261. "500": {
  3262. "description": "Internal Server Error",
  3263. "schema": {
  3264. "$ref": "#/definitions/app.Response"
  3265. }
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "/Order/QueryHisTradeOrderDetail": {
  3271. "get": {
  3272. "security": [
  3273. {
  3274. "ApiKeyAuth": []
  3275. }
  3276. ],
  3277. "produces": [
  3278. "application/json"
  3279. ],
  3280. "tags": [
  3281. "通用单据"
  3282. ],
  3283. "summary": "历史委托单查询请求(合约市场)",
  3284. "parameters": [
  3285. {
  3286. "type": "string",
  3287. "description": "资金账户 - 格式:1,2,3",
  3288. "name": "accountID",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "string",
  3294. "description": "交易模式 - 格式:1,2,3",
  3295. "name": "tradeMode",
  3296. "in": "query"
  3297. },
  3298. {
  3299. "type": "string",
  3300. "description": "委托状态 - 格式:1,2,3",
  3301. "name": "orderStatus",
  3302. "in": "query"
  3303. },
  3304. {
  3305. "type": "integer",
  3306. "description": "委托单号",
  3307. "name": "orderID",
  3308. "in": "query"
  3309. },
  3310. {
  3311. "type": "string",
  3312. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3313. "name": "startDate",
  3314. "in": "query"
  3315. },
  3316. {
  3317. "type": "string",
  3318. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3319. "name": "endDate",
  3320. "in": "query"
  3321. }
  3322. ],
  3323. "responses": {
  3324. "200": {
  3325. "description": "OK",
  3326. "schema": {
  3327. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3328. }
  3329. },
  3330. "500": {
  3331. "description": "Internal Server Error",
  3332. "schema": {
  3333. "$ref": "#/definitions/app.Response"
  3334. }
  3335. }
  3336. }
  3337. }
  3338. },
  3339. "/Order/QueryTradeDetail": {
  3340. "get": {
  3341. "security": [
  3342. {
  3343. "ApiKeyAuth": []
  3344. }
  3345. ],
  3346. "produces": [
  3347. "application/json"
  3348. ],
  3349. "tags": [
  3350. "通用单据"
  3351. ],
  3352. "summary": "成交单查询(合约市场)",
  3353. "parameters": [
  3354. {
  3355. "type": "string",
  3356. "description": "资金账户 - 格式:1,2,3",
  3357. "name": "accountID",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "成交单号",
  3364. "name": "tradeID",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "委托单号",
  3370. "name": "orderID",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "string",
  3375. "description": "交易模式 - 格式:1,2,3",
  3376. "name": "tradeMode",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "委托单据类型",
  3382. "name": "buildType",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "string",
  3387. "description": "成交类别 - 格式:1,2,3",
  3388. "name": "tradeType",
  3389. "in": "query"
  3390. }
  3391. ],
  3392. "responses": {
  3393. "200": {
  3394. "description": "OK",
  3395. "schema": {
  3396. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3397. }
  3398. },
  3399. "500": {
  3400. "description": "Internal Server Error",
  3401. "schema": {
  3402. "$ref": "#/definitions/app.Response"
  3403. }
  3404. }
  3405. }
  3406. }
  3407. },
  3408. "/Order/QueryTradeOrderDetail": {
  3409. "get": {
  3410. "security": [
  3411. {
  3412. "ApiKeyAuth": []
  3413. }
  3414. ],
  3415. "produces": [
  3416. "application/json"
  3417. ],
  3418. "tags": [
  3419. "通用单据"
  3420. ],
  3421. "summary": "委托单查询请求(合约市场)",
  3422. "parameters": [
  3423. {
  3424. "type": "string",
  3425. "description": "资金账户 - 格式:1,2,3",
  3426. "name": "accountID",
  3427. "in": "query",
  3428. "required": true
  3429. },
  3430. {
  3431. "type": "string",
  3432. "description": "交易模式 - 格式:1,2,3",
  3433. "name": "tradeMode",
  3434. "in": "query"
  3435. },
  3436. {
  3437. "type": "string",
  3438. "description": "委托状态 - 格式:1,2,3",
  3439. "name": "orderStatus",
  3440. "in": "query"
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "委托单号",
  3445. "name": "orderID",
  3446. "in": "query"
  3447. }
  3448. ],
  3449. "responses": {
  3450. "200": {
  3451. "description": "OK",
  3452. "schema": {
  3453. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3454. }
  3455. },
  3456. "500": {
  3457. "description": "Internal Server Error",
  3458. "schema": {
  3459. "$ref": "#/definitions/app.Response"
  3460. }
  3461. }
  3462. }
  3463. }
  3464. },
  3465. "/Order/QueryTradePosition": {
  3466. "get": {
  3467. "security": [
  3468. {
  3469. "ApiKeyAuth": []
  3470. }
  3471. ],
  3472. "produces": [
  3473. "application/json"
  3474. ],
  3475. "tags": [
  3476. "通用单据"
  3477. ],
  3478. "summary": "持仓汇总查询(合约市场)",
  3479. "parameters": [
  3480. {
  3481. "type": "string",
  3482. "description": "资金账户 - 格式:1,2,3",
  3483. "name": "accountID",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "交易模式 - 格式:1,2,3",
  3490. "name": "tradeMode",
  3491. "in": "query"
  3492. }
  3493. ],
  3494. "responses": {
  3495. "200": {
  3496. "description": "OK",
  3497. "schema": {
  3498. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3499. }
  3500. },
  3501. "500": {
  3502. "description": "Internal Server Error",
  3503. "schema": {
  3504. "$ref": "#/definitions/app.Response"
  3505. }
  3506. }
  3507. }
  3508. }
  3509. },
  3510. "/Quote/QueryHistoryDatas": {
  3511. "get": {
  3512. "security": [
  3513. {
  3514. "ApiKeyAuth": []
  3515. }
  3516. ],
  3517. "produces": [
  3518. "application/json"
  3519. ],
  3520. "tags": [
  3521. "行情服务"
  3522. ],
  3523. "summary": "查询行情历史数据",
  3524. "parameters": [
  3525. {
  3526. "type": "integer",
  3527. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3528. "name": "cycleType",
  3529. "in": "query",
  3530. "required": true
  3531. },
  3532. {
  3533. "type": "string",
  3534. "description": "商品代码",
  3535. "name": "goodsCode",
  3536. "in": "query",
  3537. "required": true
  3538. },
  3539. {
  3540. "type": "string",
  3541. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3542. "name": "startTime",
  3543. "in": "query"
  3544. },
  3545. {
  3546. "type": "string",
  3547. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3548. "name": "endTime",
  3549. "in": "query"
  3550. },
  3551. {
  3552. "type": "integer",
  3553. "description": "条数",
  3554. "name": "count",
  3555. "in": "query"
  3556. },
  3557. {
  3558. "type": "boolean",
  3559. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3560. "name": "isAsc",
  3561. "in": "query"
  3562. }
  3563. ],
  3564. "responses": {
  3565. "200": {
  3566. "description": "OK",
  3567. "schema": {
  3568. "$ref": "#/definitions/quote.HistoryData"
  3569. }
  3570. },
  3571. "500": {
  3572. "description": "Internal Server Error",
  3573. "schema": {
  3574. "$ref": "#/definitions/app.Response"
  3575. }
  3576. }
  3577. }
  3578. }
  3579. },
  3580. "/Quote/QueryTSData": {
  3581. "get": {
  3582. "produces": [
  3583. "application/json"
  3584. ],
  3585. "tags": [
  3586. "行情服务"
  3587. ],
  3588. "summary": "分时图数据查询",
  3589. "parameters": [
  3590. {
  3591. "type": "string",
  3592. "description": "商品代码",
  3593. "name": "GoodsCode",
  3594. "in": "query",
  3595. "required": true
  3596. }
  3597. ],
  3598. "responses": {
  3599. "200": {
  3600. "description": "OK",
  3601. "schema": {
  3602. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3603. }
  3604. },
  3605. "500": {
  3606. "description": "Internal Server Error",
  3607. "schema": {
  3608. "$ref": "#/definitions/app.Response"
  3609. }
  3610. }
  3611. }
  3612. }
  3613. },
  3614. "/SZDZ/QueryConvertConfig": {
  3615. "get": {
  3616. "security": [
  3617. {
  3618. "ApiKeyAuth": []
  3619. }
  3620. ],
  3621. "produces": [
  3622. "application/json"
  3623. ],
  3624. "tags": [
  3625. "定制【尚志大宗】"
  3626. ],
  3627. "summary": "查询交易系统转换设置",
  3628. "parameters": [
  3629. {
  3630. "type": "integer",
  3631. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3632. "name": "convertType",
  3633. "in": "query"
  3634. },
  3635. {
  3636. "type": "string",
  3637. "description": "外部商品代码[JD\\PD]",
  3638. "name": "outerGoodsCode",
  3639. "in": "query"
  3640. },
  3641. {
  3642. "type": "string",
  3643. "description": "内部商品ID列表[交易],格式:1,2,3",
  3644. "name": "innerGoodsIDs",
  3645. "in": "query"
  3646. }
  3647. ],
  3648. "responses": {
  3649. "200": {
  3650. "description": "OK",
  3651. "schema": {
  3652. "$ref": "#/definitions/models.Szdz3convertconfig"
  3653. }
  3654. },
  3655. "500": {
  3656. "description": "Internal Server Error",
  3657. "schema": {
  3658. "$ref": "#/definitions/app.Response"
  3659. }
  3660. }
  3661. }
  3662. }
  3663. },
  3664. "/SZDZ/QueryConvertLog": {
  3665. "get": {
  3666. "security": [
  3667. {
  3668. "ApiKeyAuth": []
  3669. }
  3670. ],
  3671. "produces": [
  3672. "application/json"
  3673. ],
  3674. "tags": [
  3675. "定制【尚志大宗】"
  3676. ],
  3677. "summary": "交易系统转换流水查询",
  3678. "parameters": [
  3679. {
  3680. "type": "string",
  3681. "description": "资金账户 - 格式:1,2,3",
  3682. "name": "accountID",
  3683. "in": "query",
  3684. "required": true
  3685. },
  3686. {
  3687. "type": "string",
  3688. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3689. "name": "startDate",
  3690. "in": "query"
  3691. },
  3692. {
  3693. "type": "string",
  3694. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3695. "name": "endDate",
  3696. "in": "query"
  3697. }
  3698. ],
  3699. "responses": {
  3700. "200": {
  3701. "description": "OK",
  3702. "schema": {
  3703. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3704. }
  3705. },
  3706. "500": {
  3707. "description": "Internal Server Error",
  3708. "schema": {
  3709. "$ref": "#/definitions/app.Response"
  3710. }
  3711. }
  3712. }
  3713. }
  3714. },
  3715. "/SZDZ/QueryGoodsPickup": {
  3716. "get": {
  3717. "security": [
  3718. {
  3719. "ApiKeyAuth": []
  3720. }
  3721. ],
  3722. "produces": [
  3723. "application/json"
  3724. ],
  3725. "tags": [
  3726. "定制【尚志大宗】"
  3727. ],
  3728. "summary": "商品提货单查询",
  3729. "parameters": [
  3730. {
  3731. "type": "string",
  3732. "description": "资金账户 - 格式:1,2,3",
  3733. "name": "accountID",
  3734. "in": "query",
  3735. "required": true
  3736. },
  3737. {
  3738. "type": "integer",
  3739. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3740. "name": "takeOrderStatus",
  3741. "in": "query"
  3742. }
  3743. ],
  3744. "responses": {
  3745. "200": {
  3746. "description": "OK",
  3747. "schema": {
  3748. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3749. }
  3750. },
  3751. "500": {
  3752. "description": "Internal Server Error",
  3753. "schema": {
  3754. "$ref": "#/definitions/app.Response"
  3755. }
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/SZDZ/QueryRecieptOrder": {
  3761. "get": {
  3762. "security": [
  3763. {
  3764. "ApiKeyAuth": []
  3765. }
  3766. ],
  3767. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3768. "produces": [
  3769. "application/json"
  3770. ],
  3771. "tags": [
  3772. "定制【尚志大宗】"
  3773. ],
  3774. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3775. "parameters": [
  3776. {
  3777. "type": "integer",
  3778. "description": "页码",
  3779. "name": "page",
  3780. "in": "query"
  3781. },
  3782. {
  3783. "type": "integer",
  3784. "description": "每页条数",
  3785. "name": "pagesize",
  3786. "in": "query"
  3787. },
  3788. {
  3789. "type": "integer",
  3790. "description": "商品ID",
  3791. "name": "goodsID",
  3792. "in": "query",
  3793. "required": true
  3794. },
  3795. {
  3796. "type": "string",
  3797. "description": "所属账户名称",
  3798. "name": "accountName",
  3799. "in": "query"
  3800. },
  3801. {
  3802. "type": "integer",
  3803. "description": "市场ID",
  3804. "name": "marketID",
  3805. "in": "query"
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "方向 - 0:买 1:卖",
  3810. "name": "buyorsell",
  3811. "in": "query",
  3812. "required": true
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3820. }
  3821. },
  3822. "500": {
  3823. "description": "Internal Server Error",
  3824. "schema": {
  3825. "$ref": "#/definitions/app.Response"
  3826. }
  3827. }
  3828. }
  3829. }
  3830. },
  3831. "/SZDZ/QuerySZDZTradePosition": {
  3832. "get": {
  3833. "security": [
  3834. {
  3835. "ApiKeyAuth": []
  3836. }
  3837. ],
  3838. "produces": [
  3839. "application/json"
  3840. ],
  3841. "tags": [
  3842. "定制【尚志大宗】"
  3843. ],
  3844. "summary": "持仓汇总查询(尚志大宗)",
  3845. "parameters": [
  3846. {
  3847. "type": "integer",
  3848. "description": "资金账户",
  3849. "name": "accountID",
  3850. "in": "query",
  3851. "required": true
  3852. }
  3853. ],
  3854. "responses": {
  3855. "200": {
  3856. "description": "OK",
  3857. "schema": {
  3858. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/SZDZ/SearchWhite": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "produces": [
  3878. "application/json"
  3879. ],
  3880. "tags": [
  3881. "定制【尚志大宗】"
  3882. ],
  3883. "summary": "搜索白名单",
  3884. "parameters": [
  3885. {
  3886. "type": "integer",
  3887. "description": "用户ID",
  3888. "name": "userID",
  3889. "in": "query",
  3890. "required": true
  3891. }
  3892. ],
  3893. "responses": {
  3894. "200": {
  3895. "description": "OK",
  3896. "schema": {
  3897. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/Search/SearchGoodses": {
  3910. "get": {
  3911. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3912. "produces": [
  3913. "application/json"
  3914. ],
  3915. "tags": [
  3916. "检索服务"
  3917. ],
  3918. "summary": "检索商品信息",
  3919. "parameters": [
  3920. {
  3921. "type": "string",
  3922. "description": "检索内容",
  3923. "name": "content",
  3924. "in": "query",
  3925. "required": true
  3926. },
  3927. {
  3928. "type": "string",
  3929. "description": "交易模式,格式:1,2,3",
  3930. "name": "tradeModes",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "$ref": "#/definitions/models.SearchGoods"
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/TaAccount/QueryAmountLog": {
  3951. "get": {
  3952. "security": [
  3953. {
  3954. "ApiKeyAuth": []
  3955. }
  3956. ],
  3957. "produces": [
  3958. "application/json"
  3959. ],
  3960. "tags": [
  3961. "资金账户"
  3962. ],
  3963. "summary": "资金流水查询(当前)",
  3964. "parameters": [
  3965. {
  3966. "type": "integer",
  3967. "description": "页码",
  3968. "name": "page",
  3969. "in": "query"
  3970. },
  3971. {
  3972. "type": "integer",
  3973. "description": "每页条数",
  3974. "name": "pagesize",
  3975. "in": "query"
  3976. },
  3977. {
  3978. "type": "string",
  3979. "description": "资金账户 - 格式:1,2,3",
  3980. "name": "accountID",
  3981. "in": "query",
  3982. "required": true
  3983. },
  3984. {
  3985. "type": "string",
  3986. "description": "资金操作类型 - 格式:1,2,3",
  3987. "name": "OperateType",
  3988. "in": "query"
  3989. }
  3990. ],
  3991. "responses": {
  3992. "200": {
  3993. "description": "OK",
  3994. "schema": {
  3995. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/TaAccount/QueryHisAmountLog": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "资金账户"
  4019. ],
  4020. "summary": "资金流水查询(历史)",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "页码",
  4025. "name": "page",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "每页条数",
  4031. "name": "pagesize",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "string",
  4036. "description": "资金账户 - 格式:1,2,3",
  4037. "name": "accountID",
  4038. "in": "query",
  4039. "required": true
  4040. },
  4041. {
  4042. "type": "string",
  4043. "description": "资金操作类型 - 格式:1,2,3",
  4044. "name": "OperateType",
  4045. "in": "query"
  4046. },
  4047. {
  4048. "type": "string",
  4049. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4050. "name": "startDate",
  4051. "in": "query"
  4052. },
  4053. {
  4054. "type": "string",
  4055. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4056. "name": "endDate",
  4057. "in": "query"
  4058. }
  4059. ],
  4060. "responses": {
  4061. "200": {
  4062. "description": "OK",
  4063. "schema": {
  4064. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4065. }
  4066. },
  4067. "500": {
  4068. "description": "Internal Server Error",
  4069. "schema": {
  4070. "$ref": "#/definitions/app.Response"
  4071. }
  4072. }
  4073. }
  4074. }
  4075. },
  4076. "/Trade/QueryRecieptOrder": {
  4077. "get": {
  4078. "security": [
  4079. {
  4080. "ApiKeyAuth": []
  4081. }
  4082. ],
  4083. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4084. "produces": [
  4085. "application/json"
  4086. ],
  4087. "tags": [
  4088. "通用交易"
  4089. ],
  4090. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4091. "parameters": [
  4092. {
  4093. "type": "integer",
  4094. "description": "页码",
  4095. "name": "page",
  4096. "in": "query"
  4097. },
  4098. {
  4099. "type": "integer",
  4100. "description": "每页条数",
  4101. "name": "pagesize",
  4102. "in": "query"
  4103. },
  4104. {
  4105. "type": "integer",
  4106. "description": "商品ID",
  4107. "name": "goodsID",
  4108. "in": "query",
  4109. "required": true
  4110. },
  4111. {
  4112. "type": "string",
  4113. "description": "所属账户名称",
  4114. "name": "accountName",
  4115. "in": "query"
  4116. },
  4117. {
  4118. "type": "integer",
  4119. "description": "市场ID",
  4120. "name": "marketID",
  4121. "in": "query"
  4122. },
  4123. {
  4124. "type": "integer",
  4125. "description": "方向 - 0:买 1:卖",
  4126. "name": "buyorsell",
  4127. "in": "query",
  4128. "required": true
  4129. }
  4130. ],
  4131. "responses": {
  4132. "200": {
  4133. "description": "OK",
  4134. "schema": {
  4135. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4136. }
  4137. },
  4138. "500": {
  4139. "description": "Internal Server Error",
  4140. "schema": {
  4141. "$ref": "#/definitions/app.Response"
  4142. }
  4143. }
  4144. }
  4145. }
  4146. },
  4147. "/User/AddMessageBoard": {
  4148. "post": {
  4149. "security": [
  4150. {
  4151. "ApiKeyAuth": []
  4152. }
  4153. ],
  4154. "produces": [
  4155. "application/json"
  4156. ],
  4157. "tags": [
  4158. "用户信息"
  4159. ],
  4160. "summary": "添加用户留言板信息",
  4161. "parameters": [
  4162. {
  4163. "type": "integer",
  4164. "description": "用户ID",
  4165. "name": "userID",
  4166. "in": "query",
  4167. "required": true
  4168. },
  4169. {
  4170. "type": "string",
  4171. "description": "留言信息",
  4172. "name": "message",
  4173. "in": "query",
  4174. "required": true
  4175. }
  4176. ],
  4177. "responses": {
  4178. "200": {
  4179. "description": "OK",
  4180. "schema": {
  4181. "$ref": "#/definitions/app.Response"
  4182. }
  4183. },
  4184. "500": {
  4185. "description": "Internal Server Error",
  4186. "schema": {
  4187. "$ref": "#/definitions/app.Response"
  4188. }
  4189. }
  4190. }
  4191. }
  4192. },
  4193. "/User/AddUserFavoriteGoods": {
  4194. "post": {
  4195. "security": [
  4196. {
  4197. "ApiKeyAuth": []
  4198. }
  4199. ],
  4200. "produces": [
  4201. "application/json"
  4202. ],
  4203. "tags": [
  4204. "用户信息"
  4205. ],
  4206. "summary": "添加用户商品收藏信息",
  4207. "parameters": [
  4208. {
  4209. "type": "integer",
  4210. "description": "用户ID",
  4211. "name": "userID",
  4212. "in": "query",
  4213. "required": true
  4214. },
  4215. {
  4216. "type": "integer",
  4217. "description": "商品ID",
  4218. "name": "goodsID",
  4219. "in": "query",
  4220. "required": true
  4221. }
  4222. ],
  4223. "responses": {
  4224. "200": {
  4225. "description": "OK",
  4226. "schema": {
  4227. "$ref": "#/definitions/app.Response"
  4228. }
  4229. },
  4230. "500": {
  4231. "description": "Internal Server Error",
  4232. "schema": {
  4233. "$ref": "#/definitions/app.Response"
  4234. }
  4235. }
  4236. }
  4237. }
  4238. },
  4239. "/User/GetLoginID": {
  4240. "get": {
  4241. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4242. "produces": [
  4243. "application/json"
  4244. ],
  4245. "tags": [
  4246. "用户信息"
  4247. ],
  4248. "summary": "获取登录ID",
  4249. "parameters": [
  4250. {
  4251. "type": "string",
  4252. "description": "登录代码",
  4253. "name": "username",
  4254. "in": "query",
  4255. "required": true
  4256. }
  4257. ],
  4258. "responses": {
  4259. "200": {
  4260. "description": "OK",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. },
  4265. "500": {
  4266. "description": "Internal Server Error",
  4267. "schema": {
  4268. "$ref": "#/definitions/app.Response"
  4269. }
  4270. }
  4271. }
  4272. }
  4273. },
  4274. "/User/GetUserAccount": {
  4275. "get": {
  4276. "security": [
  4277. {
  4278. "ApiKeyAuth": []
  4279. }
  4280. ],
  4281. "produces": [
  4282. "application/json"
  4283. ],
  4284. "tags": [
  4285. "用户信息"
  4286. ],
  4287. "summary": "获取用户账号信息",
  4288. "parameters": [
  4289. {
  4290. "type": "integer",
  4291. "description": "用户ID",
  4292. "name": "userID",
  4293. "in": "query",
  4294. "required": true
  4295. }
  4296. ],
  4297. "responses": {
  4298. "200": {
  4299. "description": "OK",
  4300. "schema": {
  4301. "$ref": "#/definitions/models.Useraccount"
  4302. }
  4303. },
  4304. "500": {
  4305. "description": "Internal Server Error",
  4306. "schema": {
  4307. "$ref": "#/definitions/app.Response"
  4308. }
  4309. }
  4310. }
  4311. }
  4312. },
  4313. "/User/GetUserAuthStatus": {
  4314. "get": {
  4315. "security": [
  4316. {
  4317. "ApiKeyAuth": []
  4318. }
  4319. ],
  4320. "produces": [
  4321. "application/json"
  4322. ],
  4323. "tags": [
  4324. "用户信息"
  4325. ],
  4326. "summary": "获取用户实名认证状态",
  4327. "parameters": [
  4328. {
  4329. "type": "integer",
  4330. "description": "用户ID",
  4331. "name": "userID",
  4332. "in": "query",
  4333. "required": true
  4334. }
  4335. ],
  4336. "responses": {
  4337. "200": {
  4338. "description": "OK",
  4339. "schema": {
  4340. "$ref": "#/definitions/app.Response"
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/User/QueryMessageBoard": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "用户信息"
  4364. ],
  4365. "summary": "获取用户留言板信息",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户ID",
  4370. "name": "userID",
  4371. "in": "query",
  4372. "required": true
  4373. }
  4374. ],
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "$ref": "#/definitions/models.Messageboard"
  4380. }
  4381. },
  4382. "500": {
  4383. "description": "Internal Server Error",
  4384. "schema": {
  4385. "$ref": "#/definitions/app.Response"
  4386. }
  4387. }
  4388. }
  4389. }
  4390. },
  4391. "/User/QueryUserFavoriteGoodses": {
  4392. "get": {
  4393. "security": [
  4394. {
  4395. "ApiKeyAuth": []
  4396. }
  4397. ],
  4398. "produces": [
  4399. "application/json"
  4400. ],
  4401. "tags": [
  4402. "用户信息"
  4403. ],
  4404. "summary": "获取用户商品收藏信息",
  4405. "parameters": [
  4406. {
  4407. "type": "integer",
  4408. "description": "用户ID",
  4409. "name": "userID",
  4410. "in": "query",
  4411. "required": true
  4412. }
  4413. ],
  4414. "responses": {
  4415. "200": {
  4416. "description": "OK",
  4417. "schema": {
  4418. "$ref": "#/definitions/models.Userfavoritegoods"
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/User/QueryUserInfo": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "用户信息"
  4442. ],
  4443. "summary": "获取用户信息",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户ID",
  4448. "name": "userID",
  4449. "in": "query",
  4450. "required": true
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "$ref": "#/definitions/models.Userinfo"
  4458. }
  4459. },
  4460. "500": {
  4461. "description": "Internal Server Error",
  4462. "schema": {
  4463. "$ref": "#/definitions/app.Response"
  4464. }
  4465. }
  4466. }
  4467. }
  4468. },
  4469. "/User/QueryUserReferNum": {
  4470. "get": {
  4471. "produces": [
  4472. "application/json"
  4473. ],
  4474. "tags": [
  4475. "用户信息"
  4476. ],
  4477. "summary": "获取用户邀请码",
  4478. "parameters": [
  4479. {
  4480. "type": "integer",
  4481. "description": "用户ID",
  4482. "name": "userID",
  4483. "in": "query",
  4484. "required": true
  4485. }
  4486. ],
  4487. "responses": {
  4488. "200": {
  4489. "description": "OK",
  4490. "schema": {
  4491. "$ref": "#/definitions/app.Response"
  4492. }
  4493. },
  4494. "500": {
  4495. "description": "Internal Server Error",
  4496. "schema": {
  4497. "$ref": "#/definitions/app.Response"
  4498. }
  4499. }
  4500. }
  4501. }
  4502. },
  4503. "/User/RemoveUserFavoriteGoods": {
  4504. "post": {
  4505. "security": [
  4506. {
  4507. "ApiKeyAuth": []
  4508. }
  4509. ],
  4510. "produces": [
  4511. "application/json"
  4512. ],
  4513. "tags": [
  4514. "用户信息"
  4515. ],
  4516. "summary": "移除用户商品收藏信息",
  4517. "parameters": [
  4518. {
  4519. "type": "integer",
  4520. "description": "用户ID",
  4521. "name": "userID",
  4522. "in": "query",
  4523. "required": true
  4524. },
  4525. {
  4526. "type": "integer",
  4527. "description": "商品ID",
  4528. "name": "goodsID",
  4529. "in": "query",
  4530. "required": true
  4531. }
  4532. ],
  4533. "responses": {
  4534. "200": {
  4535. "description": "OK",
  4536. "schema": {
  4537. "$ref": "#/definitions/app.Response"
  4538. }
  4539. },
  4540. "500": {
  4541. "description": "Internal Server Error",
  4542. "schema": {
  4543. "$ref": "#/definitions/app.Response"
  4544. }
  4545. }
  4546. }
  4547. }
  4548. },
  4549. "/WR/GetWRCategoryInfo": {
  4550. "get": {
  4551. "produces": [
  4552. "application/json"
  4553. ],
  4554. "tags": [
  4555. "仓单服务"
  4556. ],
  4557. "summary": "获取现货分类信息",
  4558. "responses": {
  4559. "200": {
  4560. "description": "OK",
  4561. "schema": {
  4562. "$ref": "#/definitions/models.WRCategoryTree"
  4563. }
  4564. },
  4565. "500": {
  4566. "description": "Internal Server Error",
  4567. "schema": {
  4568. "$ref": "#/definitions/app.Response"
  4569. }
  4570. }
  4571. }
  4572. }
  4573. },
  4574. "/WRTrade/GetAllDeliveryGoods": {
  4575. "get": {
  4576. "security": [
  4577. {
  4578. "ApiKeyAuth": []
  4579. },
  4580. {
  4581. "ApiKeyAuth": []
  4582. }
  4583. ],
  4584. "produces": [
  4585. "application/json",
  4586. "application/json"
  4587. ],
  4588. "tags": [
  4589. "仓单贸易",
  4590. "仓单贸易"
  4591. ],
  4592. "summary": "获取带仓单分类的种类信息",
  4593. "responses": {
  4594. "200": {
  4595. "description": "OK",
  4596. "schema": {
  4597. "$ref": "#/definitions/app.Response"
  4598. }
  4599. },
  4600. "500": {
  4601. "description": "Internal Server Error",
  4602. "schema": {
  4603. "$ref": "#/definitions/app.Response"
  4604. }
  4605. }
  4606. }
  4607. }
  4608. }
  4609. },
  4610. "definitions": {
  4611. "app.Response": {
  4612. "type": "object",
  4613. "properties": {
  4614. "code": {
  4615. "type": "integer"
  4616. },
  4617. "data": {
  4618. "type": "object"
  4619. },
  4620. "msg": {
  4621. "type": "string"
  4622. },
  4623. "page": {
  4624. "description": "页码",
  4625. "type": "integer"
  4626. },
  4627. "pagesize": {
  4628. "description": "每页条数",
  4629. "type": "integer"
  4630. },
  4631. "total": {
  4632. "description": "总条数",
  4633. "type": "integer"
  4634. }
  4635. }
  4636. },
  4637. "common.QueryNoticeRsp": {
  4638. "type": "object",
  4639. "required": [
  4640. "autoid"
  4641. ],
  4642. "properties": {
  4643. "auditoruserid": {
  4644. "description": "审核人",
  4645. "type": "integer"
  4646. },
  4647. "auditremark": {
  4648. "description": "审核备注",
  4649. "type": "string"
  4650. },
  4651. "audittime": {
  4652. "description": "审核日期",
  4653. "type": "string"
  4654. },
  4655. "autoid": {
  4656. "description": "自增ID",
  4657. "type": "integer"
  4658. },
  4659. "content": {
  4660. "description": "内容",
  4661. "type": "string"
  4662. },
  4663. "createtime": {
  4664. "description": "创建时间",
  4665. "type": "string"
  4666. },
  4667. "creatorid": {
  4668. "description": "建仓人",
  4669. "type": "integer"
  4670. },
  4671. "endtime": {
  4672. "description": "结束时间",
  4673. "type": "string"
  4674. },
  4675. "istop": {
  4676. "description": "是否置顶 - 0:不置顶 1:置顶",
  4677. "type": "integer"
  4678. },
  4679. "msgiconurl": {
  4680. "description": "消息图标Url",
  4681. "type": "string"
  4682. },
  4683. "msgtype": {
  4684. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4685. "type": "integer"
  4686. },
  4687. "publisher": {
  4688. "description": "消息发布者",
  4689. "type": "string"
  4690. },
  4691. "readed": {
  4692. "description": "是否已读",
  4693. "type": "boolean"
  4694. },
  4695. "scheduletime": {
  4696. "description": "计划发送时间",
  4697. "type": "string"
  4698. },
  4699. "sendtype": {
  4700. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4701. "type": "integer"
  4702. },
  4703. "sentstatus": {
  4704. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4705. "type": "integer"
  4706. },
  4707. "title": {
  4708. "description": "标题",
  4709. "type": "string"
  4710. },
  4711. "userid": {
  4712. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4713. "type": "integer"
  4714. }
  4715. }
  4716. },
  4717. "common.QueryProvincesAndCitiesRsp": {
  4718. "type": "object",
  4719. "properties": {
  4720. "cities": {
  4721. "description": "市",
  4722. "type": "array",
  4723. "items": {
  4724. "$ref": "#/definitions/models.Division"
  4725. }
  4726. },
  4727. "province": {
  4728. "description": "省",
  4729. "$ref": "#/definitions/models.Division"
  4730. }
  4731. }
  4732. },
  4733. "common.QueryTableDefineRsp": {
  4734. "type": "object",
  4735. "required": [
  4736. "tablekey"
  4737. ],
  4738. "properties": {
  4739. "columns": {
  4740. "description": "列头信息数组",
  4741. "type": "array",
  4742. "items": {
  4743. "$ref": "#/definitions/models.Tablecolumnconfig"
  4744. }
  4745. },
  4746. "remark": {
  4747. "description": "Remark",
  4748. "type": "string"
  4749. },
  4750. "tabelmenu": {
  4751. "description": "列表菜单",
  4752. "type": "string"
  4753. },
  4754. "tablekey": {
  4755. "description": "列表Key",
  4756. "type": "string"
  4757. },
  4758. "tablename": {
  4759. "description": "列表名称",
  4760. "type": "string"
  4761. },
  4762. "tabletype": {
  4763. "description": "列表类型 - 1:管理端 2:终端",
  4764. "type": "integer"
  4765. }
  4766. }
  4767. },
  4768. "common.QueryTraderMenuRsp": {
  4769. "type": "object",
  4770. "properties": {
  4771. "OperationMenu": {
  4772. "description": "功能菜单",
  4773. "type": "array",
  4774. "items": {
  4775. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4776. }
  4777. },
  4778. "QuoteMenu": {
  4779. "description": "报价牌分类菜单",
  4780. "type": "array",
  4781. "items": {
  4782. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "cptrade.Cptradepositioncancel": {
  4788. "type": "object",
  4789. "required": [
  4790. "cancelid"
  4791. ],
  4792. "properties": {
  4793. "accountid": {
  4794. "description": "申请人账户ID",
  4795. "type": "integer"
  4796. },
  4797. "applystatus": {
  4798. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4799. "type": "integer"
  4800. },
  4801. "applytime": {
  4802. "description": "申请时间",
  4803. "type": "string"
  4804. },
  4805. "cancelid": {
  4806. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4807. "type": "integer"
  4808. },
  4809. "cancelqty": {
  4810. "description": "注销数量",
  4811. "type": "integer"
  4812. },
  4813. "createtime": {
  4814. "description": "创建时间",
  4815. "type": "string"
  4816. },
  4817. "creatorid": {
  4818. "description": "创建人ID",
  4819. "type": "integer"
  4820. },
  4821. "creatorname": {
  4822. "description": "创建人",
  4823. "type": "string"
  4824. },
  4825. "goodscode": {
  4826. "description": "订单商品代码",
  4827. "type": "string"
  4828. },
  4829. "goodsid": {
  4830. "description": "商品ID",
  4831. "type": "integer"
  4832. },
  4833. "goodsname": {
  4834. "description": "订单商品名称",
  4835. "type": "string"
  4836. },
  4837. "goodunit": {
  4838. "description": "报价单位",
  4839. "type": "string"
  4840. },
  4841. "handlestatus": {
  4842. "description": "处理状态",
  4843. "type": "integer"
  4844. },
  4845. "marketid": {
  4846. "description": "市场ID",
  4847. "type": "integer"
  4848. },
  4849. "marketname": {
  4850. "description": "市场名称",
  4851. "type": "string"
  4852. },
  4853. "tradedate": {
  4854. "description": "交易日(yyyyMMdd)",
  4855. "type": "string"
  4856. },
  4857. "userid": {
  4858. "description": "申请人ID",
  4859. "type": "integer"
  4860. }
  4861. }
  4862. },
  4863. "cptrade.Cptradepresaleapply": {
  4864. "type": "object",
  4865. "required": [
  4866. "applyid"
  4867. ],
  4868. "properties": {
  4869. "accountid": {
  4870. "description": "申请人账户ID",
  4871. "type": "integer"
  4872. },
  4873. "applyid": {
  4874. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4875. "type": "integer"
  4876. },
  4877. "applyremark": {
  4878. "description": "申请备注",
  4879. "type": "string"
  4880. },
  4881. "applystatus": {
  4882. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4883. "type": "integer"
  4884. },
  4885. "applytime": {
  4886. "description": "申请时间",
  4887. "type": "string"
  4888. },
  4889. "attachmenturl": {
  4890. "description": "附件地址",
  4891. "type": "string"
  4892. },
  4893. "endtime": {
  4894. "description": "预售结束时间",
  4895. "type": "string"
  4896. },
  4897. "goodscode": {
  4898. "description": "商品代码",
  4899. "type": "string"
  4900. },
  4901. "goodsid": {
  4902. "description": "商品ID",
  4903. "type": "integer"
  4904. },
  4905. "goodsname": {
  4906. "description": "商品名称",
  4907. "type": "string"
  4908. },
  4909. "goodunit": {
  4910. "description": "报价单位",
  4911. "type": "string"
  4912. },
  4913. "handlestatus": {
  4914. "description": "处理状态",
  4915. "type": "integer"
  4916. },
  4917. "marketid": {
  4918. "description": "预售市场ID",
  4919. "type": "integer"
  4920. },
  4921. "marketname": {
  4922. "description": "预售市场名称",
  4923. "type": "string"
  4924. },
  4925. "presaleqty": {
  4926. "description": "预售数量",
  4927. "type": "integer"
  4928. },
  4929. "relatedgoodscode": {
  4930. "description": "关联交易合约代码",
  4931. "type": "string"
  4932. },
  4933. "relatedgoodsid": {
  4934. "description": "关联交易合约ID",
  4935. "type": "integer"
  4936. },
  4937. "relatedgoodsname": {
  4938. "description": "关联交易合约名称",
  4939. "type": "string"
  4940. },
  4941. "starttime": {
  4942. "description": "预售开始时间",
  4943. "type": "string"
  4944. },
  4945. "tradedate": {
  4946. "description": "交易日(yyyyMMdd)",
  4947. "type": "string"
  4948. },
  4949. "trademode": {
  4950. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4951. "type": "integer"
  4952. },
  4953. "userid": {
  4954. "description": "申请人ID",
  4955. "type": "integer"
  4956. }
  4957. }
  4958. },
  4959. "cptrade.Cptradeusergoodsdata": {
  4960. "type": "object",
  4961. "required": [
  4962. "accountid",
  4963. "goodsid"
  4964. ],
  4965. "properties": {
  4966. "EnabledQty": {
  4967. "description": "可用量",
  4968. "type": "integer"
  4969. },
  4970. "GoodsCode": {
  4971. "description": "订单商品代码",
  4972. "type": "string"
  4973. },
  4974. "GoodsName": {
  4975. "description": "订单商品名称",
  4976. "type": "string"
  4977. },
  4978. "WRStandardCode": {
  4979. "description": "仓单标准代码",
  4980. "type": "string"
  4981. },
  4982. "WRStandardName": {
  4983. "description": "仓单标准名称",
  4984. "type": "string"
  4985. },
  4986. "accountid": {
  4987. "description": "账户ID",
  4988. "type": "integer"
  4989. },
  4990. "cancelqty": {
  4991. "description": "注销量",
  4992. "type": "integer"
  4993. },
  4994. "curpresaleqty": {
  4995. "description": "当前预售量",
  4996. "type": "integer"
  4997. },
  4998. "deliveryqty": {
  4999. "description": "交割量",
  5000. "type": "integer"
  5001. },
  5002. "freezeamount": {
  5003. "description": "冻结金额",
  5004. "type": "number"
  5005. },
  5006. "goodsid": {
  5007. "description": "商品ID",
  5008. "type": "integer"
  5009. },
  5010. "goodunit": {
  5011. "description": "报价单位",
  5012. "type": "string"
  5013. },
  5014. "hasspotfreeze": {
  5015. "description": "是否有现货冻结 - 0:否 1:有",
  5016. "type": "integer"
  5017. },
  5018. "inqty": {
  5019. "description": "转入量(总数量)",
  5020. "type": "integer"
  5021. },
  5022. "marketid": {
  5023. "description": "市场ID",
  5024. "type": "integer"
  5025. },
  5026. "presaledamount": {
  5027. "description": "已预售总金额",
  5028. "type": "integer"
  5029. },
  5030. "presaledqty": {
  5031. "description": "已预售量",
  5032. "type": "integer"
  5033. },
  5034. "userid": {
  5035. "description": "用户ID",
  5036. "type": "integer"
  5037. },
  5038. "wrstandardid": {
  5039. "description": "仓单标准ID",
  5040. "type": "integer"
  5041. }
  5042. }
  5043. },
  5044. "cptrade.QueryCPTradeMyBidRsp": {
  5045. "type": "object",
  5046. "required": [
  5047. "accountid",
  5048. "goodsid",
  5049. "marketid",
  5050. "orderid",
  5051. "orderqty",
  5052. "ordertime",
  5053. "tradeprice",
  5054. "tradeqty"
  5055. ],
  5056. "properties": {
  5057. "accountid": {
  5058. "description": "账户ID[报价币种]",
  5059. "type": "integer"
  5060. },
  5061. "goodsid": {
  5062. "description": "商品ID",
  5063. "type": "integer"
  5064. },
  5065. "goodunit": {
  5066. "description": "报价单位",
  5067. "type": "string"
  5068. },
  5069. "marketid": {
  5070. "description": "市场ID",
  5071. "type": "integer"
  5072. },
  5073. "orderid": {
  5074. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5075. "type": "integer"
  5076. },
  5077. "orderprice": {
  5078. "description": "委托价格",
  5079. "type": "number"
  5080. },
  5081. "orderqty": {
  5082. "description": "委托数量",
  5083. "type": "integer"
  5084. },
  5085. "ordertime": {
  5086. "description": "委托时间",
  5087. "type": "string"
  5088. },
  5089. "ordertotalprice": {
  5090. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5091. "type": "number"
  5092. },
  5093. "ordertotalweight": {
  5094. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5095. "type": "integer"
  5096. },
  5097. "totaltotalprice": {
  5098. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5099. "type": "number"
  5100. },
  5101. "tradeprice": {
  5102. "description": "成交价格",
  5103. "type": "number"
  5104. },
  5105. "tradeqty": {
  5106. "description": "成交数量",
  5107. "type": "integer"
  5108. }
  5109. }
  5110. },
  5111. "cptrade.QueryCPTradeOrderDetailRsq": {
  5112. "type": "object",
  5113. "required": [
  5114. "accountid",
  5115. "buildtype",
  5116. "buyorsell",
  5117. "goodsid",
  5118. "marketid",
  5119. "memberuserid",
  5120. "operatetype",
  5121. "orderqty",
  5122. "ordertime",
  5123. "pricemode",
  5124. "strorderid",
  5125. "tradedate",
  5126. "validtype"
  5127. ],
  5128. "properties": {
  5129. "accountid": {
  5130. "description": "账户ID[报价币种]",
  5131. "type": "integer"
  5132. },
  5133. "buildtype": {
  5134. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5135. "type": "integer"
  5136. },
  5137. "buyorsell": {
  5138. "description": "买卖 - 0:买 1:卖",
  5139. "type": "integer"
  5140. },
  5141. "cancelorderid": {
  5142. "description": "撤单单号(撤单时填写)",
  5143. "type": "integer"
  5144. },
  5145. "cancelqty": {
  5146. "description": "撤单数量",
  5147. "type": "integer"
  5148. },
  5149. "clientordertime": {
  5150. "description": "客户端委托时间",
  5151. "type": "string"
  5152. },
  5153. "clientticket": {
  5154. "description": "客户端流水号",
  5155. "type": "string"
  5156. },
  5157. "clienttype": {
  5158. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5159. "type": "integer"
  5160. },
  5161. "closeexchagechargevalue": {
  5162. "description": "平仓交易所手续费设置值",
  5163. "type": "number"
  5164. },
  5165. "closefeealgorithm": {
  5166. "description": "平仓手续费收取方式 1:比率 2:固定",
  5167. "type": "integer"
  5168. },
  5169. "closefreezecharge": {
  5170. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5171. "type": "number"
  5172. },
  5173. "closememberchargevalue": {
  5174. "description": "平仓会员手续费设置值",
  5175. "type": "number"
  5176. },
  5177. "closeqty": {
  5178. "description": "平仓数量(先建后平操作 需要记录)",
  5179. "type": "integer"
  5180. },
  5181. "closetradeqty": {
  5182. "description": "平仓成交数量(先建后平操作,需要记录)",
  5183. "type": "integer"
  5184. },
  5185. "closeunfreezecharge": {
  5186. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5187. "type": "number"
  5188. },
  5189. "delistingtype": {
  5190. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5191. "type": "integer"
  5192. },
  5193. "freezecharge": {
  5194. "description": "冻结手续费",
  5195. "type": "number"
  5196. },
  5197. "freezemargin": {
  5198. "description": "冻结保证金(冻结交易金额)",
  5199. "type": "number"
  5200. },
  5201. "gcaccountid": {
  5202. "description": "账户ID[合约币种]",
  5203. "type": "integer"
  5204. },
  5205. "goodsid": {
  5206. "description": "商品ID",
  5207. "type": "integer"
  5208. },
  5209. "isconfirmexercise": {
  5210. "description": "是否确认行权- 0:否 1:是",
  5211. "type": "integer"
  5212. },
  5213. "ispreexercise": {
  5214. "description": "是否预申报- 0:否 1:是",
  5215. "type": "integer"
  5216. },
  5217. "listingselecttype": {
  5218. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5219. "type": "integer"
  5220. },
  5221. "marginalgorithm": {
  5222. "description": "保证金收取方式 1:比率 2:固定",
  5223. "type": "integer"
  5224. },
  5225. "marginvalue": {
  5226. "description": "即市保证金设置值",
  5227. "type": "number"
  5228. },
  5229. "marketid": {
  5230. "description": "市场ID",
  5231. "type": "integer"
  5232. },
  5233. "marketmaxsub": {
  5234. "description": "市价最大偏移范围",
  5235. "type": "number"
  5236. },
  5237. "memberuserid": {
  5238. "description": "所属会员UserID",
  5239. "type": "integer"
  5240. },
  5241. "openexchagechargevalue": {
  5242. "description": "建仓交易所手续费设置值",
  5243. "type": "number"
  5244. },
  5245. "openfeealgorithm": {
  5246. "description": "建仓手续费收取方式 1:比率 2:固定",
  5247. "type": "integer"
  5248. },
  5249. "openfreezecharge": {
  5250. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5251. "type": "number"
  5252. },
  5253. "openmemberchargevalue": {
  5254. "description": "建仓会员手续费设置值",
  5255. "type": "number"
  5256. },
  5257. "openqty": {
  5258. "description": "开仓数量(先建后平操作,需要记录)",
  5259. "type": "integer"
  5260. },
  5261. "opentradeqty": {
  5262. "description": "开仓成交数量(先建后平操作,需要记录)",
  5263. "type": "integer"
  5264. },
  5265. "openunfreezecharge": {
  5266. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5267. "type": "number"
  5268. },
  5269. "operatetype": {
  5270. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5271. "type": "integer"
  5272. },
  5273. "operatorid": {
  5274. "description": "登录账号(LoginID)",
  5275. "type": "integer"
  5276. },
  5277. "optiontype": {
  5278. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5279. "type": "integer"
  5280. },
  5281. "orderprice": {
  5282. "description": "委托价格",
  5283. "type": "number"
  5284. },
  5285. "orderqty": {
  5286. "description": "委托数量",
  5287. "type": "integer"
  5288. },
  5289. "ordersrc": {
  5290. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5291. "type": "integer"
  5292. },
  5293. "orderstatus": {
  5294. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5295. "type": "integer"
  5296. },
  5297. "ordertime": {
  5298. "description": "委托时间",
  5299. "type": "string"
  5300. },
  5301. "preexerciseprice": {
  5302. "description": "预申报价格",
  5303. "type": "number"
  5304. },
  5305. "premium": {
  5306. "description": "权利金",
  5307. "type": "number"
  5308. },
  5309. "preorderid": {
  5310. "description": "关联预埋单号(止盈止损单时填写)",
  5311. "type": "integer"
  5312. },
  5313. "pricemode": {
  5314. "description": "取价方式 - 1:市价 2: 限价",
  5315. "type": "integer"
  5316. },
  5317. "quoteid": {
  5318. "description": "报价单ID",
  5319. "type": "integer"
  5320. },
  5321. "relatedid": {
  5322. "description": "关联单号(交割单)",
  5323. "type": "integer"
  5324. },
  5325. "retcode": {
  5326. "description": "错误代码",
  5327. "type": "integer"
  5328. },
  5329. "sessionid": {
  5330. "description": "会话ID",
  5331. "type": "integer"
  5332. },
  5333. "strorderid": {
  5334. "description": "委托单号",
  5335. "type": "string"
  5336. },
  5337. "tradedate": {
  5338. "description": "交易日(yyyyMMdd)",
  5339. "type": "string"
  5340. },
  5341. "tradeproperty": {
  5342. "description": "交易属性",
  5343. "type": "integer"
  5344. },
  5345. "tradeqty": {
  5346. "description": "成交数量",
  5347. "type": "integer"
  5348. },
  5349. "unfreezecharge": {
  5350. "description": "解冻手续费",
  5351. "type": "number"
  5352. },
  5353. "unfreezemargin": {
  5354. "description": "解冻保证金",
  5355. "type": "number"
  5356. },
  5357. "updatetime": {
  5358. "description": "更新时间",
  5359. "type": "string"
  5360. },
  5361. "uuid": {
  5362. "description": "发起端唯一id",
  5363. "type": "string"
  5364. },
  5365. "validtime": {
  5366. "description": "有效期限",
  5367. "type": "string"
  5368. },
  5369. "validtype": {
  5370. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5371. "type": "integer"
  5372. },
  5373. "volumetype": {
  5374. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5375. "type": "integer"
  5376. }
  5377. }
  5378. },
  5379. "cptrade.QueryMyCPTradeGoodsRsp": {
  5380. "type": "object",
  5381. "required": [
  5382. "goodscode",
  5383. "goodsid",
  5384. "goodsname",
  5385. "marketid",
  5386. "relatedgoodscode",
  5387. "relatedgoodsname"
  5388. ],
  5389. "properties": {
  5390. "accountid": {
  5391. "description": "卖方账户ID",
  5392. "type": "integer"
  5393. },
  5394. "agreeunit": {
  5395. "description": "合约单位",
  5396. "type": "number"
  5397. },
  5398. "applyid": {
  5399. "description": "关联申请ID",
  5400. "type": "integer"
  5401. },
  5402. "attachmenturl": {
  5403. "description": "附件地址",
  5404. "type": "string"
  5405. },
  5406. "createtime": {
  5407. "description": "创建时间",
  5408. "type": "string"
  5409. },
  5410. "currencyid": {
  5411. "description": "报价货币ID",
  5412. "type": "integer"
  5413. },
  5414. "decimalplace": {
  5415. "description": "报价小数位",
  5416. "type": "integer"
  5417. },
  5418. "endtime": {
  5419. "description": "预售结束时间",
  5420. "type": "string"
  5421. },
  5422. "floorprice": {
  5423. "description": "底价[大宗式竞拍]",
  5424. "type": "number"
  5425. },
  5426. "goodscode": {
  5427. "description": "商品代码(预售)",
  5428. "type": "string"
  5429. },
  5430. "goodsdetail": {
  5431. "description": "详情[大宗]",
  5432. "type": "string"
  5433. },
  5434. "goodsid": {
  5435. "description": "商品ID(自增ID SEQ_GOODS)",
  5436. "type": "integer"
  5437. },
  5438. "goodsname": {
  5439. "description": "商品名称(预售)",
  5440. "type": "string"
  5441. },
  5442. "goodunit": {
  5443. "description": "报价单位",
  5444. "type": "string"
  5445. },
  5446. "goodunitid": {
  5447. "description": "报价单位ID",
  5448. "type": "integer"
  5449. },
  5450. "marketid": {
  5451. "description": "所属市场ID",
  5452. "type": "integer"
  5453. },
  5454. "marketname": {
  5455. "description": "预售市场名称",
  5456. "type": "string"
  5457. },
  5458. "presaledamount": {
  5459. "description": "已预售总金额(预售结束时更新)",
  5460. "type": "number"
  5461. },
  5462. "presaledqty": {
  5463. "description": "已预售量(预售结束时更新)",
  5464. "type": "integer"
  5465. },
  5466. "presalemode": {
  5467. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5468. "type": "integer"
  5469. },
  5470. "presaleqty": {
  5471. "description": "预售数量",
  5472. "type": "integer"
  5473. },
  5474. "refprice": {
  5475. "description": "参考价格[一口价]",
  5476. "type": "number"
  5477. },
  5478. "relatedgoodscode": {
  5479. "description": "商品代码(订单)",
  5480. "type": "string"
  5481. },
  5482. "relatedgoodsid": {
  5483. "description": "关联交易合约ID",
  5484. "type": "integer"
  5485. },
  5486. "relatedgoodsname": {
  5487. "description": "商品名称(订单)",
  5488. "type": "string"
  5489. },
  5490. "relatedmarketid": {
  5491. "description": "关联交易合约市场ID",
  5492. "type": "integer"
  5493. },
  5494. "sellstatus": {
  5495. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5496. "type": "integer"
  5497. },
  5498. "startprice": {
  5499. "description": "起拍价[大宗式竞拍]",
  5500. "type": "number"
  5501. },
  5502. "starttime": {
  5503. "description": "预售开始时间",
  5504. "type": "string"
  5505. },
  5506. "tradedate": {
  5507. "description": "交易日(yyyyMMdd)",
  5508. "type": "string"
  5509. },
  5510. "tradeprice": {
  5511. "description": "成交价[大宗]",
  5512. "type": "number"
  5513. },
  5514. "userid": {
  5515. "description": "卖方用户ID",
  5516. "type": "integer"
  5517. }
  5518. }
  5519. },
  5520. "cptrade.QueryPresaleGoodsExRsp": {
  5521. "type": "object",
  5522. "required": [
  5523. "goodsid"
  5524. ],
  5525. "properties": {
  5526. "attachmenturl": {
  5527. "description": "附件地址",
  5528. "type": "string"
  5529. },
  5530. "createtime": {
  5531. "description": "创建时间",
  5532. "type": "string"
  5533. },
  5534. "endtime": {
  5535. "description": "预售结束时间",
  5536. "type": "string"
  5537. },
  5538. "floorprice": {
  5539. "description": "底价[大宗式竞拍]",
  5540. "type": "number"
  5541. },
  5542. "goodsdetail": {
  5543. "description": "详情[大宗]",
  5544. "type": "string"
  5545. },
  5546. "goodsid": {
  5547. "description": "商品ID(预售)",
  5548. "type": "integer"
  5549. },
  5550. "goodunit": {
  5551. "description": "报价单位",
  5552. "type": "string"
  5553. },
  5554. "marketid": {
  5555. "description": "预售市场ID - 根据预售模式选择市场",
  5556. "type": "integer"
  5557. },
  5558. "presaledamount": {
  5559. "description": "已预售总金额(预售结束时更新)",
  5560. "type": "number"
  5561. },
  5562. "presaledqty": {
  5563. "description": "已预售量(预售结束时更新)",
  5564. "type": "integer"
  5565. },
  5566. "presalemode": {
  5567. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5568. "type": "integer"
  5569. },
  5570. "presaleqty": {
  5571. "description": "预售数量",
  5572. "type": "integer"
  5573. },
  5574. "refprice": {
  5575. "description": "参考价格[一口价]",
  5576. "type": "number"
  5577. },
  5578. "relatedgoodsid": {
  5579. "description": "关联交易合约ID",
  5580. "type": "integer"
  5581. },
  5582. "relatedmarketid": {
  5583. "description": "关联交易合约市场ID",
  5584. "type": "integer"
  5585. },
  5586. "sellstatus": {
  5587. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5588. "type": "integer"
  5589. },
  5590. "startprice": {
  5591. "description": "起拍价[大宗式竞拍]",
  5592. "type": "number"
  5593. },
  5594. "starttime": {
  5595. "description": "预售开始时间",
  5596. "type": "string"
  5597. },
  5598. "tradedate": {
  5599. "description": "交易日(yyyyMMdd)",
  5600. "type": "string"
  5601. },
  5602. "tradeprice": {
  5603. "description": "成交价[大宗]",
  5604. "type": "number"
  5605. }
  5606. }
  5607. },
  5608. "delivery.QueryDeliveryRelationRsp": {
  5609. "type": "object",
  5610. "required": [
  5611. "begindate",
  5612. "enddate",
  5613. "goodsid",
  5614. "mindeliveryqty",
  5615. "xdeliveryratio"
  5616. ],
  5617. "properties": {
  5618. "begindate": {
  5619. "description": "起始日期(yyyyMMdd)",
  5620. "type": "string"
  5621. },
  5622. "buytemplateid": {
  5623. "description": "买履约计划模板ID",
  5624. "type": "integer"
  5625. },
  5626. "deliverygoodscode": {
  5627. "description": "品种代码",
  5628. "type": "string"
  5629. },
  5630. "deliverygoodsid": {
  5631. "description": "交割商品",
  5632. "type": "integer"
  5633. },
  5634. "deliverygoodsname": {
  5635. "description": "品种名称",
  5636. "type": "string"
  5637. },
  5638. "deliverymode": {
  5639. "description": "交割方式 - 1:点选式 2:申报式",
  5640. "type": "integer"
  5641. },
  5642. "deliverypricerule": {
  5643. "description": "交割价规则- 1:行情价 2:建仓价",
  5644. "type": "integer"
  5645. },
  5646. "deliverytype": {
  5647. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5648. "type": "integer"
  5649. },
  5650. "enddate": {
  5651. "description": "结束日期(yyyyMMdd)",
  5652. "type": "string"
  5653. },
  5654. "goodscode": {
  5655. "description": "商品代码",
  5656. "type": "string"
  5657. },
  5658. "goodsid": {
  5659. "description": "交易合约ID",
  5660. "type": "integer"
  5661. },
  5662. "goodsname": {
  5663. "description": "商品名称",
  5664. "type": "string"
  5665. },
  5666. "marketid": {
  5667. "description": "市场ID",
  5668. "type": "integer"
  5669. },
  5670. "mindeliveryqty": {
  5671. "description": "最小交割系数(K)",
  5672. "type": "integer"
  5673. },
  5674. "p2deliveryprice": {
  5675. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5676. "type": "number"
  5677. },
  5678. "p2deliveryratio": {
  5679. "description": "P2合约系数(p)",
  5680. "type": "integer"
  5681. },
  5682. "p2goodsid": {
  5683. "description": "P2合约ID",
  5684. "type": "integer"
  5685. },
  5686. "p2pricemode": {
  5687. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5688. "type": "integer"
  5689. },
  5690. "pdeliveryprice": {
  5691. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5692. "type": "number"
  5693. },
  5694. "pdeliveryratio": {
  5695. "description": "P合约系数(n)",
  5696. "type": "integer"
  5697. },
  5698. "pgoodsid": {
  5699. "description": "P合约ID",
  5700. "type": "integer"
  5701. },
  5702. "ppricemode": {
  5703. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5704. "type": "integer"
  5705. },
  5706. "rratio": {
  5707. "description": "兑换系数(R)",
  5708. "type": "integer"
  5709. },
  5710. "rratio1": {
  5711. "description": "兑换系数(交易合约)(R1)",
  5712. "type": "integer"
  5713. },
  5714. "rratio2": {
  5715. "description": "兑换系数(仓单标准)(R2)",
  5716. "type": "integer"
  5717. },
  5718. "selltemplateid": {
  5719. "description": "卖履约计划模板ID",
  5720. "type": "integer"
  5721. },
  5722. "wrstandardid": {
  5723. "description": "仓单标准ID",
  5724. "type": "integer"
  5725. },
  5726. "xdeliveryratio": {
  5727. "description": "交易合约系数(m)",
  5728. "type": "integer"
  5729. }
  5730. }
  5731. },
  5732. "ermcp.ExposureDetailRsp": {
  5733. "type": "object",
  5734. "properties": {
  5735. "areauserid": {
  5736. "description": "机构ID",
  5737. "type": "integer"
  5738. },
  5739. "changeQty": {
  5740. "description": "套保变动量",
  5741. "type": "number"
  5742. },
  5743. "contracttype": {
  5744. "description": "现货合同类型 - 1:采购 -1:销售",
  5745. "type": "integer"
  5746. },
  5747. "convertfactor": {
  5748. "description": "标仓系数",
  5749. "type": "number"
  5750. },
  5751. "convertratio": {
  5752. "description": "套保系数",
  5753. "type": "number"
  5754. },
  5755. "createtime": {
  5756. "description": "时间",
  5757. "type": "string"
  5758. },
  5759. "enumdicname": {
  5760. "description": "现货商品单位名称",
  5761. "type": "string"
  5762. },
  5763. "logtype": {
  5764. "description": "类型 - 1:套保计划 2:现货合同",
  5765. "type": "integer"
  5766. },
  5767. "middlegoodsId": {
  5768. "description": "套保商品id",
  5769. "type": "integer"
  5770. },
  5771. "middlegoodscode": {
  5772. "description": "套保商品代码",
  5773. "type": "string"
  5774. },
  5775. "middlegoodsname": {
  5776. "description": "套保商品名称",
  5777. "type": "string"
  5778. },
  5779. "qty": {
  5780. "description": "数量",
  5781. "type": "number"
  5782. },
  5783. "relateNo": {
  5784. "description": "现货合同/套保计划编号",
  5785. "type": "string"
  5786. },
  5787. "wrstandardcode": {
  5788. "description": "现货商品代码",
  5789. "type": "string"
  5790. },
  5791. "wrstandardid": {
  5792. "description": "现货商品ID",
  5793. "type": "integer"
  5794. },
  5795. "wrstandardname": {
  5796. "description": "现货商品名称",
  5797. "type": "string"
  5798. }
  5799. }
  5800. },
  5801. "ermcp.ExposureSpotRsp": {
  5802. "type": "object",
  5803. "properties": {
  5804. "areauserid": {
  5805. "description": "所属机构",
  5806. "type": "integer"
  5807. },
  5808. "decreaseqty": {
  5809. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  5810. "type": "number"
  5811. },
  5812. "increaseqty": {
  5813. "description": "增加数量=销售计划数量+采购已定价数量",
  5814. "type": "number"
  5815. },
  5816. "oritoalspotqty": {
  5817. "description": "昨日数量",
  5818. "type": "number"
  5819. },
  5820. "totalspotqty": {
  5821. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  5822. "type": "number"
  5823. },
  5824. "updatetime": {
  5825. "description": "更新时间",
  5826. "type": "string"
  5827. },
  5828. "wrstandardcode": {
  5829. "description": "现货品种代码",
  5830. "type": "string"
  5831. },
  5832. "wrstandardid": {
  5833. "description": "现货商品ID",
  5834. "type": "integer"
  5835. },
  5836. "wrstandardname": {
  5837. "description": "现货品种",
  5838. "type": "string"
  5839. }
  5840. }
  5841. },
  5842. "ermcp.QryBusinessDjRsp": {
  5843. "type": "object",
  5844. "properties": {
  5845. "amount": {
  5846. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5847. "type": "number"
  5848. },
  5849. "applyid": {
  5850. "description": "申请人",
  5851. "type": "string"
  5852. },
  5853. "applyname": {
  5854. "description": "申请人名称",
  5855. "type": "string"
  5856. },
  5857. "applystatus": {
  5858. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5859. "type": "integer"
  5860. },
  5861. "applytime": {
  5862. "description": "申请时间",
  5863. "type": "string"
  5864. },
  5865. "auditname": {
  5866. "description": "审核人名称",
  5867. "type": "string"
  5868. },
  5869. "audittime": {
  5870. "description": "审核时间",
  5871. "type": "string"
  5872. },
  5873. "buyusername": {
  5874. "description": "采购方名称",
  5875. "type": "string"
  5876. },
  5877. "contractno": {
  5878. "description": "合同编号",
  5879. "type": "string"
  5880. },
  5881. "contractstatus": {
  5882. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5883. "type": "integer"
  5884. },
  5885. "contracttype": {
  5886. "description": "现货合同类型 - 1:采购 -1:销售",
  5887. "type": "integer"
  5888. },
  5889. "enumdicname": {
  5890. "description": "单位名称",
  5891. "type": "string"
  5892. },
  5893. "goodscode": {
  5894. "description": "点价合约",
  5895. "type": "string"
  5896. },
  5897. "goodsname": {
  5898. "description": "商品名称",
  5899. "type": "string"
  5900. },
  5901. "operateapplyid": {
  5902. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5903. "type": "string"
  5904. },
  5905. "operateapplytype": {
  5906. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5907. "type": "integer"
  5908. },
  5909. "pricedPrice": {
  5910. "description": "点价价格(非必填)",
  5911. "type": "number"
  5912. },
  5913. "pricedQty": {
  5914. "description": "点价数量(非必填)",
  5915. "type": "number"
  5916. },
  5917. "pricemove": {
  5918. "description": "升贴水",
  5919. "type": "number"
  5920. },
  5921. "pricetype": {
  5922. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5923. "type": "integer"
  5924. },
  5925. "relatedid": {
  5926. "description": "现货合同ID",
  5927. "type": "string"
  5928. },
  5929. "sellusername": {
  5930. "description": "销售方名字",
  5931. "type": "string"
  5932. },
  5933. "userid": {
  5934. "description": "用户ID",
  5935. "type": "integer"
  5936. }
  5937. }
  5938. },
  5939. "ermcp.QryBussinessFpRsp": {
  5940. "type": "object",
  5941. "properties": {
  5942. "applyid": {
  5943. "description": "申请人",
  5944. "type": "string"
  5945. },
  5946. "applyname": {
  5947. "description": "申请人名称",
  5948. "type": "string"
  5949. },
  5950. "applystatus": {
  5951. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5952. "type": "integer"
  5953. },
  5954. "applytime": {
  5955. "description": "申请时间",
  5956. "type": "string"
  5957. },
  5958. "auditname": {
  5959. "description": "审核人名称",
  5960. "type": "string"
  5961. },
  5962. "audittime": {
  5963. "description": "审核时间",
  5964. "type": "string"
  5965. },
  5966. "buyusername": {
  5967. "description": "采购方名称",
  5968. "type": "string"
  5969. },
  5970. "contractno": {
  5971. "description": "合同编号",
  5972. "type": "string"
  5973. },
  5974. "contractstatus": {
  5975. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5976. "type": "integer"
  5977. },
  5978. "contracttype": {
  5979. "description": "现货合同类型 - 1:采购 -1:销售",
  5980. "type": "integer"
  5981. },
  5982. "enumdicname": {
  5983. "description": "单位名称",
  5984. "type": "string"
  5985. },
  5986. "goodscode": {
  5987. "description": "点价合约",
  5988. "type": "string"
  5989. },
  5990. "goodsname": {
  5991. "description": "商品名称",
  5992. "type": "string"
  5993. },
  5994. "invoiceAmount": {
  5995. "description": "已开收票金额(销售为开票,采购为收票)",
  5996. "type": "number"
  5997. },
  5998. "operateapplyid": {
  5999. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6000. "type": "string"
  6001. },
  6002. "operateapplytype": {
  6003. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6004. "type": "integer"
  6005. },
  6006. "pricemove": {
  6007. "description": "升贴水",
  6008. "type": "number"
  6009. },
  6010. "pricetype": {
  6011. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6012. "type": "integer"
  6013. },
  6014. "relatedid": {
  6015. "description": "现货合同ID",
  6016. "type": "string"
  6017. },
  6018. "sellusername": {
  6019. "description": "销售方名字",
  6020. "type": "string"
  6021. },
  6022. "userid": {
  6023. "description": "用户ID",
  6024. "type": "integer"
  6025. }
  6026. }
  6027. },
  6028. "ermcp.QryBussinessJsRsp": {
  6029. "type": "object",
  6030. "properties": {
  6031. "addmargin": {
  6032. "description": "追加保证金(非必填)",
  6033. "type": "number"
  6034. },
  6035. "applyid": {
  6036. "description": "申请人",
  6037. "type": "string"
  6038. },
  6039. "applyname": {
  6040. "description": "申请人名称",
  6041. "type": "string"
  6042. },
  6043. "applystatus": {
  6044. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6045. "type": "integer"
  6046. },
  6047. "applytime": {
  6048. "description": "申请时间",
  6049. "type": "string"
  6050. },
  6051. "auditname": {
  6052. "description": "审核人名称",
  6053. "type": "string"
  6054. },
  6055. "audittime": {
  6056. "description": "审核时间",
  6057. "type": "string"
  6058. },
  6059. "buyusername": {
  6060. "description": "采购方名称",
  6061. "type": "string"
  6062. },
  6063. "contractno": {
  6064. "description": "合同编号",
  6065. "type": "string"
  6066. },
  6067. "contractstatus": {
  6068. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6069. "type": "integer"
  6070. },
  6071. "contracttype": {
  6072. "description": "现货合同类型 - 1:采购 -1:销售",
  6073. "type": "integer"
  6074. },
  6075. "decmargin": {
  6076. "description": "减少保证金(非必填)",
  6077. "type": "number"
  6078. },
  6079. "enumdicname": {
  6080. "description": "单位名称",
  6081. "type": "string"
  6082. },
  6083. "goodscode": {
  6084. "description": "点价合约",
  6085. "type": "string"
  6086. },
  6087. "goodsname": {
  6088. "description": "商品名称",
  6089. "type": "string"
  6090. },
  6091. "operateapplyid": {
  6092. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6093. "type": "string"
  6094. },
  6095. "operateapplytype": {
  6096. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6097. "type": "integer"
  6098. },
  6099. "pricemove": {
  6100. "description": "升贴水",
  6101. "type": "number"
  6102. },
  6103. "pricetype": {
  6104. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6105. "type": "integer"
  6106. },
  6107. "reckonadjustamount": {
  6108. "description": "结算调整金额(非必填)",
  6109. "type": "number"
  6110. },
  6111. "reckonosamount": {
  6112. "description": "结算溢短金额(非必填)",
  6113. "type": "number"
  6114. },
  6115. "reckonotheramount": {
  6116. "description": "结算其他费用(非必填)",
  6117. "type": "number"
  6118. },
  6119. "reckonrealqty": {
  6120. "description": "结算实际数量(非必填)",
  6121. "type": "number"
  6122. },
  6123. "relatedid": {
  6124. "description": "现货合同ID",
  6125. "type": "string"
  6126. },
  6127. "sellusername": {
  6128. "description": "销售方名字",
  6129. "type": "string"
  6130. },
  6131. "userid": {
  6132. "description": "用户ID",
  6133. "type": "integer"
  6134. }
  6135. }
  6136. },
  6137. "ermcp.QryBussinessKxRsp": {
  6138. "type": "object",
  6139. "properties": {
  6140. "applyid": {
  6141. "description": "申请人",
  6142. "type": "string"
  6143. },
  6144. "applyname": {
  6145. "description": "申请人名称",
  6146. "type": "string"
  6147. },
  6148. "applystatus": {
  6149. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6150. "type": "integer"
  6151. },
  6152. "applytime": {
  6153. "description": "申请时间",
  6154. "type": "string"
  6155. },
  6156. "auditname": {
  6157. "description": "审核人名称",
  6158. "type": "string"
  6159. },
  6160. "audittime": {
  6161. "description": "审核时间",
  6162. "type": "string"
  6163. },
  6164. "buyusername": {
  6165. "description": "采购方名称",
  6166. "type": "string"
  6167. },
  6168. "contractno": {
  6169. "description": "合同编号",
  6170. "type": "string"
  6171. },
  6172. "contractstatus": {
  6173. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6174. "type": "integer"
  6175. },
  6176. "contracttype": {
  6177. "description": "现货合同类型 - 1:采购 -1:销售",
  6178. "type": "integer"
  6179. },
  6180. "deductamount": {
  6181. "description": "退款(非必填)",
  6182. "type": "number"
  6183. },
  6184. "enumdicname": {
  6185. "description": "单位名称",
  6186. "type": "string"
  6187. },
  6188. "goodscode": {
  6189. "description": "点价合约",
  6190. "type": "string"
  6191. },
  6192. "goodsname": {
  6193. "description": "商品名称",
  6194. "type": "string"
  6195. },
  6196. "kxtype": {
  6197. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6198. "type": "integer"
  6199. },
  6200. "operateapplyid": {
  6201. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6202. "type": "string"
  6203. },
  6204. "operateapplytype": {
  6205. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6206. "type": "integer"
  6207. },
  6208. "payamount": {
  6209. "description": "收付款(非必填)",
  6210. "type": "number"
  6211. },
  6212. "pricemove": {
  6213. "description": "升贴水",
  6214. "type": "number"
  6215. },
  6216. "pricetype": {
  6217. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6218. "type": "integer"
  6219. },
  6220. "relatedid": {
  6221. "description": "现货合同ID",
  6222. "type": "string"
  6223. },
  6224. "sellusername": {
  6225. "description": "销售方名字",
  6226. "type": "string"
  6227. },
  6228. "userid": {
  6229. "description": "用户ID",
  6230. "type": "integer"
  6231. }
  6232. }
  6233. },
  6234. "ermcp.QryErmcpRsp": {
  6235. "type": "object",
  6236. "properties": {
  6237. "accountid": {
  6238. "description": "账户ID",
  6239. "type": "string"
  6240. },
  6241. "accountname": {
  6242. "description": "账户名称",
  6243. "type": "string"
  6244. },
  6245. "contracctstatus": {
  6246. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6247. "type": "integer"
  6248. },
  6249. "contractno": {
  6250. "description": "合同编号",
  6251. "type": "string"
  6252. },
  6253. "contracttype": {
  6254. "description": "合同类型 1-采购, -1-销售",
  6255. "type": "integer"
  6256. },
  6257. "convertfactor": {
  6258. "description": "标仓系数",
  6259. "type": "number"
  6260. },
  6261. "daikaiamount": {
  6262. "description": "待开票额",
  6263. "type": "number"
  6264. },
  6265. "deliveryenddate": {
  6266. "description": "交割结束日",
  6267. "type": "string"
  6268. },
  6269. "deliverygoodscode": {
  6270. "description": "现货商品代码",
  6271. "type": "string"
  6272. },
  6273. "deliverygoodsid": {
  6274. "description": "现货商品ID",
  6275. "type": "integer"
  6276. },
  6277. "deliverygoodsname": {
  6278. "description": "现货商品名称",
  6279. "type": "string"
  6280. },
  6281. "deliverystartdate": {
  6282. "description": "交割开始日",
  6283. "type": "string"
  6284. },
  6285. "enddate": {
  6286. "description": "点价结束日",
  6287. "type": "string"
  6288. },
  6289. "enumdicname": {
  6290. "description": "单位名称",
  6291. "type": "string"
  6292. },
  6293. "goodscode": {
  6294. "description": "点价商品代码",
  6295. "type": "string"
  6296. },
  6297. "goodsid": {
  6298. "description": "点价商品ID",
  6299. "type": "integer"
  6300. },
  6301. "invoiceamount": {
  6302. "description": "已开票额",
  6303. "type": "number"
  6304. },
  6305. "loanamount": {
  6306. "description": "贷款总额=已定价额+调整金额",
  6307. "type": "number"
  6308. },
  6309. "margin": {
  6310. "description": "保证金",
  6311. "type": "number"
  6312. },
  6313. "payamount": {
  6314. "description": "已收付额(收款或付款)",
  6315. "type": "number"
  6316. },
  6317. "price": {
  6318. "description": "价格",
  6319. "type": "number"
  6320. },
  6321. "pricedamount": {
  6322. "description": "已定价额",
  6323. "type": "number"
  6324. },
  6325. "pricedavg": {
  6326. "description": "已点均价",
  6327. "type": "number"
  6328. },
  6329. "pricedqty": {
  6330. "description": "已定价量",
  6331. "type": "number"
  6332. },
  6333. "pricemove": {
  6334. "description": "升贴水",
  6335. "type": "number"
  6336. },
  6337. "pricetype": {
  6338. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6339. "type": "integer"
  6340. },
  6341. "producttype": {
  6342. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6343. "type": "integer"
  6344. },
  6345. "qty": {
  6346. "description": "合同量",
  6347. "type": "number"
  6348. },
  6349. "reckonadjustamount": {
  6350. "description": "调整金额",
  6351. "type": "number"
  6352. },
  6353. "reckonedamount": {
  6354. "description": "已收付额(已确定额)",
  6355. "type": "number"
  6356. },
  6357. "reckonotheramount": {
  6358. "description": "其它费用",
  6359. "type": "number"
  6360. },
  6361. "reckonrealqty": {
  6362. "description": "已确定量",
  6363. "type": "number"
  6364. },
  6365. "remark": {
  6366. "description": "备注",
  6367. "type": "string"
  6368. },
  6369. "spotcontractid": {
  6370. "description": "合同ID",
  6371. "type": "string"
  6372. },
  6373. "spotgoodsdesc": {
  6374. "description": "商品型号(商品规格)",
  6375. "type": "string"
  6376. },
  6377. "startdate": {
  6378. "description": "点价开始日",
  6379. "type": "string"
  6380. },
  6381. "totalamount": {
  6382. "description": "合计总额",
  6383. "type": "number"
  6384. },
  6385. "unpayamount": {
  6386. "description": "待支收额(支付或收款)",
  6387. "type": "number"
  6388. },
  6389. "unpricedqty": {
  6390. "description": "未定价量",
  6391. "type": "number"
  6392. },
  6393. "unsureqty": {
  6394. "description": "未确定量",
  6395. "type": "number"
  6396. },
  6397. "userid": {
  6398. "description": "用户ID",
  6399. "type": "integer"
  6400. }
  6401. }
  6402. },
  6403. "ermcp.QryHedgePlanRsp": {
  6404. "type": "object",
  6405. "properties": {
  6406. "areauserid": {
  6407. "description": "用户ID",
  6408. "type": "integer"
  6409. },
  6410. "contracttype": {
  6411. "description": "计划类型 - 1:采购 -1:销售",
  6412. "type": "integer"
  6413. },
  6414. "convertfactor": {
  6415. "description": "标仓系数",
  6416. "type": "number"
  6417. },
  6418. "deliverygoodsid": {
  6419. "description": "现货品种ID",
  6420. "type": "integer"
  6421. },
  6422. "deliverygoodsname": {
  6423. "description": "现货品种名称",
  6424. "type": "string"
  6425. },
  6426. "hedgeplanid": {
  6427. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  6428. "type": "string"
  6429. },
  6430. "hedgeplanno": {
  6431. "description": "套保计划编号(名称)",
  6432. "type": "string"
  6433. },
  6434. "hedgeplanstatus": {
  6435. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6436. "type": "integer"
  6437. },
  6438. "planqty": {
  6439. "description": "计划数量",
  6440. "type": "number"
  6441. },
  6442. "plantime": {
  6443. "description": "计划时间",
  6444. "type": "string"
  6445. },
  6446. "producttype": {
  6447. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6448. "type": "integer"
  6449. },
  6450. "remark": {
  6451. "description": "备注",
  6452. "type": "string"
  6453. },
  6454. "spotgoodsdesc": {
  6455. "description": "商品型号",
  6456. "type": "string"
  6457. },
  6458. "wrstandardid": {
  6459. "description": "现货商品ID",
  6460. "type": "integer"
  6461. },
  6462. "wrstandardname": {
  6463. "description": "现货商品名称",
  6464. "type": "string"
  6465. }
  6466. }
  6467. },
  6468. "ermcp.QryOPLogRsp": {
  6469. "type": "object",
  6470. "properties": {
  6471. "aftervalue": {
  6472. "description": "变更后",
  6473. "type": "number"
  6474. },
  6475. "applyid": {
  6476. "description": "操作人ID",
  6477. "type": "string"
  6478. },
  6479. "applyname": {
  6480. "description": "操作人名称",
  6481. "type": "string"
  6482. },
  6483. "beforevalue": {
  6484. "description": "变更前",
  6485. "type": "number"
  6486. },
  6487. "biztype": {
  6488. "description": "业务类型 - 1:套保计划 2:现货合同",
  6489. "type": "integer"
  6490. },
  6491. "contracttype": {
  6492. "description": "现货合同类型 - 1:采购 -1:销售",
  6493. "type": "integer"
  6494. },
  6495. "logvalue": {
  6496. "description": "数值",
  6497. "type": "number"
  6498. },
  6499. "operatelogtype": {
  6500. "description": "操作流水类型",
  6501. "type": "integer"
  6502. },
  6503. "operatelogtypedesc": {
  6504. "description": "操作流水类型名称",
  6505. "type": "string"
  6506. },
  6507. "relatedid": {
  6508. "description": "现货合同ID\\套保计划",
  6509. "type": "string"
  6510. },
  6511. "updatetime": {
  6512. "description": "更新时间",
  6513. "type": "string"
  6514. }
  6515. }
  6516. },
  6517. "ermcp.QrySpotContractRsp": {
  6518. "type": "object",
  6519. "properties": {
  6520. "amount": {
  6521. "description": "金额 [1:一口价、3:暂定价]",
  6522. "type": "number"
  6523. },
  6524. "buyuserid": {
  6525. "description": "采购方ID",
  6526. "type": "integer"
  6527. },
  6528. "buyusername": {
  6529. "description": "采购方名称",
  6530. "type": "string"
  6531. },
  6532. "contracctstatus": {
  6533. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6534. "type": "integer"
  6535. },
  6536. "contractno": {
  6537. "description": "现货合同编号",
  6538. "type": "string"
  6539. },
  6540. "contracttype": {
  6541. "description": "现货合同类型 - 1:采购 -1:销售",
  6542. "type": "integer"
  6543. },
  6544. "convertfactor": {
  6545. "description": "标仓系数",
  6546. "type": "number"
  6547. },
  6548. "deliveryenddate": {
  6549. "description": "交收期(结束)",
  6550. "type": "string"
  6551. },
  6552. "deliverygoodscode": {
  6553. "description": "现货品种代码",
  6554. "type": "string"
  6555. },
  6556. "deliverygoodsid": {
  6557. "description": "现货品种ID",
  6558. "type": "integer"
  6559. },
  6560. "deliverygoodsname": {
  6561. "description": "现货品种名称",
  6562. "type": "string"
  6563. },
  6564. "deliverystartdate": {
  6565. "description": "交收期(开始)",
  6566. "type": "string"
  6567. },
  6568. "enddate": {
  6569. "description": "点价结束日期 [2:点价 3:暂定价]",
  6570. "type": "string"
  6571. },
  6572. "enumdicname": {
  6573. "description": "单位名称",
  6574. "type": "string"
  6575. },
  6576. "goodscode": {
  6577. "description": "点价合约代码",
  6578. "type": "string"
  6579. },
  6580. "goodsid": {
  6581. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  6582. "type": "integer"
  6583. },
  6584. "margin": {
  6585. "description": "当前保证金",
  6586. "type": "number"
  6587. },
  6588. "price": {
  6589. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  6590. "type": "number"
  6591. },
  6592. "pricemove": {
  6593. "description": "升贴水 [2:点价 3:暂定价]",
  6594. "type": "number"
  6595. },
  6596. "pricetype": {
  6597. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6598. "type": "integer"
  6599. },
  6600. "producttype": {
  6601. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6602. "type": "integer"
  6603. },
  6604. "qty": {
  6605. "description": "数量",
  6606. "type": "number"
  6607. },
  6608. "remark": {
  6609. "description": "备注",
  6610. "type": "string"
  6611. },
  6612. "selluserid": {
  6613. "description": "销售方ID",
  6614. "type": "integer"
  6615. },
  6616. "sellusername": {
  6617. "description": "销售方名称",
  6618. "type": "string"
  6619. },
  6620. "spotcontractid": {
  6621. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  6622. "type": "string"
  6623. },
  6624. "spotgoodsdesc": {
  6625. "description": "商品型号",
  6626. "type": "string"
  6627. },
  6628. "startdate": {
  6629. "description": "点价开始日期 [2:点价 3:暂定价]",
  6630. "type": "string"
  6631. },
  6632. "userid": {
  6633. "description": "机构ID",
  6634. "type": "integer"
  6635. }
  6636. }
  6637. },
  6638. "ermcp.QryUserInfoRsp": {
  6639. "type": "object",
  6640. "properties": {
  6641. "address": {
  6642. "description": "通讯地址",
  6643. "type": "string"
  6644. },
  6645. "attachment1": {
  6646. "description": "附件1",
  6647. "type": "string"
  6648. },
  6649. "cardfrontphotourl": {
  6650. "description": "证件正面图片地址",
  6651. "type": "string"
  6652. },
  6653. "cardnum": {
  6654. "description": "证件号码",
  6655. "type": "string"
  6656. },
  6657. "cardtype": {
  6658. "description": "证件类型",
  6659. "type": "integer"
  6660. },
  6661. "cardtypename": {
  6662. "description": "证件类型名称",
  6663. "type": "string"
  6664. },
  6665. "cityid": {
  6666. "description": "市",
  6667. "type": "integer"
  6668. },
  6669. "countryid": {
  6670. "description": "国家",
  6671. "type": "integer"
  6672. },
  6673. "customername": {
  6674. "description": "企业名称",
  6675. "type": "string"
  6676. },
  6677. "memberuserid": {
  6678. "description": "所属机构ID",
  6679. "type": "integer"
  6680. },
  6681. "mobile": {
  6682. "description": "手机号码",
  6683. "type": "string"
  6684. },
  6685. "provinceid": {
  6686. "description": "省",
  6687. "type": "integer"
  6688. },
  6689. "remark": {
  6690. "description": "备注",
  6691. "type": "string"
  6692. },
  6693. "status": {
  6694. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6695. "type": "integer"
  6696. },
  6697. "statusdesc": {
  6698. "description": "账户状态中文描述",
  6699. "type": "string"
  6700. },
  6701. "telphone": {
  6702. "description": "联系电话",
  6703. "type": "string"
  6704. },
  6705. "userid": {
  6706. "description": "用户ID",
  6707. "type": "integer"
  6708. },
  6709. "userinfotype": {
  6710. "description": "客户类型",
  6711. "type": "string"
  6712. }
  6713. }
  6714. },
  6715. "ermcp.QryWrStandardRsp": {
  6716. "type": "object",
  6717. "properties": {
  6718. "areauserid": {
  6719. "description": "所属机构",
  6720. "type": "integer"
  6721. },
  6722. "createtime": {
  6723. "description": "创建时间",
  6724. "type": "string"
  6725. },
  6726. "creatorid": {
  6727. "description": "创建人",
  6728. "type": "integer"
  6729. },
  6730. "deliverygoodsid": {
  6731. "description": "品种ID",
  6732. "type": "integer"
  6733. },
  6734. "enumdicname": {
  6735. "description": "单位名称",
  6736. "type": "string"
  6737. },
  6738. "minivalue": {
  6739. "description": "最小变动值",
  6740. "type": "integer"
  6741. },
  6742. "minivaluedp": {
  6743. "description": "最小变动值小数位",
  6744. "type": "integer"
  6745. },
  6746. "realminivalue": {
  6747. "description": "实际最小变动值",
  6748. "type": "integer"
  6749. },
  6750. "realminivaluedp": {
  6751. "description": "实际最小变动值小数位",
  6752. "type": "integer"
  6753. },
  6754. "unitid": {
  6755. "description": "单位ID",
  6756. "type": "integer"
  6757. },
  6758. "wrstandardcode": {
  6759. "description": "现货商品代码",
  6760. "type": "string"
  6761. },
  6762. "wrstandardid": {
  6763. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6764. "type": "integer"
  6765. },
  6766. "wrstandardname": {
  6767. "description": "现货商品名称",
  6768. "type": "string"
  6769. }
  6770. }
  6771. },
  6772. "ermcp.RealtimeExposureRsp": {
  6773. "type": "object",
  6774. "properties": {
  6775. "areaUserID": {
  6776. "description": "所属机构",
  6777. "type": "integer"
  6778. },
  6779. "buyFutureQty": {
  6780. "description": "买入期货数量",
  6781. "type": "number"
  6782. },
  6783. "buyPlanQty": {
  6784. "description": "采购计划数量",
  6785. "type": "number"
  6786. },
  6787. "buyPricedQty": {
  6788. "description": "采购合同已定价数量",
  6789. "type": "number"
  6790. },
  6791. "middleGoodsCode": {
  6792. "description": "套保品种代码",
  6793. "type": "string"
  6794. },
  6795. "middleGoodsHedgeRatio": {
  6796. "description": "应套保比例",
  6797. "type": "number"
  6798. },
  6799. "middleGoodsID": {
  6800. "description": "套保品种",
  6801. "type": "integer"
  6802. },
  6803. "middleGoodsName": {
  6804. "description": "************以下需计算或非redis数据************//",
  6805. "type": "string"
  6806. },
  6807. "needHedgeExposoure": {
  6808. "description": "应套保敞口",
  6809. "type": "number"
  6810. },
  6811. "needHedgeRatio": {
  6812. "description": "应套保敞口比例",
  6813. "type": "number"
  6814. },
  6815. "oriBuyFutureQty": {
  6816. "description": "期初买入期货数量",
  6817. "type": "integer"
  6818. },
  6819. "oriBuyPlanQty": {
  6820. "description": "期初采购计划数量",
  6821. "type": "number"
  6822. },
  6823. "oriBuyPricedQty": {
  6824. "description": "期初采购合同已定价数量",
  6825. "type": "number"
  6826. },
  6827. "oriSellFutureQty": {
  6828. "description": "期初卖出期货数量",
  6829. "type": "integer"
  6830. },
  6831. "oriSellPlanQty": {
  6832. "description": "期初销售计划数量",
  6833. "type": "number"
  6834. },
  6835. "oriSellPricedQty": {
  6836. "description": "期初销售合同已定价数量",
  6837. "type": "number"
  6838. },
  6839. "oriTotalFutuQty": {
  6840. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  6841. "type": "integer"
  6842. },
  6843. "oriTotalSpotQty": {
  6844. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  6845. "type": "number"
  6846. },
  6847. "sellFutureQty": {
  6848. "description": "卖出期货数量",
  6849. "type": "number"
  6850. },
  6851. "sellPlanQty": {
  6852. "description": "销售计划数量",
  6853. "type": "number"
  6854. },
  6855. "sellPricedQty": {
  6856. "description": "销售合同已定价数量",
  6857. "type": "number"
  6858. },
  6859. "totalExposure": {
  6860. "description": "总敞口",
  6861. "type": "number"
  6862. },
  6863. "totalFutureQty": {
  6864. "description": "期货数量",
  6865. "type": "number"
  6866. },
  6867. "totalHedgeRatio": {
  6868. "description": "敞口比例",
  6869. "type": "number"
  6870. },
  6871. "totalNeedHedgeQty": {
  6872. "description": "期货应套保量",
  6873. "type": "number"
  6874. },
  6875. "totalSpotQty": {
  6876. "description": "现货数量",
  6877. "type": "number"
  6878. }
  6879. }
  6880. },
  6881. "erms2.QueryArbitrageStrategyRsp": {
  6882. "type": "object",
  6883. "required": [
  6884. "asapplyid"
  6885. ],
  6886. "properties": {
  6887. "applybasis": {
  6888. "description": "申请基差",
  6889. "type": "number"
  6890. },
  6891. "asapplyid": {
  6892. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6893. "type": "string"
  6894. },
  6895. "asname": {
  6896. "description": "策略名称",
  6897. "type": "string"
  6898. },
  6899. "asno": {
  6900. "description": "策略编号",
  6901. "type": "string"
  6902. },
  6903. "basischangepl": {
  6904. "description": "基差变动损益[结算更新]",
  6905. "type": "number"
  6906. },
  6907. "biztype": {
  6908. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6909. "type": "integer"
  6910. },
  6911. "closetradedate": {
  6912. "description": "完结交易日(yyyyMMdd)",
  6913. "type": "string"
  6914. },
  6915. "curbasis": {
  6916. "description": "当前基差[结算更新]",
  6917. "type": "number"
  6918. },
  6919. "deliverygoodsid": {
  6920. "description": "现货品种ID",
  6921. "type": "integer"
  6922. },
  6923. "futureavgprice": {
  6924. "description": "期货建仓均价",
  6925. "type": "number"
  6926. },
  6927. "futurecloseamount": {
  6928. "description": "期货平仓金额",
  6929. "type": "number"
  6930. },
  6931. "futurecloseqty": {
  6932. "description": "期货平仓数量",
  6933. "type": "number"
  6934. },
  6935. "futureopenamount": {
  6936. "description": "期货开仓金额",
  6937. "type": "number"
  6938. },
  6939. "futureopenqty": {
  6940. "description": "期货开仓数量",
  6941. "type": "number"
  6942. },
  6943. "futurepl": {
  6944. "description": "期货总盈亏[结算更新]",
  6945. "type": "number"
  6946. },
  6947. "futureqty": {
  6948. "description": "期货持仓数量",
  6949. "type": "number"
  6950. },
  6951. "futurequote": {
  6952. "description": "期货额度",
  6953. "type": "number"
  6954. },
  6955. "goodsgroupid": {
  6956. "description": "期货品种ID",
  6957. "type": "integer"
  6958. },
  6959. "marketid": {
  6960. "description": "市场ID",
  6961. "type": "integer"
  6962. },
  6963. "netexposure": {
  6964. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6965. "type": "number"
  6966. },
  6967. "netexposurepl": {
  6968. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6969. "type": "number"
  6970. },
  6971. "netexposurerate": {
  6972. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6973. "type": "number"
  6974. },
  6975. "openbasis": {
  6976. "description": "建仓基差",
  6977. "type": "number"
  6978. },
  6979. "pricedspotqty": {
  6980. "description": "已定价现货数量",
  6981. "type": "number"
  6982. },
  6983. "pricedspotqtynotax": {
  6984. "description": "已定价现货不含税数量",
  6985. "type": "number"
  6986. },
  6987. "remark": {
  6988. "description": "备注",
  6989. "type": "string"
  6990. },
  6991. "spotavgprice": {
  6992. "description": "现货均价",
  6993. "type": "number"
  6994. },
  6995. "spotbuyamount": {
  6996. "description": "现货采购金额",
  6997. "type": "number"
  6998. },
  6999. "spotbuyqty": {
  7000. "description": "现货采购数量",
  7001. "type": "number"
  7002. },
  7003. "spotpl": {
  7004. "description": "现货总盈亏[结算更新]",
  7005. "type": "number"
  7006. },
  7007. "spotquota": {
  7008. "description": "现货额度",
  7009. "type": "number"
  7010. },
  7011. "spotsellamount": {
  7012. "description": "现货销售金额",
  7013. "type": "number"
  7014. },
  7015. "spotsellqty": {
  7016. "description": "现货销售数量",
  7017. "type": "number"
  7018. },
  7019. "spotusedquota": {
  7020. "description": "现货占用资金",
  7021. "type": "number"
  7022. },
  7023. "strategystatus": {
  7024. "description": "策略状态 - 0:未结束 1:已结束",
  7025. "type": "integer"
  7026. },
  7027. "totalpl": {
  7028. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  7029. "type": "number"
  7030. },
  7031. "tradedate": {
  7032. "description": "交易日(yyyyMMdd)",
  7033. "type": "string"
  7034. },
  7035. "updatetime": {
  7036. "description": "更新时间",
  7037. "type": "string"
  7038. },
  7039. "usedquota": {
  7040. "description": "已占用资金",
  7041. "type": "number"
  7042. },
  7043. "userid": {
  7044. "description": "所属机构",
  7045. "type": "integer"
  7046. }
  7047. }
  7048. },
  7049. "erms2.QueryInnerTradeDetailRsp": {
  7050. "type": "object",
  7051. "required": [
  7052. "asapplyid",
  7053. "buyorsell",
  7054. "goodscode",
  7055. "goodsgroupid",
  7056. "goodsgroupname",
  7057. "goodsname",
  7058. "tradeid"
  7059. ],
  7060. "properties": {
  7061. "accountid": {
  7062. "description": "账号ID",
  7063. "type": "integer"
  7064. },
  7065. "agreeunit": {
  7066. "description": "合约单位",
  7067. "type": "number"
  7068. },
  7069. "asapplyid": {
  7070. "description": "策略申请ID",
  7071. "type": "integer"
  7072. },
  7073. "asname": {
  7074. "description": "策略名称",
  7075. "type": "string"
  7076. },
  7077. "asno": {
  7078. "description": "策略编号",
  7079. "type": "string"
  7080. },
  7081. "buyorsell": {
  7082. "description": "方向 - 0:买 1:卖",
  7083. "type": "integer"
  7084. },
  7085. "channelbuildtype": {
  7086. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  7087. "type": "integer"
  7088. },
  7089. "closetype": {
  7090. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  7091. "type": "integer"
  7092. },
  7093. "decimalplace": {
  7094. "description": "报价小数位",
  7095. "type": "integer"
  7096. },
  7097. "detailtype": {
  7098. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  7099. "type": "integer"
  7100. },
  7101. "exexchangecode": {
  7102. "description": "外部交易所代码",
  7103. "type": "string"
  7104. },
  7105. "exexchangename": {
  7106. "description": "外部交易所名称",
  7107. "type": "string"
  7108. },
  7109. "goodscode": {
  7110. "description": "商品代码(合约)",
  7111. "type": "string"
  7112. },
  7113. "goodsgroupid": {
  7114. "description": "商品组ID(品种ID)",
  7115. "type": "integer"
  7116. },
  7117. "goodsgroupname": {
  7118. "description": "商品组名称(品种)",
  7119. "type": "string"
  7120. },
  7121. "goodsid": {
  7122. "description": "商品ID",
  7123. "type": "integer"
  7124. },
  7125. "goodsname": {
  7126. "description": "商品名称(合约)",
  7127. "type": "string"
  7128. },
  7129. "goodunit": {
  7130. "description": "报价单位",
  7131. "type": "string"
  7132. },
  7133. "marketid": {
  7134. "description": "市场ID",
  7135. "type": "integer"
  7136. },
  7137. "orderid": {
  7138. "description": "委托单号",
  7139. "type": "string"
  7140. },
  7141. "outgoodscode": {
  7142. "description": "商品代码(外部)",
  7143. "type": "string"
  7144. },
  7145. "relatedouttradeid": {
  7146. "description": "关联外部成交单ID",
  7147. "type": "string"
  7148. },
  7149. "remark": {
  7150. "description": "备注",
  7151. "type": "string"
  7152. },
  7153. "spotcontractid": {
  7154. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  7155. "type": "integer"
  7156. },
  7157. "spotcontractno": {
  7158. "description": "现货合同编号",
  7159. "type": "string"
  7160. },
  7161. "tradeid": {
  7162. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7163. "type": "string"
  7164. },
  7165. "tradeprice": {
  7166. "description": "成交价格",
  7167. "type": "number"
  7168. },
  7169. "tradeqty": {
  7170. "description": "成交数量",
  7171. "type": "integer"
  7172. },
  7173. "tradetime": {
  7174. "description": "成交时间",
  7175. "type": "string"
  7176. },
  7177. "updatetime": {
  7178. "description": "更新时间",
  7179. "type": "string"
  7180. }
  7181. }
  7182. },
  7183. "erms2.QuerySpotContractRsp": {
  7184. "type": "object",
  7185. "required": [
  7186. "spotcontractid"
  7187. ],
  7188. "properties": {
  7189. "accountid": {
  7190. "description": "资金账户ID",
  7191. "type": "integer"
  7192. },
  7193. "areauserid": {
  7194. "description": "所属机构",
  7195. "type": "integer"
  7196. },
  7197. "closedate": {
  7198. "description": "终止日期",
  7199. "type": "string"
  7200. },
  7201. "closeremark": {
  7202. "description": "结束备注",
  7203. "type": "string"
  7204. },
  7205. "closetradedate": {
  7206. "description": "完结交易日(yyyyMMdd)",
  7207. "type": "string"
  7208. },
  7209. "closetype": {
  7210. "description": "终止类型 - 1:违约 2:提前终止",
  7211. "type": "integer"
  7212. },
  7213. "contractamount": {
  7214. "description": "合同金额",
  7215. "type": "number"
  7216. },
  7217. "contractattachment": {
  7218. "description": "合同附件",
  7219. "type": "string"
  7220. },
  7221. "contractno": {
  7222. "description": "现货合同编号",
  7223. "type": "string"
  7224. },
  7225. "contractqty": {
  7226. "description": "合同数量(数值) (用于计算)",
  7227. "type": "number"
  7228. },
  7229. "contractqtychar": {
  7230. "description": "合同数量\\已订价数量 (用于显示)",
  7231. "type": "string"
  7232. },
  7233. "contractstatus": {
  7234. "description": "合同状态 - 0:未结束 1:已结束",
  7235. "type": "integer"
  7236. },
  7237. "contracttype": {
  7238. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7239. "type": "integer"
  7240. },
  7241. "customeraccountid": {
  7242. "description": "客户资金账户ID",
  7243. "type": "integer"
  7244. },
  7245. "customeruserid": {
  7246. "description": "客户ID",
  7247. "type": "integer"
  7248. },
  7249. "deliverygoodsdesc": {
  7250. "description": "品种说明",
  7251. "type": "string"
  7252. },
  7253. "deliverygoodsid": {
  7254. "description": "现货品种ID",
  7255. "type": "integer"
  7256. },
  7257. "handlestatus": {
  7258. "description": "处理状态",
  7259. "type": "integer"
  7260. },
  7261. "invoiceatt": {
  7262. "description": "发票附件",
  7263. "type": "string"
  7264. },
  7265. "invoicedatetime": {
  7266. "description": "开收票更新时间",
  7267. "type": "string"
  7268. },
  7269. "invoiceopentime": {
  7270. "description": "开票时间",
  7271. "type": "string"
  7272. },
  7273. "invoiceremark": {
  7274. "description": "发票备注",
  7275. "type": "string"
  7276. },
  7277. "invoicestatus": {
  7278. "description": "开收票状态 - 0:未开票 1:已开票",
  7279. "type": "integer"
  7280. },
  7281. "lastdate": {
  7282. "description": "交货时间",
  7283. "type": "string"
  7284. },
  7285. "marketid": {
  7286. "description": "市场ID",
  7287. "type": "integer"
  7288. },
  7289. "paydatetime": {
  7290. "description": "收付款更新时间",
  7291. "type": "string"
  7292. },
  7293. "payremark": {
  7294. "description": "收付款备注",
  7295. "type": "string"
  7296. },
  7297. "paystatus": {
  7298. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7299. "type": "integer"
  7300. },
  7301. "positionqty": {
  7302. "description": "头寸数量 - 合同数量去小数部分",
  7303. "type": "integer"
  7304. },
  7305. "producttype": {
  7306. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7307. "type": "integer"
  7308. },
  7309. "relatedqty": {
  7310. "description": "已关联数量",
  7311. "type": "number"
  7312. },
  7313. "relatedstatus": {
  7314. "description": "关联完结状态 - 0:未结束 1:已结束",
  7315. "type": "integer"
  7316. },
  7317. "remark": {
  7318. "description": "备注",
  7319. "type": "string"
  7320. },
  7321. "signdate": {
  7322. "description": "签订日期",
  7323. "type": "string"
  7324. },
  7325. "spotcontractid": {
  7326. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7327. "type": "string"
  7328. },
  7329. "spotdatetime": {
  7330. "description": "收发货更新时间",
  7331. "type": "string"
  7332. },
  7333. "spotprice": {
  7334. "description": "价格",
  7335. "type": "number"
  7336. },
  7337. "spotremark": {
  7338. "description": "收发货备注",
  7339. "type": "string"
  7340. },
  7341. "spotstatus": {
  7342. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7343. "type": "integer"
  7344. },
  7345. "tradedate": {
  7346. "description": "交易日(yyyyMMdd)",
  7347. "type": "string"
  7348. },
  7349. "userid": {
  7350. "description": "业务员用户ID",
  7351. "type": "integer"
  7352. },
  7353. "warehouseid": {
  7354. "description": "仓库ID",
  7355. "type": "integer"
  7356. },
  7357. "wrfactortypeid": {
  7358. "description": "仓单要素类型ID",
  7359. "type": "integer"
  7360. },
  7361. "wrstandardid": {
  7362. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7363. "type": "integer"
  7364. }
  7365. }
  7366. },
  7367. "erms3.AddErms2ASApplyReq": {
  7368. "type": "object",
  7369. "required": [
  7370. "asapplyid"
  7371. ],
  7372. "properties": {
  7373. "applybasis": {
  7374. "description": "申请基差",
  7375. "type": "number"
  7376. },
  7377. "applystatus": {
  7378. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7379. "type": "integer"
  7380. },
  7381. "asapplyid": {
  7382. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7383. "type": "integer"
  7384. },
  7385. "asname": {
  7386. "description": "策略名称",
  7387. "type": "string"
  7388. },
  7389. "asno": {
  7390. "description": "策略编号",
  7391. "type": "string"
  7392. },
  7393. "auditid": {
  7394. "description": "审核人",
  7395. "type": "integer"
  7396. },
  7397. "auditremark": {
  7398. "description": "审核备注",
  7399. "type": "string"
  7400. },
  7401. "audittime": {
  7402. "description": "审核时间",
  7403. "type": "string"
  7404. },
  7405. "biztype": {
  7406. "description": "业务类型 - 1:正向套利 2:反向套利",
  7407. "type": "integer"
  7408. },
  7409. "createtime": {
  7410. "description": "创建时间",
  7411. "type": "string"
  7412. },
  7413. "creatorid": {
  7414. "description": "创建人",
  7415. "type": "integer"
  7416. },
  7417. "deliverygoodsid": {
  7418. "description": "现货品种ID",
  7419. "type": "integer"
  7420. },
  7421. "futurequote": {
  7422. "description": "期货额度",
  7423. "type": "number"
  7424. },
  7425. "goodsgroupid": {
  7426. "description": "期货品种ID",
  7427. "type": "integer"
  7428. },
  7429. "marketid": {
  7430. "description": "市场ID",
  7431. "type": "integer"
  7432. },
  7433. "remark": {
  7434. "description": "备注",
  7435. "type": "string"
  7436. },
  7437. "spotquota": {
  7438. "description": "现货额度",
  7439. "type": "number"
  7440. },
  7441. "tradedate": {
  7442. "description": "交易日(yyyyMMdd)",
  7443. "type": "string"
  7444. },
  7445. "userid": {
  7446. "description": "所属机构",
  7447. "type": "integer"
  7448. }
  7449. }
  7450. },
  7451. "erms3.AddErms2SpotTradeApplyReq": {
  7452. "type": "object",
  7453. "required": [
  7454. "spottradeid"
  7455. ],
  7456. "properties": {
  7457. "applyjsondetail": {
  7458. "description": "申请明细(JSON)",
  7459. "type": "string"
  7460. },
  7461. "applystatus": {
  7462. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7463. "type": "integer"
  7464. },
  7465. "areauserid": {
  7466. "description": "所属机构",
  7467. "type": "integer"
  7468. },
  7469. "auditid": {
  7470. "description": "审核人",
  7471. "type": "integer"
  7472. },
  7473. "auditremark": {
  7474. "description": "审核备注",
  7475. "type": "string"
  7476. },
  7477. "audittime": {
  7478. "description": "审核时间",
  7479. "type": "string"
  7480. },
  7481. "createtime": {
  7482. "description": "创建时间",
  7483. "type": "string"
  7484. },
  7485. "creatorid": {
  7486. "description": "创建人",
  7487. "type": "integer"
  7488. },
  7489. "deliverygoodsid": {
  7490. "description": "现货品种ID",
  7491. "type": "integer"
  7492. },
  7493. "futureaccountid": {
  7494. "description": "期货资金账户",
  7495. "type": "integer"
  7496. },
  7497. "goodsgroupid": {
  7498. "description": "期货品种",
  7499. "type": "integer"
  7500. },
  7501. "marketid": {
  7502. "description": "市场ID",
  7503. "type": "integer"
  7504. },
  7505. "remark": {
  7506. "description": "备注",
  7507. "type": "string"
  7508. },
  7509. "spotaccountid": {
  7510. "description": "现货资金账户",
  7511. "type": "integer"
  7512. },
  7513. "spottradeid": {
  7514. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7515. "type": "integer"
  7516. },
  7517. "spottradename": {
  7518. "description": "业务名称",
  7519. "type": "string"
  7520. },
  7521. "spottradeno": {
  7522. "description": "业务编号",
  7523. "type": "string"
  7524. },
  7525. "tradedate": {
  7526. "description": "交易日(yyyyMMdd)",
  7527. "type": "string"
  7528. },
  7529. "wrstandardid": {
  7530. "description": "仓单标准ID",
  7531. "type": "integer"
  7532. }
  7533. }
  7534. },
  7535. "erms3.AddSpotContractApplyReq": {
  7536. "type": "object",
  7537. "required": [
  7538. "accountid",
  7539. "areauserid",
  7540. "contractno",
  7541. "contracttype",
  7542. "customeraccountid",
  7543. "customeruserid",
  7544. "details",
  7545. "orimargin",
  7546. "signdate"
  7547. ],
  7548. "properties": {
  7549. "accountid": {
  7550. "description": "资金账户ID",
  7551. "type": "integer"
  7552. },
  7553. "areauserid": {
  7554. "description": "所属机构",
  7555. "type": "integer"
  7556. },
  7557. "contractattachment": {
  7558. "description": "合同附件",
  7559. "type": "string"
  7560. },
  7561. "contractno": {
  7562. "description": "现货合同编号",
  7563. "type": "string"
  7564. },
  7565. "contracttype": {
  7566. "description": "现货合同类型 - 1:采购 -1:销售",
  7567. "type": "integer"
  7568. },
  7569. "creatorid": {
  7570. "description": "申请人",
  7571. "type": "integer"
  7572. },
  7573. "customeraccountid": {
  7574. "description": "客户资金账户ID",
  7575. "type": "integer"
  7576. },
  7577. "customeruserid": {
  7578. "description": "客户ID",
  7579. "type": "integer"
  7580. },
  7581. "details": {
  7582. "description": "明细",
  7583. "type": "array",
  7584. "items": {
  7585. "$ref": "#/definitions/erms3.SoptContractDetail"
  7586. }
  7587. },
  7588. "orimargin": {
  7589. "description": "初始保证金",
  7590. "type": "number"
  7591. },
  7592. "remark": {
  7593. "description": "备注",
  7594. "type": "string"
  7595. },
  7596. "signdate": {
  7597. "description": "签订日期",
  7598. "type": "string"
  7599. }
  7600. }
  7601. },
  7602. "erms3.AddSpotContractApplyRsp": {
  7603. "type": "object",
  7604. "required": [
  7605. "contractno"
  7606. ],
  7607. "properties": {
  7608. "contractno": {
  7609. "description": "现货合同编号",
  7610. "type": "string"
  7611. },
  7612. "spotcontractid": {
  7613. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7614. "type": "integer"
  7615. }
  7616. }
  7617. },
  7618. "erms3.AddUserInfoApplyReq": {
  7619. "type": "object",
  7620. "required": [
  7621. "userid"
  7622. ],
  7623. "properties": {
  7624. "accountid": {
  7625. "description": "交易系统帐号Id (加密存储)",
  7626. "type": "integer"
  7627. },
  7628. "areacode": {
  7629. "description": "机构代码",
  7630. "type": "string"
  7631. },
  7632. "areaid": {
  7633. "description": "机构Id",
  7634. "type": "integer"
  7635. },
  7636. "attachment1": {
  7637. "description": "附件1",
  7638. "type": "string"
  7639. },
  7640. "attachment2": {
  7641. "description": "附件2",
  7642. "type": "string"
  7643. },
  7644. "attachment3": {
  7645. "description": "附件3",
  7646. "type": "string"
  7647. },
  7648. "attachment4": {
  7649. "description": "附件4",
  7650. "type": "string"
  7651. },
  7652. "attachment5": {
  7653. "description": "附件5",
  7654. "type": "string"
  7655. },
  7656. "auditedby": {
  7657. "description": "审核人",
  7658. "type": "string"
  7659. },
  7660. "auditime": {
  7661. "description": "审核时间",
  7662. "type": "string"
  7663. },
  7664. "bankaccount": {
  7665. "description": "银行帐号 (加密存储)",
  7666. "type": "string"
  7667. },
  7668. "bankaccountname": {
  7669. "description": "收款人名称",
  7670. "type": "string"
  7671. },
  7672. "bankcardbackphotourl": {
  7673. "description": "银行卡背面照地址",
  7674. "type": "string"
  7675. },
  7676. "bankcardfrontphotourl": {
  7677. "description": "银行卡正面照地址",
  7678. "type": "string"
  7679. },
  7680. "bankid": {
  7681. "description": "银行编码",
  7682. "type": "string"
  7683. },
  7684. "bankname": {
  7685. "description": "银行名称",
  7686. "type": "string"
  7687. },
  7688. "bankpictureurl": {
  7689. "description": "银行卡正面地址",
  7690. "type": "string"
  7691. },
  7692. "biznature": {
  7693. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7694. "type": "integer"
  7695. },
  7696. "bizscope": {
  7697. "description": "企业经营范围(企业)",
  7698. "type": "string"
  7699. },
  7700. "biztype": {
  7701. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7702. "type": "integer"
  7703. },
  7704. "brokerid": {
  7705. "description": "经纪人ID(加密存储)",
  7706. "type": "string"
  7707. },
  7708. "cardaddress": {
  7709. "description": "证件地址 (加密存储)",
  7710. "type": "string"
  7711. },
  7712. "cardbackphotourl": {
  7713. "description": "背面证件照地址",
  7714. "type": "string"
  7715. },
  7716. "cardfrontphotourl": {
  7717. "description": "正面证件照地址",
  7718. "type": "string"
  7719. },
  7720. "cardnum": {
  7721. "description": "证件号码 (加密存储)",
  7722. "type": "string"
  7723. },
  7724. "cardtype": {
  7725. "description": "证件类型",
  7726. "type": "integer"
  7727. },
  7728. "cityid": {
  7729. "description": "市",
  7730. "type": "integer"
  7731. },
  7732. "company": {
  7733. "description": "公司(个人)",
  7734. "type": "string"
  7735. },
  7736. "contactcardbackphotourl": {
  7737. "description": "联系人证件背面图片地址",
  7738. "type": "string"
  7739. },
  7740. "contactcardfrontphotourl": {
  7741. "description": "联系人证件正面图片地址",
  7742. "type": "string"
  7743. },
  7744. "contactname": {
  7745. "description": "联系人",
  7746. "type": "string"
  7747. },
  7748. "countryid": {
  7749. "description": "国家",
  7750. "type": "integer"
  7751. },
  7752. "createtime": {
  7753. "description": "开户申请时间",
  7754. "type": "string"
  7755. },
  7756. "cusbankid": {
  7757. "description": "签约类型",
  7758. "type": "string"
  7759. },
  7760. "cusbankname": {
  7761. "description": "签约类型名称",
  7762. "type": "string"
  7763. },
  7764. "customername": {
  7765. "description": "客户名称(企业名称)",
  7766. "type": "string"
  7767. },
  7768. "districtid": {
  7769. "description": "地区",
  7770. "type": "integer"
  7771. },
  7772. "email": {
  7773. "description": "Email地址(加密存储)",
  7774. "type": "string"
  7775. },
  7776. "halfbodyphotourl": {
  7777. "description": "半身照地址",
  7778. "type": "string"
  7779. },
  7780. "headurl": {
  7781. "description": "头像地址",
  7782. "type": "string"
  7783. },
  7784. "ipaddress": {
  7785. "description": "IP地址",
  7786. "type": "string"
  7787. },
  7788. "isvalidate": {
  7789. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7790. "type": "string"
  7791. },
  7792. "legalcardbackphotourl": {
  7793. "description": "法人身份证背面照地址",
  7794. "type": "string"
  7795. },
  7796. "legalcardfrontphotourl": {
  7797. "description": "法人身份证正面照地址",
  7798. "type": "string"
  7799. },
  7800. "legalpersonname": {
  7801. "description": "法人姓名(企业)",
  7802. "type": "string"
  7803. },
  7804. "logincode": {
  7805. "description": "登录帐号 (加密存储)",
  7806. "type": "string"
  7807. },
  7808. "memberareaid": {
  7809. "description": "所属会员ID",
  7810. "type": "integer"
  7811. },
  7812. "mobile2": {
  7813. "description": "手机号码[明文-尚志]",
  7814. "type": "string"
  7815. },
  7816. "mobilephone": {
  7817. "description": "手机号码 (加密存储)",
  7818. "type": "string"
  7819. },
  7820. "modifiedby": {
  7821. "description": "修改人帐号",
  7822. "type": "integer"
  7823. },
  7824. "modifiedtime": {
  7825. "description": "修改时间",
  7826. "type": "string"
  7827. },
  7828. "nickname": {
  7829. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7830. "type": "string"
  7831. },
  7832. "openmode": {
  7833. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7834. "type": "integer"
  7835. },
  7836. "otherurl": {
  7837. "description": "其它图片地址[使用分号分隔]",
  7838. "type": "string"
  7839. },
  7840. "postalcode": {
  7841. "description": "邮政编码",
  7842. "type": "string"
  7843. },
  7844. "provinceid": {
  7845. "description": "省",
  7846. "type": "integer"
  7847. },
  7848. "proxystatementurl": {
  7849. "description": "授权委托书",
  7850. "type": "string"
  7851. },
  7852. "qq": {
  7853. "description": "QQ(加密存储",
  7854. "type": "string"
  7855. },
  7856. "referral": {
  7857. "description": "推荐人编码",
  7858. "type": "string"
  7859. },
  7860. "remark": {
  7861. "description": "备注",
  7862. "type": "string"
  7863. },
  7864. "removebeforestatus": {
  7865. "description": "REMOVEBEFORESTATUS",
  7866. "type": "integer"
  7867. },
  7868. "sex": {
  7869. "description": "性别 - 0:女 1:男",
  7870. "type": "integer"
  7871. },
  7872. "signedstatus": {
  7873. "description": "账户一号签签约状态",
  7874. "type": "integer"
  7875. },
  7876. "signpdfurl": {
  7877. "description": "签约pdf文件",
  7878. "type": "string"
  7879. },
  7880. "subbranch": {
  7881. "description": "开户支行",
  7882. "type": "string"
  7883. },
  7884. "telphone": {
  7885. "description": "联系电话(加密存储)",
  7886. "type": "string"
  7887. },
  7888. "userid": {
  7889. "description": "用户ID(自增ID)",
  7890. "type": "integer"
  7891. },
  7892. "userinfotype": {
  7893. "description": "用户信息类型 - 1:个人 2:企业",
  7894. "type": "integer"
  7895. },
  7896. "username": {
  7897. "description": "用户姓名",
  7898. "type": "string"
  7899. },
  7900. "userstate": {
  7901. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7902. "type": "integer"
  7903. },
  7904. "usertype": {
  7905. "description": "用户类型 - 1:投资者 2:机构",
  7906. "type": "integer"
  7907. },
  7908. "videourl": {
  7909. "description": "视频地址",
  7910. "type": "string"
  7911. },
  7912. "wechat": {
  7913. "description": "微信号 (加密存储)",
  7914. "type": "string"
  7915. }
  7916. }
  7917. },
  7918. "erms3.CustomerInfo": {
  7919. "type": "object",
  7920. "required": [
  7921. "userid"
  7922. ],
  7923. "properties": {
  7924. "accountids": {
  7925. "description": "资金账户ID列表",
  7926. "type": "array",
  7927. "items": {
  7928. "type": "integer"
  7929. }
  7930. },
  7931. "customername": {
  7932. "description": "名称(企业名称)",
  7933. "type": "string"
  7934. },
  7935. "mobile": {
  7936. "description": "手机号码",
  7937. "type": "string"
  7938. },
  7939. "userid": {
  7940. "description": "用户ID",
  7941. "type": "integer"
  7942. }
  7943. }
  7944. },
  7945. "erms3.QryAuditContractRsp": {
  7946. "type": "object",
  7947. "required": [
  7948. "matchcustomername",
  7949. "spotcontractid"
  7950. ],
  7951. "properties": {
  7952. "accountid": {
  7953. "description": "交易员ID",
  7954. "type": "string"
  7955. },
  7956. "applystatus": {
  7957. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7958. "type": "integer"
  7959. },
  7960. "curdeliveryqty": {
  7961. "description": "未交收量",
  7962. "type": "integer"
  7963. },
  7964. "customername": {
  7965. "description": "采购方ID",
  7966. "type": "string"
  7967. },
  7968. "deliverygoodsid": {
  7969. "description": "品种ID",
  7970. "type": "string"
  7971. },
  7972. "deliveryqty": {
  7973. "description": "交收量",
  7974. "type": "integer"
  7975. },
  7976. "enumdicname": {
  7977. "description": "单位名称",
  7978. "type": "string"
  7979. },
  7980. "matchaccountid": {
  7981. "description": "业务员ID",
  7982. "type": "string"
  7983. },
  7984. "matchcustomername": {
  7985. "description": "销售方ID",
  7986. "type": "string"
  7987. },
  7988. "pricedqty": {
  7989. "description": "定价量",
  7990. "type": "number"
  7991. },
  7992. "signdate": {
  7993. "description": "签订日期",
  7994. "type": "string"
  7995. },
  7996. "spotcontractid": {
  7997. "description": "合同ID",
  7998. "type": "string"
  7999. },
  8000. "totaldqty": {
  8001. "description": "合同量",
  8002. "type": "number"
  8003. },
  8004. "unpricedqty": {
  8005. "description": "未定价量",
  8006. "type": "number"
  8007. },
  8008. "wrstandardname": {
  8009. "description": "商品名称",
  8010. "type": "string"
  8011. }
  8012. }
  8013. },
  8014. "erms3.QryPendingBizRsp": {
  8015. "type": "object",
  8016. "properties": {
  8017. "accountid": {
  8018. "description": "现货账户",
  8019. "type": "string"
  8020. },
  8021. "areaname": {
  8022. "description": "所属部门",
  8023. "type": "string"
  8024. },
  8025. "bizid": {
  8026. "description": "业务ID",
  8027. "type": "string"
  8028. },
  8029. "bizname": {
  8030. "description": "业务名称",
  8031. "type": "string"
  8032. },
  8033. "status": {
  8034. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8035. "type": "integer"
  8036. },
  8037. "type": {
  8038. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  8039. "type": "integer"
  8040. }
  8041. }
  8042. },
  8043. "erms3.QueryBusinessInfoRsp": {
  8044. "type": "object",
  8045. "properties": {
  8046. "businessid": {
  8047. "description": "业务ID.",
  8048. "type": "integer"
  8049. },
  8050. "buyamount": {
  8051. "description": "采购额.",
  8052. "type": "number"
  8053. },
  8054. "buyqty": {
  8055. "description": "采购量.",
  8056. "type": "string"
  8057. },
  8058. "futurepl": {
  8059. "description": "期货盈亏.",
  8060. "type": "number"
  8061. },
  8062. "futureqty": {
  8063. "description": "期货敞口.",
  8064. "type": "string"
  8065. },
  8066. "goodsid": {
  8067. "description": "商品名称/商品代码.",
  8068. "type": "string"
  8069. },
  8070. "hedgingqty": {
  8071. "description": "套保量.",
  8072. "type": "string"
  8073. },
  8074. "sellamount": {
  8075. "description": "销售额.",
  8076. "type": "number"
  8077. },
  8078. "sellqty": {
  8079. "description": "销售量.",
  8080. "type": "string"
  8081. },
  8082. "spotmarketvalue": {
  8083. "description": "现货市值.",
  8084. "type": "number"
  8085. },
  8086. "spotpl": {
  8087. "description": "浮动权益.",
  8088. "type": "number"
  8089. },
  8090. "spotqty": {
  8091. "description": "现货量.",
  8092. "type": "string"
  8093. },
  8094. "statu": {
  8095. "description": "状态,0-未结束 1-已结束.",
  8096. "type": "integer"
  8097. },
  8098. "totalpl": {
  8099. "description": "总盈亏.",
  8100. "type": "number"
  8101. },
  8102. "totalqty": {
  8103. "description": "总敞口.",
  8104. "type": "string"
  8105. },
  8106. "type": {
  8107. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  8108. "type": "integer"
  8109. }
  8110. }
  8111. },
  8112. "erms3.QuerySpotContractAppleFormRsp": {
  8113. "type": "object",
  8114. "properties": {
  8115. "goodses": {
  8116. "description": "合约列表",
  8117. "type": "array",
  8118. "items": {
  8119. "$ref": "#/definitions/models.GoodsIDAndName"
  8120. }
  8121. },
  8122. "oppositeusers": {
  8123. "description": "对方账号列表",
  8124. "type": "array",
  8125. "items": {
  8126. "$ref": "#/definitions/erms3.CustomerInfo"
  8127. }
  8128. },
  8129. "ouruser": {
  8130. "description": "我方账号",
  8131. "$ref": "#/definitions/erms3.CustomerInfo"
  8132. },
  8133. "warehouseinfos": {
  8134. "description": "仓库信息列表",
  8135. "type": "array",
  8136. "items": {
  8137. "$ref": "#/definitions/models.Warehouseinfo"
  8138. }
  8139. },
  8140. "wrstandards": {
  8141. "description": "仓单标准列表",
  8142. "type": "array",
  8143. "items": {
  8144. "$ref": "#/definitions/models.WRStandardInfo"
  8145. }
  8146. }
  8147. }
  8148. },
  8149. "erms3.QuerySpotContractInfoRsp": {
  8150. "type": "object",
  8151. "properties": {
  8152. "accountid": {
  8153. "description": "表示交易员ID.",
  8154. "type": "integer"
  8155. },
  8156. "curdeliveryqty": {
  8157. "description": "表示未交收量.",
  8158. "type": "number"
  8159. },
  8160. "customername": {
  8161. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  8162. "type": "string"
  8163. },
  8164. "deliverygoodsid": {
  8165. "description": "表示品种ID.",
  8166. "type": "string"
  8167. },
  8168. "deliveryqty": {
  8169. "description": "表示交收量.",
  8170. "type": "number"
  8171. },
  8172. "matchaccountid": {
  8173. "description": "表示业务员ID.",
  8174. "type": "integer"
  8175. },
  8176. "matchcustomername": {
  8177. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  8178. "type": "string"
  8179. },
  8180. "priceqty": {
  8181. "description": "表示定价量.",
  8182. "type": "number"
  8183. },
  8184. "relatedbizid": {
  8185. "description": "表示业务ID.",
  8186. "type": "string"
  8187. },
  8188. "signdate": {
  8189. "description": "表示签订日期.",
  8190. "type": "string"
  8191. },
  8192. "spotcontractid": {
  8193. "description": "合同ID",
  8194. "type": "string"
  8195. },
  8196. "status": {
  8197. "description": "表示状态,0-履约中 1-已完成.",
  8198. "type": "integer"
  8199. },
  8200. "totalqty": {
  8201. "description": "表示合同量.",
  8202. "type": "number"
  8203. },
  8204. "unpricedqty": {
  8205. "description": "表示未定价量.",
  8206. "type": "number"
  8207. },
  8208. "wrstandardname": {
  8209. "description": "表示商品ID.",
  8210. "type": "string"
  8211. }
  8212. }
  8213. },
  8214. "erms3.QueryUserInfoAppliesRsp": {
  8215. "type": "object",
  8216. "required": [
  8217. "userid"
  8218. ],
  8219. "properties": {
  8220. "biznature": {
  8221. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8222. "type": "integer"
  8223. },
  8224. "contactname": {
  8225. "description": "联系人",
  8226. "type": "string"
  8227. },
  8228. "createtime": {
  8229. "description": "开户申请时间",
  8230. "type": "string"
  8231. },
  8232. "userid": {
  8233. "description": "用户ID(自增ID)",
  8234. "type": "integer"
  8235. },
  8236. "userinfotype": {
  8237. "description": "用户信息类型 - 1:个人 2:企业",
  8238. "type": "integer"
  8239. },
  8240. "username": {
  8241. "description": "用户姓名",
  8242. "type": "string"
  8243. },
  8244. "userstate": {
  8245. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8246. "type": "integer"
  8247. }
  8248. }
  8249. },
  8250. "erms3.QueryUserInfosRsp": {
  8251. "type": "object",
  8252. "required": [
  8253. "userid"
  8254. ],
  8255. "properties": {
  8256. "biznature": {
  8257. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8258. "type": "integer"
  8259. },
  8260. "contactname": {
  8261. "description": "联系人",
  8262. "type": "string"
  8263. },
  8264. "customername": {
  8265. "description": "客户名称(企业名称)",
  8266. "type": "string"
  8267. },
  8268. "userid": {
  8269. "description": "用户ID",
  8270. "type": "integer"
  8271. },
  8272. "userinfotype": {
  8273. "description": "用户信息类型 - 1:个人 2:企业",
  8274. "type": "integer"
  8275. },
  8276. "userstatus": {
  8277. "description": "用户状态 - 1:正常 2:注销",
  8278. "type": "integer"
  8279. }
  8280. }
  8281. },
  8282. "erms3.SoptContractDetail": {
  8283. "type": "object",
  8284. "required": [
  8285. "deliverygoodsid",
  8286. "producttype",
  8287. "unitname",
  8288. "warehouseid",
  8289. "wrstandardid",
  8290. "wrstandardname"
  8291. ],
  8292. "properties": {
  8293. "deliverygoodsdesc": {
  8294. "description": "现货品种说明",
  8295. "type": "string"
  8296. },
  8297. "deliverygoodsid": {
  8298. "description": "现货品种ID",
  8299. "type": "integer"
  8300. },
  8301. "deliverygoodsname": {
  8302. "description": "现货品种名称",
  8303. "type": "string"
  8304. },
  8305. "pointdesc": {
  8306. "description": "点价描述",
  8307. "type": "string"
  8308. },
  8309. "producttype": {
  8310. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8311. "type": "integer"
  8312. },
  8313. "producttypename": {
  8314. "description": "产品类型名称",
  8315. "type": "string"
  8316. },
  8317. "spotPointOrderVoList": {
  8318. "description": "点价列表",
  8319. "type": "array",
  8320. "items": {
  8321. "$ref": "#/definitions/erms3.SpotPointOrder"
  8322. }
  8323. },
  8324. "spotPriceOrderList": {
  8325. "description": "定价列表",
  8326. "type": "array",
  8327. "items": {
  8328. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8329. }
  8330. },
  8331. "unitname": {
  8332. "description": "单位名称",
  8333. "type": "string"
  8334. },
  8335. "warehouseid": {
  8336. "description": "仓库ID",
  8337. "type": "integer"
  8338. },
  8339. "warehousename": {
  8340. "description": "仓库名称",
  8341. "type": "string"
  8342. },
  8343. "wrstandardid": {
  8344. "description": "交易标的ID",
  8345. "type": "integer"
  8346. },
  8347. "wrstandardname": {
  8348. "description": "交易标的名称",
  8349. "type": "string"
  8350. }
  8351. }
  8352. },
  8353. "erms3.SpotPointOrder": {
  8354. "type": "object",
  8355. "required": [
  8356. "basic",
  8357. "goodsid",
  8358. "qty"
  8359. ],
  8360. "properties": {
  8361. "basic": {
  8362. "description": "基差",
  8363. "type": "number"
  8364. },
  8365. "deliveryenddate": {
  8366. "description": "交收结束日期",
  8367. "type": "string"
  8368. },
  8369. "deliverystartdate": {
  8370. "description": "交收开始日期",
  8371. "type": "string"
  8372. },
  8373. "enddate": {
  8374. "description": "点价结束日期",
  8375. "type": "string"
  8376. },
  8377. "goodsid": {
  8378. "description": "商品ID",
  8379. "type": "integer"
  8380. },
  8381. "goodsname": {
  8382. "description": "商品名称",
  8383. "type": "string"
  8384. },
  8385. "qty": {
  8386. "description": "数量",
  8387. "type": "number"
  8388. },
  8389. "startdate": {
  8390. "description": "点价开始日期",
  8391. "type": "string"
  8392. }
  8393. }
  8394. },
  8395. "erms3.SpotPriceOrder": {
  8396. "type": "object",
  8397. "required": [
  8398. "amount",
  8399. "price",
  8400. "qty"
  8401. ],
  8402. "properties": {
  8403. "amount": {
  8404. "description": "金额",
  8405. "type": "number"
  8406. },
  8407. "deliveryenddate": {
  8408. "description": "交收结束日期",
  8409. "type": "string"
  8410. },
  8411. "deliverystartdate": {
  8412. "description": "交收开始日期",
  8413. "type": "string"
  8414. },
  8415. "price": {
  8416. "description": "价格",
  8417. "type": "number"
  8418. },
  8419. "qty": {
  8420. "description": "数量",
  8421. "type": "number"
  8422. }
  8423. }
  8424. },
  8425. "hsby.GetHsbyMyCountRsp": {
  8426. "type": "object",
  8427. "properties": {
  8428. "myCouponCount": {
  8429. "description": "我的优惠卷数量",
  8430. "type": "integer"
  8431. },
  8432. "myOrderDetailListingCount": {
  8433. "description": "我的订单求购中数量",
  8434. "type": "integer"
  8435. },
  8436. "myOrderDetailPreCount": {
  8437. "description": "我的订单抢购中数量",
  8438. "type": "integer"
  8439. },
  8440. "myPackageUnReceiveCount": {
  8441. "description": "我的包裹待收货数量",
  8442. "type": "integer"
  8443. },
  8444. "myPackageUnSendCount": {
  8445. "description": "我的包裹待发货数量",
  8446. "type": "integer"
  8447. },
  8448. "myPayOrderCount": {
  8449. "description": "我的订单待付款数量",
  8450. "type": "integer"
  8451. }
  8452. }
  8453. },
  8454. "hsby.QueryProvincesAndCitiesRsp": {
  8455. "type": "object",
  8456. "properties": {
  8457. "cities": {
  8458. "description": "市",
  8459. "type": "array",
  8460. "items": {
  8461. "$ref": "#/definitions/models.Division"
  8462. }
  8463. },
  8464. "province": {
  8465. "description": "省",
  8466. "$ref": "#/definitions/models.Division"
  8467. }
  8468. }
  8469. },
  8470. "models.Clientfixedadconfig": {
  8471. "type": "object",
  8472. "required": [
  8473. "adsort",
  8474. "adtype"
  8475. ],
  8476. "properties": {
  8477. "adsort": {
  8478. "description": "排序",
  8479. "type": "integer"
  8480. },
  8481. "adtype": {
  8482. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8483. "type": "integer"
  8484. },
  8485. "areauserid": {
  8486. "description": "所属机构ID",
  8487. "type": "integer"
  8488. },
  8489. "createdate": {
  8490. "description": "创建时间",
  8491. "type": "string"
  8492. },
  8493. "creatorid": {
  8494. "description": "创建人",
  8495. "type": "integer"
  8496. },
  8497. "imagepath": {
  8498. "description": "图片",
  8499. "type": "string"
  8500. },
  8501. "isshow": {
  8502. "description": "是否展示 - 0:不展示 1:展示",
  8503. "type": "integer"
  8504. },
  8505. "modifierid": {
  8506. "description": "操作人",
  8507. "type": "integer"
  8508. },
  8509. "recsize": {
  8510. "description": "推荐尺寸",
  8511. "type": "string"
  8512. },
  8513. "title": {
  8514. "description": "标题",
  8515. "type": "string"
  8516. },
  8517. "updatedate": {
  8518. "description": "更新时间",
  8519. "type": "string"
  8520. },
  8521. "urlcontent": {
  8522. "description": "链接(地址或商品ID)",
  8523. "type": "string"
  8524. },
  8525. "urltype": {
  8526. "description": "链接类型 - 1:直接地址 2:商品ID",
  8527. "type": "integer"
  8528. }
  8529. }
  8530. },
  8531. "models.Division": {
  8532. "type": "object",
  8533. "required": [
  8534. "autoid",
  8535. "divisioncode"
  8536. ],
  8537. "properties": {
  8538. "autoid": {
  8539. "description": "自增ID",
  8540. "type": "integer"
  8541. },
  8542. "divisioncode": {
  8543. "description": "行政代码",
  8544. "type": "string"
  8545. },
  8546. "divisionlevel": {
  8547. "description": "行政级别",
  8548. "type": "string"
  8549. },
  8550. "divisionname": {
  8551. "description": "行政名称",
  8552. "type": "string"
  8553. },
  8554. "modifierid": {
  8555. "description": "修改人",
  8556. "type": "integer"
  8557. },
  8558. "modifytime": {
  8559. "description": "修改时间",
  8560. "type": "string"
  8561. },
  8562. "parentcode": {
  8563. "description": "上级行政代码",
  8564. "type": "string"
  8565. },
  8566. "pathname": {
  8567. "description": "路径名称",
  8568. "type": "string"
  8569. },
  8570. "postcode": {
  8571. "description": "邮政编码",
  8572. "type": "string"
  8573. },
  8574. "separablename": {
  8575. "description": "可拆分的全称",
  8576. "type": "string"
  8577. },
  8578. "shortcode": {
  8579. "description": "地区简码",
  8580. "type": "string"
  8581. }
  8582. }
  8583. },
  8584. "models.Enumdicitem": {
  8585. "type": "object",
  8586. "required": [
  8587. "autoid",
  8588. "enumdiccode",
  8589. "enumdicid",
  8590. "enumitemname"
  8591. ],
  8592. "properties": {
  8593. "autoid": {
  8594. "description": "自增ID",
  8595. "type": "integer"
  8596. },
  8597. "bankmappedvalue": {
  8598. "description": "银行服务对应值",
  8599. "type": "string"
  8600. },
  8601. "enumdiccode": {
  8602. "description": "所属枚举代码",
  8603. "type": "string"
  8604. },
  8605. "enumdicid": {
  8606. "description": "所属枚举ID",
  8607. "type": "integer"
  8608. },
  8609. "enumdicname": {
  8610. "description": "枚举项名称",
  8611. "type": "string"
  8612. },
  8613. "enumitemname": {
  8614. "description": "枚举项值",
  8615. "type": "integer"
  8616. },
  8617. "enumitemstatus": {
  8618. "description": "枚举项状态 - 1.启用 2.不启用",
  8619. "type": "integer"
  8620. },
  8621. "enumitemvalue": {
  8622. "description": "通用值 - [币种通用简写]",
  8623. "type": "string"
  8624. },
  8625. "param1": {
  8626. "description": "参数1[币种:币种小数位]",
  8627. "type": "string"
  8628. },
  8629. "param2": {
  8630. "description": "参数1[币种:币种显示单位]",
  8631. "type": "string"
  8632. },
  8633. "remark": {
  8634. "description": "备注",
  8635. "type": "string"
  8636. }
  8637. }
  8638. },
  8639. "models.GoodsIDAndName": {
  8640. "type": "object",
  8641. "required": [
  8642. "goodscode",
  8643. "goodsid",
  8644. "goodsname",
  8645. "marketid"
  8646. ],
  8647. "properties": {
  8648. "goodscode": {
  8649. "description": "商品代码(内部)",
  8650. "type": "string"
  8651. },
  8652. "goodsid": {
  8653. "description": "商品ID(自增ID SEQ_GOODS)",
  8654. "type": "integer"
  8655. },
  8656. "goodsname": {
  8657. "description": "商品名称",
  8658. "type": "string"
  8659. },
  8660. "marketid": {
  8661. "description": "所属市场ID",
  8662. "type": "integer"
  8663. }
  8664. }
  8665. },
  8666. "models.HsbyBuyMyPayOrder": {
  8667. "type": "object",
  8668. "required": [
  8669. "goodscode",
  8670. "goodsname",
  8671. "tradeid",
  8672. "trademode"
  8673. ],
  8674. "properties": {
  8675. "agreeunit": {
  8676. "description": "合约单位",
  8677. "type": "number"
  8678. },
  8679. "buyaccountid": {
  8680. "description": "买方账号ID[报价币种]",
  8681. "type": "integer"
  8682. },
  8683. "buyorderid": {
  8684. "description": "买方委托单号",
  8685. "type": "string"
  8686. },
  8687. "createtime": {
  8688. "description": "创建时间",
  8689. "type": "string"
  8690. },
  8691. "currencysign": {
  8692. "description": "货币符号",
  8693. "type": "string"
  8694. },
  8695. "decimalplace": {
  8696. "description": "报价小数位",
  8697. "type": "integer"
  8698. },
  8699. "goodscode": {
  8700. "description": "商品代码(内部)",
  8701. "type": "string"
  8702. },
  8703. "goodsid": {
  8704. "description": "商品ID",
  8705. "type": "integer"
  8706. },
  8707. "goodsname": {
  8708. "description": "商品名称",
  8709. "type": "string"
  8710. },
  8711. "marketid": {
  8712. "description": "市场ID",
  8713. "type": "integer"
  8714. },
  8715. "offamount": {
  8716. "description": "优惠金额",
  8717. "type": "number"
  8718. },
  8719. "payamount": {
  8720. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8721. "type": "number"
  8722. },
  8723. "payflag": {
  8724. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8725. "type": "integer"
  8726. },
  8727. "paylimitedtime": {
  8728. "description": "支付期限",
  8729. "type": "string"
  8730. },
  8731. "paytime": {
  8732. "description": "付款时间",
  8733. "type": "string"
  8734. },
  8735. "picurls1": {
  8736. "description": "预售商品介绍图片[多张用逗号分隔]",
  8737. "type": "string"
  8738. },
  8739. "picurls2": {
  8740. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8741. "type": "string"
  8742. },
  8743. "sellaccountid": {
  8744. "description": "卖方账号ID[报价币种]",
  8745. "type": "integer"
  8746. },
  8747. "sellorderid": {
  8748. "description": "卖方委托单号",
  8749. "type": "string"
  8750. },
  8751. "tradeamount": {
  8752. "description": "成交金额",
  8753. "type": "number"
  8754. },
  8755. "tradecharge": {
  8756. "description": "成交手续费(买方)",
  8757. "type": "number"
  8758. },
  8759. "tradedate": {
  8760. "description": "交易日(yyyyMMdd)",
  8761. "type": "string"
  8762. },
  8763. "tradeid": {
  8764. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8765. "type": "string"
  8766. },
  8767. "trademode": {
  8768. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8769. "type": "integer"
  8770. },
  8771. "tradeprice": {
  8772. "description": "成交价格",
  8773. "type": "number"
  8774. },
  8775. "tradeqty": {
  8776. "description": "成交数量",
  8777. "type": "integer"
  8778. },
  8779. "vendorname1": {
  8780. "description": "预售商品供应商名称",
  8781. "type": "string"
  8782. },
  8783. "vendorname2": {
  8784. "description": "挂牌商品供应商名称",
  8785. "type": "string"
  8786. }
  8787. }
  8788. },
  8789. "models.HsbyBuyMyTradeDetail": {
  8790. "type": "object",
  8791. "required": [
  8792. "accountid",
  8793. "buyorsell",
  8794. "goodscode",
  8795. "goodsid",
  8796. "goodsname",
  8797. "marketid",
  8798. "orderid",
  8799. "qty",
  8800. "time",
  8801. "trademode"
  8802. ],
  8803. "properties": {
  8804. "accountid": {
  8805. "description": "账户ID[报价币种]",
  8806. "type": "integer"
  8807. },
  8808. "agreeunit": {
  8809. "description": "合约单位",
  8810. "type": "number"
  8811. },
  8812. "amount": {
  8813. "description": "金额 = 价格 * 数量 * 合约单位",
  8814. "type": "number"
  8815. },
  8816. "buyorsell": {
  8817. "description": "买卖 - 0:买 1:卖",
  8818. "type": "integer"
  8819. },
  8820. "currencysign": {
  8821. "description": "货币符号",
  8822. "type": "string"
  8823. },
  8824. "decimalplace": {
  8825. "description": "报价小数位",
  8826. "type": "integer"
  8827. },
  8828. "goodscode": {
  8829. "description": "商品代码(内部)",
  8830. "type": "string"
  8831. },
  8832. "goodsid": {
  8833. "description": "商品ID",
  8834. "type": "integer"
  8835. },
  8836. "goodsname": {
  8837. "description": "商品名称",
  8838. "type": "string"
  8839. },
  8840. "marketid": {
  8841. "description": "市场ID",
  8842. "type": "integer"
  8843. },
  8844. "orderid": {
  8845. "description": "单号(成交单号)",
  8846. "type": "string"
  8847. },
  8848. "picurls1": {
  8849. "description": "预售商品介绍图片[多张用逗号分隔]",
  8850. "type": "string"
  8851. },
  8852. "picurls2": {
  8853. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8854. "type": "string"
  8855. },
  8856. "price": {
  8857. "description": "价格",
  8858. "type": "number"
  8859. },
  8860. "qty": {
  8861. "description": "数量",
  8862. "type": "integer"
  8863. },
  8864. "time": {
  8865. "description": "时间",
  8866. "type": "string"
  8867. },
  8868. "trademode": {
  8869. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8870. "type": "integer"
  8871. },
  8872. "vendorname1": {
  8873. "description": "预售商品供应商名称",
  8874. "type": "string"
  8875. },
  8876. "vendorname2": {
  8877. "description": "挂牌商品供应商名称",
  8878. "type": "string"
  8879. }
  8880. }
  8881. },
  8882. "models.HsbyGoodsOrderDetail": {
  8883. "type": "object",
  8884. "required": [
  8885. "buyorsell",
  8886. "orderid",
  8887. "ordertime"
  8888. ],
  8889. "properties": {
  8890. "buyorsell": {
  8891. "description": "买卖 - 0:买 1:卖",
  8892. "type": "integer"
  8893. },
  8894. "currencysign": {
  8895. "description": "货币符号",
  8896. "type": "string"
  8897. },
  8898. "customername": {
  8899. "description": "客户名称(企业名称),已脱敏",
  8900. "type": "string"
  8901. },
  8902. "enableqty": {
  8903. "description": "可用数量",
  8904. "type": "integer"
  8905. },
  8906. "goodunit": {
  8907. "description": "报价单位",
  8908. "type": "string"
  8909. },
  8910. "orderid": {
  8911. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8912. "type": "string"
  8913. },
  8914. "orderprice": {
  8915. "description": "委托价格",
  8916. "type": "number"
  8917. },
  8918. "ordertime": {
  8919. "description": "委托时间",
  8920. "type": "string"
  8921. }
  8922. }
  8923. },
  8924. "models.HsbyListingGoodsDetail": {
  8925. "type": "object",
  8926. "required": [
  8927. "goodscode",
  8928. "goodsid",
  8929. "goodsname",
  8930. "marketid",
  8931. "trademode"
  8932. ],
  8933. "properties": {
  8934. "agreeunit": {
  8935. "description": "合约单位",
  8936. "type": "number"
  8937. },
  8938. "buymaxqty": {
  8939. "description": "购买上限 [71] - 0为不限",
  8940. "type": "integer"
  8941. },
  8942. "currency": {
  8943. "description": "货币",
  8944. "type": "string"
  8945. },
  8946. "currencysign": {
  8947. "description": "货币符号",
  8948. "type": "string"
  8949. },
  8950. "decimalplace": {
  8951. "description": "报价小数位",
  8952. "type": "integer"
  8953. },
  8954. "desccityid": {
  8955. "description": "目的地(市)ID",
  8956. "type": "integer"
  8957. },
  8958. "descprovinceid": {
  8959. "description": "目的地(省)ID",
  8960. "type": "integer"
  8961. },
  8962. "goodscode": {
  8963. "description": "商品代码(内部)",
  8964. "type": "string"
  8965. },
  8966. "goodsdesc": {
  8967. "description": "商品详情",
  8968. "type": "string"
  8969. },
  8970. "goodsid": {
  8971. "description": "商品ID(自增ID SEQ_GOODS)",
  8972. "type": "integer"
  8973. },
  8974. "goodsname": {
  8975. "description": "商品名称",
  8976. "type": "string"
  8977. },
  8978. "goodsprice": {
  8979. "description": "商品价格",
  8980. "type": "number"
  8981. },
  8982. "hotindex": {
  8983. "description": "景点热度",
  8984. "type": "integer"
  8985. },
  8986. "last": {
  8987. "description": "现价",
  8988. "type": "number"
  8989. },
  8990. "limitdown": {
  8991. "description": "跌停价",
  8992. "type": "number"
  8993. },
  8994. "limitup": {
  8995. "description": "涨停价",
  8996. "type": "number"
  8997. },
  8998. "lotsize": {
  8999. "description": "手数最小变动单位",
  9000. "type": "integer"
  9001. },
  9002. "marketid": {
  9003. "description": "所属市场ID",
  9004. "type": "integer"
  9005. },
  9006. "picurls": {
  9007. "description": "介绍图片[多张用逗号分隔]",
  9008. "type": "string"
  9009. },
  9010. "quoteminunit": {
  9011. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9012. "type": "integer"
  9013. },
  9014. "stepvalue": {
  9015. "description": "价格最小变动单位",
  9016. "type": "number"
  9017. },
  9018. "trademode": {
  9019. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9020. "type": "integer"
  9021. },
  9022. "vendorattr": {
  9023. "description": "供应商附件(多张,逗号分隔)",
  9024. "type": "string"
  9025. },
  9026. "vendorname": {
  9027. "description": "供应商名称",
  9028. "type": "string"
  9029. },
  9030. "vendorphone": {
  9031. "description": "供应商客服电话",
  9032. "type": "string"
  9033. },
  9034. "videourls": {
  9035. "description": "介绍视频[多张用逗号分隔]",
  9036. "type": "string"
  9037. }
  9038. }
  9039. },
  9040. "models.HsbyMarketGoods": {
  9041. "type": "object",
  9042. "required": [
  9043. "accountid",
  9044. "buyorsell",
  9045. "goodscode",
  9046. "goodsid",
  9047. "goodsname",
  9048. "marketid",
  9049. "orderid",
  9050. "trademode"
  9051. ],
  9052. "properties": {
  9053. "accountid": {
  9054. "description": "账户ID[报价币种]",
  9055. "type": "integer"
  9056. },
  9057. "agreeunit": {
  9058. "description": "合约单位",
  9059. "type": "number"
  9060. },
  9061. "buyorsell": {
  9062. "description": "买卖 - 0:买 1:卖",
  9063. "type": "integer"
  9064. },
  9065. "categoryid": {
  9066. "description": "类别ID(WRCATEGORY)",
  9067. "type": "integer"
  9068. },
  9069. "currency": {
  9070. "description": "货币",
  9071. "type": "string"
  9072. },
  9073. "currencysign": {
  9074. "description": "货币符号",
  9075. "type": "string"
  9076. },
  9077. "customername": {
  9078. "description": "卖家名称",
  9079. "type": "string"
  9080. },
  9081. "decimalplace": {
  9082. "description": "报价小数位",
  9083. "type": "integer"
  9084. },
  9085. "goodscode": {
  9086. "description": "商品代码(内部)",
  9087. "type": "string"
  9088. },
  9089. "goodsid": {
  9090. "description": "商品ID",
  9091. "type": "integer"
  9092. },
  9093. "goodsname": {
  9094. "description": "商品名称",
  9095. "type": "string"
  9096. },
  9097. "goodsprice": {
  9098. "description": "商品价格",
  9099. "type": "number"
  9100. },
  9101. "hascoupon": {
  9102. "description": "是否可用优惠卷",
  9103. "type": "boolean"
  9104. },
  9105. "hotindex": {
  9106. "description": "景点热度",
  9107. "type": "integer"
  9108. },
  9109. "marketid": {
  9110. "description": "市场ID",
  9111. "type": "integer"
  9112. },
  9113. "orderid": {
  9114. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9115. "type": "string"
  9116. },
  9117. "orderprice": {
  9118. "description": "委托价格",
  9119. "type": "number"
  9120. },
  9121. "orderstatus": {
  9122. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9123. "type": "integer"
  9124. },
  9125. "picurls": {
  9126. "description": "介绍图片[多张用逗号分隔]",
  9127. "type": "string"
  9128. },
  9129. "quoteminunit": {
  9130. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9131. "type": "integer"
  9132. },
  9133. "sellUserID": {
  9134. "description": "卖方UserID",
  9135. "type": "integer"
  9136. },
  9137. "trademode": {
  9138. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9139. "type": "integer"
  9140. },
  9141. "videourls": {
  9142. "description": "介绍视频[多张用逗号分隔]",
  9143. "type": "string"
  9144. }
  9145. }
  9146. },
  9147. "models.HsbyMarketGoodsDetail": {
  9148. "type": "object",
  9149. "required": [
  9150. "accountid",
  9151. "buyorsell",
  9152. "goodscode",
  9153. "goodsid",
  9154. "goodsname",
  9155. "marketid",
  9156. "orderid",
  9157. "orderqty",
  9158. "trademode"
  9159. ],
  9160. "properties": {
  9161. "accountid": {
  9162. "description": "账户ID[报价币种]",
  9163. "type": "integer"
  9164. },
  9165. "agreeunit": {
  9166. "description": "合约单位",
  9167. "type": "number"
  9168. },
  9169. "buymaxqty": {
  9170. "description": "购买上限 [71] - 0为不限",
  9171. "type": "integer"
  9172. },
  9173. "buyorsell": {
  9174. "description": "买卖 - 0:买 1:卖",
  9175. "type": "integer"
  9176. },
  9177. "cancelqty": {
  9178. "description": "撤单数量",
  9179. "type": "integer"
  9180. },
  9181. "categoryid": {
  9182. "description": "类别ID(WRCATEGORY)",
  9183. "type": "integer"
  9184. },
  9185. "currency": {
  9186. "description": "货币",
  9187. "type": "string"
  9188. },
  9189. "currencysign": {
  9190. "description": "货币符号",
  9191. "type": "string"
  9192. },
  9193. "customername": {
  9194. "description": "卖家名称",
  9195. "type": "string"
  9196. },
  9197. "decimalplace": {
  9198. "description": "报价小数位",
  9199. "type": "integer"
  9200. },
  9201. "goodscode": {
  9202. "description": "商品代码(内部)",
  9203. "type": "string"
  9204. },
  9205. "goodsdesc": {
  9206. "description": "商品详情",
  9207. "type": "string"
  9208. },
  9209. "goodsid": {
  9210. "description": "商品ID",
  9211. "type": "integer"
  9212. },
  9213. "goodsname": {
  9214. "description": "商品名称",
  9215. "type": "string"
  9216. },
  9217. "goodsprice": {
  9218. "description": "商品价格",
  9219. "type": "number"
  9220. },
  9221. "hotindex": {
  9222. "description": "景点热度",
  9223. "type": "integer"
  9224. },
  9225. "lotsize": {
  9226. "description": "手数最小变动单位",
  9227. "type": "integer"
  9228. },
  9229. "marketid": {
  9230. "description": "市场ID",
  9231. "type": "integer"
  9232. },
  9233. "orderid": {
  9234. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9235. "type": "string"
  9236. },
  9237. "orderprice": {
  9238. "description": "委托价格",
  9239. "type": "number"
  9240. },
  9241. "orderqty": {
  9242. "description": "委托数量",
  9243. "type": "integer"
  9244. },
  9245. "orderstatus": {
  9246. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9247. "type": "integer"
  9248. },
  9249. "picurls": {
  9250. "description": "介绍图片[多张用逗号分隔]",
  9251. "type": "string"
  9252. },
  9253. "quoteminunit": {
  9254. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9255. "type": "integer"
  9256. },
  9257. "sellUserID": {
  9258. "description": "卖方UserID",
  9259. "type": "integer"
  9260. },
  9261. "trademode": {
  9262. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9263. "type": "integer"
  9264. },
  9265. "tradeqty": {
  9266. "description": "成交数量",
  9267. "type": "integer"
  9268. },
  9269. "vendorattr": {
  9270. "description": "供应商附件(多张,逗号分隔)",
  9271. "type": "string"
  9272. },
  9273. "vendorname": {
  9274. "description": "供应商名称",
  9275. "type": "string"
  9276. },
  9277. "vendorphone": {
  9278. "description": "供应商客服电话",
  9279. "type": "string"
  9280. },
  9281. "videourls": {
  9282. "description": "介绍视频[多张用逗号分隔]",
  9283. "type": "string"
  9284. }
  9285. }
  9286. },
  9287. "models.HsbyMarketInfo": {
  9288. "type": "object",
  9289. "required": [
  9290. "marketid",
  9291. "marketstatus",
  9292. "trademode"
  9293. ],
  9294. "properties": {
  9295. "marketid": {
  9296. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  9297. "type": "integer"
  9298. },
  9299. "marketname": {
  9300. "description": "市场名称",
  9301. "type": "string"
  9302. },
  9303. "marketstatus": {
  9304. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9305. "type": "integer"
  9306. },
  9307. "trademode": {
  9308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9309. "type": "integer"
  9310. }
  9311. }
  9312. },
  9313. "models.HsbyMyGoods": {
  9314. "type": "object",
  9315. "required": [
  9316. "accountid",
  9317. "goodscode",
  9318. "goodsid",
  9319. "goodsname",
  9320. "marketid",
  9321. "trademode"
  9322. ],
  9323. "properties": {
  9324. "accountid": {
  9325. "description": "账号Id",
  9326. "type": "integer"
  9327. },
  9328. "agreeunit": {
  9329. "description": "合约单位",
  9330. "type": "number"
  9331. },
  9332. "buyaverageprice": {
  9333. "description": "持仓均价",
  9334. "type": "number"
  9335. },
  9336. "buycurholderamount": {
  9337. "description": "买当前持仓总金额[商品币种]",
  9338. "type": "number"
  9339. },
  9340. "buycurpositionqty": {
  9341. "description": "买当前持仓总数量",
  9342. "type": "integer"
  9343. },
  9344. "buymaxqty": {
  9345. "description": "购买上限 [71] - 0为不限",
  9346. "type": "integer"
  9347. },
  9348. "currencysign": {
  9349. "description": "货币符号",
  9350. "type": "string"
  9351. },
  9352. "decimalplace": {
  9353. "description": "报价小数位",
  9354. "type": "integer"
  9355. },
  9356. "enableqty": {
  9357. "description": "可用数量",
  9358. "type": "integer"
  9359. },
  9360. "goodscode": {
  9361. "description": "商品代码(内部)",
  9362. "type": "string"
  9363. },
  9364. "goodsid": {
  9365. "description": "商品Id",
  9366. "type": "integer"
  9367. },
  9368. "goodsname": {
  9369. "description": "商品名称",
  9370. "type": "string"
  9371. },
  9372. "goodsprice": {
  9373. "description": "商品价格",
  9374. "type": "number"
  9375. },
  9376. "goodsstatus": {
  9377. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9378. "type": "integer"
  9379. },
  9380. "last": {
  9381. "description": "现价(仅使用于挂牌点选)",
  9382. "type": "number"
  9383. },
  9384. "limitdown": {
  9385. "description": "跌停价(仅使用于挂牌点选)",
  9386. "type": "number"
  9387. },
  9388. "limitup": {
  9389. "description": "涨停价(仅使用于挂牌点选)",
  9390. "type": "number"
  9391. },
  9392. "lotsize": {
  9393. "description": "手数最小变动单位",
  9394. "type": "integer"
  9395. },
  9396. "marketid": {
  9397. "description": "所属市场ID",
  9398. "type": "integer"
  9399. },
  9400. "picurls": {
  9401. "description": "介绍图片[多张用逗号分隔]",
  9402. "type": "string"
  9403. },
  9404. "quoteminunit": {
  9405. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9406. "type": "integer"
  9407. },
  9408. "stepvalue": {
  9409. "description": "价格最小变动单位",
  9410. "type": "number"
  9411. },
  9412. "trademode": {
  9413. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9414. "type": "integer"
  9415. }
  9416. }
  9417. },
  9418. "models.HsbyMyPackage": {
  9419. "type": "object",
  9420. "required": [
  9421. "goodscode",
  9422. "goodsname",
  9423. "takeorderid"
  9424. ],
  9425. "properties": {
  9426. "accountid": {
  9427. "description": "账户ID",
  9428. "type": "integer"
  9429. },
  9430. "address": {
  9431. "description": "提货人详细地址",
  9432. "type": "string"
  9433. },
  9434. "agreeunit": {
  9435. "description": "合约单位",
  9436. "type": "number"
  9437. },
  9438. "amount": {
  9439. "description": "提货金额",
  9440. "type": "number"
  9441. },
  9442. "auditer": {
  9443. "description": "审核人",
  9444. "type": "integer"
  9445. },
  9446. "audittime": {
  9447. "description": "审核时间",
  9448. "type": "string"
  9449. },
  9450. "averageprice": {
  9451. "description": "均价",
  9452. "type": "number"
  9453. },
  9454. "cardnum": {
  9455. "description": "提货人证件号码",
  9456. "type": "string"
  9457. },
  9458. "cardtypeid": {
  9459. "description": "提货人证件类型",
  9460. "type": "integer"
  9461. },
  9462. "checkremark": {
  9463. "description": "审核备注",
  9464. "type": "string"
  9465. },
  9466. "currencysign": {
  9467. "description": "货币符号",
  9468. "type": "string"
  9469. },
  9470. "decimalplace": {
  9471. "description": "报价小数位",
  9472. "type": "integer"
  9473. },
  9474. "goodscode": {
  9475. "description": "商品代码(内部)",
  9476. "type": "string"
  9477. },
  9478. "goodsid": {
  9479. "description": "商品ID",
  9480. "type": "integer"
  9481. },
  9482. "goodsname": {
  9483. "description": "商品名称",
  9484. "type": "string"
  9485. },
  9486. "handlestatus": {
  9487. "description": "处理状态",
  9488. "type": "integer"
  9489. },
  9490. "marketid": {
  9491. "description": "市场ID",
  9492. "type": "integer"
  9493. },
  9494. "phonenum": {
  9495. "description": "提货人联系方式",
  9496. "type": "string"
  9497. },
  9498. "picurls": {
  9499. "description": "介绍图片[多张用逗号分隔]",
  9500. "type": "string"
  9501. },
  9502. "qty": {
  9503. "description": "提货数量",
  9504. "type": "number"
  9505. },
  9506. "recivername": {
  9507. "description": "提货人姓名",
  9508. "type": "string"
  9509. },
  9510. "reqtime": {
  9511. "description": "更新时间",
  9512. "type": "string"
  9513. },
  9514. "takemode": {
  9515. "description": "提货方式 - 2:自提 3:配送",
  9516. "type": "integer"
  9517. },
  9518. "takeorderid": {
  9519. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9520. "type": "string"
  9521. },
  9522. "takeorderstatus": {
  9523. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9524. "type": "integer"
  9525. },
  9526. "takeremark": {
  9527. "description": "提货备注",
  9528. "type": "string"
  9529. },
  9530. "tradedate": {
  9531. "description": "交易日(yyyyMMdd)",
  9532. "type": "string"
  9533. },
  9534. "userid": {
  9535. "description": "用户ID",
  9536. "type": "integer"
  9537. },
  9538. "vendorname": {
  9539. "description": "供应商名称",
  9540. "type": "string"
  9541. }
  9542. }
  9543. },
  9544. "models.HsbyPreGoods": {
  9545. "type": "object",
  9546. "required": [
  9547. "goodscode",
  9548. "goodsid",
  9549. "goodsname",
  9550. "marketid",
  9551. "trademode"
  9552. ],
  9553. "properties": {
  9554. "agreeunit": {
  9555. "description": "合约单位",
  9556. "type": "number"
  9557. },
  9558. "currency": {
  9559. "description": "货币",
  9560. "type": "string"
  9561. },
  9562. "currencysign": {
  9563. "description": "货币符号",
  9564. "type": "string"
  9565. },
  9566. "decimalplace": {
  9567. "description": "报价小数位",
  9568. "type": "integer"
  9569. },
  9570. "enableqty": {
  9571. "description": "剩余数量",
  9572. "type": "integer"
  9573. },
  9574. "goodscode": {
  9575. "description": "商品代码(内部)",
  9576. "type": "string"
  9577. },
  9578. "goodsid": {
  9579. "description": "商品ID(自增ID SEQ_GOODS)",
  9580. "type": "integer"
  9581. },
  9582. "goodsname": {
  9583. "description": "商品名称",
  9584. "type": "string"
  9585. },
  9586. "goodsstatus": {
  9587. "description": "商品状态- 2:未上市 3:上市",
  9588. "type": "integer"
  9589. },
  9590. "lasttradedate": {
  9591. "description": "最后交易日期(状态:待退市)",
  9592. "type": "string"
  9593. },
  9594. "listingdate": {
  9595. "description": "交易开始日期",
  9596. "type": "string"
  9597. },
  9598. "marketid": {
  9599. "description": "所属市场ID",
  9600. "type": "integer"
  9601. },
  9602. "picurls": {
  9603. "description": "介绍图片[多张用逗号分隔]",
  9604. "type": "string"
  9605. },
  9606. "presaledqty": {
  9607. "description": "已预售量(预售结束时更新)",
  9608. "type": "integer"
  9609. },
  9610. "presaleqty": {
  9611. "description": "预售数量",
  9612. "type": "integer"
  9613. },
  9614. "quoteminunit": {
  9615. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9616. "type": "integer"
  9617. },
  9618. "refprice": {
  9619. "description": "参考价格[一口价]",
  9620. "type": "number"
  9621. },
  9622. "relatedgoodsid": {
  9623. "description": "关联交易合约ID",
  9624. "type": "integer"
  9625. },
  9626. "trademode": {
  9627. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9628. "type": "integer"
  9629. },
  9630. "videourls": {
  9631. "description": "介绍视频[多张用逗号分隔]",
  9632. "type": "string"
  9633. }
  9634. }
  9635. },
  9636. "models.HsbyPreGoodsDetail": {
  9637. "type": "object",
  9638. "required": [
  9639. "goodscode",
  9640. "goodsid",
  9641. "goodsname",
  9642. "marketid",
  9643. "trademode"
  9644. ],
  9645. "properties": {
  9646. "agreeunit": {
  9647. "description": "合约单位",
  9648. "type": "number"
  9649. },
  9650. "buymaxqty": {
  9651. "description": "购买上限 [71] - 0为不限",
  9652. "type": "integer"
  9653. },
  9654. "currency": {
  9655. "description": "货币",
  9656. "type": "string"
  9657. },
  9658. "currencysign": {
  9659. "description": "货币符号",
  9660. "type": "string"
  9661. },
  9662. "customername": {
  9663. "description": "发行单位",
  9664. "type": "string"
  9665. },
  9666. "decimalplace": {
  9667. "description": "报价小数位",
  9668. "type": "integer"
  9669. },
  9670. "desccityid": {
  9671. "description": "目的地(市)ID",
  9672. "type": "integer"
  9673. },
  9674. "descprovinceid": {
  9675. "description": "目的地(省)ID",
  9676. "type": "integer"
  9677. },
  9678. "enableqty": {
  9679. "description": "剩余数量",
  9680. "type": "integer"
  9681. },
  9682. "goodscode": {
  9683. "description": "商品代码(内部)",
  9684. "type": "string"
  9685. },
  9686. "goodsdesc": {
  9687. "description": "商品详情",
  9688. "type": "string"
  9689. },
  9690. "goodsid": {
  9691. "description": "商品ID(自增ID SEQ_GOODS)",
  9692. "type": "integer"
  9693. },
  9694. "goodsname": {
  9695. "description": "商品名称",
  9696. "type": "string"
  9697. },
  9698. "goodsstatus": {
  9699. "description": "商品状态- 2:未上市 3:上市",
  9700. "type": "integer"
  9701. },
  9702. "goodunit": {
  9703. "description": "报价单位",
  9704. "type": "string"
  9705. },
  9706. "lasttradedate": {
  9707. "description": "最后交易日期(状态:待退市)",
  9708. "type": "string"
  9709. },
  9710. "listingdate": {
  9711. "description": "交易开始日期",
  9712. "type": "string"
  9713. },
  9714. "lotsize": {
  9715. "description": "手数最小变动单位",
  9716. "type": "integer"
  9717. },
  9718. "marketid": {
  9719. "description": "所属市场ID",
  9720. "type": "integer"
  9721. },
  9722. "picurls": {
  9723. "description": "介绍图片[多张用逗号分隔]",
  9724. "type": "string"
  9725. },
  9726. "presaledqty": {
  9727. "description": "已预售量(预售结束时更新)",
  9728. "type": "integer"
  9729. },
  9730. "presaleqty": {
  9731. "description": "预售数量",
  9732. "type": "integer"
  9733. },
  9734. "quoteminunit": {
  9735. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9736. "type": "integer"
  9737. },
  9738. "refprice": {
  9739. "description": "参考价格[一口价]",
  9740. "type": "number"
  9741. },
  9742. "relatedgoodsid": {
  9743. "description": "关联交易合约ID",
  9744. "type": "integer"
  9745. },
  9746. "stepvalue": {
  9747. "description": "价格最小变动单位",
  9748. "type": "number"
  9749. },
  9750. "trademode": {
  9751. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9752. "type": "integer"
  9753. },
  9754. "vendorattr": {
  9755. "description": "供应商附件(多张,逗号分隔)",
  9756. "type": "string"
  9757. },
  9758. "vendorname": {
  9759. "description": "供应商名称",
  9760. "type": "string"
  9761. },
  9762. "vendorphone": {
  9763. "description": "供应商客服电话",
  9764. "type": "string"
  9765. },
  9766. "videourls": {
  9767. "description": "介绍视频[多张用逗号分隔]",
  9768. "type": "string"
  9769. }
  9770. }
  9771. },
  9772. "models.HsbySellCollectionOrder": {
  9773. "type": "object",
  9774. "required": [
  9775. "goodscode",
  9776. "goodsname",
  9777. "tradeid",
  9778. "trademode"
  9779. ],
  9780. "properties": {
  9781. "agreeunit": {
  9782. "description": "合约单位",
  9783. "type": "number"
  9784. },
  9785. "buyaccountid": {
  9786. "description": "买方账号ID[报价币种]",
  9787. "type": "integer"
  9788. },
  9789. "buyorderid": {
  9790. "description": "买方委托单号",
  9791. "type": "string"
  9792. },
  9793. "createtime": {
  9794. "description": "创建时间",
  9795. "type": "string"
  9796. },
  9797. "currencysign": {
  9798. "description": "货币符号",
  9799. "type": "string"
  9800. },
  9801. "decimalplace": {
  9802. "description": "报价小数位",
  9803. "type": "integer"
  9804. },
  9805. "goodscode": {
  9806. "description": "商品代码(内部)",
  9807. "type": "string"
  9808. },
  9809. "goodsid": {
  9810. "description": "商品ID",
  9811. "type": "integer"
  9812. },
  9813. "goodsname": {
  9814. "description": "商品名称",
  9815. "type": "string"
  9816. },
  9817. "marketid": {
  9818. "description": "市场ID",
  9819. "type": "integer"
  9820. },
  9821. "offamount": {
  9822. "description": "优惠金额",
  9823. "type": "number"
  9824. },
  9825. "payamount": {
  9826. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9827. "type": "number"
  9828. },
  9829. "payflag": {
  9830. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9831. "type": "integer"
  9832. },
  9833. "paylimitedtime": {
  9834. "description": "支付期限",
  9835. "type": "string"
  9836. },
  9837. "paytime": {
  9838. "description": "付款时间",
  9839. "type": "string"
  9840. },
  9841. "picurls": {
  9842. "description": "商品介绍图片[多张用逗号分隔]",
  9843. "type": "string"
  9844. },
  9845. "sellaccountid": {
  9846. "description": "卖方账号ID[报价币种]",
  9847. "type": "integer"
  9848. },
  9849. "sellorderid": {
  9850. "description": "卖方委托单号",
  9851. "type": "string"
  9852. },
  9853. "tradeamount": {
  9854. "description": "成交金额",
  9855. "type": "number"
  9856. },
  9857. "tradecharge": {
  9858. "description": "成交手续费(买方)",
  9859. "type": "number"
  9860. },
  9861. "tradedate": {
  9862. "description": "交易日(yyyyMMdd)",
  9863. "type": "string"
  9864. },
  9865. "tradeid": {
  9866. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9867. "type": "string"
  9868. },
  9869. "trademode": {
  9870. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9871. "type": "integer"
  9872. },
  9873. "tradeprice": {
  9874. "description": "成交价格",
  9875. "type": "number"
  9876. },
  9877. "tradeqty": {
  9878. "description": "成交数量",
  9879. "type": "integer"
  9880. }
  9881. }
  9882. },
  9883. "models.HsbySellMyDetail": {
  9884. "type": "object",
  9885. "required": [
  9886. "accountid",
  9887. "buyorsell",
  9888. "goodscode",
  9889. "goodsid",
  9890. "goodsname",
  9891. "marketid",
  9892. "orderid",
  9893. "time",
  9894. "trademode"
  9895. ],
  9896. "properties": {
  9897. "accountid": {
  9898. "description": "账户ID[报价币种]",
  9899. "type": "integer"
  9900. },
  9901. "agreeunit": {
  9902. "description": "合约单位",
  9903. "type": "number"
  9904. },
  9905. "buyorsell": {
  9906. "description": "买卖 - 0:买 1:卖",
  9907. "type": "integer"
  9908. },
  9909. "currencysign": {
  9910. "description": "货币符号",
  9911. "type": "string"
  9912. },
  9913. "decimalplace": {
  9914. "description": "报价小数位",
  9915. "type": "integer"
  9916. },
  9917. "goodscode": {
  9918. "description": "商品代码(内部)",
  9919. "type": "string"
  9920. },
  9921. "goodsid": {
  9922. "description": "商品ID",
  9923. "type": "integer"
  9924. },
  9925. "goodsname": {
  9926. "description": "商品名称",
  9927. "type": "string"
  9928. },
  9929. "marketid": {
  9930. "description": "市场ID",
  9931. "type": "integer"
  9932. },
  9933. "orderid": {
  9934. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9935. "type": "string"
  9936. },
  9937. "ordertype": {
  9938. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9939. "type": "integer"
  9940. },
  9941. "picurls": {
  9942. "description": "介绍图片[多张用逗号分隔]",
  9943. "type": "string"
  9944. },
  9945. "price": {
  9946. "description": "价格",
  9947. "type": "number"
  9948. },
  9949. "qty": {
  9950. "description": "数量",
  9951. "type": "integer"
  9952. },
  9953. "time": {
  9954. "description": "时间",
  9955. "type": "string"
  9956. },
  9957. "trademode": {
  9958. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9959. "type": "integer"
  9960. },
  9961. "vendorname": {
  9962. "description": "供应商名称",
  9963. "type": "string"
  9964. }
  9965. }
  9966. },
  9967. "models.HsbyTopGoods": {
  9968. "type": "object",
  9969. "required": [
  9970. "goodscode",
  9971. "goodsid",
  9972. "goodsname",
  9973. "marketid",
  9974. "trademode"
  9975. ],
  9976. "properties": {
  9977. "agreeunit": {
  9978. "description": "合约单位",
  9979. "type": "number"
  9980. },
  9981. "currency": {
  9982. "description": "货币",
  9983. "type": "string"
  9984. },
  9985. "currencysign": {
  9986. "description": "货币符号",
  9987. "type": "string"
  9988. },
  9989. "decimalplace": {
  9990. "description": "报价小数位",
  9991. "type": "integer"
  9992. },
  9993. "goodscode": {
  9994. "description": "商品代码(内部)",
  9995. "type": "string"
  9996. },
  9997. "goodsid": {
  9998. "description": "商品ID(自增ID SEQ_GOODS)",
  9999. "type": "integer"
  10000. },
  10001. "goodsname": {
  10002. "description": "商品名称",
  10003. "type": "string"
  10004. },
  10005. "hotindex": {
  10006. "description": "景点热度",
  10007. "type": "integer"
  10008. },
  10009. "last": {
  10010. "description": "现价",
  10011. "type": "number"
  10012. },
  10013. "marketid": {
  10014. "description": "所属市场ID",
  10015. "type": "integer"
  10016. },
  10017. "picurls": {
  10018. "description": "介绍图片[多张用逗号分隔]",
  10019. "type": "string"
  10020. },
  10021. "quoteminunit": {
  10022. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10023. "type": "integer"
  10024. },
  10025. "trademode": {
  10026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10027. "type": "integer"
  10028. },
  10029. "videourls": {
  10030. "description": "介绍视频[多张用逗号分隔]",
  10031. "type": "string"
  10032. }
  10033. }
  10034. },
  10035. "models.HybsMyBuyOrderDetail": {
  10036. "type": "object",
  10037. "required": [
  10038. "accountid",
  10039. "buyorsell",
  10040. "goodscode",
  10041. "goodsid",
  10042. "goodsname",
  10043. "marketid",
  10044. "orderid",
  10045. "orderqty",
  10046. "ordertime",
  10047. "trademode"
  10048. ],
  10049. "properties": {
  10050. "accountid": {
  10051. "description": "账户ID[报价币种]",
  10052. "type": "integer"
  10053. },
  10054. "agreeunit": {
  10055. "description": "合约单位",
  10056. "type": "number"
  10057. },
  10058. "buyorsell": {
  10059. "description": "买卖 - 0:买 1:卖",
  10060. "type": "integer"
  10061. },
  10062. "cancelqty": {
  10063. "description": "撤单数量",
  10064. "type": "integer"
  10065. },
  10066. "currencysign": {
  10067. "description": "货币符号",
  10068. "type": "string"
  10069. },
  10070. "decimalplace": {
  10071. "description": "报价小数位",
  10072. "type": "integer"
  10073. },
  10074. "goodscode": {
  10075. "description": "商品代码(内部)",
  10076. "type": "string"
  10077. },
  10078. "goodsid": {
  10079. "description": "商品ID",
  10080. "type": "integer"
  10081. },
  10082. "goodsname": {
  10083. "description": "商品名称",
  10084. "type": "string"
  10085. },
  10086. "listingselecttype": {
  10087. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10088. "type": "integer"
  10089. },
  10090. "marketid": {
  10091. "description": "市场ID",
  10092. "type": "integer"
  10093. },
  10094. "mybuystatus": {
  10095. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  10096. "type": "integer"
  10097. },
  10098. "orderamount": {
  10099. "description": "委托金额",
  10100. "type": "number"
  10101. },
  10102. "orderid": {
  10103. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10104. "type": "string"
  10105. },
  10106. "orderprice": {
  10107. "description": "委托价格",
  10108. "type": "number"
  10109. },
  10110. "orderqty": {
  10111. "description": "委托数量",
  10112. "type": "integer"
  10113. },
  10114. "orderstatus": {
  10115. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10116. "type": "integer"
  10117. },
  10118. "ordertime": {
  10119. "description": "委托时间",
  10120. "type": "string"
  10121. },
  10122. "picurls1": {
  10123. "description": "预售商品介绍图片[多张用逗号分隔]",
  10124. "type": "string"
  10125. },
  10126. "picurls2": {
  10127. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10128. "type": "string"
  10129. },
  10130. "trademode": {
  10131. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10132. "type": "integer"
  10133. },
  10134. "tradeqty": {
  10135. "description": "成交数量",
  10136. "type": "integer"
  10137. },
  10138. "vendorname1": {
  10139. "description": "预售商品供应商名称",
  10140. "type": "string"
  10141. },
  10142. "vendorname2": {
  10143. "description": "挂牌商品供应商名称",
  10144. "type": "string"
  10145. }
  10146. }
  10147. },
  10148. "models.Marketrun": {
  10149. "type": "object",
  10150. "required": [
  10151. "marketid",
  10152. "nexttradedate",
  10153. "reckonflag",
  10154. "runstatus",
  10155. "tradedate",
  10156. "tradedate2"
  10157. ],
  10158. "properties": {
  10159. "afternexttradedate": {
  10160. "description": "下下交易日",
  10161. "type": "string"
  10162. },
  10163. "clearquoteflag": {
  10164. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  10165. "type": "integer"
  10166. },
  10167. "lastreckondate": {
  10168. "description": "最新交易日(结算成功)",
  10169. "type": "string"
  10170. },
  10171. "machinedate": {
  10172. "description": "机器时间",
  10173. "type": "string"
  10174. },
  10175. "manualflag": {
  10176. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  10177. "type": "integer"
  10178. },
  10179. "marketid": {
  10180. "description": "市场ID",
  10181. "type": "integer"
  10182. },
  10183. "nexttradedate": {
  10184. "description": "下一交易日",
  10185. "type": "string"
  10186. },
  10187. "pretradedate": {
  10188. "description": "上一交易日",
  10189. "type": "string"
  10190. },
  10191. "reckonflag": {
  10192. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  10193. "type": "integer"
  10194. },
  10195. "runstatus": {
  10196. "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.今日免清算",
  10197. "type": "integer"
  10198. },
  10199. "sectionid": {
  10200. "description": "时间段号[多时段时用]",
  10201. "type": "integer"
  10202. },
  10203. "tradedate": {
  10204. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  10205. "type": "string"
  10206. },
  10207. "tradedate2": {
  10208. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  10209. "type": "string"
  10210. },
  10211. "updatetime": {
  10212. "description": "更新时间",
  10213. "type": "string"
  10214. }
  10215. }
  10216. },
  10217. "models.Messageboard": {
  10218. "type": "object",
  10219. "required": [
  10220. "messageboardid"
  10221. ],
  10222. "properties": {
  10223. "createtime": {
  10224. "description": "创建时间",
  10225. "type": "string"
  10226. },
  10227. "message": {
  10228. "description": "留言信息",
  10229. "type": "string"
  10230. },
  10231. "messageboardid": {
  10232. "description": "留言簿ID(SEQ_MessageBoard)",
  10233. "type": "integer"
  10234. },
  10235. "userid": {
  10236. "description": "用户ID",
  10237. "type": "integer"
  10238. }
  10239. }
  10240. },
  10241. "models.MyCoupon": {
  10242. "type": "object",
  10243. "required": [
  10244. "accountid",
  10245. "coupontypeid"
  10246. ],
  10247. "properties": {
  10248. "accountid": {
  10249. "description": "资金账户ID",
  10250. "type": "integer"
  10251. },
  10252. "areauserid": {
  10253. "description": "所属机构",
  10254. "type": "integer"
  10255. },
  10256. "conditionvalue": {
  10257. "description": "条件阈值(可为0)",
  10258. "type": "number"
  10259. },
  10260. "couponcategroy": {
  10261. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  10262. "type": "integer"
  10263. },
  10264. "couponname": {
  10265. "description": "优惠券名称",
  10266. "type": "string"
  10267. },
  10268. "coupontypeid": {
  10269. "description": "优惠券类型ID",
  10270. "type": "string"
  10271. },
  10272. "couponvalue": {
  10273. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10274. "type": "number"
  10275. },
  10276. "curfreezeqty": {
  10277. "description": "期末冻结数量",
  10278. "type": "integer"
  10279. },
  10280. "curqty": {
  10281. "description": "期末数量",
  10282. "type": "integer"
  10283. },
  10284. "isgeneral": {
  10285. "description": "是否通用券 - 0:否 1:是",
  10286. "type": "integer"
  10287. },
  10288. "isunusable": {
  10289. "description": "是否不可用",
  10290. "type": "boolean"
  10291. },
  10292. "limitedflag": {
  10293. "description": "是否指定商品 - 0:不限 1:限制",
  10294. "type": "integer"
  10295. },
  10296. "limitedgoodsids": {
  10297. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  10298. "type": "string"
  10299. },
  10300. "orifreezeqty": {
  10301. "description": "期初冻结数量",
  10302. "type": "integer"
  10303. },
  10304. "oriqty": {
  10305. "description": "期初数量",
  10306. "type": "integer"
  10307. },
  10308. "reasontype": {
  10309. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  10310. "type": "integer"
  10311. },
  10312. "todaydecrease": {
  10313. "description": "今日减少",
  10314. "type": "integer"
  10315. },
  10316. "todayincrease": {
  10317. "description": "今日增加",
  10318. "type": "integer"
  10319. },
  10320. "userid": {
  10321. "description": "用户ID",
  10322. "type": "integer"
  10323. },
  10324. "userscope": {
  10325. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  10326. "type": "string"
  10327. }
  10328. }
  10329. },
  10330. "models.MyCouponHold": {
  10331. "type": "object",
  10332. "required": [
  10333. "couponholdid"
  10334. ],
  10335. "properties": {
  10336. "accountid": {
  10337. "description": "资金账户ID",
  10338. "type": "integer"
  10339. },
  10340. "conditionvalue": {
  10341. "description": "条件阈值(可为0)",
  10342. "type": "number"
  10343. },
  10344. "couponcategroy": {
  10345. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  10346. "type": "integer"
  10347. },
  10348. "couponholdid": {
  10349. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  10350. "type": "string"
  10351. },
  10352. "couponname": {
  10353. "description": "优惠券名称",
  10354. "type": "string"
  10355. },
  10356. "coupontypeid": {
  10357. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  10358. "type": "string"
  10359. },
  10360. "couponvalue": {
  10361. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10362. "type": "number"
  10363. },
  10364. "createtime": {
  10365. "description": "创建时间",
  10366. "type": "string"
  10367. },
  10368. "enddate": {
  10369. "description": "结束日期",
  10370. "type": "string"
  10371. },
  10372. "giveapplyid": {
  10373. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10374. "type": "integer"
  10375. },
  10376. "holdstatus": {
  10377. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10378. "type": "integer"
  10379. },
  10380. "isgeneral": {
  10381. "description": "是否通用券 - 0:否 1:是",
  10382. "type": "integer"
  10383. },
  10384. "limitedflag": {
  10385. "description": "是否指定商品 - 0:不限 1:限制",
  10386. "type": "integer"
  10387. },
  10388. "limitedgoodsids": {
  10389. "description": "指定商品IDs[逗号分隔]",
  10390. "type": "string"
  10391. },
  10392. "qty": {
  10393. "description": "数量(按1平铺)",
  10394. "type": "integer"
  10395. },
  10396. "startdate": {
  10397. "description": "开始日期",
  10398. "type": "string"
  10399. },
  10400. "userid": {
  10401. "description": "用户ID",
  10402. "type": "integer"
  10403. },
  10404. "userscope": {
  10405. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10406. "type": "string"
  10407. }
  10408. }
  10409. },
  10410. "models.MyUsedCoupon": {
  10411. "type": "object",
  10412. "required": [
  10413. "coupontypeid",
  10414. "orderid"
  10415. ],
  10416. "properties": {
  10417. "accountid": {
  10418. "description": "资金账户ID(买方)",
  10419. "type": "integer"
  10420. },
  10421. "conditionvalue": {
  10422. "description": "条件阈值(可为0)",
  10423. "type": "number"
  10424. },
  10425. "couponcategroy": {
  10426. "description": "种类 - 1:现金券 2:折扣券",
  10427. "type": "integer"
  10428. },
  10429. "couponname": {
  10430. "description": "优惠券名称",
  10431. "type": "string"
  10432. },
  10433. "coupontypeid": {
  10434. "description": "优惠券类型ID(买方)",
  10435. "type": "string"
  10436. },
  10437. "couponvalue": {
  10438. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10439. "type": "number"
  10440. },
  10441. "createtime": {
  10442. "description": "创建时间",
  10443. "type": "string"
  10444. },
  10445. "goodsid": {
  10446. "description": "商品ID",
  10447. "type": "integer"
  10448. },
  10449. "handlestatus": {
  10450. "description": "处理状态",
  10451. "type": "integer"
  10452. },
  10453. "marketid": {
  10454. "description": "市场ID",
  10455. "type": "integer"
  10456. },
  10457. "offamount": {
  10458. "description": "优惠金额",
  10459. "type": "number"
  10460. },
  10461. "orderid": {
  10462. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10463. "type": "string"
  10464. },
  10465. "sellaccountid": {
  10466. "description": "资金账户ID(卖方)",
  10467. "type": "integer"
  10468. },
  10469. "tradeamount": {
  10470. "description": "成交金额",
  10471. "type": "number"
  10472. },
  10473. "tradeid": {
  10474. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10475. "type": "string"
  10476. },
  10477. "usedqty": {
  10478. "description": "使用数量",
  10479. "type": "integer"
  10480. }
  10481. }
  10482. },
  10483. "models.OperationPrimaryMenu": {
  10484. "type": "object",
  10485. "properties": {
  10486. "Children": {
  10487. "description": "二级功能菜单",
  10488. "type": "array",
  10489. "items": {
  10490. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10491. }
  10492. },
  10493. "Key": {
  10494. "description": "菜单KEY",
  10495. "type": "string"
  10496. },
  10497. "Label": {
  10498. "description": "菜单标题",
  10499. "type": "string"
  10500. }
  10501. }
  10502. },
  10503. "models.OperationSecondaryMenu": {
  10504. "type": "object",
  10505. "properties": {
  10506. "Key": {
  10507. "description": "菜单KEY",
  10508. "type": "string"
  10509. },
  10510. "Label": {
  10511. "description": "菜单标题",
  10512. "type": "string"
  10513. },
  10514. "TabList": {
  10515. "description": "三级功能菜单",
  10516. "type": "array",
  10517. "items": {
  10518. "$ref": "#/definitions/models.OperationTabMenu"
  10519. }
  10520. }
  10521. }
  10522. },
  10523. "models.OperationTabMenu": {
  10524. "type": "object",
  10525. "properties": {
  10526. "Key": {
  10527. "description": "菜单KEY",
  10528. "type": "string"
  10529. },
  10530. "Label": {
  10531. "description": "菜单标题",
  10532. "type": "string"
  10533. }
  10534. }
  10535. },
  10536. "models.QuotePrimaryMenu": {
  10537. "type": "object",
  10538. "properties": {
  10539. "Index": {
  10540. "description": "序号",
  10541. "type": "integer"
  10542. },
  10543. "Key": {
  10544. "description": "键名",
  10545. "type": "string"
  10546. },
  10547. "Name": {
  10548. "description": "菜单名称",
  10549. "type": "string"
  10550. },
  10551. "SubMenus": {
  10552. "description": "子菜单",
  10553. "type": "array",
  10554. "items": {
  10555. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10556. }
  10557. },
  10558. "SubTitleType": {
  10559. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10560. "type": "integer"
  10561. },
  10562. "TradeModes": {
  10563. "description": "包含市场交易类型",
  10564. "type": "string"
  10565. }
  10566. }
  10567. },
  10568. "models.QuoteSecondaryMenu": {
  10569. "type": "object",
  10570. "properties": {
  10571. "ExExchangeCode": {
  10572. "description": "外部交易所代码",
  10573. "type": "string"
  10574. },
  10575. "ExExchangeID": {
  10576. "description": "外部交易所ID",
  10577. "type": "integer"
  10578. },
  10579. "GoodsGroupIDs": {
  10580. "description": "商品组ID列表",
  10581. "type": "array",
  10582. "items": {
  10583. "type": "integer"
  10584. }
  10585. },
  10586. "Index": {
  10587. "description": "序号",
  10588. "type": "integer"
  10589. },
  10590. "MarketID": {
  10591. "description": "市场ID",
  10592. "type": "integer"
  10593. },
  10594. "MenuTitle": {
  10595. "description": "菜单标题(市场名称或外部交易所名称)",
  10596. "type": "string"
  10597. },
  10598. "TradeMode": {
  10599. "description": "交易模式",
  10600. "type": "integer"
  10601. }
  10602. }
  10603. },
  10604. "models.SearchGoods": {
  10605. "type": "object",
  10606. "required": [
  10607. "goodscode",
  10608. "goodsid",
  10609. "goodsname",
  10610. "marketid",
  10611. "trademode"
  10612. ],
  10613. "properties": {
  10614. "goodscode": {
  10615. "description": "商品代码(内部)",
  10616. "type": "string"
  10617. },
  10618. "goodsid": {
  10619. "description": "商品ID(自增ID SEQ_GOODS)",
  10620. "type": "integer"
  10621. },
  10622. "goodsname": {
  10623. "description": "商品名称",
  10624. "type": "string"
  10625. },
  10626. "marketid": {
  10627. "description": "所属市场ID",
  10628. "type": "integer"
  10629. },
  10630. "marketname": {
  10631. "description": "市场名称",
  10632. "type": "string"
  10633. },
  10634. "trademode": {
  10635. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10636. "type": "integer"
  10637. }
  10638. }
  10639. },
  10640. "models.Szdz2imageconfig": {
  10641. "type": "object",
  10642. "required": [
  10643. "configid"
  10644. ],
  10645. "properties": {
  10646. "configid": {
  10647. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10648. "type": "integer"
  10649. },
  10650. "imagepath": {
  10651. "description": "图片",
  10652. "type": "string"
  10653. },
  10654. "imagetype": {
  10655. "description": "类型 - 1:App首页轮播 2:我的",
  10656. "type": "integer"
  10657. },
  10658. "sort": {
  10659. "description": "排序",
  10660. "type": "integer"
  10661. },
  10662. "title": {
  10663. "description": "标题",
  10664. "type": "string"
  10665. },
  10666. "url": {
  10667. "description": "链接",
  10668. "type": "string"
  10669. }
  10670. }
  10671. },
  10672. "models.Szdz3convertconfig": {
  10673. "type": "object",
  10674. "required": [
  10675. "converttype",
  10676. "innergoodsid",
  10677. "outergoodscode"
  10678. ],
  10679. "properties": {
  10680. "canin": {
  10681. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10682. "type": "integer"
  10683. },
  10684. "canout": {
  10685. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10686. "type": "integer"
  10687. },
  10688. "converttype": {
  10689. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10690. "type": "integer"
  10691. },
  10692. "createtime": {
  10693. "description": "创建时间",
  10694. "type": "string"
  10695. },
  10696. "creatorid": {
  10697. "description": "创建人",
  10698. "type": "integer"
  10699. },
  10700. "daymaxvalue": {
  10701. "description": "当日最大转入限制",
  10702. "type": "number"
  10703. },
  10704. "freezedays": {
  10705. "description": "冻结天数 [5:花生米转交易]",
  10706. "type": "integer"
  10707. },
  10708. "innergoodsid": {
  10709. "description": "内部商品ID[交易]",
  10710. "type": "integer"
  10711. },
  10712. "inratio": {
  10713. "description": "目标值",
  10714. "type": "integer"
  10715. },
  10716. "modifierid": {
  10717. "description": "修改人",
  10718. "type": "integer"
  10719. },
  10720. "modifytime": {
  10721. "description": "修改时间",
  10722. "type": "string"
  10723. },
  10724. "outergoodscode": {
  10725. "description": "外部商品代码[JD\\PD]",
  10726. "type": "string"
  10727. },
  10728. "outratio": {
  10729. "description": "源值",
  10730. "type": "integer"
  10731. },
  10732. "pddecimalplace": {
  10733. "description": "PD小数位",
  10734. "type": "integer"
  10735. },
  10736. "timemaxvalue": {
  10737. "description": "单次最大转入限制",
  10738. "type": "number"
  10739. },
  10740. "timeminvalue": {
  10741. "description": "单次最小转入限制",
  10742. "type": "number"
  10743. }
  10744. }
  10745. },
  10746. "models.Szdz3searchwhitelist": {
  10747. "type": "object",
  10748. "required": [
  10749. "userid"
  10750. ],
  10751. "properties": {
  10752. "createtime": {
  10753. "description": "创建时间",
  10754. "type": "string"
  10755. },
  10756. "creatorid": {
  10757. "description": "创建人",
  10758. "type": "integer"
  10759. },
  10760. "modifierid": {
  10761. "description": "修改人",
  10762. "type": "integer"
  10763. },
  10764. "modifytime": {
  10765. "description": "修改时间",
  10766. "type": "string"
  10767. },
  10768. "userid": {
  10769. "description": "用户ID",
  10770. "type": "integer"
  10771. }
  10772. }
  10773. },
  10774. "models.Tablecolumnconfig": {
  10775. "type": "object",
  10776. "required": [
  10777. "autoid"
  10778. ],
  10779. "properties": {
  10780. "aligntype": {
  10781. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10782. "type": "integer"
  10783. },
  10784. "autoid": {
  10785. "description": "AutoID",
  10786. "type": "integer"
  10787. },
  10788. "columnfield": {
  10789. "description": "列字段",
  10790. "type": "string"
  10791. },
  10792. "columntitle": {
  10793. "description": "列Title",
  10794. "type": "string"
  10795. },
  10796. "columnwidth": {
  10797. "description": "列宽",
  10798. "type": "string"
  10799. },
  10800. "formatterstring": {
  10801. "description": "格式化字符",
  10802. "type": "string"
  10803. },
  10804. "formattertype": {
  10805. "description": "格式化类型",
  10806. "type": "string"
  10807. },
  10808. "groupname": {
  10809. "description": "表头分组名称",
  10810. "type": "string"
  10811. },
  10812. "isshow": {
  10813. "description": "是否显示 - 0:不显示 1:显示",
  10814. "type": "integer"
  10815. },
  10816. "needsummary": {
  10817. "description": "是否需要汇总 - 0:不需要 1:需要",
  10818. "type": "integer"
  10819. },
  10820. "orderindex": {
  10821. "description": "顺序",
  10822. "type": "integer"
  10823. },
  10824. "remark": {
  10825. "description": "备注",
  10826. "type": "string"
  10827. },
  10828. "summarytype": {
  10829. "description": "汇总类型 - 1:加总 2:最后一个",
  10830. "type": "integer"
  10831. },
  10832. "tablekey": {
  10833. "description": "列表Key",
  10834. "type": "string"
  10835. }
  10836. }
  10837. },
  10838. "models.Useraccount": {
  10839. "type": "object",
  10840. "required": [
  10841. "userid"
  10842. ],
  10843. "properties": {
  10844. "accountname": {
  10845. "description": "账户名称(机构名称)",
  10846. "type": "string"
  10847. },
  10848. "accountstatus": {
  10849. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10850. "type": "integer"
  10851. },
  10852. "auditremark": {
  10853. "description": "审核备注",
  10854. "type": "string"
  10855. },
  10856. "audittime": {
  10857. "description": "审核时间",
  10858. "type": "string"
  10859. },
  10860. "audituserid": {
  10861. "description": "审核人",
  10862. "type": "integer"
  10863. },
  10864. "broker": {
  10865. "description": "所属经纪人ID",
  10866. "type": "integer"
  10867. },
  10868. "canceltime": {
  10869. "description": "销户时间",
  10870. "type": "string"
  10871. },
  10872. "canceluserid": {
  10873. "description": "销户人",
  10874. "type": "integer"
  10875. },
  10876. "createtime": {
  10877. "description": "创建时间",
  10878. "type": "string"
  10879. },
  10880. "creatorid": {
  10881. "description": "创建人",
  10882. "type": "integer"
  10883. },
  10884. "hasauth": {
  10885. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10886. "type": "integer"
  10887. },
  10888. "isanonymous": {
  10889. "description": "是否匿名下单 - 0:否 1:是",
  10890. "type": "integer"
  10891. },
  10892. "maxinvestornum": {
  10893. "description": "最大用户数(经纪会员下投资者个数)",
  10894. "type": "integer"
  10895. },
  10896. "memberuserid": {
  10897. "description": "所属会员ID",
  10898. "type": "integer"
  10899. },
  10900. "modifierid": {
  10901. "description": "修改人",
  10902. "type": "integer"
  10903. },
  10904. "modifyremark": {
  10905. "description": "变更备注",
  10906. "type": "string"
  10907. },
  10908. "modifystatus": {
  10909. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10910. "type": "integer"
  10911. },
  10912. "modifytime": {
  10913. "description": "修改时间",
  10914. "type": "string"
  10915. },
  10916. "parentuserid": {
  10917. "description": "所属机构ID",
  10918. "type": "integer"
  10919. },
  10920. "reckonaccountid": {
  10921. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10922. "type": "integer"
  10923. },
  10924. "refercount": {
  10925. "description": "推荐总人数",
  10926. "type": "integer"
  10927. },
  10928. "refereeuserid": {
  10929. "description": "推荐人ID",
  10930. "type": "integer"
  10931. },
  10932. "refernum": {
  10933. "description": "推荐码",
  10934. "type": "string"
  10935. },
  10936. "subarealevelpath": {
  10937. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10938. "type": "string"
  10939. },
  10940. "userid": {
  10941. "description": "用户ID",
  10942. "type": "integer"
  10943. },
  10944. "usertype": {
  10945. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10946. "type": "integer"
  10947. }
  10948. }
  10949. },
  10950. "models.Userfavoritegoods": {
  10951. "type": "object",
  10952. "required": [
  10953. "goodsid"
  10954. ],
  10955. "properties": {
  10956. "goodsid": {
  10957. "description": "商品ID",
  10958. "type": "integer"
  10959. }
  10960. }
  10961. },
  10962. "models.Userinfo": {
  10963. "type": "object",
  10964. "required": [
  10965. "userid"
  10966. ],
  10967. "properties": {
  10968. "address": {
  10969. "description": "地址",
  10970. "type": "string"
  10971. },
  10972. "attachment1": {
  10973. "description": "附件1",
  10974. "type": "string"
  10975. },
  10976. "attachment2": {
  10977. "description": "附件2",
  10978. "type": "string"
  10979. },
  10980. "bankaccount": {
  10981. "description": "银行帐号 (加密存储)",
  10982. "type": "string"
  10983. },
  10984. "bankaccountname": {
  10985. "description": "收款人名称",
  10986. "type": "string"
  10987. },
  10988. "bankcardfrontphotourl": {
  10989. "description": "银行卡正面照地址",
  10990. "type": "string"
  10991. },
  10992. "bankid": {
  10993. "description": "银行编码",
  10994. "type": "string"
  10995. },
  10996. "bankname": {
  10997. "description": "银行名称",
  10998. "type": "string"
  10999. },
  11000. "biznature": {
  11001. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11002. "type": "integer"
  11003. },
  11004. "bizscope": {
  11005. "description": "企业经营范围(企业)",
  11006. "type": "string"
  11007. },
  11008. "cardbackphotourl": {
  11009. "description": "证件背面图片地址",
  11010. "type": "string"
  11011. },
  11012. "cardfrontphotourl": {
  11013. "description": "证件正面图片地址",
  11014. "type": "string"
  11015. },
  11016. "cardnum": {
  11017. "description": "证件号码(加密存储)",
  11018. "type": "string"
  11019. },
  11020. "cardtypeid": {
  11021. "description": "证件类型ID",
  11022. "type": "integer"
  11023. },
  11024. "cityid": {
  11025. "description": "市",
  11026. "type": "integer"
  11027. },
  11028. "company": {
  11029. "description": "公司(个人)",
  11030. "type": "string"
  11031. },
  11032. "contactname": {
  11033. "description": "联系人",
  11034. "type": "string"
  11035. },
  11036. "countryid": {
  11037. "description": "国家",
  11038. "type": "integer"
  11039. },
  11040. "createtime": {
  11041. "description": "创建时间",
  11042. "type": "string"
  11043. },
  11044. "creatorid": {
  11045. "description": "创建人",
  11046. "type": "integer"
  11047. },
  11048. "customername": {
  11049. "description": "客户名称(企业名称)",
  11050. "type": "string"
  11051. },
  11052. "districtid": {
  11053. "description": "地区",
  11054. "type": "integer"
  11055. },
  11056. "email": {
  11057. "description": "邮件(加密存储)",
  11058. "type": "string"
  11059. },
  11060. "fax": {
  11061. "description": "传真(加密存储)",
  11062. "type": "string"
  11063. },
  11064. "halfbodyphotourl": {
  11065. "description": "半身照地址",
  11066. "type": "string"
  11067. },
  11068. "hasencrypt": {
  11069. "description": "数据是否已加密 - 0:未加密 1:已加密",
  11070. "type": "integer"
  11071. },
  11072. "headurl": {
  11073. "description": "头像地址",
  11074. "type": "string"
  11075. },
  11076. "legalcardbackphotourl": {
  11077. "description": "法人身份证背面照地址",
  11078. "type": "string"
  11079. },
  11080. "legalcardfrontphotourl": {
  11081. "description": "法人身份证正面照地址",
  11082. "type": "string"
  11083. },
  11084. "legalpersonname": {
  11085. "description": "法人姓名(企业)",
  11086. "type": "string"
  11087. },
  11088. "mobile": {
  11089. "description": "手机号码(加密存储)",
  11090. "type": "string"
  11091. },
  11092. "mobile2": {
  11093. "description": "手机号码[明文-尚志]",
  11094. "type": "string"
  11095. },
  11096. "modifierid": {
  11097. "description": "修改人",
  11098. "type": "integer"
  11099. },
  11100. "modifiertime": {
  11101. "description": "修改时间",
  11102. "type": "string"
  11103. },
  11104. "needinvoice": {
  11105. "description": "是否需要发票 - 0:不需要 1:需要",
  11106. "type": "integer"
  11107. },
  11108. "nickname": {
  11109. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  11110. "type": "string"
  11111. },
  11112. "openmode": {
  11113. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  11114. "type": "integer"
  11115. },
  11116. "otherurl": {
  11117. "description": "其它图片地址[使用分号分隔]",
  11118. "type": "string"
  11119. },
  11120. "postalcode": {
  11121. "description": "邮政编码",
  11122. "type": "string"
  11123. },
  11124. "provinceid": {
  11125. "description": "省",
  11126. "type": "integer"
  11127. },
  11128. "qq": {
  11129. "description": "QQ(加密存储",
  11130. "type": "string"
  11131. },
  11132. "remark": {
  11133. "description": "备注",
  11134. "type": "string"
  11135. },
  11136. "sex": {
  11137. "description": "用户性别 0: 女 1: 男",
  11138. "type": "integer"
  11139. },
  11140. "signpdfurl": {
  11141. "description": "签约pdf文件",
  11142. "type": "string"
  11143. },
  11144. "telphone": {
  11145. "description": "联系电话(加密存储)",
  11146. "type": "string"
  11147. },
  11148. "userid": {
  11149. "description": "用户ID",
  11150. "type": "integer"
  11151. },
  11152. "userinfotype": {
  11153. "description": "用户信息类型 - 1:个人 2:企业",
  11154. "type": "integer"
  11155. },
  11156. "userstatus": {
  11157. "description": "用户状态 - 1:正常 2:注销",
  11158. "type": "integer"
  11159. },
  11160. "usertype": {
  11161. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11162. "type": "integer"
  11163. },
  11164. "wechat": {
  11165. "description": "微信(加密存储)",
  11166. "type": "string"
  11167. },
  11168. "wskhinfo": {
  11169. "description": "开户申请信息(JSON)",
  11170. "type": "string"
  11171. }
  11172. }
  11173. },
  11174. "models.WRCategoryTree": {
  11175. "type": "object",
  11176. "required": [
  11177. "categoryid"
  11178. ],
  11179. "properties": {
  11180. "areauserid": {
  11181. "description": "所属机构",
  11182. "type": "integer"
  11183. },
  11184. "categorydesc": {
  11185. "description": "类别描述",
  11186. "type": "string"
  11187. },
  11188. "categoryid": {
  11189. "description": "类别ID(SEQ_WRCATEGORY)",
  11190. "type": "integer"
  11191. },
  11192. "categoryname": {
  11193. "description": "类别名称",
  11194. "type": "string"
  11195. },
  11196. "iconurl": {
  11197. "description": "图标地址",
  11198. "type": "string"
  11199. },
  11200. "orderindex": {
  11201. "description": "顺序",
  11202. "type": "integer"
  11203. },
  11204. "parentcategoryid": {
  11205. "description": "父类别ID",
  11206. "type": "integer"
  11207. },
  11208. "subcategory": {
  11209. "description": "子分类",
  11210. "type": "array",
  11211. "items": {
  11212. "$ref": "#/definitions/models.WRCategoryTree"
  11213. }
  11214. }
  11215. }
  11216. },
  11217. "models.WRStandardInfo": {
  11218. "type": "object",
  11219. "required": [
  11220. "wrstandardid"
  11221. ],
  11222. "properties": {
  11223. "createtime": {
  11224. "description": "创建时间",
  11225. "type": "string"
  11226. },
  11227. "creatorid": {
  11228. "description": "创建人",
  11229. "type": "integer"
  11230. },
  11231. "deliverygoodsid": {
  11232. "description": "品种ID",
  11233. "type": "integer"
  11234. },
  11235. "deliverygoodsname": {
  11236. "description": "交割商品名称",
  11237. "type": "string"
  11238. },
  11239. "factoryitemjson": {
  11240. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  11241. "type": "string"
  11242. },
  11243. "isvalid": {
  11244. "description": "是否有效 - 0:无效 1:有效",
  11245. "type": "integer"
  11246. },
  11247. "minivalue": {
  11248. "description": "最小变动值",
  11249. "type": "integer"
  11250. },
  11251. "minivaluedp": {
  11252. "description": "最小变动值小数位",
  11253. "type": "integer"
  11254. },
  11255. "realminivalue": {
  11256. "description": "实际最小变动值",
  11257. "type": "integer"
  11258. },
  11259. "realminivaluedp": {
  11260. "description": "实际最小变动值小数位",
  11261. "type": "integer"
  11262. },
  11263. "unitid": {
  11264. "description": "单位ID",
  11265. "type": "integer"
  11266. },
  11267. "unitname": {
  11268. "description": "单位",
  11269. "type": "string"
  11270. },
  11271. "updatetime": {
  11272. "description": "更新时间",
  11273. "type": "string"
  11274. },
  11275. "updatorid": {
  11276. "description": "更新人",
  11277. "type": "integer"
  11278. },
  11279. "wrsstatus": {
  11280. "description": "状态 - 作废 - 0:未激活 1:正常",
  11281. "type": "integer"
  11282. },
  11283. "wrstandardcode": {
  11284. "description": "仓单标准代码",
  11285. "type": "string"
  11286. },
  11287. "wrstandardid": {
  11288. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11289. "type": "integer"
  11290. },
  11291. "wrstandardname": {
  11292. "description": "仓单标准名称",
  11293. "type": "string"
  11294. }
  11295. }
  11296. },
  11297. "models.Warehouseinfo": {
  11298. "type": "object",
  11299. "required": [
  11300. "autoid",
  11301. "warehousecode"
  11302. ],
  11303. "properties": {
  11304. "address": {
  11305. "description": "详细地址",
  11306. "type": "string"
  11307. },
  11308. "areauserid": {
  11309. "description": "所属机构",
  11310. "type": "integer"
  11311. },
  11312. "autoid": {
  11313. "description": "自增ID",
  11314. "type": "integer"
  11315. },
  11316. "cityid": {
  11317. "description": "市",
  11318. "type": "integer"
  11319. },
  11320. "contactname": {
  11321. "description": "联系人",
  11322. "type": "string"
  11323. },
  11324. "contactnum": {
  11325. "description": "联系电话",
  11326. "type": "string"
  11327. },
  11328. "countryid": {
  11329. "description": "国家",
  11330. "type": "integer"
  11331. },
  11332. "createtime": {
  11333. "description": "创建时间",
  11334. "type": "string"
  11335. },
  11336. "districtid": {
  11337. "description": "区",
  11338. "type": "integer"
  11339. },
  11340. "hasvideo": {
  11341. "description": "是否有视频 - 0:无 1:有",
  11342. "type": "integer"
  11343. },
  11344. "provinceid": {
  11345. "description": "省",
  11346. "type": "integer"
  11347. },
  11348. "remark": {
  11349. "description": "审核备注",
  11350. "type": "string"
  11351. },
  11352. "videourl": {
  11353. "description": "视频地址",
  11354. "type": "string"
  11355. },
  11356. "warehousecode": {
  11357. "description": "仓库代码",
  11358. "type": "string"
  11359. },
  11360. "warehousename": {
  11361. "description": "仓库名称",
  11362. "type": "string"
  11363. },
  11364. "warehousestatus": {
  11365. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11366. "type": "integer"
  11367. },
  11368. "warehousetype": {
  11369. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11370. "type": "integer"
  11371. }
  11372. }
  11373. },
  11374. "order.QueryHisTradeDetailRsp": {
  11375. "type": "object",
  11376. "required": [
  11377. "accountid",
  11378. "buyorsell",
  11379. "goodsid",
  11380. "histradedate",
  11381. "marketid",
  11382. "memberuserid",
  11383. "orderid",
  11384. "tradeamount",
  11385. "tradedate",
  11386. "tradeid",
  11387. "tradeprice",
  11388. "tradeqty",
  11389. "tradetime"
  11390. ],
  11391. "properties": {
  11392. "accountid": {
  11393. "description": "账户ID[报价币种]",
  11394. "type": "integer"
  11395. },
  11396. "buildtype": {
  11397. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11398. "type": "integer"
  11399. },
  11400. "buyorsell": {
  11401. "description": "方向 - 0:买 1:卖",
  11402. "type": "integer"
  11403. },
  11404. "charge": {
  11405. "description": "手续费",
  11406. "type": "number"
  11407. },
  11408. "closecharge": {
  11409. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11410. "type": "number"
  11411. },
  11412. "closeexchagechargevalue": {
  11413. "description": "平仓交易所手续费设置值",
  11414. "type": "number"
  11415. },
  11416. "closefeealgorithm": {
  11417. "description": "平仓手续费收取方式 1:比率 2:固定",
  11418. "type": "integer"
  11419. },
  11420. "closememberchargevalue": {
  11421. "description": "平仓会员手续费设置值",
  11422. "type": "number"
  11423. },
  11424. "closepl": {
  11425. "description": "平仓盈亏",
  11426. "type": "number"
  11427. },
  11428. "closepl2": {
  11429. "description": "平仓盈亏[逐笔]",
  11430. "type": "number"
  11431. },
  11432. "closeqty": {
  11433. "description": "平仓数量(先建后平操作 需要记录)",
  11434. "type": "integer"
  11435. },
  11436. "creditamount": {
  11437. "description": "授信金额",
  11438. "type": "number"
  11439. },
  11440. "gcaccountid": {
  11441. "description": "账户ID[合约币种]",
  11442. "type": "integer"
  11443. },
  11444. "goodscode": {
  11445. "description": "商品代码",
  11446. "type": "string"
  11447. },
  11448. "goodsid": {
  11449. "description": "商品ID",
  11450. "type": "integer"
  11451. },
  11452. "goodsname": {
  11453. "description": "商品名称",
  11454. "type": "string"
  11455. },
  11456. "histradedate": {
  11457. "description": "历史交易日",
  11458. "type": "string"
  11459. },
  11460. "intclosepl": {
  11461. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11462. "type": "integer"
  11463. },
  11464. "isconfirmexercise": {
  11465. "description": "是否确认行权- 0:否 1:是",
  11466. "type": "integer"
  11467. },
  11468. "ismain": {
  11469. "description": "是否主单 - 0:不是 1:是",
  11470. "type": "integer"
  11471. },
  11472. "ispreexercise": {
  11473. "description": "是否预申报- 0:否 1:是",
  11474. "type": "integer"
  11475. },
  11476. "isreckoned": {
  11477. "description": "是否结算 - 0:未结算 1:已结算",
  11478. "type": "integer"
  11479. },
  11480. "isvaliddata": {
  11481. "description": "是否有效 - 0:无效 1:有效",
  11482. "type": "integer"
  11483. },
  11484. "listingselecttype": {
  11485. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11486. "type": "integer"
  11487. },
  11488. "marketid": {
  11489. "description": "市场ID",
  11490. "type": "integer"
  11491. },
  11492. "marketname": {
  11493. "description": "市场名称",
  11494. "type": "string"
  11495. },
  11496. "matchaccountid": {
  11497. "description": "对手账号id",
  11498. "type": "integer"
  11499. },
  11500. "memberuserid": {
  11501. "description": "会员id 个人投资者 需要填写",
  11502. "type": "integer"
  11503. },
  11504. "opencharge": {
  11505. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11506. "type": "number"
  11507. },
  11508. "openexchagechargevalue": {
  11509. "description": "建仓交易所手续费设置值",
  11510. "type": "number"
  11511. },
  11512. "openfeealgorithm": {
  11513. "description": "建仓手续费收取方式 1:比率 2:固定",
  11514. "type": "integer"
  11515. },
  11516. "openmemberchargevalue": {
  11517. "description": "建仓会员手续费设置值",
  11518. "type": "number"
  11519. },
  11520. "openqty": {
  11521. "description": "开仓数量(先建后平操作 需要记录)",
  11522. "type": "integer"
  11523. },
  11524. "optiontype": {
  11525. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11526. "type": "integer"
  11527. },
  11528. "orderid": {
  11529. "description": "委托单号",
  11530. "type": "string"
  11531. },
  11532. "performanceplanid": {
  11533. "description": "履约计划ID[期权]",
  11534. "type": "integer"
  11535. },
  11536. "performancestatus": {
  11537. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11538. "type": "integer"
  11539. },
  11540. "preexerciseprice": {
  11541. "description": "预申报价格",
  11542. "type": "number"
  11543. },
  11544. "premium": {
  11545. "description": "权利金 - [持仓单的权利金]",
  11546. "type": "number"
  11547. },
  11548. "relatedouttradeid": {
  11549. "description": "关联外部成交单ID",
  11550. "type": "integer"
  11551. },
  11552. "status": {
  11553. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11554. "type": "integer"
  11555. },
  11556. "tradeamount": {
  11557. "description": "成交金额[账户币种,用于所有权]",
  11558. "type": "number"
  11559. },
  11560. "tradedate": {
  11561. "description": "交易日(yyyyMMdd)",
  11562. "type": "string"
  11563. },
  11564. "tradeid": {
  11565. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11566. "type": "string"
  11567. },
  11568. "trademode": {
  11569. "description": "交易模式",
  11570. "type": "integer"
  11571. },
  11572. "tradeprice": {
  11573. "description": "成交价格",
  11574. "type": "number"
  11575. },
  11576. "tradeproperty": {
  11577. "description": "交易属性",
  11578. "type": "integer"
  11579. },
  11580. "tradeqty": {
  11581. "description": "成交数量",
  11582. "type": "integer"
  11583. },
  11584. "tradetime": {
  11585. "description": "成交时间",
  11586. "type": "string"
  11587. },
  11588. "tradetype": {
  11589. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11590. "type": "integer"
  11591. }
  11592. }
  11593. },
  11594. "order.QueryHisTradeOrderDetailRsp": {
  11595. "type": "object",
  11596. "required": [
  11597. "accountid",
  11598. "buildtype",
  11599. "buyorsell",
  11600. "goodsid",
  11601. "histradedate",
  11602. "marketid",
  11603. "memberuserid",
  11604. "operatetype",
  11605. "orderid",
  11606. "orderqty",
  11607. "ordertime",
  11608. "pricemode",
  11609. "tradedate",
  11610. "validtype"
  11611. ],
  11612. "properties": {
  11613. "accountid": {
  11614. "description": "账户ID[报价币种]",
  11615. "type": "integer"
  11616. },
  11617. "buildtype": {
  11618. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11619. "type": "integer"
  11620. },
  11621. "buyorsell": {
  11622. "description": "买卖 - 0:买 1:卖",
  11623. "type": "integer"
  11624. },
  11625. "cancelorderid": {
  11626. "description": "撤单单号(撤单时填写)",
  11627. "type": "string"
  11628. },
  11629. "cancelqty": {
  11630. "description": "撤单数量",
  11631. "type": "integer"
  11632. },
  11633. "clientordertime": {
  11634. "description": "客户端委托时间",
  11635. "type": "string"
  11636. },
  11637. "clientticket": {
  11638. "description": "客户端流水号",
  11639. "type": "string"
  11640. },
  11641. "clienttype": {
  11642. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11643. "type": "integer"
  11644. },
  11645. "closeexchagechargevalue": {
  11646. "description": "平仓交易所手续费设置值",
  11647. "type": "number"
  11648. },
  11649. "closefeealgorithm": {
  11650. "description": "平仓手续费收取方式 1:比率 2:固定",
  11651. "type": "integer"
  11652. },
  11653. "closefreezecharge": {
  11654. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11655. "type": "number"
  11656. },
  11657. "closememberchargevalue": {
  11658. "description": "平仓会员手续费设置值",
  11659. "type": "number"
  11660. },
  11661. "closeqty": {
  11662. "description": "平仓数量(先建后平操作 需要记录)",
  11663. "type": "integer"
  11664. },
  11665. "closetradeqty": {
  11666. "description": "平仓成交数量(先建后平操作,需要记录)",
  11667. "type": "integer"
  11668. },
  11669. "closeunfreezecharge": {
  11670. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11671. "type": "number"
  11672. },
  11673. "delistingtype": {
  11674. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11675. "type": "integer"
  11676. },
  11677. "freezecharge": {
  11678. "description": "冻结手续费",
  11679. "type": "number"
  11680. },
  11681. "freezemargin": {
  11682. "description": "冻结保证金(冻结交易金额)",
  11683. "type": "number"
  11684. },
  11685. "gcaccountid": {
  11686. "description": "账户ID[合约币种]",
  11687. "type": "integer"
  11688. },
  11689. "goodscode": {
  11690. "description": "商品代码",
  11691. "type": "string"
  11692. },
  11693. "goodsid": {
  11694. "description": "商品ID",
  11695. "type": "integer"
  11696. },
  11697. "goodsname": {
  11698. "description": "商品名称",
  11699. "type": "string"
  11700. },
  11701. "histradedate": {
  11702. "description": "历史交易日",
  11703. "type": "string"
  11704. },
  11705. "isconfirmexercise": {
  11706. "description": "是否确认行权- 0:否 1:是",
  11707. "type": "integer"
  11708. },
  11709. "ispreexercise": {
  11710. "description": "是否预申报- 0:否 1:是",
  11711. "type": "integer"
  11712. },
  11713. "isvaliddata": {
  11714. "description": "是否有效 - 0:无效 1:有效",
  11715. "type": "integer"
  11716. },
  11717. "listingselecttype": {
  11718. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11719. "type": "integer"
  11720. },
  11721. "marginalgorithm": {
  11722. "description": "保证金收取方式 1:比率 2:固定",
  11723. "type": "integer"
  11724. },
  11725. "marginvalue": {
  11726. "description": "即市保证金设置值",
  11727. "type": "number"
  11728. },
  11729. "marketid": {
  11730. "description": "市场ID",
  11731. "type": "integer"
  11732. },
  11733. "marketmaxsub": {
  11734. "description": "市价最大偏移范围",
  11735. "type": "number"
  11736. },
  11737. "marketname": {
  11738. "description": "市场名称",
  11739. "type": "string"
  11740. },
  11741. "memberuserid": {
  11742. "description": "所属会员UserID",
  11743. "type": "integer"
  11744. },
  11745. "openexchagechargevalue": {
  11746. "description": "建仓交易所手续费设置值",
  11747. "type": "number"
  11748. },
  11749. "openfeealgorithm": {
  11750. "description": "建仓手续费收取方式 1:比率 2:固定",
  11751. "type": "integer"
  11752. },
  11753. "openfreezecharge": {
  11754. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11755. "type": "number"
  11756. },
  11757. "openmemberchargevalue": {
  11758. "description": "建仓会员手续费设置值",
  11759. "type": "number"
  11760. },
  11761. "openqty": {
  11762. "description": "开仓数量(先建后平操作,需要记录)",
  11763. "type": "integer"
  11764. },
  11765. "opentradeqty": {
  11766. "description": "开仓成交数量(先建后平操作,需要记录)",
  11767. "type": "integer"
  11768. },
  11769. "openunfreezecharge": {
  11770. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11771. "type": "number"
  11772. },
  11773. "operatetype": {
  11774. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11775. "type": "integer"
  11776. },
  11777. "operatorid": {
  11778. "description": "登录账号(LoginID)",
  11779. "type": "integer"
  11780. },
  11781. "optiontype": {
  11782. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11783. "type": "integer"
  11784. },
  11785. "orderid": {
  11786. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11787. "type": "string"
  11788. },
  11789. "orderprice": {
  11790. "description": "委托价格",
  11791. "type": "number"
  11792. },
  11793. "orderqty": {
  11794. "description": "委托数量",
  11795. "type": "integer"
  11796. },
  11797. "ordersrc": {
  11798. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11799. "type": "integer"
  11800. },
  11801. "orderstatus": {
  11802. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11803. "type": "integer"
  11804. },
  11805. "ordertime": {
  11806. "description": "委托时间",
  11807. "type": "string"
  11808. },
  11809. "preexerciseprice": {
  11810. "description": "预申报价格",
  11811. "type": "number"
  11812. },
  11813. "premium": {
  11814. "description": "权利金",
  11815. "type": "number"
  11816. },
  11817. "preorderid": {
  11818. "description": "关联预埋单号(止盈止损单时填写)",
  11819. "type": "string"
  11820. },
  11821. "pricemode": {
  11822. "description": "取价方式 - 1:市价 2: 限价",
  11823. "type": "integer"
  11824. },
  11825. "quoteid": {
  11826. "description": "报价单ID",
  11827. "type": "integer"
  11828. },
  11829. "relatedid": {
  11830. "description": "关联单号(交割单)",
  11831. "type": "string"
  11832. },
  11833. "retcode": {
  11834. "description": "错误代码",
  11835. "type": "integer"
  11836. },
  11837. "sessionid": {
  11838. "description": "会话ID",
  11839. "type": "integer"
  11840. },
  11841. "tradedate": {
  11842. "description": "交易日(yyyyMMdd)",
  11843. "type": "string"
  11844. },
  11845. "trademode": {
  11846. "description": "交易模式",
  11847. "type": "integer"
  11848. },
  11849. "tradeproperty": {
  11850. "description": "交易属性",
  11851. "type": "integer"
  11852. },
  11853. "tradeqty": {
  11854. "description": "成交数量",
  11855. "type": "integer"
  11856. },
  11857. "unfreezecharge": {
  11858. "description": "解冻手续费",
  11859. "type": "number"
  11860. },
  11861. "unfreezemargin": {
  11862. "description": "解冻保证金",
  11863. "type": "number"
  11864. },
  11865. "updatetime": {
  11866. "description": "更新时间",
  11867. "type": "string"
  11868. },
  11869. "uuid": {
  11870. "description": "发起端唯一id",
  11871. "type": "string"
  11872. },
  11873. "validtime": {
  11874. "description": "有效期限",
  11875. "type": "string"
  11876. },
  11877. "validtype": {
  11878. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11879. "type": "integer"
  11880. },
  11881. "volumetype": {
  11882. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11883. "type": "integer"
  11884. }
  11885. }
  11886. },
  11887. "order.QueryTradeDetailRsp": {
  11888. "type": "object",
  11889. "required": [
  11890. "accountid",
  11891. "buyorsell",
  11892. "goodsid",
  11893. "marketid",
  11894. "memberuserid",
  11895. "orderid",
  11896. "tradeamount",
  11897. "tradedate",
  11898. "tradeid",
  11899. "tradeprice",
  11900. "tradeqty",
  11901. "tradetime"
  11902. ],
  11903. "properties": {
  11904. "accountid": {
  11905. "description": "账户ID[报价币种]",
  11906. "type": "integer"
  11907. },
  11908. "buildtype": {
  11909. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11910. "type": "integer"
  11911. },
  11912. "buyorsell": {
  11913. "description": "方向 - 0:买 1:卖",
  11914. "type": "integer"
  11915. },
  11916. "charge": {
  11917. "description": "手续费",
  11918. "type": "number"
  11919. },
  11920. "closecharge": {
  11921. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11922. "type": "number"
  11923. },
  11924. "closeexchagechargevalue": {
  11925. "description": "平仓交易所手续费设置值",
  11926. "type": "number"
  11927. },
  11928. "closefeealgorithm": {
  11929. "description": "平仓手续费收取方式 1:比率 2:固定",
  11930. "type": "integer"
  11931. },
  11932. "closememberchargevalue": {
  11933. "description": "平仓会员手续费设置值",
  11934. "type": "number"
  11935. },
  11936. "closepl": {
  11937. "description": "平仓盈亏",
  11938. "type": "number"
  11939. },
  11940. "closepl2": {
  11941. "description": "平仓盈亏[逐笔]",
  11942. "type": "number"
  11943. },
  11944. "closeqty": {
  11945. "description": "平仓数量(先建后平操作 需要记录)",
  11946. "type": "integer"
  11947. },
  11948. "creditamount": {
  11949. "description": "授信金额",
  11950. "type": "number"
  11951. },
  11952. "gcaccountid": {
  11953. "description": "账户ID[合约币种]",
  11954. "type": "integer"
  11955. },
  11956. "goodscode": {
  11957. "description": "商品代码",
  11958. "type": "string"
  11959. },
  11960. "goodsid": {
  11961. "description": "商品ID",
  11962. "type": "integer"
  11963. },
  11964. "goodsname": {
  11965. "description": "商品名称",
  11966. "type": "string"
  11967. },
  11968. "intclosepl": {
  11969. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11970. "type": "integer"
  11971. },
  11972. "isconfirmexercise": {
  11973. "description": "是否确认行权- 0:否 1:是",
  11974. "type": "integer"
  11975. },
  11976. "ismain": {
  11977. "description": "是否主单 - 0:不是 1:是",
  11978. "type": "integer"
  11979. },
  11980. "ispreexercise": {
  11981. "description": "是否预申报- 0:否 1:是",
  11982. "type": "integer"
  11983. },
  11984. "isreckoned": {
  11985. "description": "是否结算 - 0:未结算 1:已结算",
  11986. "type": "integer"
  11987. },
  11988. "listingselecttype": {
  11989. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11990. "type": "integer"
  11991. },
  11992. "marketid": {
  11993. "description": "市场ID",
  11994. "type": "integer"
  11995. },
  11996. "marketname": {
  11997. "description": "市场名称",
  11998. "type": "string"
  11999. },
  12000. "matchaccountid": {
  12001. "description": "对手账号id",
  12002. "type": "integer"
  12003. },
  12004. "memberuserid": {
  12005. "description": "会员id 个人投资者 需要填写",
  12006. "type": "integer"
  12007. },
  12008. "opencharge": {
  12009. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12010. "type": "number"
  12011. },
  12012. "openexchagechargevalue": {
  12013. "description": "建仓交易所手续费设置值",
  12014. "type": "number"
  12015. },
  12016. "openfeealgorithm": {
  12017. "description": "建仓手续费收取方式 1:比率 2:固定",
  12018. "type": "integer"
  12019. },
  12020. "openmemberchargevalue": {
  12021. "description": "建仓会员手续费设置值",
  12022. "type": "number"
  12023. },
  12024. "openqty": {
  12025. "description": "开仓数量(先建后平操作 需要记录)",
  12026. "type": "integer"
  12027. },
  12028. "optiontype": {
  12029. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12030. "type": "integer"
  12031. },
  12032. "orderid": {
  12033. "description": "委托单号",
  12034. "type": "string"
  12035. },
  12036. "performanceplanid": {
  12037. "description": "履约计划ID[期权]",
  12038. "type": "integer"
  12039. },
  12040. "performancestatus": {
  12041. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12042. "type": "integer"
  12043. },
  12044. "preexerciseprice": {
  12045. "description": "预申报价格",
  12046. "type": "number"
  12047. },
  12048. "premium": {
  12049. "description": "权利金 - [持仓单的权利金]",
  12050. "type": "number"
  12051. },
  12052. "relatedouttradeid": {
  12053. "description": "关联外部成交单ID",
  12054. "type": "integer"
  12055. },
  12056. "status": {
  12057. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12058. "type": "integer"
  12059. },
  12060. "tradeamount": {
  12061. "description": "成交金额[账户币种,用于所有权]",
  12062. "type": "number"
  12063. },
  12064. "tradedate": {
  12065. "description": "交易日(yyyyMMdd)",
  12066. "type": "string"
  12067. },
  12068. "tradeid": {
  12069. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12070. "type": "string"
  12071. },
  12072. "trademode": {
  12073. "description": "交易模式",
  12074. "type": "integer"
  12075. },
  12076. "tradeprice": {
  12077. "description": "成交价格",
  12078. "type": "number"
  12079. },
  12080. "tradeproperty": {
  12081. "description": "交易属性",
  12082. "type": "integer"
  12083. },
  12084. "tradeqty": {
  12085. "description": "成交数量",
  12086. "type": "integer"
  12087. },
  12088. "tradetime": {
  12089. "description": "成交时间",
  12090. "type": "string"
  12091. },
  12092. "tradetype": {
  12093. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12094. "type": "integer"
  12095. }
  12096. }
  12097. },
  12098. "order.QueryTradeOrderDetailRsp": {
  12099. "type": "object",
  12100. "required": [
  12101. "accountid",
  12102. "buildtype",
  12103. "buyorsell",
  12104. "goodsid",
  12105. "marketid",
  12106. "operatetype",
  12107. "orderqty",
  12108. "ordertime",
  12109. "pricemode",
  12110. "tradedate",
  12111. "validtype"
  12112. ],
  12113. "properties": {
  12114. "accountid": {
  12115. "description": "账户ID[报价币种]",
  12116. "type": "integer"
  12117. },
  12118. "buildtype": {
  12119. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12120. "type": "integer"
  12121. },
  12122. "buyorsell": {
  12123. "description": "买卖 - 0:买 1:卖",
  12124. "type": "integer"
  12125. },
  12126. "cancelorderid": {
  12127. "description": "撤单单号(撤单时填写)",
  12128. "type": "string"
  12129. },
  12130. "cancelqty": {
  12131. "description": "撤单数量",
  12132. "type": "integer"
  12133. },
  12134. "clienttype": {
  12135. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12136. "type": "integer"
  12137. },
  12138. "closefreezecharge": {
  12139. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12140. "type": "number"
  12141. },
  12142. "closeqty": {
  12143. "description": "平仓数量(先建后平操作 需要记录)",
  12144. "type": "integer"
  12145. },
  12146. "closetradeqty": {
  12147. "description": "平仓成交数量(先建后平操作,需要记录)",
  12148. "type": "integer"
  12149. },
  12150. "closeunfreezecharge": {
  12151. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12152. "type": "number"
  12153. },
  12154. "delistingtype": {
  12155. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12156. "type": "integer"
  12157. },
  12158. "enableqty": {
  12159. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  12160. "type": "integer"
  12161. },
  12162. "freezecharge": {
  12163. "description": "冻结手续费",
  12164. "type": "number"
  12165. },
  12166. "freezemargin": {
  12167. "description": "冻结保证金(冻结交易金额)",
  12168. "type": "number"
  12169. },
  12170. "goodscode": {
  12171. "description": "商品代码",
  12172. "type": "string"
  12173. },
  12174. "goodsid": {
  12175. "description": "商品ID",
  12176. "type": "integer"
  12177. },
  12178. "goodsname": {
  12179. "description": "商品名称",
  12180. "type": "string"
  12181. },
  12182. "listingselecttype": {
  12183. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12184. "type": "integer"
  12185. },
  12186. "marketid": {
  12187. "description": "市场ID",
  12188. "type": "integer"
  12189. },
  12190. "marketname": {
  12191. "description": "市场名称",
  12192. "type": "string"
  12193. },
  12194. "openfreezecharge": {
  12195. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12196. "type": "number"
  12197. },
  12198. "openqty": {
  12199. "description": "开仓数量(先建后平操作,需要记录)",
  12200. "type": "integer"
  12201. },
  12202. "opentradeqty": {
  12203. "description": "开仓成交数量(先建后平操作,需要记录)",
  12204. "type": "integer"
  12205. },
  12206. "openunfreezecharge": {
  12207. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12208. "type": "number"
  12209. },
  12210. "operatetype": {
  12211. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12212. "type": "integer"
  12213. },
  12214. "operatorid": {
  12215. "description": "登录账号(LoginID)",
  12216. "type": "integer"
  12217. },
  12218. "orderid": {
  12219. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12220. "type": "string"
  12221. },
  12222. "orderprice": {
  12223. "description": "委托价格",
  12224. "type": "number"
  12225. },
  12226. "orderqty": {
  12227. "description": "委托数量",
  12228. "type": "integer"
  12229. },
  12230. "ordersrc": {
  12231. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12232. "type": "integer"
  12233. },
  12234. "orderstatus": {
  12235. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12236. "type": "integer"
  12237. },
  12238. "ordertime": {
  12239. "description": "委托时间",
  12240. "type": "string"
  12241. },
  12242. "preorderid": {
  12243. "description": "关联预埋单号(止盈止损单时填写)",
  12244. "type": "string"
  12245. },
  12246. "pricemode": {
  12247. "description": "取价方式 - 1:市价 2: 限价",
  12248. "type": "integer"
  12249. },
  12250. "relatedid": {
  12251. "description": "关联单号(交割单)",
  12252. "type": "string"
  12253. },
  12254. "tradedate": {
  12255. "description": "交易日(yyyyMMdd)",
  12256. "type": "string"
  12257. },
  12258. "trademode": {
  12259. "description": "交易模式",
  12260. "type": "integer"
  12261. },
  12262. "tradeqty": {
  12263. "description": "成交数量",
  12264. "type": "integer"
  12265. },
  12266. "unfreezecharge": {
  12267. "description": "解冻手续费",
  12268. "type": "number"
  12269. },
  12270. "unfreezemargin": {
  12271. "description": "解冻保证金",
  12272. "type": "number"
  12273. },
  12274. "validtime": {
  12275. "description": "有效期限",
  12276. "type": "string"
  12277. },
  12278. "validtype": {
  12279. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12280. "type": "integer"
  12281. },
  12282. "volumetype": {
  12283. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12284. "type": "integer"
  12285. }
  12286. }
  12287. },
  12288. "order.QueryTradePositionRsp": {
  12289. "type": "object",
  12290. "required": [
  12291. "goodsid"
  12292. ],
  12293. "properties": {
  12294. "accountid": {
  12295. "description": "资金账户",
  12296. "type": "integer"
  12297. },
  12298. "agreeunit": {
  12299. "description": "合约单位",
  12300. "type": "number"
  12301. },
  12302. "averageprice": {
  12303. "description": "持仓均价",
  12304. "type": "number"
  12305. },
  12306. "buyorsell": {
  12307. "description": "方向 - 0:买 1:卖",
  12308. "type": "integer"
  12309. },
  12310. "closetotalqty": {
  12311. "description": "平仓总数量",
  12312. "type": "integer"
  12313. },
  12314. "curholderamount": {
  12315. "description": "当前持仓总金额[商品币种]",
  12316. "type": "number"
  12317. },
  12318. "curpositionqty": {
  12319. "description": "当前持仓总数量",
  12320. "type": "integer"
  12321. },
  12322. "currencyid": {
  12323. "description": "报价货币ID",
  12324. "type": "integer"
  12325. },
  12326. "curtdposition": {
  12327. "description": "期末今日头寸",
  12328. "type": "integer"
  12329. },
  12330. "decimalplace": {
  12331. "description": "报价小数位",
  12332. "type": "integer"
  12333. },
  12334. "enableqty": {
  12335. "description": "可用量",
  12336. "type": "integer"
  12337. },
  12338. "fretdposition": {
  12339. "description": "冻结今日头寸",
  12340. "type": "integer"
  12341. },
  12342. "frozenqty": {
  12343. "description": "持仓冻结数量",
  12344. "type": "integer"
  12345. },
  12346. "goodscode": {
  12347. "description": "商品代码",
  12348. "type": "string"
  12349. },
  12350. "goodsid": {
  12351. "description": "商品Id",
  12352. "type": "integer"
  12353. },
  12354. "goodsname": {
  12355. "description": "商品名称",
  12356. "type": "string"
  12357. },
  12358. "goodunit": {
  12359. "description": "报价单位",
  12360. "type": "string"
  12361. },
  12362. "goodunitid": {
  12363. "description": "报价单位ID",
  12364. "type": "integer"
  12365. },
  12366. "holderamount": {
  12367. "description": "期初持仓总金额[商品币种]",
  12368. "type": "number"
  12369. },
  12370. "marketid": {
  12371. "description": "所属市场ID",
  12372. "type": "integer"
  12373. },
  12374. "openreqqty": {
  12375. "description": "开仓申请数量(用于比较最大持仓数量)",
  12376. "type": "integer"
  12377. },
  12378. "opentotalqty": {
  12379. "description": "开仓总数量",
  12380. "type": "integer"
  12381. },
  12382. "otherfrozenqty": {
  12383. "description": "持仓其他冻结数量(交割冻结)",
  12384. "type": "integer"
  12385. },
  12386. "positionqty": {
  12387. "description": "期初持仓数量",
  12388. "type": "integer"
  12389. },
  12390. "tnqty": {
  12391. "description": "T+N冻结总量",
  12392. "type": "integer"
  12393. },
  12394. "tnusedqty": {
  12395. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12396. "type": "integer"
  12397. },
  12398. "trademode": {
  12399. "description": "交易模式",
  12400. "type": "integer"
  12401. },
  12402. "usedmargin": {
  12403. "description": "占用保证金[商品币种]",
  12404. "type": "number"
  12405. }
  12406. }
  12407. },
  12408. "quote.HistoryData": {
  12409. "type": "object",
  12410. "properties": {
  12411. "c": {
  12412. "description": "收盘价",
  12413. "type": "number"
  12414. },
  12415. "h": {
  12416. "description": "最高价",
  12417. "type": "number"
  12418. },
  12419. "hv": {
  12420. "description": "持仓量",
  12421. "type": "integer"
  12422. },
  12423. "l": {
  12424. "description": "最低价",
  12425. "type": "number"
  12426. },
  12427. "o": {
  12428. "description": "开盘价",
  12429. "type": "number"
  12430. },
  12431. "s": {
  12432. "description": "结算价,日线周期(包括)以上才有",
  12433. "type": "number"
  12434. },
  12435. "ts": {
  12436. "description": "时间",
  12437. "type": "string"
  12438. },
  12439. "tt": {
  12440. "description": "总金额",
  12441. "type": "number"
  12442. },
  12443. "tv": {
  12444. "description": "总量",
  12445. "type": "integer"
  12446. }
  12447. }
  12448. },
  12449. "quote.QueryTSDataRsp": {
  12450. "type": "object",
  12451. "properties": {
  12452. "decimalPlace": {
  12453. "description": "小数位",
  12454. "type": "integer"
  12455. },
  12456. "endTime": {
  12457. "description": "结束时间",
  12458. "type": "string"
  12459. },
  12460. "goodsCode": {
  12461. "description": "商品代码",
  12462. "type": "string"
  12463. },
  12464. "historyDatas": {
  12465. "description": "历史数据",
  12466. "type": "array",
  12467. "items": {
  12468. "$ref": "#/definitions/quote.HistoryData"
  12469. }
  12470. },
  12471. "preSettle": {
  12472. "description": "昨结",
  12473. "type": "number"
  12474. },
  12475. "startTime": {
  12476. "description": "开始时间",
  12477. "type": "string"
  12478. },
  12479. "tradeDate": {
  12480. "description": "交易日",
  12481. "type": "string"
  12482. }
  12483. }
  12484. },
  12485. "szdz.QueryConvertLogRsp": {
  12486. "type": "object",
  12487. "required": [
  12488. "logid"
  12489. ],
  12490. "properties": {
  12491. "accountid": {
  12492. "description": "资金账户ID",
  12493. "type": "integer"
  12494. },
  12495. "clientticket": {
  12496. "description": "客户端流水号",
  12497. "type": "string"
  12498. },
  12499. "converttype": {
  12500. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12501. "type": "integer"
  12502. },
  12503. "createtime": {
  12504. "description": "记账时间",
  12505. "type": "string"
  12506. },
  12507. "daymaxvalue": {
  12508. "description": "配置当日最大转入限制",
  12509. "type": "number"
  12510. },
  12511. "daymaxvalue2": {
  12512. "description": "配置当日最大转入限制(转入)",
  12513. "type": "number"
  12514. },
  12515. "goodscode": {
  12516. "description": "商品代码",
  12517. "type": "string"
  12518. },
  12519. "goodsname": {
  12520. "description": "商品名称",
  12521. "type": "string"
  12522. },
  12523. "handlestatus": {
  12524. "description": "处理状态",
  12525. "type": "integer"
  12526. },
  12527. "innergoodsid": {
  12528. "description": "内部商品ID",
  12529. "type": "integer"
  12530. },
  12531. "inratio": {
  12532. "description": "配置转入比值",
  12533. "type": "integer"
  12534. },
  12535. "invalue": {
  12536. "description": "目标值",
  12537. "type": "number"
  12538. },
  12539. "logid": {
  12540. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12541. "type": "integer"
  12542. },
  12543. "mobile": {
  12544. "description": "手机号码(加密存储)",
  12545. "type": "string"
  12546. },
  12547. "outergoodscode": {
  12548. "description": "外部商品代码[JD\\PD]",
  12549. "type": "string"
  12550. },
  12551. "outratio": {
  12552. "description": "配置转出比值",
  12553. "type": "integer"
  12554. },
  12555. "outvalue": {
  12556. "description": "源值",
  12557. "type": "number"
  12558. },
  12559. "pddecimalplace": {
  12560. "description": "PD小数位",
  12561. "type": "integer"
  12562. },
  12563. "qty": {
  12564. "description": "数量",
  12565. "type": "string"
  12566. },
  12567. "remark": {
  12568. "description": "备注",
  12569. "type": "string"
  12570. },
  12571. "sessionid": {
  12572. "description": "会话ID",
  12573. "type": "integer"
  12574. },
  12575. "timemaxvalue": {
  12576. "description": "配置单次最大转入限制",
  12577. "type": "number"
  12578. },
  12579. "timemaxvalue2": {
  12580. "description": "配置单次最大转入限制(转入)",
  12581. "type": "number"
  12582. },
  12583. "timeminvalue": {
  12584. "description": "配置单次最小数量限制",
  12585. "type": "number"
  12586. },
  12587. "timeminvalue2": {
  12588. "description": "配置单次最小数量限制(转入)",
  12589. "type": "number"
  12590. },
  12591. "tradedate": {
  12592. "description": "交易日(yyyyMMdd)",
  12593. "type": "string"
  12594. },
  12595. "userid": {
  12596. "description": "用户ID",
  12597. "type": "integer"
  12598. }
  12599. }
  12600. },
  12601. "szdz.QueryGoodsPickupRsp": {
  12602. "type": "object",
  12603. "required": [
  12604. "takeorderid"
  12605. ],
  12606. "properties": {
  12607. "accountid": {
  12608. "description": "账户ID",
  12609. "type": "integer"
  12610. },
  12611. "address": {
  12612. "description": "提货人详细地址",
  12613. "type": "string"
  12614. },
  12615. "auditer": {
  12616. "description": "审核人",
  12617. "type": "integer"
  12618. },
  12619. "audittime": {
  12620. "description": "审核时间",
  12621. "type": "string"
  12622. },
  12623. "cardnum": {
  12624. "description": "提货人证件号码",
  12625. "type": "string"
  12626. },
  12627. "cardtypeid": {
  12628. "description": "提货人证件类型",
  12629. "type": "integer"
  12630. },
  12631. "checkremark": {
  12632. "description": "审核备注",
  12633. "type": "string"
  12634. },
  12635. "goodscode": {
  12636. "description": "商品代码",
  12637. "type": "string"
  12638. },
  12639. "goodsid": {
  12640. "description": "商品ID",
  12641. "type": "integer"
  12642. },
  12643. "goodsname": {
  12644. "description": "商品名称",
  12645. "type": "string"
  12646. },
  12647. "handlestatus": {
  12648. "description": "处理状态",
  12649. "type": "integer"
  12650. },
  12651. "marketid": {
  12652. "description": "市场ID",
  12653. "type": "integer"
  12654. },
  12655. "phonenum": {
  12656. "description": "提货人联系方式",
  12657. "type": "string"
  12658. },
  12659. "qty": {
  12660. "description": "提货数量",
  12661. "type": "number"
  12662. },
  12663. "recivername": {
  12664. "description": "提货人姓名",
  12665. "type": "string"
  12666. },
  12667. "reqtime": {
  12668. "description": "更新时间",
  12669. "type": "string"
  12670. },
  12671. "takemode": {
  12672. "description": "提货方式 - 2:自提 3:配送",
  12673. "type": "integer"
  12674. },
  12675. "takeorderid": {
  12676. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12677. "type": "string"
  12678. },
  12679. "takeorderstatus": {
  12680. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12681. "type": "integer"
  12682. },
  12683. "takeremark": {
  12684. "description": "提货备注",
  12685. "type": "string"
  12686. },
  12687. "tradedate": {
  12688. "description": "交易日(yyyyMMdd)",
  12689. "type": "string"
  12690. },
  12691. "userid": {
  12692. "description": "用户ID",
  12693. "type": "integer"
  12694. }
  12695. }
  12696. },
  12697. "szdz.QueryRecieptOrderRsp": {
  12698. "type": "object",
  12699. "required": [
  12700. "ordertime"
  12701. ],
  12702. "properties": {
  12703. "accountName": {
  12704. "description": "所属账号名称(已脱敏)",
  12705. "type": "string"
  12706. },
  12707. "accountid": {
  12708. "description": "资金账号",
  12709. "type": "integer"
  12710. },
  12711. "buyorsell": {
  12712. "description": "方向 - 0:买 1:卖",
  12713. "type": "integer"
  12714. },
  12715. "enableqty": {
  12716. "description": "可摘数量",
  12717. "type": "integer"
  12718. },
  12719. "goodscode": {
  12720. "description": "商品代码",
  12721. "type": "string"
  12722. },
  12723. "goodsid": {
  12724. "description": "商品ID",
  12725. "type": "integer"
  12726. },
  12727. "goodsname": {
  12728. "description": "商品名称",
  12729. "type": "string"
  12730. },
  12731. "orderid": {
  12732. "description": "委托单号",
  12733. "type": "string"
  12734. },
  12735. "orderprice": {
  12736. "description": "委托价格",
  12737. "type": "number"
  12738. },
  12739. "ordertime": {
  12740. "description": "委托时间",
  12741. "type": "string"
  12742. },
  12743. "tradedate": {
  12744. "description": "交易日(yyyyMMdd)",
  12745. "type": "string"
  12746. }
  12747. }
  12748. },
  12749. "szdz.QuerySZDZTradePositionRsp": {
  12750. "type": "object",
  12751. "properties": {
  12752. "accountid": {
  12753. "description": "账号Id",
  12754. "type": "integer"
  12755. },
  12756. "agreeunit": {
  12757. "description": "合约单位",
  12758. "type": "number"
  12759. },
  12760. "averageprice": {
  12761. "description": "持仓均价",
  12762. "type": "number"
  12763. },
  12764. "buyorsell": {
  12765. "description": "方向 - 0:买 1:卖",
  12766. "type": "integer"
  12767. },
  12768. "closetotalqty": {
  12769. "description": "平仓总数量",
  12770. "type": "integer"
  12771. },
  12772. "curholderamount": {
  12773. "description": "当前持仓总金额",
  12774. "type": "number"
  12775. },
  12776. "curpositionqty": {
  12777. "description": "当前持仓总数量",
  12778. "type": "integer"
  12779. },
  12780. "currencyid": {
  12781. "description": "报价货币ID",
  12782. "type": "integer"
  12783. },
  12784. "curtdposition": {
  12785. "description": "期末今日头寸",
  12786. "type": "integer"
  12787. },
  12788. "decimalplace": {
  12789. "description": "报价小数位",
  12790. "type": "integer"
  12791. },
  12792. "enableqty": {
  12793. "description": "可用量",
  12794. "type": "integer"
  12795. },
  12796. "fretdposition": {
  12797. "description": "冻结今日头寸",
  12798. "type": "integer"
  12799. },
  12800. "frozenqty": {
  12801. "description": "持仓冻结数量",
  12802. "type": "integer"
  12803. },
  12804. "goodscode": {
  12805. "description": "商品代码(内部)",
  12806. "type": "string"
  12807. },
  12808. "goodsid": {
  12809. "description": "商品Id",
  12810. "type": "integer"
  12811. },
  12812. "goodsname": {
  12813. "description": "商品名称",
  12814. "type": "string"
  12815. },
  12816. "goodunit": {
  12817. "description": "报价单位",
  12818. "type": "string"
  12819. },
  12820. "goodunitid": {
  12821. "description": "报价单位ID",
  12822. "type": "integer"
  12823. },
  12824. "holderamount": {
  12825. "description": "期初持仓总金额",
  12826. "type": "number"
  12827. },
  12828. "marketid": {
  12829. "description": "市场ID",
  12830. "type": "integer"
  12831. },
  12832. "openreqqty": {
  12833. "description": "开仓申请数量",
  12834. "type": "integer"
  12835. },
  12836. "opentotalqty": {
  12837. "description": "开仓总数量",
  12838. "type": "integer"
  12839. },
  12840. "otherfrozenqty": {
  12841. "description": "持仓其他冻结数量(交割冻结)",
  12842. "type": "integer"
  12843. },
  12844. "positionqty": {
  12845. "description": "期初持仓数量",
  12846. "type": "integer"
  12847. },
  12848. "szdz3freezqty": {
  12849. "description": "尚志大宗转换冻结总数量",
  12850. "type": "integer"
  12851. },
  12852. "tnqty": {
  12853. "description": "T+N冻结总量",
  12854. "type": "integer"
  12855. },
  12856. "tnusedqty": {
  12857. "description": "T+N使用量",
  12858. "type": "integer"
  12859. },
  12860. "trademode": {
  12861. "description": "交易模式",
  12862. "type": "integer"
  12863. },
  12864. "usedmargin": {
  12865. "description": "占用保证金",
  12866. "type": "number"
  12867. }
  12868. }
  12869. },
  12870. "taaccount.QueryAmountLogRsp": {
  12871. "type": "object",
  12872. "required": [
  12873. "accountid",
  12874. "amount",
  12875. "amountadjusttype",
  12876. "autoid",
  12877. "balance",
  12878. "createtime",
  12879. "currentbalance",
  12880. "operatetype"
  12881. ],
  12882. "properties": {
  12883. "OPERATETYPENAME": {
  12884. "description": "资金操作类型名称",
  12885. "type": "string"
  12886. },
  12887. "accountid": {
  12888. "description": "资金账户ID",
  12889. "type": "integer"
  12890. },
  12891. "agoodscode": {
  12892. "description": "竞拍商品代码",
  12893. "type": "string"
  12894. },
  12895. "agoodsname": {
  12896. "description": "竞拍商品名称",
  12897. "type": "string"
  12898. },
  12899. "amount": {
  12900. "description": "资金金额",
  12901. "type": "number"
  12902. },
  12903. "amountadjusttype": {
  12904. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12905. "type": "integer"
  12906. },
  12907. "autoid": {
  12908. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12909. "type": "integer"
  12910. },
  12911. "balance": {
  12912. "description": "期初余额",
  12913. "type": "number"
  12914. },
  12915. "businesscode": {
  12916. "description": "业务编号",
  12917. "type": "integer"
  12918. },
  12919. "createtime": {
  12920. "description": "发生时间",
  12921. "type": "string"
  12922. },
  12923. "currencyid": {
  12924. "description": "币种ID",
  12925. "type": "integer"
  12926. },
  12927. "currentbalance": {
  12928. "description": "期末余额(变动后金额)",
  12929. "type": "number"
  12930. },
  12931. "dgoodscode": {
  12932. "description": "交割商品代码",
  12933. "type": "string"
  12934. },
  12935. "dgoodsname": {
  12936. "description": "交割商品名称",
  12937. "type": "string"
  12938. },
  12939. "goodscode": {
  12940. "description": "商品代码",
  12941. "type": "string"
  12942. },
  12943. "goodsid": {
  12944. "description": "商品ID",
  12945. "type": "integer"
  12946. },
  12947. "goodsname": {
  12948. "description": "商品名称",
  12949. "type": "string"
  12950. },
  12951. "marketid": {
  12952. "description": "市场ID",
  12953. "type": "integer"
  12954. },
  12955. "marketname": {
  12956. "description": "市场名称",
  12957. "type": "string"
  12958. },
  12959. "moneyticket": {
  12960. "description": "资金流水号:银行端流水号",
  12961. "type": "integer"
  12962. },
  12963. "operatetype": {
  12964. "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:营销收款",
  12965. "type": "integer"
  12966. },
  12967. "relationorderid": {
  12968. "description": "关联单号",
  12969. "type": "string"
  12970. },
  12971. "remark": {
  12972. "description": "备注",
  12973. "type": "string"
  12974. },
  12975. "trademode": {
  12976. "description": "交易模式",
  12977. "type": "integer"
  12978. }
  12979. }
  12980. },
  12981. "taaccount.QueryHisAmountLogRsp": {
  12982. "type": "object",
  12983. "required": [
  12984. "accountid",
  12985. "amount",
  12986. "amountadjusttype",
  12987. "autoid",
  12988. "balance",
  12989. "createtime",
  12990. "currentbalance",
  12991. "histradedate",
  12992. "operatetype"
  12993. ],
  12994. "properties": {
  12995. "OPERATETYPENAME": {
  12996. "description": "资金操作类型名称",
  12997. "type": "string"
  12998. },
  12999. "accountid": {
  13000. "description": "资金账户ID",
  13001. "type": "integer"
  13002. },
  13003. "agoodscode": {
  13004. "description": "竞拍商品代码",
  13005. "type": "string"
  13006. },
  13007. "agoodsname": {
  13008. "description": "竞拍商品名称",
  13009. "type": "string"
  13010. },
  13011. "amount": {
  13012. "description": "资金金额",
  13013. "type": "number"
  13014. },
  13015. "amountadjusttype": {
  13016. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  13017. "type": "integer"
  13018. },
  13019. "autoid": {
  13020. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  13021. "type": "integer"
  13022. },
  13023. "balance": {
  13024. "description": "期初余额",
  13025. "type": "number"
  13026. },
  13027. "businesscode": {
  13028. "description": "业务编号",
  13029. "type": "integer"
  13030. },
  13031. "createtime": {
  13032. "description": "发生时间",
  13033. "type": "string"
  13034. },
  13035. "currencyid": {
  13036. "description": "币种ID",
  13037. "type": "integer"
  13038. },
  13039. "currentbalance": {
  13040. "description": "期末余额(变动后金额)",
  13041. "type": "number"
  13042. },
  13043. "dgoodscode": {
  13044. "description": "交割商品代码",
  13045. "type": "string"
  13046. },
  13047. "dgoodsname": {
  13048. "description": "交割商品名称",
  13049. "type": "string"
  13050. },
  13051. "goodscode": {
  13052. "description": "商品代码",
  13053. "type": "string"
  13054. },
  13055. "goodsid": {
  13056. "description": "商品ID",
  13057. "type": "integer"
  13058. },
  13059. "goodsname": {
  13060. "description": "商品名称",
  13061. "type": "string"
  13062. },
  13063. "histradedate": {
  13064. "description": "历史交易日",
  13065. "type": "string"
  13066. },
  13067. "isvaliddata": {
  13068. "description": "是否有效 - 0:无效 1:有效",
  13069. "type": "integer"
  13070. },
  13071. "marketid": {
  13072. "description": "市场ID",
  13073. "type": "integer"
  13074. },
  13075. "marketname": {
  13076. "description": "市场名称",
  13077. "type": "string"
  13078. },
  13079. "moneyticket": {
  13080. "description": "资金流水号:银行端流水号",
  13081. "type": "integer"
  13082. },
  13083. "operatetype": {
  13084. "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:营销收款",
  13085. "type": "integer"
  13086. },
  13087. "relationorderid": {
  13088. "description": "关联单号",
  13089. "type": "string"
  13090. },
  13091. "remark": {
  13092. "description": "备注",
  13093. "type": "string"
  13094. },
  13095. "trademode": {
  13096. "description": "交易模式",
  13097. "type": "integer"
  13098. }
  13099. }
  13100. },
  13101. "trade.QueryRecieptOrderRsp": {
  13102. "type": "object",
  13103. "required": [
  13104. "ordertime"
  13105. ],
  13106. "properties": {
  13107. "accountName": {
  13108. "description": "所属账号名称(已脱敏)",
  13109. "type": "string"
  13110. },
  13111. "accountid": {
  13112. "description": "资金账号",
  13113. "type": "integer"
  13114. },
  13115. "buyorsell": {
  13116. "description": "方向 - 0:买 1:卖",
  13117. "type": "integer"
  13118. },
  13119. "enableqty": {
  13120. "description": "可摘数量",
  13121. "type": "integer"
  13122. },
  13123. "goodscode": {
  13124. "description": "商品代码",
  13125. "type": "string"
  13126. },
  13127. "goodsid": {
  13128. "description": "商品ID",
  13129. "type": "integer"
  13130. },
  13131. "goodsname": {
  13132. "description": "商品名称",
  13133. "type": "string"
  13134. },
  13135. "orderid": {
  13136. "description": "委托单号",
  13137. "type": "string"
  13138. },
  13139. "orderprice": {
  13140. "description": "委托价格",
  13141. "type": "number"
  13142. },
  13143. "ordertime": {
  13144. "description": "委托时间",
  13145. "type": "string"
  13146. },
  13147. "tradedate": {
  13148. "description": "交易日(yyyyMMdd)",
  13149. "type": "string"
  13150. }
  13151. }
  13152. }
  13153. },
  13154. "securityDefinitions": {
  13155. "ApiKeyAuth": {
  13156. "type": "apiKey",
  13157. "name": "Authorization",
  13158. "in": "header"
  13159. }
  13160. }
  13161. }`
  13162. type swaggerInfo struct {
  13163. Version string
  13164. Host string
  13165. BasePath string
  13166. Schemes []string
  13167. Title string
  13168. Description string
  13169. }
  13170. // SwaggerInfo holds exported Swagger Info so clients can modify it
  13171. var SwaggerInfo = swaggerInfo{
  13172. Version: "1.0",
  13173. Host: "",
  13174. BasePath: "/api",
  13175. Schemes: []string{},
  13176. Title: "MTP2.0 查询服务 API",
  13177. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  13178. }
  13179. type s struct{}
  13180. func (s *s) ReadDoc() string {
  13181. sInfo := SwaggerInfo
  13182. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  13183. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  13184. "marshal": func(v interface{}) string {
  13185. a, _ := json.Marshal(v)
  13186. return string(a)
  13187. },
  13188. }).Parse(doc)
  13189. if err != nil {
  13190. return doc
  13191. }
  13192. var tpl bytes.Buffer
  13193. if err := t.Execute(&tpl, sInfo); err != nil {
  13194. return doc
  13195. }
  13196. return tpl.String()
  13197. }
  13198. func init() {
  13199. swag.Register(swag.Name, &s{})
  13200. }