docs.go 674 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "string",
  807. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  808. "name": "lastUpdateTime",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "获取企业风管终端权限",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "登录账号",
  846. "name": "loginID",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/models.Funcmenulist"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Ermcp/QryReportDayExposure": {
  868. "get": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "企业风险管理(app)"
  879. ],
  880. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  881. "parameters": [
  882. {
  883. "type": "integer",
  884. "description": "用户ID",
  885. "name": "userid",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "string",
  891. "description": "交易日(格式:yyyyMMdd)",
  892. "name": "tradedate",
  893. "in": "query",
  894. "required": true
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  904. }
  905. }
  906. },
  907. "500": {
  908. "description": "Internal Server Error",
  909. "schema": {
  910. "$ref": "#/definitions/app.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/Ermcp/QryReportDayFinance": {
  917. "get": {
  918. "security": [
  919. {
  920. "ApiKeyAuth": []
  921. }
  922. ],
  923. "produces": [
  924. "application/json"
  925. ],
  926. "tags": [
  927. "企业风险管理(app)"
  928. ],
  929. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  930. "parameters": [
  931. {
  932. "type": "integer",
  933. "description": "用户ID",
  934. "name": "userid",
  935. "in": "query",
  936. "required": true
  937. },
  938. {
  939. "type": "string",
  940. "description": "交易日(格式:yyyyMMdd)",
  941. "name": "tradedate",
  942. "in": "query",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "OK",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  953. }
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/QryReportDayFinanceFp": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "用户ID",
  983. "name": "userid",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "交易日(格式:yyyyMMdd)",
  990. "name": "tradedate",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Ermcp/QryReportDayFinanceKx": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "企业风险管理(app)"
  1026. ],
  1027. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1028. "parameters": [
  1029. {
  1030. "type": "integer",
  1031. "description": "用户ID",
  1032. "name": "userid",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "string",
  1038. "description": "交易日(格式:yyyyMMdd)",
  1039. "name": "tradedate",
  1040. "in": "query",
  1041. "required": true
  1042. }
  1043. ],
  1044. "responses": {
  1045. "200": {
  1046. "description": "OK",
  1047. "schema": {
  1048. "type": "array",
  1049. "items": {
  1050. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1051. }
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/app.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/Ermcp/QryReportDaySpot": {
  1064. "get": {
  1065. "security": [
  1066. {
  1067. "ApiKeyAuth": []
  1068. }
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "企业风险管理(app)"
  1075. ],
  1076. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "用户ID",
  1081. "name": "userid",
  1082. "in": "query",
  1083. "required": true
  1084. },
  1085. {
  1086. "type": "string",
  1087. "description": "交易日(格式:yyyyMMdd)",
  1088. "name": "tradedate",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Ermcp/QryReportDaySpotDetail": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "企业风险管理(app)"
  1124. ],
  1125. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "用户ID",
  1130. "name": "userid",
  1131. "in": "query",
  1132. "required": true
  1133. },
  1134. {
  1135. "type": "integer",
  1136. "description": "现货商品id",
  1137. "name": "wrstandardid",
  1138. "in": "query",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "交易日(格式:yyyyMMdd)",
  1144. "name": "tradedate",
  1145. "in": "query",
  1146. "required": true
  1147. }
  1148. ],
  1149. "responses": {
  1150. "200": {
  1151. "description": "OK",
  1152. "schema": {
  1153. "type": "array",
  1154. "items": {
  1155. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1156. }
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Ermcp/QryReportMonthFinance": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "企业风险管理(app)"
  1180. ],
  1181. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1182. "parameters": [
  1183. {
  1184. "type": "integer",
  1185. "description": "用户ID",
  1186. "name": "userid",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "周期时间:月(格式:yyyyMM)",
  1193. "name": "cycletime",
  1194. "in": "query",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QryReportMonthSpot": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userid",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "周期时间:月(格式:yyyyMM)",
  1242. "name": "cycletime",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QryReportMonthSpotDetail": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "用户ID",
  1284. "name": "userid",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "现货商品id",
  1291. "name": "wrstandardid",
  1292. "in": "query",
  1293. "required": true
  1294. },
  1295. {
  1296. "type": "string",
  1297. "description": "周期时间:月(格式:yyyyMM)",
  1298. "name": "cycletime",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryBusinessDj": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "现货合同ID, 不填则查所有",
  1389. "name": "relatedid",
  1390. "in": "query"
  1391. }
  1392. ],
  1393. "responses": {
  1394. "200": {
  1395. "description": "OK",
  1396. "schema": {
  1397. "type": "array",
  1398. "items": {
  1399. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1400. }
  1401. }
  1402. },
  1403. "500": {
  1404. "description": "Internal Server Error",
  1405. "schema": {
  1406. "$ref": "#/definitions/app.Response"
  1407. }
  1408. }
  1409. }
  1410. }
  1411. },
  1412. "/Ermcp/QueryBusinessFp": {
  1413. "get": {
  1414. "security": [
  1415. {
  1416. "ApiKeyAuth": []
  1417. }
  1418. ],
  1419. "produces": [
  1420. "application/json"
  1421. ],
  1422. "tags": [
  1423. "企业风险管理(app)"
  1424. ],
  1425. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1426. "parameters": [
  1427. {
  1428. "type": "integer",
  1429. "description": "用户ID",
  1430. "name": "UserId",
  1431. "in": "query",
  1432. "required": true
  1433. },
  1434. {
  1435. "type": "string",
  1436. "description": "现货合同ID, 不填则查所有",
  1437. "name": "relatedid",
  1438. "in": "query"
  1439. }
  1440. ],
  1441. "responses": {
  1442. "200": {
  1443. "description": "OK",
  1444. "schema": {
  1445. "type": "array",
  1446. "items": {
  1447. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1448. }
  1449. }
  1450. },
  1451. "500": {
  1452. "description": "Internal Server Error",
  1453. "schema": {
  1454. "$ref": "#/definitions/app.Response"
  1455. }
  1456. }
  1457. }
  1458. }
  1459. },
  1460. "/Ermcp/QueryBusinessJs": {
  1461. "get": {
  1462. "security": [
  1463. {
  1464. "ApiKeyAuth": []
  1465. }
  1466. ],
  1467. "produces": [
  1468. "application/json"
  1469. ],
  1470. "tags": [
  1471. "企业风险管理(app)"
  1472. ],
  1473. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1474. "parameters": [
  1475. {
  1476. "type": "integer",
  1477. "description": "用户ID",
  1478. "name": "UserId",
  1479. "in": "query",
  1480. "required": true
  1481. },
  1482. {
  1483. "type": "string",
  1484. "description": "现货合同ID, 不填则查所有",
  1485. "name": "relatedid",
  1486. "in": "query"
  1487. }
  1488. ],
  1489. "responses": {
  1490. "200": {
  1491. "description": "OK",
  1492. "schema": {
  1493. "type": "array",
  1494. "items": {
  1495. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1496. }
  1497. }
  1498. },
  1499. "500": {
  1500. "description": "Internal Server Error",
  1501. "schema": {
  1502. "$ref": "#/definitions/app.Response"
  1503. }
  1504. }
  1505. }
  1506. }
  1507. },
  1508. "/Ermcp/QueryBusinessJsEx": {
  1509. "get": {
  1510. "security": [
  1511. {
  1512. "ApiKeyAuth": []
  1513. }
  1514. ],
  1515. "produces": [
  1516. "application/json"
  1517. ],
  1518. "tags": [
  1519. "企业风险管理(app)"
  1520. ],
  1521. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1522. "parameters": [
  1523. {
  1524. "type": "integer",
  1525. "description": "用户ID",
  1526. "name": "UserId",
  1527. "in": "query",
  1528. "required": true
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "现货合同ID, 不填则查所有",
  1533. "name": "relatedid",
  1534. "in": "query"
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryBusinessKx": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "用户ID",
  1574. "name": "UserId",
  1575. "in": "query",
  1576. "required": true
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. }
  1584. ],
  1585. "responses": {
  1586. "200": {
  1587. "description": "OK",
  1588. "schema": {
  1589. "type": "array",
  1590. "items": {
  1591. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1592. }
  1593. }
  1594. },
  1595. "500": {
  1596. "description": "Internal Server Error",
  1597. "schema": {
  1598. "$ref": "#/definitions/app.Response"
  1599. }
  1600. }
  1601. }
  1602. }
  1603. },
  1604. "/Ermcp/QueryChangeLog": {
  1605. "get": {
  1606. "security": [
  1607. {
  1608. "ApiKeyAuth": []
  1609. }
  1610. ],
  1611. "produces": [
  1612. "application/json"
  1613. ],
  1614. "tags": [
  1615. "企业风险管理(app)"
  1616. ],
  1617. "summary": "查询变更记录",
  1618. "parameters": [
  1619. {
  1620. "type": "string",
  1621. "description": "合同ID",
  1622. "name": "RelatedId",
  1623. "in": "query",
  1624. "required": true
  1625. }
  1626. ],
  1627. "responses": {
  1628. "200": {
  1629. "description": "OK",
  1630. "schema": {
  1631. "type": "array",
  1632. "items": {
  1633. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1634. }
  1635. }
  1636. },
  1637. "500": {
  1638. "description": "Internal Server Error",
  1639. "schema": {
  1640. "$ref": "#/definitions/app.Response"
  1641. }
  1642. }
  1643. }
  1644. }
  1645. },
  1646. "/Ermcp/QueryContract": {
  1647. "get": {
  1648. "security": [
  1649. {
  1650. "ApiKeyAuth": []
  1651. }
  1652. ],
  1653. "produces": [
  1654. "application/json"
  1655. ],
  1656. "tags": [
  1657. "企业风险管理(app)"
  1658. ],
  1659. "summary": "查询合同(采购和销售)",
  1660. "parameters": [
  1661. {
  1662. "type": "integer",
  1663. "description": "用户ID",
  1664. "name": "userId",
  1665. "in": "query",
  1666. "required": true
  1667. },
  1668. {
  1669. "type": "integer",
  1670. "description": "合同类型 1-采购, -1-销售",
  1671. "name": "contracttype",
  1672. "in": "query",
  1673. "required": true
  1674. },
  1675. {
  1676. "type": "integer",
  1677. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1678. "name": "querytype",
  1679. "in": "query",
  1680. "required": true
  1681. }
  1682. ],
  1683. "responses": {
  1684. "200": {
  1685. "description": "OK",
  1686. "schema": {
  1687. "type": "array",
  1688. "items": {
  1689. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1690. }
  1691. }
  1692. },
  1693. "500": {
  1694. "description": "Internal Server Error",
  1695. "schema": {
  1696. "$ref": "#/definitions/app.Response"
  1697. }
  1698. }
  1699. }
  1700. }
  1701. },
  1702. "/Ermcp/QueryErmcpHisOrderDetails": {
  1703. "get": {
  1704. "security": [
  1705. {
  1706. "ApiKeyAuth": []
  1707. }
  1708. ],
  1709. "produces": [
  1710. "application/json"
  1711. ],
  1712. "tags": [
  1713. "企业风险管理(app)"
  1714. ],
  1715. "summary": "获取企业风管期货历史委托单信息",
  1716. "parameters": [
  1717. {
  1718. "type": "integer",
  1719. "description": "资金账户ID",
  1720. "name": "accountID",
  1721. "in": "query",
  1722. "required": true
  1723. },
  1724. {
  1725. "type": "string",
  1726. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1727. "name": "startDate",
  1728. "in": "query"
  1729. },
  1730. {
  1731. "type": "string",
  1732. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1733. "name": "endDate",
  1734. "in": "query"
  1735. }
  1736. ],
  1737. "responses": {
  1738. "200": {
  1739. "description": "OK",
  1740. "schema": {
  1741. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1742. }
  1743. },
  1744. "500": {
  1745. "description": "Internal Server Error",
  1746. "schema": {
  1747. "$ref": "#/definitions/app.Response"
  1748. }
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "/Ermcp/QueryErmcpHisTradeDetails": {
  1754. "get": {
  1755. "security": [
  1756. {
  1757. "ApiKeyAuth": []
  1758. }
  1759. ],
  1760. "produces": [
  1761. "application/json"
  1762. ],
  1763. "tags": [
  1764. "企业风险管理(app)"
  1765. ],
  1766. "summary": "获取企业风管期货历史成交单信息",
  1767. "parameters": [
  1768. {
  1769. "type": "integer",
  1770. "description": "资金账户ID",
  1771. "name": "accountID",
  1772. "in": "query",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "integer",
  1777. "description": "商品ID",
  1778. "name": "goodsID",
  1779. "in": "query"
  1780. },
  1781. {
  1782. "type": "integer",
  1783. "description": "买卖方向,0:买 1:卖",
  1784. "name": "buyOrSell",
  1785. "in": "query"
  1786. },
  1787. {
  1788. "type": "string",
  1789. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1790. "name": "startDate",
  1791. "in": "query"
  1792. },
  1793. {
  1794. "type": "string",
  1795. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1796. "name": "endDate",
  1797. "in": "query"
  1798. }
  1799. ],
  1800. "responses": {
  1801. "200": {
  1802. "description": "OK",
  1803. "schema": {
  1804. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1805. }
  1806. },
  1807. "500": {
  1808. "description": "Internal Server Error",
  1809. "schema": {
  1810. "$ref": "#/definitions/app.Response"
  1811. }
  1812. }
  1813. }
  1814. }
  1815. },
  1816. "/Ermcp/QueryErmcpOrderDetails": {
  1817. "get": {
  1818. "security": [
  1819. {
  1820. "ApiKeyAuth": []
  1821. }
  1822. ],
  1823. "produces": [
  1824. "application/json"
  1825. ],
  1826. "tags": [
  1827. "企业风险管理(app)"
  1828. ],
  1829. "summary": "获取企业风管期货委托单信息",
  1830. "parameters": [
  1831. {
  1832. "type": "integer",
  1833. "description": "资金账户ID",
  1834. "name": "accountID",
  1835. "in": "query",
  1836. "required": true
  1837. }
  1838. ],
  1839. "responses": {
  1840. "200": {
  1841. "description": "OK",
  1842. "schema": {
  1843. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1844. }
  1845. },
  1846. "500": {
  1847. "description": "Internal Server Error",
  1848. "schema": {
  1849. "$ref": "#/definitions/app.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/Ermcp/QueryErmcpTradeDetails": {
  1856. "get": {
  1857. "security": [
  1858. {
  1859. "ApiKeyAuth": []
  1860. }
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "企业风险管理(app)"
  1867. ],
  1868. "summary": "获取企业风管期货成交单信息",
  1869. "parameters": [
  1870. {
  1871. "type": "integer",
  1872. "description": "资金账户ID",
  1873. "name": "accountID",
  1874. "in": "query",
  1875. "required": true
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "商品ID",
  1880. "name": "goodsID",
  1881. "in": "query"
  1882. },
  1883. {
  1884. "type": "integer",
  1885. "description": "买卖方向,0:买 1:卖",
  1886. "name": "buyOrSell",
  1887. "in": "query"
  1888. }
  1889. ],
  1890. "responses": {
  1891. "200": {
  1892. "description": "OK",
  1893. "schema": {
  1894. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1895. }
  1896. },
  1897. "500": {
  1898. "description": "Internal Server Error",
  1899. "schema": {
  1900. "$ref": "#/definitions/app.Response"
  1901. }
  1902. }
  1903. }
  1904. }
  1905. },
  1906. "/Ermcp/QueryErmcpTradePosition": {
  1907. "get": {
  1908. "security": [
  1909. {
  1910. "ApiKeyAuth": []
  1911. }
  1912. ],
  1913. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1914. "produces": [
  1915. "application/json"
  1916. ],
  1917. "tags": [
  1918. "企业风险管理(app)"
  1919. ],
  1920. "summary": "获取企业风管期货持仓头寸信息",
  1921. "parameters": [
  1922. {
  1923. "type": "integer",
  1924. "description": "资金账户ID",
  1925. "name": "accountID",
  1926. "in": "query",
  1927. "required": true
  1928. },
  1929. {
  1930. "type": "integer",
  1931. "description": "所属市场ID",
  1932. "name": "marketID",
  1933. "in": "query"
  1934. }
  1935. ],
  1936. "responses": {
  1937. "200": {
  1938. "description": "OK",
  1939. "schema": {
  1940. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1941. }
  1942. },
  1943. "500": {
  1944. "description": "Internal Server Error",
  1945. "schema": {
  1946. "$ref": "#/definitions/app.Response"
  1947. }
  1948. }
  1949. }
  1950. }
  1951. },
  1952. "/Ermcp/QueryExposureDetail": {
  1953. "get": {
  1954. "security": [
  1955. {
  1956. "ApiKeyAuth": []
  1957. }
  1958. ],
  1959. "produces": [
  1960. "application/json"
  1961. ],
  1962. "tags": [
  1963. "企业风险管理(app)"
  1964. ],
  1965. "summary": "查询敞口现货明细",
  1966. "parameters": [
  1967. {
  1968. "type": "integer",
  1969. "description": "所属机构ID",
  1970. "name": "areaUserId",
  1971. "in": "query",
  1972. "required": true
  1973. },
  1974. {
  1975. "type": "integer",
  1976. "description": "套保商品",
  1977. "name": "middleGoodsId",
  1978. "in": "query",
  1979. "required": true
  1980. }
  1981. ],
  1982. "responses": {
  1983. "200": {
  1984. "description": "OK",
  1985. "schema": {
  1986. "type": "array",
  1987. "items": {
  1988. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1989. }
  1990. }
  1991. },
  1992. "500": {
  1993. "description": "Internal Server Error",
  1994. "schema": {
  1995. "$ref": "#/definitions/app.Response"
  1996. }
  1997. }
  1998. }
  1999. }
  2000. },
  2001. "/Ermcp/QueryExposureHedgePosition": {
  2002. "get": {
  2003. "security": [
  2004. {
  2005. "ApiKeyAuth": []
  2006. }
  2007. ],
  2008. "produces": [
  2009. "application/json"
  2010. ],
  2011. "tags": [
  2012. "企业风险管理(app)"
  2013. ],
  2014. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2015. "parameters": [
  2016. {
  2017. "type": "integer",
  2018. "description": "所属机构ID",
  2019. "name": "areaUserId",
  2020. "in": "query",
  2021. "required": true
  2022. }
  2023. ],
  2024. "responses": {
  2025. "200": {
  2026. "description": "OK",
  2027. "schema": {
  2028. "type": "array",
  2029. "items": {
  2030. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2031. }
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/Ermcp/QueryExposureHedgePositionDetail": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "企业风险管理(app)"
  2055. ],
  2056. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2057. "parameters": [
  2058. {
  2059. "type": "integer",
  2060. "description": "所属机构ID",
  2061. "name": "areaUserId",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "商品id",
  2068. "name": "goodsId",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryExposureSpot": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "所属机构ID",
  2110. "name": "areaUserId",
  2111. "in": "query",
  2112. "required": true
  2113. }
  2114. ],
  2115. "responses": {
  2116. "200": {
  2117. "description": "OK",
  2118. "schema": {
  2119. "type": "array",
  2120. "items": {
  2121. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2122. }
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/Ermcp/QueryExposureSpotDetail": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "企业风险管理(app)"
  2146. ],
  2147. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2148. "parameters": [
  2149. {
  2150. "type": "integer",
  2151. "description": "所属机构ID",
  2152. "name": "areaUserId",
  2153. "in": "query",
  2154. "required": true
  2155. },
  2156. {
  2157. "type": "integer",
  2158. "description": "现货品种ID",
  2159. "name": "wrstandardId",
  2160. "in": "query",
  2161. "required": true
  2162. }
  2163. ],
  2164. "responses": {
  2165. "200": {
  2166. "description": "OK",
  2167. "schema": {
  2168. "type": "array",
  2169. "items": {
  2170. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2171. }
  2172. }
  2173. },
  2174. "500": {
  2175. "description": "Internal Server Error",
  2176. "schema": {
  2177. "$ref": "#/definitions/app.Response"
  2178. }
  2179. }
  2180. }
  2181. }
  2182. },
  2183. "/Ermcp/QueryGGConvertConfig": {
  2184. "get": {
  2185. "security": [
  2186. {
  2187. "ApiKeyAuth": []
  2188. }
  2189. ],
  2190. "produces": [
  2191. "application/json"
  2192. ],
  2193. "tags": [
  2194. "企业风险管理(app)"
  2195. ],
  2196. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2197. "parameters": [
  2198. {
  2199. "type": "integer",
  2200. "description": "品种id(不填则查所有)",
  2201. "name": "goodsgroupid",
  2202. "in": "query"
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "type": "array",
  2210. "items": {
  2211. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2212. }
  2213. }
  2214. },
  2215. "500": {
  2216. "description": "Internal Server Error",
  2217. "schema": {
  2218. "$ref": "#/definitions/app.Response"
  2219. }
  2220. }
  2221. }
  2222. }
  2223. },
  2224. "/Ermcp/QueryHedgePlan": {
  2225. "get": {
  2226. "security": [
  2227. {
  2228. "ApiKeyAuth": []
  2229. }
  2230. ],
  2231. "produces": [
  2232. "application/json"
  2233. ],
  2234. "tags": [
  2235. "企业风险管理(app)"
  2236. ],
  2237. "summary": "查询套保计划",
  2238. "parameters": [
  2239. {
  2240. "type": "integer",
  2241. "description": "用户ID",
  2242. "name": "userId",
  2243. "in": "query",
  2244. "required": true
  2245. },
  2246. {
  2247. "type": "string",
  2248. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2249. "name": "HedgePlanStatus",
  2250. "in": "query",
  2251. "required": true
  2252. }
  2253. ],
  2254. "responses": {
  2255. "200": {
  2256. "description": "OK",
  2257. "schema": {
  2258. "type": "array",
  2259. "items": {
  2260. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2261. }
  2262. }
  2263. },
  2264. "500": {
  2265. "description": "Internal Server Error",
  2266. "schema": {
  2267. "$ref": "#/definitions/app.Response"
  2268. }
  2269. }
  2270. }
  2271. }
  2272. },
  2273. "/Ermcp/QueryHisExposure": {
  2274. "get": {
  2275. "security": [
  2276. {
  2277. "ApiKeyAuth": []
  2278. }
  2279. ],
  2280. "produces": [
  2281. "application/json"
  2282. ],
  2283. "tags": [
  2284. "企业风险管理(app)"
  2285. ],
  2286. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2287. "parameters": [
  2288. {
  2289. "type": "integer",
  2290. "description": "所属机构ID",
  2291. "name": "areaUserId",
  2292. "in": "query",
  2293. "required": true
  2294. },
  2295. {
  2296. "type": "integer",
  2297. "description": "每个品种记录数",
  2298. "name": "lastNum",
  2299. "in": "query",
  2300. "required": true
  2301. }
  2302. ],
  2303. "responses": {
  2304. "200": {
  2305. "description": "OK",
  2306. "schema": {
  2307. "type": "array",
  2308. "items": {
  2309. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2310. }
  2311. }
  2312. },
  2313. "500": {
  2314. "description": "Internal Server Error",
  2315. "schema": {
  2316. "$ref": "#/definitions/app.Response"
  2317. }
  2318. }
  2319. }
  2320. }
  2321. },
  2322. "/Ermcp/QueryMiddleGoods": {
  2323. "get": {
  2324. "security": [
  2325. {
  2326. "ApiKeyAuth": []
  2327. }
  2328. ],
  2329. "produces": [
  2330. "application/json"
  2331. ],
  2332. "tags": [
  2333. "企业风险管理(app)"
  2334. ],
  2335. "summary": "查询套保品种(菜单:套保品种)",
  2336. "parameters": [
  2337. {
  2338. "type": "integer",
  2339. "description": "所属机构ID",
  2340. "name": "userid",
  2341. "in": "query",
  2342. "required": true
  2343. },
  2344. {
  2345. "type": "integer",
  2346. "description": "状态 0-停用 1-正常",
  2347. "name": "status",
  2348. "in": "query",
  2349. "required": true
  2350. }
  2351. ],
  2352. "responses": {
  2353. "200": {
  2354. "description": "OK",
  2355. "schema": {
  2356. "type": "array",
  2357. "items": {
  2358. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2359. }
  2360. }
  2361. },
  2362. "500": {
  2363. "description": "Internal Server Error",
  2364. "schema": {
  2365. "$ref": "#/definitions/app.Response"
  2366. }
  2367. }
  2368. }
  2369. }
  2370. },
  2371. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2372. "get": {
  2373. "security": [
  2374. {
  2375. "ApiKeyAuth": []
  2376. }
  2377. ],
  2378. "produces": [
  2379. "application/json"
  2380. ],
  2381. "tags": [
  2382. "企业风险管理(app)"
  2383. ],
  2384. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2385. "parameters": [
  2386. {
  2387. "type": "integer",
  2388. "description": "所属机构ID",
  2389. "name": "userid",
  2390. "in": "query",
  2391. "required": true
  2392. },
  2393. {
  2394. "type": "integer",
  2395. "description": "套保品种id",
  2396. "name": "middlegoodsid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryMiddleGoodsDetail": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "所属机构ID",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "套保品种id",
  2445. "name": "middlegoodsid",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryPendingAuditInfo": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "用户ID",
  2487. "name": "UserId",
  2488. "in": "query",
  2489. "required": true
  2490. }
  2491. ],
  2492. "responses": {
  2493. "200": {
  2494. "description": "OK",
  2495. "schema": {
  2496. "type": "array",
  2497. "items": {
  2498. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2499. }
  2500. }
  2501. },
  2502. "500": {
  2503. "description": "Internal Server Error",
  2504. "schema": {
  2505. "$ref": "#/definitions/app.Response"
  2506. }
  2507. }
  2508. }
  2509. }
  2510. },
  2511. "/Ermcp/QueryRealtimeExposure": {
  2512. "get": {
  2513. "security": [
  2514. {
  2515. "ApiKeyAuth": []
  2516. }
  2517. ],
  2518. "produces": [
  2519. "application/json"
  2520. ],
  2521. "tags": [
  2522. "企业风险管理(app)"
  2523. ],
  2524. "summary": "查询实时敞口",
  2525. "parameters": [
  2526. {
  2527. "type": "integer",
  2528. "description": "所属机构ID",
  2529. "name": "AreaUserID",
  2530. "in": "query",
  2531. "required": true
  2532. }
  2533. ],
  2534. "responses": {
  2535. "200": {
  2536. "description": "OK",
  2537. "schema": {
  2538. "type": "array",
  2539. "items": {
  2540. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2541. }
  2542. }
  2543. },
  2544. "500": {
  2545. "description": "Internal Server Error",
  2546. "schema": {
  2547. "$ref": "#/definitions/app.Response"
  2548. }
  2549. }
  2550. }
  2551. }
  2552. },
  2553. "/Ermcp/QueryRealtimeExposurePosition": {
  2554. "get": {
  2555. "security": [
  2556. {
  2557. "ApiKeyAuth": []
  2558. }
  2559. ],
  2560. "produces": [
  2561. "application/json"
  2562. ],
  2563. "tags": [
  2564. "企业风险管理(app)"
  2565. ],
  2566. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2567. "parameters": [
  2568. {
  2569. "type": "integer",
  2570. "description": "所属机构ID",
  2571. "name": "areaUserId",
  2572. "in": "query",
  2573. "required": true
  2574. },
  2575. {
  2576. "type": "integer",
  2577. "description": "套保商品ID",
  2578. "name": "middleGoodsId",
  2579. "in": "query",
  2580. "required": true
  2581. }
  2582. ],
  2583. "responses": {
  2584. "200": {
  2585. "description": "OK",
  2586. "schema": {
  2587. "type": "array",
  2588. "items": {
  2589. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2590. }
  2591. }
  2592. },
  2593. "500": {
  2594. "description": "Internal Server Error",
  2595. "schema": {
  2596. "$ref": "#/definitions/app.Response"
  2597. }
  2598. }
  2599. }
  2600. }
  2601. },
  2602. "/Ermcp/QuerySpotContract": {
  2603. "get": {
  2604. "security": [
  2605. {
  2606. "ApiKeyAuth": []
  2607. }
  2608. ],
  2609. "produces": [
  2610. "application/json"
  2611. ],
  2612. "tags": [
  2613. "企业风险管理(app)"
  2614. ],
  2615. "summary": "查询现货合同(对应现货合同菜单)",
  2616. "parameters": [
  2617. {
  2618. "type": "integer",
  2619. "description": "用户ID",
  2620. "name": "userId",
  2621. "in": "query",
  2622. "required": true
  2623. },
  2624. {
  2625. "type": "integer",
  2626. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2627. "name": "QueryType",
  2628. "in": "query",
  2629. "required": true
  2630. }
  2631. ],
  2632. "responses": {
  2633. "200": {
  2634. "description": "OK",
  2635. "schema": {
  2636. "type": "array",
  2637. "items": {
  2638. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2639. }
  2640. }
  2641. },
  2642. "500": {
  2643. "description": "Internal Server Error",
  2644. "schema": {
  2645. "$ref": "#/definitions/app.Response"
  2646. }
  2647. }
  2648. }
  2649. }
  2650. },
  2651. "/Ermcp/QueryUserInfo": {
  2652. "get": {
  2653. "security": [
  2654. {
  2655. "ApiKeyAuth": []
  2656. }
  2657. ],
  2658. "produces": [
  2659. "application/json"
  2660. ],
  2661. "tags": [
  2662. "企业风险管理(app)"
  2663. ],
  2664. "summary": "查询客户资料",
  2665. "parameters": [
  2666. {
  2667. "type": "integer",
  2668. "description": "所属机构用户ID",
  2669. "name": "MemberUserID",
  2670. "in": "query",
  2671. "required": true
  2672. },
  2673. {
  2674. "type": "integer",
  2675. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2676. "name": "queryType",
  2677. "in": "query",
  2678. "required": true
  2679. }
  2680. ],
  2681. "responses": {
  2682. "200": {
  2683. "description": "OK",
  2684. "schema": {
  2685. "type": "array",
  2686. "items": {
  2687. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2688. }
  2689. }
  2690. },
  2691. "500": {
  2692. "description": "Internal Server Error",
  2693. "schema": {
  2694. "$ref": "#/definitions/app.Response"
  2695. }
  2696. }
  2697. }
  2698. }
  2699. },
  2700. "/Ermcp/QueryWrStandard": {
  2701. "get": {
  2702. "security": [
  2703. {
  2704. "ApiKeyAuth": []
  2705. }
  2706. ],
  2707. "produces": [
  2708. "application/json"
  2709. ],
  2710. "tags": [
  2711. "企业风险管理(app)"
  2712. ],
  2713. "summary": "查询现货商品",
  2714. "parameters": [
  2715. {
  2716. "type": "integer",
  2717. "description": "所属机构ID",
  2718. "name": "userid",
  2719. "in": "query",
  2720. "required": true
  2721. },
  2722. {
  2723. "type": "integer",
  2724. "description": "状态 0-停用 1-正常",
  2725. "name": "status",
  2726. "in": "query",
  2727. "required": true
  2728. }
  2729. ],
  2730. "responses": {
  2731. "200": {
  2732. "description": "OK",
  2733. "schema": {
  2734. "type": "array",
  2735. "items": {
  2736. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2737. }
  2738. }
  2739. },
  2740. "500": {
  2741. "description": "Internal Server Error",
  2742. "schema": {
  2743. "$ref": "#/definitions/app.Response"
  2744. }
  2745. }
  2746. }
  2747. }
  2748. },
  2749. "/Ermcp/QueryWrStandardDetail": {
  2750. "get": {
  2751. "security": [
  2752. {
  2753. "ApiKeyAuth": []
  2754. }
  2755. ],
  2756. "produces": [
  2757. "application/json"
  2758. ],
  2759. "tags": [
  2760. "企业风险管理(app)"
  2761. ],
  2762. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2763. "parameters": [
  2764. {
  2765. "type": "integer",
  2766. "description": "所属机构ID",
  2767. "name": "userid",
  2768. "in": "query",
  2769. "required": true
  2770. },
  2771. {
  2772. "type": "integer",
  2773. "description": "现货商品ID",
  2774. "name": "wrstandardid",
  2775. "in": "query",
  2776. "required": true
  2777. },
  2778. {
  2779. "type": "integer",
  2780. "description": "可不填, 1-查询关联交易商品",
  2781. "name": "goods",
  2782. "in": "query"
  2783. }
  2784. ],
  2785. "responses": {
  2786. "200": {
  2787. "description": "OK",
  2788. "schema": {
  2789. "type": "array",
  2790. "items": {
  2791. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2792. }
  2793. }
  2794. },
  2795. "500": {
  2796. "description": "Internal Server Error",
  2797. "schema": {
  2798. "$ref": "#/definitions/app.Response"
  2799. }
  2800. }
  2801. }
  2802. }
  2803. },
  2804. "/Erms2/QueryArbitrageStrategy": {
  2805. "get": {
  2806. "security": [
  2807. {
  2808. "ApiKeyAuth": []
  2809. }
  2810. ],
  2811. "produces": [
  2812. "application/json"
  2813. ],
  2814. "tags": [
  2815. "风险管理"
  2816. ],
  2817. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2818. "parameters": [
  2819. {
  2820. "type": "integer",
  2821. "description": "账户ID",
  2822. "name": "userid",
  2823. "in": "query",
  2824. "required": true
  2825. },
  2826. {
  2827. "type": "string",
  2828. "description": "商品组ID(品种ID)",
  2829. "name": "goodsgroupid",
  2830. "in": "query"
  2831. }
  2832. ],
  2833. "responses": {
  2834. "200": {
  2835. "description": "OK",
  2836. "schema": {
  2837. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2838. }
  2839. },
  2840. "500": {
  2841. "description": "Internal Server Error",
  2842. "schema": {
  2843. "$ref": "#/definitions/app.Response"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/Erms2/QueryInnerTradeDetail": {
  2850. "get": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "produces": [
  2857. "application/json"
  2858. ],
  2859. "tags": [
  2860. "风险管理"
  2861. ],
  2862. "summary": "查询内部成交单信息",
  2863. "parameters": [
  2864. {
  2865. "type": "integer",
  2866. "description": "资金账户",
  2867. "name": "accountid",
  2868. "in": "query",
  2869. "required": true
  2870. }
  2871. ],
  2872. "responses": {
  2873. "200": {
  2874. "description": "OK",
  2875. "schema": {
  2876. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2877. }
  2878. },
  2879. "500": {
  2880. "description": "Internal Server Error",
  2881. "schema": {
  2882. "$ref": "#/definitions/app.Response"
  2883. }
  2884. }
  2885. }
  2886. }
  2887. },
  2888. "/Erms2/QuerySpotContract": {
  2889. "get": {
  2890. "security": [
  2891. {
  2892. "ApiKeyAuth": []
  2893. }
  2894. ],
  2895. "produces": [
  2896. "application/json"
  2897. ],
  2898. "tags": [
  2899. "风险管理"
  2900. ],
  2901. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2902. "parameters": [
  2903. {
  2904. "type": "integer",
  2905. "description": "策略申请ID",
  2906. "name": "asapplyid",
  2907. "in": "query",
  2908. "required": true
  2909. },
  2910. {
  2911. "type": "integer",
  2912. "description": "现货合同ID",
  2913. "name": "spotcontractid",
  2914. "in": "query"
  2915. }
  2916. ],
  2917. "responses": {
  2918. "200": {
  2919. "description": "OK",
  2920. "schema": {
  2921. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2922. }
  2923. },
  2924. "500": {
  2925. "description": "Internal Server Error",
  2926. "schema": {
  2927. "$ref": "#/definitions/app.Response"
  2928. }
  2929. }
  2930. }
  2931. }
  2932. },
  2933. "/Erms3/AddErms2ASApply": {
  2934. "post": {
  2935. "security": [
  2936. {
  2937. "ApiKeyAuth": []
  2938. }
  2939. ],
  2940. "produces": [
  2941. "application/json"
  2942. ],
  2943. "tags": [
  2944. "风险管理v3"
  2945. ],
  2946. "summary": "新增期现套利业务申请",
  2947. "parameters": [
  2948. {
  2949. "description": "申请参数",
  2950. "name": "jsonBody",
  2951. "in": "body",
  2952. "required": true,
  2953. "schema": {
  2954. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2955. }
  2956. }
  2957. ],
  2958. "responses": {
  2959. "200": {
  2960. "description": "OK",
  2961. "schema": {
  2962. "$ref": "#/definitions/app.Response"
  2963. }
  2964. },
  2965. "500": {
  2966. "description": "Internal Server Error",
  2967. "schema": {
  2968. "$ref": "#/definitions/app.Response"
  2969. }
  2970. }
  2971. }
  2972. }
  2973. },
  2974. "/Erms3/AddErms2SpotTradeApply": {
  2975. "post": {
  2976. "security": [
  2977. {
  2978. "ApiKeyAuth": []
  2979. }
  2980. ],
  2981. "produces": [
  2982. "application/json"
  2983. ],
  2984. "tags": [
  2985. "风险管理v3"
  2986. ],
  2987. "summary": "新增现货贸易业务申请",
  2988. "parameters": [
  2989. {
  2990. "description": "申请参数",
  2991. "name": "jsonBody",
  2992. "in": "body",
  2993. "required": true,
  2994. "schema": {
  2995. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2996. }
  2997. }
  2998. ],
  2999. "responses": {
  3000. "200": {
  3001. "description": "OK",
  3002. "schema": {
  3003. "$ref": "#/definitions/app.Response"
  3004. }
  3005. },
  3006. "500": {
  3007. "description": "Internal Server Error",
  3008. "schema": {
  3009. "$ref": "#/definitions/app.Response"
  3010. }
  3011. }
  3012. }
  3013. }
  3014. },
  3015. "/Erms3/AddSpotContractApply": {
  3016. "post": {
  3017. "security": [
  3018. {
  3019. "ApiKeyAuth": []
  3020. }
  3021. ],
  3022. "produces": [
  3023. "application/json"
  3024. ],
  3025. "tags": [
  3026. "风险管理v3"
  3027. ],
  3028. "summary": "新增现货合同申请",
  3029. "parameters": [
  3030. {
  3031. "description": "申请参数",
  3032. "name": "jsonBody",
  3033. "in": "body",
  3034. "required": true,
  3035. "schema": {
  3036. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3037. }
  3038. }
  3039. ],
  3040. "responses": {
  3041. "200": {
  3042. "description": "OK",
  3043. "schema": {
  3044. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/app.Response"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/Erms3/AddUserInfoApply": {
  3057. "post": {
  3058. "security": [
  3059. {
  3060. "ApiKeyAuth": []
  3061. }
  3062. ],
  3063. "produces": [
  3064. "application/json"
  3065. ],
  3066. "tags": [
  3067. "风险管理v3"
  3068. ],
  3069. "summary": "新增客户申请",
  3070. "parameters": [
  3071. {
  3072. "description": "用户信息",
  3073. "name": "jsonBody",
  3074. "in": "body",
  3075. "required": true,
  3076. "schema": {
  3077. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3078. }
  3079. }
  3080. ],
  3081. "responses": {
  3082. "200": {
  3083. "description": "OK",
  3084. "schema": {
  3085. "$ref": "#/definitions/app.Response"
  3086. }
  3087. },
  3088. "500": {
  3089. "description": "Internal Server Error",
  3090. "schema": {
  3091. "$ref": "#/definitions/app.Response"
  3092. }
  3093. }
  3094. }
  3095. }
  3096. },
  3097. "/Erms3/ModifyUserInfoApply": {
  3098. "post": {
  3099. "security": [
  3100. {
  3101. "ApiKeyAuth": []
  3102. }
  3103. ],
  3104. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3105. "produces": [
  3106. "application/json"
  3107. ],
  3108. "tags": [
  3109. "风险管理v3"
  3110. ],
  3111. "summary": "修改客户申请",
  3112. "parameters": [
  3113. {
  3114. "description": "用户信息",
  3115. "name": "jsonBody",
  3116. "in": "body",
  3117. "required": true,
  3118. "schema": {
  3119. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3120. }
  3121. }
  3122. ],
  3123. "responses": {
  3124. "200": {
  3125. "description": "OK",
  3126. "schema": {
  3127. "$ref": "#/definitions/app.Response"
  3128. }
  3129. },
  3130. "500": {
  3131. "description": "Internal Server Error",
  3132. "schema": {
  3133. "$ref": "#/definitions/app.Response"
  3134. }
  3135. }
  3136. }
  3137. }
  3138. },
  3139. "/Erms3/QueryBusinessInfo": {
  3140. "get": {
  3141. "security": [
  3142. {
  3143. "ApiKeyAuth": []
  3144. }
  3145. ],
  3146. "produces": [
  3147. "application/json"
  3148. ],
  3149. "tags": [
  3150. "风险管理v3"
  3151. ],
  3152. "summary": "查询业务表单数据",
  3153. "parameters": [
  3154. {
  3155. "type": "string",
  3156. "description": "资金账号ID列表,用逗号分隔",
  3157. "name": "accountids",
  3158. "in": "query",
  3159. "required": true
  3160. },
  3161. {
  3162. "type": "integer",
  3163. "description": "状态,0为未结束 1为已结束",
  3164. "name": "status",
  3165. "in": "query",
  3166. "required": true
  3167. }
  3168. ],
  3169. "responses": {
  3170. "200": {
  3171. "description": "OK",
  3172. "schema": {
  3173. "type": "array",
  3174. "items": {
  3175. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3176. }
  3177. }
  3178. },
  3179. "500": {
  3180. "description": "Internal Server Error",
  3181. "schema": {
  3182. "$ref": "#/definitions/app.Response"
  3183. }
  3184. }
  3185. }
  3186. }
  3187. },
  3188. "/Erms3/QueryPendingAuditContract": {
  3189. "get": {
  3190. "security": [
  3191. {
  3192. "ApiKeyAuth": []
  3193. }
  3194. ],
  3195. "produces": [
  3196. "application/json"
  3197. ],
  3198. "tags": [
  3199. "风险管理v3"
  3200. ],
  3201. "summary": "查询待审核合同",
  3202. "parameters": [
  3203. {
  3204. "type": "string",
  3205. "description": "资金账号ID列表,逗号隔开",
  3206. "name": "accountids",
  3207. "in": "query",
  3208. "required": true
  3209. },
  3210. {
  3211. "type": "integer",
  3212. "description": "合同类型 1-采购 -1-销售",
  3213. "name": "contracttype",
  3214. "in": "query",
  3215. "required": true
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "合同模式 1-普通 2-回购",
  3220. "name": "contractmode",
  3221. "in": "query",
  3222. "required": true
  3223. }
  3224. ],
  3225. "responses": {
  3226. "200": {
  3227. "description": "OK",
  3228. "schema": {
  3229. "type": "array",
  3230. "items": {
  3231. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3232. }
  3233. }
  3234. },
  3235. "500": {
  3236. "description": "Internal Server Error",
  3237. "schema": {
  3238. "$ref": "#/definitions/app.Response"
  3239. }
  3240. }
  3241. }
  3242. }
  3243. },
  3244. "/Erms3/QueryPendingBusiness": {
  3245. "get": {
  3246. "security": [
  3247. {
  3248. "ApiKeyAuth": []
  3249. }
  3250. ],
  3251. "produces": [
  3252. "application/json"
  3253. ],
  3254. "tags": [
  3255. "风险管理v3"
  3256. ],
  3257. "summary": "查询待审核基差贸易业务",
  3258. "parameters": [
  3259. {
  3260. "type": "string",
  3261. "description": "资金账号ID列表,逗号隔开",
  3262. "name": "accountids",
  3263. "in": "query",
  3264. "required": true
  3265. }
  3266. ],
  3267. "responses": {
  3268. "200": {
  3269. "description": "OK",
  3270. "schema": {
  3271. "type": "array",
  3272. "items": {
  3273. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3274. }
  3275. }
  3276. },
  3277. "500": {
  3278. "description": "Internal Server Error",
  3279. "schema": {
  3280. "$ref": "#/definitions/app.Response"
  3281. }
  3282. }
  3283. }
  3284. }
  3285. },
  3286. "/Erms3/QuerySpotContractAppleForm": {
  3287. "get": {
  3288. "security": [
  3289. {
  3290. "ApiKeyAuth": []
  3291. }
  3292. ],
  3293. "produces": [
  3294. "application/json"
  3295. ],
  3296. "tags": [
  3297. "风险管理v3"
  3298. ],
  3299. "summary": "查询合同申请表单数据",
  3300. "parameters": [
  3301. {
  3302. "type": "integer",
  3303. "description": "登录账号",
  3304. "name": "loginID",
  3305. "in": "query",
  3306. "required": true
  3307. }
  3308. ],
  3309. "responses": {
  3310. "200": {
  3311. "description": "OK",
  3312. "schema": {
  3313. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3314. }
  3315. },
  3316. "500": {
  3317. "description": "Internal Server Error",
  3318. "schema": {
  3319. "$ref": "#/definitions/app.Response"
  3320. }
  3321. }
  3322. }
  3323. }
  3324. },
  3325. "/Erms3/QuerySpotContractDetail": {
  3326. "get": {
  3327. "security": [
  3328. {
  3329. "ApiKeyAuth": []
  3330. }
  3331. ],
  3332. "produces": [
  3333. "application/json"
  3334. ],
  3335. "tags": [
  3336. "风险管理v3"
  3337. ],
  3338. "summary": "查询合同详细信息",
  3339. "parameters": [
  3340. {
  3341. "type": "string",
  3342. "description": "资金账号ID列表,用逗号分隔",
  3343. "name": "accountids",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "合同类型,1为采购合同 -1为销售合同",
  3350. "name": "contracttype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "integer",
  3356. "description": "合同模式,1为普通合同 2为回购销售合同",
  3357. "name": "contractmode",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "状态,0为履约中 1为已完成",
  3364. "name": "status",
  3365. "in": "query",
  3366. "required": true
  3367. }
  3368. ],
  3369. "responses": {
  3370. "200": {
  3371. "description": "OK",
  3372. "schema": {
  3373. "type": "array",
  3374. "items": {
  3375. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3376. }
  3377. }
  3378. },
  3379. "500": {
  3380. "description": "Internal Server Error",
  3381. "schema": {
  3382. "$ref": "#/definitions/app.Response"
  3383. }
  3384. }
  3385. }
  3386. }
  3387. },
  3388. "/Erms3/QueryUserInfoApplies": {
  3389. "get": {
  3390. "security": [
  3391. {
  3392. "ApiKeyAuth": []
  3393. }
  3394. ],
  3395. "produces": [
  3396. "application/json"
  3397. ],
  3398. "tags": [
  3399. "风险管理v3"
  3400. ],
  3401. "summary": "客户申请信息查询",
  3402. "parameters": [
  3403. {
  3404. "type": "integer",
  3405. "description": "页码",
  3406. "name": "page",
  3407. "in": "query"
  3408. },
  3409. {
  3410. "type": "integer",
  3411. "description": "每页条数",
  3412. "name": "pagesize",
  3413. "in": "query"
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "客户名称,支持模糊查询",
  3418. "name": "userName",
  3419. "in": "query"
  3420. }
  3421. ],
  3422. "responses": {
  3423. "200": {
  3424. "description": "OK",
  3425. "schema": {
  3426. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3427. }
  3428. },
  3429. "500": {
  3430. "description": "Internal Server Error",
  3431. "schema": {
  3432. "$ref": "#/definitions/app.Response"
  3433. }
  3434. }
  3435. }
  3436. }
  3437. },
  3438. "/Erms3/QueryUserInfos": {
  3439. "get": {
  3440. "security": [
  3441. {
  3442. "ApiKeyAuth": []
  3443. }
  3444. ],
  3445. "produces": [
  3446. "application/json"
  3447. ],
  3448. "tags": [
  3449. "风险管理v3"
  3450. ],
  3451. "summary": "客户信息查询",
  3452. "parameters": [
  3453. {
  3454. "type": "integer",
  3455. "description": "页码",
  3456. "name": "page",
  3457. "in": "query"
  3458. },
  3459. {
  3460. "type": "integer",
  3461. "description": "每页条数",
  3462. "name": "pagesize",
  3463. "in": "query"
  3464. },
  3465. {
  3466. "type": "string",
  3467. "description": "客户名称,支持模糊查询",
  3468. "name": "userName",
  3469. "in": "query"
  3470. }
  3471. ],
  3472. "responses": {
  3473. "200": {
  3474. "description": "OK",
  3475. "schema": {
  3476. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3477. }
  3478. },
  3479. "500": {
  3480. "description": "Internal Server Error",
  3481. "schema": {
  3482. "$ref": "#/definitions/app.Response"
  3483. }
  3484. }
  3485. }
  3486. }
  3487. },
  3488. "/HSBY/GetHsbyMyCount": {
  3489. "get": {
  3490. "security": [
  3491. {
  3492. "ApiKeyAuth": []
  3493. }
  3494. ],
  3495. "description": "说明: 不包括已完成的数量。",
  3496. "produces": [
  3497. "application/json"
  3498. ],
  3499. "tags": [
  3500. "定制【海商报业】"
  3501. ],
  3502. "summary": "获取我的订单与包裹数量",
  3503. "parameters": [
  3504. {
  3505. "type": "string",
  3506. "description": "资金账户列表,格式:1,2,3",
  3507. "name": "accountIDs",
  3508. "in": "query",
  3509. "required": true
  3510. }
  3511. ],
  3512. "responses": {
  3513. "200": {
  3514. "description": "OK",
  3515. "schema": {
  3516. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/HSBY/QueryClientFixedADConfigs": {
  3529. "get": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "定制【海商报业】"
  3540. ],
  3541. "summary": "获取终端固定广告配置",
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "$ref": "#/definitions/models.Clientfixedadconfig"
  3547. }
  3548. },
  3549. "500": {
  3550. "description": "Internal Server Error",
  3551. "schema": {
  3552. "$ref": "#/definitions/app.Response"
  3553. }
  3554. }
  3555. }
  3556. }
  3557. },
  3558. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3559. "get": {
  3560. "security": [
  3561. {
  3562. "ApiKeyAuth": []
  3563. }
  3564. ],
  3565. "produces": [
  3566. "application/json"
  3567. ],
  3568. "tags": [
  3569. "定制【海商报业】"
  3570. ],
  3571. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3572. "parameters": [
  3573. {
  3574. "type": "integer",
  3575. "description": "页码",
  3576. "name": "page",
  3577. "in": "query"
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "每页条数",
  3582. "name": "pagesize",
  3583. "in": "query"
  3584. },
  3585. {
  3586. "type": "string",
  3587. "description": "资金账户列表,格式:1,2,3",
  3588. "name": "accountIDs",
  3589. "in": "query",
  3590. "required": true
  3591. }
  3592. ],
  3593. "responses": {
  3594. "200": {
  3595. "description": "OK",
  3596. "schema": {
  3597. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3598. }
  3599. },
  3600. "500": {
  3601. "description": "Internal Server Error",
  3602. "schema": {
  3603. "$ref": "#/definitions/app.Response"
  3604. }
  3605. }
  3606. }
  3607. }
  3608. },
  3609. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3610. "get": {
  3611. "security": [
  3612. {
  3613. "ApiKeyAuth": []
  3614. }
  3615. ],
  3616. "description": "说明:查询结果已按委托价格和委托时间排序",
  3617. "produces": [
  3618. "application/json"
  3619. ],
  3620. "tags": [
  3621. "定制【海商报业】"
  3622. ],
  3623. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3624. "parameters": [
  3625. {
  3626. "type": "integer",
  3627. "description": "商品ID",
  3628. "name": "goodsID",
  3629. "in": "query",
  3630. "required": true
  3631. },
  3632. {
  3633. "type": "string",
  3634. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3635. "name": "accountIDs",
  3636. "in": "query"
  3637. },
  3638. {
  3639. "type": "integer",
  3640. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3641. "name": "buyOrSell",
  3642. "in": "query"
  3643. },
  3644. {
  3645. "type": "number",
  3646. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3647. "name": "price",
  3648. "in": "query"
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "档位,不传则默认为3档",
  3653. "name": "speed",
  3654. "in": "query"
  3655. }
  3656. ],
  3657. "responses": {
  3658. "200": {
  3659. "description": "OK",
  3660. "schema": {
  3661. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/HSBY/QueryHsbyListingGoodsDetail": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3681. "produces": [
  3682. "application/json"
  3683. ],
  3684. "tags": [
  3685. "定制【海商报业】"
  3686. ],
  3687. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3688. "parameters": [
  3689. {
  3690. "type": "integer",
  3691. "description": "商品ID",
  3692. "name": "goodsID",
  3693. "in": "query",
  3694. "required": true
  3695. },
  3696. {
  3697. "type": "integer",
  3698. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3699. "name": "accountID",
  3700. "in": "query"
  3701. }
  3702. ],
  3703. "responses": {
  3704. "200": {
  3705. "description": "OK",
  3706. "schema": {
  3707. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3708. }
  3709. },
  3710. "500": {
  3711. "description": "Internal Server Error",
  3712. "schema": {
  3713. "$ref": "#/definitions/app.Response"
  3714. }
  3715. }
  3716. }
  3717. }
  3718. },
  3719. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3720. "get": {
  3721. "security": [
  3722. {
  3723. "ApiKeyAuth": []
  3724. }
  3725. ],
  3726. "produces": [
  3727. "application/json"
  3728. ],
  3729. "tags": [
  3730. "定制【海商报业】"
  3731. ],
  3732. "summary": "查询三级市场(商城)商品信息详情",
  3733. "parameters": [
  3734. {
  3735. "type": "integer",
  3736. "description": "委托单号",
  3737. "name": "orderID",
  3738. "in": "query",
  3739. "required": true
  3740. },
  3741. {
  3742. "type": "integer",
  3743. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3744. "name": "accountID",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3753. }
  3754. },
  3755. "500": {
  3756. "description": "Internal Server Error",
  3757. "schema": {
  3758. "$ref": "#/definitions/app.Response"
  3759. }
  3760. }
  3761. }
  3762. }
  3763. },
  3764. "/HSBY/QueryHsbyMarketGoodses": {
  3765. "get": {
  3766. "security": [
  3767. {
  3768. "ApiKeyAuth": []
  3769. }
  3770. ],
  3771. "produces": [
  3772. "application/json"
  3773. ],
  3774. "tags": [
  3775. "定制【海商报业】"
  3776. ],
  3777. "summary": "查询特卖商品列表(三级商城)",
  3778. "parameters": [
  3779. {
  3780. "type": "integer",
  3781. "description": "页码",
  3782. "name": "page",
  3783. "in": "query"
  3784. },
  3785. {
  3786. "type": "integer",
  3787. "description": "每页条数",
  3788. "name": "pagesize",
  3789. "in": "query"
  3790. },
  3791. {
  3792. "type": "string",
  3793. "description": "市场ID列表,格式:1,2,3",
  3794. "name": "marketIDs",
  3795. "in": "query",
  3796. "required": true
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3801. "name": "accountID",
  3802. "in": "query",
  3803. "required": true
  3804. },
  3805. {
  3806. "type": "integer",
  3807. "description": "类别ID",
  3808. "name": "categoryID",
  3809. "in": "query"
  3810. },
  3811. {
  3812. "type": "string",
  3813. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3814. "name": "goodsIDs",
  3815. "in": "query"
  3816. },
  3817. {
  3818. "type": "integer",
  3819. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3820. "name": "couponTypeID",
  3821. "in": "query"
  3822. }
  3823. ],
  3824. "responses": {
  3825. "200": {
  3826. "description": "OK",
  3827. "schema": {
  3828. "$ref": "#/definitions/models.HsbyMarketGoods"
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/HSBY/QueryHsbyMarkets": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "定制【海商报业】"
  3852. ],
  3853. "summary": "查询海商报业相关市场信息",
  3854. "responses": {
  3855. "200": {
  3856. "description": "OK",
  3857. "schema": {
  3858. "$ref": "#/definitions/models.HsbyMarketInfo"
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3878. "produces": [
  3879. "application/json"
  3880. ],
  3881. "tags": [
  3882. "定制【海商报业】"
  3883. ],
  3884. "summary": "查询“我的订单”信息",
  3885. "parameters": [
  3886. {
  3887. "type": "string",
  3888. "description": "资金账户列表,格式:1,2,3",
  3889. "name": "accountIDs",
  3890. "in": "query",
  3891. "required": true
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/HSBY/QueryHsbyMyGoods": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "定制【海商报业】"
  3923. ],
  3924. "summary": "查询“我的商品”信息",
  3925. "parameters": [
  3926. {
  3927. "type": "string",
  3928. "description": "资金账户列表,格式:1,2,3",
  3929. "name": "accountIDs",
  3930. "in": "query",
  3931. "required": true
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "$ref": "#/definitions/models.HsbyMyGoods"
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/HSBY/QueryHsbyMyPackages": {
  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": "string",
  3967. "description": "资金账户列表,格式:1,2,3",
  3968. "name": "accountIDs",
  3969. "in": "query",
  3970. "required": true
  3971. },
  3972. {
  3973. "type": "integer",
  3974. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3975. "name": "takeOrderStatus",
  3976. "in": "query"
  3977. }
  3978. ],
  3979. "responses": {
  3980. "200": {
  3981. "description": "OK",
  3982. "schema": {
  3983. "$ref": "#/definitions/models.HsbyMyPackage"
  3984. }
  3985. },
  3986. "500": {
  3987. "description": "Internal Server Error",
  3988. "schema": {
  3989. "$ref": "#/definitions/app.Response"
  3990. }
  3991. }
  3992. }
  3993. }
  3994. },
  3995. "/HSBY/QueryHsbyPreGoodsDetail": {
  3996. "get": {
  3997. "security": [
  3998. {
  3999. "ApiKeyAuth": []
  4000. }
  4001. ],
  4002. "produces": [
  4003. "application/json"
  4004. ],
  4005. "tags": [
  4006. "定制【海商报业】"
  4007. ],
  4008. "summary": "查询一级市场(预售)商品信息详情",
  4009. "parameters": [
  4010. {
  4011. "type": "integer",
  4012. "description": "商品ID",
  4013. "name": "goodsID",
  4014. "in": "query",
  4015. "required": true
  4016. },
  4017. {
  4018. "type": "integer",
  4019. "description": "资金账户,主要用于获取预售商品购买上限",
  4020. "name": "accountID",
  4021. "in": "query"
  4022. }
  4023. ],
  4024. "responses": {
  4025. "200": {
  4026. "description": "OK",
  4027. "schema": {
  4028. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4029. }
  4030. },
  4031. "500": {
  4032. "description": "Internal Server Error",
  4033. "schema": {
  4034. "$ref": "#/definitions/app.Response"
  4035. }
  4036. }
  4037. }
  4038. }
  4039. },
  4040. "/HSBY/QueryHsbyPreGoodses": {
  4041. "get": {
  4042. "security": [
  4043. {
  4044. "ApiKeyAuth": []
  4045. }
  4046. ],
  4047. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4048. "produces": [
  4049. "application/json"
  4050. ],
  4051. "tags": [
  4052. "定制【海商报业】"
  4053. ],
  4054. "summary": "查询新品上市商品列表(一级市场预售)",
  4055. "parameters": [
  4056. {
  4057. "type": "integer",
  4058. "description": "页码",
  4059. "name": "page",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "每页条数",
  4065. "name": "pagesize",
  4066. "in": "query"
  4067. },
  4068. {
  4069. "type": "string",
  4070. "description": "市场ID列表,格式:1,2,3",
  4071. "name": "marketIDs",
  4072. "in": "query",
  4073. "required": true
  4074. },
  4075. {
  4076. "type": "integer",
  4077. "description": "目的地(省)ID",
  4078. "name": "descProvinceID",
  4079. "in": "query"
  4080. },
  4081. {
  4082. "type": "integer",
  4083. "description": "目的地(市)ID",
  4084. "name": "descCityID",
  4085. "in": "query"
  4086. }
  4087. ],
  4088. "responses": {
  4089. "200": {
  4090. "description": "OK",
  4091. "schema": {
  4092. "$ref": "#/definitions/models.HsbyPreGoods"
  4093. }
  4094. },
  4095. "500": {
  4096. "description": "Internal Server Error",
  4097. "schema": {
  4098. "$ref": "#/definitions/app.Response"
  4099. }
  4100. }
  4101. }
  4102. }
  4103. },
  4104. "/HSBY/QueryHsbySellMyDetails": {
  4105. "get": {
  4106. "security": [
  4107. {
  4108. "ApiKeyAuth": []
  4109. }
  4110. ],
  4111. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4112. "produces": [
  4113. "application/json"
  4114. ],
  4115. "tags": [
  4116. "定制【海商报业】"
  4117. ],
  4118. "summary": "查询\"我的闲置\"单据信息",
  4119. "parameters": [
  4120. {
  4121. "type": "integer",
  4122. "description": "页码",
  4123. "name": "page",
  4124. "in": "query"
  4125. },
  4126. {
  4127. "type": "integer",
  4128. "description": "每页条数",
  4129. "name": "pagesize",
  4130. "in": "query"
  4131. },
  4132. {
  4133. "type": "string",
  4134. "description": "资金账户列表,格式:1,2,3",
  4135. "name": "accountIDs",
  4136. "in": "query",
  4137. "required": true
  4138. },
  4139. {
  4140. "type": "integer",
  4141. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4142. "name": "orderType",
  4143. "in": "query"
  4144. }
  4145. ],
  4146. "responses": {
  4147. "200": {
  4148. "description": "OK",
  4149. "schema": {
  4150. "$ref": "#/definitions/models.HsbySellMyDetail"
  4151. }
  4152. },
  4153. "500": {
  4154. "description": "Internal Server Error",
  4155. "schema": {
  4156. "$ref": "#/definitions/app.Response"
  4157. }
  4158. }
  4159. }
  4160. }
  4161. },
  4162. "/HSBY/QueryHsbyTopGoodses": {
  4163. "get": {
  4164. "security": [
  4165. {
  4166. "ApiKeyAuth": []
  4167. }
  4168. ],
  4169. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4170. "produces": [
  4171. "application/json"
  4172. ],
  4173. "tags": [
  4174. "定制【海商报业】"
  4175. ],
  4176. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4177. "parameters": [
  4178. {
  4179. "type": "integer",
  4180. "description": "页码",
  4181. "name": "page",
  4182. "in": "query"
  4183. },
  4184. {
  4185. "type": "integer",
  4186. "description": "每页条数",
  4187. "name": "pagesize",
  4188. "in": "query"
  4189. },
  4190. {
  4191. "type": "string",
  4192. "description": "市场ID列表,格式:1,2,3",
  4193. "name": "marketIDs",
  4194. "in": "query",
  4195. "required": true
  4196. },
  4197. {
  4198. "type": "integer",
  4199. "description": "目的地(省)ID",
  4200. "name": "descProvinceID",
  4201. "in": "query"
  4202. },
  4203. {
  4204. "type": "integer",
  4205. "description": "目的地(市)ID",
  4206. "name": "descCityID",
  4207. "in": "query"
  4208. }
  4209. ],
  4210. "responses": {
  4211. "200": {
  4212. "description": "OK",
  4213. "schema": {
  4214. "$ref": "#/definitions/models.HsbyTopGoods"
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4234. "produces": [
  4235. "application/json"
  4236. ],
  4237. "tags": [
  4238. "定制【海商报业】"
  4239. ],
  4240. "summary": "查询游客三级市场(商城)商品信息详情",
  4241. "parameters": [
  4242. {
  4243. "type": "integer",
  4244. "description": "商品ID",
  4245. "name": "goodsID",
  4246. "in": "query",
  4247. "required": true
  4248. }
  4249. ],
  4250. "responses": {
  4251. "200": {
  4252. "description": "OK",
  4253. "schema": {
  4254. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4255. }
  4256. },
  4257. "500": {
  4258. "description": "Internal Server Error",
  4259. "schema": {
  4260. "$ref": "#/definitions/app.Response"
  4261. }
  4262. }
  4263. }
  4264. }
  4265. },
  4266. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4267. "get": {
  4268. "security": [
  4269. {
  4270. "ApiKeyAuth": []
  4271. }
  4272. ],
  4273. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "定制【海商报业】"
  4279. ],
  4280. "summary": "查询游客特卖商品列表(三级商城)",
  4281. "parameters": [
  4282. {
  4283. "type": "integer",
  4284. "description": "页码",
  4285. "name": "page",
  4286. "in": "query"
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "每页条数",
  4291. "name": "pagesize",
  4292. "in": "query"
  4293. },
  4294. {
  4295. "type": "string",
  4296. "description": "市场ID列表,格式:1,2,3",
  4297. "name": "marketIDs",
  4298. "in": "query",
  4299. "required": true
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "类别ID",
  4304. "name": "categoryID",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "string",
  4309. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4310. "name": "goodsIDs",
  4311. "in": "query"
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "$ref": "#/definitions/models.HsbyMarketGoods"
  4319. }
  4320. },
  4321. "500": {
  4322. "description": "Internal Server Error",
  4323. "schema": {
  4324. "$ref": "#/definitions/app.Response"
  4325. }
  4326. }
  4327. }
  4328. }
  4329. },
  4330. "/HSBY/QueryMyCollectionOrders": {
  4331. "get": {
  4332. "security": [
  4333. {
  4334. "ApiKeyAuth": []
  4335. }
  4336. ],
  4337. "produces": [
  4338. "application/json"
  4339. ],
  4340. "tags": [
  4341. "定制【海商报业】"
  4342. ],
  4343. "summary": "我的闲置中收款信息查询",
  4344. "parameters": [
  4345. {
  4346. "type": "integer",
  4347. "description": "页码",
  4348. "name": "page",
  4349. "in": "query"
  4350. },
  4351. {
  4352. "type": "integer",
  4353. "description": "每页条数",
  4354. "name": "pagesize",
  4355. "in": "query"
  4356. },
  4357. {
  4358. "type": "string",
  4359. "description": "资金账户,格式:1,2,3",
  4360. "name": "accountIDs",
  4361. "in": "query",
  4362. "required": true
  4363. }
  4364. ],
  4365. "responses": {
  4366. "200": {
  4367. "description": "OK",
  4368. "schema": {
  4369. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/HSBY/QueryMyCouponHolds": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4389. "produces": [
  4390. "application/json"
  4391. ],
  4392. "tags": [
  4393. "定制【海商报业】"
  4394. ],
  4395. "summary": "我的优惠卷持仓查询",
  4396. "parameters": [
  4397. {
  4398. "type": "string",
  4399. "description": "资金账户列表,格式:1,2,3",
  4400. "name": "accountIDs",
  4401. "in": "query",
  4402. "required": true
  4403. },
  4404. {
  4405. "type": "string",
  4406. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4407. "name": "holdStatus",
  4408. "in": "query"
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "$ref": "#/definitions/models.MyCouponHold"
  4416. }
  4417. },
  4418. "500": {
  4419. "description": "Internal Server Error",
  4420. "schema": {
  4421. "$ref": "#/definitions/app.Response"
  4422. }
  4423. }
  4424. }
  4425. }
  4426. },
  4427. "/HSBY/QueryMyCoupons": {
  4428. "get": {
  4429. "security": [
  4430. {
  4431. "ApiKeyAuth": []
  4432. }
  4433. ],
  4434. "produces": [
  4435. "application/json"
  4436. ],
  4437. "tags": [
  4438. "定制【海商报业】"
  4439. ],
  4440. "summary": "我的优惠卷查询",
  4441. "parameters": [
  4442. {
  4443. "type": "string",
  4444. "description": "资金账户列表,格式:1,2,3",
  4445. "name": "accountIDs",
  4446. "in": "query",
  4447. "required": true
  4448. },
  4449. {
  4450. "type": "integer",
  4451. "description": "商品ID, 一般与sellUserID配套传入",
  4452. "name": "goodsID",
  4453. "in": "query"
  4454. },
  4455. {
  4456. "type": "integer",
  4457. "description": "卖方UserID",
  4458. "name": "sellUserID",
  4459. "in": "query"
  4460. }
  4461. ],
  4462. "responses": {
  4463. "200": {
  4464. "description": "OK",
  4465. "schema": {
  4466. "$ref": "#/definitions/models.MyCoupon"
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/HSBY/QueryMyPayOrders": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "定制【海商报业】"
  4490. ],
  4491. "summary": "获取我的订单中待付款信息",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "页码",
  4496. "name": "page",
  4497. "in": "query"
  4498. },
  4499. {
  4500. "type": "integer",
  4501. "description": "每页条数",
  4502. "name": "pagesize",
  4503. "in": "query"
  4504. },
  4505. {
  4506. "type": "string",
  4507. "description": "资金账户列表,格式:1,2,3",
  4508. "name": "accountIDs",
  4509. "in": "query",
  4510. "required": true
  4511. },
  4512. {
  4513. "type": "integer",
  4514. "description": "买方委托单号",
  4515. "name": "buyOrderID",
  4516. "in": "query"
  4517. },
  4518. {
  4519. "type": "integer",
  4520. "description": "卖方委托单号",
  4521. "name": "sellOrderID",
  4522. "in": "query"
  4523. }
  4524. ],
  4525. "responses": {
  4526. "200": {
  4527. "description": "OK",
  4528. "schema": {
  4529. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4530. }
  4531. },
  4532. "500": {
  4533. "description": "Internal Server Error",
  4534. "schema": {
  4535. "$ref": "#/definitions/app.Response"
  4536. }
  4537. }
  4538. }
  4539. }
  4540. },
  4541. "/HSBY/QueryMyUsedCoupon": {
  4542. "get": {
  4543. "security": [
  4544. {
  4545. "ApiKeyAuth": []
  4546. }
  4547. ],
  4548. "produces": [
  4549. "application/json"
  4550. ],
  4551. "tags": [
  4552. "定制【海商报业】"
  4553. ],
  4554. "summary": "已使用优惠卷查询",
  4555. "parameters": [
  4556. {
  4557. "type": "string",
  4558. "description": "资金账户列表,格式:1,2,3",
  4559. "name": "accountIDs",
  4560. "in": "query",
  4561. "required": true
  4562. }
  4563. ],
  4564. "responses": {
  4565. "200": {
  4566. "description": "OK",
  4567. "schema": {
  4568. "$ref": "#/definitions/models.MyUsedCoupon"
  4569. }
  4570. },
  4571. "500": {
  4572. "description": "Internal Server Error",
  4573. "schema": {
  4574. "$ref": "#/definitions/app.Response"
  4575. }
  4576. }
  4577. }
  4578. }
  4579. },
  4580. "/HSBY/QueryProvincesAndCities": {
  4581. "get": {
  4582. "security": [
  4583. {
  4584. "ApiKeyAuth": []
  4585. }
  4586. ],
  4587. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4588. "produces": [
  4589. "application/json"
  4590. ],
  4591. "tags": [
  4592. "定制【海商报业】"
  4593. ],
  4594. "summary": "查询省市信息(不包括区)",
  4595. "parameters": [
  4596. {
  4597. "type": "integer",
  4598. "description": "省ID",
  4599. "name": "provinceID",
  4600. "in": "query"
  4601. }
  4602. ],
  4603. "responses": {
  4604. "200": {
  4605. "description": "OK",
  4606. "schema": {
  4607. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4608. }
  4609. },
  4610. "500": {
  4611. "description": "Internal Server Error",
  4612. "schema": {
  4613. "$ref": "#/definitions/app.Response"
  4614. }
  4615. }
  4616. }
  4617. }
  4618. },
  4619. "/HSBY/SetHsbyMyPackagesStatus": {
  4620. "post": {
  4621. "security": [
  4622. {
  4623. "ApiKeyAuth": []
  4624. }
  4625. ],
  4626. "produces": [
  4627. "application/json"
  4628. ],
  4629. "tags": [
  4630. "定制【海商报业】"
  4631. ],
  4632. "summary": "设置我的包裹已收货状态",
  4633. "parameters": [
  4634. {
  4635. "type": "string",
  4636. "description": "提货单号",
  4637. "name": "takeOrderID",
  4638. "in": "query",
  4639. "required": true
  4640. },
  4641. {
  4642. "type": "integer",
  4643. "description": "资金账号",
  4644. "name": "accountID",
  4645. "in": "query",
  4646. "required": true
  4647. }
  4648. ],
  4649. "responses": {
  4650. "200": {
  4651. "description": "OK",
  4652. "schema": {
  4653. "$ref": "#/definitions/app.Response"
  4654. }
  4655. },
  4656. "500": {
  4657. "description": "Internal Server Error",
  4658. "schema": {
  4659. "$ref": "#/definitions/app.Response"
  4660. }
  4661. }
  4662. }
  4663. }
  4664. },
  4665. "/Market/QueryGoodsesByLoginID": {
  4666. "get": {
  4667. "security": [
  4668. {
  4669. "ApiKeyAuth": []
  4670. }
  4671. ],
  4672. "produces": [
  4673. "application/json"
  4674. ],
  4675. "tags": [
  4676. "通用市场"
  4677. ],
  4678. "summary": "获取登录账号有权限的商品信息",
  4679. "parameters": [
  4680. {
  4681. "type": "integer",
  4682. "description": "登录账号",
  4683. "name": "loginID",
  4684. "in": "query",
  4685. "required": true
  4686. },
  4687. {
  4688. "type": "string",
  4689. "description": "市场ID列表,格式:1,2,3",
  4690. "name": "marketIDs",
  4691. "in": "query"
  4692. }
  4693. ],
  4694. "responses": {
  4695. "200": {
  4696. "description": "OK",
  4697. "schema": {
  4698. "$ref": "#/definitions/models.Goods"
  4699. }
  4700. },
  4701. "500": {
  4702. "description": "Internal Server Error",
  4703. "schema": {
  4704. "$ref": "#/definitions/app.Response"
  4705. }
  4706. }
  4707. }
  4708. }
  4709. },
  4710. "/Market/QueryMarketRun": {
  4711. "get": {
  4712. "security": [
  4713. {
  4714. "ApiKeyAuth": []
  4715. }
  4716. ],
  4717. "produces": [
  4718. "application/json"
  4719. ],
  4720. "tags": [
  4721. "通用市场"
  4722. ],
  4723. "summary": "查询市场运行信息",
  4724. "parameters": [
  4725. {
  4726. "type": "integer",
  4727. "description": "市场ID,不传返回所有",
  4728. "name": "marketID",
  4729. "in": "query"
  4730. }
  4731. ],
  4732. "responses": {
  4733. "200": {
  4734. "description": "OK",
  4735. "schema": {
  4736. "$ref": "#/definitions/models.Marketrun"
  4737. }
  4738. },
  4739. "500": {
  4740. "description": "Internal Server Error",
  4741. "schema": {
  4742. "$ref": "#/definitions/app.Response"
  4743. }
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "/Market/QueryMarketsByLoginID": {
  4749. "get": {
  4750. "security": [
  4751. {
  4752. "ApiKeyAuth": []
  4753. }
  4754. ],
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "通用市场"
  4760. ],
  4761. "summary": "获取登录账号有权限的市场信息",
  4762. "parameters": [
  4763. {
  4764. "type": "integer",
  4765. "description": "登录账号",
  4766. "name": "loginID",
  4767. "in": "query",
  4768. "required": true
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/models.Market"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/Order/QueryHisTradeDetail": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "produces": [
  4795. "application/json"
  4796. ],
  4797. "tags": [
  4798. "通用单据"
  4799. ],
  4800. "summary": "历史成交单查询(合约市场)",
  4801. "parameters": [
  4802. {
  4803. "type": "string",
  4804. "description": "资金账户 - 格式:1,2,3",
  4805. "name": "accountID",
  4806. "in": "query",
  4807. "required": true
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "成交单号",
  4812. "name": "tradeID",
  4813. "in": "query"
  4814. },
  4815. {
  4816. "type": "integer",
  4817. "description": "委托单号",
  4818. "name": "orderID",
  4819. "in": "query"
  4820. },
  4821. {
  4822. "type": "string",
  4823. "description": "交易模式 - 格式:1,2,3",
  4824. "name": "tradeMode",
  4825. "in": "query"
  4826. },
  4827. {
  4828. "type": "integer",
  4829. "description": "委托单据类型",
  4830. "name": "buildType",
  4831. "in": "query"
  4832. },
  4833. {
  4834. "type": "string",
  4835. "description": "成交类别 - 格式:1,2,3",
  4836. "name": "tradeType",
  4837. "in": "query"
  4838. },
  4839. {
  4840. "type": "string",
  4841. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4842. "name": "startDate",
  4843. "in": "query"
  4844. },
  4845. {
  4846. "type": "string",
  4847. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4848. "name": "endDate",
  4849. "in": "query"
  4850. }
  4851. ],
  4852. "responses": {
  4853. "200": {
  4854. "description": "OK",
  4855. "schema": {
  4856. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4857. }
  4858. },
  4859. "500": {
  4860. "description": "Internal Server Error",
  4861. "schema": {
  4862. "$ref": "#/definitions/app.Response"
  4863. }
  4864. }
  4865. }
  4866. }
  4867. },
  4868. "/Order/QueryHisTradeOrderDetail": {
  4869. "get": {
  4870. "security": [
  4871. {
  4872. "ApiKeyAuth": []
  4873. }
  4874. ],
  4875. "produces": [
  4876. "application/json"
  4877. ],
  4878. "tags": [
  4879. "通用单据"
  4880. ],
  4881. "summary": "历史委托单查询请求(合约市场)",
  4882. "parameters": [
  4883. {
  4884. "type": "string",
  4885. "description": "资金账户 - 格式:1,2,3",
  4886. "name": "accountID",
  4887. "in": "query",
  4888. "required": true
  4889. },
  4890. {
  4891. "type": "string",
  4892. "description": "交易模式 - 格式:1,2,3",
  4893. "name": "tradeMode",
  4894. "in": "query"
  4895. },
  4896. {
  4897. "type": "string",
  4898. "description": "委托状态 - 格式:1,2,3",
  4899. "name": "orderStatus",
  4900. "in": "query"
  4901. },
  4902. {
  4903. "type": "integer",
  4904. "description": "委托单号",
  4905. "name": "orderID",
  4906. "in": "query"
  4907. },
  4908. {
  4909. "type": "string",
  4910. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4911. "name": "startDate",
  4912. "in": "query"
  4913. },
  4914. {
  4915. "type": "string",
  4916. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4917. "name": "endDate",
  4918. "in": "query"
  4919. }
  4920. ],
  4921. "responses": {
  4922. "200": {
  4923. "description": "OK",
  4924. "schema": {
  4925. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4926. }
  4927. },
  4928. "500": {
  4929. "description": "Internal Server Error",
  4930. "schema": {
  4931. "$ref": "#/definitions/app.Response"
  4932. }
  4933. }
  4934. }
  4935. }
  4936. },
  4937. "/Order/QueryTradeDetail": {
  4938. "get": {
  4939. "security": [
  4940. {
  4941. "ApiKeyAuth": []
  4942. }
  4943. ],
  4944. "produces": [
  4945. "application/json"
  4946. ],
  4947. "tags": [
  4948. "通用单据"
  4949. ],
  4950. "summary": "成交单查询(合约市场)",
  4951. "parameters": [
  4952. {
  4953. "type": "string",
  4954. "description": "资金账户 - 格式:1,2,3",
  4955. "name": "accountID",
  4956. "in": "query",
  4957. "required": true
  4958. },
  4959. {
  4960. "type": "integer",
  4961. "description": "成交单号",
  4962. "name": "tradeID",
  4963. "in": "query"
  4964. },
  4965. {
  4966. "type": "integer",
  4967. "description": "委托单号",
  4968. "name": "orderID",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "string",
  4973. "description": "交易模式 - 格式:1,2,3",
  4974. "name": "tradeMode",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "委托单据类型",
  4980. "name": "buildType",
  4981. "in": "query"
  4982. },
  4983. {
  4984. "type": "string",
  4985. "description": "成交类别 - 格式:1,2,3",
  4986. "name": "tradeType",
  4987. "in": "query"
  4988. }
  4989. ],
  4990. "responses": {
  4991. "200": {
  4992. "description": "OK",
  4993. "schema": {
  4994. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4995. }
  4996. },
  4997. "500": {
  4998. "description": "Internal Server Error",
  4999. "schema": {
  5000. "$ref": "#/definitions/app.Response"
  5001. }
  5002. }
  5003. }
  5004. }
  5005. },
  5006. "/Order/QueryTradeOrderDetail": {
  5007. "get": {
  5008. "security": [
  5009. {
  5010. "ApiKeyAuth": []
  5011. }
  5012. ],
  5013. "produces": [
  5014. "application/json"
  5015. ],
  5016. "tags": [
  5017. "通用单据"
  5018. ],
  5019. "summary": "委托单查询请求(合约市场)",
  5020. "parameters": [
  5021. {
  5022. "type": "string",
  5023. "description": "资金账户 - 格式:1,2,3",
  5024. "name": "accountID",
  5025. "in": "query",
  5026. "required": true
  5027. },
  5028. {
  5029. "type": "string",
  5030. "description": "交易模式 - 格式:1,2,3",
  5031. "name": "tradeMode",
  5032. "in": "query"
  5033. },
  5034. {
  5035. "type": "string",
  5036. "description": "委托状态 - 格式:1,2,3",
  5037. "name": "orderStatus",
  5038. "in": "query"
  5039. },
  5040. {
  5041. "type": "integer",
  5042. "description": "委托单号",
  5043. "name": "orderID",
  5044. "in": "query"
  5045. }
  5046. ],
  5047. "responses": {
  5048. "200": {
  5049. "description": "OK",
  5050. "schema": {
  5051. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5052. }
  5053. },
  5054. "500": {
  5055. "description": "Internal Server Error",
  5056. "schema": {
  5057. "$ref": "#/definitions/app.Response"
  5058. }
  5059. }
  5060. }
  5061. }
  5062. },
  5063. "/Order/QueryTradePosition": {
  5064. "get": {
  5065. "security": [
  5066. {
  5067. "ApiKeyAuth": []
  5068. }
  5069. ],
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "通用单据"
  5075. ],
  5076. "summary": "持仓汇总查询(合约市场)",
  5077. "parameters": [
  5078. {
  5079. "type": "string",
  5080. "description": "资金账户 - 格式:1,2,3",
  5081. "name": "accountID",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "string",
  5087. "description": "交易模式 - 格式:1,2,3",
  5088. "name": "tradeMode",
  5089. "in": "query"
  5090. }
  5091. ],
  5092. "responses": {
  5093. "200": {
  5094. "description": "OK",
  5095. "schema": {
  5096. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5097. }
  5098. },
  5099. "500": {
  5100. "description": "Internal Server Error",
  5101. "schema": {
  5102. "$ref": "#/definitions/app.Response"
  5103. }
  5104. }
  5105. }
  5106. }
  5107. },
  5108. "/Quote/QueryHistoryDatas": {
  5109. "get": {
  5110. "security": [
  5111. {
  5112. "ApiKeyAuth": []
  5113. }
  5114. ],
  5115. "produces": [
  5116. "application/json"
  5117. ],
  5118. "tags": [
  5119. "行情服务"
  5120. ],
  5121. "summary": "查询行情历史数据",
  5122. "parameters": [
  5123. {
  5124. "type": "integer",
  5125. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5126. "name": "cycleType",
  5127. "in": "query",
  5128. "required": true
  5129. },
  5130. {
  5131. "type": "string",
  5132. "description": "商品代码",
  5133. "name": "goodsCode",
  5134. "in": "query",
  5135. "required": true
  5136. },
  5137. {
  5138. "type": "string",
  5139. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5140. "name": "startTime",
  5141. "in": "query"
  5142. },
  5143. {
  5144. "type": "string",
  5145. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5146. "name": "endTime",
  5147. "in": "query"
  5148. },
  5149. {
  5150. "type": "integer",
  5151. "description": "条数",
  5152. "name": "count",
  5153. "in": "query"
  5154. },
  5155. {
  5156. "type": "boolean",
  5157. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5158. "name": "isAsc",
  5159. "in": "query"
  5160. }
  5161. ],
  5162. "responses": {
  5163. "200": {
  5164. "description": "OK",
  5165. "schema": {
  5166. "$ref": "#/definitions/quote.HistoryData"
  5167. }
  5168. },
  5169. "500": {
  5170. "description": "Internal Server Error",
  5171. "schema": {
  5172. "$ref": "#/definitions/app.Response"
  5173. }
  5174. }
  5175. }
  5176. }
  5177. },
  5178. "/Quote/QueryHistoryTikDatas": {
  5179. "get": {
  5180. "security": [
  5181. {
  5182. "ApiKeyAuth": []
  5183. }
  5184. ],
  5185. "produces": [
  5186. "application/json"
  5187. ],
  5188. "tags": [
  5189. "行情服务"
  5190. ],
  5191. "summary": "查询行情Tik数据",
  5192. "parameters": [
  5193. {
  5194. "type": "string",
  5195. "description": "商品代码",
  5196. "name": "goodsCode",
  5197. "in": "query",
  5198. "required": true
  5199. },
  5200. {
  5201. "type": "string",
  5202. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5203. "name": "startTime",
  5204. "in": "query"
  5205. },
  5206. {
  5207. "type": "string",
  5208. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5209. "name": "endTime",
  5210. "in": "query"
  5211. },
  5212. {
  5213. "type": "integer",
  5214. "description": "条数",
  5215. "name": "count",
  5216. "in": "query"
  5217. },
  5218. {
  5219. "type": "boolean",
  5220. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5221. "name": "isAsc",
  5222. "in": "query"
  5223. }
  5224. ],
  5225. "responses": {
  5226. "200": {
  5227. "description": "OK",
  5228. "schema": {
  5229. "$ref": "#/definitions/quote.HistoryTikData"
  5230. }
  5231. },
  5232. "500": {
  5233. "description": "Internal Server Error",
  5234. "schema": {
  5235. "$ref": "#/definitions/app.Response"
  5236. }
  5237. }
  5238. }
  5239. }
  5240. },
  5241. "/Quote/QueryQuoteDay": {
  5242. "get": {
  5243. "security": [
  5244. {
  5245. "ApiKeyAuth": []
  5246. }
  5247. ],
  5248. "produces": [
  5249. "application/json"
  5250. ],
  5251. "tags": [
  5252. "行情服务"
  5253. ],
  5254. "summary": "获取商品盘面信息",
  5255. "parameters": [
  5256. {
  5257. "type": "string",
  5258. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5259. "name": "goodsCodes",
  5260. "in": "query",
  5261. "required": true
  5262. }
  5263. ],
  5264. "responses": {
  5265. "200": {
  5266. "description": "OK",
  5267. "schema": {
  5268. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5269. }
  5270. },
  5271. "500": {
  5272. "description": "Internal Server Error",
  5273. "schema": {
  5274. "$ref": "#/definitions/app.Response"
  5275. }
  5276. }
  5277. }
  5278. }
  5279. },
  5280. "/Quote/QueryTSData": {
  5281. "get": {
  5282. "security": [
  5283. {
  5284. "ApiKeyAuth": []
  5285. }
  5286. ],
  5287. "produces": [
  5288. "application/json"
  5289. ],
  5290. "tags": [
  5291. "行情服务"
  5292. ],
  5293. "summary": "分时图数据查询",
  5294. "parameters": [
  5295. {
  5296. "type": "string",
  5297. "description": "商品代码",
  5298. "name": "goodsCode",
  5299. "in": "query",
  5300. "required": true
  5301. }
  5302. ],
  5303. "responses": {
  5304. "200": {
  5305. "description": "OK",
  5306. "schema": {
  5307. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5308. }
  5309. },
  5310. "500": {
  5311. "description": "Internal Server Error",
  5312. "schema": {
  5313. "$ref": "#/definitions/app.Response"
  5314. }
  5315. }
  5316. }
  5317. }
  5318. },
  5319. "/SZDZ/QueryConvertConfig": {
  5320. "get": {
  5321. "security": [
  5322. {
  5323. "ApiKeyAuth": []
  5324. }
  5325. ],
  5326. "produces": [
  5327. "application/json"
  5328. ],
  5329. "tags": [
  5330. "定制【尚志大宗】"
  5331. ],
  5332. "summary": "查询交易系统转换设置",
  5333. "parameters": [
  5334. {
  5335. "type": "integer",
  5336. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5337. "name": "convertType",
  5338. "in": "query"
  5339. },
  5340. {
  5341. "type": "string",
  5342. "description": "外部商品代码[JD\\PD]",
  5343. "name": "outerGoodsCode",
  5344. "in": "query"
  5345. },
  5346. {
  5347. "type": "string",
  5348. "description": "内部商品ID列表[交易],格式:1,2,3",
  5349. "name": "innerGoodsIDs",
  5350. "in": "query"
  5351. }
  5352. ],
  5353. "responses": {
  5354. "200": {
  5355. "description": "OK",
  5356. "schema": {
  5357. "$ref": "#/definitions/models.Szdz3convertconfig"
  5358. }
  5359. },
  5360. "500": {
  5361. "description": "Internal Server Error",
  5362. "schema": {
  5363. "$ref": "#/definitions/app.Response"
  5364. }
  5365. }
  5366. }
  5367. }
  5368. },
  5369. "/SZDZ/QueryConvertLog": {
  5370. "get": {
  5371. "security": [
  5372. {
  5373. "ApiKeyAuth": []
  5374. }
  5375. ],
  5376. "produces": [
  5377. "application/json"
  5378. ],
  5379. "tags": [
  5380. "定制【尚志大宗】"
  5381. ],
  5382. "summary": "交易系统转换流水查询",
  5383. "parameters": [
  5384. {
  5385. "type": "string",
  5386. "description": "资金账户 - 格式:1,2,3",
  5387. "name": "accountID",
  5388. "in": "query",
  5389. "required": true
  5390. },
  5391. {
  5392. "type": "string",
  5393. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5394. "name": "startDate",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "string",
  5399. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5400. "name": "endDate",
  5401. "in": "query"
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5409. }
  5410. },
  5411. "500": {
  5412. "description": "Internal Server Error",
  5413. "schema": {
  5414. "$ref": "#/definitions/app.Response"
  5415. }
  5416. }
  5417. }
  5418. }
  5419. },
  5420. "/SZDZ/QueryGoodsPickup": {
  5421. "get": {
  5422. "security": [
  5423. {
  5424. "ApiKeyAuth": []
  5425. }
  5426. ],
  5427. "produces": [
  5428. "application/json"
  5429. ],
  5430. "tags": [
  5431. "定制【尚志大宗】"
  5432. ],
  5433. "summary": "商品提货单查询",
  5434. "parameters": [
  5435. {
  5436. "type": "string",
  5437. "description": "资金账户 - 格式:1,2,3",
  5438. "name": "accountID",
  5439. "in": "query",
  5440. "required": true
  5441. },
  5442. {
  5443. "type": "integer",
  5444. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5445. "name": "takeOrderStatus",
  5446. "in": "query"
  5447. }
  5448. ],
  5449. "responses": {
  5450. "200": {
  5451. "description": "OK",
  5452. "schema": {
  5453. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5454. }
  5455. },
  5456. "500": {
  5457. "description": "Internal Server Error",
  5458. "schema": {
  5459. "$ref": "#/definitions/app.Response"
  5460. }
  5461. }
  5462. }
  5463. }
  5464. },
  5465. "/SZDZ/QueryRecieptOrder": {
  5466. "get": {
  5467. "security": [
  5468. {
  5469. "ApiKeyAuth": []
  5470. }
  5471. ],
  5472. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5473. "produces": [
  5474. "application/json"
  5475. ],
  5476. "tags": [
  5477. "定制【尚志大宗】"
  5478. ],
  5479. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5480. "parameters": [
  5481. {
  5482. "type": "integer",
  5483. "description": "页码",
  5484. "name": "page",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "每页条数",
  5490. "name": "pagesize",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "integer",
  5495. "description": "商品ID",
  5496. "name": "goodsID",
  5497. "in": "query",
  5498. "required": true
  5499. },
  5500. {
  5501. "type": "string",
  5502. "description": "所属账户名称",
  5503. "name": "accountName",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "integer",
  5508. "description": "市场ID",
  5509. "name": "marketID",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "方向 - 0:买 1:卖",
  5515. "name": "buyorsell",
  5516. "in": "query",
  5517. "required": true
  5518. }
  5519. ],
  5520. "responses": {
  5521. "200": {
  5522. "description": "OK",
  5523. "schema": {
  5524. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/SZDZ/QuerySZDZTradePosition": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "produces": [
  5544. "application/json"
  5545. ],
  5546. "tags": [
  5547. "定制【尚志大宗】"
  5548. ],
  5549. "summary": "持仓汇总查询(尚志大宗)",
  5550. "parameters": [
  5551. {
  5552. "type": "integer",
  5553. "description": "资金账户",
  5554. "name": "accountID",
  5555. "in": "query",
  5556. "required": true
  5557. }
  5558. ],
  5559. "responses": {
  5560. "200": {
  5561. "description": "OK",
  5562. "schema": {
  5563. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5564. }
  5565. },
  5566. "500": {
  5567. "description": "Internal Server Error",
  5568. "schema": {
  5569. "$ref": "#/definitions/app.Response"
  5570. }
  5571. }
  5572. }
  5573. }
  5574. },
  5575. "/SZDZ/SearchWhite": {
  5576. "get": {
  5577. "security": [
  5578. {
  5579. "ApiKeyAuth": []
  5580. }
  5581. ],
  5582. "produces": [
  5583. "application/json"
  5584. ],
  5585. "tags": [
  5586. "定制【尚志大宗】"
  5587. ],
  5588. "summary": "搜索白名单",
  5589. "parameters": [
  5590. {
  5591. "type": "integer",
  5592. "description": "用户ID",
  5593. "name": "userID",
  5594. "in": "query",
  5595. "required": true
  5596. }
  5597. ],
  5598. "responses": {
  5599. "200": {
  5600. "description": "OK",
  5601. "schema": {
  5602. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5603. }
  5604. },
  5605. "500": {
  5606. "description": "Internal Server Error",
  5607. "schema": {
  5608. "$ref": "#/definitions/app.Response"
  5609. }
  5610. }
  5611. }
  5612. }
  5613. },
  5614. "/Search/SearchGoodses": {
  5615. "get": {
  5616. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5617. "produces": [
  5618. "application/json"
  5619. ],
  5620. "tags": [
  5621. "检索服务"
  5622. ],
  5623. "summary": "检索商品信息",
  5624. "parameters": [
  5625. {
  5626. "type": "string",
  5627. "description": "检索内容",
  5628. "name": "content",
  5629. "in": "query",
  5630. "required": true
  5631. },
  5632. {
  5633. "type": "string",
  5634. "description": "交易模式,格式:1,2,3",
  5635. "name": "tradeModes",
  5636. "in": "query"
  5637. }
  5638. ],
  5639. "responses": {
  5640. "200": {
  5641. "description": "OK",
  5642. "schema": {
  5643. "$ref": "#/definitions/models.SearchGoods"
  5644. }
  5645. },
  5646. "500": {
  5647. "description": "Internal Server Error",
  5648. "schema": {
  5649. "$ref": "#/definitions/app.Response"
  5650. }
  5651. }
  5652. }
  5653. }
  5654. },
  5655. "/TaAccount/GetTaAccounts": {
  5656. "get": {
  5657. "security": [
  5658. {
  5659. "ApiKeyAuth": []
  5660. }
  5661. ],
  5662. "produces": [
  5663. "application/json"
  5664. ],
  5665. "tags": [
  5666. "资金账户"
  5667. ],
  5668. "summary": "获取资金账户信息",
  5669. "parameters": [
  5670. {
  5671. "type": "integer",
  5672. "description": "登录账户",
  5673. "name": "loginID",
  5674. "in": "query",
  5675. "required": true
  5676. },
  5677. {
  5678. "type": "integer",
  5679. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5680. "name": "taAccountType",
  5681. "in": "query"
  5682. }
  5683. ],
  5684. "responses": {
  5685. "200": {
  5686. "description": "OK",
  5687. "schema": {
  5688. "$ref": "#/definitions/models.Taaccount"
  5689. }
  5690. },
  5691. "500": {
  5692. "description": "Internal Server Error",
  5693. "schema": {
  5694. "$ref": "#/definitions/app.Response"
  5695. }
  5696. }
  5697. }
  5698. }
  5699. },
  5700. "/TaAccount/QueryAmountLog": {
  5701. "get": {
  5702. "security": [
  5703. {
  5704. "ApiKeyAuth": []
  5705. }
  5706. ],
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "资金账户"
  5712. ],
  5713. "summary": "资金流水查询(当前)",
  5714. "parameters": [
  5715. {
  5716. "type": "integer",
  5717. "description": "页码",
  5718. "name": "page",
  5719. "in": "query"
  5720. },
  5721. {
  5722. "type": "integer",
  5723. "description": "每页条数",
  5724. "name": "pagesize",
  5725. "in": "query"
  5726. },
  5727. {
  5728. "type": "string",
  5729. "description": "资金账户 - 格式:1,2,3",
  5730. "name": "accountID",
  5731. "in": "query",
  5732. "required": true
  5733. },
  5734. {
  5735. "type": "string",
  5736. "description": "资金操作类型 - 格式:1,2,3",
  5737. "name": "OperateType",
  5738. "in": "query"
  5739. }
  5740. ],
  5741. "responses": {
  5742. "200": {
  5743. "description": "OK",
  5744. "schema": {
  5745. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5746. }
  5747. },
  5748. "500": {
  5749. "description": "Internal Server Error",
  5750. "schema": {
  5751. "$ref": "#/definitions/app.Response"
  5752. }
  5753. }
  5754. }
  5755. }
  5756. },
  5757. "/TaAccount/QueryHisAmountLog": {
  5758. "get": {
  5759. "security": [
  5760. {
  5761. "ApiKeyAuth": []
  5762. }
  5763. ],
  5764. "produces": [
  5765. "application/json"
  5766. ],
  5767. "tags": [
  5768. "资金账户"
  5769. ],
  5770. "summary": "资金流水查询(历史)",
  5771. "parameters": [
  5772. {
  5773. "type": "integer",
  5774. "description": "页码",
  5775. "name": "page",
  5776. "in": "query"
  5777. },
  5778. {
  5779. "type": "integer",
  5780. "description": "每页条数",
  5781. "name": "pagesize",
  5782. "in": "query"
  5783. },
  5784. {
  5785. "type": "string",
  5786. "description": "资金账户 - 格式:1,2,3",
  5787. "name": "accountID",
  5788. "in": "query",
  5789. "required": true
  5790. },
  5791. {
  5792. "type": "string",
  5793. "description": "资金操作类型 - 格式:1,2,3",
  5794. "name": "OperateType",
  5795. "in": "query"
  5796. },
  5797. {
  5798. "type": "string",
  5799. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5800. "name": "startDate",
  5801. "in": "query"
  5802. },
  5803. {
  5804. "type": "string",
  5805. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5806. "name": "endDate",
  5807. "in": "query"
  5808. }
  5809. ],
  5810. "responses": {
  5811. "200": {
  5812. "description": "OK",
  5813. "schema": {
  5814. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5815. }
  5816. },
  5817. "500": {
  5818. "description": "Internal Server Error",
  5819. "schema": {
  5820. "$ref": "#/definitions/app.Response"
  5821. }
  5822. }
  5823. }
  5824. }
  5825. },
  5826. "/Trade/QueryRecieptOrder": {
  5827. "get": {
  5828. "security": [
  5829. {
  5830. "ApiKeyAuth": []
  5831. }
  5832. ],
  5833. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5834. "produces": [
  5835. "application/json"
  5836. ],
  5837. "tags": [
  5838. "通用交易"
  5839. ],
  5840. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5841. "parameters": [
  5842. {
  5843. "type": "integer",
  5844. "description": "页码",
  5845. "name": "page",
  5846. "in": "query"
  5847. },
  5848. {
  5849. "type": "integer",
  5850. "description": "每页条数",
  5851. "name": "pagesize",
  5852. "in": "query"
  5853. },
  5854. {
  5855. "type": "integer",
  5856. "description": "商品ID",
  5857. "name": "goodsID",
  5858. "in": "query",
  5859. "required": true
  5860. },
  5861. {
  5862. "type": "string",
  5863. "description": "所属账户名称",
  5864. "name": "accountName",
  5865. "in": "query"
  5866. },
  5867. {
  5868. "type": "integer",
  5869. "description": "市场ID",
  5870. "name": "marketID",
  5871. "in": "query"
  5872. },
  5873. {
  5874. "type": "integer",
  5875. "description": "方向 - 0:买 1:卖",
  5876. "name": "buyorsell",
  5877. "in": "query",
  5878. "required": true
  5879. }
  5880. ],
  5881. "responses": {
  5882. "200": {
  5883. "description": "OK",
  5884. "schema": {
  5885. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5886. }
  5887. },
  5888. "500": {
  5889. "description": "Internal Server Error",
  5890. "schema": {
  5891. "$ref": "#/definitions/app.Response"
  5892. }
  5893. }
  5894. }
  5895. }
  5896. },
  5897. "/User/AddMessageBoard": {
  5898. "post": {
  5899. "security": [
  5900. {
  5901. "ApiKeyAuth": []
  5902. }
  5903. ],
  5904. "produces": [
  5905. "application/json"
  5906. ],
  5907. "tags": [
  5908. "用户信息"
  5909. ],
  5910. "summary": "添加用户留言板信息",
  5911. "parameters": [
  5912. {
  5913. "type": "integer",
  5914. "description": "用户ID",
  5915. "name": "userID",
  5916. "in": "query",
  5917. "required": true
  5918. },
  5919. {
  5920. "type": "string",
  5921. "description": "留言信息",
  5922. "name": "message",
  5923. "in": "query",
  5924. "required": true
  5925. },
  5926. {
  5927. "type": "string",
  5928. "description": "联系电话",
  5929. "name": "contactNum",
  5930. "in": "query",
  5931. "required": true
  5932. }
  5933. ],
  5934. "responses": {
  5935. "200": {
  5936. "description": "OK",
  5937. "schema": {
  5938. "$ref": "#/definitions/app.Response"
  5939. }
  5940. },
  5941. "500": {
  5942. "description": "Internal Server Error",
  5943. "schema": {
  5944. "$ref": "#/definitions/app.Response"
  5945. }
  5946. }
  5947. }
  5948. }
  5949. },
  5950. "/User/AddUserFavoriteGoods": {
  5951. "post": {
  5952. "security": [
  5953. {
  5954. "ApiKeyAuth": []
  5955. }
  5956. ],
  5957. "produces": [
  5958. "application/json"
  5959. ],
  5960. "tags": [
  5961. "用户信息"
  5962. ],
  5963. "summary": "添加用户商品收藏信息",
  5964. "parameters": [
  5965. {
  5966. "type": "integer",
  5967. "description": "用户ID",
  5968. "name": "userID",
  5969. "in": "query",
  5970. "required": true
  5971. },
  5972. {
  5973. "type": "integer",
  5974. "description": "商品ID",
  5975. "name": "goodsID",
  5976. "in": "query",
  5977. "required": true
  5978. }
  5979. ],
  5980. "responses": {
  5981. "200": {
  5982. "description": "OK",
  5983. "schema": {
  5984. "$ref": "#/definitions/app.Response"
  5985. }
  5986. },
  5987. "500": {
  5988. "description": "Internal Server Error",
  5989. "schema": {
  5990. "$ref": "#/definitions/app.Response"
  5991. }
  5992. }
  5993. }
  5994. }
  5995. },
  5996. "/User/GetLoginID": {
  5997. "get": {
  5998. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "用户信息"
  6004. ],
  6005. "summary": "获取登录ID",
  6006. "parameters": [
  6007. {
  6008. "type": "string",
  6009. "description": "登录代码",
  6010. "name": "username",
  6011. "in": "query",
  6012. "required": true
  6013. }
  6014. ],
  6015. "responses": {
  6016. "200": {
  6017. "description": "OK",
  6018. "schema": {
  6019. "$ref": "#/definitions/app.Response"
  6020. }
  6021. },
  6022. "500": {
  6023. "description": "Internal Server Error",
  6024. "schema": {
  6025. "$ref": "#/definitions/app.Response"
  6026. }
  6027. }
  6028. }
  6029. }
  6030. },
  6031. "/User/GetUserAccount": {
  6032. "get": {
  6033. "security": [
  6034. {
  6035. "ApiKeyAuth": []
  6036. }
  6037. ],
  6038. "produces": [
  6039. "application/json"
  6040. ],
  6041. "tags": [
  6042. "用户信息"
  6043. ],
  6044. "summary": "获取用户账号信息",
  6045. "parameters": [
  6046. {
  6047. "type": "integer",
  6048. "description": "用户ID",
  6049. "name": "userID",
  6050. "in": "query",
  6051. "required": true
  6052. }
  6053. ],
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/models.Useraccount"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/app.Response"
  6065. }
  6066. }
  6067. }
  6068. }
  6069. },
  6070. "/User/GetUserAuthStatus": {
  6071. "get": {
  6072. "security": [
  6073. {
  6074. "ApiKeyAuth": []
  6075. }
  6076. ],
  6077. "produces": [
  6078. "application/json"
  6079. ],
  6080. "tags": [
  6081. "用户信息"
  6082. ],
  6083. "summary": "获取用户实名认证状态",
  6084. "parameters": [
  6085. {
  6086. "type": "integer",
  6087. "description": "用户ID",
  6088. "name": "userID",
  6089. "in": "query",
  6090. "required": true
  6091. }
  6092. ],
  6093. "responses": {
  6094. "200": {
  6095. "description": "OK",
  6096. "schema": {
  6097. "$ref": "#/definitions/app.Response"
  6098. }
  6099. },
  6100. "500": {
  6101. "description": "Internal Server Error",
  6102. "schema": {
  6103. "$ref": "#/definitions/app.Response"
  6104. }
  6105. }
  6106. }
  6107. }
  6108. },
  6109. "/User/LoginQuery": {
  6110. "get": {
  6111. "security": [
  6112. {
  6113. "ApiKeyAuth": []
  6114. }
  6115. ],
  6116. "produces": [
  6117. "application/json"
  6118. ],
  6119. "tags": [
  6120. "用户信息"
  6121. ],
  6122. "summary": "账户登录后信息查询",
  6123. "parameters": [
  6124. {
  6125. "type": "integer",
  6126. "description": "登录账号",
  6127. "name": "loginID",
  6128. "in": "query",
  6129. "required": true
  6130. }
  6131. ],
  6132. "responses": {
  6133. "200": {
  6134. "description": "OK",
  6135. "schema": {
  6136. "$ref": "#/definitions/user.LoginQueryRsp"
  6137. }
  6138. },
  6139. "500": {
  6140. "description": "Internal Server Error",
  6141. "schema": {
  6142. "$ref": "#/definitions/app.Response"
  6143. }
  6144. }
  6145. }
  6146. }
  6147. },
  6148. "/User/QueryMessageBoard": {
  6149. "get": {
  6150. "security": [
  6151. {
  6152. "ApiKeyAuth": []
  6153. }
  6154. ],
  6155. "produces": [
  6156. "application/json"
  6157. ],
  6158. "tags": [
  6159. "用户信息"
  6160. ],
  6161. "summary": "获取用户留言板信息",
  6162. "parameters": [
  6163. {
  6164. "type": "integer",
  6165. "description": "用户ID",
  6166. "name": "userID",
  6167. "in": "query",
  6168. "required": true
  6169. }
  6170. ],
  6171. "responses": {
  6172. "200": {
  6173. "description": "OK",
  6174. "schema": {
  6175. "$ref": "#/definitions/models.Messageboard"
  6176. }
  6177. },
  6178. "500": {
  6179. "description": "Internal Server Error",
  6180. "schema": {
  6181. "$ref": "#/definitions/app.Response"
  6182. }
  6183. }
  6184. }
  6185. }
  6186. },
  6187. "/User/QueryUserFavoriteGoodses": {
  6188. "get": {
  6189. "security": [
  6190. {
  6191. "ApiKeyAuth": []
  6192. }
  6193. ],
  6194. "produces": [
  6195. "application/json"
  6196. ],
  6197. "tags": [
  6198. "用户信息"
  6199. ],
  6200. "summary": "获取用户商品收藏信息",
  6201. "parameters": [
  6202. {
  6203. "type": "integer",
  6204. "description": "用户ID",
  6205. "name": "userID",
  6206. "in": "query",
  6207. "required": true
  6208. }
  6209. ],
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "$ref": "#/definitions/models.Userfavoritegoods"
  6215. }
  6216. },
  6217. "500": {
  6218. "description": "Internal Server Error",
  6219. "schema": {
  6220. "$ref": "#/definitions/app.Response"
  6221. }
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "/User/QueryUserInfo": {
  6227. "get": {
  6228. "security": [
  6229. {
  6230. "ApiKeyAuth": []
  6231. }
  6232. ],
  6233. "produces": [
  6234. "application/json"
  6235. ],
  6236. "tags": [
  6237. "用户信息"
  6238. ],
  6239. "summary": "获取用户信息",
  6240. "parameters": [
  6241. {
  6242. "type": "integer",
  6243. "description": "用户ID",
  6244. "name": "userID",
  6245. "in": "query",
  6246. "required": true
  6247. }
  6248. ],
  6249. "responses": {
  6250. "200": {
  6251. "description": "OK",
  6252. "schema": {
  6253. "$ref": "#/definitions/models.Userinfo"
  6254. }
  6255. },
  6256. "500": {
  6257. "description": "Internal Server Error",
  6258. "schema": {
  6259. "$ref": "#/definitions/app.Response"
  6260. }
  6261. }
  6262. }
  6263. }
  6264. },
  6265. "/User/QueryUserReferNum": {
  6266. "get": {
  6267. "produces": [
  6268. "application/json"
  6269. ],
  6270. "tags": [
  6271. "用户信息"
  6272. ],
  6273. "summary": "获取用户邀请码",
  6274. "parameters": [
  6275. {
  6276. "type": "integer",
  6277. "description": "用户ID",
  6278. "name": "userID",
  6279. "in": "query",
  6280. "required": true
  6281. }
  6282. ],
  6283. "responses": {
  6284. "200": {
  6285. "description": "OK",
  6286. "schema": {
  6287. "$ref": "#/definitions/app.Response"
  6288. }
  6289. },
  6290. "500": {
  6291. "description": "Internal Server Error",
  6292. "schema": {
  6293. "$ref": "#/definitions/app.Response"
  6294. }
  6295. }
  6296. }
  6297. }
  6298. },
  6299. "/User/RemoveUserFavoriteGoods": {
  6300. "post": {
  6301. "security": [
  6302. {
  6303. "ApiKeyAuth": []
  6304. }
  6305. ],
  6306. "produces": [
  6307. "application/json"
  6308. ],
  6309. "tags": [
  6310. "用户信息"
  6311. ],
  6312. "summary": "移除用户商品收藏信息",
  6313. "parameters": [
  6314. {
  6315. "type": "integer",
  6316. "description": "用户ID",
  6317. "name": "userID",
  6318. "in": "query",
  6319. "required": true
  6320. },
  6321. {
  6322. "type": "integer",
  6323. "description": "商品ID",
  6324. "name": "goodsID",
  6325. "in": "query",
  6326. "required": true
  6327. }
  6328. ],
  6329. "responses": {
  6330. "200": {
  6331. "description": "OK",
  6332. "schema": {
  6333. "$ref": "#/definitions/app.Response"
  6334. }
  6335. },
  6336. "500": {
  6337. "description": "Internal Server Error",
  6338. "schema": {
  6339. "$ref": "#/definitions/app.Response"
  6340. }
  6341. }
  6342. }
  6343. }
  6344. },
  6345. "/User/UpdateUserAccountStatus": {
  6346. "post": {
  6347. "security": [
  6348. {
  6349. "ApiKeyAuth": []
  6350. }
  6351. ],
  6352. "produces": [
  6353. "application/json"
  6354. ],
  6355. "tags": [
  6356. "用户信息"
  6357. ],
  6358. "summary": "更新用户状态",
  6359. "parameters": [
  6360. {
  6361. "type": "integer",
  6362. "description": "用户ID",
  6363. "name": "userID",
  6364. "in": "query",
  6365. "required": true
  6366. },
  6367. {
  6368. "type": "integer",
  6369. "description": "账户状态 - 4:正常 6:注销(停用)",
  6370. "name": "accountStatus",
  6371. "in": "query",
  6372. "required": true
  6373. }
  6374. ],
  6375. "responses": {
  6376. "200": {
  6377. "description": "OK",
  6378. "schema": {
  6379. "$ref": "#/definitions/app.Response"
  6380. }
  6381. },
  6382. "500": {
  6383. "description": "Internal Server Error",
  6384. "schema": {
  6385. "$ref": "#/definitions/app.Response"
  6386. }
  6387. }
  6388. }
  6389. }
  6390. },
  6391. "/WR/GetWRCategoryInfo": {
  6392. "get": {
  6393. "produces": [
  6394. "application/json"
  6395. ],
  6396. "tags": [
  6397. "仓单服务"
  6398. ],
  6399. "summary": "获取现货分类信息",
  6400. "responses": {
  6401. "200": {
  6402. "description": "OK",
  6403. "schema": {
  6404. "$ref": "#/definitions/models.WRCategoryTree"
  6405. }
  6406. },
  6407. "500": {
  6408. "description": "Internal Server Error",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. }
  6413. }
  6414. }
  6415. },
  6416. "/WRTrade/GetAllDeliveryGoods": {
  6417. "get": {
  6418. "security": [
  6419. {
  6420. "ApiKeyAuth": []
  6421. },
  6422. {
  6423. "ApiKeyAuth": []
  6424. }
  6425. ],
  6426. "produces": [
  6427. "application/json",
  6428. "application/json"
  6429. ],
  6430. "tags": [
  6431. "仓单贸易",
  6432. "仓单贸易"
  6433. ],
  6434. "summary": "获取带仓单分类的种类信息",
  6435. "responses": {
  6436. "200": {
  6437. "description": "OK",
  6438. "schema": {
  6439. "$ref": "#/definitions/app.Response"
  6440. }
  6441. },
  6442. "500": {
  6443. "description": "Internal Server Error",
  6444. "schema": {
  6445. "$ref": "#/definitions/app.Response"
  6446. }
  6447. }
  6448. }
  6449. }
  6450. }
  6451. },
  6452. "definitions": {
  6453. "app.Response": {
  6454. "type": "object",
  6455. "properties": {
  6456. "code": {
  6457. "type": "integer"
  6458. },
  6459. "data": {
  6460. "type": "object"
  6461. },
  6462. "msg": {
  6463. "type": "string"
  6464. },
  6465. "page": {
  6466. "description": "页码",
  6467. "type": "integer"
  6468. },
  6469. "pagesize": {
  6470. "description": "每页条数",
  6471. "type": "integer"
  6472. },
  6473. "total": {
  6474. "description": "总条数",
  6475. "type": "integer"
  6476. }
  6477. }
  6478. },
  6479. "common.QueryImageConfigsRsp": {
  6480. "type": "object",
  6481. "required": [
  6482. "configid"
  6483. ],
  6484. "properties": {
  6485. "areauserid": {
  6486. "description": "所属机构ID",
  6487. "type": "integer"
  6488. },
  6489. "configid": {
  6490. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6491. "type": "integer"
  6492. },
  6493. "createdate": {
  6494. "description": "创建时间",
  6495. "type": "string"
  6496. },
  6497. "creatorid": {
  6498. "description": "创建人",
  6499. "type": "integer"
  6500. },
  6501. "imagepath": {
  6502. "description": "图片",
  6503. "type": "string"
  6504. },
  6505. "imagetype": {
  6506. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6507. "type": "integer"
  6508. },
  6509. "isshow": {
  6510. "description": "是否展示 - 0:不展示 1:展示",
  6511. "type": "integer"
  6512. },
  6513. "marketid": {
  6514. "description": "市场ID",
  6515. "type": "integer"
  6516. },
  6517. "modifierid": {
  6518. "description": "操作人",
  6519. "type": "integer"
  6520. },
  6521. "sort": {
  6522. "description": "排序",
  6523. "type": "integer"
  6524. },
  6525. "title": {
  6526. "description": "标题",
  6527. "type": "string"
  6528. },
  6529. "trademode": {
  6530. "description": "交易模式",
  6531. "type": "integer"
  6532. },
  6533. "updatedate": {
  6534. "description": "修改时间",
  6535. "type": "string"
  6536. },
  6537. "url": {
  6538. "description": "链接(地址或商品ID)",
  6539. "type": "string"
  6540. },
  6541. "urltype": {
  6542. "description": "链接类型 - 1:直接地址 2:商品ID",
  6543. "type": "integer"
  6544. }
  6545. }
  6546. },
  6547. "common.QueryNoticeRsp": {
  6548. "type": "object",
  6549. "required": [
  6550. "autoid"
  6551. ],
  6552. "properties": {
  6553. "auditoruserid": {
  6554. "description": "审核人",
  6555. "type": "integer"
  6556. },
  6557. "auditremark": {
  6558. "description": "审核备注",
  6559. "type": "string"
  6560. },
  6561. "audittime": {
  6562. "description": "审核日期",
  6563. "type": "string"
  6564. },
  6565. "autoid": {
  6566. "description": "自增ID",
  6567. "type": "integer"
  6568. },
  6569. "content": {
  6570. "description": "内容",
  6571. "type": "string"
  6572. },
  6573. "createtime": {
  6574. "description": "创建时间",
  6575. "type": "string"
  6576. },
  6577. "creatorid": {
  6578. "description": "建仓人",
  6579. "type": "integer"
  6580. },
  6581. "endtime": {
  6582. "description": "结束时间",
  6583. "type": "string"
  6584. },
  6585. "istop": {
  6586. "description": "是否置顶 - 0:不置顶 1:置顶",
  6587. "type": "integer"
  6588. },
  6589. "msgiconurl": {
  6590. "description": "消息图标Url",
  6591. "type": "string"
  6592. },
  6593. "msgtype": {
  6594. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6595. "type": "integer"
  6596. },
  6597. "publisher": {
  6598. "description": "消息发布者",
  6599. "type": "string"
  6600. },
  6601. "readed": {
  6602. "description": "是否已读",
  6603. "type": "boolean"
  6604. },
  6605. "scheduletime": {
  6606. "description": "计划发送时间",
  6607. "type": "string"
  6608. },
  6609. "sendtype": {
  6610. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6611. "type": "integer"
  6612. },
  6613. "sentstatus": {
  6614. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6615. "type": "integer"
  6616. },
  6617. "title": {
  6618. "description": "标题",
  6619. "type": "string"
  6620. },
  6621. "userid": {
  6622. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6623. "type": "integer"
  6624. }
  6625. }
  6626. },
  6627. "common.QueryProvincesAndCitiesRsp": {
  6628. "type": "object",
  6629. "properties": {
  6630. "cities": {
  6631. "description": "市",
  6632. "type": "array",
  6633. "items": {
  6634. "$ref": "#/definitions/models.Division"
  6635. }
  6636. },
  6637. "province": {
  6638. "description": "省",
  6639. "type": "object",
  6640. "$ref": "#/definitions/models.Division"
  6641. }
  6642. }
  6643. },
  6644. "common.QueryTableDefineRsp": {
  6645. "type": "object",
  6646. "required": [
  6647. "tablekey"
  6648. ],
  6649. "properties": {
  6650. "columns": {
  6651. "description": "列头信息数组",
  6652. "type": "array",
  6653. "items": {
  6654. "$ref": "#/definitions/models.Tablecolumnconfig"
  6655. }
  6656. },
  6657. "remark": {
  6658. "description": "Remark",
  6659. "type": "string"
  6660. },
  6661. "tabelmenu": {
  6662. "description": "列表菜单",
  6663. "type": "string"
  6664. },
  6665. "tablekey": {
  6666. "description": "列表Key",
  6667. "type": "string"
  6668. },
  6669. "tablename": {
  6670. "description": "列表名称",
  6671. "type": "string"
  6672. },
  6673. "tabletype": {
  6674. "description": "列表类型 - 1:管理端 2:终端",
  6675. "type": "integer"
  6676. }
  6677. }
  6678. },
  6679. "common.QueryTraderMenuRsp": {
  6680. "type": "object",
  6681. "properties": {
  6682. "OperationMenu": {
  6683. "description": "功能菜单",
  6684. "type": "array",
  6685. "items": {
  6686. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6687. }
  6688. },
  6689. "QuoteMenu": {
  6690. "description": "报价牌分类菜单",
  6691. "type": "array",
  6692. "items": {
  6693. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6694. }
  6695. }
  6696. }
  6697. },
  6698. "cptrade.Cptradepositioncancel": {
  6699. "type": "object",
  6700. "required": [
  6701. "cancelid"
  6702. ],
  6703. "properties": {
  6704. "accountid": {
  6705. "description": "申请人账户ID",
  6706. "type": "integer"
  6707. },
  6708. "applystatus": {
  6709. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6710. "type": "integer"
  6711. },
  6712. "applytime": {
  6713. "description": "申请时间",
  6714. "type": "string"
  6715. },
  6716. "cancelid": {
  6717. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6718. "type": "integer"
  6719. },
  6720. "cancelqty": {
  6721. "description": "注销数量",
  6722. "type": "integer"
  6723. },
  6724. "createtime": {
  6725. "description": "创建时间",
  6726. "type": "string"
  6727. },
  6728. "creatorid": {
  6729. "description": "创建人ID",
  6730. "type": "integer"
  6731. },
  6732. "creatorname": {
  6733. "description": "创建人",
  6734. "type": "string"
  6735. },
  6736. "goodscode": {
  6737. "description": "订单商品代码",
  6738. "type": "string"
  6739. },
  6740. "goodsid": {
  6741. "description": "商品ID",
  6742. "type": "integer"
  6743. },
  6744. "goodsname": {
  6745. "description": "订单商品名称",
  6746. "type": "string"
  6747. },
  6748. "goodunit": {
  6749. "description": "报价单位",
  6750. "type": "string"
  6751. },
  6752. "handlestatus": {
  6753. "description": "处理状态",
  6754. "type": "integer"
  6755. },
  6756. "marketid": {
  6757. "description": "市场ID",
  6758. "type": "integer"
  6759. },
  6760. "marketname": {
  6761. "description": "市场名称",
  6762. "type": "string"
  6763. },
  6764. "tradedate": {
  6765. "description": "交易日(yyyyMMdd)",
  6766. "type": "string"
  6767. },
  6768. "userid": {
  6769. "description": "申请人ID",
  6770. "type": "integer"
  6771. }
  6772. }
  6773. },
  6774. "cptrade.Cptradepresaleapply": {
  6775. "type": "object",
  6776. "required": [
  6777. "applyid"
  6778. ],
  6779. "properties": {
  6780. "accountid": {
  6781. "description": "申请人账户ID",
  6782. "type": "integer"
  6783. },
  6784. "applyid": {
  6785. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6786. "type": "integer"
  6787. },
  6788. "applyremark": {
  6789. "description": "申请备注",
  6790. "type": "string"
  6791. },
  6792. "applystatus": {
  6793. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6794. "type": "integer"
  6795. },
  6796. "applytime": {
  6797. "description": "申请时间",
  6798. "type": "string"
  6799. },
  6800. "attachmenturl": {
  6801. "description": "附件地址",
  6802. "type": "string"
  6803. },
  6804. "endtime": {
  6805. "description": "预售结束时间",
  6806. "type": "string"
  6807. },
  6808. "goodscode": {
  6809. "description": "商品代码",
  6810. "type": "string"
  6811. },
  6812. "goodsid": {
  6813. "description": "商品ID",
  6814. "type": "integer"
  6815. },
  6816. "goodsname": {
  6817. "description": "商品名称",
  6818. "type": "string"
  6819. },
  6820. "goodunit": {
  6821. "description": "报价单位",
  6822. "type": "string"
  6823. },
  6824. "handlestatus": {
  6825. "description": "处理状态",
  6826. "type": "integer"
  6827. },
  6828. "marketid": {
  6829. "description": "预售市场ID",
  6830. "type": "integer"
  6831. },
  6832. "marketname": {
  6833. "description": "预售市场名称",
  6834. "type": "string"
  6835. },
  6836. "presaleqty": {
  6837. "description": "预售数量",
  6838. "type": "integer"
  6839. },
  6840. "relatedgoodscode": {
  6841. "description": "关联交易合约代码",
  6842. "type": "string"
  6843. },
  6844. "relatedgoodsid": {
  6845. "description": "关联交易合约ID",
  6846. "type": "integer"
  6847. },
  6848. "relatedgoodsname": {
  6849. "description": "关联交易合约名称",
  6850. "type": "string"
  6851. },
  6852. "starttime": {
  6853. "description": "预售开始时间",
  6854. "type": "string"
  6855. },
  6856. "tradedate": {
  6857. "description": "交易日(yyyyMMdd)",
  6858. "type": "string"
  6859. },
  6860. "trademode": {
  6861. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6862. "type": "integer"
  6863. },
  6864. "userid": {
  6865. "description": "申请人ID",
  6866. "type": "integer"
  6867. }
  6868. }
  6869. },
  6870. "cptrade.Cptradeusergoodsdata": {
  6871. "type": "object",
  6872. "required": [
  6873. "accountid",
  6874. "goodsid"
  6875. ],
  6876. "properties": {
  6877. "EnabledQty": {
  6878. "description": "可用量",
  6879. "type": "integer"
  6880. },
  6881. "GoodsCode": {
  6882. "description": "订单商品代码",
  6883. "type": "string"
  6884. },
  6885. "GoodsName": {
  6886. "description": "订单商品名称",
  6887. "type": "string"
  6888. },
  6889. "WRStandardCode": {
  6890. "description": "仓单标准代码",
  6891. "type": "string"
  6892. },
  6893. "WRStandardName": {
  6894. "description": "仓单标准名称",
  6895. "type": "string"
  6896. },
  6897. "accountid": {
  6898. "description": "账户ID",
  6899. "type": "integer"
  6900. },
  6901. "cancelqty": {
  6902. "description": "注销量",
  6903. "type": "integer"
  6904. },
  6905. "curpresaleqty": {
  6906. "description": "当前预售量",
  6907. "type": "integer"
  6908. },
  6909. "deliveryqty": {
  6910. "description": "交割量",
  6911. "type": "integer"
  6912. },
  6913. "freezeamount": {
  6914. "description": "冻结金额",
  6915. "type": "number"
  6916. },
  6917. "goodsid": {
  6918. "description": "商品ID",
  6919. "type": "integer"
  6920. },
  6921. "goodunit": {
  6922. "description": "报价单位",
  6923. "type": "string"
  6924. },
  6925. "hasspotfreeze": {
  6926. "description": "是否有现货冻结 - 0:否 1:有",
  6927. "type": "integer"
  6928. },
  6929. "inqty": {
  6930. "description": "转入量(总数量)",
  6931. "type": "integer"
  6932. },
  6933. "marketid": {
  6934. "description": "市场ID",
  6935. "type": "integer"
  6936. },
  6937. "presaledamount": {
  6938. "description": "已预售总金额",
  6939. "type": "integer"
  6940. },
  6941. "presaledqty": {
  6942. "description": "已预售量",
  6943. "type": "integer"
  6944. },
  6945. "userid": {
  6946. "description": "用户ID",
  6947. "type": "integer"
  6948. },
  6949. "wrstandardid": {
  6950. "description": "仓单标准ID",
  6951. "type": "integer"
  6952. }
  6953. }
  6954. },
  6955. "cptrade.QueryCPTradeMyBidRsp": {
  6956. "type": "object",
  6957. "required": [
  6958. "accountid",
  6959. "goodsid",
  6960. "marketid",
  6961. "orderid",
  6962. "orderqty",
  6963. "ordertime",
  6964. "tradeprice",
  6965. "tradeqty"
  6966. ],
  6967. "properties": {
  6968. "accountid": {
  6969. "description": "账户ID[报价币种]",
  6970. "type": "integer"
  6971. },
  6972. "goodsid": {
  6973. "description": "商品ID",
  6974. "type": "integer"
  6975. },
  6976. "goodunit": {
  6977. "description": "报价单位",
  6978. "type": "string"
  6979. },
  6980. "marketid": {
  6981. "description": "市场ID",
  6982. "type": "integer"
  6983. },
  6984. "orderid": {
  6985. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6986. "type": "integer"
  6987. },
  6988. "orderprice": {
  6989. "description": "委托价格",
  6990. "type": "number"
  6991. },
  6992. "orderqty": {
  6993. "description": "委托数量",
  6994. "type": "integer"
  6995. },
  6996. "ordertime": {
  6997. "description": "委托时间",
  6998. "type": "string"
  6999. },
  7000. "ordertotalprice": {
  7001. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7002. "type": "number"
  7003. },
  7004. "ordertotalweight": {
  7005. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7006. "type": "integer"
  7007. },
  7008. "totaltotalprice": {
  7009. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7010. "type": "number"
  7011. },
  7012. "tradeprice": {
  7013. "description": "成交价格",
  7014. "type": "number"
  7015. },
  7016. "tradeqty": {
  7017. "description": "成交数量",
  7018. "type": "integer"
  7019. }
  7020. }
  7021. },
  7022. "cptrade.QueryCPTradeOrderDetailRsq": {
  7023. "type": "object",
  7024. "required": [
  7025. "accountid",
  7026. "buildtype",
  7027. "buyorsell",
  7028. "goodsid",
  7029. "marketid",
  7030. "memberuserid",
  7031. "operatetype",
  7032. "orderqty",
  7033. "ordertime",
  7034. "pricemode",
  7035. "strorderid",
  7036. "tradedate",
  7037. "validtype"
  7038. ],
  7039. "properties": {
  7040. "accountid": {
  7041. "description": "账户ID[报价币种]",
  7042. "type": "integer"
  7043. },
  7044. "buildtype": {
  7045. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7046. "type": "integer"
  7047. },
  7048. "buyorsell": {
  7049. "description": "买卖 - 0:买 1:卖",
  7050. "type": "integer"
  7051. },
  7052. "cancelorderid": {
  7053. "description": "撤单单号(撤单时填写)",
  7054. "type": "integer"
  7055. },
  7056. "cancelqty": {
  7057. "description": "撤单数量",
  7058. "type": "integer"
  7059. },
  7060. "clientordertime": {
  7061. "description": "客户端委托时间",
  7062. "type": "string"
  7063. },
  7064. "clientticket": {
  7065. "description": "客户端流水号",
  7066. "type": "string"
  7067. },
  7068. "clienttype": {
  7069. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7070. "type": "integer"
  7071. },
  7072. "closeexchagechargevalue": {
  7073. "description": "平仓交易所手续费设置值",
  7074. "type": "number"
  7075. },
  7076. "closefeealgorithm": {
  7077. "description": "平仓手续费收取方式 1:比率 2:固定",
  7078. "type": "integer"
  7079. },
  7080. "closefreezecharge": {
  7081. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7082. "type": "number"
  7083. },
  7084. "closememberchargevalue": {
  7085. "description": "平仓会员手续费设置值",
  7086. "type": "number"
  7087. },
  7088. "closeqty": {
  7089. "description": "平仓数量(先建后平操作 需要记录)",
  7090. "type": "integer"
  7091. },
  7092. "closetradeqty": {
  7093. "description": "平仓成交数量(先建后平操作,需要记录)",
  7094. "type": "integer"
  7095. },
  7096. "closeunfreezecharge": {
  7097. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7098. "type": "number"
  7099. },
  7100. "delistingtype": {
  7101. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7102. "type": "integer"
  7103. },
  7104. "freezecharge": {
  7105. "description": "冻结手续费",
  7106. "type": "number"
  7107. },
  7108. "freezemargin": {
  7109. "description": "冻结保证金(冻结交易金额)",
  7110. "type": "number"
  7111. },
  7112. "gcaccountid": {
  7113. "description": "账户ID[合约币种]",
  7114. "type": "integer"
  7115. },
  7116. "goodsid": {
  7117. "description": "商品ID",
  7118. "type": "integer"
  7119. },
  7120. "isconfirmexercise": {
  7121. "description": "是否确认行权- 0:否 1:是",
  7122. "type": "integer"
  7123. },
  7124. "ispreexercise": {
  7125. "description": "是否预申报- 0:否 1:是",
  7126. "type": "integer"
  7127. },
  7128. "listingselecttype": {
  7129. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7130. "type": "integer"
  7131. },
  7132. "marginalgorithm": {
  7133. "description": "保证金收取方式 1:比率 2:固定",
  7134. "type": "integer"
  7135. },
  7136. "marginvalue": {
  7137. "description": "即市保证金设置值",
  7138. "type": "number"
  7139. },
  7140. "marketid": {
  7141. "description": "市场ID",
  7142. "type": "integer"
  7143. },
  7144. "marketmaxsub": {
  7145. "description": "市价最大偏移范围",
  7146. "type": "number"
  7147. },
  7148. "memberuserid": {
  7149. "description": "所属会员UserID",
  7150. "type": "integer"
  7151. },
  7152. "openexchagechargevalue": {
  7153. "description": "建仓交易所手续费设置值",
  7154. "type": "number"
  7155. },
  7156. "openfeealgorithm": {
  7157. "description": "建仓手续费收取方式 1:比率 2:固定",
  7158. "type": "integer"
  7159. },
  7160. "openfreezecharge": {
  7161. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7162. "type": "number"
  7163. },
  7164. "openmemberchargevalue": {
  7165. "description": "建仓会员手续费设置值",
  7166. "type": "number"
  7167. },
  7168. "openqty": {
  7169. "description": "开仓数量(先建后平操作,需要记录)",
  7170. "type": "integer"
  7171. },
  7172. "opentradeqty": {
  7173. "description": "开仓成交数量(先建后平操作,需要记录)",
  7174. "type": "integer"
  7175. },
  7176. "openunfreezecharge": {
  7177. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7178. "type": "number"
  7179. },
  7180. "operatetype": {
  7181. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7182. "type": "integer"
  7183. },
  7184. "operatorid": {
  7185. "description": "登录账号(LoginID)",
  7186. "type": "integer"
  7187. },
  7188. "optiontype": {
  7189. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7190. "type": "integer"
  7191. },
  7192. "orderprice": {
  7193. "description": "委托价格",
  7194. "type": "number"
  7195. },
  7196. "orderqty": {
  7197. "description": "委托数量",
  7198. "type": "integer"
  7199. },
  7200. "ordersrc": {
  7201. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7202. "type": "integer"
  7203. },
  7204. "orderstatus": {
  7205. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7206. "type": "integer"
  7207. },
  7208. "ordertime": {
  7209. "description": "委托时间",
  7210. "type": "string"
  7211. },
  7212. "preexerciseprice": {
  7213. "description": "预申报价格",
  7214. "type": "number"
  7215. },
  7216. "premium": {
  7217. "description": "权利金",
  7218. "type": "number"
  7219. },
  7220. "preorderid": {
  7221. "description": "关联预埋单号(止盈止损单时填写)",
  7222. "type": "integer"
  7223. },
  7224. "pricemode": {
  7225. "description": "取价方式 - 1:市价 2: 限价",
  7226. "type": "integer"
  7227. },
  7228. "quoteid": {
  7229. "description": "报价单ID",
  7230. "type": "integer"
  7231. },
  7232. "relatedid": {
  7233. "description": "关联单号(交割单)",
  7234. "type": "integer"
  7235. },
  7236. "retcode": {
  7237. "description": "错误代码",
  7238. "type": "integer"
  7239. },
  7240. "sessionid": {
  7241. "description": "会话ID",
  7242. "type": "integer"
  7243. },
  7244. "strorderid": {
  7245. "description": "委托单号",
  7246. "type": "string"
  7247. },
  7248. "tradedate": {
  7249. "description": "交易日(yyyyMMdd)",
  7250. "type": "string"
  7251. },
  7252. "tradeproperty": {
  7253. "description": "交易属性",
  7254. "type": "integer"
  7255. },
  7256. "tradeqty": {
  7257. "description": "成交数量",
  7258. "type": "integer"
  7259. },
  7260. "unfreezecharge": {
  7261. "description": "解冻手续费",
  7262. "type": "number"
  7263. },
  7264. "unfreezemargin": {
  7265. "description": "解冻保证金",
  7266. "type": "number"
  7267. },
  7268. "updatetime": {
  7269. "description": "更新时间",
  7270. "type": "string"
  7271. },
  7272. "uuid": {
  7273. "description": "发起端唯一id",
  7274. "type": "string"
  7275. },
  7276. "validtime": {
  7277. "description": "有效期限",
  7278. "type": "string"
  7279. },
  7280. "validtype": {
  7281. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7282. "type": "integer"
  7283. },
  7284. "volumetype": {
  7285. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7286. "type": "integer"
  7287. }
  7288. }
  7289. },
  7290. "cptrade.QueryMyCPTradeGoodsRsp": {
  7291. "type": "object",
  7292. "required": [
  7293. "goodscode",
  7294. "goodsid",
  7295. "goodsname",
  7296. "marketid",
  7297. "relatedgoodscode",
  7298. "relatedgoodsname"
  7299. ],
  7300. "properties": {
  7301. "accountid": {
  7302. "description": "卖方账户ID",
  7303. "type": "integer"
  7304. },
  7305. "agreeunit": {
  7306. "description": "合约单位",
  7307. "type": "number"
  7308. },
  7309. "applyid": {
  7310. "description": "关联申请ID",
  7311. "type": "integer"
  7312. },
  7313. "attachmenturl": {
  7314. "description": "附件地址",
  7315. "type": "string"
  7316. },
  7317. "createtime": {
  7318. "description": "创建时间",
  7319. "type": "string"
  7320. },
  7321. "currencyid": {
  7322. "description": "报价货币ID",
  7323. "type": "integer"
  7324. },
  7325. "decimalplace": {
  7326. "description": "报价小数位",
  7327. "type": "integer"
  7328. },
  7329. "endtime": {
  7330. "description": "预售结束时间",
  7331. "type": "string"
  7332. },
  7333. "floorprice": {
  7334. "description": "底价[大宗式竞拍]",
  7335. "type": "number"
  7336. },
  7337. "goodscode": {
  7338. "description": "商品代码(预售)",
  7339. "type": "string"
  7340. },
  7341. "goodsdetail": {
  7342. "description": "详情[大宗]",
  7343. "type": "string"
  7344. },
  7345. "goodsid": {
  7346. "description": "商品ID(自增ID SEQ_GOODS)",
  7347. "type": "integer"
  7348. },
  7349. "goodsname": {
  7350. "description": "商品名称(预售)",
  7351. "type": "string"
  7352. },
  7353. "goodunit": {
  7354. "description": "报价单位",
  7355. "type": "string"
  7356. },
  7357. "goodunitid": {
  7358. "description": "报价单位ID",
  7359. "type": "integer"
  7360. },
  7361. "marketid": {
  7362. "description": "所属市场ID",
  7363. "type": "integer"
  7364. },
  7365. "marketname": {
  7366. "description": "预售市场名称",
  7367. "type": "string"
  7368. },
  7369. "presaledamount": {
  7370. "description": "已预售总金额(预售结束时更新)",
  7371. "type": "number"
  7372. },
  7373. "presaledqty": {
  7374. "description": "已预售量(预售结束时更新)",
  7375. "type": "integer"
  7376. },
  7377. "presalemode": {
  7378. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7379. "type": "integer"
  7380. },
  7381. "presaleqty": {
  7382. "description": "预售数量",
  7383. "type": "integer"
  7384. },
  7385. "refprice": {
  7386. "description": "参考价格[一口价]",
  7387. "type": "number"
  7388. },
  7389. "relatedgoodscode": {
  7390. "description": "商品代码(订单)",
  7391. "type": "string"
  7392. },
  7393. "relatedgoodsid": {
  7394. "description": "关联交易合约ID",
  7395. "type": "integer"
  7396. },
  7397. "relatedgoodsname": {
  7398. "description": "商品名称(订单)",
  7399. "type": "string"
  7400. },
  7401. "relatedmarketid": {
  7402. "description": "关联交易合约市场ID",
  7403. "type": "integer"
  7404. },
  7405. "sellstatus": {
  7406. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7407. "type": "integer"
  7408. },
  7409. "startprice": {
  7410. "description": "起拍价[大宗式竞拍]",
  7411. "type": "number"
  7412. },
  7413. "starttime": {
  7414. "description": "预售开始时间",
  7415. "type": "string"
  7416. },
  7417. "tradedate": {
  7418. "description": "交易日(yyyyMMdd)",
  7419. "type": "string"
  7420. },
  7421. "tradeprice": {
  7422. "description": "成交价[大宗]",
  7423. "type": "number"
  7424. },
  7425. "userid": {
  7426. "description": "卖方用户ID",
  7427. "type": "integer"
  7428. }
  7429. }
  7430. },
  7431. "cptrade.QueryPresaleGoodsExRsp": {
  7432. "type": "object",
  7433. "required": [
  7434. "goodsid"
  7435. ],
  7436. "properties": {
  7437. "attachmenturl": {
  7438. "description": "附件地址",
  7439. "type": "string"
  7440. },
  7441. "createtime": {
  7442. "description": "创建时间",
  7443. "type": "string"
  7444. },
  7445. "endtime": {
  7446. "description": "预售结束时间",
  7447. "type": "string"
  7448. },
  7449. "floorprice": {
  7450. "description": "底价[大宗式竞拍]",
  7451. "type": "number"
  7452. },
  7453. "goodsdetail": {
  7454. "description": "详情[大宗]",
  7455. "type": "string"
  7456. },
  7457. "goodsid": {
  7458. "description": "商品ID(预售)",
  7459. "type": "integer"
  7460. },
  7461. "goodunit": {
  7462. "description": "报价单位",
  7463. "type": "string"
  7464. },
  7465. "marketid": {
  7466. "description": "预售市场ID - 根据预售模式选择市场",
  7467. "type": "integer"
  7468. },
  7469. "presaledamount": {
  7470. "description": "已预售总金额(预售结束时更新)",
  7471. "type": "number"
  7472. },
  7473. "presaledqty": {
  7474. "description": "已预售量(预售结束时更新)",
  7475. "type": "integer"
  7476. },
  7477. "presalemode": {
  7478. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7479. "type": "integer"
  7480. },
  7481. "presaleqty": {
  7482. "description": "预售数量",
  7483. "type": "integer"
  7484. },
  7485. "refprice": {
  7486. "description": "参考价格[一口价]",
  7487. "type": "number"
  7488. },
  7489. "relatedgoodsid": {
  7490. "description": "关联交易合约ID",
  7491. "type": "integer"
  7492. },
  7493. "relatedmarketid": {
  7494. "description": "关联交易合约市场ID",
  7495. "type": "integer"
  7496. },
  7497. "sellstatus": {
  7498. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7499. "type": "integer"
  7500. },
  7501. "startprice": {
  7502. "description": "起拍价[大宗式竞拍]",
  7503. "type": "number"
  7504. },
  7505. "starttime": {
  7506. "description": "预售开始时间",
  7507. "type": "string"
  7508. },
  7509. "tradedate": {
  7510. "description": "交易日(yyyyMMdd)",
  7511. "type": "string"
  7512. },
  7513. "tradeprice": {
  7514. "description": "成交价[大宗]",
  7515. "type": "number"
  7516. }
  7517. }
  7518. },
  7519. "delivery.QueryDeliveryRelationRsp": {
  7520. "type": "object",
  7521. "required": [
  7522. "begindate",
  7523. "enddate",
  7524. "goodsid",
  7525. "mindeliveryqty",
  7526. "xdeliveryratio"
  7527. ],
  7528. "properties": {
  7529. "begindate": {
  7530. "description": "起始日期(yyyyMMdd)",
  7531. "type": "string"
  7532. },
  7533. "buytemplateid": {
  7534. "description": "买履约计划模板ID",
  7535. "type": "integer"
  7536. },
  7537. "deliverygoodscode": {
  7538. "description": "品种代码",
  7539. "type": "string"
  7540. },
  7541. "deliverygoodsid": {
  7542. "description": "交割商品",
  7543. "type": "integer"
  7544. },
  7545. "deliverygoodsname": {
  7546. "description": "品种名称",
  7547. "type": "string"
  7548. },
  7549. "deliverymode": {
  7550. "description": "交割方式 - 1:点选式 2:申报式",
  7551. "type": "integer"
  7552. },
  7553. "deliverypricerule": {
  7554. "description": "交割价规则- 1:行情价 2:建仓价",
  7555. "type": "integer"
  7556. },
  7557. "deliverytype": {
  7558. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7559. "type": "integer"
  7560. },
  7561. "enddate": {
  7562. "description": "结束日期(yyyyMMdd)",
  7563. "type": "string"
  7564. },
  7565. "goodscode": {
  7566. "description": "商品代码",
  7567. "type": "string"
  7568. },
  7569. "goodsid": {
  7570. "description": "交易合约ID",
  7571. "type": "integer"
  7572. },
  7573. "goodsname": {
  7574. "description": "商品名称",
  7575. "type": "string"
  7576. },
  7577. "marketid": {
  7578. "description": "市场ID",
  7579. "type": "integer"
  7580. },
  7581. "mindeliveryqty": {
  7582. "description": "最小交割系数(K)",
  7583. "type": "integer"
  7584. },
  7585. "p2deliveryprice": {
  7586. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7587. "type": "number"
  7588. },
  7589. "p2deliveryratio": {
  7590. "description": "P2合约系数(p)",
  7591. "type": "integer"
  7592. },
  7593. "p2goodsid": {
  7594. "description": "P2合约ID",
  7595. "type": "integer"
  7596. },
  7597. "p2pricemode": {
  7598. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7599. "type": "integer"
  7600. },
  7601. "pdeliveryprice": {
  7602. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7603. "type": "number"
  7604. },
  7605. "pdeliveryratio": {
  7606. "description": "P合约系数(n)",
  7607. "type": "integer"
  7608. },
  7609. "pgoodsid": {
  7610. "description": "P合约ID",
  7611. "type": "integer"
  7612. },
  7613. "ppricemode": {
  7614. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7615. "type": "integer"
  7616. },
  7617. "rratio": {
  7618. "description": "兑换系数(R)",
  7619. "type": "integer"
  7620. },
  7621. "rratio1": {
  7622. "description": "兑换系数(交易合约)(R1)",
  7623. "type": "integer"
  7624. },
  7625. "rratio2": {
  7626. "description": "兑换系数(仓单标准)(R2)",
  7627. "type": "integer"
  7628. },
  7629. "selltemplateid": {
  7630. "description": "卖履约计划模板ID",
  7631. "type": "integer"
  7632. },
  7633. "wrstandardid": {
  7634. "description": "仓单标准ID",
  7635. "type": "integer"
  7636. },
  7637. "xdeliveryratio": {
  7638. "description": "交易合约系数(m)",
  7639. "type": "integer"
  7640. }
  7641. }
  7642. },
  7643. "ermcp.ExposureDetailRsp": {
  7644. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  7645. },
  7646. "ermcp.ExposureHedgePosDetailRsp": {
  7647. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  7648. },
  7649. "ermcp.ExposureHedgePositionRsp": {
  7650. "$ref": "#/definitions/models.ErmcpHedgePosition"
  7651. },
  7652. "ermcp.ExposureSpotDetailRsp": {
  7653. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  7654. },
  7655. "ermcp.ExposureSpotRsp": {
  7656. "$ref": "#/definitions/models.AreaSpotModel"
  7657. },
  7658. "ermcp.HisExposureRsp": {
  7659. "$ref": "#/definitions/models.ErmcpHisExposureS"
  7660. },
  7661. "ermcp.PendingAuditCntRsp": {
  7662. "$ref": "#/definitions/models.ErmcpPendingAudit"
  7663. },
  7664. "ermcp.QryAvalidGPRsp": {
  7665. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  7666. },
  7667. "ermcp.QryBusinessDjRsp": {
  7668. "type": "object",
  7669. "properties": {
  7670. "amount": {
  7671. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7672. "type": "number"
  7673. },
  7674. "applyid": {
  7675. "description": "申请人",
  7676. "type": "string"
  7677. },
  7678. "applyname": {
  7679. "description": "申请人名称",
  7680. "type": "string"
  7681. },
  7682. "applystatus": {
  7683. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7684. "type": "integer"
  7685. },
  7686. "applytime": {
  7687. "description": "申请时间",
  7688. "type": "string"
  7689. },
  7690. "attachurl": {
  7691. "description": "附件",
  7692. "type": "string"
  7693. },
  7694. "auditname": {
  7695. "description": "审核人名称",
  7696. "type": "string"
  7697. },
  7698. "audittime": {
  7699. "description": "审核时间",
  7700. "type": "string"
  7701. },
  7702. "buyusername": {
  7703. "description": "采购方名称",
  7704. "type": "string"
  7705. },
  7706. "contractno": {
  7707. "description": "合同编号",
  7708. "type": "string"
  7709. },
  7710. "contractstatus": {
  7711. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7712. "type": "integer"
  7713. },
  7714. "contracttype": {
  7715. "description": "现货合同类型 - 1:采购 -1:销售",
  7716. "type": "integer"
  7717. },
  7718. "enumdicname": {
  7719. "description": "单位名称",
  7720. "type": "string"
  7721. },
  7722. "goodscode": {
  7723. "description": "点价合约",
  7724. "type": "string"
  7725. },
  7726. "goodsname": {
  7727. "description": "商品名称",
  7728. "type": "string"
  7729. },
  7730. "operateapplyid": {
  7731. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7732. "type": "string"
  7733. },
  7734. "operateapplytype": {
  7735. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7736. "type": "integer"
  7737. },
  7738. "pricedPrice": {
  7739. "description": "点价价格(非必填)",
  7740. "type": "number"
  7741. },
  7742. "pricedQty": {
  7743. "description": "点价数量(非必填)",
  7744. "type": "number"
  7745. },
  7746. "pricemove": {
  7747. "description": "升贴水",
  7748. "type": "number"
  7749. },
  7750. "pricetype": {
  7751. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7752. "type": "integer"
  7753. },
  7754. "relatedid": {
  7755. "description": "现货合同ID",
  7756. "type": "string"
  7757. },
  7758. "sellusername": {
  7759. "description": "销售方名字",
  7760. "type": "string"
  7761. },
  7762. "userid": {
  7763. "description": "用户ID",
  7764. "type": "integer"
  7765. },
  7766. "wrstandardcode": {
  7767. "description": "现货商品代码",
  7768. "type": "string"
  7769. },
  7770. "wrstandardid": {
  7771. "description": "现货商品id",
  7772. "type": "integer"
  7773. },
  7774. "wrstandardname": {
  7775. "description": "现货商品名称",
  7776. "type": "string"
  7777. }
  7778. }
  7779. },
  7780. "ermcp.QryBussinessFpRsp": {
  7781. "type": "object",
  7782. "properties": {
  7783. "applyid": {
  7784. "description": "申请人",
  7785. "type": "string"
  7786. },
  7787. "applyname": {
  7788. "description": "申请人名称",
  7789. "type": "string"
  7790. },
  7791. "applystatus": {
  7792. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7793. "type": "integer"
  7794. },
  7795. "applytime": {
  7796. "description": "申请时间",
  7797. "type": "string"
  7798. },
  7799. "attachurl": {
  7800. "description": "附件",
  7801. "type": "string"
  7802. },
  7803. "auditname": {
  7804. "description": "审核人名称",
  7805. "type": "string"
  7806. },
  7807. "audittime": {
  7808. "description": "审核时间",
  7809. "type": "string"
  7810. },
  7811. "buyusername": {
  7812. "description": "采购方名称",
  7813. "type": "string"
  7814. },
  7815. "contractno": {
  7816. "description": "合同编号",
  7817. "type": "string"
  7818. },
  7819. "contractstatus": {
  7820. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7821. "type": "integer"
  7822. },
  7823. "contracttype": {
  7824. "description": "现货合同类型 - 1:采购 -1:销售",
  7825. "type": "integer"
  7826. },
  7827. "enumdicname": {
  7828. "description": "单位名称",
  7829. "type": "string"
  7830. },
  7831. "goodscode": {
  7832. "description": "点价合约",
  7833. "type": "string"
  7834. },
  7835. "goodsname": {
  7836. "description": "商品名称",
  7837. "type": "string"
  7838. },
  7839. "invoiceAmount": {
  7840. "description": "已开收票金额(销售为开票,采购为收票)",
  7841. "type": "number"
  7842. },
  7843. "operateapplyid": {
  7844. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7845. "type": "string"
  7846. },
  7847. "operateapplytype": {
  7848. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7849. "type": "integer"
  7850. },
  7851. "pricemove": {
  7852. "description": "升贴水",
  7853. "type": "number"
  7854. },
  7855. "pricetype": {
  7856. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7857. "type": "integer"
  7858. },
  7859. "relatedid": {
  7860. "description": "现货合同ID",
  7861. "type": "string"
  7862. },
  7863. "sellusername": {
  7864. "description": "销售方名字",
  7865. "type": "string"
  7866. },
  7867. "userid": {
  7868. "description": "用户ID",
  7869. "type": "integer"
  7870. },
  7871. "wrstandardcode": {
  7872. "description": "现货商品代码",
  7873. "type": "string"
  7874. },
  7875. "wrstandardid": {
  7876. "description": "现货商品id",
  7877. "type": "integer"
  7878. },
  7879. "wrstandardname": {
  7880. "description": "现货商品名称",
  7881. "type": "string"
  7882. }
  7883. }
  7884. },
  7885. "ermcp.QryBussinessJsExRsp": {
  7886. "type": "object",
  7887. "properties": {
  7888. "applyid": {
  7889. "description": "申请人",
  7890. "type": "string"
  7891. },
  7892. "applyname": {
  7893. "description": "申请人名称",
  7894. "type": "string"
  7895. },
  7896. "applystatus": {
  7897. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7898. "type": "integer"
  7899. },
  7900. "applytime": {
  7901. "description": "申请时间",
  7902. "type": "string"
  7903. },
  7904. "attachurl": {
  7905. "description": "附件",
  7906. "type": "string"
  7907. },
  7908. "auditname": {
  7909. "description": "审核人名称",
  7910. "type": "string"
  7911. },
  7912. "audittime": {
  7913. "description": "审核时间",
  7914. "type": "string"
  7915. },
  7916. "buyusername": {
  7917. "description": "采购方名称",
  7918. "type": "string"
  7919. },
  7920. "contractno": {
  7921. "description": "合同编号",
  7922. "type": "string"
  7923. },
  7924. "contractstatus": {
  7925. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7926. "type": "integer"
  7927. },
  7928. "contracttype": {
  7929. "description": "现货合同类型 - 1:采购 -1:销售",
  7930. "type": "integer"
  7931. },
  7932. "enumdicname": {
  7933. "description": "单位名称",
  7934. "type": "string"
  7935. },
  7936. "goodscode": {
  7937. "description": "点价合约",
  7938. "type": "string"
  7939. },
  7940. "goodsname": {
  7941. "description": "商品名称",
  7942. "type": "string"
  7943. },
  7944. "operateapplyid": {
  7945. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7946. "type": "string"
  7947. },
  7948. "operateapplytype": {
  7949. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7950. "type": "integer"
  7951. },
  7952. "pricemove": {
  7953. "description": "升贴水",
  7954. "type": "number"
  7955. },
  7956. "pricetype": {
  7957. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7958. "type": "integer"
  7959. },
  7960. "reckontype": {
  7961. "description": "结算类型",
  7962. "type": "string"
  7963. },
  7964. "reckonvalue": {
  7965. "description": "值",
  7966. "type": "number"
  7967. },
  7968. "relatedid": {
  7969. "description": "现货合同ID",
  7970. "type": "string"
  7971. },
  7972. "sellusername": {
  7973. "description": "销售方名字",
  7974. "type": "string"
  7975. },
  7976. "userid": {
  7977. "description": "用户ID",
  7978. "type": "integer"
  7979. },
  7980. "wrstandardcode": {
  7981. "description": "现货商品代码",
  7982. "type": "string"
  7983. },
  7984. "wrstandardid": {
  7985. "description": "现货商品id",
  7986. "type": "integer"
  7987. },
  7988. "wrstandardname": {
  7989. "description": "现货商品名称",
  7990. "type": "string"
  7991. }
  7992. }
  7993. },
  7994. "ermcp.QryBussinessJsRsp": {
  7995. "type": "object",
  7996. "properties": {
  7997. "addmargin": {
  7998. "description": "追加保证金(非必填)",
  7999. "type": "number"
  8000. },
  8001. "applyid": {
  8002. "description": "申请人",
  8003. "type": "string"
  8004. },
  8005. "applyname": {
  8006. "description": "申请人名称",
  8007. "type": "string"
  8008. },
  8009. "applystatus": {
  8010. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8011. "type": "integer"
  8012. },
  8013. "applytime": {
  8014. "description": "申请时间",
  8015. "type": "string"
  8016. },
  8017. "attachurl": {
  8018. "description": "附件",
  8019. "type": "string"
  8020. },
  8021. "auditname": {
  8022. "description": "审核人名称",
  8023. "type": "string"
  8024. },
  8025. "audittime": {
  8026. "description": "审核时间",
  8027. "type": "string"
  8028. },
  8029. "buyusername": {
  8030. "description": "采购方名称",
  8031. "type": "string"
  8032. },
  8033. "contractno": {
  8034. "description": "合同编号",
  8035. "type": "string"
  8036. },
  8037. "contractstatus": {
  8038. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8039. "type": "integer"
  8040. },
  8041. "contracttype": {
  8042. "description": "现货合同类型 - 1:采购 -1:销售",
  8043. "type": "integer"
  8044. },
  8045. "decmargin": {
  8046. "description": "减少保证金(非必填)",
  8047. "type": "number"
  8048. },
  8049. "enumdicname": {
  8050. "description": "单位名称",
  8051. "type": "string"
  8052. },
  8053. "goodscode": {
  8054. "description": "点价合约",
  8055. "type": "string"
  8056. },
  8057. "goodsname": {
  8058. "description": "商品名称",
  8059. "type": "string"
  8060. },
  8061. "operateapplyid": {
  8062. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8063. "type": "string"
  8064. },
  8065. "operateapplytype": {
  8066. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8067. "type": "integer"
  8068. },
  8069. "pricemove": {
  8070. "description": "升贴水",
  8071. "type": "number"
  8072. },
  8073. "pricetype": {
  8074. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8075. "type": "integer"
  8076. },
  8077. "reckonadjustamount": {
  8078. "description": "结算调整金额(非必填)",
  8079. "type": "number"
  8080. },
  8081. "reckonosamount": {
  8082. "description": "结算溢短金额(非必填)",
  8083. "type": "number"
  8084. },
  8085. "reckonotheramount": {
  8086. "description": "结算其他费用(非必填)",
  8087. "type": "number"
  8088. },
  8089. "reckonrealqty": {
  8090. "description": "结算实际数量(非必填)",
  8091. "type": "number"
  8092. },
  8093. "relatedid": {
  8094. "description": "现货合同ID",
  8095. "type": "string"
  8096. },
  8097. "sellusername": {
  8098. "description": "销售方名字",
  8099. "type": "string"
  8100. },
  8101. "userid": {
  8102. "description": "用户ID",
  8103. "type": "integer"
  8104. },
  8105. "wrstandardcode": {
  8106. "description": "现货商品代码",
  8107. "type": "string"
  8108. },
  8109. "wrstandardid": {
  8110. "description": "现货商品id",
  8111. "type": "integer"
  8112. },
  8113. "wrstandardname": {
  8114. "description": "现货商品名称",
  8115. "type": "string"
  8116. }
  8117. }
  8118. },
  8119. "ermcp.QryBussinessKxRsp": {
  8120. "type": "object",
  8121. "properties": {
  8122. "applyid": {
  8123. "description": "申请人",
  8124. "type": "string"
  8125. },
  8126. "applyname": {
  8127. "description": "申请人名称",
  8128. "type": "string"
  8129. },
  8130. "applystatus": {
  8131. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8132. "type": "integer"
  8133. },
  8134. "applytime": {
  8135. "description": "申请时间",
  8136. "type": "string"
  8137. },
  8138. "attachurl": {
  8139. "description": "附件",
  8140. "type": "string"
  8141. },
  8142. "auditname": {
  8143. "description": "审核人名称",
  8144. "type": "string"
  8145. },
  8146. "audittime": {
  8147. "description": "审核时间",
  8148. "type": "string"
  8149. },
  8150. "buyusername": {
  8151. "description": "采购方名称",
  8152. "type": "string"
  8153. },
  8154. "contractno": {
  8155. "description": "合同编号",
  8156. "type": "string"
  8157. },
  8158. "contractstatus": {
  8159. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8160. "type": "integer"
  8161. },
  8162. "contracttype": {
  8163. "description": "现货合同类型 - 1:采购 -1:销售",
  8164. "type": "integer"
  8165. },
  8166. "deductamount": {
  8167. "description": "退款(非必填)",
  8168. "type": "number"
  8169. },
  8170. "enumdicname": {
  8171. "description": "单位名称",
  8172. "type": "string"
  8173. },
  8174. "goodscode": {
  8175. "description": "点价合约",
  8176. "type": "string"
  8177. },
  8178. "goodsname": {
  8179. "description": "商品名称",
  8180. "type": "string"
  8181. },
  8182. "kxtype": {
  8183. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8184. "type": "integer"
  8185. },
  8186. "operateapplyid": {
  8187. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8188. "type": "string"
  8189. },
  8190. "operateapplytype": {
  8191. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8192. "type": "integer"
  8193. },
  8194. "payamount": {
  8195. "description": "收付款(非必填)",
  8196. "type": "number"
  8197. },
  8198. "pricemove": {
  8199. "description": "升贴水",
  8200. "type": "number"
  8201. },
  8202. "pricetype": {
  8203. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8204. "type": "integer"
  8205. },
  8206. "relatedid": {
  8207. "description": "现货合同ID",
  8208. "type": "string"
  8209. },
  8210. "sellusername": {
  8211. "description": "销售方名字",
  8212. "type": "string"
  8213. },
  8214. "userid": {
  8215. "description": "用户ID",
  8216. "type": "integer"
  8217. },
  8218. "wrstandardcode": {
  8219. "description": "现货商品代码",
  8220. "type": "string"
  8221. },
  8222. "wrstandardid": {
  8223. "description": "现货商品id",
  8224. "type": "integer"
  8225. },
  8226. "wrstandardname": {
  8227. "description": "现货商品名称",
  8228. "type": "string"
  8229. }
  8230. }
  8231. },
  8232. "ermcp.QryErmcpRsp": {
  8233. "$ref": "#/definitions/models.ErmcpModel"
  8234. },
  8235. "ermcp.QryGGCovertCfgRsp": {
  8236. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8237. },
  8238. "ermcp.QryHedgePlanRsp": {
  8239. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8240. },
  8241. "ermcp.QryMGChangeLogRsp": {
  8242. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8243. },
  8244. "ermcp.QryMiddleGoodsDetailRsp": {
  8245. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8246. },
  8247. "ermcp.QryMiddleGoodsRsp": {
  8248. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8249. },
  8250. "ermcp.QryOPLogRsp": {
  8251. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8252. },
  8253. "ermcp.QryReportDaySpotDetailRsp": {
  8254. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8255. },
  8256. "ermcp.QryReportExposureDayRsp": {
  8257. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8258. },
  8259. "ermcp.QryReportFinanceDayRsp": {
  8260. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8261. },
  8262. "ermcp.QryReportFinanceKxRsp": {
  8263. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8264. },
  8265. "ermcp.QryReportFinanceMonRsp": {
  8266. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8267. },
  8268. "ermcp.QryReportSpotDayRsp": {
  8269. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8270. },
  8271. "ermcp.QryReportSpotMonRsp": {
  8272. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8273. },
  8274. "ermcp.QryReportSpotMonthDetailRsp": {
  8275. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8276. },
  8277. "ermcp.QrySpotContractRsp": {
  8278. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8279. },
  8280. "ermcp.QryUserInfoRsp": {
  8281. "$ref": "#/definitions/models.ErmcpUserModel"
  8282. },
  8283. "ermcp.QryWrStandardDetailRsp": {
  8284. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8285. },
  8286. "ermcp.QryWrStandardRsp": {
  8287. "$ref": "#/definitions/models.ErmcpWrstandard"
  8288. },
  8289. "ermcp.QueryErmcpTradePositionRsp": {
  8290. "type": "object",
  8291. "properties": {
  8292. "agreeunit": {
  8293. "description": "合约单位",
  8294. "type": "number"
  8295. },
  8296. "buyorsell": {
  8297. "description": "方向 - 0:买 1:卖",
  8298. "type": "integer"
  8299. },
  8300. "curpositionqty": {
  8301. "description": "持仓(总仓数量, 期末头寸)",
  8302. "type": "integer"
  8303. },
  8304. "curtdposition": {
  8305. "description": "今仓数量(期末今日头寸)",
  8306. "type": "integer"
  8307. },
  8308. "curtdpositionenabled": {
  8309. "description": "今仓可用",
  8310. "type": "integer"
  8311. },
  8312. "decimalplace": {
  8313. "description": "报价小数位",
  8314. "type": "integer"
  8315. },
  8316. "enableqty": {
  8317. "description": "可用(总仓可用)",
  8318. "type": "integer"
  8319. },
  8320. "exexchangename": {
  8321. "description": "外部交易所名称",
  8322. "type": "string"
  8323. },
  8324. "goodscode": {
  8325. "description": "商品代码(内部)",
  8326. "type": "string"
  8327. },
  8328. "goodsid": {
  8329. "description": "商品ID(自增ID SEQ_GOODS)",
  8330. "type": "integer"
  8331. },
  8332. "goodsname": {
  8333. "description": "商品名称",
  8334. "type": "string"
  8335. },
  8336. "last": {
  8337. "description": "现价",
  8338. "type": "number"
  8339. },
  8340. "marketid": {
  8341. "description": "所属市场ID",
  8342. "type": "integer"
  8343. },
  8344. "openaverageprice": {
  8345. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8346. "type": "number"
  8347. },
  8348. "opencost": {
  8349. "description": "开仓成本",
  8350. "type": "number"
  8351. },
  8352. "openpl": {
  8353. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8354. "type": "number"
  8355. },
  8356. "outgoodscode": {
  8357. "description": "商品代码(外部)",
  8358. "type": "string"
  8359. },
  8360. "positionaverageprice": {
  8361. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8362. "type": "number"
  8363. },
  8364. "positioncost": {
  8365. "description": "持仓成本",
  8366. "type": "number"
  8367. },
  8368. "positionpl": {
  8369. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8370. "type": "number"
  8371. },
  8372. "positionplrate": {
  8373. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8374. "type": "number"
  8375. },
  8376. "usedmargin": {
  8377. "description": "占用保证金",
  8378. "type": "number"
  8379. }
  8380. }
  8381. },
  8382. "ermcp.RealtimeExposurePositionRsp": {
  8383. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8384. },
  8385. "ermcp.RealtimeExposureRsp": {
  8386. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8387. },
  8388. "erms2.QueryArbitrageStrategyRsp": {
  8389. "type": "object",
  8390. "required": [
  8391. "asapplyid"
  8392. ],
  8393. "properties": {
  8394. "applybasis": {
  8395. "description": "申请基差",
  8396. "type": "number"
  8397. },
  8398. "asapplyid": {
  8399. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8400. "type": "string"
  8401. },
  8402. "asname": {
  8403. "description": "策略名称",
  8404. "type": "string"
  8405. },
  8406. "asno": {
  8407. "description": "策略编号",
  8408. "type": "string"
  8409. },
  8410. "basischangepl": {
  8411. "description": "基差变动损益[结算更新]",
  8412. "type": "number"
  8413. },
  8414. "biztype": {
  8415. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8416. "type": "integer"
  8417. },
  8418. "closetradedate": {
  8419. "description": "完结交易日(yyyyMMdd)",
  8420. "type": "string"
  8421. },
  8422. "curbasis": {
  8423. "description": "当前基差[结算更新]",
  8424. "type": "number"
  8425. },
  8426. "deliverygoodsid": {
  8427. "description": "现货品种ID",
  8428. "type": "integer"
  8429. },
  8430. "futureavgprice": {
  8431. "description": "期货建仓均价",
  8432. "type": "number"
  8433. },
  8434. "futurecloseamount": {
  8435. "description": "期货平仓金额",
  8436. "type": "number"
  8437. },
  8438. "futurecloseqty": {
  8439. "description": "期货平仓数量",
  8440. "type": "number"
  8441. },
  8442. "futureopenamount": {
  8443. "description": "期货开仓金额",
  8444. "type": "number"
  8445. },
  8446. "futureopenqty": {
  8447. "description": "期货开仓数量",
  8448. "type": "number"
  8449. },
  8450. "futurepl": {
  8451. "description": "期货总盈亏[结算更新]",
  8452. "type": "number"
  8453. },
  8454. "futureqty": {
  8455. "description": "期货持仓数量",
  8456. "type": "number"
  8457. },
  8458. "futurequote": {
  8459. "description": "期货额度",
  8460. "type": "number"
  8461. },
  8462. "goodsgroupid": {
  8463. "description": "期货品种ID",
  8464. "type": "integer"
  8465. },
  8466. "marketid": {
  8467. "description": "市场ID",
  8468. "type": "integer"
  8469. },
  8470. "netexposure": {
  8471. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8472. "type": "number"
  8473. },
  8474. "netexposurepl": {
  8475. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8476. "type": "number"
  8477. },
  8478. "netexposurerate": {
  8479. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8480. "type": "number"
  8481. },
  8482. "openbasis": {
  8483. "description": "建仓基差",
  8484. "type": "number"
  8485. },
  8486. "pricedspotqty": {
  8487. "description": "已定价现货数量",
  8488. "type": "number"
  8489. },
  8490. "pricedspotqtynotax": {
  8491. "description": "已定价现货不含税数量",
  8492. "type": "number"
  8493. },
  8494. "remark": {
  8495. "description": "备注",
  8496. "type": "string"
  8497. },
  8498. "spotavgprice": {
  8499. "description": "现货均价",
  8500. "type": "number"
  8501. },
  8502. "spotbuyamount": {
  8503. "description": "现货采购金额",
  8504. "type": "number"
  8505. },
  8506. "spotbuyqty": {
  8507. "description": "现货采购数量",
  8508. "type": "number"
  8509. },
  8510. "spotpl": {
  8511. "description": "现货总盈亏[结算更新]",
  8512. "type": "number"
  8513. },
  8514. "spotquota": {
  8515. "description": "现货额度",
  8516. "type": "number"
  8517. },
  8518. "spotsellamount": {
  8519. "description": "现货销售金额",
  8520. "type": "number"
  8521. },
  8522. "spotsellqty": {
  8523. "description": "现货销售数量",
  8524. "type": "number"
  8525. },
  8526. "spotusedquota": {
  8527. "description": "现货占用资金",
  8528. "type": "number"
  8529. },
  8530. "strategystatus": {
  8531. "description": "策略状态 - 0:未结束 1:已结束",
  8532. "type": "integer"
  8533. },
  8534. "totalpl": {
  8535. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8536. "type": "number"
  8537. },
  8538. "tradedate": {
  8539. "description": "交易日(yyyyMMdd)",
  8540. "type": "string"
  8541. },
  8542. "updatetime": {
  8543. "description": "更新时间",
  8544. "type": "string"
  8545. },
  8546. "usedquota": {
  8547. "description": "已占用资金",
  8548. "type": "number"
  8549. },
  8550. "userid": {
  8551. "description": "所属机构",
  8552. "type": "integer"
  8553. }
  8554. }
  8555. },
  8556. "erms2.QueryInnerTradeDetailRsp": {
  8557. "type": "object",
  8558. "required": [
  8559. "asapplyid",
  8560. "buyorsell",
  8561. "goodscode",
  8562. "goodsgroupid",
  8563. "goodsgroupname",
  8564. "goodsname",
  8565. "tradeid"
  8566. ],
  8567. "properties": {
  8568. "accountid": {
  8569. "description": "账号ID",
  8570. "type": "integer"
  8571. },
  8572. "agreeunit": {
  8573. "description": "合约单位",
  8574. "type": "number"
  8575. },
  8576. "asapplyid": {
  8577. "description": "策略申请ID",
  8578. "type": "integer"
  8579. },
  8580. "asname": {
  8581. "description": "策略名称",
  8582. "type": "string"
  8583. },
  8584. "asno": {
  8585. "description": "策略编号",
  8586. "type": "string"
  8587. },
  8588. "buyorsell": {
  8589. "description": "方向 - 0:买 1:卖",
  8590. "type": "integer"
  8591. },
  8592. "channelbuildtype": {
  8593. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8594. "type": "integer"
  8595. },
  8596. "closetype": {
  8597. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8598. "type": "integer"
  8599. },
  8600. "decimalplace": {
  8601. "description": "报价小数位",
  8602. "type": "integer"
  8603. },
  8604. "detailtype": {
  8605. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8606. "type": "integer"
  8607. },
  8608. "exexchangecode": {
  8609. "description": "外部交易所代码",
  8610. "type": "string"
  8611. },
  8612. "exexchangename": {
  8613. "description": "外部交易所名称",
  8614. "type": "string"
  8615. },
  8616. "goodscode": {
  8617. "description": "商品代码(合约)",
  8618. "type": "string"
  8619. },
  8620. "goodsgroupid": {
  8621. "description": "商品组ID(品种ID)",
  8622. "type": "integer"
  8623. },
  8624. "goodsgroupname": {
  8625. "description": "商品组名称(品种)",
  8626. "type": "string"
  8627. },
  8628. "goodsid": {
  8629. "description": "商品ID",
  8630. "type": "integer"
  8631. },
  8632. "goodsname": {
  8633. "description": "商品名称(合约)",
  8634. "type": "string"
  8635. },
  8636. "goodunit": {
  8637. "description": "报价单位",
  8638. "type": "string"
  8639. },
  8640. "marketid": {
  8641. "description": "市场ID",
  8642. "type": "integer"
  8643. },
  8644. "orderid": {
  8645. "description": "委托单号",
  8646. "type": "string"
  8647. },
  8648. "outgoodscode": {
  8649. "description": "商品代码(外部)",
  8650. "type": "string"
  8651. },
  8652. "relatedouttradeid": {
  8653. "description": "关联外部成交单ID",
  8654. "type": "string"
  8655. },
  8656. "remark": {
  8657. "description": "备注",
  8658. "type": "string"
  8659. },
  8660. "spotcontractid": {
  8661. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  8662. "type": "integer"
  8663. },
  8664. "spotcontractno": {
  8665. "description": "现货合同编号",
  8666. "type": "string"
  8667. },
  8668. "tradeid": {
  8669. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8670. "type": "string"
  8671. },
  8672. "tradeprice": {
  8673. "description": "成交价格",
  8674. "type": "number"
  8675. },
  8676. "tradeqty": {
  8677. "description": "成交数量",
  8678. "type": "integer"
  8679. },
  8680. "tradetime": {
  8681. "description": "成交时间",
  8682. "type": "string"
  8683. },
  8684. "updatetime": {
  8685. "description": "更新时间",
  8686. "type": "string"
  8687. }
  8688. }
  8689. },
  8690. "erms2.QuerySpotContractRsp": {
  8691. "type": "object",
  8692. "required": [
  8693. "spotcontractid"
  8694. ],
  8695. "properties": {
  8696. "accountid": {
  8697. "description": "资金账户ID",
  8698. "type": "integer"
  8699. },
  8700. "areauserid": {
  8701. "description": "所属机构",
  8702. "type": "integer"
  8703. },
  8704. "closedate": {
  8705. "description": "终止日期",
  8706. "type": "string"
  8707. },
  8708. "closeremark": {
  8709. "description": "结束备注",
  8710. "type": "string"
  8711. },
  8712. "closetradedate": {
  8713. "description": "完结交易日(yyyyMMdd)",
  8714. "type": "string"
  8715. },
  8716. "closetype": {
  8717. "description": "终止类型 - 1:违约 2:提前终止",
  8718. "type": "integer"
  8719. },
  8720. "contractamount": {
  8721. "description": "合同金额",
  8722. "type": "number"
  8723. },
  8724. "contractattachment": {
  8725. "description": "合同附件",
  8726. "type": "string"
  8727. },
  8728. "contractno": {
  8729. "description": "现货合同编号",
  8730. "type": "string"
  8731. },
  8732. "contractqty": {
  8733. "description": "合同数量(数值) (用于计算)",
  8734. "type": "number"
  8735. },
  8736. "contractqtychar": {
  8737. "description": "合同数量\\已订价数量 (用于显示)",
  8738. "type": "string"
  8739. },
  8740. "contractstatus": {
  8741. "description": "合同状态 - 0:未结束 1:已结束",
  8742. "type": "integer"
  8743. },
  8744. "contracttype": {
  8745. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  8746. "type": "integer"
  8747. },
  8748. "customeraccountid": {
  8749. "description": "客户资金账户ID",
  8750. "type": "integer"
  8751. },
  8752. "customeruserid": {
  8753. "description": "客户ID",
  8754. "type": "integer"
  8755. },
  8756. "deliverygoodsdesc": {
  8757. "description": "品种说明",
  8758. "type": "string"
  8759. },
  8760. "deliverygoodsid": {
  8761. "description": "现货品种ID",
  8762. "type": "integer"
  8763. },
  8764. "handlestatus": {
  8765. "description": "处理状态",
  8766. "type": "integer"
  8767. },
  8768. "invoiceatt": {
  8769. "description": "发票附件",
  8770. "type": "string"
  8771. },
  8772. "invoicedatetime": {
  8773. "description": "开收票更新时间",
  8774. "type": "string"
  8775. },
  8776. "invoiceopentime": {
  8777. "description": "开票时间",
  8778. "type": "string"
  8779. },
  8780. "invoiceremark": {
  8781. "description": "发票备注",
  8782. "type": "string"
  8783. },
  8784. "invoicestatus": {
  8785. "description": "开收票状态 - 0:未开票 1:已开票",
  8786. "type": "integer"
  8787. },
  8788. "lastdate": {
  8789. "description": "交货时间",
  8790. "type": "string"
  8791. },
  8792. "marketid": {
  8793. "description": "市场ID",
  8794. "type": "integer"
  8795. },
  8796. "paydatetime": {
  8797. "description": "收付款更新时间",
  8798. "type": "string"
  8799. },
  8800. "payremark": {
  8801. "description": "收付款备注",
  8802. "type": "string"
  8803. },
  8804. "paystatus": {
  8805. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  8806. "type": "integer"
  8807. },
  8808. "positionqty": {
  8809. "description": "头寸数量 - 合同数量去小数部分",
  8810. "type": "integer"
  8811. },
  8812. "producttype": {
  8813. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8814. "type": "integer"
  8815. },
  8816. "relatedqty": {
  8817. "description": "已关联数量",
  8818. "type": "number"
  8819. },
  8820. "relatedstatus": {
  8821. "description": "关联完结状态 - 0:未结束 1:已结束",
  8822. "type": "integer"
  8823. },
  8824. "remark": {
  8825. "description": "备注",
  8826. "type": "string"
  8827. },
  8828. "signdate": {
  8829. "description": "签订日期",
  8830. "type": "string"
  8831. },
  8832. "spotcontractid": {
  8833. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  8834. "type": "string"
  8835. },
  8836. "spotdatetime": {
  8837. "description": "收发货更新时间",
  8838. "type": "string"
  8839. },
  8840. "spotprice": {
  8841. "description": "价格",
  8842. "type": "number"
  8843. },
  8844. "spotremark": {
  8845. "description": "收发货备注",
  8846. "type": "string"
  8847. },
  8848. "spotstatus": {
  8849. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  8850. "type": "integer"
  8851. },
  8852. "tradedate": {
  8853. "description": "交易日(yyyyMMdd)",
  8854. "type": "string"
  8855. },
  8856. "userid": {
  8857. "description": "业务员用户ID",
  8858. "type": "integer"
  8859. },
  8860. "warehouseid": {
  8861. "description": "仓库ID",
  8862. "type": "integer"
  8863. },
  8864. "wrfactortypeid": {
  8865. "description": "仓单要素类型ID",
  8866. "type": "integer"
  8867. },
  8868. "wrstandardid": {
  8869. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8870. "type": "integer"
  8871. }
  8872. }
  8873. },
  8874. "erms3.AddErms2ASApplyReq": {
  8875. "type": "object",
  8876. "required": [
  8877. "asapplyid"
  8878. ],
  8879. "properties": {
  8880. "applybasis": {
  8881. "description": "申请基差",
  8882. "type": "number"
  8883. },
  8884. "applystatus": {
  8885. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8886. "type": "integer"
  8887. },
  8888. "asapplyid": {
  8889. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  8890. "type": "integer"
  8891. },
  8892. "asname": {
  8893. "description": "策略名称",
  8894. "type": "string"
  8895. },
  8896. "asno": {
  8897. "description": "策略编号",
  8898. "type": "string"
  8899. },
  8900. "auditid": {
  8901. "description": "审核人",
  8902. "type": "integer"
  8903. },
  8904. "auditremark": {
  8905. "description": "审核备注",
  8906. "type": "string"
  8907. },
  8908. "audittime": {
  8909. "description": "审核时间",
  8910. "type": "string"
  8911. },
  8912. "biztype": {
  8913. "description": "业务类型 - 1:正向套利 2:反向套利",
  8914. "type": "integer"
  8915. },
  8916. "createtime": {
  8917. "description": "创建时间",
  8918. "type": "string"
  8919. },
  8920. "creatorid": {
  8921. "description": "创建人",
  8922. "type": "integer"
  8923. },
  8924. "deliverygoodsid": {
  8925. "description": "现货品种ID",
  8926. "type": "integer"
  8927. },
  8928. "futurequote": {
  8929. "description": "期货额度",
  8930. "type": "number"
  8931. },
  8932. "goodsgroupid": {
  8933. "description": "期货品种ID",
  8934. "type": "integer"
  8935. },
  8936. "marketid": {
  8937. "description": "市场ID",
  8938. "type": "integer"
  8939. },
  8940. "remark": {
  8941. "description": "备注",
  8942. "type": "string"
  8943. },
  8944. "spotquota": {
  8945. "description": "现货额度",
  8946. "type": "number"
  8947. },
  8948. "tradedate": {
  8949. "description": "交易日(yyyyMMdd)",
  8950. "type": "string"
  8951. },
  8952. "userid": {
  8953. "description": "所属机构",
  8954. "type": "integer"
  8955. }
  8956. }
  8957. },
  8958. "erms3.AddErms2SpotTradeApplyReq": {
  8959. "type": "object",
  8960. "required": [
  8961. "spottradeid"
  8962. ],
  8963. "properties": {
  8964. "applyjsondetail": {
  8965. "description": "申请明细(JSON)",
  8966. "type": "string"
  8967. },
  8968. "applystatus": {
  8969. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  8970. "type": "integer"
  8971. },
  8972. "areauserid": {
  8973. "description": "所属机构",
  8974. "type": "integer"
  8975. },
  8976. "auditid": {
  8977. "description": "审核人",
  8978. "type": "integer"
  8979. },
  8980. "auditremark": {
  8981. "description": "审核备注",
  8982. "type": "string"
  8983. },
  8984. "audittime": {
  8985. "description": "审核时间",
  8986. "type": "string"
  8987. },
  8988. "createtime": {
  8989. "description": "创建时间",
  8990. "type": "string"
  8991. },
  8992. "creatorid": {
  8993. "description": "创建人",
  8994. "type": "integer"
  8995. },
  8996. "deliverygoodsid": {
  8997. "description": "现货品种ID",
  8998. "type": "integer"
  8999. },
  9000. "futureaccountid": {
  9001. "description": "期货资金账户",
  9002. "type": "integer"
  9003. },
  9004. "goodsgroupid": {
  9005. "description": "期货品种",
  9006. "type": "integer"
  9007. },
  9008. "marketid": {
  9009. "description": "市场ID",
  9010. "type": "integer"
  9011. },
  9012. "remark": {
  9013. "description": "备注",
  9014. "type": "string"
  9015. },
  9016. "spotaccountid": {
  9017. "description": "现货资金账户",
  9018. "type": "integer"
  9019. },
  9020. "spottradeid": {
  9021. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9022. "type": "integer"
  9023. },
  9024. "spottradename": {
  9025. "description": "业务名称",
  9026. "type": "string"
  9027. },
  9028. "spottradeno": {
  9029. "description": "业务编号",
  9030. "type": "string"
  9031. },
  9032. "tradedate": {
  9033. "description": "交易日(yyyyMMdd)",
  9034. "type": "string"
  9035. },
  9036. "wrstandardid": {
  9037. "description": "仓单标准ID",
  9038. "type": "integer"
  9039. }
  9040. }
  9041. },
  9042. "erms3.AddSpotContractApplyReq": {
  9043. "type": "object",
  9044. "required": [
  9045. "accountid",
  9046. "areauserid",
  9047. "contractno",
  9048. "contracttype",
  9049. "customeraccountid",
  9050. "customeruserid",
  9051. "details",
  9052. "orimargin",
  9053. "signdate"
  9054. ],
  9055. "properties": {
  9056. "accountid": {
  9057. "description": "资金账户ID",
  9058. "type": "integer"
  9059. },
  9060. "areauserid": {
  9061. "description": "所属机构",
  9062. "type": "integer"
  9063. },
  9064. "contractattachment": {
  9065. "description": "合同附件",
  9066. "type": "string"
  9067. },
  9068. "contractno": {
  9069. "description": "现货合同编号",
  9070. "type": "string"
  9071. },
  9072. "contracttype": {
  9073. "description": "现货合同类型 - 1:采购 -1:销售",
  9074. "type": "integer"
  9075. },
  9076. "creatorid": {
  9077. "description": "申请人",
  9078. "type": "integer"
  9079. },
  9080. "customeraccountid": {
  9081. "description": "客户资金账户ID",
  9082. "type": "integer"
  9083. },
  9084. "customeruserid": {
  9085. "description": "客户ID",
  9086. "type": "integer"
  9087. },
  9088. "details": {
  9089. "description": "明细",
  9090. "type": "array",
  9091. "items": {
  9092. "$ref": "#/definitions/erms3.SoptContractDetail"
  9093. }
  9094. },
  9095. "orimargin": {
  9096. "description": "初始保证金",
  9097. "type": "number"
  9098. },
  9099. "remark": {
  9100. "description": "备注",
  9101. "type": "string"
  9102. },
  9103. "signdate": {
  9104. "description": "签订日期",
  9105. "type": "string"
  9106. }
  9107. }
  9108. },
  9109. "erms3.AddSpotContractApplyRsp": {
  9110. "type": "object",
  9111. "required": [
  9112. "contractno"
  9113. ],
  9114. "properties": {
  9115. "contractno": {
  9116. "description": "现货合同编号",
  9117. "type": "string"
  9118. },
  9119. "spotcontractid": {
  9120. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9121. "type": "integer"
  9122. }
  9123. }
  9124. },
  9125. "erms3.AddUserInfoApplyReq": {
  9126. "type": "object",
  9127. "required": [
  9128. "userid"
  9129. ],
  9130. "properties": {
  9131. "accountid": {
  9132. "description": "交易系统帐号Id (加密存储)",
  9133. "type": "integer"
  9134. },
  9135. "areacode": {
  9136. "description": "机构代码",
  9137. "type": "string"
  9138. },
  9139. "areaid": {
  9140. "description": "机构Id",
  9141. "type": "integer"
  9142. },
  9143. "attachment1": {
  9144. "description": "附件1",
  9145. "type": "string"
  9146. },
  9147. "attachment2": {
  9148. "description": "附件2",
  9149. "type": "string"
  9150. },
  9151. "attachment3": {
  9152. "description": "附件3",
  9153. "type": "string"
  9154. },
  9155. "attachment4": {
  9156. "description": "附件4",
  9157. "type": "string"
  9158. },
  9159. "attachment5": {
  9160. "description": "附件5",
  9161. "type": "string"
  9162. },
  9163. "auditedby": {
  9164. "description": "审核人",
  9165. "type": "string"
  9166. },
  9167. "auditime": {
  9168. "description": "审核时间",
  9169. "type": "string"
  9170. },
  9171. "bankaccount": {
  9172. "description": "银行帐号 (加密存储)",
  9173. "type": "string"
  9174. },
  9175. "bankaccountname": {
  9176. "description": "收款人名称",
  9177. "type": "string"
  9178. },
  9179. "bankcardbackphotourl": {
  9180. "description": "银行卡背面照地址",
  9181. "type": "string"
  9182. },
  9183. "bankcardfrontphotourl": {
  9184. "description": "银行卡正面照地址",
  9185. "type": "string"
  9186. },
  9187. "bankid": {
  9188. "description": "银行编码",
  9189. "type": "string"
  9190. },
  9191. "bankname": {
  9192. "description": "银行名称",
  9193. "type": "string"
  9194. },
  9195. "bankpictureurl": {
  9196. "description": "银行卡正面地址",
  9197. "type": "string"
  9198. },
  9199. "biznature": {
  9200. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9201. "type": "integer"
  9202. },
  9203. "bizscope": {
  9204. "description": "企业经营范围(企业)",
  9205. "type": "string"
  9206. },
  9207. "biztype": {
  9208. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9209. "type": "integer"
  9210. },
  9211. "brokerid": {
  9212. "description": "经纪人ID(加密存储)",
  9213. "type": "string"
  9214. },
  9215. "cardaddress": {
  9216. "description": "证件地址 (加密存储)",
  9217. "type": "string"
  9218. },
  9219. "cardbackphotourl": {
  9220. "description": "背面证件照地址",
  9221. "type": "string"
  9222. },
  9223. "cardfrontphotourl": {
  9224. "description": "正面证件照地址",
  9225. "type": "string"
  9226. },
  9227. "cardnum": {
  9228. "description": "证件号码 (加密存储)",
  9229. "type": "string"
  9230. },
  9231. "cardtype": {
  9232. "description": "证件类型",
  9233. "type": "integer"
  9234. },
  9235. "cityid": {
  9236. "description": "市",
  9237. "type": "integer"
  9238. },
  9239. "company": {
  9240. "description": "公司(个人)",
  9241. "type": "string"
  9242. },
  9243. "contactcardbackphotourl": {
  9244. "description": "联系人证件背面图片地址",
  9245. "type": "string"
  9246. },
  9247. "contactcardfrontphotourl": {
  9248. "description": "联系人证件正面图片地址",
  9249. "type": "string"
  9250. },
  9251. "contactname": {
  9252. "description": "联系人",
  9253. "type": "string"
  9254. },
  9255. "countryid": {
  9256. "description": "国家",
  9257. "type": "integer"
  9258. },
  9259. "createtime": {
  9260. "description": "开户申请时间",
  9261. "type": "string"
  9262. },
  9263. "cusbankid": {
  9264. "description": "签约类型",
  9265. "type": "string"
  9266. },
  9267. "cusbankname": {
  9268. "description": "签约类型名称",
  9269. "type": "string"
  9270. },
  9271. "customername": {
  9272. "description": "客户名称(企业名称)",
  9273. "type": "string"
  9274. },
  9275. "districtid": {
  9276. "description": "地区",
  9277. "type": "integer"
  9278. },
  9279. "email": {
  9280. "description": "Email地址(加密存储)",
  9281. "type": "string"
  9282. },
  9283. "halfbodyphotourl": {
  9284. "description": "半身照地址",
  9285. "type": "string"
  9286. },
  9287. "headurl": {
  9288. "description": "头像地址",
  9289. "type": "string"
  9290. },
  9291. "ipaddress": {
  9292. "description": "IP地址",
  9293. "type": "string"
  9294. },
  9295. "isvalidate": {
  9296. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9297. "type": "string"
  9298. },
  9299. "legalcardbackphotourl": {
  9300. "description": "法人身份证背面照地址",
  9301. "type": "string"
  9302. },
  9303. "legalcardfrontphotourl": {
  9304. "description": "法人身份证正面照地址",
  9305. "type": "string"
  9306. },
  9307. "legalpersonname": {
  9308. "description": "法人姓名(企业)",
  9309. "type": "string"
  9310. },
  9311. "logincode": {
  9312. "description": "登录帐号 (加密存储)",
  9313. "type": "string"
  9314. },
  9315. "memberareaid": {
  9316. "description": "所属会员ID",
  9317. "type": "integer"
  9318. },
  9319. "mobile2": {
  9320. "description": "手机号码[明文-尚志]",
  9321. "type": "string"
  9322. },
  9323. "mobilephone": {
  9324. "description": "手机号码 (加密存储)",
  9325. "type": "string"
  9326. },
  9327. "modifiedby": {
  9328. "description": "修改人帐号",
  9329. "type": "integer"
  9330. },
  9331. "modifiedtime": {
  9332. "description": "修改时间",
  9333. "type": "string"
  9334. },
  9335. "nickname": {
  9336. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9337. "type": "string"
  9338. },
  9339. "openmode": {
  9340. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9341. "type": "integer"
  9342. },
  9343. "otherurl": {
  9344. "description": "其它图片地址[使用分号分隔]",
  9345. "type": "string"
  9346. },
  9347. "postalcode": {
  9348. "description": "邮政编码",
  9349. "type": "string"
  9350. },
  9351. "provinceid": {
  9352. "description": "省",
  9353. "type": "integer"
  9354. },
  9355. "proxystatementurl": {
  9356. "description": "授权委托书",
  9357. "type": "string"
  9358. },
  9359. "qq": {
  9360. "description": "QQ(加密存储",
  9361. "type": "string"
  9362. },
  9363. "referral": {
  9364. "description": "推荐人编码",
  9365. "type": "string"
  9366. },
  9367. "remark": {
  9368. "description": "备注",
  9369. "type": "string"
  9370. },
  9371. "removebeforestatus": {
  9372. "description": "REMOVEBEFORESTATUS",
  9373. "type": "integer"
  9374. },
  9375. "sex": {
  9376. "description": "性别 - 0:女 1:男",
  9377. "type": "integer"
  9378. },
  9379. "signedstatus": {
  9380. "description": "账户一号签签约状态",
  9381. "type": "integer"
  9382. },
  9383. "signpdfurl": {
  9384. "description": "签约pdf文件",
  9385. "type": "string"
  9386. },
  9387. "subbranch": {
  9388. "description": "开户支行",
  9389. "type": "string"
  9390. },
  9391. "telphone": {
  9392. "description": "联系电话(加密存储)",
  9393. "type": "string"
  9394. },
  9395. "userid": {
  9396. "description": "用户ID(自增ID)",
  9397. "type": "integer"
  9398. },
  9399. "userinfotype": {
  9400. "description": "用户信息类型 - 1:个人 2:企业",
  9401. "type": "integer"
  9402. },
  9403. "username": {
  9404. "description": "用户姓名",
  9405. "type": "string"
  9406. },
  9407. "userstate": {
  9408. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9409. "type": "integer"
  9410. },
  9411. "usertype": {
  9412. "description": "用户类型 - 1:投资者 2:机构",
  9413. "type": "integer"
  9414. },
  9415. "videourl": {
  9416. "description": "视频地址",
  9417. "type": "string"
  9418. },
  9419. "wechat": {
  9420. "description": "微信号 (加密存储)",
  9421. "type": "string"
  9422. }
  9423. }
  9424. },
  9425. "erms3.CustomerInfo": {
  9426. "type": "object",
  9427. "required": [
  9428. "userid"
  9429. ],
  9430. "properties": {
  9431. "accountids": {
  9432. "description": "资金账户ID列表",
  9433. "type": "array",
  9434. "items": {
  9435. "type": "integer"
  9436. }
  9437. },
  9438. "customername": {
  9439. "description": "名称(企业名称)",
  9440. "type": "string"
  9441. },
  9442. "mobile": {
  9443. "description": "手机号码",
  9444. "type": "string"
  9445. },
  9446. "userid": {
  9447. "description": "用户ID",
  9448. "type": "integer"
  9449. }
  9450. }
  9451. },
  9452. "erms3.ModifyUserInfoApplyReq": {
  9453. "type": "object",
  9454. "required": [
  9455. "userid"
  9456. ],
  9457. "properties": {
  9458. "accountid": {
  9459. "description": "交易系统帐号Id (加密存储)",
  9460. "type": "integer"
  9461. },
  9462. "areacode": {
  9463. "description": "机构代码",
  9464. "type": "string"
  9465. },
  9466. "areaid": {
  9467. "description": "机构Id",
  9468. "type": "integer"
  9469. },
  9470. "attachment1": {
  9471. "description": "附件1",
  9472. "type": "string"
  9473. },
  9474. "attachment2": {
  9475. "description": "附件2",
  9476. "type": "string"
  9477. },
  9478. "attachment3": {
  9479. "description": "附件3",
  9480. "type": "string"
  9481. },
  9482. "attachment4": {
  9483. "description": "附件4",
  9484. "type": "string"
  9485. },
  9486. "attachment5": {
  9487. "description": "附件5",
  9488. "type": "string"
  9489. },
  9490. "auditedby": {
  9491. "description": "审核人",
  9492. "type": "string"
  9493. },
  9494. "auditime": {
  9495. "description": "审核时间",
  9496. "type": "string"
  9497. },
  9498. "bankaccount": {
  9499. "description": "银行帐号 (加密存储)",
  9500. "type": "string"
  9501. },
  9502. "bankaccountname": {
  9503. "description": "收款人名称",
  9504. "type": "string"
  9505. },
  9506. "bankcardbackphotourl": {
  9507. "description": "银行卡背面照地址",
  9508. "type": "string"
  9509. },
  9510. "bankcardfrontphotourl": {
  9511. "description": "银行卡正面照地址",
  9512. "type": "string"
  9513. },
  9514. "bankid": {
  9515. "description": "银行编码",
  9516. "type": "string"
  9517. },
  9518. "bankname": {
  9519. "description": "银行名称",
  9520. "type": "string"
  9521. },
  9522. "bankpictureurl": {
  9523. "description": "银行卡正面地址",
  9524. "type": "string"
  9525. },
  9526. "biznature": {
  9527. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9528. "type": "integer"
  9529. },
  9530. "bizscope": {
  9531. "description": "企业经营范围(企业)",
  9532. "type": "string"
  9533. },
  9534. "biztype": {
  9535. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9536. "type": "integer"
  9537. },
  9538. "brokerid": {
  9539. "description": "经纪人ID(加密存储)",
  9540. "type": "string"
  9541. },
  9542. "cardaddress": {
  9543. "description": "证件地址 (加密存储)",
  9544. "type": "string"
  9545. },
  9546. "cardbackphotourl": {
  9547. "description": "背面证件照地址",
  9548. "type": "string"
  9549. },
  9550. "cardfrontphotourl": {
  9551. "description": "正面证件照地址",
  9552. "type": "string"
  9553. },
  9554. "cardnum": {
  9555. "description": "证件号码 (加密存储)",
  9556. "type": "string"
  9557. },
  9558. "cardtype": {
  9559. "description": "证件类型",
  9560. "type": "integer"
  9561. },
  9562. "cityid": {
  9563. "description": "市",
  9564. "type": "integer"
  9565. },
  9566. "company": {
  9567. "description": "公司(个人)",
  9568. "type": "string"
  9569. },
  9570. "contactcardbackphotourl": {
  9571. "description": "联系人证件背面图片地址",
  9572. "type": "string"
  9573. },
  9574. "contactcardfrontphotourl": {
  9575. "description": "联系人证件正面图片地址",
  9576. "type": "string"
  9577. },
  9578. "contactname": {
  9579. "description": "联系人",
  9580. "type": "string"
  9581. },
  9582. "countryid": {
  9583. "description": "国家",
  9584. "type": "integer"
  9585. },
  9586. "createtime": {
  9587. "description": "开户申请时间",
  9588. "type": "string"
  9589. },
  9590. "cusbankid": {
  9591. "description": "签约类型",
  9592. "type": "string"
  9593. },
  9594. "cusbankname": {
  9595. "description": "签约类型名称",
  9596. "type": "string"
  9597. },
  9598. "customername": {
  9599. "description": "客户名称(企业名称)",
  9600. "type": "string"
  9601. },
  9602. "districtid": {
  9603. "description": "地区",
  9604. "type": "integer"
  9605. },
  9606. "email": {
  9607. "description": "Email地址(加密存储)",
  9608. "type": "string"
  9609. },
  9610. "halfbodyphotourl": {
  9611. "description": "半身照地址",
  9612. "type": "string"
  9613. },
  9614. "headurl": {
  9615. "description": "头像地址",
  9616. "type": "string"
  9617. },
  9618. "ipaddress": {
  9619. "description": "IP地址",
  9620. "type": "string"
  9621. },
  9622. "isvalidate": {
  9623. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9624. "type": "string"
  9625. },
  9626. "legalcardbackphotourl": {
  9627. "description": "法人身份证背面照地址",
  9628. "type": "string"
  9629. },
  9630. "legalcardfrontphotourl": {
  9631. "description": "法人身份证正面照地址",
  9632. "type": "string"
  9633. },
  9634. "legalpersonname": {
  9635. "description": "法人姓名(企业)",
  9636. "type": "string"
  9637. },
  9638. "logincode": {
  9639. "description": "登录帐号 (加密存储)",
  9640. "type": "string"
  9641. },
  9642. "memberareaid": {
  9643. "description": "所属会员ID",
  9644. "type": "integer"
  9645. },
  9646. "mobile2": {
  9647. "description": "手机号码[明文-尚志]",
  9648. "type": "string"
  9649. },
  9650. "mobilephone": {
  9651. "description": "手机号码 (加密存储)",
  9652. "type": "string"
  9653. },
  9654. "modifiedby": {
  9655. "description": "修改人帐号",
  9656. "type": "integer"
  9657. },
  9658. "modifiedtime": {
  9659. "description": "修改时间",
  9660. "type": "string"
  9661. },
  9662. "nickname": {
  9663. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9664. "type": "string"
  9665. },
  9666. "openmode": {
  9667. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9668. "type": "integer"
  9669. },
  9670. "otherurl": {
  9671. "description": "其它图片地址[使用分号分隔]",
  9672. "type": "string"
  9673. },
  9674. "postalcode": {
  9675. "description": "邮政编码",
  9676. "type": "string"
  9677. },
  9678. "provinceid": {
  9679. "description": "省",
  9680. "type": "integer"
  9681. },
  9682. "proxystatementurl": {
  9683. "description": "授权委托书",
  9684. "type": "string"
  9685. },
  9686. "qq": {
  9687. "description": "QQ(加密存储",
  9688. "type": "string"
  9689. },
  9690. "referral": {
  9691. "description": "推荐人编码",
  9692. "type": "string"
  9693. },
  9694. "remark": {
  9695. "description": "备注",
  9696. "type": "string"
  9697. },
  9698. "removebeforestatus": {
  9699. "description": "REMOVEBEFORESTATUS",
  9700. "type": "integer"
  9701. },
  9702. "sex": {
  9703. "description": "性别 - 0:女 1:男",
  9704. "type": "integer"
  9705. },
  9706. "signedstatus": {
  9707. "description": "账户一号签签约状态",
  9708. "type": "integer"
  9709. },
  9710. "signpdfurl": {
  9711. "description": "签约pdf文件",
  9712. "type": "string"
  9713. },
  9714. "subbranch": {
  9715. "description": "开户支行",
  9716. "type": "string"
  9717. },
  9718. "telphone": {
  9719. "description": "联系电话(加密存储)",
  9720. "type": "string"
  9721. },
  9722. "userid": {
  9723. "description": "用户ID(自增ID)",
  9724. "type": "integer"
  9725. },
  9726. "userinfotype": {
  9727. "description": "用户信息类型 - 1:个人 2:企业",
  9728. "type": "integer"
  9729. },
  9730. "username": {
  9731. "description": "用户姓名",
  9732. "type": "string"
  9733. },
  9734. "userstate": {
  9735. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9736. "type": "integer"
  9737. },
  9738. "usertype": {
  9739. "description": "用户类型 - 1:投资者 2:机构",
  9740. "type": "integer"
  9741. },
  9742. "videourl": {
  9743. "description": "视频地址",
  9744. "type": "string"
  9745. },
  9746. "wechat": {
  9747. "description": "微信号 (加密存储)",
  9748. "type": "string"
  9749. }
  9750. }
  9751. },
  9752. "erms3.QryAuditContractRsp": {
  9753. "type": "object",
  9754. "required": [
  9755. "matchcustomername",
  9756. "spotcontractid"
  9757. ],
  9758. "properties": {
  9759. "accountid": {
  9760. "description": "交易员ID",
  9761. "type": "string"
  9762. },
  9763. "applystatus": {
  9764. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9765. "type": "integer"
  9766. },
  9767. "curdeliveryqty": {
  9768. "description": "未交收量",
  9769. "type": "integer"
  9770. },
  9771. "customername": {
  9772. "description": "采购方ID",
  9773. "type": "string"
  9774. },
  9775. "deliverygoodsid": {
  9776. "description": "品种ID",
  9777. "type": "string"
  9778. },
  9779. "deliveryqty": {
  9780. "description": "交收量",
  9781. "type": "integer"
  9782. },
  9783. "enumdicname": {
  9784. "description": "单位名称",
  9785. "type": "string"
  9786. },
  9787. "matchaccountid": {
  9788. "description": "业务员ID",
  9789. "type": "string"
  9790. },
  9791. "matchcustomername": {
  9792. "description": "销售方ID",
  9793. "type": "string"
  9794. },
  9795. "pricedqty": {
  9796. "description": "定价量",
  9797. "type": "number"
  9798. },
  9799. "signdate": {
  9800. "description": "签订日期",
  9801. "type": "string"
  9802. },
  9803. "spotcontractid": {
  9804. "description": "合同ID",
  9805. "type": "string"
  9806. },
  9807. "totaldqty": {
  9808. "description": "合同量",
  9809. "type": "number"
  9810. },
  9811. "unpricedqty": {
  9812. "description": "未定价量",
  9813. "type": "number"
  9814. },
  9815. "wrstandardname": {
  9816. "description": "商品名称",
  9817. "type": "string"
  9818. }
  9819. }
  9820. },
  9821. "erms3.QryPendingBizRsp": {
  9822. "$ref": "#/definitions/models.PendingAuditBizModel"
  9823. },
  9824. "erms3.QueryBusinessInfoRsp": {
  9825. "type": "object",
  9826. "properties": {
  9827. "businessid": {
  9828. "description": "业务ID.",
  9829. "type": "integer"
  9830. },
  9831. "buyamount": {
  9832. "description": "采购额.",
  9833. "type": "number"
  9834. },
  9835. "buyqty": {
  9836. "description": "采购量.",
  9837. "type": "string"
  9838. },
  9839. "futurepl": {
  9840. "description": "期货盈亏.",
  9841. "type": "number"
  9842. },
  9843. "futureqty": {
  9844. "description": "期货敞口.",
  9845. "type": "string"
  9846. },
  9847. "goodsid": {
  9848. "description": "商品名称/商品代码.",
  9849. "type": "string"
  9850. },
  9851. "hedgingqty": {
  9852. "description": "套保量.",
  9853. "type": "string"
  9854. },
  9855. "sellamount": {
  9856. "description": "销售额.",
  9857. "type": "number"
  9858. },
  9859. "sellqty": {
  9860. "description": "销售量.",
  9861. "type": "string"
  9862. },
  9863. "spotmarketvalue": {
  9864. "description": "现货市值.",
  9865. "type": "number"
  9866. },
  9867. "spotpl": {
  9868. "description": "浮动权益.",
  9869. "type": "number"
  9870. },
  9871. "spotqty": {
  9872. "description": "现货量.",
  9873. "type": "string"
  9874. },
  9875. "statu": {
  9876. "description": "状态,0-未结束 1-已结束.",
  9877. "type": "integer"
  9878. },
  9879. "totalpl": {
  9880. "description": "总盈亏.",
  9881. "type": "number"
  9882. },
  9883. "totalqty": {
  9884. "description": "总敞口.",
  9885. "type": "string"
  9886. },
  9887. "type": {
  9888. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  9889. "type": "integer"
  9890. }
  9891. }
  9892. },
  9893. "erms3.QuerySpotContractAppleFormRsp": {
  9894. "type": "object",
  9895. "properties": {
  9896. "goodses": {
  9897. "description": "合约列表",
  9898. "type": "array",
  9899. "items": {
  9900. "$ref": "#/definitions/models.GoodsIDAndName"
  9901. }
  9902. },
  9903. "oppositeusers": {
  9904. "description": "对方账号列表",
  9905. "type": "array",
  9906. "items": {
  9907. "$ref": "#/definitions/erms3.CustomerInfo"
  9908. }
  9909. },
  9910. "ouruser": {
  9911. "description": "我方账号",
  9912. "type": "object",
  9913. "$ref": "#/definitions/erms3.CustomerInfo"
  9914. },
  9915. "warehouseinfos": {
  9916. "description": "仓库信息列表",
  9917. "type": "array",
  9918. "items": {
  9919. "$ref": "#/definitions/models.Warehouseinfo"
  9920. }
  9921. },
  9922. "wrstandards": {
  9923. "description": "仓单标准列表",
  9924. "type": "array",
  9925. "items": {
  9926. "$ref": "#/definitions/models.WRStandardInfo"
  9927. }
  9928. }
  9929. }
  9930. },
  9931. "erms3.QuerySpotContractInfoRsp": {
  9932. "type": "object",
  9933. "properties": {
  9934. "accountid": {
  9935. "description": "表示交易员ID.",
  9936. "type": "integer"
  9937. },
  9938. "curdeliveryqty": {
  9939. "description": "表示未交收量.",
  9940. "type": "number"
  9941. },
  9942. "customername": {
  9943. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  9944. "type": "string"
  9945. },
  9946. "deliverygoodsid": {
  9947. "description": "表示品种ID.",
  9948. "type": "string"
  9949. },
  9950. "deliveryqty": {
  9951. "description": "表示交收量.",
  9952. "type": "number"
  9953. },
  9954. "matchaccountid": {
  9955. "description": "表示业务员ID.",
  9956. "type": "integer"
  9957. },
  9958. "matchcustomername": {
  9959. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  9960. "type": "string"
  9961. },
  9962. "priceqty": {
  9963. "description": "表示定价量.",
  9964. "type": "number"
  9965. },
  9966. "relatedbizid": {
  9967. "description": "表示业务ID.",
  9968. "type": "string"
  9969. },
  9970. "signdate": {
  9971. "description": "表示签订日期.",
  9972. "type": "string"
  9973. },
  9974. "spotcontractid": {
  9975. "description": "合同ID",
  9976. "type": "string"
  9977. },
  9978. "status": {
  9979. "description": "表示状态,0-履约中 1-已完成.",
  9980. "type": "integer"
  9981. },
  9982. "totalqty": {
  9983. "description": "表示合同量.",
  9984. "type": "number"
  9985. },
  9986. "unpricedqty": {
  9987. "description": "表示未定价量.",
  9988. "type": "number"
  9989. },
  9990. "wrstandardname": {
  9991. "description": "表示商品ID.",
  9992. "type": "string"
  9993. }
  9994. }
  9995. },
  9996. "erms3.QueryUserInfoAppliesRsp": {
  9997. "type": "object",
  9998. "required": [
  9999. "userid"
  10000. ],
  10001. "properties": {
  10002. "biznature": {
  10003. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10004. "type": "integer"
  10005. },
  10006. "contactname": {
  10007. "description": "联系人",
  10008. "type": "string"
  10009. },
  10010. "createtime": {
  10011. "description": "开户申请时间",
  10012. "type": "string"
  10013. },
  10014. "userid": {
  10015. "description": "用户ID(自增ID)",
  10016. "type": "integer"
  10017. },
  10018. "userinfotype": {
  10019. "description": "用户信息类型 - 1:个人 2:企业",
  10020. "type": "integer"
  10021. },
  10022. "username": {
  10023. "description": "用户姓名",
  10024. "type": "string"
  10025. },
  10026. "userstate": {
  10027. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10028. "type": "integer"
  10029. }
  10030. }
  10031. },
  10032. "erms3.QueryUserInfosRsp": {
  10033. "type": "object",
  10034. "required": [
  10035. "userid"
  10036. ],
  10037. "properties": {
  10038. "biznature": {
  10039. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10040. "type": "integer"
  10041. },
  10042. "contactname": {
  10043. "description": "联系人",
  10044. "type": "string"
  10045. },
  10046. "customername": {
  10047. "description": "客户名称(企业名称)",
  10048. "type": "string"
  10049. },
  10050. "userid": {
  10051. "description": "用户ID",
  10052. "type": "integer"
  10053. },
  10054. "userinfotype": {
  10055. "description": "用户信息类型 - 1:个人 2:企业",
  10056. "type": "integer"
  10057. },
  10058. "userstatus": {
  10059. "description": "用户状态 - 1:正常 2:注销",
  10060. "type": "integer"
  10061. }
  10062. }
  10063. },
  10064. "erms3.SoptContractDetail": {
  10065. "type": "object",
  10066. "required": [
  10067. "deliverygoodsid",
  10068. "producttype",
  10069. "unitname",
  10070. "warehouseid",
  10071. "wrstandardid",
  10072. "wrstandardname"
  10073. ],
  10074. "properties": {
  10075. "deliverygoodsdesc": {
  10076. "description": "现货品种说明",
  10077. "type": "string"
  10078. },
  10079. "deliverygoodsid": {
  10080. "description": "现货品种ID",
  10081. "type": "integer"
  10082. },
  10083. "deliverygoodsname": {
  10084. "description": "现货品种名称",
  10085. "type": "string"
  10086. },
  10087. "pointdesc": {
  10088. "description": "点价描述",
  10089. "type": "string"
  10090. },
  10091. "producttype": {
  10092. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10093. "type": "integer"
  10094. },
  10095. "producttypename": {
  10096. "description": "产品类型名称",
  10097. "type": "string"
  10098. },
  10099. "spotPointOrderVoList": {
  10100. "description": "点价列表",
  10101. "type": "array",
  10102. "items": {
  10103. "$ref": "#/definitions/erms3.SpotPointOrder"
  10104. }
  10105. },
  10106. "spotPriceOrderList": {
  10107. "description": "定价列表",
  10108. "type": "array",
  10109. "items": {
  10110. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10111. }
  10112. },
  10113. "unitname": {
  10114. "description": "单位名称",
  10115. "type": "string"
  10116. },
  10117. "warehouseid": {
  10118. "description": "仓库ID",
  10119. "type": "integer"
  10120. },
  10121. "warehousename": {
  10122. "description": "仓库名称",
  10123. "type": "string"
  10124. },
  10125. "wrstandardid": {
  10126. "description": "交易标的ID",
  10127. "type": "integer"
  10128. },
  10129. "wrstandardname": {
  10130. "description": "交易标的名称",
  10131. "type": "string"
  10132. }
  10133. }
  10134. },
  10135. "erms3.SpotPointOrder": {
  10136. "type": "object",
  10137. "required": [
  10138. "basic",
  10139. "goodsid",
  10140. "qty"
  10141. ],
  10142. "properties": {
  10143. "basic": {
  10144. "description": "基差",
  10145. "type": "number"
  10146. },
  10147. "deliveryenddate": {
  10148. "description": "交收结束日期",
  10149. "type": "string"
  10150. },
  10151. "deliverystartdate": {
  10152. "description": "交收开始日期",
  10153. "type": "string"
  10154. },
  10155. "enddate": {
  10156. "description": "点价结束日期",
  10157. "type": "string"
  10158. },
  10159. "goodsid": {
  10160. "description": "商品ID",
  10161. "type": "integer"
  10162. },
  10163. "goodsname": {
  10164. "description": "商品名称",
  10165. "type": "string"
  10166. },
  10167. "qty": {
  10168. "description": "数量",
  10169. "type": "number"
  10170. },
  10171. "startdate": {
  10172. "description": "点价开始日期",
  10173. "type": "string"
  10174. }
  10175. }
  10176. },
  10177. "erms3.SpotPriceOrder": {
  10178. "type": "object",
  10179. "required": [
  10180. "amount",
  10181. "price",
  10182. "qty"
  10183. ],
  10184. "properties": {
  10185. "amount": {
  10186. "description": "金额",
  10187. "type": "number"
  10188. },
  10189. "deliveryenddate": {
  10190. "description": "交收结束日期",
  10191. "type": "string"
  10192. },
  10193. "deliverystartdate": {
  10194. "description": "交收开始日期",
  10195. "type": "string"
  10196. },
  10197. "price": {
  10198. "description": "价格",
  10199. "type": "number"
  10200. },
  10201. "qty": {
  10202. "description": "数量",
  10203. "type": "number"
  10204. }
  10205. }
  10206. },
  10207. "hsby.GetHsbyMyCountRsp": {
  10208. "type": "object",
  10209. "properties": {
  10210. "myCouponCount": {
  10211. "description": "我的优惠卷数量",
  10212. "type": "integer"
  10213. },
  10214. "myOrderDetailListingCount": {
  10215. "description": "我的订单求购中数量",
  10216. "type": "integer"
  10217. },
  10218. "myOrderDetailPreCount": {
  10219. "description": "我的订单抢购中数量",
  10220. "type": "integer"
  10221. },
  10222. "myPackageUnReceiveCount": {
  10223. "description": "我的包裹待收货数量",
  10224. "type": "integer"
  10225. },
  10226. "myPackageUnSendCount": {
  10227. "description": "我的包裹待发货数量",
  10228. "type": "integer"
  10229. },
  10230. "myPayOrderCount": {
  10231. "description": "我的订单待付款数量",
  10232. "type": "integer"
  10233. }
  10234. }
  10235. },
  10236. "hsby.QueryProvincesAndCitiesRsp": {
  10237. "type": "object",
  10238. "properties": {
  10239. "cities": {
  10240. "description": "市",
  10241. "type": "array",
  10242. "items": {
  10243. "$ref": "#/definitions/models.Division"
  10244. }
  10245. },
  10246. "province": {
  10247. "description": "省",
  10248. "type": "object",
  10249. "$ref": "#/definitions/models.Division"
  10250. }
  10251. }
  10252. },
  10253. "models.AreaSpotModel": {
  10254. "type": "object",
  10255. "properties": {
  10256. "areauserid": {
  10257. "description": "所属机构",
  10258. "type": "integer"
  10259. },
  10260. "decreaseqty": {
  10261. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10262. "type": "number"
  10263. },
  10264. "increaseqty": {
  10265. "description": "增加数量=销售计划数量+采购已定价数量",
  10266. "type": "number"
  10267. },
  10268. "oritoalspotqty": {
  10269. "description": "昨日数量",
  10270. "type": "number"
  10271. },
  10272. "totalspotqty": {
  10273. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10274. "type": "number"
  10275. },
  10276. "updatetime": {
  10277. "description": "更新时间",
  10278. "type": "string"
  10279. },
  10280. "wrstandardcode": {
  10281. "description": "现货品种代码",
  10282. "type": "string"
  10283. },
  10284. "wrstandardid": {
  10285. "description": "现货商品ID",
  10286. "type": "integer"
  10287. },
  10288. "wrstandardname": {
  10289. "description": "现货品种",
  10290. "type": "string"
  10291. }
  10292. }
  10293. },
  10294. "models.Clientfixedadconfig": {
  10295. "type": "object",
  10296. "required": [
  10297. "adsort",
  10298. "adtype"
  10299. ],
  10300. "properties": {
  10301. "adsort": {
  10302. "description": "排序",
  10303. "type": "integer"
  10304. },
  10305. "adtype": {
  10306. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10307. "type": "integer"
  10308. },
  10309. "areauserid": {
  10310. "description": "所属机构ID",
  10311. "type": "integer"
  10312. },
  10313. "createdate": {
  10314. "description": "创建时间",
  10315. "type": "string"
  10316. },
  10317. "creatorid": {
  10318. "description": "创建人",
  10319. "type": "integer"
  10320. },
  10321. "imagepath": {
  10322. "description": "图片",
  10323. "type": "string"
  10324. },
  10325. "isshow": {
  10326. "description": "是否展示 - 0:不展示 1:展示",
  10327. "type": "integer"
  10328. },
  10329. "modifierid": {
  10330. "description": "操作人",
  10331. "type": "integer"
  10332. },
  10333. "recsize": {
  10334. "description": "推荐尺寸",
  10335. "type": "string"
  10336. },
  10337. "title": {
  10338. "description": "标题",
  10339. "type": "string"
  10340. },
  10341. "updatedate": {
  10342. "description": "更新时间",
  10343. "type": "string"
  10344. },
  10345. "urlcontent": {
  10346. "description": "链接(地址或商品ID)",
  10347. "type": "string"
  10348. },
  10349. "urltype": {
  10350. "description": "链接类型 - 1:直接地址 2:商品ID",
  10351. "type": "integer"
  10352. }
  10353. }
  10354. },
  10355. "models.Division": {
  10356. "type": "object",
  10357. "required": [
  10358. "autoid",
  10359. "divisioncode"
  10360. ],
  10361. "properties": {
  10362. "autoid": {
  10363. "description": "自增ID",
  10364. "type": "integer"
  10365. },
  10366. "divisioncode": {
  10367. "description": "行政代码",
  10368. "type": "string"
  10369. },
  10370. "divisionlevel": {
  10371. "description": "行政级别",
  10372. "type": "string"
  10373. },
  10374. "divisionname": {
  10375. "description": "行政名称",
  10376. "type": "string"
  10377. },
  10378. "modifierid": {
  10379. "description": "修改人",
  10380. "type": "integer"
  10381. },
  10382. "modifytime": {
  10383. "description": "修改时间",
  10384. "type": "string"
  10385. },
  10386. "parentcode": {
  10387. "description": "上级行政代码",
  10388. "type": "string"
  10389. },
  10390. "pathname": {
  10391. "description": "路径名称",
  10392. "type": "string"
  10393. },
  10394. "postcode": {
  10395. "description": "邮政编码",
  10396. "type": "string"
  10397. },
  10398. "separablename": {
  10399. "description": "可拆分的全称",
  10400. "type": "string"
  10401. },
  10402. "shortcode": {
  10403. "description": "地区简码",
  10404. "type": "string"
  10405. }
  10406. }
  10407. },
  10408. "models.Enumdicitem": {
  10409. "type": "object",
  10410. "required": [
  10411. "autoid",
  10412. "enumdiccode",
  10413. "enumdicid",
  10414. "enumitemname"
  10415. ],
  10416. "properties": {
  10417. "autoid": {
  10418. "description": "自增ID",
  10419. "type": "integer"
  10420. },
  10421. "bankmappedvalue": {
  10422. "description": "银行服务对应值",
  10423. "type": "string"
  10424. },
  10425. "enumdiccode": {
  10426. "description": "所属枚举代码",
  10427. "type": "string"
  10428. },
  10429. "enumdicid": {
  10430. "description": "所属枚举ID",
  10431. "type": "integer"
  10432. },
  10433. "enumdicname": {
  10434. "description": "枚举项名称",
  10435. "type": "string"
  10436. },
  10437. "enumitemname": {
  10438. "description": "枚举项值",
  10439. "type": "integer"
  10440. },
  10441. "enumitemstatus": {
  10442. "description": "枚举项状态 - 1.启用 2.不启用",
  10443. "type": "integer"
  10444. },
  10445. "enumitemvalue": {
  10446. "description": "通用值 - [币种通用简写]",
  10447. "type": "string"
  10448. },
  10449. "param1": {
  10450. "description": "参数1[币种:币种小数位]",
  10451. "type": "string"
  10452. },
  10453. "param2": {
  10454. "description": "参数1[币种:币种显示单位]",
  10455. "type": "string"
  10456. },
  10457. "remark": {
  10458. "description": "备注",
  10459. "type": "string"
  10460. }
  10461. }
  10462. },
  10463. "models.ErmcpAreaSpotDetailModel": {
  10464. "type": "object",
  10465. "properties": {
  10466. "contracttype": {
  10467. "description": "合同类型 1-采购 -1-销售",
  10468. "type": "integer"
  10469. },
  10470. "createtime": {
  10471. "description": "创建时间",
  10472. "type": "string"
  10473. },
  10474. "enumdicname": {
  10475. "description": "现货商品单位名称",
  10476. "type": "string"
  10477. },
  10478. "logtype": {
  10479. "description": "记录类型 1-套保 2-现货合同",
  10480. "type": "integer"
  10481. },
  10482. "qty": {
  10483. "description": "数量",
  10484. "type": "number"
  10485. },
  10486. "recordname": {
  10487. "description": "类型名称",
  10488. "type": "string"
  10489. },
  10490. "relatedid": {
  10491. "description": "套保计划ID/现货合同ID",
  10492. "type": "string"
  10493. },
  10494. "relatedno": {
  10495. "description": "编号",
  10496. "type": "string"
  10497. },
  10498. "strtime": {
  10499. "description": "时间",
  10500. "type": "string"
  10501. },
  10502. "wrstandardcode": {
  10503. "description": "现货商品代码",
  10504. "type": "string"
  10505. },
  10506. "wrstandardname": {
  10507. "description": "现货商品名称",
  10508. "type": "string"
  10509. }
  10510. }
  10511. },
  10512. "models.ErmcpAvalidGoodsGroupModel": {
  10513. "type": "object",
  10514. "properties": {
  10515. "goodsgroupid": {
  10516. "description": "期货品种id",
  10517. "type": "integer"
  10518. },
  10519. "goodsgroupname": {
  10520. "description": "期货品种名称",
  10521. "type": "string"
  10522. },
  10523. "goodunitid": {
  10524. "description": "品种单位id",
  10525. "type": "integer"
  10526. },
  10527. "goodunitname": {
  10528. "description": "品种单位名称",
  10529. "type": "string"
  10530. },
  10531. "outergroupcode": {
  10532. "description": "期货品种代码",
  10533. "type": "string"
  10534. }
  10535. }
  10536. },
  10537. "models.ErmcpExposureDetailModel": {
  10538. "type": "object",
  10539. "properties": {
  10540. "areauserid": {
  10541. "description": "机构ID",
  10542. "type": "integer"
  10543. },
  10544. "changeQty": {
  10545. "description": "套保变动量",
  10546. "type": "number"
  10547. },
  10548. "contracttype": {
  10549. "description": "现货合同类型 - 1:采购 -1:销售",
  10550. "type": "integer"
  10551. },
  10552. "convertfactor": {
  10553. "description": "标仓系数",
  10554. "type": "number"
  10555. },
  10556. "convertratio": {
  10557. "description": "套保系数",
  10558. "type": "number"
  10559. },
  10560. "createtime": {
  10561. "description": "时间",
  10562. "type": "string"
  10563. },
  10564. "enumdicname": {
  10565. "description": "现货商品单位名称",
  10566. "type": "string"
  10567. },
  10568. "logtype": {
  10569. "description": "类型 - 1:套保计划 2:现货合同",
  10570. "type": "integer"
  10571. },
  10572. "middlegoodsId": {
  10573. "description": "套保商品id",
  10574. "type": "integer"
  10575. },
  10576. "middlegoodscode": {
  10577. "description": "套保商品代码",
  10578. "type": "string"
  10579. },
  10580. "middlegoodsname": {
  10581. "description": "套保商品名称",
  10582. "type": "string"
  10583. },
  10584. "qty": {
  10585. "description": "数量",
  10586. "type": "number"
  10587. },
  10588. "relateNo": {
  10589. "description": "现货合同/套保计划编号",
  10590. "type": "string"
  10591. },
  10592. "wrstandardcode": {
  10593. "description": "现货商品代码",
  10594. "type": "string"
  10595. },
  10596. "wrstandardid": {
  10597. "description": "现货商品ID",
  10598. "type": "integer"
  10599. },
  10600. "wrstandardname": {
  10601. "description": "现货商品名称",
  10602. "type": "string"
  10603. }
  10604. }
  10605. },
  10606. "models.ErmcpExposurePostion": {
  10607. "type": "object",
  10608. "properties": {
  10609. "agreeunit": {
  10610. "description": "合约单位",
  10611. "type": "string"
  10612. },
  10613. "areauserid": {
  10614. "description": "所属机构id",
  10615. "type": "integer"
  10616. },
  10617. "convertratio": {
  10618. "description": "期货品种系数(折算系数)",
  10619. "type": "number"
  10620. },
  10621. "curqty": {
  10622. "description": "当前持仓",
  10623. "type": "integer"
  10624. },
  10625. "diffhedgeqty": {
  10626. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  10627. "type": "number"
  10628. },
  10629. "diffqty": {
  10630. "description": "持仓变动量=当前持仓-昨日持仓",
  10631. "type": "integer"
  10632. },
  10633. "goodscode": {
  10634. "description": "商品代码",
  10635. "type": "string"
  10636. },
  10637. "goodsid": {
  10638. "description": "商品id",
  10639. "type": "integer"
  10640. },
  10641. "goodsname": {
  10642. "description": "商品名称",
  10643. "type": "string"
  10644. },
  10645. "middlegoodsid": {
  10646. "description": "套保商品id",
  10647. "type": "integer"
  10648. },
  10649. "ydqty": {
  10650. "description": "昨日持仓",
  10651. "type": "integer"
  10652. }
  10653. }
  10654. },
  10655. "models.ErmcpGGConvertCfg": {
  10656. "type": "object",
  10657. "properties": {
  10658. "convertratio": {
  10659. "description": "折算系数",
  10660. "type": "number"
  10661. },
  10662. "destgoodsgroupid": {
  10663. "description": "目标品种ID",
  10664. "type": "integer"
  10665. },
  10666. "dstcode": {
  10667. "description": "目录品种代码",
  10668. "type": "string"
  10669. },
  10670. "dstexchangecode": {
  10671. "description": "目标期货交易所",
  10672. "type": "string"
  10673. },
  10674. "dstname": {
  10675. "description": "目标品种名称",
  10676. "type": "string"
  10677. },
  10678. "dstunitid": {
  10679. "description": "目标品种单位ID",
  10680. "type": "integer"
  10681. },
  10682. "dstunitidname": {
  10683. "description": "目标品种单位名称",
  10684. "type": "string"
  10685. },
  10686. "modifytime": {
  10687. "description": "修改时间",
  10688. "type": "string"
  10689. },
  10690. "srccode": {
  10691. "description": "源品种代码",
  10692. "type": "string"
  10693. },
  10694. "srcexchangecode": {
  10695. "description": "源期货交易所",
  10696. "type": "string"
  10697. },
  10698. "srcgoodsgroupid": {
  10699. "description": "源品种ID",
  10700. "type": "integer"
  10701. },
  10702. "srcname": {
  10703. "description": "源品种名称",
  10704. "type": "string"
  10705. },
  10706. "srcunitid": {
  10707. "description": "源品种单位ID",
  10708. "type": "integer"
  10709. },
  10710. "srcunitidname": {
  10711. "description": "源品种单位名称",
  10712. "type": "string"
  10713. }
  10714. }
  10715. },
  10716. "models.ErmcpHedgePlan": {
  10717. "type": "object",
  10718. "properties": {
  10719. "areauserid": {
  10720. "description": "用户ID",
  10721. "type": "integer"
  10722. },
  10723. "audittime": {
  10724. "description": "审核时间",
  10725. "type": "string"
  10726. },
  10727. "contracttype": {
  10728. "description": "计划类型 - 1:采购 -1:销售",
  10729. "type": "integer"
  10730. },
  10731. "convertfactor": {
  10732. "description": "标仓系数",
  10733. "type": "number"
  10734. },
  10735. "createtime": {
  10736. "description": "创建时间",
  10737. "type": "string"
  10738. },
  10739. "deliverygoodsid": {
  10740. "description": "现货品种ID",
  10741. "type": "integer"
  10742. },
  10743. "deliverygoodsname": {
  10744. "description": "现货品种名称",
  10745. "type": "string"
  10746. },
  10747. "hedgeplanid": {
  10748. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  10749. "type": "string"
  10750. },
  10751. "hedgeplanno": {
  10752. "description": "套保计划编号(名称)",
  10753. "type": "string"
  10754. },
  10755. "hedgeplanstatus": {
  10756. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10757. "type": "integer"
  10758. },
  10759. "planqty": {
  10760. "description": "计划数量",
  10761. "type": "number"
  10762. },
  10763. "plantime": {
  10764. "description": "计划时间",
  10765. "type": "string"
  10766. },
  10767. "producttype": {
  10768. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10769. "type": "integer"
  10770. },
  10771. "remark": {
  10772. "description": "备注",
  10773. "type": "string"
  10774. },
  10775. "spotgoodsdesc": {
  10776. "description": "商品型号",
  10777. "type": "string"
  10778. },
  10779. "updatetime": {
  10780. "description": "更新时间",
  10781. "type": "string"
  10782. },
  10783. "wrstandardid": {
  10784. "description": "现货商品ID",
  10785. "type": "integer"
  10786. },
  10787. "wrstandardname": {
  10788. "description": "现货商品名称",
  10789. "type": "string"
  10790. }
  10791. }
  10792. },
  10793. "models.ErmcpHedgePosition": {
  10794. "type": "object",
  10795. "properties": {
  10796. "accountid": {
  10797. "description": "资金账号[外部母账户]",
  10798. "type": "integer"
  10799. },
  10800. "curbuyposition": {
  10801. "description": "期末买头寸",
  10802. "type": "integer"
  10803. },
  10804. "cursellposition": {
  10805. "description": "期末卖头寸",
  10806. "type": "integer"
  10807. },
  10808. "curtdbuyposition": {
  10809. "description": "期末今日买头寸",
  10810. "type": "integer"
  10811. },
  10812. "curtdsellposition": {
  10813. "description": "期末今日卖头寸",
  10814. "type": "integer"
  10815. },
  10816. "curydbuyposition": {
  10817. "description": "期末上日买头寸",
  10818. "type": "integer"
  10819. },
  10820. "curydsellposition": {
  10821. "description": "期末上日卖头寸",
  10822. "type": "integer"
  10823. },
  10824. "decreaseqty": {
  10825. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  10826. "type": "integer"
  10827. },
  10828. "fretdbuyposition": {
  10829. "description": "冻结今日买头寸",
  10830. "type": "integer"
  10831. },
  10832. "fretdsellposition": {
  10833. "description": "冻结今日卖头寸",
  10834. "type": "integer"
  10835. },
  10836. "freydbuyposition": {
  10837. "description": "冻结上日买头寸",
  10838. "type": "integer"
  10839. },
  10840. "freydsellposition": {
  10841. "description": "冻结上日卖头寸",
  10842. "type": "integer"
  10843. },
  10844. "goodscode": {
  10845. "description": "商品代码",
  10846. "type": "string"
  10847. },
  10848. "goodsid": {
  10849. "description": "商品id",
  10850. "type": "integer"
  10851. },
  10852. "goodsname": {
  10853. "description": "商品名称",
  10854. "type": "string"
  10855. },
  10856. "hedgeaccountcode": {
  10857. "description": "对冲账号",
  10858. "type": "string"
  10859. },
  10860. "hedgegoodsid": {
  10861. "description": "对冲合约ID",
  10862. "type": "integer"
  10863. },
  10864. "increaseqty": {
  10865. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  10866. "type": "integer"
  10867. },
  10868. "marketid": {
  10869. "description": "市场ID",
  10870. "type": "integer"
  10871. },
  10872. "relateduserid": {
  10873. "description": "关联用户id",
  10874. "type": "integer"
  10875. },
  10876. "totalcurqty": {
  10877. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  10878. "type": "integer"
  10879. },
  10880. "totalydqty": {
  10881. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  10882. "type": "integer"
  10883. },
  10884. "tradedate": {
  10885. "description": "交易日(yyyyMMdd)",
  10886. "type": "string"
  10887. },
  10888. "ydbuyposition": {
  10889. "description": "期初买头寸",
  10890. "type": "integer"
  10891. },
  10892. "ydsellposition": {
  10893. "description": "期初卖头寸",
  10894. "type": "integer"
  10895. }
  10896. }
  10897. },
  10898. "models.ErmcpHedgePositionDetail": {
  10899. "type": "object",
  10900. "properties": {
  10901. "buyorsell": {
  10902. "description": "买卖方向 0-买 1-卖",
  10903. "type": "integer"
  10904. },
  10905. "channelbuildtype": {
  10906. "description": "开平方向 1-建仓 2-平仓",
  10907. "type": "integer"
  10908. },
  10909. "goodscode": {
  10910. "description": "商品代码",
  10911. "type": "string"
  10912. },
  10913. "goodsname": {
  10914. "description": "商品名称",
  10915. "type": "string"
  10916. },
  10917. "hedgegoodsid": {
  10918. "description": "商品id",
  10919. "type": "integer"
  10920. },
  10921. "tradeqty": {
  10922. "description": "数量(成交数量)",
  10923. "type": "integer"
  10924. },
  10925. "tradetime": {
  10926. "description": "时间(成交时间)",
  10927. "type": "string"
  10928. }
  10929. }
  10930. },
  10931. "models.ErmcpHisExposure": {
  10932. "type": "object",
  10933. "properties": {
  10934. "needhedgeexposoure": {
  10935. "description": "应套保敞口",
  10936. "type": "number"
  10937. },
  10938. "reckondate": {
  10939. "description": "日照时期(yyyyMMdd)",
  10940. "type": "string"
  10941. },
  10942. "totalexposure": {
  10943. "description": "总敞口",
  10944. "type": "number"
  10945. }
  10946. }
  10947. },
  10948. "models.ErmcpHisExposureS": {
  10949. "type": "object",
  10950. "properties": {
  10951. "data": {
  10952. "description": "历史敞口",
  10953. "type": "array",
  10954. "items": {
  10955. "$ref": "#/definitions/models.ErmcpHisExposure"
  10956. }
  10957. },
  10958. "enumdicname": {
  10959. "description": "单位名称",
  10960. "type": "string"
  10961. },
  10962. "middlegoodscode": {
  10963. "description": "套保品种代码",
  10964. "type": "string"
  10965. },
  10966. "middlegoodsid": {
  10967. "description": "套保品种ID",
  10968. "type": "integer"
  10969. },
  10970. "middlegoodsname": {
  10971. "description": "套保品种名称",
  10972. "type": "string"
  10973. }
  10974. }
  10975. },
  10976. "models.ErmcpMiddleGoodsChangeLog": {
  10977. "type": "object",
  10978. "properties": {
  10979. "aftervalue": {
  10980. "description": "变更后",
  10981. "type": "number"
  10982. },
  10983. "applyid": {
  10984. "description": "操作人",
  10985. "type": "integer"
  10986. },
  10987. "applyname": {
  10988. "description": "操作人名称",
  10989. "type": "string"
  10990. },
  10991. "applysrc": {
  10992. "description": "操作来源 - 1:管理端 2:终端",
  10993. "type": "integer"
  10994. },
  10995. "beforevalue": {
  10996. "description": "变更前",
  10997. "type": "number"
  10998. },
  10999. "changelogtype": {
  11000. "description": "变更流水类型 - 1:套保比率变更",
  11001. "type": "integer"
  11002. },
  11003. "handlestatus": {
  11004. "description": "处理状态",
  11005. "type": "integer"
  11006. },
  11007. "logdatetime": {
  11008. "description": "流水日期",
  11009. "type": "string"
  11010. },
  11011. "logid": {
  11012. "description": "流水ID",
  11013. "type": "integer"
  11014. },
  11015. "logremark": {
  11016. "description": "流水备注",
  11017. "type": "string"
  11018. },
  11019. "middlegoodsid": {
  11020. "description": "套保品种ID",
  11021. "type": "integer"
  11022. },
  11023. "tradedate": {
  11024. "description": "交易日(yyyyMMdd)",
  11025. "type": "string"
  11026. },
  11027. "updatetime": {
  11028. "description": "更新时间",
  11029. "type": "string"
  11030. }
  11031. }
  11032. },
  11033. "models.ErmcpMiddleGoodsDetail": {
  11034. "type": "object",
  11035. "properties": {
  11036. "cvList": {
  11037. "description": "期货品种折算列表",
  11038. "type": "array",
  11039. "items": {
  11040. "$ref": "#/definitions/models.GoodsGroupConvert"
  11041. }
  11042. },
  11043. "mg": {
  11044. "description": "套保品种基本信息",
  11045. "type": "object",
  11046. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11047. }
  11048. }
  11049. },
  11050. "models.ErmcpMiddleGoodsModel": {
  11051. "type": "object",
  11052. "properties": {
  11053. "areauserid": {
  11054. "description": "机构用户ID",
  11055. "type": "integer"
  11056. },
  11057. "createtime": {
  11058. "description": "修改时间",
  11059. "type": "string"
  11060. },
  11061. "enumdicname": {
  11062. "description": "单位名称",
  11063. "type": "string"
  11064. },
  11065. "evaluateratio": {
  11066. "description": "估价系数",
  11067. "type": "number"
  11068. },
  11069. "goodsgroupid": {
  11070. "description": "关联期货品种ID",
  11071. "type": "integer"
  11072. },
  11073. "isvalid": {
  11074. "description": "状态 0-无效(停用) 1-有效(正常)",
  11075. "type": "integer"
  11076. },
  11077. "middlegoodscode": {
  11078. "description": "套保品种代码",
  11079. "type": "string"
  11080. },
  11081. "middlegoodsid": {
  11082. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11083. "type": "integer"
  11084. },
  11085. "middlegoodsname": {
  11086. "description": "套保品种名称",
  11087. "type": "string"
  11088. },
  11089. "modifytime": {
  11090. "description": "修改时间",
  11091. "type": "string"
  11092. },
  11093. "needhedgeratio": {
  11094. "description": "套保比率",
  11095. "type": "number"
  11096. },
  11097. "qtydecimalplace": {
  11098. "description": "数量小数位",
  11099. "type": "integer"
  11100. },
  11101. "relatedgoodsid": {
  11102. "description": "关联交易商品ID",
  11103. "type": "integer"
  11104. },
  11105. "relatedgoodstype": {
  11106. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11107. "type": "integer"
  11108. }
  11109. }
  11110. },
  11111. "models.ErmcpModel": {
  11112. "type": "object",
  11113. "properties": {
  11114. "accountname": {
  11115. "description": "账户名称",
  11116. "type": "string"
  11117. },
  11118. "attachment": {
  11119. "description": "附件",
  11120. "type": "string"
  11121. },
  11122. "audittime": {
  11123. "description": "审核时间",
  11124. "type": "string"
  11125. },
  11126. "contracctstatus": {
  11127. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11128. "type": "integer"
  11129. },
  11130. "contractmargin": {
  11131. "description": "合同保证金",
  11132. "type": "number"
  11133. },
  11134. "contractno": {
  11135. "description": "合同编号",
  11136. "type": "string"
  11137. },
  11138. "contracttype": {
  11139. "description": "合同类型 1-采购, -1-销售",
  11140. "type": "integer"
  11141. },
  11142. "convertfactor": {
  11143. "description": "标仓系数",
  11144. "type": "number"
  11145. },
  11146. "createtime": {
  11147. "description": "创建时间",
  11148. "type": "string"
  11149. },
  11150. "daikaiamount": {
  11151. "description": "待开票额",
  11152. "type": "number"
  11153. },
  11154. "deliveryenddate": {
  11155. "description": "交割结束日",
  11156. "type": "string"
  11157. },
  11158. "deliverygoodscode": {
  11159. "description": "现货商品代码",
  11160. "type": "string"
  11161. },
  11162. "deliverygoodsid": {
  11163. "description": "现货商品ID",
  11164. "type": "integer"
  11165. },
  11166. "deliverygoodsname": {
  11167. "description": "现货商品名称",
  11168. "type": "string"
  11169. },
  11170. "deliverystartdate": {
  11171. "description": "交割开始日",
  11172. "type": "string"
  11173. },
  11174. "enddate": {
  11175. "description": "点价结束日",
  11176. "type": "string"
  11177. },
  11178. "enumdicname": {
  11179. "description": "单位名称",
  11180. "type": "string"
  11181. },
  11182. "goodscode": {
  11183. "description": "点价商品代码",
  11184. "type": "string"
  11185. },
  11186. "goodsid": {
  11187. "description": "点价商品ID",
  11188. "type": "integer"
  11189. },
  11190. "goodsname": {
  11191. "description": "点价商品名称",
  11192. "type": "string"
  11193. },
  11194. "invoiceamount": {
  11195. "description": "已开票额",
  11196. "type": "number"
  11197. },
  11198. "loanamount": {
  11199. "description": "贷款总额=已定价额+调整金额",
  11200. "type": "number"
  11201. },
  11202. "margin": {
  11203. "description": "保证金",
  11204. "type": "number"
  11205. },
  11206. "payamount": {
  11207. "description": "已收付额(收款或付款)",
  11208. "type": "number"
  11209. },
  11210. "price": {
  11211. "description": "价格",
  11212. "type": "number"
  11213. },
  11214. "pricedamount": {
  11215. "description": "已定价额",
  11216. "type": "number"
  11217. },
  11218. "pricedavg": {
  11219. "description": "已点均价",
  11220. "type": "number"
  11221. },
  11222. "pricedqty": {
  11223. "description": "已定价量",
  11224. "type": "number"
  11225. },
  11226. "pricemove": {
  11227. "description": "升贴水",
  11228. "type": "number"
  11229. },
  11230. "pricetype": {
  11231. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11232. "type": "integer"
  11233. },
  11234. "producttype": {
  11235. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11236. "type": "integer"
  11237. },
  11238. "qty": {
  11239. "description": "合同量",
  11240. "type": "number"
  11241. },
  11242. "reckonadjustamount": {
  11243. "description": "调整金额",
  11244. "type": "number"
  11245. },
  11246. "reckonedamount": {
  11247. "description": "已收付额(已确定额)",
  11248. "type": "number"
  11249. },
  11250. "reckonotheramount": {
  11251. "description": "其它费用",
  11252. "type": "number"
  11253. },
  11254. "reckonrealqty": {
  11255. "description": "已确定量",
  11256. "type": "number"
  11257. },
  11258. "remark": {
  11259. "description": "备注",
  11260. "type": "string"
  11261. },
  11262. "spotcontractid": {
  11263. "description": "合同ID",
  11264. "type": "string"
  11265. },
  11266. "spotgoodsdesc": {
  11267. "description": "商品型号(商品规格)",
  11268. "type": "string"
  11269. },
  11270. "startdate": {
  11271. "description": "点价开始日",
  11272. "type": "string"
  11273. },
  11274. "totalamount": {
  11275. "description": "合计总额",
  11276. "type": "number"
  11277. },
  11278. "unpayamount": {
  11279. "description": "待支收额(支付或收款)",
  11280. "type": "number"
  11281. },
  11282. "unpricedqty": {
  11283. "description": "未定价量",
  11284. "type": "number"
  11285. },
  11286. "unsureqty": {
  11287. "description": "未确定量",
  11288. "type": "number"
  11289. },
  11290. "userid": {
  11291. "description": "用户ID",
  11292. "type": "integer"
  11293. }
  11294. }
  11295. },
  11296. "models.ErmcpOPLogModel": {
  11297. "type": "object",
  11298. "properties": {
  11299. "aftervalue": {
  11300. "description": "变更后",
  11301. "type": "number"
  11302. },
  11303. "applyid": {
  11304. "description": "操作人ID",
  11305. "type": "string"
  11306. },
  11307. "applyname": {
  11308. "description": "操作人名称",
  11309. "type": "string"
  11310. },
  11311. "beforevalue": {
  11312. "description": "变更前",
  11313. "type": "number"
  11314. },
  11315. "biztype": {
  11316. "description": "业务类型 - 1:套保计划 2:现货合同",
  11317. "type": "integer"
  11318. },
  11319. "contracttype": {
  11320. "description": "现货合同类型 - 1:采购 -1:销售",
  11321. "type": "integer"
  11322. },
  11323. "logvalue": {
  11324. "description": "数值",
  11325. "type": "number"
  11326. },
  11327. "operatelogtype": {
  11328. "description": "操作流水类型",
  11329. "type": "integer"
  11330. },
  11331. "operatelogtypedesc": {
  11332. "description": "操作流水类型名称",
  11333. "type": "string"
  11334. },
  11335. "relatedid": {
  11336. "description": "现货合同ID\\套保计划",
  11337. "type": "string"
  11338. },
  11339. "updatetime": {
  11340. "description": "更新时间",
  11341. "type": "string"
  11342. }
  11343. }
  11344. },
  11345. "models.ErmcpPendingAudit": {
  11346. "type": "object",
  11347. "properties": {
  11348. "businessdjqty": {
  11349. "description": "待审核数量: 点价",
  11350. "type": "integer"
  11351. },
  11352. "businessfpqty": {
  11353. "description": "待审核数量: 发票",
  11354. "type": "integer"
  11355. },
  11356. "businessjsqty": {
  11357. "description": "待审核数量: 结算",
  11358. "type": "integer"
  11359. },
  11360. "businesskxqty": {
  11361. "description": "待审核数量: 款项",
  11362. "type": "integer"
  11363. },
  11364. "hedgeplanqty": {
  11365. "description": "待审核数量: 套保计划",
  11366. "type": "integer"
  11367. },
  11368. "spotcontractqty": {
  11369. "description": "待审核数量: 现货合同",
  11370. "type": "integer"
  11371. },
  11372. "userqty": {
  11373. "description": "待审核数量: 用户",
  11374. "type": "integer"
  11375. }
  11376. }
  11377. },
  11378. "models.ErmcpRealExposureModel": {
  11379. "type": "object",
  11380. "properties": {
  11381. "areaUserID": {
  11382. "description": "所属机构",
  11383. "type": "integer"
  11384. },
  11385. "buyFutureQty": {
  11386. "description": "买入期货数量",
  11387. "type": "number"
  11388. },
  11389. "buyPlanQty": {
  11390. "description": "采购计划数量",
  11391. "type": "number"
  11392. },
  11393. "buyPricedQty": {
  11394. "description": "采购合同已定价数量",
  11395. "type": "number"
  11396. },
  11397. "diffFutuQty": {
  11398. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11399. "type": "number"
  11400. },
  11401. "diffSpotQty": {
  11402. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11403. "type": "number"
  11404. },
  11405. "enumdicname": {
  11406. "description": "单位名称",
  11407. "type": "string"
  11408. },
  11409. "middleGoodsCode": {
  11410. "description": "套保品种代码",
  11411. "type": "string"
  11412. },
  11413. "middleGoodsHedgeRatio": {
  11414. "description": "应套保比例",
  11415. "type": "number"
  11416. },
  11417. "middleGoodsID": {
  11418. "description": "套保品种",
  11419. "type": "integer"
  11420. },
  11421. "middleGoodsName": {
  11422. "description": "套保品种名称",
  11423. "type": "string"
  11424. },
  11425. "needHedgeExposoure": {
  11426. "description": "应套保敞口",
  11427. "type": "number"
  11428. },
  11429. "needHedgeRatio": {
  11430. "description": "应套保敞口比例",
  11431. "type": "number"
  11432. },
  11433. "oriBuyFutureQty": {
  11434. "description": "期初买入期货数量",
  11435. "type": "number"
  11436. },
  11437. "oriBuyPlanQty": {
  11438. "description": "期初采购计划数量",
  11439. "type": "number"
  11440. },
  11441. "oriBuyPricedQty": {
  11442. "description": "期初采购合同已定价数量",
  11443. "type": "number"
  11444. },
  11445. "oriSellFutureQty": {
  11446. "description": "期初卖出期货数量",
  11447. "type": "number"
  11448. },
  11449. "oriSellPlanQty": {
  11450. "description": "期初销售计划数量",
  11451. "type": "number"
  11452. },
  11453. "oriSellPricedQty": {
  11454. "description": "期初销售合同已定价数量",
  11455. "type": "number"
  11456. },
  11457. "oriTotalFutuQty": {
  11458. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11459. "type": "number"
  11460. },
  11461. "oriTotalSpotQty": {
  11462. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11463. "type": "number"
  11464. },
  11465. "sellFutureQty": {
  11466. "description": "卖出期货数量",
  11467. "type": "number"
  11468. },
  11469. "sellPlanQty": {
  11470. "description": "销售计划数量",
  11471. "type": "number"
  11472. },
  11473. "sellPricedQty": {
  11474. "description": "销售合同已定价数量",
  11475. "type": "number"
  11476. },
  11477. "totalExposure": {
  11478. "description": "总敞口",
  11479. "type": "number"
  11480. },
  11481. "totalFutureQty": {
  11482. "description": "期货数量",
  11483. "type": "number"
  11484. },
  11485. "totalHedgeRatio": {
  11486. "description": "敞口比例",
  11487. "type": "number"
  11488. },
  11489. "totalNeedHedgeQty": {
  11490. "description": "期货应套保量",
  11491. "type": "number"
  11492. },
  11493. "totalSpotQty": {
  11494. "description": "现货数量",
  11495. "type": "number"
  11496. }
  11497. }
  11498. },
  11499. "models.ErmcpReportDayExposure": {
  11500. "type": "object",
  11501. "properties": {
  11502. "areauserid": {
  11503. "description": "所属机构",
  11504. "type": "integer"
  11505. },
  11506. "buyfutureqty": {
  11507. "description": "买入期货数量",
  11508. "type": "number"
  11509. },
  11510. "buyplanqty": {
  11511. "description": "采购计划数量",
  11512. "type": "number"
  11513. },
  11514. "buypricedqty": {
  11515. "description": "采购合同已定价数量",
  11516. "type": "number"
  11517. },
  11518. "diffFutuQty": {
  11519. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11520. "type": "number"
  11521. },
  11522. "diffSpotQty": {
  11523. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11524. "type": "number"
  11525. },
  11526. "enumdicname": {
  11527. "description": "单位名称",
  11528. "type": "string"
  11529. },
  11530. "middlegoodscode": {
  11531. "description": "套保品种代码",
  11532. "type": "string"
  11533. },
  11534. "middlegoodshedgeratio": {
  11535. "description": "应套保比例",
  11536. "type": "number"
  11537. },
  11538. "middlegoodsid": {
  11539. "description": "套保品种ID",
  11540. "type": "integer"
  11541. },
  11542. "middlegoodsname": {
  11543. "description": "套保品种名称",
  11544. "type": "string"
  11545. },
  11546. "needhedgeexposoure": {
  11547. "description": "应套保敞口",
  11548. "type": "number"
  11549. },
  11550. "needhedgeratio": {
  11551. "description": "应套保敞口比例",
  11552. "type": "number"
  11553. },
  11554. "oriTotalFutuQty": {
  11555. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11556. "type": "number"
  11557. },
  11558. "oriTotalSpotQty": {
  11559. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11560. "type": "number"
  11561. },
  11562. "oribuyfutureqty": {
  11563. "description": "期初买入期货数量",
  11564. "type": "number"
  11565. },
  11566. "oribuyplanqty": {
  11567. "description": "期初采购计划数量",
  11568. "type": "number"
  11569. },
  11570. "oribuypricedqty": {
  11571. "description": "期初采购合同已定价数量",
  11572. "type": "number"
  11573. },
  11574. "orisellfutureqty": {
  11575. "description": "期初卖出期货数量",
  11576. "type": "number"
  11577. },
  11578. "orisellplanqty": {
  11579. "description": "期初销售计划数量",
  11580. "type": "number"
  11581. },
  11582. "orisellpricedqty": {
  11583. "description": "期初销售合同已定价数量",
  11584. "type": "number"
  11585. },
  11586. "reckondate": {
  11587. "description": "日照时期(yyyyMMdd)",
  11588. "type": "string"
  11589. },
  11590. "sellfutureqty": {
  11591. "description": "卖出期货数量",
  11592. "type": "number"
  11593. },
  11594. "sellplanqty": {
  11595. "description": "销售计划数量",
  11596. "type": "number"
  11597. },
  11598. "sellpricedqty": {
  11599. "description": "销售合同已定价数量",
  11600. "type": "number"
  11601. },
  11602. "totalexposure": {
  11603. "description": "总敞口",
  11604. "type": "number"
  11605. },
  11606. "totalfutureqty": {
  11607. "description": "期货数量",
  11608. "type": "number"
  11609. },
  11610. "totalhedgeratio": {
  11611. "description": "敞口比例",
  11612. "type": "number"
  11613. },
  11614. "totalneedhedgeqty": {
  11615. "description": "期货应套保量",
  11616. "type": "number"
  11617. },
  11618. "totalspotqty": {
  11619. "description": "现货数量",
  11620. "type": "number"
  11621. }
  11622. }
  11623. },
  11624. "models.ErmcpReportDayFR": {
  11625. "type": "object",
  11626. "properties": {
  11627. "areauserid": {
  11628. "description": "所属机构",
  11629. "type": "integer"
  11630. },
  11631. "collectinvoiceamount": {
  11632. "description": "今日开票金额",
  11633. "type": "number"
  11634. },
  11635. "collectinvoicecount": {
  11636. "description": "今日开票笔数",
  11637. "type": "integer"
  11638. },
  11639. "collectmoneyamount": {
  11640. "description": "今日收款金额",
  11641. "type": "number"
  11642. },
  11643. "collectmoneycount": {
  11644. "description": "今日收款笔数",
  11645. "type": "integer"
  11646. },
  11647. "payinvoiceamount": {
  11648. "description": "今日收票金额",
  11649. "type": "number"
  11650. },
  11651. "payinvoicecount": {
  11652. "description": "今日收票笔数",
  11653. "type": "integer"
  11654. },
  11655. "paymoneyamount": {
  11656. "description": "今日付款金额",
  11657. "type": "number"
  11658. },
  11659. "paymoneycount": {
  11660. "description": "今日付款笔数",
  11661. "type": "integer"
  11662. },
  11663. "reckondate": {
  11664. "description": "日照时期(yyyyMMdd)",
  11665. "type": "string"
  11666. },
  11667. "updatetime": {
  11668. "description": "更新时间",
  11669. "type": "string"
  11670. }
  11671. }
  11672. },
  11673. "models.ErmcpReportDaySpot": {
  11674. "type": "object",
  11675. "properties": {
  11676. "areauserid": {
  11677. "description": "所属机构T",
  11678. "type": "integer"
  11679. },
  11680. "enumdicname": {
  11681. "description": "现货商品单位名称",
  11682. "type": "string"
  11683. },
  11684. "reckondate": {
  11685. "description": "日照时期(yyyyMMdd)",
  11686. "type": "string"
  11687. },
  11688. "todaybuyreckonqty": {
  11689. "description": "采购确定量",
  11690. "type": "number"
  11691. },
  11692. "todaysellreckonqty": {
  11693. "description": "销售确定量",
  11694. "type": "number"
  11695. },
  11696. "totalbuypricedqty": {
  11697. "description": "采购定价量 = 期末 - 期初",
  11698. "type": "number"
  11699. },
  11700. "totalsellpricedqty": {
  11701. "description": "销售定价量 = 期末 - 期初",
  11702. "type": "number"
  11703. },
  11704. "wrstandardcode": {
  11705. "description": "现货商品代码",
  11706. "type": "string"
  11707. },
  11708. "wrstandardid": {
  11709. "description": "现货商品ID",
  11710. "type": "integer"
  11711. },
  11712. "wrstandardname": {
  11713. "description": "现货商品名称",
  11714. "type": "string"
  11715. }
  11716. }
  11717. },
  11718. "models.ErmcpReportMonSpot": {
  11719. "type": "object",
  11720. "properties": {
  11721. "areauserid": {
  11722. "description": "所属机构T",
  11723. "type": "integer"
  11724. },
  11725. "cycletime": {
  11726. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11727. "type": "string"
  11728. },
  11729. "cycletype": {
  11730. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11731. "type": "integer"
  11732. },
  11733. "enumdicname": {
  11734. "description": "现货商品单位名称",
  11735. "type": "string"
  11736. },
  11737. "todaybuyreckonqty": {
  11738. "description": "采购确定量",
  11739. "type": "number"
  11740. },
  11741. "todaysellreckonqty": {
  11742. "description": "销售确定量",
  11743. "type": "number"
  11744. },
  11745. "totalbuypricedqty": {
  11746. "description": "采购定价量 = 期末 - 期初",
  11747. "type": "number"
  11748. },
  11749. "totalsellpricedqty": {
  11750. "description": "销售定价量 = 期末 - 期初",
  11751. "type": "number"
  11752. },
  11753. "wrstandardcode": {
  11754. "description": "现货商品代码",
  11755. "type": "string"
  11756. },
  11757. "wrstandardid": {
  11758. "description": "现货商品ID",
  11759. "type": "integer"
  11760. },
  11761. "wrstandardname": {
  11762. "description": "现货商品名称",
  11763. "type": "string"
  11764. }
  11765. }
  11766. },
  11767. "models.ErmcpReportMonthFR": {
  11768. "type": "object",
  11769. "properties": {
  11770. "areauserid": {
  11771. "description": "所属机构【原值】",
  11772. "type": "integer"
  11773. },
  11774. "collectinvoiceamount": {
  11775. "description": "今日开票金额【汇总】",
  11776. "type": "number"
  11777. },
  11778. "collectinvoicecount": {
  11779. "description": "今日开票笔数【汇总】",
  11780. "type": "integer"
  11781. },
  11782. "collectmoneyamount": {
  11783. "description": "今日收款金额【汇总】",
  11784. "type": "number"
  11785. },
  11786. "collectmoneycount": {
  11787. "description": "今日收款笔数 【汇总】",
  11788. "type": "integer"
  11789. },
  11790. "cycletime": {
  11791. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11792. "type": "string"
  11793. },
  11794. "cycletype": {
  11795. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11796. "type": "integer"
  11797. },
  11798. "dayFr": {
  11799. "description": "日报表明细",
  11800. "type": "array",
  11801. "items": {
  11802. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11803. }
  11804. },
  11805. "payinvoiceamount": {
  11806. "description": "今日收票金额【汇总】",
  11807. "type": "number"
  11808. },
  11809. "payinvoicecount": {
  11810. "description": "今日收票笔数【汇总】",
  11811. "type": "integer"
  11812. },
  11813. "paymoneyamount": {
  11814. "description": "今日付款金额【汇总】",
  11815. "type": "number"
  11816. },
  11817. "paymoneycount": {
  11818. "description": "今日付款笔数【汇总】",
  11819. "type": "integer"
  11820. },
  11821. "updatetime": {
  11822. "description": "更新时间",
  11823. "type": "string"
  11824. }
  11825. }
  11826. },
  11827. "models.ErmcpReportOPLog": {
  11828. "type": "object",
  11829. "properties": {
  11830. "applyid": {
  11831. "description": "操作人",
  11832. "type": "integer"
  11833. },
  11834. "applyname": {
  11835. "description": "操作人名称",
  11836. "type": "string"
  11837. },
  11838. "biztype": {
  11839. "description": "业务类型 - 1:套保计划 2:现货合同",
  11840. "type": "integer"
  11841. },
  11842. "contracttype": {
  11843. "description": "现货合同类型 - 1:采购 -1:销售",
  11844. "type": "integer"
  11845. },
  11846. "enumdicName": {
  11847. "description": "单位名称",
  11848. "type": "string"
  11849. },
  11850. "logdatetime": {
  11851. "description": "流水日期(时间)",
  11852. "type": "string"
  11853. },
  11854. "logid": {
  11855. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  11856. "type": "string"
  11857. },
  11858. "logtypename": {
  11859. "description": "合同类型(名称)",
  11860. "type": "string"
  11861. },
  11862. "logvalue": {
  11863. "description": "数值",
  11864. "type": "string"
  11865. },
  11866. "operatelogtype": {
  11867. "description": "操作流水类型 -",
  11868. "type": "integer"
  11869. },
  11870. "optypename": {
  11871. "description": "流水类型名称",
  11872. "type": "string"
  11873. },
  11874. "relatedid": {
  11875. "description": "现货合同ID\\套保计划",
  11876. "type": "string"
  11877. },
  11878. "relatedno": {
  11879. "description": "合同编号",
  11880. "type": "string"
  11881. },
  11882. "tradedate": {
  11883. "description": "交易日(yyyyMMdd)",
  11884. "type": "string"
  11885. },
  11886. "userid": {
  11887. "description": "机构ID",
  11888. "type": "integer"
  11889. },
  11890. "wrstandardcode": {
  11891. "description": "现货商品代码",
  11892. "type": "string"
  11893. },
  11894. "wrstandardid": {
  11895. "description": "现货商品ID",
  11896. "type": "integer"
  11897. },
  11898. "wrstandardname": {
  11899. "description": "现货商品名称",
  11900. "type": "string"
  11901. }
  11902. }
  11903. },
  11904. "models.ErmcpSpotContractModel": {
  11905. "type": "object",
  11906. "properties": {
  11907. "amount": {
  11908. "description": "金额 [1:一口价、3:暂定价]",
  11909. "type": "number"
  11910. },
  11911. "attachment": {
  11912. "description": "附件",
  11913. "type": "string"
  11914. },
  11915. "auditremark": {
  11916. "description": "审核意见",
  11917. "type": "string"
  11918. },
  11919. "audittime": {
  11920. "description": "审核时间",
  11921. "type": "string"
  11922. },
  11923. "brandname": {
  11924. "description": "品牌名称",
  11925. "type": "string"
  11926. },
  11927. "buyuserid": {
  11928. "description": "采购方ID",
  11929. "type": "integer"
  11930. },
  11931. "buyusername": {
  11932. "description": "采购方名称",
  11933. "type": "string"
  11934. },
  11935. "contracctstatus": {
  11936. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11937. "type": "integer"
  11938. },
  11939. "contractmargin": {
  11940. "description": "合同保证金",
  11941. "type": "number"
  11942. },
  11943. "contractno": {
  11944. "description": "现货合同编号",
  11945. "type": "string"
  11946. },
  11947. "contracttype": {
  11948. "description": "现货合同类型 - 1:采购 -1:销售",
  11949. "type": "integer"
  11950. },
  11951. "convertfactor": {
  11952. "description": "标仓系数",
  11953. "type": "number"
  11954. },
  11955. "createtime": {
  11956. "description": "创建时间",
  11957. "type": "string"
  11958. },
  11959. "deliveryenddate": {
  11960. "description": "交收期(结束)",
  11961. "type": "string"
  11962. },
  11963. "deliverygoodscode": {
  11964. "description": "现货品种代码",
  11965. "type": "string"
  11966. },
  11967. "deliverygoodsid": {
  11968. "description": "现货品种ID",
  11969. "type": "integer"
  11970. },
  11971. "deliverygoodsname": {
  11972. "description": "现货品种名称",
  11973. "type": "string"
  11974. },
  11975. "deliverystartdate": {
  11976. "description": "交收期(开始)",
  11977. "type": "string"
  11978. },
  11979. "enddate": {
  11980. "description": "点价结束日期 [2:点价 3:暂定价]",
  11981. "type": "string"
  11982. },
  11983. "enumdicname": {
  11984. "description": "单位名称",
  11985. "type": "string"
  11986. },
  11987. "goodscode": {
  11988. "description": "点价合约代码",
  11989. "type": "string"
  11990. },
  11991. "goodsid": {
  11992. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  11993. "type": "integer"
  11994. },
  11995. "goodsname": {
  11996. "description": "点价商品名称",
  11997. "type": "string"
  11998. },
  11999. "margin": {
  12000. "description": "当前保证金",
  12001. "type": "number"
  12002. },
  12003. "modelname": {
  12004. "description": "型号名称",
  12005. "type": "string"
  12006. },
  12007. "price": {
  12008. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12009. "type": "number"
  12010. },
  12011. "pricemove": {
  12012. "description": "升贴水 [2:点价 3:暂定价]",
  12013. "type": "number"
  12014. },
  12015. "pricetype": {
  12016. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12017. "type": "integer"
  12018. },
  12019. "producttype": {
  12020. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12021. "type": "integer"
  12022. },
  12023. "qty": {
  12024. "description": "数量",
  12025. "type": "number"
  12026. },
  12027. "remark": {
  12028. "description": "备注",
  12029. "type": "string"
  12030. },
  12031. "selluserid": {
  12032. "description": "销售方ID",
  12033. "type": "integer"
  12034. },
  12035. "sellusername": {
  12036. "description": "销售方名称",
  12037. "type": "string"
  12038. },
  12039. "spotcontractid": {
  12040. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12041. "type": "string"
  12042. },
  12043. "spotgoodsbrandid": {
  12044. "description": "现货品牌ID",
  12045. "type": "integer"
  12046. },
  12047. "spotgoodsdesc": {
  12048. "description": "商品型号",
  12049. "type": "string"
  12050. },
  12051. "spotgoodsmodelid": {
  12052. "description": "现货型号ID",
  12053. "type": "integer"
  12054. },
  12055. "startdate": {
  12056. "description": "点价开始日期 [2:点价 3:暂定价]",
  12057. "type": "string"
  12058. },
  12059. "updatetime": {
  12060. "description": "更新时间",
  12061. "type": "string"
  12062. },
  12063. "userid": {
  12064. "description": "机构ID",
  12065. "type": "integer"
  12066. },
  12067. "wrstandardid": {
  12068. "description": "现货商品ID",
  12069. "type": "integer"
  12070. }
  12071. }
  12072. },
  12073. "models.ErmcpUserModel": {
  12074. "type": "object",
  12075. "properties": {
  12076. "address": {
  12077. "description": "通讯地址",
  12078. "type": "string"
  12079. },
  12080. "attachment1": {
  12081. "description": "附件1",
  12082. "type": "string"
  12083. },
  12084. "audittime": {
  12085. "description": "审核时间",
  12086. "type": "string"
  12087. },
  12088. "cardfrontphotourl": {
  12089. "description": "证件正面图片地址",
  12090. "type": "string"
  12091. },
  12092. "cardnum": {
  12093. "description": "证件号码",
  12094. "type": "string"
  12095. },
  12096. "cardtype": {
  12097. "description": "证件类型",
  12098. "type": "integer"
  12099. },
  12100. "cardtypename": {
  12101. "description": "证件类型名称",
  12102. "type": "string"
  12103. },
  12104. "cityid": {
  12105. "description": "市",
  12106. "type": "integer"
  12107. },
  12108. "countryid": {
  12109. "description": "国家",
  12110. "type": "integer"
  12111. },
  12112. "createtime": {
  12113. "description": "创建时间",
  12114. "type": "string"
  12115. },
  12116. "customername": {
  12117. "description": "企业名称",
  12118. "type": "string"
  12119. },
  12120. "memberuserid": {
  12121. "description": "所属机构ID",
  12122. "type": "integer"
  12123. },
  12124. "mobile": {
  12125. "description": "手机号码",
  12126. "type": "string"
  12127. },
  12128. "modifytime": {
  12129. "description": "修改时间",
  12130. "type": "string"
  12131. },
  12132. "provinceid": {
  12133. "description": "省",
  12134. "type": "integer"
  12135. },
  12136. "remark": {
  12137. "description": "备注",
  12138. "type": "string"
  12139. },
  12140. "status": {
  12141. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12142. "type": "integer"
  12143. },
  12144. "statusdesc": {
  12145. "description": "账户状态中文描述",
  12146. "type": "string"
  12147. },
  12148. "telphone": {
  12149. "description": "联系电话",
  12150. "type": "string"
  12151. },
  12152. "userid": {
  12153. "description": "用户ID",
  12154. "type": "integer"
  12155. },
  12156. "userinfotype": {
  12157. "description": "客户类型",
  12158. "type": "string"
  12159. }
  12160. }
  12161. },
  12162. "models.ErmcpWrstandDetail": {
  12163. "type": "object",
  12164. "properties": {
  12165. "gbList": {
  12166. "description": "品牌列表",
  12167. "type": "array",
  12168. "items": {
  12169. "$ref": "#/definitions/models.GoodsBrand"
  12170. }
  12171. },
  12172. "goodsList": {
  12173. "description": "关联交易商品列表",
  12174. "type": "array",
  12175. "items": {
  12176. "$ref": "#/definitions/models.RelatedGoodsEx"
  12177. }
  12178. },
  12179. "gtList": {
  12180. "description": "型号列表",
  12181. "type": "array",
  12182. "items": {
  12183. "$ref": "#/definitions/models.GoodsTypeModel"
  12184. }
  12185. },
  12186. "wrd": {
  12187. "description": "基本信息",
  12188. "type": "object",
  12189. "$ref": "#/definitions/models.ErmcpWrstandard"
  12190. },
  12191. "wrsList": {
  12192. "description": "套保信息列表",
  12193. "type": "array",
  12194. "items": {
  12195. "$ref": "#/definitions/models.WRSConverTDetail"
  12196. }
  12197. }
  12198. }
  12199. },
  12200. "models.ErmcpWrstandard": {
  12201. "type": "object",
  12202. "properties": {
  12203. "areauserid": {
  12204. "description": "所属机构",
  12205. "type": "integer"
  12206. },
  12207. "createtime": {
  12208. "description": "创建时间",
  12209. "type": "string"
  12210. },
  12211. "creatorid": {
  12212. "description": "创建人",
  12213. "type": "integer"
  12214. },
  12215. "deliverygoodsid": {
  12216. "description": "品种ID",
  12217. "type": "integer"
  12218. },
  12219. "enumdicname": {
  12220. "description": "单位名称",
  12221. "type": "string"
  12222. },
  12223. "isvalid": {
  12224. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12225. "type": "integer"
  12226. },
  12227. "minivalue": {
  12228. "description": "最小变动值",
  12229. "type": "integer"
  12230. },
  12231. "minivaluedp": {
  12232. "description": "最小变动值小数位",
  12233. "type": "integer"
  12234. },
  12235. "realminivalue": {
  12236. "description": "实际最小变动值",
  12237. "type": "integer"
  12238. },
  12239. "realminivaluedp": {
  12240. "description": "实际最小变动值小数位",
  12241. "type": "integer"
  12242. },
  12243. "remark": {
  12244. "description": "备注",
  12245. "type": "string"
  12246. },
  12247. "unitid": {
  12248. "description": "单位ID",
  12249. "type": "integer"
  12250. },
  12251. "updatetime": {
  12252. "description": "更新时间",
  12253. "type": "string"
  12254. },
  12255. "wrstandardcode": {
  12256. "description": "现货商品代码",
  12257. "type": "string"
  12258. },
  12259. "wrstandardid": {
  12260. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12261. "type": "integer"
  12262. },
  12263. "wrstandardname": {
  12264. "description": "现货商品名称",
  12265. "type": "string"
  12266. }
  12267. }
  12268. },
  12269. "models.Externalexchange": {
  12270. "type": "object",
  12271. "required": [
  12272. "autoid"
  12273. ],
  12274. "properties": {
  12275. "autoid": {
  12276. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12277. "type": "integer"
  12278. },
  12279. "exchangefullname": {
  12280. "description": "外部交易所全称",
  12281. "type": "string"
  12282. },
  12283. "exexchangecode": {
  12284. "description": "外部交易所代码",
  12285. "type": "string"
  12286. },
  12287. "exexchangename": {
  12288. "description": "外部交易所名称(简称)",
  12289. "type": "string"
  12290. },
  12291. "ismarketprice": {
  12292. "description": "是否支持市价 - 0:不支持 1:支持",
  12293. "type": "integer"
  12294. },
  12295. "quotegear": {
  12296. "description": "行情档位(1-10)",
  12297. "type": "integer"
  12298. },
  12299. "showbrokerflag": {
  12300. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12301. "type": "integer"
  12302. },
  12303. "updatetime": {
  12304. "description": "更新时间",
  12305. "type": "string"
  12306. }
  12307. }
  12308. },
  12309. "models.Funcmenulist": {
  12310. "type": "object",
  12311. "required": [
  12312. "resourcecode"
  12313. ],
  12314. "properties": {
  12315. "iconame": {
  12316. "description": "菜单图标",
  12317. "type": "string"
  12318. },
  12319. "menutype": {
  12320. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  12321. "type": "integer"
  12322. },
  12323. "parentcode": {
  12324. "description": "上级资源代码",
  12325. "type": "string"
  12326. },
  12327. "remark": {
  12328. "description": "备注",
  12329. "type": "string"
  12330. },
  12331. "resourcecode": {
  12332. "description": "资源代码",
  12333. "type": "string"
  12334. },
  12335. "resourcelevel": {
  12336. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  12337. "type": "integer"
  12338. },
  12339. "resourcename": {
  12340. "description": "资源名",
  12341. "type": "string"
  12342. },
  12343. "sort": {
  12344. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  12345. "type": "integer"
  12346. },
  12347. "url": {
  12348. "description": "URL",
  12349. "type": "string"
  12350. }
  12351. }
  12352. },
  12353. "models.Goods": {
  12354. "type": "object",
  12355. "required": [
  12356. "goodscode",
  12357. "goodsid",
  12358. "goodsname",
  12359. "marketid"
  12360. ],
  12361. "properties": {
  12362. "agreeunit": {
  12363. "description": "合约单位",
  12364. "type": "number"
  12365. },
  12366. "auditaccountid": {
  12367. "description": "审核操作员账号",
  12368. "type": "integer"
  12369. },
  12370. "audittime": {
  12371. "description": "审核时间",
  12372. "type": "string"
  12373. },
  12374. "cancelaccountid": {
  12375. "description": "注销操作员账号",
  12376. "type": "integer"
  12377. },
  12378. "canceltime": {
  12379. "description": "注销时间",
  12380. "type": "string"
  12381. },
  12382. "closepricemode": {
  12383. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12384. "type": "integer"
  12385. },
  12386. "closepriceparam": {
  12387. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12388. "type": "number"
  12389. },
  12390. "createtime": {
  12391. "description": "创建时间",
  12392. "type": "string"
  12393. },
  12394. "creatorid": {
  12395. "description": "创建人",
  12396. "type": "integer"
  12397. },
  12398. "currencyid": {
  12399. "description": "报价货币ID",
  12400. "type": "integer"
  12401. },
  12402. "cutmode": {
  12403. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12404. "type": "integer"
  12405. },
  12406. "decimalplace": {
  12407. "description": "报价小数位",
  12408. "type": "integer"
  12409. },
  12410. "delistingdate": {
  12411. "description": "商品退市时间(状态:退市) -- 已作废",
  12412. "type": "string"
  12413. },
  12414. "delistingmode": {
  12415. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12416. "type": "integer"
  12417. },
  12418. "deliveryflag": {
  12419. "description": "交割标志 - 0:不可交割 1:可交割",
  12420. "type": "integer"
  12421. },
  12422. "forceclosemode": {
  12423. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12424. "type": "integer"
  12425. },
  12426. "forceclosevalue": {
  12427. "description": "定期强平参数 [收益权]",
  12428. "type": "integer"
  12429. },
  12430. "goodscode": {
  12431. "description": "商品代码(内部)",
  12432. "type": "string"
  12433. },
  12434. "goodscurrencyid": {
  12435. "description": "合约货币ID",
  12436. "type": "integer"
  12437. },
  12438. "goodsgroupid": {
  12439. "description": "所属商品组ID",
  12440. "type": "integer"
  12441. },
  12442. "goodsid": {
  12443. "description": "商品ID(自增ID SEQ_GOODS)",
  12444. "type": "integer"
  12445. },
  12446. "goodsname": {
  12447. "description": "商品名称",
  12448. "type": "string"
  12449. },
  12450. "goodsquotetype": {
  12451. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12452. "type": "integer"
  12453. },
  12454. "goodsstatus": {
  12455. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12456. "type": "integer"
  12457. },
  12458. "goodstradetype": {
  12459. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12460. "type": "integer"
  12461. },
  12462. "goodunitid": {
  12463. "description": "报价单位ID",
  12464. "type": "integer"
  12465. },
  12466. "hasquoter": {
  12467. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12468. "type": "integer"
  12469. },
  12470. "hqprotecttime": {
  12471. "description": "行情保护时间(秒)",
  12472. "type": "integer"
  12473. },
  12474. "innerdealmode": {
  12475. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12476. "type": "integer"
  12477. },
  12478. "isbuylimited": {
  12479. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12480. "type": "integer"
  12481. },
  12482. "lasttradedate": {
  12483. "description": "最后交易日期(状态:待退市)",
  12484. "type": "string"
  12485. },
  12486. "listingdate": {
  12487. "description": "交易开始日期",
  12488. "type": "string"
  12489. },
  12490. "marketid": {
  12491. "description": "所属市场ID",
  12492. "type": "integer"
  12493. },
  12494. "modifierid": {
  12495. "description": "修改人",
  12496. "type": "integer"
  12497. },
  12498. "modifystatus": {
  12499. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12500. "type": "integer"
  12501. },
  12502. "modifytime": {
  12503. "description": "修改时间",
  12504. "type": "string"
  12505. },
  12506. "outerdealmode": {
  12507. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12508. "type": "integer"
  12509. },
  12510. "outgoodscode": {
  12511. "description": "商品代码(外部)",
  12512. "type": "string"
  12513. },
  12514. "qtydecimalplace": {
  12515. "description": "成交量小数位",
  12516. "type": "integer"
  12517. },
  12518. "quotegear": {
  12519. "description": "行情档位(1-10)",
  12520. "type": "integer"
  12521. },
  12522. "quoteminunit": {
  12523. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12524. "type": "integer"
  12525. },
  12526. "quoteshowtype": {
  12527. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12528. "type": "integer"
  12529. },
  12530. "quoteshowtypeinterval": {
  12531. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12532. "type": "integer"
  12533. },
  12534. "remark": {
  12535. "description": "备注",
  12536. "type": "string"
  12537. }
  12538. }
  12539. },
  12540. "models.GoodsBrand": {
  12541. "type": "object",
  12542. "properties": {
  12543. "brandid": {
  12544. "description": "品牌ID",
  12545. "type": "integer"
  12546. },
  12547. "brandname": {
  12548. "description": "品牌名称",
  12549. "type": "string"
  12550. },
  12551. "isvalid": {
  12552. "description": "是否有效 - 0:无效 1:有效",
  12553. "type": "integer"
  12554. }
  12555. }
  12556. },
  12557. "models.GoodsGroupConvert": {
  12558. "type": "object",
  12559. "properties": {
  12560. "convertratio": {
  12561. "description": "折算系数",
  12562. "type": "number"
  12563. },
  12564. "dstgoodsgroupid": {
  12565. "description": "目标期货品种ID",
  12566. "type": "integer"
  12567. },
  12568. "goodsgroupname": {
  12569. "description": "期货品种名称",
  12570. "type": "string"
  12571. },
  12572. "outergroupcode": {
  12573. "description": "期货品种代码",
  12574. "type": "string"
  12575. },
  12576. "srcgoodsgroupid": {
  12577. "description": "源期货品种ID",
  12578. "type": "integer"
  12579. }
  12580. }
  12581. },
  12582. "models.GoodsIDAndName": {
  12583. "type": "object",
  12584. "required": [
  12585. "goodscode",
  12586. "goodsid",
  12587. "goodsname",
  12588. "marketid"
  12589. ],
  12590. "properties": {
  12591. "goodscode": {
  12592. "description": "商品代码(内部)",
  12593. "type": "string"
  12594. },
  12595. "goodsid": {
  12596. "description": "商品ID(自增ID SEQ_GOODS)",
  12597. "type": "integer"
  12598. },
  12599. "goodsname": {
  12600. "description": "商品名称",
  12601. "type": "string"
  12602. },
  12603. "marketid": {
  12604. "description": "所属市场ID",
  12605. "type": "integer"
  12606. }
  12607. }
  12608. },
  12609. "models.GoodsTypeModel": {
  12610. "type": "object",
  12611. "properties": {
  12612. "modelid": {
  12613. "description": "型号ID",
  12614. "type": "integer"
  12615. },
  12616. "modelname": {
  12617. "description": "型号名称",
  12618. "type": "string"
  12619. },
  12620. "updatetime": {
  12621. "description": "更新时间",
  12622. "type": "string"
  12623. }
  12624. }
  12625. },
  12626. "models.Goodsgroup": {
  12627. "type": "object",
  12628. "required": [
  12629. "goodsgroupid",
  12630. "goodsgroupname",
  12631. "goodsgroupstatus",
  12632. "marketid"
  12633. ],
  12634. "properties": {
  12635. "agreeunit": {
  12636. "description": "合约单位",
  12637. "type": "number"
  12638. },
  12639. "canshort": {
  12640. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12641. "type": "integer"
  12642. },
  12643. "closepricemode": {
  12644. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12645. "type": "integer"
  12646. },
  12647. "closepriceparam": {
  12648. "description": "强平最新价浮动比例 - 方式为2时使用",
  12649. "type": "number"
  12650. },
  12651. "createtime": {
  12652. "description": "创建时间",
  12653. "type": "string"
  12654. },
  12655. "creatorid": {
  12656. "description": "创建人",
  12657. "type": "integer"
  12658. },
  12659. "currencyid": {
  12660. "description": "报价货币ID",
  12661. "type": "integer"
  12662. },
  12663. "decimalplace": {
  12664. "description": "报价小数位",
  12665. "type": "integer"
  12666. },
  12667. "exercisetype": {
  12668. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12669. "type": "integer"
  12670. },
  12671. "exexchangeid": {
  12672. "description": "外部交易所ID[通道交易]",
  12673. "type": "integer"
  12674. },
  12675. "goodsgroupid": {
  12676. "description": "商品组ID(自增ID)",
  12677. "type": "integer"
  12678. },
  12679. "goodsgroupname": {
  12680. "description": "商品组名称",
  12681. "type": "string"
  12682. },
  12683. "goodsgroupstatus": {
  12684. "description": "商品组状态 - 1:正常 2:注销",
  12685. "type": "integer"
  12686. },
  12687. "goodunitid": {
  12688. "description": "报价单位ID",
  12689. "type": "integer"
  12690. },
  12691. "innerdealmode": {
  12692. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12693. "type": "integer"
  12694. },
  12695. "isbuylimited": {
  12696. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12697. "type": "integer"
  12698. },
  12699. "marketid": {
  12700. "description": "所属市场ID",
  12701. "type": "integer"
  12702. },
  12703. "modifierid": {
  12704. "description": "修改人",
  12705. "type": "integer"
  12706. },
  12707. "modifytime": {
  12708. "description": "修改时间",
  12709. "type": "string"
  12710. },
  12711. "outerdealmode": {
  12712. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12713. "type": "integer"
  12714. },
  12715. "outergroupcode": {
  12716. "description": "外部商品组代码[通道交易]",
  12717. "type": "string"
  12718. },
  12719. "premiumdecimalplace": {
  12720. "description": "权利金小数位[场外期权]",
  12721. "type": "integer"
  12722. },
  12723. "premiumspreadalgorithm": {
  12724. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12725. "type": "integer"
  12726. },
  12727. "premiumspreadvalue": {
  12728. "description": "权利金点差值[场外期权]",
  12729. "type": "number"
  12730. },
  12731. "qtydecimalplace": {
  12732. "description": "成交量小数位",
  12733. "type": "integer"
  12734. },
  12735. "quotegear": {
  12736. "description": "行情档位(1-10)",
  12737. "type": "integer"
  12738. },
  12739. "quoteminunit": {
  12740. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12741. "type": "integer"
  12742. },
  12743. "quoterid": {
  12744. "description": "报价商ID[场外期权]",
  12745. "type": "integer"
  12746. },
  12747. "quotesourcegroupid": {
  12748. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12749. "type": "integer"
  12750. },
  12751. "syncgoodsqty": {
  12752. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12753. "type": "integer"
  12754. }
  12755. }
  12756. },
  12757. "models.HsbyBuyMyPayOrder": {
  12758. "type": "object",
  12759. "required": [
  12760. "goodscode",
  12761. "goodsname",
  12762. "tradeid",
  12763. "trademode"
  12764. ],
  12765. "properties": {
  12766. "agreeunit": {
  12767. "description": "合约单位",
  12768. "type": "number"
  12769. },
  12770. "buyaccountid": {
  12771. "description": "买方账号ID[报价币种]",
  12772. "type": "integer"
  12773. },
  12774. "buyorderid": {
  12775. "description": "买方委托单号",
  12776. "type": "string"
  12777. },
  12778. "createtime": {
  12779. "description": "创建时间",
  12780. "type": "string"
  12781. },
  12782. "currencysign": {
  12783. "description": "货币符号",
  12784. "type": "string"
  12785. },
  12786. "decimalplace": {
  12787. "description": "报价小数位",
  12788. "type": "integer"
  12789. },
  12790. "goodscode": {
  12791. "description": "商品代码(内部)",
  12792. "type": "string"
  12793. },
  12794. "goodsid": {
  12795. "description": "商品ID",
  12796. "type": "integer"
  12797. },
  12798. "goodsname": {
  12799. "description": "商品名称",
  12800. "type": "string"
  12801. },
  12802. "marketid": {
  12803. "description": "市场ID",
  12804. "type": "integer"
  12805. },
  12806. "offamount": {
  12807. "description": "优惠金额",
  12808. "type": "number"
  12809. },
  12810. "originalamount": {
  12811. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  12812. "type": "number"
  12813. },
  12814. "payamount": {
  12815. "description": "支付金额 = TradeAmount + TradeCharge",
  12816. "type": "number"
  12817. },
  12818. "payflag": {
  12819. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12820. "type": "integer"
  12821. },
  12822. "paylimitedtime": {
  12823. "description": "支付期限",
  12824. "type": "string"
  12825. },
  12826. "paytime": {
  12827. "description": "付款时间",
  12828. "type": "string"
  12829. },
  12830. "picurls1": {
  12831. "description": "预售商品介绍图片[多张用逗号分隔]",
  12832. "type": "string"
  12833. },
  12834. "picurls2": {
  12835. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12836. "type": "string"
  12837. },
  12838. "sellaccountid": {
  12839. "description": "卖方账号ID[报价币种]",
  12840. "type": "integer"
  12841. },
  12842. "sellorderid": {
  12843. "description": "卖方委托单号",
  12844. "type": "string"
  12845. },
  12846. "tradeamount": {
  12847. "description": "成交金额",
  12848. "type": "number"
  12849. },
  12850. "tradecharge": {
  12851. "description": "成交手续费(买方)",
  12852. "type": "number"
  12853. },
  12854. "tradedate": {
  12855. "description": "交易日(yyyyMMdd)",
  12856. "type": "string"
  12857. },
  12858. "tradeid": {
  12859. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12860. "type": "string"
  12861. },
  12862. "trademode": {
  12863. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12864. "type": "integer"
  12865. },
  12866. "tradeprice": {
  12867. "description": "成交价格",
  12868. "type": "number"
  12869. },
  12870. "tradeqty": {
  12871. "description": "成交数量",
  12872. "type": "integer"
  12873. },
  12874. "vendorname1": {
  12875. "description": "预售商品供应商名称",
  12876. "type": "string"
  12877. },
  12878. "vendorname2": {
  12879. "description": "挂牌商品供应商名称",
  12880. "type": "string"
  12881. }
  12882. }
  12883. },
  12884. "models.HsbyBuyMyTradeDetail": {
  12885. "type": "object",
  12886. "required": [
  12887. "accountid",
  12888. "buyorsell",
  12889. "goodscode",
  12890. "goodsid",
  12891. "goodsname",
  12892. "marketid",
  12893. "orderid",
  12894. "qty",
  12895. "time",
  12896. "trademode"
  12897. ],
  12898. "properties": {
  12899. "accountid": {
  12900. "description": "账户ID[报价币种]",
  12901. "type": "integer"
  12902. },
  12903. "agreeunit": {
  12904. "description": "合约单位",
  12905. "type": "number"
  12906. },
  12907. "amount": {
  12908. "description": "金额 = 价格 * 数量 * 合约单位",
  12909. "type": "number"
  12910. },
  12911. "buyorsell": {
  12912. "description": "买卖 - 0:买 1:卖",
  12913. "type": "integer"
  12914. },
  12915. "currencysign": {
  12916. "description": "货币符号",
  12917. "type": "string"
  12918. },
  12919. "decimalplace": {
  12920. "description": "报价小数位",
  12921. "type": "integer"
  12922. },
  12923. "goodscode": {
  12924. "description": "商品代码(内部)",
  12925. "type": "string"
  12926. },
  12927. "goodsid": {
  12928. "description": "商品ID",
  12929. "type": "integer"
  12930. },
  12931. "goodsname": {
  12932. "description": "商品名称",
  12933. "type": "string"
  12934. },
  12935. "marketid": {
  12936. "description": "市场ID",
  12937. "type": "integer"
  12938. },
  12939. "orderid": {
  12940. "description": "单号(成交单号)",
  12941. "type": "string"
  12942. },
  12943. "picurls1": {
  12944. "description": "预售商品介绍图片[多张用逗号分隔]",
  12945. "type": "string"
  12946. },
  12947. "picurls2": {
  12948. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12949. "type": "string"
  12950. },
  12951. "price": {
  12952. "description": "价格",
  12953. "type": "number"
  12954. },
  12955. "qty": {
  12956. "description": "数量",
  12957. "type": "integer"
  12958. },
  12959. "time": {
  12960. "description": "时间",
  12961. "type": "string"
  12962. },
  12963. "trademode": {
  12964. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12965. "type": "integer"
  12966. },
  12967. "vendorname1": {
  12968. "description": "预售商品供应商名称",
  12969. "type": "string"
  12970. },
  12971. "vendorname2": {
  12972. "description": "挂牌商品供应商名称",
  12973. "type": "string"
  12974. }
  12975. }
  12976. },
  12977. "models.HsbyGoodsOrderDetail": {
  12978. "type": "object",
  12979. "required": [
  12980. "buyorsell",
  12981. "orderid",
  12982. "ordertime"
  12983. ],
  12984. "properties": {
  12985. "buyorsell": {
  12986. "description": "买卖 - 0:买 1:卖",
  12987. "type": "integer"
  12988. },
  12989. "currencysign": {
  12990. "description": "货币符号",
  12991. "type": "string"
  12992. },
  12993. "customername": {
  12994. "description": "客户名称(企业名称),已脱敏",
  12995. "type": "string"
  12996. },
  12997. "enableqty": {
  12998. "description": "可用数量",
  12999. "type": "integer"
  13000. },
  13001. "goodunit": {
  13002. "description": "报价单位",
  13003. "type": "string"
  13004. },
  13005. "orderid": {
  13006. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13007. "type": "string"
  13008. },
  13009. "orderprice": {
  13010. "description": "委托价格",
  13011. "type": "number"
  13012. },
  13013. "ordertime": {
  13014. "description": "委托时间",
  13015. "type": "string"
  13016. }
  13017. }
  13018. },
  13019. "models.HsbyListingGoodsDetail": {
  13020. "type": "object",
  13021. "required": [
  13022. "goodscode",
  13023. "goodsid",
  13024. "goodsname",
  13025. "marketid",
  13026. "trademode"
  13027. ],
  13028. "properties": {
  13029. "agreeunit": {
  13030. "description": "合约单位",
  13031. "type": "number"
  13032. },
  13033. "buymaxqty": {
  13034. "description": "购买上限 [71] - 0为不限",
  13035. "type": "integer"
  13036. },
  13037. "currency": {
  13038. "description": "货币",
  13039. "type": "string"
  13040. },
  13041. "currencysign": {
  13042. "description": "货币符号",
  13043. "type": "string"
  13044. },
  13045. "decimalplace": {
  13046. "description": "报价小数位",
  13047. "type": "integer"
  13048. },
  13049. "desccityid": {
  13050. "description": "目的地(市)ID",
  13051. "type": "integer"
  13052. },
  13053. "descprovinceid": {
  13054. "description": "目的地(省)ID",
  13055. "type": "integer"
  13056. },
  13057. "goodscode": {
  13058. "description": "商品代码(内部)",
  13059. "type": "string"
  13060. },
  13061. "goodsdesc": {
  13062. "description": "商品详情",
  13063. "type": "string"
  13064. },
  13065. "goodsid": {
  13066. "description": "商品ID(自增ID SEQ_GOODS)",
  13067. "type": "integer"
  13068. },
  13069. "goodsname": {
  13070. "description": "商品名称",
  13071. "type": "string"
  13072. },
  13073. "goodsprice": {
  13074. "description": "商品价格",
  13075. "type": "number"
  13076. },
  13077. "hotindex": {
  13078. "description": "景点热度",
  13079. "type": "integer"
  13080. },
  13081. "last": {
  13082. "description": "现价",
  13083. "type": "number"
  13084. },
  13085. "limitdown": {
  13086. "description": "跌停价",
  13087. "type": "number"
  13088. },
  13089. "limitup": {
  13090. "description": "涨停价",
  13091. "type": "number"
  13092. },
  13093. "lotsize": {
  13094. "description": "手数最小变动单位",
  13095. "type": "integer"
  13096. },
  13097. "marketid": {
  13098. "description": "所属市场ID",
  13099. "type": "integer"
  13100. },
  13101. "picurls": {
  13102. "description": "介绍图片[多张用逗号分隔]",
  13103. "type": "string"
  13104. },
  13105. "quoteminunit": {
  13106. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13107. "type": "integer"
  13108. },
  13109. "stepvalue": {
  13110. "description": "价格最小变动单位",
  13111. "type": "number"
  13112. },
  13113. "trademode": {
  13114. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13115. "type": "integer"
  13116. },
  13117. "vendorattr": {
  13118. "description": "供应商附件(多张,逗号分隔)",
  13119. "type": "string"
  13120. },
  13121. "vendorname": {
  13122. "description": "供应商名称",
  13123. "type": "string"
  13124. },
  13125. "vendorphone": {
  13126. "description": "供应商客服电话",
  13127. "type": "string"
  13128. },
  13129. "videourls": {
  13130. "description": "介绍视频[多张用逗号分隔]",
  13131. "type": "string"
  13132. }
  13133. }
  13134. },
  13135. "models.HsbyMarketGoods": {
  13136. "type": "object",
  13137. "required": [
  13138. "accountid",
  13139. "buyorsell",
  13140. "goodscode",
  13141. "goodsid",
  13142. "goodsname",
  13143. "marketid",
  13144. "orderid",
  13145. "trademode"
  13146. ],
  13147. "properties": {
  13148. "accountid": {
  13149. "description": "账户ID[报价币种]",
  13150. "type": "integer"
  13151. },
  13152. "agreeunit": {
  13153. "description": "合约单位",
  13154. "type": "number"
  13155. },
  13156. "buyorsell": {
  13157. "description": "买卖 - 0:买 1:卖",
  13158. "type": "integer"
  13159. },
  13160. "categoryid": {
  13161. "description": "类别ID(WRCATEGORY)",
  13162. "type": "integer"
  13163. },
  13164. "currency": {
  13165. "description": "货币",
  13166. "type": "string"
  13167. },
  13168. "currencysign": {
  13169. "description": "货币符号",
  13170. "type": "string"
  13171. },
  13172. "customername": {
  13173. "description": "卖家名称",
  13174. "type": "string"
  13175. },
  13176. "decimalplace": {
  13177. "description": "报价小数位",
  13178. "type": "integer"
  13179. },
  13180. "goodscode": {
  13181. "description": "商品代码(内部)",
  13182. "type": "string"
  13183. },
  13184. "goodsid": {
  13185. "description": "商品ID",
  13186. "type": "integer"
  13187. },
  13188. "goodsname": {
  13189. "description": "商品名称",
  13190. "type": "string"
  13191. },
  13192. "goodsprice": {
  13193. "description": "商品价格",
  13194. "type": "number"
  13195. },
  13196. "hascoupon": {
  13197. "description": "是否可用优惠卷",
  13198. "type": "boolean"
  13199. },
  13200. "hotindex": {
  13201. "description": "景点热度",
  13202. "type": "integer"
  13203. },
  13204. "marketid": {
  13205. "description": "市场ID",
  13206. "type": "integer"
  13207. },
  13208. "orderid": {
  13209. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13210. "type": "string"
  13211. },
  13212. "orderprice": {
  13213. "description": "委托价格",
  13214. "type": "number"
  13215. },
  13216. "orderstatus": {
  13217. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13218. "type": "integer"
  13219. },
  13220. "picurls": {
  13221. "description": "介绍图片[多张用逗号分隔]",
  13222. "type": "string"
  13223. },
  13224. "quoteminunit": {
  13225. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13226. "type": "integer"
  13227. },
  13228. "sellUserID": {
  13229. "description": "卖方UserID",
  13230. "type": "integer"
  13231. },
  13232. "trademode": {
  13233. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13234. "type": "integer"
  13235. },
  13236. "videourls": {
  13237. "description": "介绍视频[多张用逗号分隔]",
  13238. "type": "string"
  13239. }
  13240. }
  13241. },
  13242. "models.HsbyMarketGoodsDetail": {
  13243. "type": "object",
  13244. "required": [
  13245. "accountid",
  13246. "buyorsell",
  13247. "goodscode",
  13248. "goodsid",
  13249. "goodsname",
  13250. "marketid",
  13251. "orderid",
  13252. "orderqty",
  13253. "trademode"
  13254. ],
  13255. "properties": {
  13256. "accountid": {
  13257. "description": "账户ID[报价币种]",
  13258. "type": "integer"
  13259. },
  13260. "agreeunit": {
  13261. "description": "合约单位",
  13262. "type": "number"
  13263. },
  13264. "buymaxqty": {
  13265. "description": "购买上限 [71] - 0为不限",
  13266. "type": "integer"
  13267. },
  13268. "buyorsell": {
  13269. "description": "买卖 - 0:买 1:卖",
  13270. "type": "integer"
  13271. },
  13272. "cancelqty": {
  13273. "description": "撤单数量",
  13274. "type": "integer"
  13275. },
  13276. "categoryid": {
  13277. "description": "类别ID(WRCATEGORY)",
  13278. "type": "integer"
  13279. },
  13280. "currency": {
  13281. "description": "货币",
  13282. "type": "string"
  13283. },
  13284. "currencysign": {
  13285. "description": "货币符号",
  13286. "type": "string"
  13287. },
  13288. "customername": {
  13289. "description": "卖家名称",
  13290. "type": "string"
  13291. },
  13292. "decimalplace": {
  13293. "description": "报价小数位",
  13294. "type": "integer"
  13295. },
  13296. "goodscode": {
  13297. "description": "商品代码(内部)",
  13298. "type": "string"
  13299. },
  13300. "goodsdesc": {
  13301. "description": "商品详情",
  13302. "type": "string"
  13303. },
  13304. "goodsid": {
  13305. "description": "商品ID",
  13306. "type": "integer"
  13307. },
  13308. "goodsname": {
  13309. "description": "商品名称",
  13310. "type": "string"
  13311. },
  13312. "goodsprice": {
  13313. "description": "商品价格",
  13314. "type": "number"
  13315. },
  13316. "hotindex": {
  13317. "description": "景点热度",
  13318. "type": "integer"
  13319. },
  13320. "lotsize": {
  13321. "description": "手数最小变动单位",
  13322. "type": "integer"
  13323. },
  13324. "marketid": {
  13325. "description": "市场ID",
  13326. "type": "integer"
  13327. },
  13328. "orderid": {
  13329. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13330. "type": "string"
  13331. },
  13332. "orderprice": {
  13333. "description": "委托价格",
  13334. "type": "number"
  13335. },
  13336. "orderqty": {
  13337. "description": "委托数量",
  13338. "type": "integer"
  13339. },
  13340. "orderstatus": {
  13341. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13342. "type": "integer"
  13343. },
  13344. "picurls": {
  13345. "description": "介绍图片[多张用逗号分隔]",
  13346. "type": "string"
  13347. },
  13348. "quoteminunit": {
  13349. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13350. "type": "integer"
  13351. },
  13352. "sellUserID": {
  13353. "description": "卖方UserID",
  13354. "type": "integer"
  13355. },
  13356. "trademode": {
  13357. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13358. "type": "integer"
  13359. },
  13360. "tradeqty": {
  13361. "description": "成交数量",
  13362. "type": "integer"
  13363. },
  13364. "vendorattr": {
  13365. "description": "供应商附件(多张,逗号分隔)",
  13366. "type": "string"
  13367. },
  13368. "vendorname": {
  13369. "description": "供应商名称",
  13370. "type": "string"
  13371. },
  13372. "vendorphone": {
  13373. "description": "供应商客服电话",
  13374. "type": "string"
  13375. },
  13376. "videourls": {
  13377. "description": "介绍视频[多张用逗号分隔]",
  13378. "type": "string"
  13379. }
  13380. }
  13381. },
  13382. "models.HsbyMarketInfo": {
  13383. "type": "object",
  13384. "required": [
  13385. "marketid",
  13386. "marketstatus",
  13387. "trademode"
  13388. ],
  13389. "properties": {
  13390. "marketid": {
  13391. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13392. "type": "integer"
  13393. },
  13394. "marketname": {
  13395. "description": "市场名称",
  13396. "type": "string"
  13397. },
  13398. "marketstatus": {
  13399. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13400. "type": "integer"
  13401. },
  13402. "trademode": {
  13403. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13404. "type": "integer"
  13405. }
  13406. }
  13407. },
  13408. "models.HsbyMyGoods": {
  13409. "type": "object",
  13410. "required": [
  13411. "accountid",
  13412. "goodscode",
  13413. "goodsid",
  13414. "goodsname",
  13415. "marketid",
  13416. "trademode"
  13417. ],
  13418. "properties": {
  13419. "accountid": {
  13420. "description": "账号Id",
  13421. "type": "integer"
  13422. },
  13423. "agreeunit": {
  13424. "description": "合约单位",
  13425. "type": "number"
  13426. },
  13427. "buyaverageprice": {
  13428. "description": "持仓均价",
  13429. "type": "number"
  13430. },
  13431. "buycurholderamount": {
  13432. "description": "买当前持仓总金额[商品币种]",
  13433. "type": "number"
  13434. },
  13435. "buycurpositionqty": {
  13436. "description": "买当前持仓总数量",
  13437. "type": "integer"
  13438. },
  13439. "buymaxqty": {
  13440. "description": "购买上限 [71] - 0为不限",
  13441. "type": "integer"
  13442. },
  13443. "currencysign": {
  13444. "description": "货币符号",
  13445. "type": "string"
  13446. },
  13447. "decimalplace": {
  13448. "description": "报价小数位",
  13449. "type": "integer"
  13450. },
  13451. "enableqty": {
  13452. "description": "可用数量",
  13453. "type": "integer"
  13454. },
  13455. "goodscode": {
  13456. "description": "商品代码(内部)",
  13457. "type": "string"
  13458. },
  13459. "goodsid": {
  13460. "description": "商品Id",
  13461. "type": "integer"
  13462. },
  13463. "goodsname": {
  13464. "description": "商品名称",
  13465. "type": "string"
  13466. },
  13467. "goodsprice": {
  13468. "description": "商品价格",
  13469. "type": "number"
  13470. },
  13471. "goodsstatus": {
  13472. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13473. "type": "integer"
  13474. },
  13475. "last": {
  13476. "description": "现价(仅使用于挂牌点选)",
  13477. "type": "number"
  13478. },
  13479. "limitdown": {
  13480. "description": "跌停价(仅使用于挂牌点选)",
  13481. "type": "number"
  13482. },
  13483. "limitup": {
  13484. "description": "涨停价(仅使用于挂牌点选)",
  13485. "type": "number"
  13486. },
  13487. "lotsize": {
  13488. "description": "手数最小变动单位",
  13489. "type": "integer"
  13490. },
  13491. "marketid": {
  13492. "description": "所属市场ID",
  13493. "type": "integer"
  13494. },
  13495. "picurls": {
  13496. "description": "介绍图片[多张用逗号分隔]",
  13497. "type": "string"
  13498. },
  13499. "quoteminunit": {
  13500. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13501. "type": "integer"
  13502. },
  13503. "stepvalue": {
  13504. "description": "价格最小变动单位",
  13505. "type": "number"
  13506. },
  13507. "trademode": {
  13508. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13509. "type": "integer"
  13510. }
  13511. }
  13512. },
  13513. "models.HsbyMyPackage": {
  13514. "type": "object",
  13515. "required": [
  13516. "goodscode",
  13517. "goodsname",
  13518. "takeorderid",
  13519. "trademode"
  13520. ],
  13521. "properties": {
  13522. "accountid": {
  13523. "description": "账户ID",
  13524. "type": "integer"
  13525. },
  13526. "address": {
  13527. "description": "提货人详细地址",
  13528. "type": "string"
  13529. },
  13530. "agreeunit": {
  13531. "description": "合约单位",
  13532. "type": "number"
  13533. },
  13534. "amount": {
  13535. "description": "提货金额",
  13536. "type": "number"
  13537. },
  13538. "auditer": {
  13539. "description": "审核人",
  13540. "type": "integer"
  13541. },
  13542. "audittime": {
  13543. "description": "审核时间",
  13544. "type": "string"
  13545. },
  13546. "averageprice": {
  13547. "description": "均价",
  13548. "type": "number"
  13549. },
  13550. "cardnum": {
  13551. "description": "提货人证件号码",
  13552. "type": "string"
  13553. },
  13554. "cardtypeid": {
  13555. "description": "提货人证件类型",
  13556. "type": "integer"
  13557. },
  13558. "checkremark": {
  13559. "description": "审核备注",
  13560. "type": "string"
  13561. },
  13562. "currencysign": {
  13563. "description": "货币符号",
  13564. "type": "string"
  13565. },
  13566. "decimalplace": {
  13567. "description": "报价小数位",
  13568. "type": "integer"
  13569. },
  13570. "goodscode": {
  13571. "description": "商品代码(内部)",
  13572. "type": "string"
  13573. },
  13574. "goodsid": {
  13575. "description": "商品ID",
  13576. "type": "integer"
  13577. },
  13578. "goodsname": {
  13579. "description": "商品名称",
  13580. "type": "string"
  13581. },
  13582. "handlestatus": {
  13583. "description": "处理状态",
  13584. "type": "integer"
  13585. },
  13586. "marketid": {
  13587. "description": "市场ID",
  13588. "type": "integer"
  13589. },
  13590. "phonenum": {
  13591. "description": "提货人联系方式",
  13592. "type": "string"
  13593. },
  13594. "picurls": {
  13595. "description": "介绍图片[多张用逗号分隔]",
  13596. "type": "string"
  13597. },
  13598. "qty": {
  13599. "description": "提货数量",
  13600. "type": "number"
  13601. },
  13602. "recivername": {
  13603. "description": "提货人姓名",
  13604. "type": "string"
  13605. },
  13606. "reqtime": {
  13607. "description": "更新时间",
  13608. "type": "string"
  13609. },
  13610. "takemode": {
  13611. "description": "提货方式 - 2:自提 3:配送",
  13612. "type": "integer"
  13613. },
  13614. "takeorderid": {
  13615. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13616. "type": "string"
  13617. },
  13618. "takeorderstatus": {
  13619. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13620. "type": "integer"
  13621. },
  13622. "takeremark": {
  13623. "description": "提货备注",
  13624. "type": "string"
  13625. },
  13626. "tradedate": {
  13627. "description": "交易日(yyyyMMdd)",
  13628. "type": "string"
  13629. },
  13630. "trademode": {
  13631. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13632. "type": "integer"
  13633. },
  13634. "userid": {
  13635. "description": "用户ID",
  13636. "type": "integer"
  13637. },
  13638. "vendorname": {
  13639. "description": "供应商名称",
  13640. "type": "string"
  13641. }
  13642. }
  13643. },
  13644. "models.HsbyPreGoods": {
  13645. "type": "object",
  13646. "required": [
  13647. "goodscode",
  13648. "goodsid",
  13649. "goodsname",
  13650. "marketid",
  13651. "trademode"
  13652. ],
  13653. "properties": {
  13654. "agreeunit": {
  13655. "description": "合约单位",
  13656. "type": "number"
  13657. },
  13658. "currency": {
  13659. "description": "货币",
  13660. "type": "string"
  13661. },
  13662. "currencysign": {
  13663. "description": "货币符号",
  13664. "type": "string"
  13665. },
  13666. "decimalplace": {
  13667. "description": "报价小数位",
  13668. "type": "integer"
  13669. },
  13670. "desccityid": {
  13671. "description": "目的地(市)",
  13672. "type": "integer"
  13673. },
  13674. "descprovinceid": {
  13675. "description": "目的地(省)",
  13676. "type": "integer"
  13677. },
  13678. "enableqty": {
  13679. "description": "剩余数量",
  13680. "type": "integer"
  13681. },
  13682. "goodscode": {
  13683. "description": "商品代码(内部)",
  13684. "type": "string"
  13685. },
  13686. "goodsid": {
  13687. "description": "商品ID(自增ID SEQ_GOODS)",
  13688. "type": "integer"
  13689. },
  13690. "goodsname": {
  13691. "description": "商品名称",
  13692. "type": "string"
  13693. },
  13694. "goodsstatus": {
  13695. "description": "商品状态- 2:未上市 3:上市",
  13696. "type": "integer"
  13697. },
  13698. "lasttradedate": {
  13699. "description": "最后交易日期(状态:待退市)",
  13700. "type": "string"
  13701. },
  13702. "listingdate": {
  13703. "description": "交易开始日期",
  13704. "type": "string"
  13705. },
  13706. "marketid": {
  13707. "description": "所属市场ID",
  13708. "type": "integer"
  13709. },
  13710. "picurls": {
  13711. "description": "介绍图片[多张用逗号分隔]",
  13712. "type": "string"
  13713. },
  13714. "presaledqty": {
  13715. "description": "已预售量(预售结束时更新)",
  13716. "type": "integer"
  13717. },
  13718. "presaleqty": {
  13719. "description": "预售数量",
  13720. "type": "integer"
  13721. },
  13722. "quoteminunit": {
  13723. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13724. "type": "integer"
  13725. },
  13726. "refprice": {
  13727. "description": "参考价格[一口价]",
  13728. "type": "number"
  13729. },
  13730. "relatedgoodsid": {
  13731. "description": "关联交易合约ID",
  13732. "type": "integer"
  13733. },
  13734. "trademode": {
  13735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13736. "type": "integer"
  13737. },
  13738. "videourls": {
  13739. "description": "介绍视频[多张用逗号分隔]",
  13740. "type": "string"
  13741. }
  13742. }
  13743. },
  13744. "models.HsbyPreGoodsDetail": {
  13745. "type": "object",
  13746. "required": [
  13747. "goodscode",
  13748. "goodsid",
  13749. "goodsname",
  13750. "marketid",
  13751. "trademode"
  13752. ],
  13753. "properties": {
  13754. "agreeunit": {
  13755. "description": "合约单位",
  13756. "type": "number"
  13757. },
  13758. "buymaxqty": {
  13759. "description": "购买上限 [71] - 0为不限",
  13760. "type": "integer"
  13761. },
  13762. "currency": {
  13763. "description": "货币",
  13764. "type": "string"
  13765. },
  13766. "currencysign": {
  13767. "description": "货币符号",
  13768. "type": "string"
  13769. },
  13770. "customername": {
  13771. "description": "发行单位",
  13772. "type": "string"
  13773. },
  13774. "decimalplace": {
  13775. "description": "报价小数位",
  13776. "type": "integer"
  13777. },
  13778. "desccityid": {
  13779. "description": "目的地(市)ID",
  13780. "type": "integer"
  13781. },
  13782. "descprovinceid": {
  13783. "description": "目的地(省)ID",
  13784. "type": "integer"
  13785. },
  13786. "enableqty": {
  13787. "description": "剩余数量",
  13788. "type": "integer"
  13789. },
  13790. "goodscode": {
  13791. "description": "商品代码(内部)",
  13792. "type": "string"
  13793. },
  13794. "goodsdesc": {
  13795. "description": "商品详情",
  13796. "type": "string"
  13797. },
  13798. "goodsid": {
  13799. "description": "商品ID(自增ID SEQ_GOODS)",
  13800. "type": "integer"
  13801. },
  13802. "goodsname": {
  13803. "description": "商品名称",
  13804. "type": "string"
  13805. },
  13806. "goodsstatus": {
  13807. "description": "商品状态- 2:未上市 3:上市",
  13808. "type": "integer"
  13809. },
  13810. "goodunit": {
  13811. "description": "报价单位",
  13812. "type": "string"
  13813. },
  13814. "lasttradedate": {
  13815. "description": "最后交易日期(状态:待退市)",
  13816. "type": "string"
  13817. },
  13818. "listingdate": {
  13819. "description": "交易开始日期",
  13820. "type": "string"
  13821. },
  13822. "lotsize": {
  13823. "description": "手数最小变动单位",
  13824. "type": "integer"
  13825. },
  13826. "marketid": {
  13827. "description": "所属市场ID",
  13828. "type": "integer"
  13829. },
  13830. "picurls": {
  13831. "description": "介绍图片[多张用逗号分隔]",
  13832. "type": "string"
  13833. },
  13834. "presaledqty": {
  13835. "description": "已预售量(预售结束时更新)",
  13836. "type": "integer"
  13837. },
  13838. "presaleqty": {
  13839. "description": "预售数量",
  13840. "type": "integer"
  13841. },
  13842. "quoteminunit": {
  13843. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13844. "type": "integer"
  13845. },
  13846. "refprice": {
  13847. "description": "参考价格[一口价]",
  13848. "type": "number"
  13849. },
  13850. "relatedgoodsid": {
  13851. "description": "关联交易合约ID",
  13852. "type": "integer"
  13853. },
  13854. "stepvalue": {
  13855. "description": "价格最小变动单位",
  13856. "type": "number"
  13857. },
  13858. "trademode": {
  13859. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13860. "type": "integer"
  13861. },
  13862. "vendorattr": {
  13863. "description": "供应商附件(多张,逗号分隔)",
  13864. "type": "string"
  13865. },
  13866. "vendorname": {
  13867. "description": "供应商名称",
  13868. "type": "string"
  13869. },
  13870. "vendorphone": {
  13871. "description": "供应商客服电话",
  13872. "type": "string"
  13873. },
  13874. "videourls": {
  13875. "description": "介绍视频[多张用逗号分隔]",
  13876. "type": "string"
  13877. }
  13878. }
  13879. },
  13880. "models.HsbySellCollectionOrder": {
  13881. "type": "object",
  13882. "required": [
  13883. "goodscode",
  13884. "goodsname",
  13885. "tradeid",
  13886. "trademode"
  13887. ],
  13888. "properties": {
  13889. "agreeunit": {
  13890. "description": "合约单位",
  13891. "type": "number"
  13892. },
  13893. "buyaccountid": {
  13894. "description": "买方账号ID[报价币种]",
  13895. "type": "integer"
  13896. },
  13897. "buyorderid": {
  13898. "description": "买方委托单号",
  13899. "type": "string"
  13900. },
  13901. "createtime": {
  13902. "description": "创建时间",
  13903. "type": "string"
  13904. },
  13905. "currencysign": {
  13906. "description": "货币符号",
  13907. "type": "string"
  13908. },
  13909. "decimalplace": {
  13910. "description": "报价小数位",
  13911. "type": "integer"
  13912. },
  13913. "goodscode": {
  13914. "description": "商品代码(内部)",
  13915. "type": "string"
  13916. },
  13917. "goodsid": {
  13918. "description": "商品ID",
  13919. "type": "integer"
  13920. },
  13921. "goodsname": {
  13922. "description": "商品名称",
  13923. "type": "string"
  13924. },
  13925. "marketid": {
  13926. "description": "市场ID",
  13927. "type": "integer"
  13928. },
  13929. "offamount": {
  13930. "description": "优惠金额",
  13931. "type": "number"
  13932. },
  13933. "payamount": {
  13934. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13935. "type": "number"
  13936. },
  13937. "payflag": {
  13938. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13939. "type": "integer"
  13940. },
  13941. "paylimitedtime": {
  13942. "description": "支付期限",
  13943. "type": "string"
  13944. },
  13945. "paytime": {
  13946. "description": "付款时间",
  13947. "type": "string"
  13948. },
  13949. "picurls": {
  13950. "description": "商品介绍图片[多张用逗号分隔]",
  13951. "type": "string"
  13952. },
  13953. "sellaccountid": {
  13954. "description": "卖方账号ID[报价币种]",
  13955. "type": "integer"
  13956. },
  13957. "sellorderid": {
  13958. "description": "卖方委托单号",
  13959. "type": "string"
  13960. },
  13961. "tradeamount": {
  13962. "description": "成交金额",
  13963. "type": "number"
  13964. },
  13965. "tradecharge": {
  13966. "description": "成交手续费(买方)",
  13967. "type": "number"
  13968. },
  13969. "tradedate": {
  13970. "description": "交易日(yyyyMMdd)",
  13971. "type": "string"
  13972. },
  13973. "tradeid": {
  13974. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13975. "type": "string"
  13976. },
  13977. "trademode": {
  13978. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13979. "type": "integer"
  13980. },
  13981. "tradeprice": {
  13982. "description": "成交价格",
  13983. "type": "number"
  13984. },
  13985. "tradeqty": {
  13986. "description": "成交数量",
  13987. "type": "integer"
  13988. }
  13989. }
  13990. },
  13991. "models.HsbySellMyDetail": {
  13992. "type": "object",
  13993. "required": [
  13994. "accountid",
  13995. "buyorsell",
  13996. "goodscode",
  13997. "goodsid",
  13998. "goodsname",
  13999. "marketid",
  14000. "orderid",
  14001. "time",
  14002. "trademode"
  14003. ],
  14004. "properties": {
  14005. "accountid": {
  14006. "description": "账户ID[报价币种]",
  14007. "type": "integer"
  14008. },
  14009. "agreeunit": {
  14010. "description": "合约单位",
  14011. "type": "number"
  14012. },
  14013. "buyorsell": {
  14014. "description": "买卖 - 0:买 1:卖",
  14015. "type": "integer"
  14016. },
  14017. "currencysign": {
  14018. "description": "货币符号",
  14019. "type": "string"
  14020. },
  14021. "decimalplace": {
  14022. "description": "报价小数位",
  14023. "type": "integer"
  14024. },
  14025. "goodscode": {
  14026. "description": "商品代码(内部)",
  14027. "type": "string"
  14028. },
  14029. "goodsid": {
  14030. "description": "商品ID",
  14031. "type": "integer"
  14032. },
  14033. "goodsname": {
  14034. "description": "商品名称",
  14035. "type": "string"
  14036. },
  14037. "marketid": {
  14038. "description": "市场ID",
  14039. "type": "integer"
  14040. },
  14041. "orderid": {
  14042. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14043. "type": "string"
  14044. },
  14045. "ordertype": {
  14046. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14047. "type": "integer"
  14048. },
  14049. "picurls": {
  14050. "description": "介绍图片[多张用逗号分隔]",
  14051. "type": "string"
  14052. },
  14053. "price": {
  14054. "description": "价格",
  14055. "type": "number"
  14056. },
  14057. "qty": {
  14058. "description": "数量",
  14059. "type": "integer"
  14060. },
  14061. "time": {
  14062. "description": "时间",
  14063. "type": "string"
  14064. },
  14065. "trademode": {
  14066. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14067. "type": "integer"
  14068. },
  14069. "vendorname": {
  14070. "description": "供应商名称",
  14071. "type": "string"
  14072. }
  14073. }
  14074. },
  14075. "models.HsbyTopGoods": {
  14076. "type": "object",
  14077. "required": [
  14078. "goodscode",
  14079. "goodsid",
  14080. "goodsname",
  14081. "marketid",
  14082. "trademode"
  14083. ],
  14084. "properties": {
  14085. "agreeunit": {
  14086. "description": "合约单位",
  14087. "type": "number"
  14088. },
  14089. "currency": {
  14090. "description": "货币",
  14091. "type": "string"
  14092. },
  14093. "currencysign": {
  14094. "description": "货币符号",
  14095. "type": "string"
  14096. },
  14097. "decimalplace": {
  14098. "description": "报价小数位",
  14099. "type": "integer"
  14100. },
  14101. "desccityid": {
  14102. "description": "目的地(市)",
  14103. "type": "integer"
  14104. },
  14105. "descprovinceid": {
  14106. "description": "目的地(省)",
  14107. "type": "integer"
  14108. },
  14109. "goodscode": {
  14110. "description": "商品代码(内部)",
  14111. "type": "string"
  14112. },
  14113. "goodsid": {
  14114. "description": "商品ID(自增ID SEQ_GOODS)",
  14115. "type": "integer"
  14116. },
  14117. "goodsname": {
  14118. "description": "商品名称",
  14119. "type": "string"
  14120. },
  14121. "hotindex": {
  14122. "description": "景点热度",
  14123. "type": "integer"
  14124. },
  14125. "last": {
  14126. "description": "现价",
  14127. "type": "number"
  14128. },
  14129. "marketid": {
  14130. "description": "所属市场ID",
  14131. "type": "integer"
  14132. },
  14133. "picurls": {
  14134. "description": "介绍图片[多张用逗号分隔]",
  14135. "type": "string"
  14136. },
  14137. "quoteminunit": {
  14138. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14139. "type": "integer"
  14140. },
  14141. "trademode": {
  14142. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14143. "type": "integer"
  14144. },
  14145. "videourls": {
  14146. "description": "介绍视频[多张用逗号分隔]",
  14147. "type": "string"
  14148. }
  14149. }
  14150. },
  14151. "models.HybsMyBuyOrderDetail": {
  14152. "type": "object",
  14153. "required": [
  14154. "accountid",
  14155. "buyorsell",
  14156. "goodscode",
  14157. "goodsid",
  14158. "goodsname",
  14159. "marketid",
  14160. "orderid",
  14161. "orderqty",
  14162. "ordertime",
  14163. "trademode"
  14164. ],
  14165. "properties": {
  14166. "accountid": {
  14167. "description": "账户ID[报价币种]",
  14168. "type": "integer"
  14169. },
  14170. "agreeunit": {
  14171. "description": "合约单位",
  14172. "type": "number"
  14173. },
  14174. "buyorsell": {
  14175. "description": "买卖 - 0:买 1:卖",
  14176. "type": "integer"
  14177. },
  14178. "cancelqty": {
  14179. "description": "撤单数量",
  14180. "type": "integer"
  14181. },
  14182. "currencysign": {
  14183. "description": "货币符号",
  14184. "type": "string"
  14185. },
  14186. "decimalplace": {
  14187. "description": "报价小数位",
  14188. "type": "integer"
  14189. },
  14190. "goodscode": {
  14191. "description": "商品代码(内部)",
  14192. "type": "string"
  14193. },
  14194. "goodsid": {
  14195. "description": "商品ID",
  14196. "type": "integer"
  14197. },
  14198. "goodsname": {
  14199. "description": "商品名称",
  14200. "type": "string"
  14201. },
  14202. "listingselecttype": {
  14203. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14204. "type": "integer"
  14205. },
  14206. "marketid": {
  14207. "description": "市场ID",
  14208. "type": "integer"
  14209. },
  14210. "mybuystatus": {
  14211. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14212. "type": "integer"
  14213. },
  14214. "orderamount": {
  14215. "description": "委托金额",
  14216. "type": "number"
  14217. },
  14218. "orderid": {
  14219. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14220. "type": "string"
  14221. },
  14222. "orderprice": {
  14223. "description": "委托价格",
  14224. "type": "number"
  14225. },
  14226. "orderqty": {
  14227. "description": "委托数量",
  14228. "type": "integer"
  14229. },
  14230. "orderstatus": {
  14231. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14232. "type": "integer"
  14233. },
  14234. "ordertime": {
  14235. "description": "委托时间",
  14236. "type": "string"
  14237. },
  14238. "picurls1": {
  14239. "description": "预售商品介绍图片[多张用逗号分隔]",
  14240. "type": "string"
  14241. },
  14242. "picurls2": {
  14243. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14244. "type": "string"
  14245. },
  14246. "trademode": {
  14247. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14248. "type": "integer"
  14249. },
  14250. "tradeqty": {
  14251. "description": "成交数量",
  14252. "type": "integer"
  14253. },
  14254. "vendorname1": {
  14255. "description": "预售商品供应商名称",
  14256. "type": "string"
  14257. },
  14258. "vendorname2": {
  14259. "description": "挂牌商品供应商名称",
  14260. "type": "string"
  14261. }
  14262. }
  14263. },
  14264. "models.Loginaccount": {
  14265. "type": "object",
  14266. "required": [
  14267. "loginid"
  14268. ],
  14269. "properties": {
  14270. "canoutin": {
  14271. "description": "是否可出入金 - 0:不可 1:可",
  14272. "type": "integer"
  14273. },
  14274. "clientroleid": {
  14275. "description": "终端角色ID",
  14276. "type": "integer"
  14277. },
  14278. "haslogined": {
  14279. "description": "是否已登录 - 0:未登录 1:已登录",
  14280. "type": "integer"
  14281. },
  14282. "hasupdatedpwd": {
  14283. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14284. "type": "integer"
  14285. },
  14286. "lastloginip": {
  14287. "description": "最新登录地址",
  14288. "type": "string"
  14289. },
  14290. "lastloginmode": {
  14291. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14292. "type": "integer"
  14293. },
  14294. "lastloginremark": {
  14295. "description": "最新登录描述",
  14296. "type": "string"
  14297. },
  14298. "lastlogintime": {
  14299. "description": "最新登录时间",
  14300. "type": "string"
  14301. },
  14302. "logincode": {
  14303. "description": "登录代码",
  14304. "type": "string"
  14305. },
  14306. "loginfailnum": {
  14307. "description": "连续登录失败次数(登录成功时清零)",
  14308. "type": "integer"
  14309. },
  14310. "loginid": {
  14311. "description": "登陆账号",
  14312. "type": "integer"
  14313. },
  14314. "loginport": {
  14315. "description": "最新登录端口",
  14316. "type": "integer"
  14317. },
  14318. "loginstatus": {
  14319. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14320. "type": "integer"
  14321. },
  14322. "loginusertype": {
  14323. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14324. "type": "integer"
  14325. },
  14326. "modifierid": {
  14327. "description": "修改人",
  14328. "type": "integer"
  14329. },
  14330. "modifytime": {
  14331. "description": "修改时间",
  14332. "type": "string"
  14333. },
  14334. "pwdwrongcount": {
  14335. "description": "密码错误次数",
  14336. "type": "integer"
  14337. },
  14338. "taaccountrighttype": {
  14339. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14340. "type": "integer"
  14341. },
  14342. "unfreezetime": {
  14343. "description": "账户解冻时间",
  14344. "type": "string"
  14345. },
  14346. "userid": {
  14347. "description": "用户ID",
  14348. "type": "integer"
  14349. }
  14350. }
  14351. },
  14352. "models.Market": {
  14353. "type": "object",
  14354. "required": [
  14355. "marketid",
  14356. "marketstatus",
  14357. "openmethod",
  14358. "reckonpricealgorithm",
  14359. "trademode",
  14360. "tradeproperty"
  14361. ],
  14362. "properties": {
  14363. "auctionwrtype": {
  14364. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14365. "type": "integer"
  14366. },
  14367. "canacceptquote": {
  14368. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14369. "type": "integer"
  14370. },
  14371. "cangoodsexercise": {
  14372. "description": "[期权]是否可现货行权- 0:否 1:是",
  14373. "type": "integer"
  14374. },
  14375. "cangoodsexercisetype": {
  14376. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14377. "type": "integer"
  14378. },
  14379. "canmanualquotestrike": {
  14380. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14381. "type": "integer"
  14382. },
  14383. "canmutistage": {
  14384. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14385. "type": "integer"
  14386. },
  14387. "canpreexercise": {
  14388. "description": "[期权]是否可预申报- 0:否 1:是",
  14389. "type": "integer"
  14390. },
  14391. "clearinterval": {
  14392. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14393. "type": "integer"
  14394. },
  14395. "contracttmp": {
  14396. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14397. "type": "string"
  14398. },
  14399. "exchareaid": {
  14400. "description": "所属交易所,可以没有",
  14401. "type": "integer"
  14402. },
  14403. "goodstype": {
  14404. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14405. "type": "integer"
  14406. },
  14407. "hasrebate": {
  14408. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14409. "type": "integer"
  14410. },
  14411. "hastradecredit": {
  14412. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14413. "type": "integer"
  14414. },
  14415. "haswr": {
  14416. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14417. "type": "integer"
  14418. },
  14419. "isdeductmargin": {
  14420. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14421. "type": "integer"
  14422. },
  14423. "isrecordsource": {
  14424. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14425. "type": "integer"
  14426. },
  14427. "isreleasemargin": {
  14428. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14429. "type": "integer"
  14430. },
  14431. "marginformula": {
  14432. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14433. "type": "integer"
  14434. },
  14435. "marginformula2": {
  14436. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14437. "type": "integer"
  14438. },
  14439. "marketid": {
  14440. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14441. "type": "integer"
  14442. },
  14443. "marketname": {
  14444. "description": "市场名称",
  14445. "type": "string"
  14446. },
  14447. "marketserviceid": {
  14448. "description": "市场服务ID",
  14449. "type": "integer"
  14450. },
  14451. "marketstatus": {
  14452. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14453. "type": "integer"
  14454. },
  14455. "markettype": {
  14456. "description": "市场类型- 1:非交易服务 2:交易服务",
  14457. "type": "integer"
  14458. },
  14459. "matchermode": {
  14460. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14461. "type": "integer"
  14462. },
  14463. "openmethod": {
  14464. "description": "开盘模式 - 0 自动 1手动",
  14465. "type": "integer"
  14466. },
  14467. "otcuserid": {
  14468. "description": "场外期权做市商[场外期权]",
  14469. "type": "integer"
  14470. },
  14471. "outersynctime": {
  14472. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14473. "type": "string"
  14474. },
  14475. "pendingflag": {
  14476. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14477. "type": "integer"
  14478. },
  14479. "pendingtime": {
  14480. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14481. "type": "string"
  14482. },
  14483. "performancetempid": {
  14484. "description": "履约计划模板ID - 作废",
  14485. "type": "integer"
  14486. },
  14487. "premiumquotemode": {
  14488. "description": "权利金报价方式 - 1:自动 2:手动",
  14489. "type": "integer"
  14490. },
  14491. "rebateratio": {
  14492. "description": "返利比率[竞价式]",
  14493. "type": "number"
  14494. },
  14495. "reckonorder": {
  14496. "description": "结算顺序",
  14497. "type": "integer"
  14498. },
  14499. "reckonpricealgorithm": {
  14500. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14501. "type": "integer"
  14502. },
  14503. "reckonpriceparam": {
  14504. "description": "结算价参数",
  14505. "type": "integer"
  14506. },
  14507. "reckontime": {
  14508. "description": "结算时间[通道交易-对冲](HH:mm)",
  14509. "type": "string"
  14510. },
  14511. "roleprioritytype": {
  14512. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14513. "type": "integer"
  14514. },
  14515. "selllistingauditflag": {
  14516. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14517. "type": "integer"
  14518. },
  14519. "trademarkettype": {
  14520. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14521. "type": "integer"
  14522. },
  14523. "trademode": {
  14524. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14525. "type": "integer"
  14526. },
  14527. "tradeproperty": {
  14528. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14529. "type": "integer"
  14530. },
  14531. "tradetype": {
  14532. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14533. "type": "integer"
  14534. }
  14535. }
  14536. },
  14537. "models.Marketrun": {
  14538. "type": "object",
  14539. "required": [
  14540. "marketid",
  14541. "nexttradedate",
  14542. "reckonflag",
  14543. "runstatus",
  14544. "tradedate",
  14545. "tradedate2"
  14546. ],
  14547. "properties": {
  14548. "afternexttradedate": {
  14549. "description": "下下交易日",
  14550. "type": "string"
  14551. },
  14552. "clearquoteflag": {
  14553. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14554. "type": "integer"
  14555. },
  14556. "lastreckondate": {
  14557. "description": "最新交易日(结算成功)",
  14558. "type": "string"
  14559. },
  14560. "machinedate": {
  14561. "description": "机器时间",
  14562. "type": "string"
  14563. },
  14564. "manualflag": {
  14565. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14566. "type": "integer"
  14567. },
  14568. "marketid": {
  14569. "description": "市场ID",
  14570. "type": "integer"
  14571. },
  14572. "nexttradedate": {
  14573. "description": "下一交易日",
  14574. "type": "string"
  14575. },
  14576. "pretradedate": {
  14577. "description": "上一交易日",
  14578. "type": "string"
  14579. },
  14580. "reckonflag": {
  14581. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14582. "type": "integer"
  14583. },
  14584. "runstatus": {
  14585. "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.今日免清算",
  14586. "type": "integer"
  14587. },
  14588. "sectionid": {
  14589. "description": "时间段号[多时段时用]",
  14590. "type": "integer"
  14591. },
  14592. "tradedate": {
  14593. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14594. "type": "string"
  14595. },
  14596. "tradedate2": {
  14597. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14598. "type": "string"
  14599. },
  14600. "updatetime": {
  14601. "description": "更新时间",
  14602. "type": "string"
  14603. }
  14604. }
  14605. },
  14606. "models.Messageboard": {
  14607. "type": "object",
  14608. "required": [
  14609. "messageboardid"
  14610. ],
  14611. "properties": {
  14612. "contactnum": {
  14613. "description": "联系电话",
  14614. "type": "string"
  14615. },
  14616. "createtime": {
  14617. "description": "创建时间",
  14618. "type": "string"
  14619. },
  14620. "message": {
  14621. "description": "留言信息",
  14622. "type": "string"
  14623. },
  14624. "messageboardid": {
  14625. "description": "留言簿ID(SEQ_MessageBoard)",
  14626. "type": "integer"
  14627. },
  14628. "userid": {
  14629. "description": "用户ID",
  14630. "type": "integer"
  14631. }
  14632. }
  14633. },
  14634. "models.MyCoupon": {
  14635. "type": "object",
  14636. "required": [
  14637. "accountid",
  14638. "coupontypeid"
  14639. ],
  14640. "properties": {
  14641. "accountid": {
  14642. "description": "资金账户ID",
  14643. "type": "integer"
  14644. },
  14645. "areauserid": {
  14646. "description": "所属机构",
  14647. "type": "integer"
  14648. },
  14649. "conditionvalue": {
  14650. "description": "条件阈值(可为0)",
  14651. "type": "number"
  14652. },
  14653. "couponcategroy": {
  14654. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14655. "type": "integer"
  14656. },
  14657. "couponname": {
  14658. "description": "优惠券名称",
  14659. "type": "string"
  14660. },
  14661. "coupontypeid": {
  14662. "description": "优惠券类型ID",
  14663. "type": "string"
  14664. },
  14665. "couponvalue": {
  14666. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14667. "type": "number"
  14668. },
  14669. "curfreezeqty": {
  14670. "description": "期末冻结数量",
  14671. "type": "integer"
  14672. },
  14673. "curqty": {
  14674. "description": "期末数量",
  14675. "type": "integer"
  14676. },
  14677. "isgeneral": {
  14678. "description": "是否通用券 - 0:否 1:是",
  14679. "type": "integer"
  14680. },
  14681. "isunusable": {
  14682. "description": "是否不可用",
  14683. "type": "boolean"
  14684. },
  14685. "limitedflag": {
  14686. "description": "是否指定商品 - 0:不限 1:限制",
  14687. "type": "integer"
  14688. },
  14689. "limitedgoodsids": {
  14690. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14691. "type": "string"
  14692. },
  14693. "orifreezeqty": {
  14694. "description": "期初冻结数量",
  14695. "type": "integer"
  14696. },
  14697. "oriqty": {
  14698. "description": "期初数量",
  14699. "type": "integer"
  14700. },
  14701. "reasontype": {
  14702. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14703. "type": "integer"
  14704. },
  14705. "todaydecrease": {
  14706. "description": "今日减少",
  14707. "type": "integer"
  14708. },
  14709. "todayincrease": {
  14710. "description": "今日增加",
  14711. "type": "integer"
  14712. },
  14713. "userid": {
  14714. "description": "用户ID",
  14715. "type": "integer"
  14716. },
  14717. "userscope": {
  14718. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14719. "type": "string"
  14720. }
  14721. }
  14722. },
  14723. "models.MyCouponHold": {
  14724. "type": "object",
  14725. "required": [
  14726. "couponholdid"
  14727. ],
  14728. "properties": {
  14729. "accountid": {
  14730. "description": "资金账户ID",
  14731. "type": "integer"
  14732. },
  14733. "conditionvalue": {
  14734. "description": "条件阈值(可为0)",
  14735. "type": "number"
  14736. },
  14737. "couponcategroy": {
  14738. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14739. "type": "integer"
  14740. },
  14741. "couponholdid": {
  14742. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14743. "type": "string"
  14744. },
  14745. "couponname": {
  14746. "description": "优惠券名称",
  14747. "type": "string"
  14748. },
  14749. "coupontypeid": {
  14750. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14751. "type": "string"
  14752. },
  14753. "couponvalue": {
  14754. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14755. "type": "number"
  14756. },
  14757. "createtime": {
  14758. "description": "创建时间",
  14759. "type": "string"
  14760. },
  14761. "enddate": {
  14762. "description": "结束日期",
  14763. "type": "string"
  14764. },
  14765. "giveapplyid": {
  14766. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14767. "type": "integer"
  14768. },
  14769. "holdstatus": {
  14770. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14771. "type": "integer"
  14772. },
  14773. "isgeneral": {
  14774. "description": "是否通用券 - 0:否 1:是",
  14775. "type": "integer"
  14776. },
  14777. "limitedflag": {
  14778. "description": "是否指定商品 - 0:不限 1:限制",
  14779. "type": "integer"
  14780. },
  14781. "limitedgoodsids": {
  14782. "description": "指定商品IDs[逗号分隔]",
  14783. "type": "string"
  14784. },
  14785. "qty": {
  14786. "description": "数量(按1平铺)",
  14787. "type": "integer"
  14788. },
  14789. "startdate": {
  14790. "description": "开始日期",
  14791. "type": "string"
  14792. },
  14793. "userid": {
  14794. "description": "用户ID",
  14795. "type": "integer"
  14796. },
  14797. "userscope": {
  14798. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14799. "type": "string"
  14800. }
  14801. }
  14802. },
  14803. "models.MyUsedCoupon": {
  14804. "type": "object",
  14805. "required": [
  14806. "coupontypeid",
  14807. "orderid"
  14808. ],
  14809. "properties": {
  14810. "accountid": {
  14811. "description": "资金账户ID(买方)",
  14812. "type": "integer"
  14813. },
  14814. "conditionvalue": {
  14815. "description": "条件阈值(可为0)",
  14816. "type": "number"
  14817. },
  14818. "couponcategroy": {
  14819. "description": "种类 - 1:现金券 2:折扣券",
  14820. "type": "integer"
  14821. },
  14822. "couponname": {
  14823. "description": "优惠券名称",
  14824. "type": "string"
  14825. },
  14826. "coupontypeid": {
  14827. "description": "优惠券类型ID(买方)",
  14828. "type": "string"
  14829. },
  14830. "couponvalue": {
  14831. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14832. "type": "number"
  14833. },
  14834. "createtime": {
  14835. "description": "创建时间",
  14836. "type": "string"
  14837. },
  14838. "goodsid": {
  14839. "description": "商品ID",
  14840. "type": "integer"
  14841. },
  14842. "handlestatus": {
  14843. "description": "处理状态",
  14844. "type": "integer"
  14845. },
  14846. "marketid": {
  14847. "description": "市场ID",
  14848. "type": "integer"
  14849. },
  14850. "offamount": {
  14851. "description": "优惠金额",
  14852. "type": "number"
  14853. },
  14854. "orderid": {
  14855. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14856. "type": "string"
  14857. },
  14858. "sellaccountid": {
  14859. "description": "资金账户ID(卖方)",
  14860. "type": "integer"
  14861. },
  14862. "tradeamount": {
  14863. "description": "成交金额",
  14864. "type": "number"
  14865. },
  14866. "tradeid": {
  14867. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14868. "type": "string"
  14869. },
  14870. "usedqty": {
  14871. "description": "使用数量",
  14872. "type": "integer"
  14873. }
  14874. }
  14875. },
  14876. "models.OperationPrimaryMenu": {
  14877. "type": "object",
  14878. "properties": {
  14879. "Children": {
  14880. "description": "二级功能菜单",
  14881. "type": "array",
  14882. "items": {
  14883. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14884. }
  14885. },
  14886. "Key": {
  14887. "description": "菜单KEY",
  14888. "type": "string"
  14889. },
  14890. "Label": {
  14891. "description": "菜单标题",
  14892. "type": "string"
  14893. }
  14894. }
  14895. },
  14896. "models.OperationSecondaryMenu": {
  14897. "type": "object",
  14898. "properties": {
  14899. "Key": {
  14900. "description": "菜单KEY",
  14901. "type": "string"
  14902. },
  14903. "Label": {
  14904. "description": "菜单标题",
  14905. "type": "string"
  14906. },
  14907. "TabList": {
  14908. "description": "三级功能菜单",
  14909. "type": "array",
  14910. "items": {
  14911. "$ref": "#/definitions/models.OperationTabMenu"
  14912. }
  14913. }
  14914. }
  14915. },
  14916. "models.OperationTabMenu": {
  14917. "type": "object",
  14918. "properties": {
  14919. "Key": {
  14920. "description": "菜单KEY",
  14921. "type": "string"
  14922. },
  14923. "Label": {
  14924. "description": "菜单标题",
  14925. "type": "string"
  14926. }
  14927. }
  14928. },
  14929. "models.PendingAuditBizModel": {
  14930. "type": "object",
  14931. "properties": {
  14932. "accountid": {
  14933. "description": "现货账户",
  14934. "type": "string"
  14935. },
  14936. "areaname": {
  14937. "description": "所属部门",
  14938. "type": "string"
  14939. },
  14940. "bizid": {
  14941. "description": "业务ID",
  14942. "type": "string"
  14943. },
  14944. "bizname": {
  14945. "description": "业务名称",
  14946. "type": "string"
  14947. },
  14948. "status": {
  14949. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14950. "type": "integer"
  14951. },
  14952. "type": {
  14953. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  14954. "type": "integer"
  14955. }
  14956. }
  14957. },
  14958. "models.QueryErrorInfosRsp": {
  14959. "type": "object",
  14960. "required": [
  14961. "errorid"
  14962. ],
  14963. "properties": {
  14964. "description": {
  14965. "description": "异常描述",
  14966. "type": "string"
  14967. },
  14968. "errorcode": {
  14969. "description": "异常代码",
  14970. "type": "string"
  14971. },
  14972. "errorid": {
  14973. "description": "异常ID",
  14974. "type": "integer"
  14975. },
  14976. "modulecode": {
  14977. "description": "所属模块",
  14978. "type": "string"
  14979. },
  14980. "operatecode": {
  14981. "description": "所属操作",
  14982. "type": "string"
  14983. },
  14984. "rownumber": {
  14985. "description": "行号",
  14986. "type": "string"
  14987. }
  14988. }
  14989. },
  14990. "models.QueryHedgeOrderDetailRsp": {
  14991. "type": "object",
  14992. "properties": {
  14993. "accountid": {
  14994. "description": "账户ID",
  14995. "type": "integer"
  14996. },
  14997. "buyorsell": {
  14998. "description": "买卖 - 0:买 1:卖",
  14999. "type": "integer"
  15000. },
  15001. "channelbuildtype": {
  15002. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15003. "type": "integer"
  15004. },
  15005. "channelinnerorderstatus": {
  15006. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15007. "type": "integer"
  15008. },
  15009. "channeloperatetype": {
  15010. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15011. "type": "integer"
  15012. },
  15013. "closetype": {
  15014. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15015. "type": "integer"
  15016. },
  15017. "curexchangerate": {
  15018. "description": "当前汇率",
  15019. "type": "number"
  15020. },
  15021. "exchangefullname": {
  15022. "description": "外部交易所全称",
  15023. "type": "string"
  15024. },
  15025. "goodscode": {
  15026. "description": "商品代码(内部)",
  15027. "type": "string"
  15028. },
  15029. "goodsid": {
  15030. "description": "商品ID",
  15031. "type": "integer"
  15032. },
  15033. "goodsname": {
  15034. "description": "商品名称",
  15035. "type": "string"
  15036. },
  15037. "marketid": {
  15038. "description": "市场ID",
  15039. "type": "integer"
  15040. },
  15041. "openfreezemargin": {
  15042. "description": "冻结保证金(冻结交易金额)",
  15043. "type": "number"
  15044. },
  15045. "orderid": {
  15046. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15047. "type": "string"
  15048. },
  15049. "orderprice": {
  15050. "description": "委托价格(账户)",
  15051. "type": "number"
  15052. },
  15053. "orderqty": {
  15054. "description": "委托数量",
  15055. "type": "integer"
  15056. },
  15057. "ordertime": {
  15058. "description": "委托时间",
  15059. "type": "string"
  15060. },
  15061. "pricemode": {
  15062. "description": "取价方式 - 1:市价 2: 限价",
  15063. "type": "integer"
  15064. },
  15065. "tradedate": {
  15066. "description": "交易日(yyyyMMdd)",
  15067. "type": "string"
  15068. },
  15069. "tradeqty": {
  15070. "description": "成交数量",
  15071. "type": "integer"
  15072. }
  15073. }
  15074. },
  15075. "models.QueryHedgeTradeDetailRsp": {
  15076. "type": "object",
  15077. "properties": {
  15078. "accountid": {
  15079. "description": "账号ID",
  15080. "type": "integer"
  15081. },
  15082. "buyorsell": {
  15083. "description": "方向 - 0:买 1:卖",
  15084. "type": "integer"
  15085. },
  15086. "channelbuildtype": {
  15087. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15088. "type": "integer"
  15089. },
  15090. "closecharge": {
  15091. "description": "平仓手续费(账户)",
  15092. "type": "number"
  15093. },
  15094. "closecharge2": {
  15095. "description": "平仓手续费(商品)",
  15096. "type": "number"
  15097. },
  15098. "closetype": {
  15099. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15100. "type": "integer"
  15101. },
  15102. "curexchangerate": {
  15103. "description": "当前汇率",
  15104. "type": "number"
  15105. },
  15106. "exchangefullname": {
  15107. "description": "外部交易所全称",
  15108. "type": "string"
  15109. },
  15110. "goodscode": {
  15111. "description": "商品代码(内部)",
  15112. "type": "string"
  15113. },
  15114. "goodsid": {
  15115. "description": "商品ID",
  15116. "type": "integer"
  15117. },
  15118. "goodsname": {
  15119. "description": "商品名称",
  15120. "type": "string"
  15121. },
  15122. "marketid": {
  15123. "description": "市场ID",
  15124. "type": "integer"
  15125. },
  15126. "opencharge": {
  15127. "description": "建仓手续费(账户)",
  15128. "type": "number"
  15129. },
  15130. "opencharge2": {
  15131. "description": "建仓手续费(商品)",
  15132. "type": "number"
  15133. },
  15134. "orderid": {
  15135. "description": "委托单号",
  15136. "type": "string"
  15137. },
  15138. "tradeamount": {
  15139. "description": "成交金额(账户)",
  15140. "type": "number"
  15141. },
  15142. "tradedate": {
  15143. "description": "交易日(yyyyMMdd)",
  15144. "type": "string"
  15145. },
  15146. "tradeid": {
  15147. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15148. "type": "string"
  15149. },
  15150. "tradeprice": {
  15151. "description": "成交价格",
  15152. "type": "number"
  15153. },
  15154. "tradeqty": {
  15155. "description": "成交数量",
  15156. "type": "integer"
  15157. },
  15158. "tradetime": {
  15159. "description": "成交时间",
  15160. "type": "string"
  15161. },
  15162. "tradetype": {
  15163. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  15164. "type": "integer"
  15165. }
  15166. }
  15167. },
  15168. "models.QuotePrimaryMenu": {
  15169. "type": "object",
  15170. "properties": {
  15171. "Index": {
  15172. "description": "序号",
  15173. "type": "integer"
  15174. },
  15175. "Key": {
  15176. "description": "键名",
  15177. "type": "string"
  15178. },
  15179. "Name": {
  15180. "description": "菜单名称",
  15181. "type": "string"
  15182. },
  15183. "SubMenus": {
  15184. "description": "子菜单",
  15185. "type": "array",
  15186. "items": {
  15187. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15188. }
  15189. },
  15190. "SubTitleType": {
  15191. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15192. "type": "integer"
  15193. },
  15194. "TradeModes": {
  15195. "description": "包含市场交易类型",
  15196. "type": "string"
  15197. }
  15198. }
  15199. },
  15200. "models.QuoteSecondaryMenu": {
  15201. "type": "object",
  15202. "properties": {
  15203. "ExExchangeCode": {
  15204. "description": "外部交易所代码",
  15205. "type": "string"
  15206. },
  15207. "ExExchangeID": {
  15208. "description": "外部交易所ID",
  15209. "type": "integer"
  15210. },
  15211. "GoodsGroupIDs": {
  15212. "description": "商品组ID列表",
  15213. "type": "array",
  15214. "items": {
  15215. "type": "integer"
  15216. }
  15217. },
  15218. "Index": {
  15219. "description": "序号",
  15220. "type": "integer"
  15221. },
  15222. "MarketID": {
  15223. "description": "市场ID",
  15224. "type": "integer"
  15225. },
  15226. "MenuTitle": {
  15227. "description": "菜单标题(市场名称或外部交易所名称)",
  15228. "type": "string"
  15229. },
  15230. "TradeMode": {
  15231. "description": "交易模式",
  15232. "type": "integer"
  15233. }
  15234. }
  15235. },
  15236. "models.RelatedGoodsEx": {
  15237. "type": "object",
  15238. "properties": {
  15239. "goodscode": {
  15240. "description": "商品代码",
  15241. "type": "string"
  15242. },
  15243. "goodsid": {
  15244. "description": "商品id",
  15245. "type": "integer"
  15246. },
  15247. "goodsname": {
  15248. "description": "商品名称",
  15249. "type": "string"
  15250. }
  15251. }
  15252. },
  15253. "models.SearchGoods": {
  15254. "type": "object",
  15255. "required": [
  15256. "goodscode",
  15257. "goodsid",
  15258. "goodsname",
  15259. "marketid",
  15260. "trademode"
  15261. ],
  15262. "properties": {
  15263. "goodscode": {
  15264. "description": "商品代码(内部)",
  15265. "type": "string"
  15266. },
  15267. "goodsid": {
  15268. "description": "商品ID(自增ID SEQ_GOODS)",
  15269. "type": "integer"
  15270. },
  15271. "goodsname": {
  15272. "description": "商品名称",
  15273. "type": "string"
  15274. },
  15275. "marketid": {
  15276. "description": "所属市场ID",
  15277. "type": "integer"
  15278. },
  15279. "marketname": {
  15280. "description": "市场名称",
  15281. "type": "string"
  15282. },
  15283. "trademode": {
  15284. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15285. "type": "integer"
  15286. }
  15287. }
  15288. },
  15289. "models.Systemparam": {
  15290. "type": "object",
  15291. "required": [
  15292. "paramcode"
  15293. ],
  15294. "properties": {
  15295. "loginid": {
  15296. "description": "更新用户账号,登录账号",
  15297. "type": "string"
  15298. },
  15299. "modifyflag": {
  15300. "description": "修改标志0 不允许修改 1 允许修改",
  15301. "type": "integer"
  15302. },
  15303. "paramcode": {
  15304. "description": "参数代码",
  15305. "type": "string"
  15306. },
  15307. "paramname": {
  15308. "description": "参数名",
  15309. "type": "string"
  15310. },
  15311. "paramtype": {
  15312. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  15313. "type": "integer"
  15314. },
  15315. "paramvalue": {
  15316. "description": "参数值",
  15317. "type": "string"
  15318. },
  15319. "paramvalue2": {
  15320. "description": "参数值(CLOB)",
  15321. "type": "string"
  15322. },
  15323. "regexpress": {
  15324. "description": "正则表达式",
  15325. "type": "string"
  15326. },
  15327. "remark": {
  15328. "description": "备注",
  15329. "type": "string"
  15330. },
  15331. "serverip": {
  15332. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  15333. "type": "string"
  15334. },
  15335. "showflag": {
  15336. "description": "是否显示0 不显示 1 显示",
  15337. "type": "integer"
  15338. },
  15339. "updatetime": {
  15340. "description": "更新时间",
  15341. "type": "string"
  15342. },
  15343. "userid": {
  15344. "description": "更新用户ID",
  15345. "type": "integer"
  15346. }
  15347. }
  15348. },
  15349. "models.Szdz3convertconfig": {
  15350. "type": "object",
  15351. "required": [
  15352. "converttype",
  15353. "innergoodsid",
  15354. "outergoodscode"
  15355. ],
  15356. "properties": {
  15357. "canin": {
  15358. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15359. "type": "integer"
  15360. },
  15361. "canout": {
  15362. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15363. "type": "integer"
  15364. },
  15365. "converttype": {
  15366. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15367. "type": "integer"
  15368. },
  15369. "createtime": {
  15370. "description": "创建时间",
  15371. "type": "string"
  15372. },
  15373. "creatorid": {
  15374. "description": "创建人",
  15375. "type": "integer"
  15376. },
  15377. "daymaxvalue": {
  15378. "description": "当日最大转入限制",
  15379. "type": "number"
  15380. },
  15381. "freezedays": {
  15382. "description": "冻结天数 [5:花生米转交易]",
  15383. "type": "integer"
  15384. },
  15385. "innergoodsid": {
  15386. "description": "内部商品ID[交易]",
  15387. "type": "integer"
  15388. },
  15389. "inratio": {
  15390. "description": "目标值",
  15391. "type": "integer"
  15392. },
  15393. "modifierid": {
  15394. "description": "修改人",
  15395. "type": "integer"
  15396. },
  15397. "modifytime": {
  15398. "description": "修改时间",
  15399. "type": "string"
  15400. },
  15401. "outergoodscode": {
  15402. "description": "外部商品代码[JD\\PD]",
  15403. "type": "string"
  15404. },
  15405. "outratio": {
  15406. "description": "源值",
  15407. "type": "integer"
  15408. },
  15409. "pddecimalplace": {
  15410. "description": "PD小数位",
  15411. "type": "integer"
  15412. },
  15413. "timemaxvalue": {
  15414. "description": "单次最大转入限制",
  15415. "type": "number"
  15416. },
  15417. "timeminvalue": {
  15418. "description": "单次最小转入限制",
  15419. "type": "number"
  15420. }
  15421. }
  15422. },
  15423. "models.Szdz3searchwhitelist": {
  15424. "type": "object",
  15425. "required": [
  15426. "userid"
  15427. ],
  15428. "properties": {
  15429. "createtime": {
  15430. "description": "创建时间",
  15431. "type": "string"
  15432. },
  15433. "creatorid": {
  15434. "description": "创建人",
  15435. "type": "integer"
  15436. },
  15437. "modifierid": {
  15438. "description": "修改人",
  15439. "type": "integer"
  15440. },
  15441. "modifytime": {
  15442. "description": "修改时间",
  15443. "type": "string"
  15444. },
  15445. "userid": {
  15446. "description": "用户ID",
  15447. "type": "integer"
  15448. }
  15449. }
  15450. },
  15451. "models.Taaccount": {
  15452. "type": "object",
  15453. "required": [
  15454. "accountid",
  15455. "userid"
  15456. ],
  15457. "properties": {
  15458. "accountflag": {
  15459. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15460. "type": "integer"
  15461. },
  15462. "accountid": {
  15463. "description": "资金账户ID",
  15464. "type": "integer"
  15465. },
  15466. "accountname": {
  15467. "description": "账户名称",
  15468. "type": "string"
  15469. },
  15470. "balance": {
  15471. "description": "期初余额",
  15472. "type": "number"
  15473. },
  15474. "capitalbalance": {
  15475. "description": "本金余额[外部子账户实际出入金余额]",
  15476. "type": "number"
  15477. },
  15478. "changeflag": {
  15479. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15480. "type": "integer"
  15481. },
  15482. "changetime": {
  15483. "description": "账户状态变更时间",
  15484. "type": "string"
  15485. },
  15486. "closepl": {
  15487. "description": "今日平仓盈亏",
  15488. "type": "number"
  15489. },
  15490. "creditdecrease": {
  15491. "description": "今日授信减少",
  15492. "type": "number"
  15493. },
  15494. "creditincrease": {
  15495. "description": "今日授信增加",
  15496. "type": "number"
  15497. },
  15498. "currencyid": {
  15499. "description": "货币ID",
  15500. "type": "integer"
  15501. },
  15502. "currentbalance": {
  15503. "description": "期末余额",
  15504. "type": "number"
  15505. },
  15506. "freezecharge": {
  15507. "description": "手续费冻结",
  15508. "type": "number"
  15509. },
  15510. "freezemargin": {
  15511. "description": "冻结保证金",
  15512. "type": "number"
  15513. },
  15514. "fromaccountid": {
  15515. "description": "所属上级账户",
  15516. "type": "integer"
  15517. },
  15518. "inamount": {
  15519. "description": "今日入金金额(包括三方入金)",
  15520. "type": "number"
  15521. },
  15522. "ismain": {
  15523. "description": "是否母账号 0:不是母账户 1:是母账户",
  15524. "type": "integer"
  15525. },
  15526. "ismarketaccount": {
  15527. "description": "是否机构接单账号 0:不是 1:是",
  15528. "type": "integer"
  15529. },
  15530. "isreckonaccount": {
  15531. "description": "是否机构分润账号 0:不是 1:是",
  15532. "type": "integer"
  15533. },
  15534. "mortgagecredit": {
  15535. "description": "授信金额",
  15536. "type": "number"
  15537. },
  15538. "orifreezecharge": {
  15539. "description": "期初手续费冻结",
  15540. "type": "number"
  15541. },
  15542. "orifreezemargin": {
  15543. "description": "期初冻结保证金",
  15544. "type": "number"
  15545. },
  15546. "orimortgagecredit": {
  15547. "description": "期初授信金额",
  15548. "type": "number"
  15549. },
  15550. "oriothercredit": {
  15551. "description": "期初其它授信金额",
  15552. "type": "number"
  15553. },
  15554. "oriotherfreezemargin": {
  15555. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15556. "type": "number"
  15557. },
  15558. "orioutamountfreeze": {
  15559. "description": "期初出金冻结",
  15560. "type": "number"
  15561. },
  15562. "oriusedmargin": {
  15563. "description": "期初占用保证金",
  15564. "type": "number"
  15565. },
  15566. "othercredit": {
  15567. "description": "其它授信金额",
  15568. "type": "number"
  15569. },
  15570. "othercreditdecrease": {
  15571. "description": "今日其它授信减少",
  15572. "type": "number"
  15573. },
  15574. "othercreditincrease": {
  15575. "description": "今日其它授信增加",
  15576. "type": "number"
  15577. },
  15578. "otherfreezemargin": {
  15579. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15580. "type": "number"
  15581. },
  15582. "otherincome": {
  15583. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15584. "type": "number"
  15585. },
  15586. "otherpay": {
  15587. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15588. "type": "number"
  15589. },
  15590. "outamount": {
  15591. "description": "今日出金金额(包括三方出金)",
  15592. "type": "number"
  15593. },
  15594. "outamountfreeze": {
  15595. "description": "出金冻结",
  15596. "type": "number"
  15597. },
  15598. "outthreshold": {
  15599. "description": "出金阈值",
  15600. "type": "number"
  15601. },
  15602. "parentaccountid": {
  15603. "description": "所属根账号",
  15604. "type": "integer"
  15605. },
  15606. "paycharge": {
  15607. "description": "今日手续费支出",
  15608. "type": "number"
  15609. },
  15610. "relatedaccountstatus": {
  15611. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15612. "type": "integer"
  15613. },
  15614. "relateduserid": {
  15615. "description": "关联用户",
  15616. "type": "integer"
  15617. },
  15618. "serivcegroup": {
  15619. "description": "服务分组",
  15620. "type": "integer"
  15621. },
  15622. "signstatus": {
  15623. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15624. "type": "integer"
  15625. },
  15626. "sublevelpath": {
  15627. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15628. "type": "string"
  15629. },
  15630. "taaccounttype": {
  15631. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15632. "type": "integer"
  15633. },
  15634. "thirdinamount": {
  15635. "description": "今日三方入金",
  15636. "type": "number"
  15637. },
  15638. "thirdoutamount": {
  15639. "description": "今日三方出金",
  15640. "type": "number"
  15641. },
  15642. "tradestatus": {
  15643. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15644. "type": "integer"
  15645. },
  15646. "tradestatuschangetime": {
  15647. "description": "激活时间",
  15648. "type": "string"
  15649. },
  15650. "transferamount": {
  15651. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15652. "type": "number"
  15653. },
  15654. "usedmargin": {
  15655. "description": "占用保证金",
  15656. "type": "number"
  15657. },
  15658. "userid": {
  15659. "description": "用户ID",
  15660. "type": "integer"
  15661. }
  15662. }
  15663. },
  15664. "models.Tablecolumnconfig": {
  15665. "type": "object",
  15666. "required": [
  15667. "autoid"
  15668. ],
  15669. "properties": {
  15670. "aligntype": {
  15671. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15672. "type": "integer"
  15673. },
  15674. "autoid": {
  15675. "description": "AutoID",
  15676. "type": "integer"
  15677. },
  15678. "columnfield": {
  15679. "description": "列字段",
  15680. "type": "string"
  15681. },
  15682. "columntitle": {
  15683. "description": "列Title",
  15684. "type": "string"
  15685. },
  15686. "columnwidth": {
  15687. "description": "列宽",
  15688. "type": "string"
  15689. },
  15690. "formatterstring": {
  15691. "description": "格式化字符",
  15692. "type": "string"
  15693. },
  15694. "formattertype": {
  15695. "description": "格式化类型",
  15696. "type": "string"
  15697. },
  15698. "groupname": {
  15699. "description": "表头分组名称",
  15700. "type": "string"
  15701. },
  15702. "isshow": {
  15703. "description": "是否显示 - 0:不显示 1:显示",
  15704. "type": "integer"
  15705. },
  15706. "needsummary": {
  15707. "description": "是否需要汇总 - 0:不需要 1:需要",
  15708. "type": "integer"
  15709. },
  15710. "orderindex": {
  15711. "description": "顺序",
  15712. "type": "integer"
  15713. },
  15714. "remark": {
  15715. "description": "备注",
  15716. "type": "string"
  15717. },
  15718. "summarytype": {
  15719. "description": "汇总类型 - 1:加总 2:最后一个",
  15720. "type": "integer"
  15721. },
  15722. "tablekey": {
  15723. "description": "列表Key",
  15724. "type": "string"
  15725. }
  15726. }
  15727. },
  15728. "models.Useraccount": {
  15729. "type": "object",
  15730. "required": [
  15731. "userid"
  15732. ],
  15733. "properties": {
  15734. "accountname": {
  15735. "description": "账户名称(机构名称)",
  15736. "type": "string"
  15737. },
  15738. "accountstatus": {
  15739. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15740. "type": "integer"
  15741. },
  15742. "auditremark": {
  15743. "description": "审核备注",
  15744. "type": "string"
  15745. },
  15746. "audittime": {
  15747. "description": "审核时间",
  15748. "type": "string"
  15749. },
  15750. "audituserid": {
  15751. "description": "审核人",
  15752. "type": "integer"
  15753. },
  15754. "broker": {
  15755. "description": "所属经纪人ID",
  15756. "type": "integer"
  15757. },
  15758. "canceltime": {
  15759. "description": "销户时间",
  15760. "type": "string"
  15761. },
  15762. "canceluserid": {
  15763. "description": "销户人",
  15764. "type": "integer"
  15765. },
  15766. "createtime": {
  15767. "description": "创建时间",
  15768. "type": "string"
  15769. },
  15770. "creatorid": {
  15771. "description": "创建人",
  15772. "type": "integer"
  15773. },
  15774. "hasauth": {
  15775. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15776. "type": "integer"
  15777. },
  15778. "isanonymous": {
  15779. "description": "是否匿名下单 - 0:否 1:是",
  15780. "type": "integer"
  15781. },
  15782. "maxinvestornum": {
  15783. "description": "最大用户数(经纪会员下投资者个数)",
  15784. "type": "integer"
  15785. },
  15786. "memberuserid": {
  15787. "description": "所属会员ID",
  15788. "type": "integer"
  15789. },
  15790. "modifierid": {
  15791. "description": "修改人",
  15792. "type": "integer"
  15793. },
  15794. "modifyremark": {
  15795. "description": "变更备注",
  15796. "type": "string"
  15797. },
  15798. "modifystatus": {
  15799. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15800. "type": "integer"
  15801. },
  15802. "modifytime": {
  15803. "description": "修改时间",
  15804. "type": "string"
  15805. },
  15806. "parentuserid": {
  15807. "description": "所属机构ID",
  15808. "type": "integer"
  15809. },
  15810. "reckonaccountid": {
  15811. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15812. "type": "integer"
  15813. },
  15814. "refercount": {
  15815. "description": "推荐总人数",
  15816. "type": "integer"
  15817. },
  15818. "refereeuserid": {
  15819. "description": "推荐人ID",
  15820. "type": "integer"
  15821. },
  15822. "refernum": {
  15823. "description": "推荐码",
  15824. "type": "string"
  15825. },
  15826. "subarealevelpath": {
  15827. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15828. "type": "string"
  15829. },
  15830. "userid": {
  15831. "description": "用户ID",
  15832. "type": "integer"
  15833. },
  15834. "usertype": {
  15835. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15836. "type": "integer"
  15837. }
  15838. }
  15839. },
  15840. "models.Userfavoritegoods": {
  15841. "type": "object",
  15842. "required": [
  15843. "goodsid"
  15844. ],
  15845. "properties": {
  15846. "goodsid": {
  15847. "description": "商品ID",
  15848. "type": "integer"
  15849. }
  15850. }
  15851. },
  15852. "models.Userinfo": {
  15853. "type": "object",
  15854. "required": [
  15855. "userid"
  15856. ],
  15857. "properties": {
  15858. "address": {
  15859. "description": "地址",
  15860. "type": "string"
  15861. },
  15862. "attachment1": {
  15863. "description": "附件1",
  15864. "type": "string"
  15865. },
  15866. "attachment2": {
  15867. "description": "附件2",
  15868. "type": "string"
  15869. },
  15870. "bankaccount": {
  15871. "description": "银行帐号 (加密存储)",
  15872. "type": "string"
  15873. },
  15874. "bankaccountname": {
  15875. "description": "收款人名称",
  15876. "type": "string"
  15877. },
  15878. "bankcardfrontphotourl": {
  15879. "description": "银行卡正面照地址",
  15880. "type": "string"
  15881. },
  15882. "bankid": {
  15883. "description": "银行编码",
  15884. "type": "string"
  15885. },
  15886. "bankname": {
  15887. "description": "银行名称",
  15888. "type": "string"
  15889. },
  15890. "biznature": {
  15891. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15892. "type": "integer"
  15893. },
  15894. "bizscope": {
  15895. "description": "企业经营范围(企业)",
  15896. "type": "string"
  15897. },
  15898. "cardbackphotourl": {
  15899. "description": "证件背面图片地址",
  15900. "type": "string"
  15901. },
  15902. "cardfrontphotourl": {
  15903. "description": "证件正面图片地址",
  15904. "type": "string"
  15905. },
  15906. "cardnum": {
  15907. "description": "证件号码(加密存储)",
  15908. "type": "string"
  15909. },
  15910. "cardtypeid": {
  15911. "description": "证件类型ID",
  15912. "type": "integer"
  15913. },
  15914. "cityid": {
  15915. "description": "市",
  15916. "type": "integer"
  15917. },
  15918. "company": {
  15919. "description": "公司(个人)",
  15920. "type": "string"
  15921. },
  15922. "contactname": {
  15923. "description": "联系人",
  15924. "type": "string"
  15925. },
  15926. "countryid": {
  15927. "description": "国家",
  15928. "type": "integer"
  15929. },
  15930. "createtime": {
  15931. "description": "创建时间",
  15932. "type": "string"
  15933. },
  15934. "creatorid": {
  15935. "description": "创建人",
  15936. "type": "integer"
  15937. },
  15938. "customername": {
  15939. "description": "客户名称(企业名称)",
  15940. "type": "string"
  15941. },
  15942. "districtid": {
  15943. "description": "地区",
  15944. "type": "integer"
  15945. },
  15946. "email": {
  15947. "description": "邮件(加密存储)",
  15948. "type": "string"
  15949. },
  15950. "fax": {
  15951. "description": "传真(加密存储)",
  15952. "type": "string"
  15953. },
  15954. "halfbodyphotourl": {
  15955. "description": "半身照地址",
  15956. "type": "string"
  15957. },
  15958. "hasencrypt": {
  15959. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15960. "type": "integer"
  15961. },
  15962. "headurl": {
  15963. "description": "头像地址",
  15964. "type": "string"
  15965. },
  15966. "legalcardbackphotourl": {
  15967. "description": "法人身份证背面照地址",
  15968. "type": "string"
  15969. },
  15970. "legalcardfrontphotourl": {
  15971. "description": "法人身份证正面照地址",
  15972. "type": "string"
  15973. },
  15974. "legalpersonname": {
  15975. "description": "法人姓名(企业)",
  15976. "type": "string"
  15977. },
  15978. "mobile": {
  15979. "description": "手机号码(加密存储)",
  15980. "type": "string"
  15981. },
  15982. "mobile2": {
  15983. "description": "手机号码[明文-尚志]",
  15984. "type": "string"
  15985. },
  15986. "modifierid": {
  15987. "description": "修改人",
  15988. "type": "integer"
  15989. },
  15990. "modifiertime": {
  15991. "description": "修改时间",
  15992. "type": "string"
  15993. },
  15994. "needinvoice": {
  15995. "description": "是否需要发票 - 0:不需要 1:需要",
  15996. "type": "integer"
  15997. },
  15998. "nickname": {
  15999. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  16000. "type": "string"
  16001. },
  16002. "openmode": {
  16003. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  16004. "type": "integer"
  16005. },
  16006. "otherurl": {
  16007. "description": "其它图片地址[使用分号分隔]",
  16008. "type": "string"
  16009. },
  16010. "postalcode": {
  16011. "description": "邮政编码",
  16012. "type": "string"
  16013. },
  16014. "provinceid": {
  16015. "description": "省",
  16016. "type": "integer"
  16017. },
  16018. "qq": {
  16019. "description": "QQ(加密存储",
  16020. "type": "string"
  16021. },
  16022. "remark": {
  16023. "description": "备注",
  16024. "type": "string"
  16025. },
  16026. "sex": {
  16027. "description": "用户性别 0: 女 1: 男",
  16028. "type": "integer"
  16029. },
  16030. "signpdfurl": {
  16031. "description": "签约pdf文件",
  16032. "type": "string"
  16033. },
  16034. "telphone": {
  16035. "description": "联系电话(加密存储)",
  16036. "type": "string"
  16037. },
  16038. "userid": {
  16039. "description": "用户ID",
  16040. "type": "integer"
  16041. },
  16042. "userinfotype": {
  16043. "description": "用户信息类型 - 1:个人 2:企业",
  16044. "type": "integer"
  16045. },
  16046. "userstatus": {
  16047. "description": "用户状态 - 1:正常 2:注销",
  16048. "type": "integer"
  16049. },
  16050. "usertype": {
  16051. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16052. "type": "integer"
  16053. },
  16054. "wechat": {
  16055. "description": "微信(加密存储)",
  16056. "type": "string"
  16057. },
  16058. "wskhinfo": {
  16059. "description": "开户申请信息(JSON)",
  16060. "type": "string"
  16061. }
  16062. }
  16063. },
  16064. "models.WRCategoryTree": {
  16065. "type": "object",
  16066. "required": [
  16067. "categoryid"
  16068. ],
  16069. "properties": {
  16070. "areauserid": {
  16071. "description": "所属机构",
  16072. "type": "integer"
  16073. },
  16074. "categorydesc": {
  16075. "description": "类别描述",
  16076. "type": "string"
  16077. },
  16078. "categoryid": {
  16079. "description": "类别ID(SEQ_WRCATEGORY)",
  16080. "type": "integer"
  16081. },
  16082. "categoryname": {
  16083. "description": "类别名称",
  16084. "type": "string"
  16085. },
  16086. "iconurl": {
  16087. "description": "图标地址",
  16088. "type": "string"
  16089. },
  16090. "orderindex": {
  16091. "description": "顺序",
  16092. "type": "integer"
  16093. },
  16094. "parentcategoryid": {
  16095. "description": "父类别ID",
  16096. "type": "integer"
  16097. },
  16098. "subcategory": {
  16099. "description": "子分类",
  16100. "type": "array",
  16101. "items": {
  16102. "$ref": "#/definitions/models.WRCategoryTree"
  16103. }
  16104. }
  16105. }
  16106. },
  16107. "models.WRSConverTDetail": {
  16108. "type": "object",
  16109. "properties": {
  16110. "convertratio": {
  16111. "description": "套保系数",
  16112. "type": "number"
  16113. },
  16114. "deliverygoodsid": {
  16115. "description": "现货品种ID",
  16116. "type": "integer"
  16117. },
  16118. "middlegoodscode": {
  16119. "description": "套保品种代码",
  16120. "type": "string"
  16121. },
  16122. "middlegoodsid": {
  16123. "description": "套保品种ID",
  16124. "type": "integer"
  16125. },
  16126. "middlegoodsname": {
  16127. "description": "套保品种名称",
  16128. "type": "string"
  16129. },
  16130. "modifytime": {
  16131. "description": "修改时间",
  16132. "type": "string"
  16133. },
  16134. "wrstandardid": {
  16135. "description": "现货商品ID",
  16136. "type": "integer"
  16137. }
  16138. }
  16139. },
  16140. "models.WRStandardInfo": {
  16141. "type": "object",
  16142. "required": [
  16143. "wrstandardid"
  16144. ],
  16145. "properties": {
  16146. "createtime": {
  16147. "description": "创建时间",
  16148. "type": "string"
  16149. },
  16150. "creatorid": {
  16151. "description": "创建人",
  16152. "type": "integer"
  16153. },
  16154. "deliverygoodsid": {
  16155. "description": "品种ID",
  16156. "type": "integer"
  16157. },
  16158. "deliverygoodsname": {
  16159. "description": "交割商品名称",
  16160. "type": "string"
  16161. },
  16162. "factoryitemjson": {
  16163. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  16164. "type": "string"
  16165. },
  16166. "isvalid": {
  16167. "description": "是否有效 - 0:无效 1:有效",
  16168. "type": "integer"
  16169. },
  16170. "minivalue": {
  16171. "description": "最小变动值",
  16172. "type": "integer"
  16173. },
  16174. "minivaluedp": {
  16175. "description": "最小变动值小数位",
  16176. "type": "integer"
  16177. },
  16178. "realminivalue": {
  16179. "description": "实际最小变动值",
  16180. "type": "integer"
  16181. },
  16182. "realminivaluedp": {
  16183. "description": "实际最小变动值小数位",
  16184. "type": "integer"
  16185. },
  16186. "unitid": {
  16187. "description": "单位ID",
  16188. "type": "integer"
  16189. },
  16190. "unitname": {
  16191. "description": "单位",
  16192. "type": "string"
  16193. },
  16194. "updatetime": {
  16195. "description": "更新时间",
  16196. "type": "string"
  16197. },
  16198. "updatorid": {
  16199. "description": "更新人",
  16200. "type": "integer"
  16201. },
  16202. "wrsstatus": {
  16203. "description": "状态 - 作废 - 0:未激活 1:正常",
  16204. "type": "integer"
  16205. },
  16206. "wrstandardcode": {
  16207. "description": "仓单标准代码",
  16208. "type": "string"
  16209. },
  16210. "wrstandardid": {
  16211. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  16212. "type": "integer"
  16213. },
  16214. "wrstandardname": {
  16215. "description": "仓单标准名称",
  16216. "type": "string"
  16217. }
  16218. }
  16219. },
  16220. "models.Warehouseinfo": {
  16221. "type": "object",
  16222. "required": [
  16223. "autoid",
  16224. "warehousecode"
  16225. ],
  16226. "properties": {
  16227. "address": {
  16228. "description": "详细地址",
  16229. "type": "string"
  16230. },
  16231. "areauserid": {
  16232. "description": "所属机构",
  16233. "type": "integer"
  16234. },
  16235. "autoid": {
  16236. "description": "自增ID",
  16237. "type": "integer"
  16238. },
  16239. "cityid": {
  16240. "description": "市",
  16241. "type": "integer"
  16242. },
  16243. "contactname": {
  16244. "description": "联系人",
  16245. "type": "string"
  16246. },
  16247. "contactnum": {
  16248. "description": "联系电话",
  16249. "type": "string"
  16250. },
  16251. "countryid": {
  16252. "description": "国家",
  16253. "type": "integer"
  16254. },
  16255. "createtime": {
  16256. "description": "创建时间",
  16257. "type": "string"
  16258. },
  16259. "districtid": {
  16260. "description": "区",
  16261. "type": "integer"
  16262. },
  16263. "hasvideo": {
  16264. "description": "是否有视频 - 0:无 1:有",
  16265. "type": "integer"
  16266. },
  16267. "provinceid": {
  16268. "description": "省",
  16269. "type": "integer"
  16270. },
  16271. "remark": {
  16272. "description": "审核备注",
  16273. "type": "string"
  16274. },
  16275. "videourl": {
  16276. "description": "视频地址",
  16277. "type": "string"
  16278. },
  16279. "warehousecode": {
  16280. "description": "仓库代码",
  16281. "type": "string"
  16282. },
  16283. "warehousename": {
  16284. "description": "仓库名称",
  16285. "type": "string"
  16286. },
  16287. "warehousestatus": {
  16288. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16289. "type": "integer"
  16290. },
  16291. "warehousetype": {
  16292. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16293. "type": "integer"
  16294. }
  16295. }
  16296. },
  16297. "order.QueryHisTradeDetailRsp": {
  16298. "type": "object",
  16299. "required": [
  16300. "accountid",
  16301. "buyorsell",
  16302. "goodsid",
  16303. "histradedate",
  16304. "marketid",
  16305. "memberuserid",
  16306. "orderid",
  16307. "tradeamount",
  16308. "tradedate",
  16309. "tradeid",
  16310. "tradeprice",
  16311. "tradeqty",
  16312. "tradetime"
  16313. ],
  16314. "properties": {
  16315. "accountid": {
  16316. "description": "账户ID[报价币种]",
  16317. "type": "integer"
  16318. },
  16319. "buildtype": {
  16320. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16321. "type": "integer"
  16322. },
  16323. "buyorsell": {
  16324. "description": "方向 - 0:买 1:卖",
  16325. "type": "integer"
  16326. },
  16327. "charge": {
  16328. "description": "手续费",
  16329. "type": "number"
  16330. },
  16331. "closecharge": {
  16332. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16333. "type": "number"
  16334. },
  16335. "closeexchagechargevalue": {
  16336. "description": "平仓交易所手续费设置值",
  16337. "type": "number"
  16338. },
  16339. "closefeealgorithm": {
  16340. "description": "平仓手续费收取方式 1:比率 2:固定",
  16341. "type": "integer"
  16342. },
  16343. "closememberchargevalue": {
  16344. "description": "平仓会员手续费设置值",
  16345. "type": "number"
  16346. },
  16347. "closepl": {
  16348. "description": "平仓盈亏",
  16349. "type": "number"
  16350. },
  16351. "closepl2": {
  16352. "description": "平仓盈亏[逐笔]",
  16353. "type": "number"
  16354. },
  16355. "closeqty": {
  16356. "description": "平仓数量(先建后平操作 需要记录)",
  16357. "type": "integer"
  16358. },
  16359. "creditamount": {
  16360. "description": "授信金额",
  16361. "type": "number"
  16362. },
  16363. "gcaccountid": {
  16364. "description": "账户ID[合约币种]",
  16365. "type": "integer"
  16366. },
  16367. "goodscode": {
  16368. "description": "商品代码",
  16369. "type": "string"
  16370. },
  16371. "goodsid": {
  16372. "description": "商品ID",
  16373. "type": "integer"
  16374. },
  16375. "goodsname": {
  16376. "description": "商品名称",
  16377. "type": "string"
  16378. },
  16379. "histradedate": {
  16380. "description": "历史交易日",
  16381. "type": "string"
  16382. },
  16383. "intclosepl": {
  16384. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16385. "type": "integer"
  16386. },
  16387. "isconfirmexercise": {
  16388. "description": "是否确认行权- 0:否 1:是",
  16389. "type": "integer"
  16390. },
  16391. "ismain": {
  16392. "description": "是否主单 - 0:不是 1:是",
  16393. "type": "integer"
  16394. },
  16395. "ispreexercise": {
  16396. "description": "是否预申报- 0:否 1:是",
  16397. "type": "integer"
  16398. },
  16399. "isreckoned": {
  16400. "description": "是否结算 - 0:未结算 1:已结算",
  16401. "type": "integer"
  16402. },
  16403. "isvaliddata": {
  16404. "description": "是否有效 - 0:无效 1:有效",
  16405. "type": "integer"
  16406. },
  16407. "listingselecttype": {
  16408. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16409. "type": "integer"
  16410. },
  16411. "marketid": {
  16412. "description": "市场ID",
  16413. "type": "integer"
  16414. },
  16415. "marketname": {
  16416. "description": "市场名称",
  16417. "type": "string"
  16418. },
  16419. "matchaccountid": {
  16420. "description": "对手账号id",
  16421. "type": "integer"
  16422. },
  16423. "memberuserid": {
  16424. "description": "会员id 个人投资者 需要填写",
  16425. "type": "integer"
  16426. },
  16427. "opencharge": {
  16428. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16429. "type": "number"
  16430. },
  16431. "openexchagechargevalue": {
  16432. "description": "建仓交易所手续费设置值",
  16433. "type": "number"
  16434. },
  16435. "openfeealgorithm": {
  16436. "description": "建仓手续费收取方式 1:比率 2:固定",
  16437. "type": "integer"
  16438. },
  16439. "openmemberchargevalue": {
  16440. "description": "建仓会员手续费设置值",
  16441. "type": "number"
  16442. },
  16443. "openqty": {
  16444. "description": "开仓数量(先建后平操作 需要记录)",
  16445. "type": "integer"
  16446. },
  16447. "optiontype": {
  16448. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16449. "type": "integer"
  16450. },
  16451. "orderid": {
  16452. "description": "委托单号",
  16453. "type": "string"
  16454. },
  16455. "performanceplanid": {
  16456. "description": "履约计划ID[期权]",
  16457. "type": "integer"
  16458. },
  16459. "performancestatus": {
  16460. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16461. "type": "integer"
  16462. },
  16463. "preexerciseprice": {
  16464. "description": "预申报价格",
  16465. "type": "number"
  16466. },
  16467. "premium": {
  16468. "description": "权利金 - [持仓单的权利金]",
  16469. "type": "number"
  16470. },
  16471. "relatedouttradeid": {
  16472. "description": "关联外部成交单ID",
  16473. "type": "integer"
  16474. },
  16475. "status": {
  16476. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16477. "type": "integer"
  16478. },
  16479. "tradeamount": {
  16480. "description": "成交金额[账户币种,用于所有权]",
  16481. "type": "number"
  16482. },
  16483. "tradedate": {
  16484. "description": "交易日(yyyyMMdd)",
  16485. "type": "string"
  16486. },
  16487. "tradeid": {
  16488. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16489. "type": "string"
  16490. },
  16491. "trademode": {
  16492. "description": "交易模式",
  16493. "type": "integer"
  16494. },
  16495. "tradeprice": {
  16496. "description": "成交价格",
  16497. "type": "number"
  16498. },
  16499. "tradeproperty": {
  16500. "description": "交易属性",
  16501. "type": "integer"
  16502. },
  16503. "tradeqty": {
  16504. "description": "成交数量",
  16505. "type": "integer"
  16506. },
  16507. "tradetime": {
  16508. "description": "成交时间",
  16509. "type": "string"
  16510. },
  16511. "tradetype": {
  16512. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16513. "type": "integer"
  16514. }
  16515. }
  16516. },
  16517. "order.QueryHisTradeOrderDetailRsp": {
  16518. "type": "object",
  16519. "required": [
  16520. "accountid",
  16521. "buildtype",
  16522. "buyorsell",
  16523. "goodsid",
  16524. "histradedate",
  16525. "marketid",
  16526. "memberuserid",
  16527. "operatetype",
  16528. "orderid",
  16529. "orderqty",
  16530. "ordertime",
  16531. "pricemode",
  16532. "tradedate",
  16533. "validtype"
  16534. ],
  16535. "properties": {
  16536. "accountid": {
  16537. "description": "账户ID[报价币种]",
  16538. "type": "integer"
  16539. },
  16540. "buildtype": {
  16541. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16542. "type": "integer"
  16543. },
  16544. "buyorsell": {
  16545. "description": "买卖 - 0:买 1:卖",
  16546. "type": "integer"
  16547. },
  16548. "cancelorderid": {
  16549. "description": "撤单单号(撤单时填写)",
  16550. "type": "string"
  16551. },
  16552. "cancelqty": {
  16553. "description": "撤单数量",
  16554. "type": "integer"
  16555. },
  16556. "clientordertime": {
  16557. "description": "客户端委托时间",
  16558. "type": "string"
  16559. },
  16560. "clientticket": {
  16561. "description": "客户端流水号",
  16562. "type": "string"
  16563. },
  16564. "clienttype": {
  16565. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16566. "type": "integer"
  16567. },
  16568. "closeexchagechargevalue": {
  16569. "description": "平仓交易所手续费设置值",
  16570. "type": "number"
  16571. },
  16572. "closefeealgorithm": {
  16573. "description": "平仓手续费收取方式 1:比率 2:固定",
  16574. "type": "integer"
  16575. },
  16576. "closefreezecharge": {
  16577. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16578. "type": "number"
  16579. },
  16580. "closememberchargevalue": {
  16581. "description": "平仓会员手续费设置值",
  16582. "type": "number"
  16583. },
  16584. "closeqty": {
  16585. "description": "平仓数量(先建后平操作 需要记录)",
  16586. "type": "integer"
  16587. },
  16588. "closetradeqty": {
  16589. "description": "平仓成交数量(先建后平操作,需要记录)",
  16590. "type": "integer"
  16591. },
  16592. "closeunfreezecharge": {
  16593. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16594. "type": "number"
  16595. },
  16596. "delistingtype": {
  16597. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16598. "type": "integer"
  16599. },
  16600. "freezecharge": {
  16601. "description": "冻结手续费",
  16602. "type": "number"
  16603. },
  16604. "freezemargin": {
  16605. "description": "冻结保证金(冻结交易金额)",
  16606. "type": "number"
  16607. },
  16608. "gcaccountid": {
  16609. "description": "账户ID[合约币种]",
  16610. "type": "integer"
  16611. },
  16612. "goodscode": {
  16613. "description": "商品代码",
  16614. "type": "string"
  16615. },
  16616. "goodsid": {
  16617. "description": "商品ID",
  16618. "type": "integer"
  16619. },
  16620. "goodsname": {
  16621. "description": "商品名称",
  16622. "type": "string"
  16623. },
  16624. "histradedate": {
  16625. "description": "历史交易日",
  16626. "type": "string"
  16627. },
  16628. "isconfirmexercise": {
  16629. "description": "是否确认行权- 0:否 1:是",
  16630. "type": "integer"
  16631. },
  16632. "ispreexercise": {
  16633. "description": "是否预申报- 0:否 1:是",
  16634. "type": "integer"
  16635. },
  16636. "isvaliddata": {
  16637. "description": "是否有效 - 0:无效 1:有效",
  16638. "type": "integer"
  16639. },
  16640. "listingselecttype": {
  16641. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16642. "type": "integer"
  16643. },
  16644. "marginalgorithm": {
  16645. "description": "保证金收取方式 1:比率 2:固定",
  16646. "type": "integer"
  16647. },
  16648. "marginvalue": {
  16649. "description": "即市保证金设置值",
  16650. "type": "number"
  16651. },
  16652. "marketid": {
  16653. "description": "市场ID",
  16654. "type": "integer"
  16655. },
  16656. "marketmaxsub": {
  16657. "description": "市价最大偏移范围",
  16658. "type": "number"
  16659. },
  16660. "marketname": {
  16661. "description": "市场名称",
  16662. "type": "string"
  16663. },
  16664. "memberuserid": {
  16665. "description": "所属会员UserID",
  16666. "type": "integer"
  16667. },
  16668. "openexchagechargevalue": {
  16669. "description": "建仓交易所手续费设置值",
  16670. "type": "number"
  16671. },
  16672. "openfeealgorithm": {
  16673. "description": "建仓手续费收取方式 1:比率 2:固定",
  16674. "type": "integer"
  16675. },
  16676. "openfreezecharge": {
  16677. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16678. "type": "number"
  16679. },
  16680. "openmemberchargevalue": {
  16681. "description": "建仓会员手续费设置值",
  16682. "type": "number"
  16683. },
  16684. "openqty": {
  16685. "description": "开仓数量(先建后平操作,需要记录)",
  16686. "type": "integer"
  16687. },
  16688. "opentradeqty": {
  16689. "description": "开仓成交数量(先建后平操作,需要记录)",
  16690. "type": "integer"
  16691. },
  16692. "openunfreezecharge": {
  16693. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16694. "type": "number"
  16695. },
  16696. "operatetype": {
  16697. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16698. "type": "integer"
  16699. },
  16700. "operatorid": {
  16701. "description": "登录账号(LoginID)",
  16702. "type": "integer"
  16703. },
  16704. "optiontype": {
  16705. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16706. "type": "integer"
  16707. },
  16708. "orderid": {
  16709. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16710. "type": "string"
  16711. },
  16712. "orderprice": {
  16713. "description": "委托价格",
  16714. "type": "number"
  16715. },
  16716. "orderqty": {
  16717. "description": "委托数量",
  16718. "type": "integer"
  16719. },
  16720. "ordersrc": {
  16721. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16722. "type": "integer"
  16723. },
  16724. "orderstatus": {
  16725. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16726. "type": "integer"
  16727. },
  16728. "ordertime": {
  16729. "description": "委托时间",
  16730. "type": "string"
  16731. },
  16732. "preexerciseprice": {
  16733. "description": "预申报价格",
  16734. "type": "number"
  16735. },
  16736. "premium": {
  16737. "description": "权利金",
  16738. "type": "number"
  16739. },
  16740. "preorderid": {
  16741. "description": "关联预埋单号(止盈止损单时填写)",
  16742. "type": "string"
  16743. },
  16744. "pricemode": {
  16745. "description": "取价方式 - 1:市价 2: 限价",
  16746. "type": "integer"
  16747. },
  16748. "quoteid": {
  16749. "description": "报价单ID",
  16750. "type": "integer"
  16751. },
  16752. "relatedid": {
  16753. "description": "关联单号(交割单)",
  16754. "type": "string"
  16755. },
  16756. "retcode": {
  16757. "description": "错误代码",
  16758. "type": "integer"
  16759. },
  16760. "sessionid": {
  16761. "description": "会话ID",
  16762. "type": "integer"
  16763. },
  16764. "tradedate": {
  16765. "description": "交易日(yyyyMMdd)",
  16766. "type": "string"
  16767. },
  16768. "trademode": {
  16769. "description": "交易模式",
  16770. "type": "integer"
  16771. },
  16772. "tradeproperty": {
  16773. "description": "交易属性",
  16774. "type": "integer"
  16775. },
  16776. "tradeqty": {
  16777. "description": "成交数量",
  16778. "type": "integer"
  16779. },
  16780. "unfreezecharge": {
  16781. "description": "解冻手续费",
  16782. "type": "number"
  16783. },
  16784. "unfreezemargin": {
  16785. "description": "解冻保证金",
  16786. "type": "number"
  16787. },
  16788. "updatetime": {
  16789. "description": "更新时间",
  16790. "type": "string"
  16791. },
  16792. "uuid": {
  16793. "description": "发起端唯一id",
  16794. "type": "string"
  16795. },
  16796. "validtime": {
  16797. "description": "有效期限",
  16798. "type": "string"
  16799. },
  16800. "validtype": {
  16801. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16802. "type": "integer"
  16803. },
  16804. "volumetype": {
  16805. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16806. "type": "integer"
  16807. }
  16808. }
  16809. },
  16810. "order.QueryTradeDetailRsp": {
  16811. "type": "object",
  16812. "required": [
  16813. "accountid",
  16814. "buyorsell",
  16815. "goodsid",
  16816. "marketid",
  16817. "memberuserid",
  16818. "orderid",
  16819. "tradeamount",
  16820. "tradedate",
  16821. "tradeid",
  16822. "tradeprice",
  16823. "tradeqty",
  16824. "tradetime"
  16825. ],
  16826. "properties": {
  16827. "accountid": {
  16828. "description": "账户ID[报价币种]",
  16829. "type": "integer"
  16830. },
  16831. "buildtype": {
  16832. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16833. "type": "integer"
  16834. },
  16835. "buyorsell": {
  16836. "description": "方向 - 0:买 1:卖",
  16837. "type": "integer"
  16838. },
  16839. "charge": {
  16840. "description": "手续费",
  16841. "type": "number"
  16842. },
  16843. "closecharge": {
  16844. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16845. "type": "number"
  16846. },
  16847. "closeexchagechargevalue": {
  16848. "description": "平仓交易所手续费设置值",
  16849. "type": "number"
  16850. },
  16851. "closefeealgorithm": {
  16852. "description": "平仓手续费收取方式 1:比率 2:固定",
  16853. "type": "integer"
  16854. },
  16855. "closememberchargevalue": {
  16856. "description": "平仓会员手续费设置值",
  16857. "type": "number"
  16858. },
  16859. "closepl": {
  16860. "description": "平仓盈亏",
  16861. "type": "number"
  16862. },
  16863. "closepl2": {
  16864. "description": "平仓盈亏[逐笔]",
  16865. "type": "number"
  16866. },
  16867. "closeqty": {
  16868. "description": "平仓数量(先建后平操作 需要记录)",
  16869. "type": "integer"
  16870. },
  16871. "creditamount": {
  16872. "description": "授信金额",
  16873. "type": "number"
  16874. },
  16875. "gcaccountid": {
  16876. "description": "账户ID[合约币种]",
  16877. "type": "integer"
  16878. },
  16879. "goodscode": {
  16880. "description": "商品代码",
  16881. "type": "string"
  16882. },
  16883. "goodsid": {
  16884. "description": "商品ID",
  16885. "type": "integer"
  16886. },
  16887. "goodsname": {
  16888. "description": "商品名称",
  16889. "type": "string"
  16890. },
  16891. "intclosepl": {
  16892. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16893. "type": "integer"
  16894. },
  16895. "isconfirmexercise": {
  16896. "description": "是否确认行权- 0:否 1:是",
  16897. "type": "integer"
  16898. },
  16899. "ismain": {
  16900. "description": "是否主单 - 0:不是 1:是",
  16901. "type": "integer"
  16902. },
  16903. "ispreexercise": {
  16904. "description": "是否预申报- 0:否 1:是",
  16905. "type": "integer"
  16906. },
  16907. "isreckoned": {
  16908. "description": "是否结算 - 0:未结算 1:已结算",
  16909. "type": "integer"
  16910. },
  16911. "listingselecttype": {
  16912. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16913. "type": "integer"
  16914. },
  16915. "marketid": {
  16916. "description": "市场ID",
  16917. "type": "integer"
  16918. },
  16919. "marketname": {
  16920. "description": "市场名称",
  16921. "type": "string"
  16922. },
  16923. "matchaccountid": {
  16924. "description": "对手账号id",
  16925. "type": "integer"
  16926. },
  16927. "memberuserid": {
  16928. "description": "会员id 个人投资者 需要填写",
  16929. "type": "integer"
  16930. },
  16931. "opencharge": {
  16932. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16933. "type": "number"
  16934. },
  16935. "openexchagechargevalue": {
  16936. "description": "建仓交易所手续费设置值",
  16937. "type": "number"
  16938. },
  16939. "openfeealgorithm": {
  16940. "description": "建仓手续费收取方式 1:比率 2:固定",
  16941. "type": "integer"
  16942. },
  16943. "openmemberchargevalue": {
  16944. "description": "建仓会员手续费设置值",
  16945. "type": "number"
  16946. },
  16947. "openqty": {
  16948. "description": "开仓数量(先建后平操作 需要记录)",
  16949. "type": "integer"
  16950. },
  16951. "optiontype": {
  16952. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16953. "type": "integer"
  16954. },
  16955. "orderid": {
  16956. "description": "委托单号",
  16957. "type": "string"
  16958. },
  16959. "performanceplanid": {
  16960. "description": "履约计划ID[期权]",
  16961. "type": "integer"
  16962. },
  16963. "performancestatus": {
  16964. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16965. "type": "integer"
  16966. },
  16967. "preexerciseprice": {
  16968. "description": "预申报价格",
  16969. "type": "number"
  16970. },
  16971. "premium": {
  16972. "description": "权利金 - [持仓单的权利金]",
  16973. "type": "number"
  16974. },
  16975. "relatedouttradeid": {
  16976. "description": "关联外部成交单ID",
  16977. "type": "integer"
  16978. },
  16979. "status": {
  16980. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16981. "type": "integer"
  16982. },
  16983. "tradeamount": {
  16984. "description": "成交金额[账户币种,用于所有权]",
  16985. "type": "number"
  16986. },
  16987. "tradedate": {
  16988. "description": "交易日(yyyyMMdd)",
  16989. "type": "string"
  16990. },
  16991. "tradeid": {
  16992. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16993. "type": "string"
  16994. },
  16995. "trademode": {
  16996. "description": "交易模式",
  16997. "type": "integer"
  16998. },
  16999. "tradeprice": {
  17000. "description": "成交价格",
  17001. "type": "number"
  17002. },
  17003. "tradeproperty": {
  17004. "description": "交易属性",
  17005. "type": "integer"
  17006. },
  17007. "tradeqty": {
  17008. "description": "成交数量",
  17009. "type": "integer"
  17010. },
  17011. "tradetime": {
  17012. "description": "成交时间",
  17013. "type": "string"
  17014. },
  17015. "tradetype": {
  17016. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17017. "type": "integer"
  17018. }
  17019. }
  17020. },
  17021. "order.QueryTradeOrderDetailRsp": {
  17022. "type": "object",
  17023. "required": [
  17024. "accountid",
  17025. "buildtype",
  17026. "buyorsell",
  17027. "goodsid",
  17028. "marketid",
  17029. "operatetype",
  17030. "orderqty",
  17031. "ordertime",
  17032. "pricemode",
  17033. "tradedate",
  17034. "validtype"
  17035. ],
  17036. "properties": {
  17037. "accountid": {
  17038. "description": "账户ID[报价币种]",
  17039. "type": "integer"
  17040. },
  17041. "buildtype": {
  17042. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17043. "type": "integer"
  17044. },
  17045. "buyorsell": {
  17046. "description": "买卖 - 0:买 1:卖",
  17047. "type": "integer"
  17048. },
  17049. "cancelorderid": {
  17050. "description": "撤单单号(撤单时填写)",
  17051. "type": "string"
  17052. },
  17053. "cancelqty": {
  17054. "description": "撤单数量",
  17055. "type": "integer"
  17056. },
  17057. "clienttype": {
  17058. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17059. "type": "integer"
  17060. },
  17061. "closefreezecharge": {
  17062. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17063. "type": "number"
  17064. },
  17065. "closeqty": {
  17066. "description": "平仓数量(先建后平操作 需要记录)",
  17067. "type": "integer"
  17068. },
  17069. "closetradeqty": {
  17070. "description": "平仓成交数量(先建后平操作,需要记录)",
  17071. "type": "integer"
  17072. },
  17073. "closeunfreezecharge": {
  17074. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17075. "type": "number"
  17076. },
  17077. "delistingtype": {
  17078. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17079. "type": "integer"
  17080. },
  17081. "enableqty": {
  17082. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17083. "type": "integer"
  17084. },
  17085. "freezecharge": {
  17086. "description": "冻结手续费",
  17087. "type": "number"
  17088. },
  17089. "freezemargin": {
  17090. "description": "冻结保证金(冻结交易金额)",
  17091. "type": "number"
  17092. },
  17093. "goodscode": {
  17094. "description": "商品代码",
  17095. "type": "string"
  17096. },
  17097. "goodsid": {
  17098. "description": "商品ID",
  17099. "type": "integer"
  17100. },
  17101. "goodsname": {
  17102. "description": "商品名称",
  17103. "type": "string"
  17104. },
  17105. "listingselecttype": {
  17106. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17107. "type": "integer"
  17108. },
  17109. "marketid": {
  17110. "description": "市场ID",
  17111. "type": "integer"
  17112. },
  17113. "marketname": {
  17114. "description": "市场名称",
  17115. "type": "string"
  17116. },
  17117. "openfreezecharge": {
  17118. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17119. "type": "number"
  17120. },
  17121. "openqty": {
  17122. "description": "开仓数量(先建后平操作,需要记录)",
  17123. "type": "integer"
  17124. },
  17125. "opentradeqty": {
  17126. "description": "开仓成交数量(先建后平操作,需要记录)",
  17127. "type": "integer"
  17128. },
  17129. "openunfreezecharge": {
  17130. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17131. "type": "number"
  17132. },
  17133. "operatetype": {
  17134. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17135. "type": "integer"
  17136. },
  17137. "operatorid": {
  17138. "description": "登录账号(LoginID)",
  17139. "type": "integer"
  17140. },
  17141. "orderid": {
  17142. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17143. "type": "string"
  17144. },
  17145. "orderprice": {
  17146. "description": "委托价格",
  17147. "type": "number"
  17148. },
  17149. "orderqty": {
  17150. "description": "委托数量",
  17151. "type": "integer"
  17152. },
  17153. "ordersrc": {
  17154. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17155. "type": "integer"
  17156. },
  17157. "orderstatus": {
  17158. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17159. "type": "integer"
  17160. },
  17161. "ordertime": {
  17162. "description": "委托时间",
  17163. "type": "string"
  17164. },
  17165. "preorderid": {
  17166. "description": "关联预埋单号(止盈止损单时填写)",
  17167. "type": "string"
  17168. },
  17169. "pricemode": {
  17170. "description": "取价方式 - 1:市价 2: 限价",
  17171. "type": "integer"
  17172. },
  17173. "relatedid": {
  17174. "description": "关联单号(交割单)",
  17175. "type": "string"
  17176. },
  17177. "tradedate": {
  17178. "description": "交易日(yyyyMMdd)",
  17179. "type": "string"
  17180. },
  17181. "trademode": {
  17182. "description": "交易模式",
  17183. "type": "integer"
  17184. },
  17185. "tradeqty": {
  17186. "description": "成交数量",
  17187. "type": "integer"
  17188. },
  17189. "unfreezecharge": {
  17190. "description": "解冻手续费",
  17191. "type": "number"
  17192. },
  17193. "unfreezemargin": {
  17194. "description": "解冻保证金",
  17195. "type": "number"
  17196. },
  17197. "validtime": {
  17198. "description": "有效期限",
  17199. "type": "string"
  17200. },
  17201. "validtype": {
  17202. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17203. "type": "integer"
  17204. },
  17205. "volumetype": {
  17206. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17207. "type": "integer"
  17208. }
  17209. }
  17210. },
  17211. "order.QueryTradePositionRsp": {
  17212. "type": "object",
  17213. "required": [
  17214. "goodsid"
  17215. ],
  17216. "properties": {
  17217. "accountid": {
  17218. "description": "资金账户",
  17219. "type": "integer"
  17220. },
  17221. "agreeunit": {
  17222. "description": "合约单位",
  17223. "type": "number"
  17224. },
  17225. "averageprice": {
  17226. "description": "持仓均价",
  17227. "type": "number"
  17228. },
  17229. "buyorsell": {
  17230. "description": "方向 - 0:买 1:卖",
  17231. "type": "integer"
  17232. },
  17233. "closetotalqty": {
  17234. "description": "平仓总数量",
  17235. "type": "integer"
  17236. },
  17237. "curholderamount": {
  17238. "description": "当前持仓总金额[商品币种]",
  17239. "type": "number"
  17240. },
  17241. "curpositionqty": {
  17242. "description": "当前持仓总数量",
  17243. "type": "integer"
  17244. },
  17245. "currencyid": {
  17246. "description": "报价货币ID",
  17247. "type": "integer"
  17248. },
  17249. "curtdposition": {
  17250. "description": "期末今日头寸",
  17251. "type": "integer"
  17252. },
  17253. "decimalplace": {
  17254. "description": "报价小数位",
  17255. "type": "integer"
  17256. },
  17257. "enableqty": {
  17258. "description": "可用量",
  17259. "type": "integer"
  17260. },
  17261. "fretdposition": {
  17262. "description": "冻结今日头寸",
  17263. "type": "integer"
  17264. },
  17265. "frozenqty": {
  17266. "description": "持仓冻结数量",
  17267. "type": "integer"
  17268. },
  17269. "goodscode": {
  17270. "description": "商品代码",
  17271. "type": "string"
  17272. },
  17273. "goodsid": {
  17274. "description": "商品Id",
  17275. "type": "integer"
  17276. },
  17277. "goodsname": {
  17278. "description": "商品名称",
  17279. "type": "string"
  17280. },
  17281. "goodunit": {
  17282. "description": "报价单位",
  17283. "type": "string"
  17284. },
  17285. "goodunitid": {
  17286. "description": "报价单位ID",
  17287. "type": "integer"
  17288. },
  17289. "holderamount": {
  17290. "description": "期初持仓总金额[商品币种]",
  17291. "type": "number"
  17292. },
  17293. "marketid": {
  17294. "description": "所属市场ID",
  17295. "type": "integer"
  17296. },
  17297. "openreqqty": {
  17298. "description": "开仓申请数量(用于比较最大持仓数量)",
  17299. "type": "integer"
  17300. },
  17301. "opentotalqty": {
  17302. "description": "开仓总数量",
  17303. "type": "integer"
  17304. },
  17305. "otherfrozenqty": {
  17306. "description": "持仓其他冻结数量(交割冻结)",
  17307. "type": "integer"
  17308. },
  17309. "positionqty": {
  17310. "description": "期初持仓数量",
  17311. "type": "integer"
  17312. },
  17313. "tnqty": {
  17314. "description": "T+N冻结总量",
  17315. "type": "integer"
  17316. },
  17317. "tnusedqty": {
  17318. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17319. "type": "integer"
  17320. },
  17321. "trademode": {
  17322. "description": "交易模式",
  17323. "type": "integer"
  17324. },
  17325. "usedmargin": {
  17326. "description": "占用保证金[商品币种]",
  17327. "type": "number"
  17328. }
  17329. }
  17330. },
  17331. "quote.HistoryData": {
  17332. "type": "object",
  17333. "properties": {
  17334. "c": {
  17335. "description": "收盘价",
  17336. "type": "number"
  17337. },
  17338. "f": {
  17339. "description": "是否补充数据",
  17340. "type": "boolean"
  17341. },
  17342. "h": {
  17343. "description": "最高价",
  17344. "type": "number"
  17345. },
  17346. "hv": {
  17347. "description": "持仓量",
  17348. "type": "integer"
  17349. },
  17350. "l": {
  17351. "description": "最低价",
  17352. "type": "number"
  17353. },
  17354. "o": {
  17355. "description": "开盘价",
  17356. "type": "number"
  17357. },
  17358. "s": {
  17359. "description": "结算价,日线周期(包括)以上才有",
  17360. "type": "number"
  17361. },
  17362. "ts": {
  17363. "description": "时间",
  17364. "type": "string"
  17365. },
  17366. "tt": {
  17367. "description": "总金额",
  17368. "type": "number"
  17369. },
  17370. "tv": {
  17371. "description": "总量",
  17372. "type": "integer"
  17373. }
  17374. }
  17375. },
  17376. "quote.HistoryTikData": {
  17377. "type": "object",
  17378. "properties": {
  17379. "AV": {
  17380. "description": "卖量",
  17381. "type": "integer"
  17382. },
  17383. "Ask": {
  17384. "description": "卖价",
  17385. "type": "number"
  17386. },
  17387. "BV": {
  17388. "description": "买量",
  17389. "type": "integer"
  17390. },
  17391. "Bid": {
  17392. "description": "买价",
  17393. "type": "number"
  17394. },
  17395. "HI": {
  17396. "description": "单笔持仓",
  17397. "type": "integer"
  17398. },
  17399. "HV": {
  17400. "description": "持仓量",
  17401. "type": "integer"
  17402. },
  17403. "PE": {
  17404. "description": "现价",
  17405. "type": "number"
  17406. },
  17407. "TDR": {
  17408. "description": "交易方向,0:买 1:卖",
  17409. "type": "integer"
  17410. },
  17411. "TK": {
  17412. "description": "交易类型",
  17413. "type": "integer"
  17414. },
  17415. "TS": {
  17416. "description": "行情时间文本",
  17417. "type": "string"
  17418. },
  17419. "TT": {
  17420. "description": "现金额",
  17421. "type": "number"
  17422. },
  17423. "Vol": {
  17424. "description": "现量",
  17425. "type": "integer"
  17426. }
  17427. }
  17428. },
  17429. "quote.QueryQuoteDayRsp": {
  17430. "type": "object",
  17431. "properties": {
  17432. "ask": {
  17433. "description": "卖1",
  17434. "type": "number"
  17435. },
  17436. "ask10": {
  17437. "description": "卖10",
  17438. "type": "number"
  17439. },
  17440. "ask2": {
  17441. "description": "卖2",
  17442. "type": "number"
  17443. },
  17444. "ask3": {
  17445. "description": "卖3",
  17446. "type": "number"
  17447. },
  17448. "ask4": {
  17449. "description": "卖4",
  17450. "type": "number"
  17451. },
  17452. "ask5": {
  17453. "description": "卖5",
  17454. "type": "number"
  17455. },
  17456. "ask6": {
  17457. "description": "卖6",
  17458. "type": "number"
  17459. },
  17460. "ask7": {
  17461. "description": "卖7",
  17462. "type": "number"
  17463. },
  17464. "ask8": {
  17465. "description": "卖8",
  17466. "type": "number"
  17467. },
  17468. "ask9": {
  17469. "description": "卖9",
  17470. "type": "number"
  17471. },
  17472. "askorderid": {
  17473. "description": "卖单号1",
  17474. "type": "integer"
  17475. },
  17476. "askorderid2": {
  17477. "description": "卖单号2",
  17478. "type": "integer"
  17479. },
  17480. "askorderid3": {
  17481. "description": "卖单号3",
  17482. "type": "integer"
  17483. },
  17484. "askorderid4": {
  17485. "description": "卖单号4",
  17486. "type": "integer"
  17487. },
  17488. "askorderid5": {
  17489. "description": "卖单号5",
  17490. "type": "integer"
  17491. },
  17492. "askordervolume": {
  17493. "description": "卖单量1",
  17494. "type": "integer"
  17495. },
  17496. "askordervolume10": {
  17497. "description": "卖单量10",
  17498. "type": "integer"
  17499. },
  17500. "askordervolume2": {
  17501. "description": "卖单量2",
  17502. "type": "integer"
  17503. },
  17504. "askordervolume3": {
  17505. "description": "卖单量3",
  17506. "type": "integer"
  17507. },
  17508. "askordervolume4": {
  17509. "description": "卖单量4",
  17510. "type": "integer"
  17511. },
  17512. "askordervolume5": {
  17513. "description": "卖单量5",
  17514. "type": "integer"
  17515. },
  17516. "askordervolume6": {
  17517. "description": "卖单量6",
  17518. "type": "integer"
  17519. },
  17520. "askordervolume7": {
  17521. "description": "卖单量7",
  17522. "type": "integer"
  17523. },
  17524. "askordervolume8": {
  17525. "description": "卖单量8",
  17526. "type": "integer"
  17527. },
  17528. "askordervolume9": {
  17529. "description": "卖单量9",
  17530. "type": "integer"
  17531. },
  17532. "askqueueinfo": {
  17533. "description": "大利市卖港股用",
  17534. "type": "string"
  17535. },
  17536. "askvolume": {
  17537. "description": "卖量1",
  17538. "type": "integer"
  17539. },
  17540. "askvolume10": {
  17541. "description": "卖量10",
  17542. "type": "integer"
  17543. },
  17544. "askvolume2": {
  17545. "description": "卖量2",
  17546. "type": "integer"
  17547. },
  17548. "askvolume3": {
  17549. "description": "卖量3",
  17550. "type": "integer"
  17551. },
  17552. "askvolume4": {
  17553. "description": "卖量4",
  17554. "type": "integer"
  17555. },
  17556. "askvolume5": {
  17557. "description": "卖量5",
  17558. "type": "integer"
  17559. },
  17560. "askvolume6": {
  17561. "description": "卖量6",
  17562. "type": "integer"
  17563. },
  17564. "askvolume7": {
  17565. "description": "卖量7",
  17566. "type": "integer"
  17567. },
  17568. "askvolume8": {
  17569. "description": "卖量8",
  17570. "type": "integer"
  17571. },
  17572. "askvolume9": {
  17573. "description": "卖量9",
  17574. "type": "integer"
  17575. },
  17576. "averageprice": {
  17577. "description": "均价",
  17578. "type": "number"
  17579. },
  17580. "bid": {
  17581. "description": "买1",
  17582. "type": "number"
  17583. },
  17584. "bid10": {
  17585. "description": "买10",
  17586. "type": "number"
  17587. },
  17588. "bid2": {
  17589. "description": "买2",
  17590. "type": "number"
  17591. },
  17592. "bid3": {
  17593. "description": "买3",
  17594. "type": "number"
  17595. },
  17596. "bid4": {
  17597. "description": "买4",
  17598. "type": "number"
  17599. },
  17600. "bid5": {
  17601. "description": "买5",
  17602. "type": "number"
  17603. },
  17604. "bid6": {
  17605. "description": "买6",
  17606. "type": "number"
  17607. },
  17608. "bid7": {
  17609. "description": "买7",
  17610. "type": "number"
  17611. },
  17612. "bid8": {
  17613. "description": "买8",
  17614. "type": "number"
  17615. },
  17616. "bid9": {
  17617. "description": "买9",
  17618. "type": "number"
  17619. },
  17620. "bidorderid": {
  17621. "description": "买单号1",
  17622. "type": "integer"
  17623. },
  17624. "bidorderid2": {
  17625. "description": "买单号2",
  17626. "type": "integer"
  17627. },
  17628. "bidorderid3": {
  17629. "description": "买单号3",
  17630. "type": "integer"
  17631. },
  17632. "bidorderid4": {
  17633. "description": "买单号4",
  17634. "type": "integer"
  17635. },
  17636. "bidorderid5": {
  17637. "description": "买单号5",
  17638. "type": "integer"
  17639. },
  17640. "bidordervolume": {
  17641. "description": "买单量1",
  17642. "type": "integer"
  17643. },
  17644. "bidordervolume10": {
  17645. "description": "买单量10",
  17646. "type": "integer"
  17647. },
  17648. "bidordervolume2": {
  17649. "description": "买单量2",
  17650. "type": "integer"
  17651. },
  17652. "bidordervolume3": {
  17653. "description": "买单量3",
  17654. "type": "integer"
  17655. },
  17656. "bidordervolume4": {
  17657. "description": "买单量4",
  17658. "type": "integer"
  17659. },
  17660. "bidordervolume5": {
  17661. "description": "买单量5",
  17662. "type": "integer"
  17663. },
  17664. "bidordervolume6": {
  17665. "description": "买单量6",
  17666. "type": "integer"
  17667. },
  17668. "bidordervolume7": {
  17669. "description": "买单量7",
  17670. "type": "integer"
  17671. },
  17672. "bidordervolume8": {
  17673. "description": "买单量8",
  17674. "type": "integer"
  17675. },
  17676. "bidordervolume9": {
  17677. "description": "买单量9",
  17678. "type": "integer"
  17679. },
  17680. "bidqueueinfo": {
  17681. "description": "大利市买港股用",
  17682. "type": "string"
  17683. },
  17684. "bidvolume": {
  17685. "description": "买量1",
  17686. "type": "integer"
  17687. },
  17688. "bidvolume10": {
  17689. "description": "买量10",
  17690. "type": "integer"
  17691. },
  17692. "bidvolume2": {
  17693. "description": "买量2",
  17694. "type": "integer"
  17695. },
  17696. "bidvolume3": {
  17697. "description": "买量3",
  17698. "type": "integer"
  17699. },
  17700. "bidvolume4": {
  17701. "description": "买量4",
  17702. "type": "integer"
  17703. },
  17704. "bidvolume5": {
  17705. "description": "买量5",
  17706. "type": "integer"
  17707. },
  17708. "bidvolume6": {
  17709. "description": "买量6",
  17710. "type": "integer"
  17711. },
  17712. "bidvolume7": {
  17713. "description": "买量7",
  17714. "type": "integer"
  17715. },
  17716. "bidvolume8": {
  17717. "description": "买量8",
  17718. "type": "integer"
  17719. },
  17720. "bidvolume9": {
  17721. "description": "买量9",
  17722. "type": "integer"
  17723. },
  17724. "calloptionpremiums": {
  17725. "description": "认购期权1",
  17726. "type": "integer"
  17727. },
  17728. "calloptionpremiums2": {
  17729. "description": "认购期权2",
  17730. "type": "integer"
  17731. },
  17732. "calloptionpremiums3": {
  17733. "description": "认购期权3",
  17734. "type": "integer"
  17735. },
  17736. "calloptionpremiums4": {
  17737. "description": "认购期权4",
  17738. "type": "integer"
  17739. },
  17740. "calloptionpremiums5": {
  17741. "description": "认购期权5",
  17742. "type": "integer"
  17743. },
  17744. "cleartime": {
  17745. "description": "清盘时间",
  17746. "type": "integer"
  17747. },
  17748. "exchangecode": {
  17749. "description": "交易所代码",
  17750. "type": "integer"
  17751. },
  17752. "exchangedate": {
  17753. "description": "交易日",
  17754. "type": "integer"
  17755. },
  17756. "goodscode": {
  17757. "description": "商品代码",
  17758. "type": "string"
  17759. },
  17760. "grepmarketprice": {
  17761. "description": "暗盘价 港股专用",
  17762. "type": "number"
  17763. },
  17764. "highest": {
  17765. "description": "最高价",
  17766. "type": "number"
  17767. },
  17768. "holdincrement": {
  17769. "description": "单笔持仓",
  17770. "type": "integer"
  17771. },
  17772. "holdvolume": {
  17773. "description": "持仓",
  17774. "type": "integer"
  17775. },
  17776. "iep": {
  17777. "description": "平衡价 港股专用",
  17778. "type": "number"
  17779. },
  17780. "iev": {
  17781. "description": "平衡量 港股专用",
  17782. "type": "number"
  17783. },
  17784. "inventory": {
  17785. "description": "库存",
  17786. "type": "integer"
  17787. },
  17788. "iscleared": {
  17789. "description": "是否清盘标志",
  17790. "type": "integer"
  17791. },
  17792. "issettled": {
  17793. "description": "是否结算标志",
  17794. "type": "integer"
  17795. },
  17796. "last": {
  17797. "description": "最新价",
  17798. "type": "number"
  17799. },
  17800. "lastlot": {
  17801. "description": "最新成交手数",
  17802. "type": "integer"
  17803. },
  17804. "lasttime": {
  17805. "description": "行情时间(只有现价变化行情时间才变化)",
  17806. "type": "string"
  17807. },
  17808. "lastturnover": {
  17809. "description": "最新成交金额",
  17810. "type": "number"
  17811. },
  17812. "lastvolume": {
  17813. "description": "最新成交量",
  17814. "type": "integer"
  17815. },
  17816. "limitdown": {
  17817. "description": "跌停价",
  17818. "type": "number"
  17819. },
  17820. "limitup": {
  17821. "description": "涨停价",
  17822. "type": "number"
  17823. },
  17824. "lowest": {
  17825. "description": "最低价",
  17826. "type": "number"
  17827. },
  17828. "nontotalholdervolume": {
  17829. "description": "非交易持仓量",
  17830. "type": "integer"
  17831. },
  17832. "nontotallot": {
  17833. "description": "非交易总手数",
  17834. "type": "integer"
  17835. },
  17836. "nontotalturnover": {
  17837. "description": "非交易总金额",
  17838. "type": "integer"
  17839. },
  17840. "nontotalvolume": {
  17841. "description": "非交易总量",
  17842. "type": "integer"
  17843. },
  17844. "opened": {
  17845. "description": "开盘价",
  17846. "type": "number"
  17847. },
  17848. "opentime": {
  17849. "description": "开盘时间",
  17850. "type": "string"
  17851. },
  17852. "orderid": {
  17853. "description": "序号",
  17854. "type": "integer"
  17855. },
  17856. "preclose": {
  17857. "description": "昨收",
  17858. "type": "number"
  17859. },
  17860. "preholdvolume": {
  17861. "description": "昨持仓",
  17862. "type": "integer"
  17863. },
  17864. "presettle": {
  17865. "description": "昨结价",
  17866. "type": "number"
  17867. },
  17868. "publictradetype": {
  17869. "description": "公共交易标志类型 港股专用",
  17870. "type": "string"
  17871. },
  17872. "putoptionpremiums": {
  17873. "description": "认沽期权1",
  17874. "type": "integer"
  17875. },
  17876. "putoptionpremiums2": {
  17877. "description": "认沽期权2",
  17878. "type": "integer"
  17879. },
  17880. "putoptionpremiums3": {
  17881. "description": "认沽期权3",
  17882. "type": "integer"
  17883. },
  17884. "putoptionpremiums4": {
  17885. "description": "认沽期权4",
  17886. "type": "integer"
  17887. },
  17888. "putoptionpremiums5": {
  17889. "description": "认沽期权5",
  17890. "type": "integer"
  17891. },
  17892. "settle": {
  17893. "description": "结算价",
  17894. "type": "number"
  17895. },
  17896. "strikeprice": {
  17897. "description": "发行价",
  17898. "type": "number"
  17899. },
  17900. "totalaskvolume": {
  17901. "description": "内盘",
  17902. "type": "integer"
  17903. },
  17904. "totalbidvolume": {
  17905. "description": "外盘",
  17906. "type": "integer"
  17907. },
  17908. "totallot": {
  17909. "description": "总手数",
  17910. "type": "integer"
  17911. },
  17912. "totalturnover": {
  17913. "description": "总金额",
  17914. "type": "number"
  17915. },
  17916. "totalvolume": {
  17917. "description": "总量",
  17918. "type": "integer"
  17919. },
  17920. "utclasttime": {
  17921. "description": "utc的行情时间",
  17922. "type": "string"
  17923. }
  17924. }
  17925. },
  17926. "quote.QueryTSDataRsp": {
  17927. "type": "object",
  17928. "properties": {
  17929. "decimalPlace": {
  17930. "description": "小数位",
  17931. "type": "integer"
  17932. },
  17933. "endTime": {
  17934. "description": "结束时间",
  17935. "type": "string"
  17936. },
  17937. "goodsCode": {
  17938. "description": "商品代码",
  17939. "type": "string"
  17940. },
  17941. "historyDatas": {
  17942. "description": "历史数据",
  17943. "type": "array",
  17944. "items": {
  17945. "$ref": "#/definitions/quote.HistoryData"
  17946. }
  17947. },
  17948. "outGoodsCode": {
  17949. "description": "外部商品代码",
  17950. "type": "string"
  17951. },
  17952. "preSettle": {
  17953. "description": "昨结",
  17954. "type": "number"
  17955. },
  17956. "startTime": {
  17957. "description": "开始时间",
  17958. "type": "string"
  17959. },
  17960. "tradeDate": {
  17961. "description": "交易日",
  17962. "type": "string"
  17963. }
  17964. }
  17965. },
  17966. "szdz.QueryConvertLogRsp": {
  17967. "type": "object",
  17968. "required": [
  17969. "logid"
  17970. ],
  17971. "properties": {
  17972. "accountid": {
  17973. "description": "资金账户ID",
  17974. "type": "integer"
  17975. },
  17976. "clientticket": {
  17977. "description": "客户端流水号",
  17978. "type": "string"
  17979. },
  17980. "converttype": {
  17981. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17982. "type": "integer"
  17983. },
  17984. "createtime": {
  17985. "description": "记账时间",
  17986. "type": "string"
  17987. },
  17988. "daymaxvalue": {
  17989. "description": "配置当日最大转入限制",
  17990. "type": "number"
  17991. },
  17992. "daymaxvalue2": {
  17993. "description": "配置当日最大转入限制(转入)",
  17994. "type": "number"
  17995. },
  17996. "goodscode": {
  17997. "description": "商品代码",
  17998. "type": "string"
  17999. },
  18000. "goodsname": {
  18001. "description": "商品名称",
  18002. "type": "string"
  18003. },
  18004. "handlestatus": {
  18005. "description": "处理状态",
  18006. "type": "integer"
  18007. },
  18008. "innergoodsid": {
  18009. "description": "内部商品ID",
  18010. "type": "integer"
  18011. },
  18012. "inratio": {
  18013. "description": "配置转入比值",
  18014. "type": "integer"
  18015. },
  18016. "invalue": {
  18017. "description": "目标值",
  18018. "type": "number"
  18019. },
  18020. "logid": {
  18021. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18022. "type": "integer"
  18023. },
  18024. "mobile": {
  18025. "description": "手机号码(加密存储)",
  18026. "type": "string"
  18027. },
  18028. "outergoodscode": {
  18029. "description": "外部商品代码[JD\\PD]",
  18030. "type": "string"
  18031. },
  18032. "outratio": {
  18033. "description": "配置转出比值",
  18034. "type": "integer"
  18035. },
  18036. "outvalue": {
  18037. "description": "源值",
  18038. "type": "number"
  18039. },
  18040. "pddecimalplace": {
  18041. "description": "PD小数位",
  18042. "type": "integer"
  18043. },
  18044. "qty": {
  18045. "description": "数量",
  18046. "type": "string"
  18047. },
  18048. "remark": {
  18049. "description": "备注",
  18050. "type": "string"
  18051. },
  18052. "sessionid": {
  18053. "description": "会话ID",
  18054. "type": "integer"
  18055. },
  18056. "timemaxvalue": {
  18057. "description": "配置单次最大转入限制",
  18058. "type": "number"
  18059. },
  18060. "timemaxvalue2": {
  18061. "description": "配置单次最大转入限制(转入)",
  18062. "type": "number"
  18063. },
  18064. "timeminvalue": {
  18065. "description": "配置单次最小数量限制",
  18066. "type": "number"
  18067. },
  18068. "timeminvalue2": {
  18069. "description": "配置单次最小数量限制(转入)",
  18070. "type": "number"
  18071. },
  18072. "tradedate": {
  18073. "description": "交易日(yyyyMMdd)",
  18074. "type": "string"
  18075. },
  18076. "userid": {
  18077. "description": "用户ID",
  18078. "type": "integer"
  18079. }
  18080. }
  18081. },
  18082. "szdz.QueryGoodsPickupRsp": {
  18083. "type": "object",
  18084. "required": [
  18085. "takeorderid"
  18086. ],
  18087. "properties": {
  18088. "accountid": {
  18089. "description": "账户ID",
  18090. "type": "integer"
  18091. },
  18092. "address": {
  18093. "description": "提货人详细地址",
  18094. "type": "string"
  18095. },
  18096. "auditer": {
  18097. "description": "审核人",
  18098. "type": "integer"
  18099. },
  18100. "audittime": {
  18101. "description": "审核时间",
  18102. "type": "string"
  18103. },
  18104. "cardnum": {
  18105. "description": "提货人证件号码",
  18106. "type": "string"
  18107. },
  18108. "cardtypeid": {
  18109. "description": "提货人证件类型",
  18110. "type": "integer"
  18111. },
  18112. "checkremark": {
  18113. "description": "审核备注",
  18114. "type": "string"
  18115. },
  18116. "goodscode": {
  18117. "description": "商品代码",
  18118. "type": "string"
  18119. },
  18120. "goodsid": {
  18121. "description": "商品ID",
  18122. "type": "integer"
  18123. },
  18124. "goodsname": {
  18125. "description": "商品名称",
  18126. "type": "string"
  18127. },
  18128. "handlestatus": {
  18129. "description": "处理状态",
  18130. "type": "integer"
  18131. },
  18132. "marketid": {
  18133. "description": "市场ID",
  18134. "type": "integer"
  18135. },
  18136. "phonenum": {
  18137. "description": "提货人联系方式",
  18138. "type": "string"
  18139. },
  18140. "qty": {
  18141. "description": "提货数量",
  18142. "type": "number"
  18143. },
  18144. "recivername": {
  18145. "description": "提货人姓名",
  18146. "type": "string"
  18147. },
  18148. "reqtime": {
  18149. "description": "更新时间",
  18150. "type": "string"
  18151. },
  18152. "takemode": {
  18153. "description": "提货方式 - 2:自提 3:配送",
  18154. "type": "integer"
  18155. },
  18156. "takeorderid": {
  18157. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18158. "type": "string"
  18159. },
  18160. "takeorderstatus": {
  18161. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18162. "type": "integer"
  18163. },
  18164. "takeremark": {
  18165. "description": "提货备注",
  18166. "type": "string"
  18167. },
  18168. "tradedate": {
  18169. "description": "交易日(yyyyMMdd)",
  18170. "type": "string"
  18171. },
  18172. "userid": {
  18173. "description": "用户ID",
  18174. "type": "integer"
  18175. }
  18176. }
  18177. },
  18178. "szdz.QueryRecieptOrderRsp": {
  18179. "type": "object",
  18180. "required": [
  18181. "ordertime"
  18182. ],
  18183. "properties": {
  18184. "accountName": {
  18185. "description": "所属账号名称(已脱敏)",
  18186. "type": "string"
  18187. },
  18188. "accountid": {
  18189. "description": "资金账号",
  18190. "type": "integer"
  18191. },
  18192. "buyorsell": {
  18193. "description": "方向 - 0:买 1:卖",
  18194. "type": "integer"
  18195. },
  18196. "enableqty": {
  18197. "description": "可摘数量",
  18198. "type": "integer"
  18199. },
  18200. "goodscode": {
  18201. "description": "商品代码",
  18202. "type": "string"
  18203. },
  18204. "goodsid": {
  18205. "description": "商品ID",
  18206. "type": "integer"
  18207. },
  18208. "goodsname": {
  18209. "description": "商品名称",
  18210. "type": "string"
  18211. },
  18212. "orderid": {
  18213. "description": "委托单号",
  18214. "type": "string"
  18215. },
  18216. "orderprice": {
  18217. "description": "委托价格",
  18218. "type": "number"
  18219. },
  18220. "ordertime": {
  18221. "description": "委托时间",
  18222. "type": "string"
  18223. },
  18224. "tradedate": {
  18225. "description": "交易日(yyyyMMdd)",
  18226. "type": "string"
  18227. }
  18228. }
  18229. },
  18230. "szdz.QuerySZDZTradePositionRsp": {
  18231. "type": "object",
  18232. "properties": {
  18233. "accountid": {
  18234. "description": "账号Id",
  18235. "type": "integer"
  18236. },
  18237. "agreeunit": {
  18238. "description": "合约单位",
  18239. "type": "number"
  18240. },
  18241. "averageprice": {
  18242. "description": "持仓均价",
  18243. "type": "number"
  18244. },
  18245. "buyorsell": {
  18246. "description": "方向 - 0:买 1:卖",
  18247. "type": "integer"
  18248. },
  18249. "closetotalqty": {
  18250. "description": "平仓总数量",
  18251. "type": "integer"
  18252. },
  18253. "curholderamount": {
  18254. "description": "当前持仓总金额",
  18255. "type": "number"
  18256. },
  18257. "curpositionqty": {
  18258. "description": "当前持仓总数量",
  18259. "type": "integer"
  18260. },
  18261. "currencyid": {
  18262. "description": "报价货币ID",
  18263. "type": "integer"
  18264. },
  18265. "curtdposition": {
  18266. "description": "期末今日头寸",
  18267. "type": "integer"
  18268. },
  18269. "decimalplace": {
  18270. "description": "报价小数位",
  18271. "type": "integer"
  18272. },
  18273. "enableqty": {
  18274. "description": "可用量",
  18275. "type": "integer"
  18276. },
  18277. "fretdposition": {
  18278. "description": "冻结今日头寸",
  18279. "type": "integer"
  18280. },
  18281. "frozenqty": {
  18282. "description": "持仓冻结数量",
  18283. "type": "integer"
  18284. },
  18285. "goodscode": {
  18286. "description": "商品代码(内部)",
  18287. "type": "string"
  18288. },
  18289. "goodsid": {
  18290. "description": "商品Id",
  18291. "type": "integer"
  18292. },
  18293. "goodsname": {
  18294. "description": "商品名称",
  18295. "type": "string"
  18296. },
  18297. "goodunit": {
  18298. "description": "报价单位",
  18299. "type": "string"
  18300. },
  18301. "goodunitid": {
  18302. "description": "报价单位ID",
  18303. "type": "integer"
  18304. },
  18305. "holderamount": {
  18306. "description": "期初持仓总金额",
  18307. "type": "number"
  18308. },
  18309. "marketid": {
  18310. "description": "市场ID",
  18311. "type": "integer"
  18312. },
  18313. "openreqqty": {
  18314. "description": "开仓申请数量",
  18315. "type": "integer"
  18316. },
  18317. "opentotalqty": {
  18318. "description": "开仓总数量",
  18319. "type": "integer"
  18320. },
  18321. "otherfrozenqty": {
  18322. "description": "持仓其他冻结数量(交割冻结)",
  18323. "type": "integer"
  18324. },
  18325. "positionqty": {
  18326. "description": "期初持仓数量",
  18327. "type": "integer"
  18328. },
  18329. "szdz3freezqty": {
  18330. "description": "尚志大宗转换冻结总数量",
  18331. "type": "integer"
  18332. },
  18333. "tnqty": {
  18334. "description": "T+N冻结总量",
  18335. "type": "integer"
  18336. },
  18337. "tnusedqty": {
  18338. "description": "T+N使用量",
  18339. "type": "integer"
  18340. },
  18341. "trademode": {
  18342. "description": "交易模式",
  18343. "type": "integer"
  18344. },
  18345. "usedmargin": {
  18346. "description": "占用保证金",
  18347. "type": "number"
  18348. }
  18349. }
  18350. },
  18351. "taaccount.QueryAmountLogRsp": {
  18352. "type": "object",
  18353. "required": [
  18354. "accountid",
  18355. "amount",
  18356. "amountadjusttype",
  18357. "autoid",
  18358. "balance",
  18359. "createtime",
  18360. "currentbalance",
  18361. "operatetype"
  18362. ],
  18363. "properties": {
  18364. "OPERATETYPENAME": {
  18365. "description": "资金操作类型名称",
  18366. "type": "string"
  18367. },
  18368. "accountid": {
  18369. "description": "资金账户ID",
  18370. "type": "integer"
  18371. },
  18372. "agoodscode": {
  18373. "description": "竞拍商品代码",
  18374. "type": "string"
  18375. },
  18376. "agoodsname": {
  18377. "description": "竞拍商品名称",
  18378. "type": "string"
  18379. },
  18380. "amount": {
  18381. "description": "资金金额",
  18382. "type": "number"
  18383. },
  18384. "amountadjusttype": {
  18385. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18386. "type": "integer"
  18387. },
  18388. "autoid": {
  18389. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18390. "type": "integer"
  18391. },
  18392. "balance": {
  18393. "description": "期初余额",
  18394. "type": "number"
  18395. },
  18396. "businesscode": {
  18397. "description": "业务编号",
  18398. "type": "integer"
  18399. },
  18400. "createtime": {
  18401. "description": "发生时间",
  18402. "type": "string"
  18403. },
  18404. "currencyid": {
  18405. "description": "币种ID",
  18406. "type": "integer"
  18407. },
  18408. "currentbalance": {
  18409. "description": "期末余额(变动后金额)",
  18410. "type": "number"
  18411. },
  18412. "dgoodscode": {
  18413. "description": "交割商品代码",
  18414. "type": "string"
  18415. },
  18416. "dgoodsname": {
  18417. "description": "交割商品名称",
  18418. "type": "string"
  18419. },
  18420. "goodscode": {
  18421. "description": "商品代码",
  18422. "type": "string"
  18423. },
  18424. "goodsid": {
  18425. "description": "商品ID",
  18426. "type": "integer"
  18427. },
  18428. "goodsname": {
  18429. "description": "商品名称",
  18430. "type": "string"
  18431. },
  18432. "marketid": {
  18433. "description": "市场ID",
  18434. "type": "integer"
  18435. },
  18436. "marketname": {
  18437. "description": "市场名称",
  18438. "type": "string"
  18439. },
  18440. "moneyticket": {
  18441. "description": "资金流水号:银行端流水号",
  18442. "type": "integer"
  18443. },
  18444. "operatetype": {
  18445. "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:营销收款",
  18446. "type": "integer"
  18447. },
  18448. "relationorderid": {
  18449. "description": "关联单号",
  18450. "type": "string"
  18451. },
  18452. "remark": {
  18453. "description": "备注",
  18454. "type": "string"
  18455. },
  18456. "trademode": {
  18457. "description": "交易模式",
  18458. "type": "integer"
  18459. }
  18460. }
  18461. },
  18462. "taaccount.QueryHisAmountLogRsp": {
  18463. "type": "object",
  18464. "required": [
  18465. "accountid",
  18466. "amount",
  18467. "amountadjusttype",
  18468. "autoid",
  18469. "balance",
  18470. "createtime",
  18471. "currentbalance",
  18472. "histradedate",
  18473. "operatetype"
  18474. ],
  18475. "properties": {
  18476. "OPERATETYPENAME": {
  18477. "description": "资金操作类型名称",
  18478. "type": "string"
  18479. },
  18480. "accountid": {
  18481. "description": "资金账户ID",
  18482. "type": "integer"
  18483. },
  18484. "agoodscode": {
  18485. "description": "竞拍商品代码",
  18486. "type": "string"
  18487. },
  18488. "agoodsname": {
  18489. "description": "竞拍商品名称",
  18490. "type": "string"
  18491. },
  18492. "amount": {
  18493. "description": "资金金额",
  18494. "type": "number"
  18495. },
  18496. "amountadjusttype": {
  18497. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18498. "type": "integer"
  18499. },
  18500. "autoid": {
  18501. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18502. "type": "integer"
  18503. },
  18504. "balance": {
  18505. "description": "期初余额",
  18506. "type": "number"
  18507. },
  18508. "businesscode": {
  18509. "description": "业务编号",
  18510. "type": "integer"
  18511. },
  18512. "createtime": {
  18513. "description": "发生时间",
  18514. "type": "string"
  18515. },
  18516. "currencyid": {
  18517. "description": "币种ID",
  18518. "type": "integer"
  18519. },
  18520. "currentbalance": {
  18521. "description": "期末余额(变动后金额)",
  18522. "type": "number"
  18523. },
  18524. "dgoodscode": {
  18525. "description": "交割商品代码",
  18526. "type": "string"
  18527. },
  18528. "dgoodsname": {
  18529. "description": "交割商品名称",
  18530. "type": "string"
  18531. },
  18532. "goodscode": {
  18533. "description": "商品代码",
  18534. "type": "string"
  18535. },
  18536. "goodsid": {
  18537. "description": "商品ID",
  18538. "type": "integer"
  18539. },
  18540. "goodsname": {
  18541. "description": "商品名称",
  18542. "type": "string"
  18543. },
  18544. "histradedate": {
  18545. "description": "历史交易日",
  18546. "type": "string"
  18547. },
  18548. "isvaliddata": {
  18549. "description": "是否有效 - 0:无效 1:有效",
  18550. "type": "integer"
  18551. },
  18552. "marketid": {
  18553. "description": "市场ID",
  18554. "type": "integer"
  18555. },
  18556. "marketname": {
  18557. "description": "市场名称",
  18558. "type": "string"
  18559. },
  18560. "moneyticket": {
  18561. "description": "资金流水号:银行端流水号",
  18562. "type": "integer"
  18563. },
  18564. "operatetype": {
  18565. "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:营销收款",
  18566. "type": "integer"
  18567. },
  18568. "relationorderid": {
  18569. "description": "关联单号",
  18570. "type": "string"
  18571. },
  18572. "remark": {
  18573. "description": "备注",
  18574. "type": "string"
  18575. },
  18576. "trademode": {
  18577. "description": "交易模式",
  18578. "type": "integer"
  18579. }
  18580. }
  18581. },
  18582. "trade.QueryRecieptOrderRsp": {
  18583. "type": "object",
  18584. "required": [
  18585. "ordertime"
  18586. ],
  18587. "properties": {
  18588. "accountName": {
  18589. "description": "所属账号名称(已脱敏)",
  18590. "type": "string"
  18591. },
  18592. "accountid": {
  18593. "description": "资金账号",
  18594. "type": "integer"
  18595. },
  18596. "buyorsell": {
  18597. "description": "方向 - 0:买 1:卖",
  18598. "type": "integer"
  18599. },
  18600. "enableqty": {
  18601. "description": "可摘数量",
  18602. "type": "integer"
  18603. },
  18604. "goodscode": {
  18605. "description": "商品代码",
  18606. "type": "string"
  18607. },
  18608. "goodsid": {
  18609. "description": "商品ID",
  18610. "type": "integer"
  18611. },
  18612. "goodsname": {
  18613. "description": "商品名称",
  18614. "type": "string"
  18615. },
  18616. "orderid": {
  18617. "description": "委托单号",
  18618. "type": "string"
  18619. },
  18620. "orderprice": {
  18621. "description": "委托价格",
  18622. "type": "number"
  18623. },
  18624. "ordertime": {
  18625. "description": "委托时间",
  18626. "type": "string"
  18627. },
  18628. "tradedate": {
  18629. "description": "交易日(yyyyMMdd)",
  18630. "type": "string"
  18631. }
  18632. }
  18633. },
  18634. "user.LoginQueryRsp": {
  18635. "type": "object",
  18636. "properties": {
  18637. "externalExchanges": {
  18638. "description": "外部交易所",
  18639. "type": "array",
  18640. "items": {
  18641. "$ref": "#/definitions/models.Externalexchange"
  18642. }
  18643. },
  18644. "goodsgroups": {
  18645. "description": "商品组",
  18646. "type": "array",
  18647. "items": {
  18648. "$ref": "#/definitions/models.Goodsgroup"
  18649. }
  18650. },
  18651. "loginAccount": {
  18652. "description": "登录账号",
  18653. "type": "object",
  18654. "$ref": "#/definitions/models.Loginaccount"
  18655. },
  18656. "markets": {
  18657. "description": "市场",
  18658. "type": "array",
  18659. "items": {
  18660. "$ref": "#/definitions/models.Market"
  18661. }
  18662. },
  18663. "systemParams": {
  18664. "description": "系统参数",
  18665. "type": "array",
  18666. "items": {
  18667. "$ref": "#/definitions/models.Systemparam"
  18668. }
  18669. },
  18670. "userAccount": {
  18671. "description": "用户账号",
  18672. "type": "object",
  18673. "$ref": "#/definitions/models.Useraccount"
  18674. },
  18675. "userInfo": {
  18676. "description": "用户信息",
  18677. "type": "object",
  18678. "$ref": "#/definitions/models.Userinfo"
  18679. },
  18680. "username": {
  18681. "description": "用户姓名",
  18682. "type": "string"
  18683. }
  18684. }
  18685. }
  18686. },
  18687. "securityDefinitions": {
  18688. "ApiKeyAuth": {
  18689. "type": "apiKey",
  18690. "name": "Authorization",
  18691. "in": "header"
  18692. }
  18693. }
  18694. }`
  18695. type swaggerInfo struct {
  18696. Version string
  18697. Host string
  18698. BasePath string
  18699. Schemes []string
  18700. Title string
  18701. Description string
  18702. }
  18703. // SwaggerInfo holds exported Swagger Info so clients can modify it
  18704. var SwaggerInfo = swaggerInfo{
  18705. Version: "1.0",
  18706. Host: "",
  18707. BasePath: "/api",
  18708. Schemes: []string{},
  18709. Title: "MTP2.0 查询服务 API",
  18710. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  18711. }
  18712. type s struct{}
  18713. func (s *s) ReadDoc() string {
  18714. sInfo := SwaggerInfo
  18715. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  18716. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  18717. "marshal": func(v interface{}) string {
  18718. a, _ := json.Marshal(v)
  18719. return string(a)
  18720. },
  18721. }).Parse(doc)
  18722. if err != nil {
  18723. return doc
  18724. }
  18725. var tpl bytes.Buffer
  18726. if err := t.Execute(&tpl, sInfo); err != nil {
  18727. return doc
  18728. }
  18729. return tpl.String()
  18730. }
  18731. func init() {
  18732. swag.Register(swag.Name, &s{})
  18733. }