docs.go 737 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetPCMenus": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取PC交易端菜单",
  435. "parameters": [
  436. {
  437. "type": "string",
  438. "description": "资源代码",
  439. "name": "resourceCode",
  440. "in": "query"
  441. },
  442. {
  443. "type": "string",
  444. "description": "上级资源代码",
  445. "name": "parentCode",
  446. "in": "query"
  447. }
  448. ],
  449. "responses": {
  450. "200": {
  451. "description": "OK",
  452. "schema": {
  453. "type": "array",
  454. "items": {
  455. "$ref": "#/definitions/models.Funcmenulist"
  456. }
  457. }
  458. },
  459. "500": {
  460. "description": "Internal Server Error",
  461. "schema": {
  462. "$ref": "#/definitions/app.Response"
  463. }
  464. }
  465. }
  466. }
  467. },
  468. "/Common/GetServerTime": {
  469. "get": {
  470. "produces": [
  471. "application/json"
  472. ],
  473. "tags": [
  474. "通用服务"
  475. ],
  476. "summary": "获取服务器时间",
  477. "responses": {
  478. "200": {
  479. "description": "OK",
  480. "schema": {
  481. "$ref": "#/definitions/app.Response"
  482. }
  483. },
  484. "500": {
  485. "description": "Internal Server Error",
  486. "schema": {
  487. "$ref": "#/definitions/app.Response"
  488. }
  489. }
  490. }
  491. }
  492. },
  493. "/Common/NoticeReaded": {
  494. "post": {
  495. "security": [
  496. {
  497. "ApiKeyAuth": []
  498. }
  499. ],
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "通知公告设置已读请求",
  507. "parameters": [
  508. {
  509. "type": "integer",
  510. "description": "登录账号",
  511. "name": "loginID",
  512. "in": "query",
  513. "required": true
  514. },
  515. {
  516. "type": "integer",
  517. "description": "通知公告ID",
  518. "name": "noticeID",
  519. "in": "query",
  520. "required": true
  521. }
  522. ],
  523. "responses": {
  524. "200": {
  525. "description": "OK",
  526. "schema": {
  527. "$ref": "#/definitions/app.Response"
  528. }
  529. },
  530. "500": {
  531. "description": "Internal Server Error",
  532. "schema": {
  533. "$ref": "#/definitions/app.Response"
  534. }
  535. }
  536. }
  537. }
  538. },
  539. "/Common/QueryErrorInfos": {
  540. "get": {
  541. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  542. "produces": [
  543. "application/json"
  544. ],
  545. "tags": [
  546. "通用服务"
  547. ],
  548. "summary": "获取数据库错误信息",
  549. "parameters": [
  550. {
  551. "type": "string",
  552. "description": "起始行号前索引",
  553. "name": "rowNumber",
  554. "in": "query"
  555. }
  556. ],
  557. "responses": {
  558. "200": {
  559. "description": "OK",
  560. "schema": {
  561. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  562. }
  563. },
  564. "500": {
  565. "description": "Internal Server Error",
  566. "schema": {
  567. "$ref": "#/definitions/app.Response"
  568. }
  569. }
  570. }
  571. }
  572. },
  573. "/Common/QueryImageConfigs": {
  574. "get": {
  575. "produces": [
  576. "application/json"
  577. ],
  578. "tags": [
  579. "通用服务"
  580. ],
  581. "summary": "查询轮播图配置信息",
  582. "parameters": [
  583. {
  584. "type": "integer",
  585. "description": "类型 - 1:App首页轮播 2:我的",
  586. "name": "imageType",
  587. "in": "query"
  588. }
  589. ],
  590. "responses": {
  591. "200": {
  592. "description": "OK",
  593. "schema": {
  594. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  595. }
  596. },
  597. "500": {
  598. "description": "Internal Server Error",
  599. "schema": {
  600. "$ref": "#/definitions/app.Response"
  601. }
  602. }
  603. }
  604. }
  605. },
  606. "/Common/QueryNotice": {
  607. "get": {
  608. "security": [
  609. {
  610. "ApiKeyAuth": []
  611. }
  612. ],
  613. "produces": [
  614. "application/json"
  615. ],
  616. "tags": [
  617. "通用服务"
  618. ],
  619. "summary": "通知公告系统消息查询",
  620. "parameters": [
  621. {
  622. "type": "integer",
  623. "description": "页码",
  624. "name": "page",
  625. "in": "query"
  626. },
  627. {
  628. "type": "integer",
  629. "description": "每页条数",
  630. "name": "pagesize",
  631. "in": "query"
  632. },
  633. {
  634. "type": "integer",
  635. "description": "登录账号",
  636. "name": "loginID",
  637. "in": "query",
  638. "required": true
  639. },
  640. {
  641. "type": "integer",
  642. "description": "消息类型 - 1:公告通知 2:系统消息",
  643. "name": "msgType",
  644. "in": "query"
  645. },
  646. {
  647. "type": "boolean",
  648. "description": "是否只获取未读信息",
  649. "name": "onlyUnRead",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "自增ID,传入后会返回这个ID后面的记录",
  655. "name": "lastID",
  656. "in": "query"
  657. }
  658. ],
  659. "responses": {
  660. "200": {
  661. "description": "OK",
  662. "schema": {
  663. "$ref": "#/definitions/common.QueryNoticeRsp"
  664. }
  665. },
  666. "500": {
  667. "description": "Internal Server Error",
  668. "schema": {
  669. "$ref": "#/definitions/app.Response"
  670. }
  671. }
  672. }
  673. }
  674. },
  675. "/Common/QueryProvincesAndCities": {
  676. "get": {
  677. "produces": [
  678. "application/json"
  679. ],
  680. "tags": [
  681. "通用服务"
  682. ],
  683. "summary": "查询省市信息(不包括区)",
  684. "parameters": [
  685. {
  686. "type": "integer",
  687. "description": "省ID",
  688. "name": "provinceID",
  689. "in": "query"
  690. }
  691. ],
  692. "responses": {
  693. "200": {
  694. "description": "OK",
  695. "schema": {
  696. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  697. }
  698. },
  699. "500": {
  700. "description": "Internal Server Error",
  701. "schema": {
  702. "$ref": "#/definitions/app.Response"
  703. }
  704. }
  705. }
  706. }
  707. },
  708. "/Common/QueryTableDefine": {
  709. "get": {
  710. "produces": [
  711. "application/json"
  712. ],
  713. "tags": [
  714. "通用服务"
  715. ],
  716. "summary": "查询交易端列表头信息",
  717. "parameters": [
  718. {
  719. "type": "string",
  720. "description": "表key",
  721. "name": "tableKey",
  722. "in": "query"
  723. },
  724. {
  725. "type": "integer",
  726. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  727. "name": "tableType",
  728. "in": "query"
  729. }
  730. ],
  731. "responses": {
  732. "200": {
  733. "description": "OK",
  734. "schema": {
  735. "$ref": "#/definitions/common.QueryTableDefineRsp"
  736. }
  737. },
  738. "500": {
  739. "description": "Internal Server Error",
  740. "schema": {
  741. "$ref": "#/definitions/app.Response"
  742. }
  743. }
  744. }
  745. }
  746. },
  747. "/Common/QueryTraderMenu": {
  748. "get": {
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "通用服务"
  754. ],
  755. "summary": "查询交易端菜单",
  756. "parameters": [
  757. {
  758. "type": "integer",
  759. "description": "登录账号",
  760. "name": "loginid",
  761. "in": "query",
  762. "required": true
  763. }
  764. ],
  765. "responses": {
  766. "200": {
  767. "description": "OK",
  768. "schema": {
  769. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Delivery/QueryDeliveryRelation": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "交割服务"
  793. ],
  794. "summary": "查询商品交割关系表",
  795. "parameters": [
  796. {
  797. "type": "integer",
  798. "description": "商品ID",
  799. "name": "goodsid",
  800. "in": "query"
  801. },
  802. {
  803. "type": "integer",
  804. "description": "品种ID",
  805. "name": "deliverygoodsid",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "市场ID",
  811. "name": "marketid",
  812. "in": "query"
  813. }
  814. ],
  815. "responses": {
  816. "200": {
  817. "description": "OK",
  818. "schema": {
  819. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  820. }
  821. },
  822. "500": {
  823. "description": "Internal Server Error",
  824. "schema": {
  825. "$ref": "#/definitions/app.Response"
  826. }
  827. }
  828. }
  829. }
  830. },
  831. "/Ermcp/GetErmcpGoods": {
  832. "get": {
  833. "security": [
  834. {
  835. "ApiKeyAuth": []
  836. }
  837. ],
  838. "produces": [
  839. "application/json"
  840. ],
  841. "tags": [
  842. "企业风险管理(app)"
  843. ],
  844. "summary": "查询企业风管期货商品信息",
  845. "parameters": [
  846. {
  847. "type": "string",
  848. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  849. "name": "lastUpdateTime",
  850. "in": "query"
  851. }
  852. ],
  853. "responses": {
  854. "200": {
  855. "description": "OK",
  856. "schema": {
  857. "$ref": "#/definitions/models.Goods"
  858. }
  859. },
  860. "500": {
  861. "description": "Internal Server Error",
  862. "schema": {
  863. "$ref": "#/definitions/app.Response"
  864. }
  865. }
  866. }
  867. }
  868. },
  869. "/Ermcp/GetErmcpGoodsSortByPosition": {
  870. "get": {
  871. "security": [
  872. {
  873. "ApiKeyAuth": []
  874. }
  875. ],
  876. "produces": [
  877. "application/json"
  878. ],
  879. "tags": [
  880. "企业风险管理(app)"
  881. ],
  882. "summary": "查询企业风管期货主力、次主力商品信息",
  883. "parameters": [
  884. {
  885. "type": "string",
  886. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  887. "name": "sortIndex",
  888. "in": "query"
  889. }
  890. ],
  891. "responses": {
  892. "200": {
  893. "description": "OK",
  894. "schema": {
  895. "$ref": "#/definitions/models.Goodssortbypreposition"
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "获取企业风管终端权限",
  921. "parameters": [
  922. {
  923. "type": "integer",
  924. "description": "登录账号",
  925. "name": "loginID",
  926. "in": "query",
  927. "required": true
  928. }
  929. ],
  930. "responses": {
  931. "200": {
  932. "description": "OK",
  933. "schema": {
  934. "$ref": "#/definitions/models.Funcmenulist"
  935. }
  936. },
  937. "500": {
  938. "description": "Internal Server Error",
  939. "schema": {
  940. "$ref": "#/definitions/app.Response"
  941. }
  942. }
  943. }
  944. }
  945. },
  946. "/Ermcp/QryReportDayExposure": {
  947. "get": {
  948. "security": [
  949. {
  950. "ApiKeyAuth": []
  951. }
  952. ],
  953. "produces": [
  954. "application/json"
  955. ],
  956. "tags": [
  957. "企业风险管理(app)"
  958. ],
  959. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  960. "parameters": [
  961. {
  962. "type": "integer",
  963. "description": "用户ID",
  964. "name": "userid",
  965. "in": "query",
  966. "required": true
  967. },
  968. {
  969. "type": "string",
  970. "description": "交易日(格式:yyyyMMdd)",
  971. "name": "tradedate",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "type": "array",
  981. "items": {
  982. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  983. }
  984. }
  985. },
  986. "500": {
  987. "description": "Internal Server Error",
  988. "schema": {
  989. "$ref": "#/definitions/app.Response"
  990. }
  991. }
  992. }
  993. }
  994. },
  995. "/Ermcp/QryReportDayFinance": {
  996. "get": {
  997. "security": [
  998. {
  999. "ApiKeyAuth": []
  1000. }
  1001. ],
  1002. "produces": [
  1003. "application/json"
  1004. ],
  1005. "tags": [
  1006. "企业风险管理(app)"
  1007. ],
  1008. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1009. "parameters": [
  1010. {
  1011. "type": "integer",
  1012. "description": "用户ID",
  1013. "name": "userid",
  1014. "in": "query",
  1015. "required": true
  1016. },
  1017. {
  1018. "type": "string",
  1019. "description": "交易日(格式:yyyyMMdd)",
  1020. "name": "tradedate",
  1021. "in": "query",
  1022. "required": true
  1023. }
  1024. ],
  1025. "responses": {
  1026. "200": {
  1027. "description": "OK",
  1028. "schema": {
  1029. "type": "array",
  1030. "items": {
  1031. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1032. }
  1033. }
  1034. },
  1035. "500": {
  1036. "description": "Internal Server Error",
  1037. "schema": {
  1038. "$ref": "#/definitions/app.Response"
  1039. }
  1040. }
  1041. }
  1042. }
  1043. },
  1044. "/Ermcp/QryReportDayFinanceFp": {
  1045. "get": {
  1046. "security": [
  1047. {
  1048. "ApiKeyAuth": []
  1049. }
  1050. ],
  1051. "produces": [
  1052. "application/json"
  1053. ],
  1054. "tags": [
  1055. "企业风险管理(app)"
  1056. ],
  1057. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1058. "parameters": [
  1059. {
  1060. "type": "integer",
  1061. "description": "用户ID",
  1062. "name": "userid",
  1063. "in": "query",
  1064. "required": true
  1065. },
  1066. {
  1067. "type": "string",
  1068. "description": "交易日(格式:yyyyMMdd)",
  1069. "name": "tradedate",
  1070. "in": "query",
  1071. "required": true
  1072. }
  1073. ],
  1074. "responses": {
  1075. "200": {
  1076. "description": "OK",
  1077. "schema": {
  1078. "type": "array",
  1079. "items": {
  1080. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1081. }
  1082. }
  1083. },
  1084. "500": {
  1085. "description": "Internal Server Error",
  1086. "schema": {
  1087. "$ref": "#/definitions/app.Response"
  1088. }
  1089. }
  1090. }
  1091. }
  1092. },
  1093. "/Ermcp/QryReportDayFinanceKx": {
  1094. "get": {
  1095. "security": [
  1096. {
  1097. "ApiKeyAuth": []
  1098. }
  1099. ],
  1100. "produces": [
  1101. "application/json"
  1102. ],
  1103. "tags": [
  1104. "企业风险管理(app)"
  1105. ],
  1106. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1107. "parameters": [
  1108. {
  1109. "type": "integer",
  1110. "description": "用户ID",
  1111. "name": "userid",
  1112. "in": "query",
  1113. "required": true
  1114. },
  1115. {
  1116. "type": "string",
  1117. "description": "交易日(格式:yyyyMMdd)",
  1118. "name": "tradedate",
  1119. "in": "query",
  1120. "required": true
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QryReportDaySpot": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. },
  1164. {
  1165. "type": "string",
  1166. "description": "交易日(格式:yyyyMMdd)",
  1167. "name": "tradedate",
  1168. "in": "query",
  1169. "required": true
  1170. }
  1171. ],
  1172. "responses": {
  1173. "200": {
  1174. "description": "OK",
  1175. "schema": {
  1176. "type": "array",
  1177. "items": {
  1178. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1179. }
  1180. }
  1181. },
  1182. "500": {
  1183. "description": "Internal Server Error",
  1184. "schema": {
  1185. "$ref": "#/definitions/app.Response"
  1186. }
  1187. }
  1188. }
  1189. }
  1190. },
  1191. "/Ermcp/QryReportDaySpotDetail": {
  1192. "get": {
  1193. "security": [
  1194. {
  1195. "ApiKeyAuth": []
  1196. }
  1197. ],
  1198. "produces": [
  1199. "application/json"
  1200. ],
  1201. "tags": [
  1202. "企业风险管理(app)"
  1203. ],
  1204. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1205. "parameters": [
  1206. {
  1207. "type": "integer",
  1208. "description": "用户ID",
  1209. "name": "userid",
  1210. "in": "query",
  1211. "required": true
  1212. },
  1213. {
  1214. "type": "integer",
  1215. "description": "现货商品id",
  1216. "name": "wrstandardid",
  1217. "in": "query",
  1218. "required": true
  1219. },
  1220. {
  1221. "type": "string",
  1222. "description": "交易日(格式:yyyyMMdd)",
  1223. "name": "tradedate",
  1224. "in": "query",
  1225. "required": true
  1226. }
  1227. ],
  1228. "responses": {
  1229. "200": {
  1230. "description": "OK",
  1231. "schema": {
  1232. "type": "array",
  1233. "items": {
  1234. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1235. }
  1236. }
  1237. },
  1238. "500": {
  1239. "description": "Internal Server Error",
  1240. "schema": {
  1241. "$ref": "#/definitions/app.Response"
  1242. }
  1243. }
  1244. }
  1245. }
  1246. },
  1247. "/Ermcp/QryReportMonthFinance": {
  1248. "get": {
  1249. "security": [
  1250. {
  1251. "ApiKeyAuth": []
  1252. }
  1253. ],
  1254. "produces": [
  1255. "application/json"
  1256. ],
  1257. "tags": [
  1258. "企业风险管理(app)"
  1259. ],
  1260. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1261. "parameters": [
  1262. {
  1263. "type": "integer",
  1264. "description": "用户ID",
  1265. "name": "userid",
  1266. "in": "query",
  1267. "required": true
  1268. },
  1269. {
  1270. "type": "string",
  1271. "description": "周期时间:月(格式:yyyyMM)",
  1272. "name": "cycletime",
  1273. "in": "query",
  1274. "required": true
  1275. }
  1276. ],
  1277. "responses": {
  1278. "200": {
  1279. "description": "OK",
  1280. "schema": {
  1281. "type": "array",
  1282. "items": {
  1283. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1284. }
  1285. }
  1286. },
  1287. "500": {
  1288. "description": "Internal Server Error",
  1289. "schema": {
  1290. "$ref": "#/definitions/app.Response"
  1291. }
  1292. }
  1293. }
  1294. }
  1295. },
  1296. "/Ermcp/QryReportMonthSpot": {
  1297. "get": {
  1298. "security": [
  1299. {
  1300. "ApiKeyAuth": []
  1301. }
  1302. ],
  1303. "produces": [
  1304. "application/json"
  1305. ],
  1306. "tags": [
  1307. "企业风险管理(app)"
  1308. ],
  1309. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1310. "parameters": [
  1311. {
  1312. "type": "integer",
  1313. "description": "用户ID",
  1314. "name": "userid",
  1315. "in": "query",
  1316. "required": true
  1317. },
  1318. {
  1319. "type": "string",
  1320. "description": "周期时间:月(格式:yyyyMM)",
  1321. "name": "cycletime",
  1322. "in": "query",
  1323. "required": true
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QryReportMonthSpotDetail": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. },
  1367. {
  1368. "type": "integer",
  1369. "description": "现货商品id",
  1370. "name": "wrstandardid",
  1371. "in": "query",
  1372. "required": true
  1373. },
  1374. {
  1375. "type": "string",
  1376. "description": "周期时间:月(格式:yyyyMM)",
  1377. "name": "cycletime",
  1378. "in": "query",
  1379. "required": true
  1380. }
  1381. ],
  1382. "responses": {
  1383. "200": {
  1384. "description": "OK",
  1385. "schema": {
  1386. "type": "array",
  1387. "items": {
  1388. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1389. }
  1390. }
  1391. },
  1392. "500": {
  1393. "description": "Internal Server Error",
  1394. "schema": {
  1395. "$ref": "#/definitions/app.Response"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "/Ermcp/QueryAreaStock": {
  1402. "get": {
  1403. "security": [
  1404. {
  1405. "ApiKeyAuth": []
  1406. }
  1407. ],
  1408. "produces": [
  1409. "application/json"
  1410. ],
  1411. "tags": [
  1412. "企业风险管理(app)"
  1413. ],
  1414. "summary": "查询机构库存(库存管理/当前库存)",
  1415. "parameters": [
  1416. {
  1417. "type": "integer",
  1418. "description": "用户ID",
  1419. "name": "userid",
  1420. "in": "query",
  1421. "required": true
  1422. }
  1423. ],
  1424. "responses": {
  1425. "200": {
  1426. "description": "OK",
  1427. "schema": {
  1428. "type": "array",
  1429. "items": {
  1430. "$ref": "#/definitions/models.ErmcpAreaStock"
  1431. }
  1432. }
  1433. },
  1434. "500": {
  1435. "description": "Internal Server Error",
  1436. "schema": {
  1437. "$ref": "#/definitions/app.Response"
  1438. }
  1439. }
  1440. }
  1441. }
  1442. },
  1443. "/Ermcp/QueryAreaStockApply": {
  1444. "get": {
  1445. "security": [
  1446. {
  1447. "ApiKeyAuth": []
  1448. }
  1449. ],
  1450. "produces": [
  1451. "application/json"
  1452. ],
  1453. "tags": [
  1454. "企业风险管理(app)"
  1455. ],
  1456. "summary": "查询库存申请(出入库记录|库存审核)",
  1457. "parameters": [
  1458. {
  1459. "type": "integer",
  1460. "description": "用户ID",
  1461. "name": "userid",
  1462. "in": "query",
  1463. "required": true
  1464. },
  1465. {
  1466. "type": "string",
  1467. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1468. "name": "inouttype",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "合同ID",
  1474. "name": "spotcontractid",
  1475. "in": "query"
  1476. },
  1477. {
  1478. "type": "integer",
  1479. "description": "现货商品ID",
  1480. "name": "wrstandardid",
  1481. "in": "query"
  1482. },
  1483. {
  1484. "type": "integer",
  1485. "description": "品牌ID",
  1486. "name": "spotgoodsbrandid",
  1487. "in": "query"
  1488. },
  1489. {
  1490. "type": "integer",
  1491. "description": "型号ID",
  1492. "name": "spotgoodsmodelid",
  1493. "in": "query"
  1494. },
  1495. {
  1496. "type": "integer",
  1497. "description": "仓库ID",
  1498. "name": "warehouseinfoid",
  1499. "in": "query"
  1500. },
  1501. {
  1502. "type": "string",
  1503. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1504. "name": "applystatus",
  1505. "in": "query"
  1506. }
  1507. ],
  1508. "responses": {
  1509. "200": {
  1510. "description": "OK",
  1511. "schema": {
  1512. "type": "array",
  1513. "items": {
  1514. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1515. }
  1516. }
  1517. },
  1518. "500": {
  1519. "description": "Internal Server Error",
  1520. "schema": {
  1521. "$ref": "#/definitions/app.Response"
  1522. }
  1523. }
  1524. }
  1525. }
  1526. },
  1527. "/Ermcp/QueryAreaStockApplySum": {
  1528. "get": {
  1529. "security": [
  1530. {
  1531. "ApiKeyAuth": []
  1532. }
  1533. ],
  1534. "produces": [
  1535. "application/json"
  1536. ],
  1537. "tags": [
  1538. "企业风险管理(app)"
  1539. ],
  1540. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1541. "parameters": [
  1542. {
  1543. "type": "integer",
  1544. "description": "合同ID",
  1545. "name": "spotcontractid",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryAreaStockReport": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询库存报表",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "userid",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "查询类型 1-日报表 2-月报表",
  1593. "name": "querytype",
  1594. "in": "query",
  1595. "required": true
  1596. },
  1597. {
  1598. "type": "string",
  1599. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1600. "name": "querydate",
  1601. "in": "query",
  1602. "required": true
  1603. },
  1604. {
  1605. "type": "integer",
  1606. "description": "现货商品ID",
  1607. "name": "wrstandardid",
  1608. "in": "query"
  1609. },
  1610. {
  1611. "type": "integer",
  1612. "description": "品牌ID",
  1613. "name": "spotgoodsbrandid",
  1614. "in": "query"
  1615. },
  1616. {
  1617. "type": "integer",
  1618. "description": "型号ID",
  1619. "name": "spotgoodsmodelid",
  1620. "in": "query"
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": "仓库ID",
  1625. "name": "warehouseinfoid",
  1626. "in": "query"
  1627. }
  1628. ],
  1629. "responses": {
  1630. "200": {
  1631. "description": "OK",
  1632. "schema": {
  1633. "type": "array",
  1634. "items": {
  1635. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1636. }
  1637. }
  1638. },
  1639. "500": {
  1640. "description": "Internal Server Error",
  1641. "schema": {
  1642. "$ref": "#/definitions/app.Response"
  1643. }
  1644. }
  1645. }
  1646. }
  1647. },
  1648. "/Ermcp/QueryAreaStockReportDetail": {
  1649. "get": {
  1650. "security": [
  1651. {
  1652. "ApiKeyAuth": []
  1653. }
  1654. ],
  1655. "produces": [
  1656. "application/json"
  1657. ],
  1658. "tags": [
  1659. "企业风险管理(app)"
  1660. ],
  1661. "summary": "查询库存报表明细",
  1662. "parameters": [
  1663. {
  1664. "type": "integer",
  1665. "description": "用户ID",
  1666. "name": "userid",
  1667. "in": "query",
  1668. "required": true
  1669. },
  1670. {
  1671. "type": "integer",
  1672. "description": "查询类型 1-日报表明细 2-月报表明细",
  1673. "name": "querytype",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "integer",
  1679. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1680. "name": "detailtype",
  1681. "in": "query",
  1682. "required": true
  1683. },
  1684. {
  1685. "type": "string",
  1686. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1687. "name": "querydate",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "现货商品ID",
  1694. "name": "wrstandardid",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "品牌ID",
  1700. "name": "spotgoodsbrandid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "型号ID",
  1706. "name": "spotgoodsmodelid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "integer",
  1711. "description": "仓库ID",
  1712. "name": "warehouseinfoid",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryAvaildGoodsGroup": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1749. "parameters": [
  1750. {
  1751. "type": "integer",
  1752. "description": "所属机构ID",
  1753. "name": "userid",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryBusinessDj": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "用户ID",
  1795. "name": "UserId",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "现货合同ID, 不填则查所有",
  1802. "name": "relatedid",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1808. "name": "applystatus",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "type": "array",
  1817. "items": {
  1818. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1819. }
  1820. }
  1821. },
  1822. "500": {
  1823. "description": "Internal Server Error",
  1824. "schema": {
  1825. "$ref": "#/definitions/app.Response"
  1826. }
  1827. }
  1828. }
  1829. }
  1830. },
  1831. "/Ermcp/QueryBusinessFp": {
  1832. "get": {
  1833. "security": [
  1834. {
  1835. "ApiKeyAuth": []
  1836. }
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "企业风险管理(app)"
  1843. ],
  1844. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1845. "parameters": [
  1846. {
  1847. "type": "integer",
  1848. "description": "用户ID",
  1849. "name": "UserId",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "string",
  1855. "description": "现货合同ID, 不填则查所有",
  1856. "name": "relatedid",
  1857. "in": "query"
  1858. },
  1859. {
  1860. "type": "string",
  1861. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1862. "name": "applystatus",
  1863. "in": "query"
  1864. }
  1865. ],
  1866. "responses": {
  1867. "200": {
  1868. "description": "OK",
  1869. "schema": {
  1870. "type": "array",
  1871. "items": {
  1872. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1873. }
  1874. }
  1875. },
  1876. "500": {
  1877. "description": "Internal Server Error",
  1878. "schema": {
  1879. "$ref": "#/definitions/app.Response"
  1880. }
  1881. }
  1882. }
  1883. }
  1884. },
  1885. "/Ermcp/QueryBusinessJs": {
  1886. "get": {
  1887. "security": [
  1888. {
  1889. "ApiKeyAuth": []
  1890. }
  1891. ],
  1892. "produces": [
  1893. "application/json"
  1894. ],
  1895. "tags": [
  1896. "企业风险管理(app)"
  1897. ],
  1898. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1899. "parameters": [
  1900. {
  1901. "type": "integer",
  1902. "description": "用户ID",
  1903. "name": "UserId",
  1904. "in": "query",
  1905. "required": true
  1906. },
  1907. {
  1908. "type": "string",
  1909. "description": "现货合同ID, 不填则查所有",
  1910. "name": "relatedid",
  1911. "in": "query"
  1912. },
  1913. {
  1914. "type": "string",
  1915. "description": "操作申请id",
  1916. "name": "operateapplyid",
  1917. "in": "query"
  1918. },
  1919. {
  1920. "type": "string",
  1921. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1922. "name": "applystatus",
  1923. "in": "query"
  1924. }
  1925. ],
  1926. "responses": {
  1927. "200": {
  1928. "description": "OK",
  1929. "schema": {
  1930. "type": "array",
  1931. "items": {
  1932. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1933. }
  1934. }
  1935. },
  1936. "500": {
  1937. "description": "Internal Server Error",
  1938. "schema": {
  1939. "$ref": "#/definitions/app.Response"
  1940. }
  1941. }
  1942. }
  1943. }
  1944. },
  1945. "/Ermcp/QueryBusinessJsEx": {
  1946. "get": {
  1947. "security": [
  1948. {
  1949. "ApiKeyAuth": []
  1950. }
  1951. ],
  1952. "produces": [
  1953. "application/json"
  1954. ],
  1955. "tags": [
  1956. "企业风险管理(app)"
  1957. ],
  1958. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1959. "parameters": [
  1960. {
  1961. "type": "integer",
  1962. "description": "用户ID",
  1963. "name": "UserId",
  1964. "in": "query",
  1965. "required": true
  1966. },
  1967. {
  1968. "type": "string",
  1969. "description": "现货合同ID, 不填则查所有",
  1970. "name": "relatedid",
  1971. "in": "query"
  1972. },
  1973. {
  1974. "type": "string",
  1975. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1976. "name": "applystatus",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "type": "array",
  1985. "items": {
  1986. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1987. }
  1988. }
  1989. },
  1990. "500": {
  1991. "description": "Internal Server Error",
  1992. "schema": {
  1993. "$ref": "#/definitions/app.Response"
  1994. }
  1995. }
  1996. }
  1997. }
  1998. },
  1999. "/Ermcp/QueryBusinessKx": {
  2000. "get": {
  2001. "security": [
  2002. {
  2003. "ApiKeyAuth": []
  2004. }
  2005. ],
  2006. "produces": [
  2007. "application/json"
  2008. ],
  2009. "tags": [
  2010. "企业风险管理(app)"
  2011. ],
  2012. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2013. "parameters": [
  2014. {
  2015. "type": "integer",
  2016. "description": "用户ID",
  2017. "name": "UserId",
  2018. "in": "query",
  2019. "required": true
  2020. },
  2021. {
  2022. "type": "string",
  2023. "description": "现货合同ID, 不填则查所有",
  2024. "name": "relatedid",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "string",
  2029. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2030. "name": "applystatus",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "type": "array",
  2039. "items": {
  2040. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2041. }
  2042. }
  2043. },
  2044. "500": {
  2045. "description": "Internal Server Error",
  2046. "schema": {
  2047. "$ref": "#/definitions/app.Response"
  2048. }
  2049. }
  2050. }
  2051. }
  2052. },
  2053. "/Ermcp/QueryChangeLog": {
  2054. "get": {
  2055. "security": [
  2056. {
  2057. "ApiKeyAuth": []
  2058. }
  2059. ],
  2060. "produces": [
  2061. "application/json"
  2062. ],
  2063. "tags": [
  2064. "企业风险管理(app)"
  2065. ],
  2066. "summary": "查询变更记录",
  2067. "parameters": [
  2068. {
  2069. "type": "string",
  2070. "description": "合同ID",
  2071. "name": "RelatedId",
  2072. "in": "query",
  2073. "required": true
  2074. }
  2075. ],
  2076. "responses": {
  2077. "200": {
  2078. "description": "OK",
  2079. "schema": {
  2080. "type": "array",
  2081. "items": {
  2082. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2083. }
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/Ermcp/QueryContract": {
  2096. "get": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "企业风险管理(app)"
  2107. ],
  2108. "summary": "查询合同(采购和销售)",
  2109. "parameters": [
  2110. {
  2111. "type": "integer",
  2112. "description": "用户ID",
  2113. "name": "userId",
  2114. "in": "query",
  2115. "required": true
  2116. },
  2117. {
  2118. "type": "integer",
  2119. "description": "合同类型 1-采购, -1-销售",
  2120. "name": "contracttype",
  2121. "in": "query",
  2122. "required": true
  2123. },
  2124. {
  2125. "type": "integer",
  2126. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2127. "name": "querytype",
  2128. "in": "query",
  2129. "required": true
  2130. },
  2131. {
  2132. "type": "string",
  2133. "description": "合同ID(SpotContractId)",
  2134. "name": "contractid",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "type": "array",
  2143. "items": {
  2144. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2145. }
  2146. }
  2147. },
  2148. "500": {
  2149. "description": "Internal Server Error",
  2150. "schema": {
  2151. "$ref": "#/definitions/app.Response"
  2152. }
  2153. }
  2154. }
  2155. }
  2156. },
  2157. "/Ermcp/QueryErmcpHisOrderDetails": {
  2158. "get": {
  2159. "security": [
  2160. {
  2161. "ApiKeyAuth": []
  2162. }
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "企业风险管理(app)"
  2169. ],
  2170. "summary": "获取企业风管期货历史委托单信息",
  2171. "parameters": [
  2172. {
  2173. "type": "integer",
  2174. "description": "资金账户ID",
  2175. "name": "accountID",
  2176. "in": "query",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "startDate",
  2183. "in": "query"
  2184. },
  2185. {
  2186. "type": "string",
  2187. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2188. "name": "endDate",
  2189. "in": "query"
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryErmcpHisTradeDetails": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "获取企业风管期货历史成交单信息",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "资金账户ID",
  2226. "name": "accountID",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "商品ID",
  2233. "name": "goodsID",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "integer",
  2238. "description": "买卖方向,0:买 1:卖",
  2239. "name": "buyOrSell",
  2240. "in": "query"
  2241. },
  2242. {
  2243. "type": "integer",
  2244. "description": "关联委托单号",
  2245. "name": "orderID",
  2246. "in": "query"
  2247. },
  2248. {
  2249. "type": "string",
  2250. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2251. "name": "startDate",
  2252. "in": "query"
  2253. },
  2254. {
  2255. "type": "string",
  2256. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2257. "name": "endDate",
  2258. "in": "query"
  2259. }
  2260. ],
  2261. "responses": {
  2262. "200": {
  2263. "description": "OK",
  2264. "schema": {
  2265. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2266. }
  2267. },
  2268. "500": {
  2269. "description": "Internal Server Error",
  2270. "schema": {
  2271. "$ref": "#/definitions/app.Response"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "/Ermcp/QueryErmcpOrderDetails": {
  2278. "get": {
  2279. "security": [
  2280. {
  2281. "ApiKeyAuth": []
  2282. }
  2283. ],
  2284. "produces": [
  2285. "application/json"
  2286. ],
  2287. "tags": [
  2288. "企业风险管理(app)"
  2289. ],
  2290. "summary": "获取企业风管期货委托单信息",
  2291. "parameters": [
  2292. {
  2293. "type": "integer",
  2294. "description": "资金账户ID",
  2295. "name": "accountID",
  2296. "in": "query",
  2297. "required": true
  2298. }
  2299. ],
  2300. "responses": {
  2301. "200": {
  2302. "description": "OK",
  2303. "schema": {
  2304. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryErmcpTradeDetails": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "获取企业风管期货成交单信息",
  2330. "parameters": [
  2331. {
  2332. "type": "integer",
  2333. "description": "资金账户ID",
  2334. "name": "accountID",
  2335. "in": "query",
  2336. "required": true
  2337. },
  2338. {
  2339. "type": "integer",
  2340. "description": "商品ID",
  2341. "name": "goodsID",
  2342. "in": "query"
  2343. },
  2344. {
  2345. "type": "integer",
  2346. "description": "买卖方向,0:买 1:卖",
  2347. "name": "buyOrSell",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "integer",
  2352. "description": "关联委托单号",
  2353. "name": "orderID",
  2354. "in": "query"
  2355. }
  2356. ],
  2357. "responses": {
  2358. "200": {
  2359. "description": "OK",
  2360. "schema": {
  2361. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2362. }
  2363. },
  2364. "500": {
  2365. "description": "Internal Server Error",
  2366. "schema": {
  2367. "$ref": "#/definitions/app.Response"
  2368. }
  2369. }
  2370. }
  2371. }
  2372. },
  2373. "/Ermcp/QueryErmcpTradePosition": {
  2374. "get": {
  2375. "security": [
  2376. {
  2377. "ApiKeyAuth": []
  2378. }
  2379. ],
  2380. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2381. "produces": [
  2382. "application/json"
  2383. ],
  2384. "tags": [
  2385. "企业风险管理(app)"
  2386. ],
  2387. "summary": "获取企业风管期货持仓头寸信息",
  2388. "parameters": [
  2389. {
  2390. "type": "integer",
  2391. "description": "资金账户ID",
  2392. "name": "accountID",
  2393. "in": "query",
  2394. "required": true
  2395. },
  2396. {
  2397. "type": "integer",
  2398. "description": "所属市场ID",
  2399. "name": "marketID",
  2400. "in": "query"
  2401. }
  2402. ],
  2403. "responses": {
  2404. "200": {
  2405. "description": "OK",
  2406. "schema": {
  2407. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2408. }
  2409. },
  2410. "500": {
  2411. "description": "Internal Server Error",
  2412. "schema": {
  2413. "$ref": "#/definitions/app.Response"
  2414. }
  2415. }
  2416. }
  2417. }
  2418. },
  2419. "/Ermcp/QueryExposureDetail": {
  2420. "get": {
  2421. "security": [
  2422. {
  2423. "ApiKeyAuth": []
  2424. }
  2425. ],
  2426. "produces": [
  2427. "application/json"
  2428. ],
  2429. "tags": [
  2430. "企业风险管理(app)"
  2431. ],
  2432. "summary": "查询敞口现货明细",
  2433. "parameters": [
  2434. {
  2435. "type": "integer",
  2436. "description": "所属机构ID",
  2437. "name": "areaUserId",
  2438. "in": "query",
  2439. "required": true
  2440. },
  2441. {
  2442. "type": "integer",
  2443. "description": "套保商品",
  2444. "name": "middleGoodsId",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryExposureHedgePosition": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "所属机构ID",
  2486. "name": "areaUserId",
  2487. "in": "query",
  2488. "required": true
  2489. }
  2490. ],
  2491. "responses": {
  2492. "200": {
  2493. "description": "OK",
  2494. "schema": {
  2495. "type": "array",
  2496. "items": {
  2497. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2498. }
  2499. }
  2500. },
  2501. "500": {
  2502. "description": "Internal Server Error",
  2503. "schema": {
  2504. "$ref": "#/definitions/app.Response"
  2505. }
  2506. }
  2507. }
  2508. }
  2509. },
  2510. "/Ermcp/QueryExposureHedgePositionDetail": {
  2511. "get": {
  2512. "security": [
  2513. {
  2514. "ApiKeyAuth": []
  2515. }
  2516. ],
  2517. "produces": [
  2518. "application/json"
  2519. ],
  2520. "tags": [
  2521. "企业风险管理(app)"
  2522. ],
  2523. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2524. "parameters": [
  2525. {
  2526. "type": "integer",
  2527. "description": "所属机构ID",
  2528. "name": "areaUserId",
  2529. "in": "query",
  2530. "required": true
  2531. },
  2532. {
  2533. "type": "integer",
  2534. "description": "商品id",
  2535. "name": "goodsId",
  2536. "in": "query",
  2537. "required": true
  2538. }
  2539. ],
  2540. "responses": {
  2541. "200": {
  2542. "description": "OK",
  2543. "schema": {
  2544. "type": "array",
  2545. "items": {
  2546. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2547. }
  2548. }
  2549. },
  2550. "500": {
  2551. "description": "Internal Server Error",
  2552. "schema": {
  2553. "$ref": "#/definitions/app.Response"
  2554. }
  2555. }
  2556. }
  2557. }
  2558. },
  2559. "/Ermcp/QueryExposureSpot": {
  2560. "get": {
  2561. "security": [
  2562. {
  2563. "ApiKeyAuth": []
  2564. }
  2565. ],
  2566. "produces": [
  2567. "application/json"
  2568. ],
  2569. "tags": [
  2570. "企业风险管理(app)"
  2571. ],
  2572. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2573. "parameters": [
  2574. {
  2575. "type": "integer",
  2576. "description": "所属机构ID",
  2577. "name": "areaUserId",
  2578. "in": "query",
  2579. "required": true
  2580. }
  2581. ],
  2582. "responses": {
  2583. "200": {
  2584. "description": "OK",
  2585. "schema": {
  2586. "type": "array",
  2587. "items": {
  2588. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2589. }
  2590. }
  2591. },
  2592. "500": {
  2593. "description": "Internal Server Error",
  2594. "schema": {
  2595. "$ref": "#/definitions/app.Response"
  2596. }
  2597. }
  2598. }
  2599. }
  2600. },
  2601. "/Ermcp/QueryExposureSpotDetail": {
  2602. "get": {
  2603. "security": [
  2604. {
  2605. "ApiKeyAuth": []
  2606. }
  2607. ],
  2608. "produces": [
  2609. "application/json"
  2610. ],
  2611. "tags": [
  2612. "企业风险管理(app)"
  2613. ],
  2614. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2615. "parameters": [
  2616. {
  2617. "type": "integer",
  2618. "description": "所属机构ID",
  2619. "name": "areaUserId",
  2620. "in": "query",
  2621. "required": true
  2622. },
  2623. {
  2624. "type": "integer",
  2625. "description": "现货品种ID",
  2626. "name": "wrstandardId",
  2627. "in": "query",
  2628. "required": true
  2629. }
  2630. ],
  2631. "responses": {
  2632. "200": {
  2633. "description": "OK",
  2634. "schema": {
  2635. "type": "array",
  2636. "items": {
  2637. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2638. }
  2639. }
  2640. },
  2641. "500": {
  2642. "description": "Internal Server Error",
  2643. "schema": {
  2644. "$ref": "#/definitions/app.Response"
  2645. }
  2646. }
  2647. }
  2648. }
  2649. },
  2650. "/Ermcp/QueryGGConvertConfig": {
  2651. "get": {
  2652. "security": [
  2653. {
  2654. "ApiKeyAuth": []
  2655. }
  2656. ],
  2657. "produces": [
  2658. "application/json"
  2659. ],
  2660. "tags": [
  2661. "企业风险管理(app)"
  2662. ],
  2663. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2664. "parameters": [
  2665. {
  2666. "type": "integer",
  2667. "description": "品种id(不填则查所有)",
  2668. "name": "goodsgroupid",
  2669. "in": "query"
  2670. }
  2671. ],
  2672. "responses": {
  2673. "200": {
  2674. "description": "OK",
  2675. "schema": {
  2676. "type": "array",
  2677. "items": {
  2678. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2679. }
  2680. }
  2681. },
  2682. "500": {
  2683. "description": "Internal Server Error",
  2684. "schema": {
  2685. "$ref": "#/definitions/app.Response"
  2686. }
  2687. }
  2688. }
  2689. }
  2690. },
  2691. "/Ermcp/QueryGoodsBrand": {
  2692. "get": {
  2693. "security": [
  2694. {
  2695. "ApiKeyAuth": []
  2696. }
  2697. ],
  2698. "produces": [
  2699. "application/json"
  2700. ],
  2701. "tags": [
  2702. "企业风险管理(app)"
  2703. ],
  2704. "summary": "查询商品品牌",
  2705. "parameters": [
  2706. {
  2707. "type": "integer",
  2708. "description": "用户ID",
  2709. "name": "userid",
  2710. "in": "query",
  2711. "required": true
  2712. },
  2713. {
  2714. "type": "integer",
  2715. "description": "现货商品ID",
  2716. "name": "wrstandardid",
  2717. "in": "query"
  2718. }
  2719. ],
  2720. "responses": {
  2721. "200": {
  2722. "description": "OK",
  2723. "schema": {
  2724. "type": "array",
  2725. "items": {
  2726. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2727. }
  2728. }
  2729. },
  2730. "500": {
  2731. "description": "Internal Server Error",
  2732. "schema": {
  2733. "$ref": "#/definitions/app.Response"
  2734. }
  2735. }
  2736. }
  2737. }
  2738. },
  2739. "/Ermcp/QueryGoodsModel": {
  2740. "get": {
  2741. "security": [
  2742. {
  2743. "ApiKeyAuth": []
  2744. }
  2745. ],
  2746. "produces": [
  2747. "application/json"
  2748. ],
  2749. "tags": [
  2750. "企业风险管理(app)"
  2751. ],
  2752. "summary": "查询商品型号",
  2753. "parameters": [
  2754. {
  2755. "type": "integer",
  2756. "description": "用户ID",
  2757. "name": "userid",
  2758. "in": "query",
  2759. "required": true
  2760. }
  2761. ],
  2762. "responses": {
  2763. "200": {
  2764. "description": "OK",
  2765. "schema": {
  2766. "type": "array",
  2767. "items": {
  2768. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2769. }
  2770. }
  2771. },
  2772. "500": {
  2773. "description": "Internal Server Error",
  2774. "schema": {
  2775. "$ref": "#/definitions/app.Response"
  2776. }
  2777. }
  2778. }
  2779. }
  2780. },
  2781. "/Ermcp/QueryHedgePlan": {
  2782. "get": {
  2783. "security": [
  2784. {
  2785. "ApiKeyAuth": []
  2786. }
  2787. ],
  2788. "produces": [
  2789. "application/json"
  2790. ],
  2791. "tags": [
  2792. "企业风险管理(app)"
  2793. ],
  2794. "summary": "查询套保计划",
  2795. "parameters": [
  2796. {
  2797. "type": "integer",
  2798. "description": "用户ID",
  2799. "name": "userId",
  2800. "in": "query",
  2801. "required": true
  2802. },
  2803. {
  2804. "type": "string",
  2805. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2806. "name": "HedgePlanStatus",
  2807. "in": "query",
  2808. "required": true
  2809. }
  2810. ],
  2811. "responses": {
  2812. "200": {
  2813. "description": "OK",
  2814. "schema": {
  2815. "type": "array",
  2816. "items": {
  2817. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2818. }
  2819. }
  2820. },
  2821. "500": {
  2822. "description": "Internal Server Error",
  2823. "schema": {
  2824. "$ref": "#/definitions/app.Response"
  2825. }
  2826. }
  2827. }
  2828. }
  2829. },
  2830. "/Ermcp/QueryHisExposure": {
  2831. "get": {
  2832. "security": [
  2833. {
  2834. "ApiKeyAuth": []
  2835. }
  2836. ],
  2837. "produces": [
  2838. "application/json"
  2839. ],
  2840. "tags": [
  2841. "企业风险管理(app)"
  2842. ],
  2843. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2844. "parameters": [
  2845. {
  2846. "type": "integer",
  2847. "description": "所属机构ID",
  2848. "name": "areaUserId",
  2849. "in": "query",
  2850. "required": true
  2851. },
  2852. {
  2853. "type": "integer",
  2854. "description": "每个品种记录数",
  2855. "name": "lastNum",
  2856. "in": "query",
  2857. "required": true
  2858. }
  2859. ],
  2860. "responses": {
  2861. "200": {
  2862. "description": "OK",
  2863. "schema": {
  2864. "type": "array",
  2865. "items": {
  2866. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2867. }
  2868. }
  2869. },
  2870. "500": {
  2871. "description": "Internal Server Error",
  2872. "schema": {
  2873. "$ref": "#/definitions/app.Response"
  2874. }
  2875. }
  2876. }
  2877. }
  2878. },
  2879. "/Ermcp/QueryMiddleGoods": {
  2880. "get": {
  2881. "security": [
  2882. {
  2883. "ApiKeyAuth": []
  2884. }
  2885. ],
  2886. "produces": [
  2887. "application/json"
  2888. ],
  2889. "tags": [
  2890. "企业风险管理(app)"
  2891. ],
  2892. "summary": "查询套保品种(菜单:套保品种)",
  2893. "parameters": [
  2894. {
  2895. "type": "integer",
  2896. "description": "所属机构ID",
  2897. "name": "userid",
  2898. "in": "query",
  2899. "required": true
  2900. },
  2901. {
  2902. "type": "integer",
  2903. "description": "状态 0-停用 1-正常",
  2904. "name": "status",
  2905. "in": "query",
  2906. "required": true
  2907. }
  2908. ],
  2909. "responses": {
  2910. "200": {
  2911. "description": "OK",
  2912. "schema": {
  2913. "type": "array",
  2914. "items": {
  2915. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2916. }
  2917. }
  2918. },
  2919. "500": {
  2920. "description": "Internal Server Error",
  2921. "schema": {
  2922. "$ref": "#/definitions/app.Response"
  2923. }
  2924. }
  2925. }
  2926. }
  2927. },
  2928. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2929. "get": {
  2930. "security": [
  2931. {
  2932. "ApiKeyAuth": []
  2933. }
  2934. ],
  2935. "produces": [
  2936. "application/json"
  2937. ],
  2938. "tags": [
  2939. "企业风险管理(app)"
  2940. ],
  2941. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2942. "parameters": [
  2943. {
  2944. "type": "integer",
  2945. "description": "所属机构ID",
  2946. "name": "userid",
  2947. "in": "query",
  2948. "required": true
  2949. },
  2950. {
  2951. "type": "integer",
  2952. "description": "套保品种id",
  2953. "name": "middlegoodsid",
  2954. "in": "query",
  2955. "required": true
  2956. }
  2957. ],
  2958. "responses": {
  2959. "200": {
  2960. "description": "OK",
  2961. "schema": {
  2962. "type": "array",
  2963. "items": {
  2964. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2965. }
  2966. }
  2967. },
  2968. "500": {
  2969. "description": "Internal Server Error",
  2970. "schema": {
  2971. "$ref": "#/definitions/app.Response"
  2972. }
  2973. }
  2974. }
  2975. }
  2976. },
  2977. "/Ermcp/QueryMiddleGoodsDetail": {
  2978. "get": {
  2979. "security": [
  2980. {
  2981. "ApiKeyAuth": []
  2982. }
  2983. ],
  2984. "produces": [
  2985. "application/json"
  2986. ],
  2987. "tags": [
  2988. "企业风险管理(app)"
  2989. ],
  2990. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2991. "parameters": [
  2992. {
  2993. "type": "integer",
  2994. "description": "所属机构ID",
  2995. "name": "userid",
  2996. "in": "query",
  2997. "required": true
  2998. },
  2999. {
  3000. "type": "integer",
  3001. "description": "套保品种id",
  3002. "name": "middlegoodsid",
  3003. "in": "query"
  3004. }
  3005. ],
  3006. "responses": {
  3007. "200": {
  3008. "description": "OK",
  3009. "schema": {
  3010. "type": "array",
  3011. "items": {
  3012. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3013. }
  3014. }
  3015. },
  3016. "500": {
  3017. "description": "Internal Server Error",
  3018. "schema": {
  3019. "$ref": "#/definitions/app.Response"
  3020. }
  3021. }
  3022. }
  3023. }
  3024. },
  3025. "/Ermcp/QueryPendingAuditInfo": {
  3026. "get": {
  3027. "security": [
  3028. {
  3029. "ApiKeyAuth": []
  3030. }
  3031. ],
  3032. "produces": [
  3033. "application/json"
  3034. ],
  3035. "tags": [
  3036. "企业风险管理(app)"
  3037. ],
  3038. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3039. "parameters": [
  3040. {
  3041. "type": "integer",
  3042. "description": "用户ID",
  3043. "name": "UserId",
  3044. "in": "query",
  3045. "required": true
  3046. }
  3047. ],
  3048. "responses": {
  3049. "200": {
  3050. "description": "OK",
  3051. "schema": {
  3052. "type": "array",
  3053. "items": {
  3054. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3055. }
  3056. }
  3057. },
  3058. "500": {
  3059. "description": "Internal Server Error",
  3060. "schema": {
  3061. "$ref": "#/definitions/app.Response"
  3062. }
  3063. }
  3064. }
  3065. }
  3066. },
  3067. "/Ermcp/QueryRealtimeExposure": {
  3068. "get": {
  3069. "security": [
  3070. {
  3071. "ApiKeyAuth": []
  3072. }
  3073. ],
  3074. "produces": [
  3075. "application/json"
  3076. ],
  3077. "tags": [
  3078. "企业风险管理(app)"
  3079. ],
  3080. "summary": "查询实时敞口",
  3081. "parameters": [
  3082. {
  3083. "type": "integer",
  3084. "description": "所属机构ID",
  3085. "name": "AreaUserID",
  3086. "in": "query",
  3087. "required": true
  3088. }
  3089. ],
  3090. "responses": {
  3091. "200": {
  3092. "description": "OK",
  3093. "schema": {
  3094. "type": "array",
  3095. "items": {
  3096. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3097. }
  3098. }
  3099. },
  3100. "500": {
  3101. "description": "Internal Server Error",
  3102. "schema": {
  3103. "$ref": "#/definitions/app.Response"
  3104. }
  3105. }
  3106. }
  3107. }
  3108. },
  3109. "/Ermcp/QueryRealtimeExposurePosition": {
  3110. "get": {
  3111. "security": [
  3112. {
  3113. "ApiKeyAuth": []
  3114. }
  3115. ],
  3116. "produces": [
  3117. "application/json"
  3118. ],
  3119. "tags": [
  3120. "企业风险管理(app)"
  3121. ],
  3122. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3123. "parameters": [
  3124. {
  3125. "type": "integer",
  3126. "description": "所属机构ID",
  3127. "name": "areaUserId",
  3128. "in": "query",
  3129. "required": true
  3130. },
  3131. {
  3132. "type": "integer",
  3133. "description": "套保商品ID",
  3134. "name": "middleGoodsId",
  3135. "in": "query",
  3136. "required": true
  3137. }
  3138. ],
  3139. "responses": {
  3140. "200": {
  3141. "description": "OK",
  3142. "schema": {
  3143. "type": "array",
  3144. "items": {
  3145. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3146. }
  3147. }
  3148. },
  3149. "500": {
  3150. "description": "Internal Server Error",
  3151. "schema": {
  3152. "$ref": "#/definitions/app.Response"
  3153. }
  3154. }
  3155. }
  3156. }
  3157. },
  3158. "/Ermcp/QuerySpotContract": {
  3159. "get": {
  3160. "security": [
  3161. {
  3162. "ApiKeyAuth": []
  3163. }
  3164. ],
  3165. "produces": [
  3166. "application/json"
  3167. ],
  3168. "tags": [
  3169. "企业风险管理(app)"
  3170. ],
  3171. "summary": "查询现货合同(对应现货合同菜单)",
  3172. "parameters": [
  3173. {
  3174. "type": "integer",
  3175. "description": "用户ID",
  3176. "name": "userId",
  3177. "in": "query",
  3178. "required": true
  3179. },
  3180. {
  3181. "type": "integer",
  3182. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3183. "name": "QueryType",
  3184. "in": "query",
  3185. "required": true
  3186. }
  3187. ],
  3188. "responses": {
  3189. "200": {
  3190. "description": "OK",
  3191. "schema": {
  3192. "type": "array",
  3193. "items": {
  3194. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3195. }
  3196. }
  3197. },
  3198. "500": {
  3199. "description": "Internal Server Error",
  3200. "schema": {
  3201. "$ref": "#/definitions/app.Response"
  3202. }
  3203. }
  3204. }
  3205. }
  3206. },
  3207. "/Ermcp/QueryUserInfo": {
  3208. "get": {
  3209. "security": [
  3210. {
  3211. "ApiKeyAuth": []
  3212. }
  3213. ],
  3214. "produces": [
  3215. "application/json"
  3216. ],
  3217. "tags": [
  3218. "企业风险管理(app)"
  3219. ],
  3220. "summary": "查询客户资料",
  3221. "parameters": [
  3222. {
  3223. "type": "integer",
  3224. "description": "所属机构用户ID",
  3225. "name": "MemberUserID",
  3226. "in": "query",
  3227. "required": true
  3228. },
  3229. {
  3230. "type": "integer",
  3231. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3232. "name": "queryType",
  3233. "in": "query",
  3234. "required": true
  3235. }
  3236. ],
  3237. "responses": {
  3238. "200": {
  3239. "description": "OK",
  3240. "schema": {
  3241. "type": "array",
  3242. "items": {
  3243. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3244. }
  3245. }
  3246. },
  3247. "500": {
  3248. "description": "Internal Server Error",
  3249. "schema": {
  3250. "$ref": "#/definitions/app.Response"
  3251. }
  3252. }
  3253. }
  3254. }
  3255. },
  3256. "/Ermcp/QueryWarehouseInfo": {
  3257. "get": {
  3258. "security": [
  3259. {
  3260. "ApiKeyAuth": []
  3261. }
  3262. ],
  3263. "produces": [
  3264. "application/json"
  3265. ],
  3266. "tags": [
  3267. "企业风险管理(app)"
  3268. ],
  3269. "summary": "查询仓库信息",
  3270. "parameters": [
  3271. {
  3272. "type": "integer",
  3273. "description": "用户ID",
  3274. "name": "userid",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "string",
  3280. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3281. "name": "status",
  3282. "in": "query"
  3283. }
  3284. ],
  3285. "responses": {
  3286. "200": {
  3287. "description": "OK",
  3288. "schema": {
  3289. "type": "array",
  3290. "items": {
  3291. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3292. }
  3293. }
  3294. },
  3295. "500": {
  3296. "description": "Internal Server Error",
  3297. "schema": {
  3298. "$ref": "#/definitions/app.Response"
  3299. }
  3300. }
  3301. }
  3302. }
  3303. },
  3304. "/Ermcp/QueryWrStandard": {
  3305. "get": {
  3306. "security": [
  3307. {
  3308. "ApiKeyAuth": []
  3309. }
  3310. ],
  3311. "produces": [
  3312. "application/json"
  3313. ],
  3314. "tags": [
  3315. "企业风险管理(app)"
  3316. ],
  3317. "summary": "查询现货商品",
  3318. "parameters": [
  3319. {
  3320. "type": "integer",
  3321. "description": "所属机构ID",
  3322. "name": "userid",
  3323. "in": "query",
  3324. "required": true
  3325. },
  3326. {
  3327. "type": "integer",
  3328. "description": "状态 0-停用 1-正常",
  3329. "name": "status",
  3330. "in": "query",
  3331. "required": true
  3332. }
  3333. ],
  3334. "responses": {
  3335. "200": {
  3336. "description": "OK",
  3337. "schema": {
  3338. "type": "array",
  3339. "items": {
  3340. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3341. }
  3342. }
  3343. },
  3344. "500": {
  3345. "description": "Internal Server Error",
  3346. "schema": {
  3347. "$ref": "#/definitions/app.Response"
  3348. }
  3349. }
  3350. }
  3351. }
  3352. },
  3353. "/Ermcp/QueryWrStandardDetail": {
  3354. "get": {
  3355. "security": [
  3356. {
  3357. "ApiKeyAuth": []
  3358. }
  3359. ],
  3360. "produces": [
  3361. "application/json"
  3362. ],
  3363. "tags": [
  3364. "企业风险管理(app)"
  3365. ],
  3366. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3367. "parameters": [
  3368. {
  3369. "type": "integer",
  3370. "description": "所属机构ID",
  3371. "name": "userid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "现货商品ID",
  3378. "name": "wrstandardid",
  3379. "in": "query"
  3380. },
  3381. {
  3382. "type": "integer",
  3383. "description": "可不填, 1-查询关联交易商品",
  3384. "name": "goods",
  3385. "in": "query"
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "OK",
  3391. "schema": {
  3392. "type": "array",
  3393. "items": {
  3394. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3395. }
  3396. }
  3397. },
  3398. "500": {
  3399. "description": "Internal Server Error",
  3400. "schema": {
  3401. "$ref": "#/definitions/app.Response"
  3402. }
  3403. }
  3404. }
  3405. }
  3406. },
  3407. "/Erms2/QueryArbitrageStrategy": {
  3408. "get": {
  3409. "security": [
  3410. {
  3411. "ApiKeyAuth": []
  3412. }
  3413. ],
  3414. "produces": [
  3415. "application/json"
  3416. ],
  3417. "tags": [
  3418. "风险管理"
  3419. ],
  3420. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3421. "parameters": [
  3422. {
  3423. "type": "integer",
  3424. "description": "账户ID",
  3425. "name": "userid",
  3426. "in": "query",
  3427. "required": true
  3428. },
  3429. {
  3430. "type": "string",
  3431. "description": "商品组ID(品种ID)",
  3432. "name": "goodsgroupid",
  3433. "in": "query"
  3434. }
  3435. ],
  3436. "responses": {
  3437. "200": {
  3438. "description": "OK",
  3439. "schema": {
  3440. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3441. }
  3442. },
  3443. "500": {
  3444. "description": "Internal Server Error",
  3445. "schema": {
  3446. "$ref": "#/definitions/app.Response"
  3447. }
  3448. }
  3449. }
  3450. }
  3451. },
  3452. "/Erms2/QueryInnerTradeDetail": {
  3453. "get": {
  3454. "security": [
  3455. {
  3456. "ApiKeyAuth": []
  3457. }
  3458. ],
  3459. "produces": [
  3460. "application/json"
  3461. ],
  3462. "tags": [
  3463. "风险管理"
  3464. ],
  3465. "summary": "查询内部成交单信息",
  3466. "parameters": [
  3467. {
  3468. "type": "integer",
  3469. "description": "资金账户",
  3470. "name": "accountid",
  3471. "in": "query",
  3472. "required": true
  3473. }
  3474. ],
  3475. "responses": {
  3476. "200": {
  3477. "description": "OK",
  3478. "schema": {
  3479. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3480. }
  3481. },
  3482. "500": {
  3483. "description": "Internal Server Error",
  3484. "schema": {
  3485. "$ref": "#/definitions/app.Response"
  3486. }
  3487. }
  3488. }
  3489. }
  3490. },
  3491. "/Erms2/QuerySpotContract": {
  3492. "get": {
  3493. "security": [
  3494. {
  3495. "ApiKeyAuth": []
  3496. }
  3497. ],
  3498. "produces": [
  3499. "application/json"
  3500. ],
  3501. "tags": [
  3502. "风险管理"
  3503. ],
  3504. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3505. "parameters": [
  3506. {
  3507. "type": "integer",
  3508. "description": "策略申请ID",
  3509. "name": "asapplyid",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "integer",
  3515. "description": "现货合同ID",
  3516. "name": "spotcontractid",
  3517. "in": "query"
  3518. }
  3519. ],
  3520. "responses": {
  3521. "200": {
  3522. "description": "OK",
  3523. "schema": {
  3524. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3525. }
  3526. },
  3527. "500": {
  3528. "description": "Internal Server Error",
  3529. "schema": {
  3530. "$ref": "#/definitions/app.Response"
  3531. }
  3532. }
  3533. }
  3534. }
  3535. },
  3536. "/Erms3/AddErms2ASApply": {
  3537. "post": {
  3538. "security": [
  3539. {
  3540. "ApiKeyAuth": []
  3541. }
  3542. ],
  3543. "produces": [
  3544. "application/json"
  3545. ],
  3546. "tags": [
  3547. "风险管理v3"
  3548. ],
  3549. "summary": "新增期现套利业务申请",
  3550. "parameters": [
  3551. {
  3552. "description": "申请参数",
  3553. "name": "jsonBody",
  3554. "in": "body",
  3555. "required": true,
  3556. "schema": {
  3557. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3558. }
  3559. }
  3560. ],
  3561. "responses": {
  3562. "200": {
  3563. "description": "OK",
  3564. "schema": {
  3565. "$ref": "#/definitions/app.Response"
  3566. }
  3567. },
  3568. "500": {
  3569. "description": "Internal Server Error",
  3570. "schema": {
  3571. "$ref": "#/definitions/app.Response"
  3572. }
  3573. }
  3574. }
  3575. }
  3576. },
  3577. "/Erms3/AddErms2SpotTradeApply": {
  3578. "post": {
  3579. "security": [
  3580. {
  3581. "ApiKeyAuth": []
  3582. }
  3583. ],
  3584. "produces": [
  3585. "application/json"
  3586. ],
  3587. "tags": [
  3588. "风险管理v3"
  3589. ],
  3590. "summary": "新增现货贸易业务申请",
  3591. "parameters": [
  3592. {
  3593. "description": "申请参数",
  3594. "name": "jsonBody",
  3595. "in": "body",
  3596. "required": true,
  3597. "schema": {
  3598. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3599. }
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "$ref": "#/definitions/app.Response"
  3607. }
  3608. },
  3609. "500": {
  3610. "description": "Internal Server Error",
  3611. "schema": {
  3612. "$ref": "#/definitions/app.Response"
  3613. }
  3614. }
  3615. }
  3616. }
  3617. },
  3618. "/Erms3/AddSpotContractApply": {
  3619. "post": {
  3620. "security": [
  3621. {
  3622. "ApiKeyAuth": []
  3623. }
  3624. ],
  3625. "produces": [
  3626. "application/json"
  3627. ],
  3628. "tags": [
  3629. "风险管理v3"
  3630. ],
  3631. "summary": "新增现货合同申请",
  3632. "parameters": [
  3633. {
  3634. "description": "申请参数",
  3635. "name": "jsonBody",
  3636. "in": "body",
  3637. "required": true,
  3638. "schema": {
  3639. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3640. }
  3641. }
  3642. ],
  3643. "responses": {
  3644. "200": {
  3645. "description": "OK",
  3646. "schema": {
  3647. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3648. }
  3649. },
  3650. "500": {
  3651. "description": "Internal Server Error",
  3652. "schema": {
  3653. "$ref": "#/definitions/app.Response"
  3654. }
  3655. }
  3656. }
  3657. }
  3658. },
  3659. "/Erms3/AddUserInfoApply": {
  3660. "post": {
  3661. "security": [
  3662. {
  3663. "ApiKeyAuth": []
  3664. }
  3665. ],
  3666. "produces": [
  3667. "application/json"
  3668. ],
  3669. "tags": [
  3670. "风险管理v3"
  3671. ],
  3672. "summary": "新增客户申请",
  3673. "parameters": [
  3674. {
  3675. "description": "用户信息",
  3676. "name": "jsonBody",
  3677. "in": "body",
  3678. "required": true,
  3679. "schema": {
  3680. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3681. }
  3682. }
  3683. ],
  3684. "responses": {
  3685. "200": {
  3686. "description": "OK",
  3687. "schema": {
  3688. "$ref": "#/definitions/app.Response"
  3689. }
  3690. },
  3691. "500": {
  3692. "description": "Internal Server Error",
  3693. "schema": {
  3694. "$ref": "#/definitions/app.Response"
  3695. }
  3696. }
  3697. }
  3698. }
  3699. },
  3700. "/Erms3/ModifyUserInfoApply": {
  3701. "post": {
  3702. "security": [
  3703. {
  3704. "ApiKeyAuth": []
  3705. }
  3706. ],
  3707. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3708. "produces": [
  3709. "application/json"
  3710. ],
  3711. "tags": [
  3712. "风险管理v3"
  3713. ],
  3714. "summary": "修改客户申请",
  3715. "parameters": [
  3716. {
  3717. "description": "用户信息",
  3718. "name": "jsonBody",
  3719. "in": "body",
  3720. "required": true,
  3721. "schema": {
  3722. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3723. }
  3724. }
  3725. ],
  3726. "responses": {
  3727. "200": {
  3728. "description": "OK",
  3729. "schema": {
  3730. "$ref": "#/definitions/app.Response"
  3731. }
  3732. },
  3733. "500": {
  3734. "description": "Internal Server Error",
  3735. "schema": {
  3736. "$ref": "#/definitions/app.Response"
  3737. }
  3738. }
  3739. }
  3740. }
  3741. },
  3742. "/Erms3/QueryBusinessInfo": {
  3743. "get": {
  3744. "security": [
  3745. {
  3746. "ApiKeyAuth": []
  3747. }
  3748. ],
  3749. "produces": [
  3750. "application/json"
  3751. ],
  3752. "tags": [
  3753. "风险管理v3"
  3754. ],
  3755. "summary": "查询业务表单数据",
  3756. "parameters": [
  3757. {
  3758. "type": "string",
  3759. "description": "资金账号ID列表,用逗号分隔",
  3760. "name": "accountids",
  3761. "in": "query",
  3762. "required": true
  3763. },
  3764. {
  3765. "type": "integer",
  3766. "description": "状态,0为未结束 1为已结束",
  3767. "name": "status",
  3768. "in": "query",
  3769. "required": true
  3770. }
  3771. ],
  3772. "responses": {
  3773. "200": {
  3774. "description": "OK",
  3775. "schema": {
  3776. "type": "array",
  3777. "items": {
  3778. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3779. }
  3780. }
  3781. },
  3782. "500": {
  3783. "description": "Internal Server Error",
  3784. "schema": {
  3785. "$ref": "#/definitions/app.Response"
  3786. }
  3787. }
  3788. }
  3789. }
  3790. },
  3791. "/Erms3/QueryPendingAuditContract": {
  3792. "get": {
  3793. "security": [
  3794. {
  3795. "ApiKeyAuth": []
  3796. }
  3797. ],
  3798. "produces": [
  3799. "application/json"
  3800. ],
  3801. "tags": [
  3802. "风险管理v3"
  3803. ],
  3804. "summary": "查询待审核合同",
  3805. "parameters": [
  3806. {
  3807. "type": "string",
  3808. "description": "资金账号ID列表,逗号隔开",
  3809. "name": "accountids",
  3810. "in": "query",
  3811. "required": true
  3812. },
  3813. {
  3814. "type": "integer",
  3815. "description": "合同类型 1-采购 -1-销售",
  3816. "name": "contracttype",
  3817. "in": "query",
  3818. "required": true
  3819. },
  3820. {
  3821. "type": "integer",
  3822. "description": "合同模式 1-普通 2-回购",
  3823. "name": "contractmode",
  3824. "in": "query",
  3825. "required": true
  3826. }
  3827. ],
  3828. "responses": {
  3829. "200": {
  3830. "description": "OK",
  3831. "schema": {
  3832. "type": "array",
  3833. "items": {
  3834. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3835. }
  3836. }
  3837. },
  3838. "500": {
  3839. "description": "Internal Server Error",
  3840. "schema": {
  3841. "$ref": "#/definitions/app.Response"
  3842. }
  3843. }
  3844. }
  3845. }
  3846. },
  3847. "/Erms3/QueryPendingBusiness": {
  3848. "get": {
  3849. "security": [
  3850. {
  3851. "ApiKeyAuth": []
  3852. }
  3853. ],
  3854. "produces": [
  3855. "application/json"
  3856. ],
  3857. "tags": [
  3858. "风险管理v3"
  3859. ],
  3860. "summary": "查询待审核基差贸易业务",
  3861. "parameters": [
  3862. {
  3863. "type": "string",
  3864. "description": "资金账号ID列表,逗号隔开",
  3865. "name": "accountids",
  3866. "in": "query",
  3867. "required": true
  3868. }
  3869. ],
  3870. "responses": {
  3871. "200": {
  3872. "description": "OK",
  3873. "schema": {
  3874. "type": "array",
  3875. "items": {
  3876. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3877. }
  3878. }
  3879. },
  3880. "500": {
  3881. "description": "Internal Server Error",
  3882. "schema": {
  3883. "$ref": "#/definitions/app.Response"
  3884. }
  3885. }
  3886. }
  3887. }
  3888. },
  3889. "/Erms3/QuerySpotContractAppleForm": {
  3890. "get": {
  3891. "security": [
  3892. {
  3893. "ApiKeyAuth": []
  3894. }
  3895. ],
  3896. "produces": [
  3897. "application/json"
  3898. ],
  3899. "tags": [
  3900. "风险管理v3"
  3901. ],
  3902. "summary": "查询合同申请表单数据",
  3903. "parameters": [
  3904. {
  3905. "type": "integer",
  3906. "description": "登录账号",
  3907. "name": "loginID",
  3908. "in": "query",
  3909. "required": true
  3910. }
  3911. ],
  3912. "responses": {
  3913. "200": {
  3914. "description": "OK",
  3915. "schema": {
  3916. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3917. }
  3918. },
  3919. "500": {
  3920. "description": "Internal Server Error",
  3921. "schema": {
  3922. "$ref": "#/definitions/app.Response"
  3923. }
  3924. }
  3925. }
  3926. }
  3927. },
  3928. "/Erms3/QuerySpotContractDetail": {
  3929. "get": {
  3930. "security": [
  3931. {
  3932. "ApiKeyAuth": []
  3933. }
  3934. ],
  3935. "produces": [
  3936. "application/json"
  3937. ],
  3938. "tags": [
  3939. "风险管理v3"
  3940. ],
  3941. "summary": "查询合同详细信息",
  3942. "parameters": [
  3943. {
  3944. "type": "string",
  3945. "description": "资金账号ID列表,用逗号分隔",
  3946. "name": "accountids",
  3947. "in": "query",
  3948. "required": true
  3949. },
  3950. {
  3951. "type": "integer",
  3952. "description": "合同类型,1为采购合同 -1为销售合同",
  3953. "name": "contracttype",
  3954. "in": "query",
  3955. "required": true
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "合同模式,1为普通合同 2为回购销售合同",
  3960. "name": "contractmode",
  3961. "in": "query",
  3962. "required": true
  3963. },
  3964. {
  3965. "type": "integer",
  3966. "description": "状态,0为履约中 1为已完成",
  3967. "name": "status",
  3968. "in": "query",
  3969. "required": true
  3970. }
  3971. ],
  3972. "responses": {
  3973. "200": {
  3974. "description": "OK",
  3975. "schema": {
  3976. "type": "array",
  3977. "items": {
  3978. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3979. }
  3980. }
  3981. },
  3982. "500": {
  3983. "description": "Internal Server Error",
  3984. "schema": {
  3985. "$ref": "#/definitions/app.Response"
  3986. }
  3987. }
  3988. }
  3989. }
  3990. },
  3991. "/Erms3/QueryUserInfoApplies": {
  3992. "get": {
  3993. "security": [
  3994. {
  3995. "ApiKeyAuth": []
  3996. }
  3997. ],
  3998. "produces": [
  3999. "application/json"
  4000. ],
  4001. "tags": [
  4002. "风险管理v3"
  4003. ],
  4004. "summary": "客户申请信息查询",
  4005. "parameters": [
  4006. {
  4007. "type": "integer",
  4008. "description": "页码",
  4009. "name": "page",
  4010. "in": "query"
  4011. },
  4012. {
  4013. "type": "integer",
  4014. "description": "每页条数",
  4015. "name": "pagesize",
  4016. "in": "query"
  4017. },
  4018. {
  4019. "type": "string",
  4020. "description": "客户名称,支持模糊查询",
  4021. "name": "userName",
  4022. "in": "query"
  4023. }
  4024. ],
  4025. "responses": {
  4026. "200": {
  4027. "description": "OK",
  4028. "schema": {
  4029. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4030. }
  4031. },
  4032. "500": {
  4033. "description": "Internal Server Error",
  4034. "schema": {
  4035. "$ref": "#/definitions/app.Response"
  4036. }
  4037. }
  4038. }
  4039. }
  4040. },
  4041. "/Erms3/QueryUserInfos": {
  4042. "get": {
  4043. "security": [
  4044. {
  4045. "ApiKeyAuth": []
  4046. }
  4047. ],
  4048. "produces": [
  4049. "application/json"
  4050. ],
  4051. "tags": [
  4052. "风险管理v3"
  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": "客户名称,支持模糊查询",
  4071. "name": "userName",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4080. }
  4081. },
  4082. "500": {
  4083. "description": "Internal Server Error",
  4084. "schema": {
  4085. "$ref": "#/definitions/app.Response"
  4086. }
  4087. }
  4088. }
  4089. }
  4090. },
  4091. "/HSBY/GetHsbyMyCount": {
  4092. "get": {
  4093. "security": [
  4094. {
  4095. "ApiKeyAuth": []
  4096. }
  4097. ],
  4098. "description": "说明: 不包括已完成的数量。",
  4099. "produces": [
  4100. "application/json"
  4101. ],
  4102. "tags": [
  4103. "定制【海商报业】"
  4104. ],
  4105. "summary": "获取我的订单与包裹数量",
  4106. "parameters": [
  4107. {
  4108. "type": "string",
  4109. "description": "资金账户列表,格式:1,2,3",
  4110. "name": "accountIDs",
  4111. "in": "query",
  4112. "required": true
  4113. }
  4114. ],
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4120. }
  4121. },
  4122. "500": {
  4123. "description": "Internal Server Error",
  4124. "schema": {
  4125. "$ref": "#/definitions/app.Response"
  4126. }
  4127. }
  4128. }
  4129. }
  4130. },
  4131. "/HSBY/QueryClientFixedADConfigs": {
  4132. "get": {
  4133. "security": [
  4134. {
  4135. "ApiKeyAuth": []
  4136. }
  4137. ],
  4138. "produces": [
  4139. "application/json"
  4140. ],
  4141. "tags": [
  4142. "定制【海商报业】"
  4143. ],
  4144. "summary": "获取终端固定广告配置",
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "$ref": "#/definitions/models.Clientfixedadconfig"
  4150. }
  4151. },
  4152. "500": {
  4153. "description": "Internal Server Error",
  4154. "schema": {
  4155. "$ref": "#/definitions/app.Response"
  4156. }
  4157. }
  4158. }
  4159. }
  4160. },
  4161. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4162. "get": {
  4163. "security": [
  4164. {
  4165. "ApiKeyAuth": []
  4166. }
  4167. ],
  4168. "produces": [
  4169. "application/json"
  4170. ],
  4171. "tags": [
  4172. "定制【海商报业】"
  4173. ],
  4174. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4175. "parameters": [
  4176. {
  4177. "type": "integer",
  4178. "description": "页码",
  4179. "name": "page",
  4180. "in": "query"
  4181. },
  4182. {
  4183. "type": "integer",
  4184. "description": "每页条数",
  4185. "name": "pagesize",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "string",
  4190. "description": "资金账户列表,格式:1,2,3",
  4191. "name": "accountIDs",
  4192. "in": "query",
  4193. "required": true
  4194. }
  4195. ],
  4196. "responses": {
  4197. "200": {
  4198. "description": "OK",
  4199. "schema": {
  4200. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4201. }
  4202. },
  4203. "500": {
  4204. "description": "Internal Server Error",
  4205. "schema": {
  4206. "$ref": "#/definitions/app.Response"
  4207. }
  4208. }
  4209. }
  4210. }
  4211. },
  4212. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4213. "get": {
  4214. "security": [
  4215. {
  4216. "ApiKeyAuth": []
  4217. }
  4218. ],
  4219. "description": "说明:查询结果已按委托价格和委托时间排序",
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "定制【海商报业】"
  4225. ],
  4226. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "商品ID",
  4231. "name": "goodsID",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4238. "name": "accountIDs",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4244. "name": "buyOrSell",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "number",
  4249. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4250. "name": "price",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "档位,不传则默认为3档",
  4256. "name": "speed",
  4257. "in": "query"
  4258. }
  4259. ],
  4260. "responses": {
  4261. "200": {
  4262. "description": "OK",
  4263. "schema": {
  4264. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4265. }
  4266. },
  4267. "500": {
  4268. "description": "Internal Server Error",
  4269. "schema": {
  4270. "$ref": "#/definitions/app.Response"
  4271. }
  4272. }
  4273. }
  4274. }
  4275. },
  4276. "/HSBY/QueryHsbyListingGoodsDetail": {
  4277. "get": {
  4278. "security": [
  4279. {
  4280. "ApiKeyAuth": []
  4281. }
  4282. ],
  4283. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4284. "produces": [
  4285. "application/json"
  4286. ],
  4287. "tags": [
  4288. "定制【海商报业】"
  4289. ],
  4290. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4291. "parameters": [
  4292. {
  4293. "type": "integer",
  4294. "description": "商品ID",
  4295. "name": "goodsID",
  4296. "in": "query",
  4297. "required": true
  4298. },
  4299. {
  4300. "type": "integer",
  4301. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4302. "name": "accountID",
  4303. "in": "query"
  4304. }
  4305. ],
  4306. "responses": {
  4307. "200": {
  4308. "description": "OK",
  4309. "schema": {
  4310. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4311. }
  4312. },
  4313. "500": {
  4314. "description": "Internal Server Error",
  4315. "schema": {
  4316. "$ref": "#/definitions/app.Response"
  4317. }
  4318. }
  4319. }
  4320. }
  4321. },
  4322. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4323. "get": {
  4324. "security": [
  4325. {
  4326. "ApiKeyAuth": []
  4327. }
  4328. ],
  4329. "produces": [
  4330. "application/json"
  4331. ],
  4332. "tags": [
  4333. "定制【海商报业】"
  4334. ],
  4335. "summary": "查询三级市场(商城)商品信息详情",
  4336. "parameters": [
  4337. {
  4338. "type": "integer",
  4339. "description": "委托单号",
  4340. "name": "orderID",
  4341. "in": "query",
  4342. "required": true
  4343. },
  4344. {
  4345. "type": "integer",
  4346. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4347. "name": "accountID",
  4348. "in": "query"
  4349. }
  4350. ],
  4351. "responses": {
  4352. "200": {
  4353. "description": "OK",
  4354. "schema": {
  4355. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4356. }
  4357. },
  4358. "500": {
  4359. "description": "Internal Server Error",
  4360. "schema": {
  4361. "$ref": "#/definitions/app.Response"
  4362. }
  4363. }
  4364. }
  4365. }
  4366. },
  4367. "/HSBY/QueryHsbyMarketGoodses": {
  4368. "get": {
  4369. "security": [
  4370. {
  4371. "ApiKeyAuth": []
  4372. }
  4373. ],
  4374. "produces": [
  4375. "application/json"
  4376. ],
  4377. "tags": [
  4378. "定制【海商报业】"
  4379. ],
  4380. "summary": "查询特卖商品列表(三级商城)",
  4381. "parameters": [
  4382. {
  4383. "type": "integer",
  4384. "description": "页码",
  4385. "name": "page",
  4386. "in": "query"
  4387. },
  4388. {
  4389. "type": "integer",
  4390. "description": "每页条数",
  4391. "name": "pagesize",
  4392. "in": "query"
  4393. },
  4394. {
  4395. "type": "string",
  4396. "description": "市场ID列表,格式:1,2,3",
  4397. "name": "marketIDs",
  4398. "in": "query",
  4399. "required": true
  4400. },
  4401. {
  4402. "type": "integer",
  4403. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4404. "name": "accountID",
  4405. "in": "query",
  4406. "required": true
  4407. },
  4408. {
  4409. "type": "integer",
  4410. "description": "类别ID",
  4411. "name": "categoryID",
  4412. "in": "query"
  4413. },
  4414. {
  4415. "type": "string",
  4416. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4417. "name": "goodsIDs",
  4418. "in": "query"
  4419. },
  4420. {
  4421. "type": "integer",
  4422. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4423. "name": "couponTypeID",
  4424. "in": "query"
  4425. }
  4426. ],
  4427. "responses": {
  4428. "200": {
  4429. "description": "OK",
  4430. "schema": {
  4431. "$ref": "#/definitions/models.HsbyMarketGoods"
  4432. }
  4433. },
  4434. "500": {
  4435. "description": "Internal Server Error",
  4436. "schema": {
  4437. "$ref": "#/definitions/app.Response"
  4438. }
  4439. }
  4440. }
  4441. }
  4442. },
  4443. "/HSBY/QueryHsbyMarkets": {
  4444. "get": {
  4445. "security": [
  4446. {
  4447. "ApiKeyAuth": []
  4448. }
  4449. ],
  4450. "produces": [
  4451. "application/json"
  4452. ],
  4453. "tags": [
  4454. "定制【海商报业】"
  4455. ],
  4456. "summary": "查询海商报业相关市场信息",
  4457. "responses": {
  4458. "200": {
  4459. "description": "OK",
  4460. "schema": {
  4461. "$ref": "#/definitions/models.HsbyMarketInfo"
  4462. }
  4463. },
  4464. "500": {
  4465. "description": "Internal Server Error",
  4466. "schema": {
  4467. "$ref": "#/definitions/app.Response"
  4468. }
  4469. }
  4470. }
  4471. }
  4472. },
  4473. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4474. "get": {
  4475. "security": [
  4476. {
  4477. "ApiKeyAuth": []
  4478. }
  4479. ],
  4480. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4481. "produces": [
  4482. "application/json"
  4483. ],
  4484. "tags": [
  4485. "定制【海商报业】"
  4486. ],
  4487. "summary": "查询“我的订单”信息",
  4488. "parameters": [
  4489. {
  4490. "type": "string",
  4491. "description": "资金账户列表,格式:1,2,3",
  4492. "name": "accountIDs",
  4493. "in": "query",
  4494. "required": true
  4495. }
  4496. ],
  4497. "responses": {
  4498. "200": {
  4499. "description": "OK",
  4500. "schema": {
  4501. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4502. }
  4503. },
  4504. "500": {
  4505. "description": "Internal Server Error",
  4506. "schema": {
  4507. "$ref": "#/definitions/app.Response"
  4508. }
  4509. }
  4510. }
  4511. }
  4512. },
  4513. "/HSBY/QueryHsbyMyGoods": {
  4514. "get": {
  4515. "security": [
  4516. {
  4517. "ApiKeyAuth": []
  4518. }
  4519. ],
  4520. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "定制【海商报业】"
  4526. ],
  4527. "summary": "查询“我的商品”信息",
  4528. "parameters": [
  4529. {
  4530. "type": "string",
  4531. "description": "资金账户列表,格式:1,2,3",
  4532. "name": "accountIDs",
  4533. "in": "query",
  4534. "required": true
  4535. }
  4536. ],
  4537. "responses": {
  4538. "200": {
  4539. "description": "OK",
  4540. "schema": {
  4541. "$ref": "#/definitions/models.HsbyMyGoods"
  4542. }
  4543. },
  4544. "500": {
  4545. "description": "Internal Server Error",
  4546. "schema": {
  4547. "$ref": "#/definitions/app.Response"
  4548. }
  4549. }
  4550. }
  4551. }
  4552. },
  4553. "/HSBY/QueryHsbyMyPackages": {
  4554. "get": {
  4555. "security": [
  4556. {
  4557. "ApiKeyAuth": []
  4558. }
  4559. ],
  4560. "produces": [
  4561. "application/json"
  4562. ],
  4563. "tags": [
  4564. "定制【海商报业】"
  4565. ],
  4566. "summary": "查询我的包裹信息",
  4567. "parameters": [
  4568. {
  4569. "type": "string",
  4570. "description": "资金账户列表,格式:1,2,3",
  4571. "name": "accountIDs",
  4572. "in": "query",
  4573. "required": true
  4574. },
  4575. {
  4576. "type": "integer",
  4577. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4578. "name": "takeOrderStatus",
  4579. "in": "query"
  4580. }
  4581. ],
  4582. "responses": {
  4583. "200": {
  4584. "description": "OK",
  4585. "schema": {
  4586. "$ref": "#/definitions/models.HsbyMyPackage"
  4587. }
  4588. },
  4589. "500": {
  4590. "description": "Internal Server Error",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/HSBY/QueryHsbyPreGoodsDetail": {
  4599. "get": {
  4600. "security": [
  4601. {
  4602. "ApiKeyAuth": []
  4603. }
  4604. ],
  4605. "produces": [
  4606. "application/json"
  4607. ],
  4608. "tags": [
  4609. "定制【海商报业】"
  4610. ],
  4611. "summary": "查询一级市场(预售)商品信息详情",
  4612. "parameters": [
  4613. {
  4614. "type": "integer",
  4615. "description": "商品ID",
  4616. "name": "goodsID",
  4617. "in": "query",
  4618. "required": true
  4619. },
  4620. {
  4621. "type": "integer",
  4622. "description": "资金账户,主要用于获取预售商品购买上限",
  4623. "name": "accountID",
  4624. "in": "query"
  4625. }
  4626. ],
  4627. "responses": {
  4628. "200": {
  4629. "description": "OK",
  4630. "schema": {
  4631. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4632. }
  4633. },
  4634. "500": {
  4635. "description": "Internal Server Error",
  4636. "schema": {
  4637. "$ref": "#/definitions/app.Response"
  4638. }
  4639. }
  4640. }
  4641. }
  4642. },
  4643. "/HSBY/QueryHsbyPreGoodses": {
  4644. "get": {
  4645. "security": [
  4646. {
  4647. "ApiKeyAuth": []
  4648. }
  4649. ],
  4650. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4651. "produces": [
  4652. "application/json"
  4653. ],
  4654. "tags": [
  4655. "定制【海商报业】"
  4656. ],
  4657. "summary": "查询新品上市商品列表(一级市场预售)",
  4658. "parameters": [
  4659. {
  4660. "type": "integer",
  4661. "description": "页码",
  4662. "name": "page",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "每页条数",
  4668. "name": "pagesize",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "string",
  4673. "description": "市场ID列表,格式:1,2,3",
  4674. "name": "marketIDs",
  4675. "in": "query",
  4676. "required": true
  4677. },
  4678. {
  4679. "type": "integer",
  4680. "description": "目的地(省)ID",
  4681. "name": "descProvinceID",
  4682. "in": "query"
  4683. },
  4684. {
  4685. "type": "integer",
  4686. "description": "目的地(市)ID",
  4687. "name": "descCityID",
  4688. "in": "query"
  4689. }
  4690. ],
  4691. "responses": {
  4692. "200": {
  4693. "description": "OK",
  4694. "schema": {
  4695. "$ref": "#/definitions/models.HsbyPreGoods"
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/HSBY/QueryHsbySellMyDetails": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4715. "produces": [
  4716. "application/json"
  4717. ],
  4718. "tags": [
  4719. "定制【海商报业】"
  4720. ],
  4721. "summary": "查询\"我的闲置\"单据信息",
  4722. "parameters": [
  4723. {
  4724. "type": "integer",
  4725. "description": "页码",
  4726. "name": "page",
  4727. "in": "query"
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "每页条数",
  4732. "name": "pagesize",
  4733. "in": "query"
  4734. },
  4735. {
  4736. "type": "string",
  4737. "description": "资金账户列表,格式:1,2,3",
  4738. "name": "accountIDs",
  4739. "in": "query",
  4740. "required": true
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4745. "name": "orderType",
  4746. "in": "query"
  4747. }
  4748. ],
  4749. "responses": {
  4750. "200": {
  4751. "description": "OK",
  4752. "schema": {
  4753. "$ref": "#/definitions/models.HsbySellMyDetail"
  4754. }
  4755. },
  4756. "500": {
  4757. "description": "Internal Server Error",
  4758. "schema": {
  4759. "$ref": "#/definitions/app.Response"
  4760. }
  4761. }
  4762. }
  4763. }
  4764. },
  4765. "/HSBY/QueryHsbyTopGoodses": {
  4766. "get": {
  4767. "security": [
  4768. {
  4769. "ApiKeyAuth": []
  4770. }
  4771. ],
  4772. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4773. "produces": [
  4774. "application/json"
  4775. ],
  4776. "tags": [
  4777. "定制【海商报业】"
  4778. ],
  4779. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4780. "parameters": [
  4781. {
  4782. "type": "integer",
  4783. "description": "页码",
  4784. "name": "page",
  4785. "in": "query"
  4786. },
  4787. {
  4788. "type": "integer",
  4789. "description": "每页条数",
  4790. "name": "pagesize",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "string",
  4795. "description": "市场ID列表,格式:1,2,3",
  4796. "name": "marketIDs",
  4797. "in": "query",
  4798. "required": true
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "目的地(省)ID",
  4803. "name": "descProvinceID",
  4804. "in": "query"
  4805. },
  4806. {
  4807. "type": "integer",
  4808. "description": "目的地(市)ID",
  4809. "name": "descCityID",
  4810. "in": "query"
  4811. }
  4812. ],
  4813. "responses": {
  4814. "200": {
  4815. "description": "OK",
  4816. "schema": {
  4817. "$ref": "#/definitions/models.HsbyTopGoods"
  4818. }
  4819. },
  4820. "500": {
  4821. "description": "Internal Server Error",
  4822. "schema": {
  4823. "$ref": "#/definitions/app.Response"
  4824. }
  4825. }
  4826. }
  4827. }
  4828. },
  4829. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4830. "get": {
  4831. "security": [
  4832. {
  4833. "ApiKeyAuth": []
  4834. }
  4835. ],
  4836. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4837. "produces": [
  4838. "application/json"
  4839. ],
  4840. "tags": [
  4841. "定制【海商报业】"
  4842. ],
  4843. "summary": "查询游客三级市场(商城)商品信息详情",
  4844. "parameters": [
  4845. {
  4846. "type": "integer",
  4847. "description": "商品ID",
  4848. "name": "goodsID",
  4849. "in": "query",
  4850. "required": true
  4851. }
  4852. ],
  4853. "responses": {
  4854. "200": {
  4855. "description": "OK",
  4856. "schema": {
  4857. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4858. }
  4859. },
  4860. "500": {
  4861. "description": "Internal Server Error",
  4862. "schema": {
  4863. "$ref": "#/definitions/app.Response"
  4864. }
  4865. }
  4866. }
  4867. }
  4868. },
  4869. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4870. "get": {
  4871. "security": [
  4872. {
  4873. "ApiKeyAuth": []
  4874. }
  4875. ],
  4876. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4877. "produces": [
  4878. "application/json"
  4879. ],
  4880. "tags": [
  4881. "定制【海商报业】"
  4882. ],
  4883. "summary": "查询游客特卖商品列表(三级商城)",
  4884. "parameters": [
  4885. {
  4886. "type": "integer",
  4887. "description": "页码",
  4888. "name": "page",
  4889. "in": "query"
  4890. },
  4891. {
  4892. "type": "integer",
  4893. "description": "每页条数",
  4894. "name": "pagesize",
  4895. "in": "query"
  4896. },
  4897. {
  4898. "type": "string",
  4899. "description": "市场ID列表,格式:1,2,3",
  4900. "name": "marketIDs",
  4901. "in": "query",
  4902. "required": true
  4903. },
  4904. {
  4905. "type": "integer",
  4906. "description": "类别ID",
  4907. "name": "categoryID",
  4908. "in": "query"
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4913. "name": "goodsIDs",
  4914. "in": "query"
  4915. }
  4916. ],
  4917. "responses": {
  4918. "200": {
  4919. "description": "OK",
  4920. "schema": {
  4921. "$ref": "#/definitions/models.HsbyMarketGoods"
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/HSBY/QueryMyCollectionOrders": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "produces": [
  4941. "application/json"
  4942. ],
  4943. "tags": [
  4944. "定制【海商报业】"
  4945. ],
  4946. "summary": "我的闲置中收款信息查询",
  4947. "parameters": [
  4948. {
  4949. "type": "integer",
  4950. "description": "页码",
  4951. "name": "page",
  4952. "in": "query"
  4953. },
  4954. {
  4955. "type": "integer",
  4956. "description": "每页条数",
  4957. "name": "pagesize",
  4958. "in": "query"
  4959. },
  4960. {
  4961. "type": "string",
  4962. "description": "资金账户,格式:1,2,3",
  4963. "name": "accountIDs",
  4964. "in": "query",
  4965. "required": true
  4966. }
  4967. ],
  4968. "responses": {
  4969. "200": {
  4970. "description": "OK",
  4971. "schema": {
  4972. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4973. }
  4974. },
  4975. "500": {
  4976. "description": "Internal Server Error",
  4977. "schema": {
  4978. "$ref": "#/definitions/app.Response"
  4979. }
  4980. }
  4981. }
  4982. }
  4983. },
  4984. "/HSBY/QueryMyCouponHolds": {
  4985. "get": {
  4986. "security": [
  4987. {
  4988. "ApiKeyAuth": []
  4989. }
  4990. ],
  4991. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4992. "produces": [
  4993. "application/json"
  4994. ],
  4995. "tags": [
  4996. "定制【海商报业】"
  4997. ],
  4998. "summary": "我的优惠卷持仓查询",
  4999. "parameters": [
  5000. {
  5001. "type": "string",
  5002. "description": "资金账户列表,格式:1,2,3",
  5003. "name": "accountIDs",
  5004. "in": "query",
  5005. "required": true
  5006. },
  5007. {
  5008. "type": "string",
  5009. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5010. "name": "holdStatus",
  5011. "in": "query"
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/models.MyCouponHold"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/HSBY/QueryMyCoupons": {
  5031. "get": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "produces": [
  5038. "application/json"
  5039. ],
  5040. "tags": [
  5041. "定制【海商报业】"
  5042. ],
  5043. "summary": "我的优惠卷查询",
  5044. "parameters": [
  5045. {
  5046. "type": "string",
  5047. "description": "资金账户列表,格式:1,2,3",
  5048. "name": "accountIDs",
  5049. "in": "query",
  5050. "required": true
  5051. },
  5052. {
  5053. "type": "integer",
  5054. "description": "商品ID, 一般与sellUserID配套传入",
  5055. "name": "goodsID",
  5056. "in": "query"
  5057. },
  5058. {
  5059. "type": "integer",
  5060. "description": "卖方UserID",
  5061. "name": "sellUserID",
  5062. "in": "query"
  5063. }
  5064. ],
  5065. "responses": {
  5066. "200": {
  5067. "description": "OK",
  5068. "schema": {
  5069. "$ref": "#/definitions/models.MyCoupon"
  5070. }
  5071. },
  5072. "500": {
  5073. "description": "Internal Server Error",
  5074. "schema": {
  5075. "$ref": "#/definitions/app.Response"
  5076. }
  5077. }
  5078. }
  5079. }
  5080. },
  5081. "/HSBY/QueryMyPayOrders": {
  5082. "get": {
  5083. "security": [
  5084. {
  5085. "ApiKeyAuth": []
  5086. }
  5087. ],
  5088. "produces": [
  5089. "application/json"
  5090. ],
  5091. "tags": [
  5092. "定制【海商报业】"
  5093. ],
  5094. "summary": "获取我的订单中待付款信息",
  5095. "parameters": [
  5096. {
  5097. "type": "integer",
  5098. "description": "页码",
  5099. "name": "page",
  5100. "in": "query"
  5101. },
  5102. {
  5103. "type": "integer",
  5104. "description": "每页条数",
  5105. "name": "pagesize",
  5106. "in": "query"
  5107. },
  5108. {
  5109. "type": "string",
  5110. "description": "资金账户列表,格式:1,2,3",
  5111. "name": "accountIDs",
  5112. "in": "query",
  5113. "required": true
  5114. },
  5115. {
  5116. "type": "integer",
  5117. "description": "买方委托单号",
  5118. "name": "buyOrderID",
  5119. "in": "query"
  5120. },
  5121. {
  5122. "type": "integer",
  5123. "description": "卖方委托单号",
  5124. "name": "sellOrderID",
  5125. "in": "query"
  5126. }
  5127. ],
  5128. "responses": {
  5129. "200": {
  5130. "description": "OK",
  5131. "schema": {
  5132. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5133. }
  5134. },
  5135. "500": {
  5136. "description": "Internal Server Error",
  5137. "schema": {
  5138. "$ref": "#/definitions/app.Response"
  5139. }
  5140. }
  5141. }
  5142. }
  5143. },
  5144. "/HSBY/QueryMyUsedCoupon": {
  5145. "get": {
  5146. "security": [
  5147. {
  5148. "ApiKeyAuth": []
  5149. }
  5150. ],
  5151. "produces": [
  5152. "application/json"
  5153. ],
  5154. "tags": [
  5155. "定制【海商报业】"
  5156. ],
  5157. "summary": "已使用优惠卷查询",
  5158. "parameters": [
  5159. {
  5160. "type": "string",
  5161. "description": "资金账户列表,格式:1,2,3",
  5162. "name": "accountIDs",
  5163. "in": "query",
  5164. "required": true
  5165. }
  5166. ],
  5167. "responses": {
  5168. "200": {
  5169. "description": "OK",
  5170. "schema": {
  5171. "$ref": "#/definitions/models.MyUsedCoupon"
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/HSBY/QueryProvincesAndCities": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "定制【海商报业】"
  5196. ],
  5197. "summary": "查询省市信息(不包括区)",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "省ID",
  5202. "name": "provinceID",
  5203. "in": "query"
  5204. }
  5205. ],
  5206. "responses": {
  5207. "200": {
  5208. "description": "OK",
  5209. "schema": {
  5210. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5211. }
  5212. },
  5213. "500": {
  5214. "description": "Internal Server Error",
  5215. "schema": {
  5216. "$ref": "#/definitions/app.Response"
  5217. }
  5218. }
  5219. }
  5220. }
  5221. },
  5222. "/HSBY/SetHsbyMyPackagesStatus": {
  5223. "post": {
  5224. "security": [
  5225. {
  5226. "ApiKeyAuth": []
  5227. }
  5228. ],
  5229. "produces": [
  5230. "application/json"
  5231. ],
  5232. "tags": [
  5233. "定制【海商报业】"
  5234. ],
  5235. "summary": "设置我的包裹已收货状态",
  5236. "parameters": [
  5237. {
  5238. "type": "string",
  5239. "description": "提货单号",
  5240. "name": "takeOrderID",
  5241. "in": "query",
  5242. "required": true
  5243. },
  5244. {
  5245. "type": "integer",
  5246. "description": "资金账号",
  5247. "name": "accountID",
  5248. "in": "query",
  5249. "required": true
  5250. }
  5251. ],
  5252. "responses": {
  5253. "200": {
  5254. "description": "OK",
  5255. "schema": {
  5256. "$ref": "#/definitions/app.Response"
  5257. }
  5258. },
  5259. "500": {
  5260. "description": "Internal Server Error",
  5261. "schema": {
  5262. "$ref": "#/definitions/app.Response"
  5263. }
  5264. }
  5265. }
  5266. }
  5267. },
  5268. "/Market/QueryGoodsesByLoginID": {
  5269. "get": {
  5270. "security": [
  5271. {
  5272. "ApiKeyAuth": []
  5273. }
  5274. ],
  5275. "produces": [
  5276. "application/json"
  5277. ],
  5278. "tags": [
  5279. "通用市场"
  5280. ],
  5281. "summary": "获取登录账号有权限的商品信息",
  5282. "parameters": [
  5283. {
  5284. "type": "integer",
  5285. "description": "登录账号",
  5286. "name": "loginID",
  5287. "in": "query",
  5288. "required": true
  5289. },
  5290. {
  5291. "type": "string",
  5292. "description": "市场ID列表,格式:1,2,3",
  5293. "name": "marketIDs",
  5294. "in": "query"
  5295. }
  5296. ],
  5297. "responses": {
  5298. "200": {
  5299. "description": "OK",
  5300. "schema": {
  5301. "$ref": "#/definitions/models.Goods"
  5302. }
  5303. },
  5304. "500": {
  5305. "description": "Internal Server Error",
  5306. "schema": {
  5307. "$ref": "#/definitions/app.Response"
  5308. }
  5309. }
  5310. }
  5311. }
  5312. },
  5313. "/Market/QueryMarketRun": {
  5314. "get": {
  5315. "security": [
  5316. {
  5317. "ApiKeyAuth": []
  5318. }
  5319. ],
  5320. "produces": [
  5321. "application/json"
  5322. ],
  5323. "tags": [
  5324. "通用市场"
  5325. ],
  5326. "summary": "查询市场运行信息",
  5327. "parameters": [
  5328. {
  5329. "type": "integer",
  5330. "description": "市场ID,不传返回所有",
  5331. "name": "marketID",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "$ref": "#/definitions/models.Marketrun"
  5340. }
  5341. },
  5342. "500": {
  5343. "description": "Internal Server Error",
  5344. "schema": {
  5345. "$ref": "#/definitions/app.Response"
  5346. }
  5347. }
  5348. }
  5349. }
  5350. },
  5351. "/Market/QueryMarketsByLoginID": {
  5352. "get": {
  5353. "security": [
  5354. {
  5355. "ApiKeyAuth": []
  5356. }
  5357. ],
  5358. "produces": [
  5359. "application/json"
  5360. ],
  5361. "tags": [
  5362. "通用市场"
  5363. ],
  5364. "summary": "获取登录账号有权限的市场信息",
  5365. "parameters": [
  5366. {
  5367. "type": "integer",
  5368. "description": "登录账号",
  5369. "name": "loginID",
  5370. "in": "query",
  5371. "required": true
  5372. }
  5373. ],
  5374. "responses": {
  5375. "200": {
  5376. "description": "OK",
  5377. "schema": {
  5378. "$ref": "#/definitions/models.Market"
  5379. }
  5380. },
  5381. "500": {
  5382. "description": "Internal Server Error",
  5383. "schema": {
  5384. "$ref": "#/definitions/app.Response"
  5385. }
  5386. }
  5387. }
  5388. }
  5389. },
  5390. "/Order/QueryHisTradeDetail": {
  5391. "get": {
  5392. "security": [
  5393. {
  5394. "ApiKeyAuth": []
  5395. }
  5396. ],
  5397. "produces": [
  5398. "application/json"
  5399. ],
  5400. "tags": [
  5401. "通用单据"
  5402. ],
  5403. "summary": "历史成交单查询(合约市场)",
  5404. "parameters": [
  5405. {
  5406. "type": "string",
  5407. "description": "资金账户 - 格式:1,2,3",
  5408. "name": "accountID",
  5409. "in": "query",
  5410. "required": true
  5411. },
  5412. {
  5413. "type": "integer",
  5414. "description": "成交单号",
  5415. "name": "tradeID",
  5416. "in": "query"
  5417. },
  5418. {
  5419. "type": "integer",
  5420. "description": "委托单号",
  5421. "name": "orderID",
  5422. "in": "query"
  5423. },
  5424. {
  5425. "type": "string",
  5426. "description": "交易模式 - 格式:1,2,3",
  5427. "name": "tradeMode",
  5428. "in": "query"
  5429. },
  5430. {
  5431. "type": "integer",
  5432. "description": "委托单据类型",
  5433. "name": "buildType",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "string",
  5438. "description": "成交类别 - 格式:1,2,3",
  5439. "name": "tradeType",
  5440. "in": "query"
  5441. },
  5442. {
  5443. "type": "string",
  5444. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5445. "name": "startDate",
  5446. "in": "query"
  5447. },
  5448. {
  5449. "type": "string",
  5450. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5451. "name": "endDate",
  5452. "in": "query"
  5453. }
  5454. ],
  5455. "responses": {
  5456. "200": {
  5457. "description": "OK",
  5458. "schema": {
  5459. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5460. }
  5461. },
  5462. "500": {
  5463. "description": "Internal Server Error",
  5464. "schema": {
  5465. "$ref": "#/definitions/app.Response"
  5466. }
  5467. }
  5468. }
  5469. }
  5470. },
  5471. "/Order/QueryHisTradeOrderDetail": {
  5472. "get": {
  5473. "security": [
  5474. {
  5475. "ApiKeyAuth": []
  5476. }
  5477. ],
  5478. "produces": [
  5479. "application/json"
  5480. ],
  5481. "tags": [
  5482. "通用单据"
  5483. ],
  5484. "summary": "历史委托单查询请求(合约市场)",
  5485. "parameters": [
  5486. {
  5487. "type": "string",
  5488. "description": "资金账户 - 格式:1,2,3",
  5489. "name": "accountID",
  5490. "in": "query",
  5491. "required": true
  5492. },
  5493. {
  5494. "type": "string",
  5495. "description": "交易模式 - 格式:1,2,3",
  5496. "name": "tradeMode",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "委托状态 - 格式:1,2,3",
  5502. "name": "orderStatus",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "integer",
  5507. "description": "委托单号",
  5508. "name": "orderID",
  5509. "in": "query"
  5510. },
  5511. {
  5512. "type": "string",
  5513. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5514. "name": "startDate",
  5515. "in": "query"
  5516. },
  5517. {
  5518. "type": "string",
  5519. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5520. "name": "endDate",
  5521. "in": "query"
  5522. }
  5523. ],
  5524. "responses": {
  5525. "200": {
  5526. "description": "OK",
  5527. "schema": {
  5528. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5529. }
  5530. },
  5531. "500": {
  5532. "description": "Internal Server Error",
  5533. "schema": {
  5534. "$ref": "#/definitions/app.Response"
  5535. }
  5536. }
  5537. }
  5538. }
  5539. },
  5540. "/Order/QueryTradeDetail": {
  5541. "get": {
  5542. "security": [
  5543. {
  5544. "ApiKeyAuth": []
  5545. }
  5546. ],
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "通用单据"
  5552. ],
  5553. "summary": "成交单查询(合约市场)",
  5554. "parameters": [
  5555. {
  5556. "type": "string",
  5557. "description": "资金账户 - 格式:1,2,3",
  5558. "name": "accountID",
  5559. "in": "query",
  5560. "required": true
  5561. },
  5562. {
  5563. "type": "integer",
  5564. "description": "成交单号",
  5565. "name": "tradeID",
  5566. "in": "query"
  5567. },
  5568. {
  5569. "type": "integer",
  5570. "description": "委托单号",
  5571. "name": "orderID",
  5572. "in": "query"
  5573. },
  5574. {
  5575. "type": "string",
  5576. "description": "交易模式 - 格式:1,2,3",
  5577. "name": "tradeMode",
  5578. "in": "query"
  5579. },
  5580. {
  5581. "type": "integer",
  5582. "description": "委托单据类型",
  5583. "name": "buildType",
  5584. "in": "query"
  5585. },
  5586. {
  5587. "type": "string",
  5588. "description": "成交类别 - 格式:1,2,3",
  5589. "name": "tradeType",
  5590. "in": "query"
  5591. }
  5592. ],
  5593. "responses": {
  5594. "200": {
  5595. "description": "OK",
  5596. "schema": {
  5597. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5598. }
  5599. },
  5600. "500": {
  5601. "description": "Internal Server Error",
  5602. "schema": {
  5603. "$ref": "#/definitions/app.Response"
  5604. }
  5605. }
  5606. }
  5607. }
  5608. },
  5609. "/Order/QueryTradeOrderDetail": {
  5610. "get": {
  5611. "security": [
  5612. {
  5613. "ApiKeyAuth": []
  5614. }
  5615. ],
  5616. "produces": [
  5617. "application/json"
  5618. ],
  5619. "tags": [
  5620. "通用单据"
  5621. ],
  5622. "summary": "委托单查询请求(合约市场)",
  5623. "parameters": [
  5624. {
  5625. "type": "string",
  5626. "description": "资金账户 - 格式:1,2,3",
  5627. "name": "accountID",
  5628. "in": "query",
  5629. "required": true
  5630. },
  5631. {
  5632. "type": "string",
  5633. "description": "交易模式 - 格式:1,2,3",
  5634. "name": "tradeMode",
  5635. "in": "query"
  5636. },
  5637. {
  5638. "type": "string",
  5639. "description": "委托状态 - 格式:1,2,3",
  5640. "name": "orderStatus",
  5641. "in": "query"
  5642. },
  5643. {
  5644. "type": "integer",
  5645. "description": "委托单号",
  5646. "name": "orderID",
  5647. "in": "query"
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/Order/QueryTradePosition": {
  5667. "get": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "produces": [
  5674. "application/json"
  5675. ],
  5676. "tags": [
  5677. "通用单据"
  5678. ],
  5679. "summary": "持仓汇总查询(合约市场)",
  5680. "parameters": [
  5681. {
  5682. "type": "string",
  5683. "description": "资金账户 - 格式:1,2,3",
  5684. "name": "accountID",
  5685. "in": "query",
  5686. "required": true
  5687. },
  5688. {
  5689. "type": "string",
  5690. "description": "交易模式 - 格式:1,2,3",
  5691. "name": "tradeMode",
  5692. "in": "query"
  5693. }
  5694. ],
  5695. "responses": {
  5696. "200": {
  5697. "description": "OK",
  5698. "schema": {
  5699. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5700. }
  5701. },
  5702. "500": {
  5703. "description": "Internal Server Error",
  5704. "schema": {
  5705. "$ref": "#/definitions/app.Response"
  5706. }
  5707. }
  5708. }
  5709. }
  5710. },
  5711. "/Quote/QueryHistoryDatas": {
  5712. "get": {
  5713. "security": [
  5714. {
  5715. "ApiKeyAuth": []
  5716. }
  5717. ],
  5718. "produces": [
  5719. "application/json"
  5720. ],
  5721. "tags": [
  5722. "行情服务"
  5723. ],
  5724. "summary": "查询行情历史数据",
  5725. "parameters": [
  5726. {
  5727. "type": "integer",
  5728. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5729. "name": "cycleType",
  5730. "in": "query",
  5731. "required": true
  5732. },
  5733. {
  5734. "type": "string",
  5735. "description": "商品代码",
  5736. "name": "goodsCode",
  5737. "in": "query",
  5738. "required": true
  5739. },
  5740. {
  5741. "type": "string",
  5742. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5743. "name": "startTime",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "string",
  5748. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5749. "name": "endTime",
  5750. "in": "query"
  5751. },
  5752. {
  5753. "type": "integer",
  5754. "description": "条数",
  5755. "name": "count",
  5756. "in": "query"
  5757. },
  5758. {
  5759. "type": "boolean",
  5760. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5761. "name": "isAsc",
  5762. "in": "query"
  5763. }
  5764. ],
  5765. "responses": {
  5766. "200": {
  5767. "description": "OK",
  5768. "schema": {
  5769. "$ref": "#/definitions/quote.HistoryData"
  5770. }
  5771. },
  5772. "500": {
  5773. "description": "Internal Server Error",
  5774. "schema": {
  5775. "$ref": "#/definitions/app.Response"
  5776. }
  5777. }
  5778. }
  5779. }
  5780. },
  5781. "/Quote/QueryHistoryTikDatas": {
  5782. "get": {
  5783. "security": [
  5784. {
  5785. "ApiKeyAuth": []
  5786. }
  5787. ],
  5788. "produces": [
  5789. "application/json"
  5790. ],
  5791. "tags": [
  5792. "行情服务"
  5793. ],
  5794. "summary": "查询行情Tik数据",
  5795. "parameters": [
  5796. {
  5797. "type": "string",
  5798. "description": "商品代码",
  5799. "name": "goodsCode",
  5800. "in": "query",
  5801. "required": true
  5802. },
  5803. {
  5804. "type": "string",
  5805. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5806. "name": "startTime",
  5807. "in": "query"
  5808. },
  5809. {
  5810. "type": "string",
  5811. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5812. "name": "endTime",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "条数",
  5818. "name": "count",
  5819. "in": "query"
  5820. },
  5821. {
  5822. "type": "boolean",
  5823. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5824. "name": "isAsc",
  5825. "in": "query"
  5826. }
  5827. ],
  5828. "responses": {
  5829. "200": {
  5830. "description": "OK",
  5831. "schema": {
  5832. "$ref": "#/definitions/quote.HistoryTikData"
  5833. }
  5834. },
  5835. "500": {
  5836. "description": "Internal Server Error",
  5837. "schema": {
  5838. "$ref": "#/definitions/app.Response"
  5839. }
  5840. }
  5841. }
  5842. }
  5843. },
  5844. "/Quote/QueryQuoteDay": {
  5845. "get": {
  5846. "security": [
  5847. {
  5848. "ApiKeyAuth": []
  5849. }
  5850. ],
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "行情服务"
  5856. ],
  5857. "summary": "获取商品盘面信息",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5862. "name": "goodsCodes",
  5863. "in": "query",
  5864. "required": true
  5865. }
  5866. ],
  5867. "responses": {
  5868. "200": {
  5869. "description": "OK",
  5870. "schema": {
  5871. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5872. }
  5873. },
  5874. "500": {
  5875. "description": "Internal Server Error",
  5876. "schema": {
  5877. "$ref": "#/definitions/app.Response"
  5878. }
  5879. }
  5880. }
  5881. }
  5882. },
  5883. "/Quote/QueryTSData": {
  5884. "get": {
  5885. "security": [
  5886. {
  5887. "ApiKeyAuth": []
  5888. }
  5889. ],
  5890. "produces": [
  5891. "application/json"
  5892. ],
  5893. "tags": [
  5894. "行情服务"
  5895. ],
  5896. "summary": "分时图数据查询",
  5897. "parameters": [
  5898. {
  5899. "type": "string",
  5900. "description": "商品代码",
  5901. "name": "goodsCode",
  5902. "in": "query",
  5903. "required": true
  5904. }
  5905. ],
  5906. "responses": {
  5907. "200": {
  5908. "description": "OK",
  5909. "schema": {
  5910. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5911. }
  5912. },
  5913. "500": {
  5914. "description": "Internal Server Error",
  5915. "schema": {
  5916. "$ref": "#/definitions/app.Response"
  5917. }
  5918. }
  5919. }
  5920. }
  5921. },
  5922. "/SZDZ/QueryConvertConfig": {
  5923. "get": {
  5924. "security": [
  5925. {
  5926. "ApiKeyAuth": []
  5927. }
  5928. ],
  5929. "produces": [
  5930. "application/json"
  5931. ],
  5932. "tags": [
  5933. "定制【尚志大宗】"
  5934. ],
  5935. "summary": "查询交易系统转换设置",
  5936. "parameters": [
  5937. {
  5938. "type": "integer",
  5939. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5940. "name": "convertType",
  5941. "in": "query"
  5942. },
  5943. {
  5944. "type": "string",
  5945. "description": "外部商品代码[JD\\PD]",
  5946. "name": "outerGoodsCode",
  5947. "in": "query"
  5948. },
  5949. {
  5950. "type": "string",
  5951. "description": "内部商品ID列表[交易],格式:1,2,3",
  5952. "name": "innerGoodsIDs",
  5953. "in": "query"
  5954. }
  5955. ],
  5956. "responses": {
  5957. "200": {
  5958. "description": "OK",
  5959. "schema": {
  5960. "$ref": "#/definitions/models.Szdz3convertconfig"
  5961. }
  5962. },
  5963. "500": {
  5964. "description": "Internal Server Error",
  5965. "schema": {
  5966. "$ref": "#/definitions/app.Response"
  5967. }
  5968. }
  5969. }
  5970. }
  5971. },
  5972. "/SZDZ/QueryConvertLog": {
  5973. "get": {
  5974. "security": [
  5975. {
  5976. "ApiKeyAuth": []
  5977. }
  5978. ],
  5979. "produces": [
  5980. "application/json"
  5981. ],
  5982. "tags": [
  5983. "定制【尚志大宗】"
  5984. ],
  5985. "summary": "交易系统转换流水查询",
  5986. "parameters": [
  5987. {
  5988. "type": "string",
  5989. "description": "资金账户 - 格式:1,2,3",
  5990. "name": "accountID",
  5991. "in": "query",
  5992. "required": true
  5993. },
  5994. {
  5995. "type": "string",
  5996. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5997. "name": "startDate",
  5998. "in": "query"
  5999. },
  6000. {
  6001. "type": "string",
  6002. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6003. "name": "endDate",
  6004. "in": "query"
  6005. }
  6006. ],
  6007. "responses": {
  6008. "200": {
  6009. "description": "OK",
  6010. "schema": {
  6011. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6012. }
  6013. },
  6014. "500": {
  6015. "description": "Internal Server Error",
  6016. "schema": {
  6017. "$ref": "#/definitions/app.Response"
  6018. }
  6019. }
  6020. }
  6021. }
  6022. },
  6023. "/SZDZ/QueryGoodsPickup": {
  6024. "get": {
  6025. "security": [
  6026. {
  6027. "ApiKeyAuth": []
  6028. }
  6029. ],
  6030. "produces": [
  6031. "application/json"
  6032. ],
  6033. "tags": [
  6034. "定制【尚志大宗】"
  6035. ],
  6036. "summary": "商品提货单查询",
  6037. "parameters": [
  6038. {
  6039. "type": "string",
  6040. "description": "资金账户 - 格式:1,2,3",
  6041. "name": "accountID",
  6042. "in": "query",
  6043. "required": true
  6044. },
  6045. {
  6046. "type": "integer",
  6047. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6048. "name": "takeOrderStatus",
  6049. "in": "query"
  6050. }
  6051. ],
  6052. "responses": {
  6053. "200": {
  6054. "description": "OK",
  6055. "schema": {
  6056. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6057. }
  6058. },
  6059. "500": {
  6060. "description": "Internal Server Error",
  6061. "schema": {
  6062. "$ref": "#/definitions/app.Response"
  6063. }
  6064. }
  6065. }
  6066. }
  6067. },
  6068. "/SZDZ/QueryRecieptOrder": {
  6069. "get": {
  6070. "security": [
  6071. {
  6072. "ApiKeyAuth": []
  6073. }
  6074. ],
  6075. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6076. "produces": [
  6077. "application/json"
  6078. ],
  6079. "tags": [
  6080. "定制【尚志大宗】"
  6081. ],
  6082. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6083. "parameters": [
  6084. {
  6085. "type": "integer",
  6086. "description": "页码",
  6087. "name": "page",
  6088. "in": "query"
  6089. },
  6090. {
  6091. "type": "integer",
  6092. "description": "每页条数",
  6093. "name": "pagesize",
  6094. "in": "query"
  6095. },
  6096. {
  6097. "type": "integer",
  6098. "description": "商品ID",
  6099. "name": "goodsID",
  6100. "in": "query",
  6101. "required": true
  6102. },
  6103. {
  6104. "type": "string",
  6105. "description": "所属账户名称",
  6106. "name": "accountName",
  6107. "in": "query"
  6108. },
  6109. {
  6110. "type": "integer",
  6111. "description": "市场ID",
  6112. "name": "marketID",
  6113. "in": "query"
  6114. },
  6115. {
  6116. "type": "integer",
  6117. "description": "方向 - 0:买 1:卖",
  6118. "name": "buyorsell",
  6119. "in": "query",
  6120. "required": true
  6121. }
  6122. ],
  6123. "responses": {
  6124. "200": {
  6125. "description": "OK",
  6126. "schema": {
  6127. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6128. }
  6129. },
  6130. "500": {
  6131. "description": "Internal Server Error",
  6132. "schema": {
  6133. "$ref": "#/definitions/app.Response"
  6134. }
  6135. }
  6136. }
  6137. }
  6138. },
  6139. "/SZDZ/QuerySZDZTradePosition": {
  6140. "get": {
  6141. "security": [
  6142. {
  6143. "ApiKeyAuth": []
  6144. }
  6145. ],
  6146. "produces": [
  6147. "application/json"
  6148. ],
  6149. "tags": [
  6150. "定制【尚志大宗】"
  6151. ],
  6152. "summary": "持仓汇总查询(尚志大宗)",
  6153. "parameters": [
  6154. {
  6155. "type": "integer",
  6156. "description": "资金账户",
  6157. "name": "accountID",
  6158. "in": "query",
  6159. "required": true
  6160. }
  6161. ],
  6162. "responses": {
  6163. "200": {
  6164. "description": "OK",
  6165. "schema": {
  6166. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6167. }
  6168. },
  6169. "500": {
  6170. "description": "Internal Server Error",
  6171. "schema": {
  6172. "$ref": "#/definitions/app.Response"
  6173. }
  6174. }
  6175. }
  6176. }
  6177. },
  6178. "/SZDZ/SearchWhite": {
  6179. "get": {
  6180. "security": [
  6181. {
  6182. "ApiKeyAuth": []
  6183. }
  6184. ],
  6185. "produces": [
  6186. "application/json"
  6187. ],
  6188. "tags": [
  6189. "定制【尚志大宗】"
  6190. ],
  6191. "summary": "搜索白名单",
  6192. "parameters": [
  6193. {
  6194. "type": "integer",
  6195. "description": "用户ID",
  6196. "name": "userID",
  6197. "in": "query",
  6198. "required": true
  6199. }
  6200. ],
  6201. "responses": {
  6202. "200": {
  6203. "description": "OK",
  6204. "schema": {
  6205. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6206. }
  6207. },
  6208. "500": {
  6209. "description": "Internal Server Error",
  6210. "schema": {
  6211. "$ref": "#/definitions/app.Response"
  6212. }
  6213. }
  6214. }
  6215. }
  6216. },
  6217. "/Search/SearchGoodses": {
  6218. "get": {
  6219. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6220. "produces": [
  6221. "application/json"
  6222. ],
  6223. "tags": [
  6224. "检索服务"
  6225. ],
  6226. "summary": "检索商品信息",
  6227. "parameters": [
  6228. {
  6229. "type": "string",
  6230. "description": "检索内容",
  6231. "name": "content",
  6232. "in": "query",
  6233. "required": true
  6234. },
  6235. {
  6236. "type": "string",
  6237. "description": "交易模式,格式:1,2,3",
  6238. "name": "tradeModes",
  6239. "in": "query"
  6240. }
  6241. ],
  6242. "responses": {
  6243. "200": {
  6244. "description": "OK",
  6245. "schema": {
  6246. "$ref": "#/definitions/models.SearchGoods"
  6247. }
  6248. },
  6249. "500": {
  6250. "description": "Internal Server Error",
  6251. "schema": {
  6252. "$ref": "#/definitions/app.Response"
  6253. }
  6254. }
  6255. }
  6256. }
  6257. },
  6258. "/TaAccount/GetTaAccounts": {
  6259. "get": {
  6260. "security": [
  6261. {
  6262. "ApiKeyAuth": []
  6263. }
  6264. ],
  6265. "produces": [
  6266. "application/json"
  6267. ],
  6268. "tags": [
  6269. "资金账户"
  6270. ],
  6271. "summary": "获取资金账户信息",
  6272. "parameters": [
  6273. {
  6274. "type": "integer",
  6275. "description": "登录账户",
  6276. "name": "loginID",
  6277. "in": "query",
  6278. "required": true
  6279. },
  6280. {
  6281. "type": "integer",
  6282. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6283. "name": "taAccountType",
  6284. "in": "query"
  6285. }
  6286. ],
  6287. "responses": {
  6288. "200": {
  6289. "description": "OK",
  6290. "schema": {
  6291. "$ref": "#/definitions/models.Taaccount"
  6292. }
  6293. },
  6294. "500": {
  6295. "description": "Internal Server Error",
  6296. "schema": {
  6297. "$ref": "#/definitions/app.Response"
  6298. }
  6299. }
  6300. }
  6301. }
  6302. },
  6303. "/TaAccount/QueryAmountLog": {
  6304. "get": {
  6305. "security": [
  6306. {
  6307. "ApiKeyAuth": []
  6308. }
  6309. ],
  6310. "produces": [
  6311. "application/json"
  6312. ],
  6313. "tags": [
  6314. "资金账户"
  6315. ],
  6316. "summary": "资金流水查询(当前)",
  6317. "parameters": [
  6318. {
  6319. "type": "integer",
  6320. "description": "页码",
  6321. "name": "page",
  6322. "in": "query"
  6323. },
  6324. {
  6325. "type": "integer",
  6326. "description": "每页条数",
  6327. "name": "pagesize",
  6328. "in": "query"
  6329. },
  6330. {
  6331. "type": "string",
  6332. "description": "资金账户 - 格式:1,2,3",
  6333. "name": "accountID",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "string",
  6339. "description": "资金操作类型 - 格式:1,2,3",
  6340. "name": "OperateType",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6349. }
  6350. },
  6351. "500": {
  6352. "description": "Internal Server Error",
  6353. "schema": {
  6354. "$ref": "#/definitions/app.Response"
  6355. }
  6356. }
  6357. }
  6358. }
  6359. },
  6360. "/TaAccount/QueryHisAmountLog": {
  6361. "get": {
  6362. "security": [
  6363. {
  6364. "ApiKeyAuth": []
  6365. }
  6366. ],
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "资金账户"
  6372. ],
  6373. "summary": "资金流水查询(历史)",
  6374. "parameters": [
  6375. {
  6376. "type": "integer",
  6377. "description": "页码",
  6378. "name": "page",
  6379. "in": "query"
  6380. },
  6381. {
  6382. "type": "integer",
  6383. "description": "每页条数",
  6384. "name": "pagesize",
  6385. "in": "query"
  6386. },
  6387. {
  6388. "type": "string",
  6389. "description": "资金账户 - 格式:1,2,3",
  6390. "name": "accountID",
  6391. "in": "query",
  6392. "required": true
  6393. },
  6394. {
  6395. "type": "string",
  6396. "description": "资金操作类型 - 格式:1,2,3",
  6397. "name": "OperateType",
  6398. "in": "query"
  6399. },
  6400. {
  6401. "type": "string",
  6402. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6403. "name": "startDate",
  6404. "in": "query"
  6405. },
  6406. {
  6407. "type": "string",
  6408. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6409. "name": "endDate",
  6410. "in": "query"
  6411. }
  6412. ],
  6413. "responses": {
  6414. "200": {
  6415. "description": "OK",
  6416. "schema": {
  6417. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6418. }
  6419. },
  6420. "500": {
  6421. "description": "Internal Server Error",
  6422. "schema": {
  6423. "$ref": "#/definitions/app.Response"
  6424. }
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "/Trade/QueryRecieptOrder": {
  6430. "get": {
  6431. "security": [
  6432. {
  6433. "ApiKeyAuth": []
  6434. }
  6435. ],
  6436. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6437. "produces": [
  6438. "application/json"
  6439. ],
  6440. "tags": [
  6441. "通用交易"
  6442. ],
  6443. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6444. "parameters": [
  6445. {
  6446. "type": "integer",
  6447. "description": "页码",
  6448. "name": "page",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "每页条数",
  6454. "name": "pagesize",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "integer",
  6459. "description": "商品ID",
  6460. "name": "goodsID",
  6461. "in": "query",
  6462. "required": true
  6463. },
  6464. {
  6465. "type": "string",
  6466. "description": "所属账户名称",
  6467. "name": "accountName",
  6468. "in": "query"
  6469. },
  6470. {
  6471. "type": "integer",
  6472. "description": "市场ID",
  6473. "name": "marketID",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "integer",
  6478. "description": "方向 - 0:买 1:卖",
  6479. "name": "buyorsell",
  6480. "in": "query",
  6481. "required": true
  6482. }
  6483. ],
  6484. "responses": {
  6485. "200": {
  6486. "description": "OK",
  6487. "schema": {
  6488. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6489. }
  6490. },
  6491. "500": {
  6492. "description": "Internal Server Error",
  6493. "schema": {
  6494. "$ref": "#/definitions/app.Response"
  6495. }
  6496. }
  6497. }
  6498. }
  6499. },
  6500. "/User/AddMessageBoard": {
  6501. "post": {
  6502. "security": [
  6503. {
  6504. "ApiKeyAuth": []
  6505. }
  6506. ],
  6507. "produces": [
  6508. "application/json"
  6509. ],
  6510. "tags": [
  6511. "用户信息"
  6512. ],
  6513. "summary": "添加用户留言板信息",
  6514. "parameters": [
  6515. {
  6516. "type": "integer",
  6517. "description": "用户ID",
  6518. "name": "userID",
  6519. "in": "query",
  6520. "required": true
  6521. },
  6522. {
  6523. "type": "string",
  6524. "description": "留言信息",
  6525. "name": "message",
  6526. "in": "query",
  6527. "required": true
  6528. },
  6529. {
  6530. "type": "string",
  6531. "description": "联系电话",
  6532. "name": "contactNum",
  6533. "in": "query",
  6534. "required": true
  6535. }
  6536. ],
  6537. "responses": {
  6538. "200": {
  6539. "description": "OK",
  6540. "schema": {
  6541. "$ref": "#/definitions/app.Response"
  6542. }
  6543. },
  6544. "500": {
  6545. "description": "Internal Server Error",
  6546. "schema": {
  6547. "$ref": "#/definitions/app.Response"
  6548. }
  6549. }
  6550. }
  6551. }
  6552. },
  6553. "/User/AddUserFavoriteGoods": {
  6554. "post": {
  6555. "security": [
  6556. {
  6557. "ApiKeyAuth": []
  6558. }
  6559. ],
  6560. "produces": [
  6561. "application/json"
  6562. ],
  6563. "tags": [
  6564. "用户信息"
  6565. ],
  6566. "summary": "添加用户商品收藏信息",
  6567. "parameters": [
  6568. {
  6569. "type": "integer",
  6570. "description": "用户ID",
  6571. "name": "userID",
  6572. "in": "query",
  6573. "required": true
  6574. },
  6575. {
  6576. "type": "integer",
  6577. "description": "商品ID",
  6578. "name": "goodsID",
  6579. "in": "query",
  6580. "required": true
  6581. }
  6582. ],
  6583. "responses": {
  6584. "200": {
  6585. "description": "OK",
  6586. "schema": {
  6587. "$ref": "#/definitions/app.Response"
  6588. }
  6589. },
  6590. "500": {
  6591. "description": "Internal Server Error",
  6592. "schema": {
  6593. "$ref": "#/definitions/app.Response"
  6594. }
  6595. }
  6596. }
  6597. }
  6598. },
  6599. "/User/GetLoginID": {
  6600. "get": {
  6601. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6602. "produces": [
  6603. "application/json"
  6604. ],
  6605. "tags": [
  6606. "用户信息"
  6607. ],
  6608. "summary": "获取登录ID",
  6609. "parameters": [
  6610. {
  6611. "type": "string",
  6612. "description": "登录代码",
  6613. "name": "username",
  6614. "in": "query",
  6615. "required": true
  6616. }
  6617. ],
  6618. "responses": {
  6619. "200": {
  6620. "description": "OK",
  6621. "schema": {
  6622. "$ref": "#/definitions/app.Response"
  6623. }
  6624. },
  6625. "500": {
  6626. "description": "Internal Server Error",
  6627. "schema": {
  6628. "$ref": "#/definitions/app.Response"
  6629. }
  6630. }
  6631. }
  6632. }
  6633. },
  6634. "/User/GetUserAccount": {
  6635. "get": {
  6636. "security": [
  6637. {
  6638. "ApiKeyAuth": []
  6639. }
  6640. ],
  6641. "produces": [
  6642. "application/json"
  6643. ],
  6644. "tags": [
  6645. "用户信息"
  6646. ],
  6647. "summary": "获取用户账号信息",
  6648. "parameters": [
  6649. {
  6650. "type": "integer",
  6651. "description": "用户ID",
  6652. "name": "userID",
  6653. "in": "query",
  6654. "required": true
  6655. }
  6656. ],
  6657. "responses": {
  6658. "200": {
  6659. "description": "OK",
  6660. "schema": {
  6661. "$ref": "#/definitions/models.Useraccount"
  6662. }
  6663. },
  6664. "500": {
  6665. "description": "Internal Server Error",
  6666. "schema": {
  6667. "$ref": "#/definitions/app.Response"
  6668. }
  6669. }
  6670. }
  6671. }
  6672. },
  6673. "/User/GetUserAuthStatus": {
  6674. "get": {
  6675. "security": [
  6676. {
  6677. "ApiKeyAuth": []
  6678. }
  6679. ],
  6680. "produces": [
  6681. "application/json"
  6682. ],
  6683. "tags": [
  6684. "用户信息"
  6685. ],
  6686. "summary": "获取用户实名认证状态",
  6687. "parameters": [
  6688. {
  6689. "type": "integer",
  6690. "description": "用户ID",
  6691. "name": "userID",
  6692. "in": "query",
  6693. "required": true
  6694. }
  6695. ],
  6696. "responses": {
  6697. "200": {
  6698. "description": "OK",
  6699. "schema": {
  6700. "$ref": "#/definitions/app.Response"
  6701. }
  6702. },
  6703. "500": {
  6704. "description": "Internal Server Error",
  6705. "schema": {
  6706. "$ref": "#/definitions/app.Response"
  6707. }
  6708. }
  6709. }
  6710. }
  6711. },
  6712. "/User/LoginQuery": {
  6713. "get": {
  6714. "security": [
  6715. {
  6716. "ApiKeyAuth": []
  6717. }
  6718. ],
  6719. "produces": [
  6720. "application/json"
  6721. ],
  6722. "tags": [
  6723. "用户信息"
  6724. ],
  6725. "summary": "账户登录后信息查询",
  6726. "parameters": [
  6727. {
  6728. "type": "integer",
  6729. "description": "登录账号",
  6730. "name": "loginID",
  6731. "in": "query",
  6732. "required": true
  6733. }
  6734. ],
  6735. "responses": {
  6736. "200": {
  6737. "description": "OK",
  6738. "schema": {
  6739. "$ref": "#/definitions/user.LoginQueryRsp"
  6740. }
  6741. },
  6742. "500": {
  6743. "description": "Internal Server Error",
  6744. "schema": {
  6745. "$ref": "#/definitions/app.Response"
  6746. }
  6747. }
  6748. }
  6749. }
  6750. },
  6751. "/User/QueryMessageBoard": {
  6752. "get": {
  6753. "security": [
  6754. {
  6755. "ApiKeyAuth": []
  6756. }
  6757. ],
  6758. "produces": [
  6759. "application/json"
  6760. ],
  6761. "tags": [
  6762. "用户信息"
  6763. ],
  6764. "summary": "获取用户留言板信息",
  6765. "parameters": [
  6766. {
  6767. "type": "integer",
  6768. "description": "用户ID",
  6769. "name": "userID",
  6770. "in": "query",
  6771. "required": true
  6772. }
  6773. ],
  6774. "responses": {
  6775. "200": {
  6776. "description": "OK",
  6777. "schema": {
  6778. "$ref": "#/definitions/models.Messageboard"
  6779. }
  6780. },
  6781. "500": {
  6782. "description": "Internal Server Error",
  6783. "schema": {
  6784. "$ref": "#/definitions/app.Response"
  6785. }
  6786. }
  6787. }
  6788. }
  6789. },
  6790. "/User/QueryUserFavoriteGoodses": {
  6791. "get": {
  6792. "security": [
  6793. {
  6794. "ApiKeyAuth": []
  6795. }
  6796. ],
  6797. "produces": [
  6798. "application/json"
  6799. ],
  6800. "tags": [
  6801. "用户信息"
  6802. ],
  6803. "summary": "获取用户商品收藏信息",
  6804. "parameters": [
  6805. {
  6806. "type": "integer",
  6807. "description": "用户ID",
  6808. "name": "userID",
  6809. "in": "query",
  6810. "required": true
  6811. }
  6812. ],
  6813. "responses": {
  6814. "200": {
  6815. "description": "OK",
  6816. "schema": {
  6817. "$ref": "#/definitions/models.Userfavoritegoods"
  6818. }
  6819. },
  6820. "500": {
  6821. "description": "Internal Server Error",
  6822. "schema": {
  6823. "$ref": "#/definitions/app.Response"
  6824. }
  6825. }
  6826. }
  6827. }
  6828. },
  6829. "/User/QueryUserInfo": {
  6830. "get": {
  6831. "security": [
  6832. {
  6833. "ApiKeyAuth": []
  6834. }
  6835. ],
  6836. "produces": [
  6837. "application/json"
  6838. ],
  6839. "tags": [
  6840. "用户信息"
  6841. ],
  6842. "summary": "获取用户信息",
  6843. "parameters": [
  6844. {
  6845. "type": "integer",
  6846. "description": "用户ID",
  6847. "name": "userID",
  6848. "in": "query",
  6849. "required": true
  6850. },
  6851. {
  6852. "type": "boolean",
  6853. "description": "是否解密",
  6854. "name": "isDecrypt",
  6855. "in": "query"
  6856. }
  6857. ],
  6858. "responses": {
  6859. "200": {
  6860. "description": "OK",
  6861. "schema": {
  6862. "$ref": "#/definitions/models.Userinfo"
  6863. }
  6864. },
  6865. "500": {
  6866. "description": "Internal Server Error",
  6867. "schema": {
  6868. "$ref": "#/definitions/app.Response"
  6869. }
  6870. }
  6871. }
  6872. }
  6873. },
  6874. "/User/QueryUserReferNum": {
  6875. "get": {
  6876. "produces": [
  6877. "application/json"
  6878. ],
  6879. "tags": [
  6880. "用户信息"
  6881. ],
  6882. "summary": "获取用户邀请码",
  6883. "parameters": [
  6884. {
  6885. "type": "integer",
  6886. "description": "用户ID",
  6887. "name": "userID",
  6888. "in": "query",
  6889. "required": true
  6890. }
  6891. ],
  6892. "responses": {
  6893. "200": {
  6894. "description": "OK",
  6895. "schema": {
  6896. "$ref": "#/definitions/app.Response"
  6897. }
  6898. },
  6899. "500": {
  6900. "description": "Internal Server Error",
  6901. "schema": {
  6902. "$ref": "#/definitions/app.Response"
  6903. }
  6904. }
  6905. }
  6906. }
  6907. },
  6908. "/User/RemoveUserFavoriteGoods": {
  6909. "post": {
  6910. "security": [
  6911. {
  6912. "ApiKeyAuth": []
  6913. }
  6914. ],
  6915. "produces": [
  6916. "application/json"
  6917. ],
  6918. "tags": [
  6919. "用户信息"
  6920. ],
  6921. "summary": "移除用户商品收藏信息",
  6922. "parameters": [
  6923. {
  6924. "type": "integer",
  6925. "description": "用户ID",
  6926. "name": "userID",
  6927. "in": "query",
  6928. "required": true
  6929. },
  6930. {
  6931. "type": "integer",
  6932. "description": "商品ID",
  6933. "name": "goodsID",
  6934. "in": "query",
  6935. "required": true
  6936. }
  6937. ],
  6938. "responses": {
  6939. "200": {
  6940. "description": "OK",
  6941. "schema": {
  6942. "$ref": "#/definitions/app.Response"
  6943. }
  6944. },
  6945. "500": {
  6946. "description": "Internal Server Error",
  6947. "schema": {
  6948. "$ref": "#/definitions/app.Response"
  6949. }
  6950. }
  6951. }
  6952. }
  6953. },
  6954. "/User/UpdateUserAccountStatus": {
  6955. "post": {
  6956. "security": [
  6957. {
  6958. "ApiKeyAuth": []
  6959. }
  6960. ],
  6961. "produces": [
  6962. "application/json"
  6963. ],
  6964. "tags": [
  6965. "用户信息"
  6966. ],
  6967. "summary": "更新用户状态",
  6968. "parameters": [
  6969. {
  6970. "type": "integer",
  6971. "description": "用户ID",
  6972. "name": "userID",
  6973. "in": "query",
  6974. "required": true
  6975. },
  6976. {
  6977. "type": "integer",
  6978. "description": "账户状态 - 4:正常 6:注销(停用)",
  6979. "name": "accountStatus",
  6980. "in": "query",
  6981. "required": true
  6982. }
  6983. ],
  6984. "responses": {
  6985. "200": {
  6986. "description": "OK",
  6987. "schema": {
  6988. "$ref": "#/definitions/app.Response"
  6989. }
  6990. },
  6991. "500": {
  6992. "description": "Internal Server Error",
  6993. "schema": {
  6994. "$ref": "#/definitions/app.Response"
  6995. }
  6996. }
  6997. }
  6998. }
  6999. },
  7000. "/WR/GetWRCategoryInfo": {
  7001. "get": {
  7002. "produces": [
  7003. "application/json"
  7004. ],
  7005. "tags": [
  7006. "仓单服务"
  7007. ],
  7008. "summary": "获取现货分类信息",
  7009. "responses": {
  7010. "200": {
  7011. "description": "OK",
  7012. "schema": {
  7013. "$ref": "#/definitions/models.WRCategoryTree"
  7014. }
  7015. },
  7016. "500": {
  7017. "description": "Internal Server Error",
  7018. "schema": {
  7019. "$ref": "#/definitions/app.Response"
  7020. }
  7021. }
  7022. }
  7023. }
  7024. },
  7025. "/WRTrade/GetAllDeliveryGoods": {
  7026. "get": {
  7027. "security": [
  7028. {
  7029. "ApiKeyAuth": []
  7030. },
  7031. {
  7032. "ApiKeyAuth": []
  7033. }
  7034. ],
  7035. "produces": [
  7036. "application/json",
  7037. "application/json"
  7038. ],
  7039. "tags": [
  7040. "仓单贸易",
  7041. "仓单贸易"
  7042. ],
  7043. "summary": "获取带仓单分类的种类信息",
  7044. "responses": {
  7045. "200": {
  7046. "description": "OK",
  7047. "schema": {
  7048. "$ref": "#/definitions/app.Response"
  7049. }
  7050. },
  7051. "500": {
  7052. "description": "Internal Server Error",
  7053. "schema": {
  7054. "$ref": "#/definitions/app.Response"
  7055. }
  7056. }
  7057. }
  7058. }
  7059. }
  7060. },
  7061. "definitions": {
  7062. "app.Response": {
  7063. "type": "object",
  7064. "properties": {
  7065. "code": {
  7066. "type": "integer"
  7067. },
  7068. "data": {
  7069. "type": "object"
  7070. },
  7071. "msg": {
  7072. "type": "string"
  7073. },
  7074. "page": {
  7075. "description": "页码",
  7076. "type": "integer"
  7077. },
  7078. "pagesize": {
  7079. "description": "每页条数",
  7080. "type": "integer"
  7081. },
  7082. "total": {
  7083. "description": "总条数",
  7084. "type": "integer"
  7085. }
  7086. }
  7087. },
  7088. "common.QueryImageConfigsRsp": {
  7089. "type": "object",
  7090. "required": [
  7091. "configid"
  7092. ],
  7093. "properties": {
  7094. "areauserid": {
  7095. "description": "所属机构ID",
  7096. "type": "integer"
  7097. },
  7098. "configid": {
  7099. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7100. "type": "integer"
  7101. },
  7102. "createdate": {
  7103. "description": "创建时间",
  7104. "type": "string"
  7105. },
  7106. "creatorid": {
  7107. "description": "创建人",
  7108. "type": "integer"
  7109. },
  7110. "imagepath": {
  7111. "description": "图片",
  7112. "type": "string"
  7113. },
  7114. "imagetype": {
  7115. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7116. "type": "integer"
  7117. },
  7118. "isshow": {
  7119. "description": "是否展示 - 0:不展示 1:展示",
  7120. "type": "integer"
  7121. },
  7122. "marketid": {
  7123. "description": "市场ID",
  7124. "type": "integer"
  7125. },
  7126. "modifierid": {
  7127. "description": "操作人",
  7128. "type": "integer"
  7129. },
  7130. "sort": {
  7131. "description": "排序",
  7132. "type": "integer"
  7133. },
  7134. "title": {
  7135. "description": "标题",
  7136. "type": "string"
  7137. },
  7138. "trademode": {
  7139. "description": "交易模式",
  7140. "type": "integer"
  7141. },
  7142. "updatedate": {
  7143. "description": "修改时间",
  7144. "type": "string"
  7145. },
  7146. "url": {
  7147. "description": "链接(地址或商品ID)",
  7148. "type": "string"
  7149. },
  7150. "urltype": {
  7151. "description": "链接类型 - 1:直接地址 2:商品ID",
  7152. "type": "integer"
  7153. }
  7154. }
  7155. },
  7156. "common.QueryNoticeRsp": {
  7157. "type": "object",
  7158. "required": [
  7159. "autoid"
  7160. ],
  7161. "properties": {
  7162. "auditoruserid": {
  7163. "description": "审核人",
  7164. "type": "integer"
  7165. },
  7166. "auditremark": {
  7167. "description": "审核备注",
  7168. "type": "string"
  7169. },
  7170. "audittime": {
  7171. "description": "审核日期",
  7172. "type": "string"
  7173. },
  7174. "autoid": {
  7175. "description": "自增ID",
  7176. "type": "integer"
  7177. },
  7178. "content": {
  7179. "description": "内容",
  7180. "type": "string"
  7181. },
  7182. "createtime": {
  7183. "description": "创建时间",
  7184. "type": "string"
  7185. },
  7186. "creatorid": {
  7187. "description": "建仓人",
  7188. "type": "integer"
  7189. },
  7190. "endtime": {
  7191. "description": "结束时间",
  7192. "type": "string"
  7193. },
  7194. "istop": {
  7195. "description": "是否置顶 - 0:不置顶 1:置顶",
  7196. "type": "integer"
  7197. },
  7198. "msgiconurl": {
  7199. "description": "消息图标Url",
  7200. "type": "string"
  7201. },
  7202. "msgtype": {
  7203. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7204. "type": "integer"
  7205. },
  7206. "publisher": {
  7207. "description": "消息发布者",
  7208. "type": "string"
  7209. },
  7210. "readed": {
  7211. "description": "是否已读",
  7212. "type": "boolean"
  7213. },
  7214. "scheduletime": {
  7215. "description": "计划发送时间",
  7216. "type": "string"
  7217. },
  7218. "sendtype": {
  7219. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7220. "type": "integer"
  7221. },
  7222. "sentstatus": {
  7223. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7224. "type": "integer"
  7225. },
  7226. "title": {
  7227. "description": "标题",
  7228. "type": "string"
  7229. },
  7230. "userid": {
  7231. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7232. "type": "integer"
  7233. }
  7234. }
  7235. },
  7236. "common.QueryProvincesAndCitiesRsp": {
  7237. "type": "object",
  7238. "properties": {
  7239. "cities": {
  7240. "description": "市",
  7241. "type": "array",
  7242. "items": {
  7243. "$ref": "#/definitions/models.Division"
  7244. }
  7245. },
  7246. "province": {
  7247. "description": "省",
  7248. "$ref": "#/definitions/models.Division"
  7249. }
  7250. }
  7251. },
  7252. "common.QueryTableDefineRsp": {
  7253. "type": "object",
  7254. "required": [
  7255. "tablekey"
  7256. ],
  7257. "properties": {
  7258. "columns": {
  7259. "description": "列头信息数组",
  7260. "type": "array",
  7261. "items": {
  7262. "$ref": "#/definitions/models.Tablecolumnconfig"
  7263. }
  7264. },
  7265. "remark": {
  7266. "description": "Remark",
  7267. "type": "string"
  7268. },
  7269. "tabelmenu": {
  7270. "description": "列表菜单",
  7271. "type": "string"
  7272. },
  7273. "tablekey": {
  7274. "description": "列表Key",
  7275. "type": "string"
  7276. },
  7277. "tablename": {
  7278. "description": "列表名称",
  7279. "type": "string"
  7280. },
  7281. "tabletype": {
  7282. "description": "列表类型 - 1:管理端 2:终端",
  7283. "type": "integer"
  7284. }
  7285. }
  7286. },
  7287. "common.QueryTraderMenuRsp": {
  7288. "type": "object",
  7289. "properties": {
  7290. "OperationMenu": {
  7291. "description": "功能菜单",
  7292. "type": "array",
  7293. "items": {
  7294. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7295. }
  7296. },
  7297. "QuoteMenu": {
  7298. "description": "报价牌分类菜单",
  7299. "type": "array",
  7300. "items": {
  7301. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "cptrade.Cptradepositioncancel": {
  7307. "type": "object",
  7308. "required": [
  7309. "cancelid"
  7310. ],
  7311. "properties": {
  7312. "accountid": {
  7313. "description": "申请人账户ID",
  7314. "type": "integer"
  7315. },
  7316. "applystatus": {
  7317. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7318. "type": "integer"
  7319. },
  7320. "applytime": {
  7321. "description": "申请时间",
  7322. "type": "string"
  7323. },
  7324. "cancelid": {
  7325. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7326. "type": "integer"
  7327. },
  7328. "cancelqty": {
  7329. "description": "注销数量",
  7330. "type": "integer"
  7331. },
  7332. "createtime": {
  7333. "description": "创建时间",
  7334. "type": "string"
  7335. },
  7336. "creatorid": {
  7337. "description": "创建人ID",
  7338. "type": "integer"
  7339. },
  7340. "creatorname": {
  7341. "description": "创建人",
  7342. "type": "string"
  7343. },
  7344. "goodscode": {
  7345. "description": "订单商品代码",
  7346. "type": "string"
  7347. },
  7348. "goodsid": {
  7349. "description": "商品ID",
  7350. "type": "integer"
  7351. },
  7352. "goodsname": {
  7353. "description": "订单商品名称",
  7354. "type": "string"
  7355. },
  7356. "goodunit": {
  7357. "description": "报价单位",
  7358. "type": "string"
  7359. },
  7360. "handlestatus": {
  7361. "description": "处理状态",
  7362. "type": "integer"
  7363. },
  7364. "marketid": {
  7365. "description": "市场ID",
  7366. "type": "integer"
  7367. },
  7368. "marketname": {
  7369. "description": "市场名称",
  7370. "type": "string"
  7371. },
  7372. "tradedate": {
  7373. "description": "交易日(yyyyMMdd)",
  7374. "type": "string"
  7375. },
  7376. "userid": {
  7377. "description": "申请人ID",
  7378. "type": "integer"
  7379. }
  7380. }
  7381. },
  7382. "cptrade.Cptradepresaleapply": {
  7383. "type": "object",
  7384. "required": [
  7385. "applyid"
  7386. ],
  7387. "properties": {
  7388. "accountid": {
  7389. "description": "申请人账户ID",
  7390. "type": "integer"
  7391. },
  7392. "applyid": {
  7393. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7394. "type": "integer"
  7395. },
  7396. "applyremark": {
  7397. "description": "申请备注",
  7398. "type": "string"
  7399. },
  7400. "applystatus": {
  7401. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7402. "type": "integer"
  7403. },
  7404. "applytime": {
  7405. "description": "申请时间",
  7406. "type": "string"
  7407. },
  7408. "attachmenturl": {
  7409. "description": "附件地址",
  7410. "type": "string"
  7411. },
  7412. "endtime": {
  7413. "description": "预售结束时间",
  7414. "type": "string"
  7415. },
  7416. "goodscode": {
  7417. "description": "商品代码",
  7418. "type": "string"
  7419. },
  7420. "goodsid": {
  7421. "description": "商品ID",
  7422. "type": "integer"
  7423. },
  7424. "goodsname": {
  7425. "description": "商品名称",
  7426. "type": "string"
  7427. },
  7428. "goodunit": {
  7429. "description": "报价单位",
  7430. "type": "string"
  7431. },
  7432. "handlestatus": {
  7433. "description": "处理状态",
  7434. "type": "integer"
  7435. },
  7436. "marketid": {
  7437. "description": "预售市场ID",
  7438. "type": "integer"
  7439. },
  7440. "marketname": {
  7441. "description": "预售市场名称",
  7442. "type": "string"
  7443. },
  7444. "presaleqty": {
  7445. "description": "预售数量",
  7446. "type": "integer"
  7447. },
  7448. "relatedgoodscode": {
  7449. "description": "关联交易合约代码",
  7450. "type": "string"
  7451. },
  7452. "relatedgoodsid": {
  7453. "description": "关联交易合约ID",
  7454. "type": "integer"
  7455. },
  7456. "relatedgoodsname": {
  7457. "description": "关联交易合约名称",
  7458. "type": "string"
  7459. },
  7460. "starttime": {
  7461. "description": "预售开始时间",
  7462. "type": "string"
  7463. },
  7464. "tradedate": {
  7465. "description": "交易日(yyyyMMdd)",
  7466. "type": "string"
  7467. },
  7468. "trademode": {
  7469. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7470. "type": "integer"
  7471. },
  7472. "userid": {
  7473. "description": "申请人ID",
  7474. "type": "integer"
  7475. }
  7476. }
  7477. },
  7478. "cptrade.Cptradeusergoodsdata": {
  7479. "type": "object",
  7480. "required": [
  7481. "accountid",
  7482. "goodsid"
  7483. ],
  7484. "properties": {
  7485. "EnabledQty": {
  7486. "description": "可用量",
  7487. "type": "integer"
  7488. },
  7489. "GoodsCode": {
  7490. "description": "订单商品代码",
  7491. "type": "string"
  7492. },
  7493. "GoodsName": {
  7494. "description": "订单商品名称",
  7495. "type": "string"
  7496. },
  7497. "WRStandardCode": {
  7498. "description": "仓单标准代码",
  7499. "type": "string"
  7500. },
  7501. "WRStandardName": {
  7502. "description": "仓单标准名称",
  7503. "type": "string"
  7504. },
  7505. "accountid": {
  7506. "description": "账户ID",
  7507. "type": "integer"
  7508. },
  7509. "cancelqty": {
  7510. "description": "注销量",
  7511. "type": "integer"
  7512. },
  7513. "curpresaleqty": {
  7514. "description": "当前预售量",
  7515. "type": "integer"
  7516. },
  7517. "deliveryqty": {
  7518. "description": "交割量",
  7519. "type": "integer"
  7520. },
  7521. "freezeamount": {
  7522. "description": "冻结金额",
  7523. "type": "number"
  7524. },
  7525. "goodsid": {
  7526. "description": "商品ID",
  7527. "type": "integer"
  7528. },
  7529. "goodunit": {
  7530. "description": "报价单位",
  7531. "type": "string"
  7532. },
  7533. "hasspotfreeze": {
  7534. "description": "是否有现货冻结 - 0:否 1:有",
  7535. "type": "integer"
  7536. },
  7537. "inqty": {
  7538. "description": "转入量(总数量)",
  7539. "type": "integer"
  7540. },
  7541. "marketid": {
  7542. "description": "市场ID",
  7543. "type": "integer"
  7544. },
  7545. "presaledamount": {
  7546. "description": "已预售总金额",
  7547. "type": "integer"
  7548. },
  7549. "presaledqty": {
  7550. "description": "已预售量",
  7551. "type": "integer"
  7552. },
  7553. "userid": {
  7554. "description": "用户ID",
  7555. "type": "integer"
  7556. },
  7557. "wrstandardid": {
  7558. "description": "仓单标准ID",
  7559. "type": "integer"
  7560. }
  7561. }
  7562. },
  7563. "cptrade.QueryCPTradeMyBidRsp": {
  7564. "type": "object",
  7565. "required": [
  7566. "accountid",
  7567. "goodsid",
  7568. "marketid",
  7569. "orderid",
  7570. "orderqty",
  7571. "ordertime",
  7572. "tradeprice",
  7573. "tradeqty"
  7574. ],
  7575. "properties": {
  7576. "accountid": {
  7577. "description": "账户ID[报价币种]",
  7578. "type": "integer"
  7579. },
  7580. "goodsid": {
  7581. "description": "商品ID",
  7582. "type": "integer"
  7583. },
  7584. "goodunit": {
  7585. "description": "报价单位",
  7586. "type": "string"
  7587. },
  7588. "marketid": {
  7589. "description": "市场ID",
  7590. "type": "integer"
  7591. },
  7592. "orderid": {
  7593. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7594. "type": "integer"
  7595. },
  7596. "orderprice": {
  7597. "description": "委托价格",
  7598. "type": "number"
  7599. },
  7600. "orderqty": {
  7601. "description": "委托数量",
  7602. "type": "integer"
  7603. },
  7604. "ordertime": {
  7605. "description": "委托时间",
  7606. "type": "string"
  7607. },
  7608. "ordertotalprice": {
  7609. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7610. "type": "number"
  7611. },
  7612. "ordertotalweight": {
  7613. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7614. "type": "integer"
  7615. },
  7616. "totaltotalprice": {
  7617. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7618. "type": "number"
  7619. },
  7620. "tradeprice": {
  7621. "description": "成交价格",
  7622. "type": "number"
  7623. },
  7624. "tradeqty": {
  7625. "description": "成交数量",
  7626. "type": "integer"
  7627. }
  7628. }
  7629. },
  7630. "cptrade.QueryCPTradeOrderDetailRsq": {
  7631. "type": "object",
  7632. "required": [
  7633. "accountid",
  7634. "buildtype",
  7635. "buyorsell",
  7636. "goodsid",
  7637. "marketid",
  7638. "memberuserid",
  7639. "operatetype",
  7640. "orderqty",
  7641. "ordertime",
  7642. "pricemode",
  7643. "strorderid",
  7644. "tradedate",
  7645. "validtype"
  7646. ],
  7647. "properties": {
  7648. "accountid": {
  7649. "description": "账户ID[报价币种]",
  7650. "type": "integer"
  7651. },
  7652. "buildtype": {
  7653. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7654. "type": "integer"
  7655. },
  7656. "buyorsell": {
  7657. "description": "买卖 - 0:买 1:卖",
  7658. "type": "integer"
  7659. },
  7660. "cancelorderid": {
  7661. "description": "撤单单号(撤单时填写)",
  7662. "type": "integer"
  7663. },
  7664. "cancelqty": {
  7665. "description": "撤单数量",
  7666. "type": "integer"
  7667. },
  7668. "clientordertime": {
  7669. "description": "客户端委托时间",
  7670. "type": "string"
  7671. },
  7672. "clientticket": {
  7673. "description": "客户端流水号",
  7674. "type": "string"
  7675. },
  7676. "clienttype": {
  7677. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7678. "type": "integer"
  7679. },
  7680. "closeexchagechargevalue": {
  7681. "description": "平仓交易所手续费设置值",
  7682. "type": "number"
  7683. },
  7684. "closefeealgorithm": {
  7685. "description": "平仓手续费收取方式 1:比率 2:固定",
  7686. "type": "integer"
  7687. },
  7688. "closefreezecharge": {
  7689. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7690. "type": "number"
  7691. },
  7692. "closememberchargevalue": {
  7693. "description": "平仓会员手续费设置值",
  7694. "type": "number"
  7695. },
  7696. "closeqty": {
  7697. "description": "平仓数量(先建后平操作 需要记录)",
  7698. "type": "integer"
  7699. },
  7700. "closetradeqty": {
  7701. "description": "平仓成交数量(先建后平操作,需要记录)",
  7702. "type": "integer"
  7703. },
  7704. "closeunfreezecharge": {
  7705. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7706. "type": "number"
  7707. },
  7708. "delistingtype": {
  7709. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7710. "type": "integer"
  7711. },
  7712. "freezecharge": {
  7713. "description": "冻结手续费",
  7714. "type": "number"
  7715. },
  7716. "freezemargin": {
  7717. "description": "冻结保证金(冻结交易金额)",
  7718. "type": "number"
  7719. },
  7720. "gcaccountid": {
  7721. "description": "账户ID[合约币种]",
  7722. "type": "integer"
  7723. },
  7724. "goodsid": {
  7725. "description": "商品ID",
  7726. "type": "integer"
  7727. },
  7728. "isconfirmexercise": {
  7729. "description": "是否确认行权- 0:否 1:是",
  7730. "type": "integer"
  7731. },
  7732. "ispreexercise": {
  7733. "description": "是否预申报- 0:否 1:是",
  7734. "type": "integer"
  7735. },
  7736. "listingselecttype": {
  7737. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7738. "type": "integer"
  7739. },
  7740. "marginalgorithm": {
  7741. "description": "保证金收取方式 1:比率 2:固定",
  7742. "type": "integer"
  7743. },
  7744. "marginvalue": {
  7745. "description": "即市保证金设置值",
  7746. "type": "number"
  7747. },
  7748. "marketid": {
  7749. "description": "市场ID",
  7750. "type": "integer"
  7751. },
  7752. "marketmaxsub": {
  7753. "description": "市价最大偏移范围",
  7754. "type": "number"
  7755. },
  7756. "memberuserid": {
  7757. "description": "所属会员UserID",
  7758. "type": "integer"
  7759. },
  7760. "openexchagechargevalue": {
  7761. "description": "建仓交易所手续费设置值",
  7762. "type": "number"
  7763. },
  7764. "openfeealgorithm": {
  7765. "description": "建仓手续费收取方式 1:比率 2:固定",
  7766. "type": "integer"
  7767. },
  7768. "openfreezecharge": {
  7769. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7770. "type": "number"
  7771. },
  7772. "openmemberchargevalue": {
  7773. "description": "建仓会员手续费设置值",
  7774. "type": "number"
  7775. },
  7776. "openqty": {
  7777. "description": "开仓数量(先建后平操作,需要记录)",
  7778. "type": "integer"
  7779. },
  7780. "opentradeqty": {
  7781. "description": "开仓成交数量(先建后平操作,需要记录)",
  7782. "type": "integer"
  7783. },
  7784. "openunfreezecharge": {
  7785. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7786. "type": "number"
  7787. },
  7788. "operatetype": {
  7789. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7790. "type": "integer"
  7791. },
  7792. "operatorid": {
  7793. "description": "登录账号(LoginID)",
  7794. "type": "integer"
  7795. },
  7796. "optiontype": {
  7797. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7798. "type": "integer"
  7799. },
  7800. "orderprice": {
  7801. "description": "委托价格",
  7802. "type": "number"
  7803. },
  7804. "orderqty": {
  7805. "description": "委托数量",
  7806. "type": "integer"
  7807. },
  7808. "ordersrc": {
  7809. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7810. "type": "integer"
  7811. },
  7812. "orderstatus": {
  7813. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7814. "type": "integer"
  7815. },
  7816. "ordertime": {
  7817. "description": "委托时间",
  7818. "type": "string"
  7819. },
  7820. "preexerciseprice": {
  7821. "description": "预申报价格",
  7822. "type": "number"
  7823. },
  7824. "premium": {
  7825. "description": "权利金",
  7826. "type": "number"
  7827. },
  7828. "preorderid": {
  7829. "description": "关联预埋单号(止盈止损单时填写)",
  7830. "type": "integer"
  7831. },
  7832. "pricemode": {
  7833. "description": "取价方式 - 1:市价 2: 限价",
  7834. "type": "integer"
  7835. },
  7836. "quoteid": {
  7837. "description": "报价单ID",
  7838. "type": "integer"
  7839. },
  7840. "relatedid": {
  7841. "description": "关联单号(交割单)",
  7842. "type": "integer"
  7843. },
  7844. "retcode": {
  7845. "description": "错误代码",
  7846. "type": "integer"
  7847. },
  7848. "sessionid": {
  7849. "description": "会话ID",
  7850. "type": "integer"
  7851. },
  7852. "strorderid": {
  7853. "description": "委托单号",
  7854. "type": "string"
  7855. },
  7856. "tradedate": {
  7857. "description": "交易日(yyyyMMdd)",
  7858. "type": "string"
  7859. },
  7860. "tradeproperty": {
  7861. "description": "交易属性",
  7862. "type": "integer"
  7863. },
  7864. "tradeqty": {
  7865. "description": "成交数量",
  7866. "type": "integer"
  7867. },
  7868. "unfreezecharge": {
  7869. "description": "解冻手续费",
  7870. "type": "number"
  7871. },
  7872. "unfreezemargin": {
  7873. "description": "解冻保证金",
  7874. "type": "number"
  7875. },
  7876. "updatetime": {
  7877. "description": "更新时间",
  7878. "type": "string"
  7879. },
  7880. "uuid": {
  7881. "description": "发起端唯一id",
  7882. "type": "string"
  7883. },
  7884. "validtime": {
  7885. "description": "有效期限",
  7886. "type": "string"
  7887. },
  7888. "validtype": {
  7889. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7890. "type": "integer"
  7891. },
  7892. "volumetype": {
  7893. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7894. "type": "integer"
  7895. }
  7896. }
  7897. },
  7898. "cptrade.QueryMyCPTradeGoodsRsp": {
  7899. "type": "object",
  7900. "required": [
  7901. "goodscode",
  7902. "goodsid",
  7903. "goodsname",
  7904. "marketid",
  7905. "relatedgoodscode",
  7906. "relatedgoodsname"
  7907. ],
  7908. "properties": {
  7909. "accountid": {
  7910. "description": "卖方账户ID",
  7911. "type": "integer"
  7912. },
  7913. "agreeunit": {
  7914. "description": "合约单位",
  7915. "type": "number"
  7916. },
  7917. "applyid": {
  7918. "description": "关联申请ID",
  7919. "type": "integer"
  7920. },
  7921. "attachmenturl": {
  7922. "description": "附件地址",
  7923. "type": "string"
  7924. },
  7925. "createtime": {
  7926. "description": "创建时间",
  7927. "type": "string"
  7928. },
  7929. "currencyid": {
  7930. "description": "报价货币ID",
  7931. "type": "integer"
  7932. },
  7933. "decimalplace": {
  7934. "description": "报价小数位",
  7935. "type": "integer"
  7936. },
  7937. "endtime": {
  7938. "description": "预售结束时间",
  7939. "type": "string"
  7940. },
  7941. "floorprice": {
  7942. "description": "底价[大宗式竞拍]",
  7943. "type": "number"
  7944. },
  7945. "goodscode": {
  7946. "description": "商品代码(预售)",
  7947. "type": "string"
  7948. },
  7949. "goodsdetail": {
  7950. "description": "详情[大宗]",
  7951. "type": "string"
  7952. },
  7953. "goodsid": {
  7954. "description": "商品ID(自增ID SEQ_GOODS)",
  7955. "type": "integer"
  7956. },
  7957. "goodsname": {
  7958. "description": "商品名称(预售)",
  7959. "type": "string"
  7960. },
  7961. "goodunit": {
  7962. "description": "报价单位",
  7963. "type": "string"
  7964. },
  7965. "goodunitid": {
  7966. "description": "报价单位ID",
  7967. "type": "integer"
  7968. },
  7969. "marketid": {
  7970. "description": "所属市场ID",
  7971. "type": "integer"
  7972. },
  7973. "marketname": {
  7974. "description": "预售市场名称",
  7975. "type": "string"
  7976. },
  7977. "presaledamount": {
  7978. "description": "已预售总金额(预售结束时更新)",
  7979. "type": "number"
  7980. },
  7981. "presaledqty": {
  7982. "description": "已预售量(预售结束时更新)",
  7983. "type": "integer"
  7984. },
  7985. "presalemode": {
  7986. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7987. "type": "integer"
  7988. },
  7989. "presaleqty": {
  7990. "description": "预售数量",
  7991. "type": "integer"
  7992. },
  7993. "refprice": {
  7994. "description": "参考价格[一口价]",
  7995. "type": "number"
  7996. },
  7997. "relatedgoodscode": {
  7998. "description": "商品代码(订单)",
  7999. "type": "string"
  8000. },
  8001. "relatedgoodsid": {
  8002. "description": "关联交易合约ID",
  8003. "type": "integer"
  8004. },
  8005. "relatedgoodsname": {
  8006. "description": "商品名称(订单)",
  8007. "type": "string"
  8008. },
  8009. "relatedmarketid": {
  8010. "description": "关联交易合约市场ID",
  8011. "type": "integer"
  8012. },
  8013. "sellstatus": {
  8014. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8015. "type": "integer"
  8016. },
  8017. "startprice": {
  8018. "description": "起拍价[大宗式竞拍]",
  8019. "type": "number"
  8020. },
  8021. "starttime": {
  8022. "description": "预售开始时间",
  8023. "type": "string"
  8024. },
  8025. "tradedate": {
  8026. "description": "交易日(yyyyMMdd)",
  8027. "type": "string"
  8028. },
  8029. "tradeprice": {
  8030. "description": "成交价[大宗]",
  8031. "type": "number"
  8032. },
  8033. "userid": {
  8034. "description": "卖方用户ID",
  8035. "type": "integer"
  8036. }
  8037. }
  8038. },
  8039. "cptrade.QueryPresaleGoodsExRsp": {
  8040. "type": "object",
  8041. "required": [
  8042. "goodsid"
  8043. ],
  8044. "properties": {
  8045. "attachmenturl": {
  8046. "description": "附件地址",
  8047. "type": "string"
  8048. },
  8049. "createtime": {
  8050. "description": "创建时间",
  8051. "type": "string"
  8052. },
  8053. "endtime": {
  8054. "description": "预售结束时间",
  8055. "type": "string"
  8056. },
  8057. "floorprice": {
  8058. "description": "底价[大宗式竞拍]",
  8059. "type": "number"
  8060. },
  8061. "goodsdetail": {
  8062. "description": "详情[大宗]",
  8063. "type": "string"
  8064. },
  8065. "goodsid": {
  8066. "description": "商品ID(预售)",
  8067. "type": "integer"
  8068. },
  8069. "goodunit": {
  8070. "description": "报价单位",
  8071. "type": "string"
  8072. },
  8073. "marketid": {
  8074. "description": "预售市场ID - 根据预售模式选择市场",
  8075. "type": "integer"
  8076. },
  8077. "presaledamount": {
  8078. "description": "已预售总金额(预售结束时更新)",
  8079. "type": "number"
  8080. },
  8081. "presaledqty": {
  8082. "description": "已预售量(预售结束时更新)",
  8083. "type": "integer"
  8084. },
  8085. "presalemode": {
  8086. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8087. "type": "integer"
  8088. },
  8089. "presaleqty": {
  8090. "description": "预售数量",
  8091. "type": "integer"
  8092. },
  8093. "refprice": {
  8094. "description": "参考价格[一口价]",
  8095. "type": "number"
  8096. },
  8097. "relatedgoodsid": {
  8098. "description": "关联交易合约ID",
  8099. "type": "integer"
  8100. },
  8101. "relatedmarketid": {
  8102. "description": "关联交易合约市场ID",
  8103. "type": "integer"
  8104. },
  8105. "sellstatus": {
  8106. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8107. "type": "integer"
  8108. },
  8109. "startprice": {
  8110. "description": "起拍价[大宗式竞拍]",
  8111. "type": "number"
  8112. },
  8113. "starttime": {
  8114. "description": "预售开始时间",
  8115. "type": "string"
  8116. },
  8117. "tradedate": {
  8118. "description": "交易日(yyyyMMdd)",
  8119. "type": "string"
  8120. },
  8121. "tradeprice": {
  8122. "description": "成交价[大宗]",
  8123. "type": "number"
  8124. }
  8125. }
  8126. },
  8127. "delivery.QueryDeliveryRelationRsp": {
  8128. "type": "object",
  8129. "required": [
  8130. "begindate",
  8131. "enddate",
  8132. "goodsid",
  8133. "mindeliveryqty",
  8134. "xdeliveryratio"
  8135. ],
  8136. "properties": {
  8137. "begindate": {
  8138. "description": "起始日期(yyyyMMdd)",
  8139. "type": "string"
  8140. },
  8141. "buytemplateid": {
  8142. "description": "买履约计划模板ID",
  8143. "type": "integer"
  8144. },
  8145. "deliverygoodscode": {
  8146. "description": "品种代码",
  8147. "type": "string"
  8148. },
  8149. "deliverygoodsid": {
  8150. "description": "交割商品",
  8151. "type": "integer"
  8152. },
  8153. "deliverygoodsname": {
  8154. "description": "品种名称",
  8155. "type": "string"
  8156. },
  8157. "deliverymode": {
  8158. "description": "交割方式 - 1:点选式 2:申报式",
  8159. "type": "integer"
  8160. },
  8161. "deliverypricerule": {
  8162. "description": "交割价规则- 1:行情价 2:建仓价",
  8163. "type": "integer"
  8164. },
  8165. "deliverytype": {
  8166. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8167. "type": "integer"
  8168. },
  8169. "enddate": {
  8170. "description": "结束日期(yyyyMMdd)",
  8171. "type": "string"
  8172. },
  8173. "goodscode": {
  8174. "description": "商品代码",
  8175. "type": "string"
  8176. },
  8177. "goodsid": {
  8178. "description": "交易合约ID",
  8179. "type": "integer"
  8180. },
  8181. "goodsname": {
  8182. "description": "商品名称",
  8183. "type": "string"
  8184. },
  8185. "marketid": {
  8186. "description": "市场ID",
  8187. "type": "integer"
  8188. },
  8189. "mindeliveryqty": {
  8190. "description": "最小交割系数(K)",
  8191. "type": "integer"
  8192. },
  8193. "p2deliveryprice": {
  8194. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8195. "type": "number"
  8196. },
  8197. "p2deliveryratio": {
  8198. "description": "P2合约系数(p)",
  8199. "type": "integer"
  8200. },
  8201. "p2goodsid": {
  8202. "description": "P2合约ID",
  8203. "type": "integer"
  8204. },
  8205. "p2pricemode": {
  8206. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8207. "type": "integer"
  8208. },
  8209. "pdeliveryprice": {
  8210. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8211. "type": "number"
  8212. },
  8213. "pdeliveryratio": {
  8214. "description": "P合约系数(n)",
  8215. "type": "integer"
  8216. },
  8217. "pgoodsid": {
  8218. "description": "P合约ID",
  8219. "type": "integer"
  8220. },
  8221. "ppricemode": {
  8222. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8223. "type": "integer"
  8224. },
  8225. "rratio": {
  8226. "description": "兑换系数(R)",
  8227. "type": "integer"
  8228. },
  8229. "rratio1": {
  8230. "description": "兑换系数(交易合约)(R1)",
  8231. "type": "integer"
  8232. },
  8233. "rratio2": {
  8234. "description": "兑换系数(仓单标准)(R2)",
  8235. "type": "integer"
  8236. },
  8237. "selltemplateid": {
  8238. "description": "卖履约计划模板ID",
  8239. "type": "integer"
  8240. },
  8241. "wrstandardid": {
  8242. "description": "仓单标准ID",
  8243. "type": "integer"
  8244. },
  8245. "xdeliveryratio": {
  8246. "description": "交易合约系数(m)",
  8247. "type": "integer"
  8248. }
  8249. }
  8250. },
  8251. "ermcp.ExposureDetailRsp": {
  8252. "type": "object",
  8253. "properties": {
  8254. "areauserid": {
  8255. "description": "机构ID",
  8256. "type": "integer"
  8257. },
  8258. "changeQty": {
  8259. "description": "套保变动量",
  8260. "type": "number"
  8261. },
  8262. "contracttype": {
  8263. "description": "现货合同类型 - 1:采购 -1:销售",
  8264. "type": "integer"
  8265. },
  8266. "convertfactor": {
  8267. "description": "标仓系数",
  8268. "type": "number"
  8269. },
  8270. "convertratio": {
  8271. "description": "套保系数",
  8272. "type": "number"
  8273. },
  8274. "createtime": {
  8275. "description": "时间",
  8276. "type": "string"
  8277. },
  8278. "enumdicname": {
  8279. "description": "现货商品单位名称",
  8280. "type": "string"
  8281. },
  8282. "logtype": {
  8283. "description": "类型 - 1:套保计划 2:现货合同",
  8284. "type": "integer"
  8285. },
  8286. "middlegoodsId": {
  8287. "description": "套保商品id",
  8288. "type": "integer"
  8289. },
  8290. "middlegoodscode": {
  8291. "description": "套保商品代码",
  8292. "type": "string"
  8293. },
  8294. "middlegoodsname": {
  8295. "description": "套保商品名称",
  8296. "type": "string"
  8297. },
  8298. "qty": {
  8299. "description": "数量",
  8300. "type": "number"
  8301. },
  8302. "relateNo": {
  8303. "description": "现货合同/套保计划编号",
  8304. "type": "string"
  8305. },
  8306. "wrstandardcode": {
  8307. "description": "现货商品代码",
  8308. "type": "string"
  8309. },
  8310. "wrstandardid": {
  8311. "description": "现货商品ID",
  8312. "type": "integer"
  8313. },
  8314. "wrstandardname": {
  8315. "description": "现货商品名称",
  8316. "type": "string"
  8317. }
  8318. }
  8319. },
  8320. "ermcp.ExposureHedgePosDetailRsp": {
  8321. "type": "object",
  8322. "properties": {
  8323. "buyorsell": {
  8324. "description": "买卖方向 0-买 1-卖",
  8325. "type": "integer"
  8326. },
  8327. "channelbuildtype": {
  8328. "description": "开平方向 1-建仓 2-平仓",
  8329. "type": "integer"
  8330. },
  8331. "goodscode": {
  8332. "description": "商品代码",
  8333. "type": "string"
  8334. },
  8335. "goodsname": {
  8336. "description": "商品名称",
  8337. "type": "string"
  8338. },
  8339. "hedgegoodsid": {
  8340. "description": "商品id",
  8341. "type": "integer"
  8342. },
  8343. "tradeqty": {
  8344. "description": "数量(成交数量)",
  8345. "type": "integer"
  8346. },
  8347. "tradetime": {
  8348. "description": "时间(成交时间)",
  8349. "type": "string"
  8350. }
  8351. }
  8352. },
  8353. "ermcp.ExposureHedgePositionRsp": {
  8354. "type": "object",
  8355. "properties": {
  8356. "accountid": {
  8357. "description": "资金账号[外部母账户]",
  8358. "type": "integer"
  8359. },
  8360. "curbuyposition": {
  8361. "description": "期末买头寸",
  8362. "type": "integer"
  8363. },
  8364. "cursellposition": {
  8365. "description": "期末卖头寸",
  8366. "type": "integer"
  8367. },
  8368. "curtdbuyposition": {
  8369. "description": "期末今日买头寸",
  8370. "type": "integer"
  8371. },
  8372. "curtdsellposition": {
  8373. "description": "期末今日卖头寸",
  8374. "type": "integer"
  8375. },
  8376. "curydbuyposition": {
  8377. "description": "期末上日买头寸",
  8378. "type": "integer"
  8379. },
  8380. "curydsellposition": {
  8381. "description": "期末上日卖头寸",
  8382. "type": "integer"
  8383. },
  8384. "decreaseqty": {
  8385. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8386. "type": "integer"
  8387. },
  8388. "fretdbuyposition": {
  8389. "description": "冻结今日买头寸",
  8390. "type": "integer"
  8391. },
  8392. "fretdsellposition": {
  8393. "description": "冻结今日卖头寸",
  8394. "type": "integer"
  8395. },
  8396. "freydbuyposition": {
  8397. "description": "冻结上日买头寸",
  8398. "type": "integer"
  8399. },
  8400. "freydsellposition": {
  8401. "description": "冻结上日卖头寸",
  8402. "type": "integer"
  8403. },
  8404. "goodscode": {
  8405. "description": "商品代码",
  8406. "type": "string"
  8407. },
  8408. "goodsid": {
  8409. "description": "商品id",
  8410. "type": "integer"
  8411. },
  8412. "goodsname": {
  8413. "description": "商品名称",
  8414. "type": "string"
  8415. },
  8416. "hedgeaccountcode": {
  8417. "description": "对冲账号",
  8418. "type": "string"
  8419. },
  8420. "hedgegoodsid": {
  8421. "description": "对冲合约ID",
  8422. "type": "integer"
  8423. },
  8424. "increaseqty": {
  8425. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8426. "type": "integer"
  8427. },
  8428. "marketid": {
  8429. "description": "市场ID",
  8430. "type": "integer"
  8431. },
  8432. "relateduserid": {
  8433. "description": "关联用户id",
  8434. "type": "integer"
  8435. },
  8436. "totalcurqty": {
  8437. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8438. "type": "integer"
  8439. },
  8440. "totalydqty": {
  8441. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8442. "type": "integer"
  8443. },
  8444. "tradedate": {
  8445. "description": "交易日(yyyyMMdd)",
  8446. "type": "string"
  8447. },
  8448. "ydbuyposition": {
  8449. "description": "期初买头寸",
  8450. "type": "integer"
  8451. },
  8452. "ydsellposition": {
  8453. "description": "期初卖头寸",
  8454. "type": "integer"
  8455. }
  8456. }
  8457. },
  8458. "ermcp.ExposureSpotDetailRsp": {
  8459. "type": "object",
  8460. "properties": {
  8461. "contracttype": {
  8462. "description": "合同类型 1-采购 -1-销售",
  8463. "type": "integer"
  8464. },
  8465. "createtime": {
  8466. "description": "创建时间",
  8467. "type": "string"
  8468. },
  8469. "enumdicname": {
  8470. "description": "现货商品单位名称",
  8471. "type": "string"
  8472. },
  8473. "logtype": {
  8474. "description": "记录类型 1-套保 2-现货合同",
  8475. "type": "integer"
  8476. },
  8477. "qty": {
  8478. "description": "数量",
  8479. "type": "number"
  8480. },
  8481. "recordname": {
  8482. "description": "类型名称",
  8483. "type": "string"
  8484. },
  8485. "relatedid": {
  8486. "description": "套保计划ID/现货合同ID",
  8487. "type": "string"
  8488. },
  8489. "relatedno": {
  8490. "description": "编号",
  8491. "type": "string"
  8492. },
  8493. "strtime": {
  8494. "description": "时间",
  8495. "type": "string"
  8496. },
  8497. "wrstandardcode": {
  8498. "description": "现货商品代码",
  8499. "type": "string"
  8500. },
  8501. "wrstandardname": {
  8502. "description": "现货商品名称",
  8503. "type": "string"
  8504. }
  8505. }
  8506. },
  8507. "ermcp.ExposureSpotRsp": {
  8508. "type": "object",
  8509. "properties": {
  8510. "areauserid": {
  8511. "description": "所属机构",
  8512. "type": "integer"
  8513. },
  8514. "decreaseqty": {
  8515. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8516. "type": "number"
  8517. },
  8518. "increaseqty": {
  8519. "description": "增加数量=销售计划数量+采购已定价数量",
  8520. "type": "number"
  8521. },
  8522. "oritoalspotqty": {
  8523. "description": "昨日数量",
  8524. "type": "number"
  8525. },
  8526. "totalspotqty": {
  8527. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8528. "type": "number"
  8529. },
  8530. "updatetime": {
  8531. "description": "更新时间",
  8532. "type": "string"
  8533. },
  8534. "wrstandardcode": {
  8535. "description": "现货品种代码",
  8536. "type": "string"
  8537. },
  8538. "wrstandardid": {
  8539. "description": "现货商品ID",
  8540. "type": "integer"
  8541. },
  8542. "wrstandardname": {
  8543. "description": "现货品种",
  8544. "type": "string"
  8545. }
  8546. }
  8547. },
  8548. "ermcp.HisExposureRsp": {
  8549. "type": "object",
  8550. "properties": {
  8551. "data": {
  8552. "description": "历史敞口",
  8553. "type": "array",
  8554. "items": {
  8555. "$ref": "#/definitions/models.ErmcpHisExposure"
  8556. }
  8557. },
  8558. "enumdicname": {
  8559. "description": "单位名称",
  8560. "type": "string"
  8561. },
  8562. "middlegoodscode": {
  8563. "description": "套保品种代码",
  8564. "type": "string"
  8565. },
  8566. "middlegoodsid": {
  8567. "description": "套保品种ID",
  8568. "type": "integer"
  8569. },
  8570. "middlegoodsname": {
  8571. "description": "套保品种名称",
  8572. "type": "string"
  8573. }
  8574. }
  8575. },
  8576. "ermcp.PendingAuditCntRsp": {
  8577. "type": "object",
  8578. "properties": {
  8579. "areastockqty": {
  8580. "description": "待审核数量: 库存申请",
  8581. "type": "integer"
  8582. },
  8583. "businessdjqty": {
  8584. "description": "待审核数量: 点价",
  8585. "type": "integer"
  8586. },
  8587. "businessfpqty": {
  8588. "description": "待审核数量: 发票",
  8589. "type": "integer"
  8590. },
  8591. "businessjsqty": {
  8592. "description": "待审核数量: 结算",
  8593. "type": "integer"
  8594. },
  8595. "businesskxqty": {
  8596. "description": "待审核数量: 款项",
  8597. "type": "integer"
  8598. },
  8599. "hedgeplanqty": {
  8600. "description": "待审核数量: 套保计划",
  8601. "type": "integer"
  8602. },
  8603. "spotcontractqty": {
  8604. "description": "待审核数量: 现货合同",
  8605. "type": "integer"
  8606. },
  8607. "userqty": {
  8608. "description": "待审核数量: 用户",
  8609. "type": "integer"
  8610. }
  8611. }
  8612. },
  8613. "ermcp.QryAreaStockApplyRsp": {
  8614. "type": "object",
  8615. "properties": {
  8616. "applyid": {
  8617. "description": "申请人",
  8618. "type": "integer"
  8619. },
  8620. "applyname": {
  8621. "description": "申请人名称",
  8622. "type": "string"
  8623. },
  8624. "applyremark": {
  8625. "description": "申请备注",
  8626. "type": "string"
  8627. },
  8628. "applysrc": {
  8629. "description": "申请来源 - 1:管理端 2:终端",
  8630. "type": "integer"
  8631. },
  8632. "applystatus": {
  8633. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8634. "type": "integer"
  8635. },
  8636. "applytime": {
  8637. "description": "申请时间",
  8638. "type": "string"
  8639. },
  8640. "auditid": {
  8641. "description": "审核人",
  8642. "type": "integer"
  8643. },
  8644. "auditname": {
  8645. "description": "审核人名称",
  8646. "type": "string"
  8647. },
  8648. "auditremark": {
  8649. "description": "审核备注",
  8650. "type": "string"
  8651. },
  8652. "auditsrc": {
  8653. "description": "审核来源 - 1:管理端 2:终端",
  8654. "type": "integer"
  8655. },
  8656. "audittime": {
  8657. "description": "审核时间",
  8658. "type": "string"
  8659. },
  8660. "audittradedate": {
  8661. "description": "审核交易日(yyyyMMdd)",
  8662. "type": "string"
  8663. },
  8664. "brandname": {
  8665. "description": "品牌名称",
  8666. "type": "string"
  8667. },
  8668. "buyuserid": {
  8669. "description": "采购方userid",
  8670. "type": "integer"
  8671. },
  8672. "buyusername": {
  8673. "description": "采购方名称",
  8674. "type": "string"
  8675. },
  8676. "contractno": {
  8677. "description": "合同编号",
  8678. "type": "string"
  8679. },
  8680. "contractqty": {
  8681. "description": "合同量",
  8682. "type": "number"
  8683. },
  8684. "contracttype": {
  8685. "description": "现货合同类型 - 1:采购 -1:销售",
  8686. "type": "integer"
  8687. },
  8688. "deliverygoodsid": {
  8689. "description": "现货品种ID",
  8690. "type": "integer"
  8691. },
  8692. "enumdicname": {
  8693. "description": "现货商品单位名称",
  8694. "type": "string"
  8695. },
  8696. "inoutapplyid": {
  8697. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  8698. "type": "string"
  8699. },
  8700. "inouttype": {
  8701. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  8702. "type": "integer"
  8703. },
  8704. "modelname": {
  8705. "description": "型号名称",
  8706. "type": "string"
  8707. },
  8708. "pricetype": {
  8709. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8710. "type": "integer"
  8711. },
  8712. "qty": {
  8713. "description": "数量",
  8714. "type": "number"
  8715. },
  8716. "selluserid": {
  8717. "description": "销售方userid",
  8718. "type": "integer"
  8719. },
  8720. "sellusername": {
  8721. "description": "销售方名称",
  8722. "type": "string"
  8723. },
  8724. "spotcontractid": {
  8725. "description": "关联现货合同ID",
  8726. "type": "string"
  8727. },
  8728. "spotgoodsbrandid": {
  8729. "description": "现货品牌ID",
  8730. "type": "integer"
  8731. },
  8732. "spotgoodsmodelid": {
  8733. "description": "现货型号ID",
  8734. "type": "integer"
  8735. },
  8736. "unitid": {
  8737. "description": "单位id",
  8738. "type": "integer"
  8739. },
  8740. "userid": {
  8741. "description": "机构ID",
  8742. "type": "integer"
  8743. },
  8744. "warehousecode": {
  8745. "description": "仓库代码",
  8746. "type": "string"
  8747. },
  8748. "warehouseinfoid": {
  8749. "description": "现货仓库ID",
  8750. "type": "string"
  8751. },
  8752. "warehousename": {
  8753. "description": "仓库名称",
  8754. "type": "string"
  8755. },
  8756. "warehousetype": {
  8757. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8758. "type": "integer"
  8759. },
  8760. "wrstandardcode": {
  8761. "description": "现货商品代码",
  8762. "type": "string"
  8763. },
  8764. "wrstandardid": {
  8765. "description": "现货商品ID",
  8766. "type": "string"
  8767. },
  8768. "wrstandardname": {
  8769. "description": "现货商品名称",
  8770. "type": "string"
  8771. }
  8772. }
  8773. },
  8774. "ermcp.QryAvalidGPRsp": {
  8775. "type": "object",
  8776. "properties": {
  8777. "goodsgroupid": {
  8778. "description": "期货品种id",
  8779. "type": "integer"
  8780. },
  8781. "goodsgroupname": {
  8782. "description": "期货品种名称",
  8783. "type": "string"
  8784. },
  8785. "goodunitid": {
  8786. "description": "品种单位id",
  8787. "type": "integer"
  8788. },
  8789. "goodunitname": {
  8790. "description": "品种单位名称",
  8791. "type": "string"
  8792. },
  8793. "outergroupcode": {
  8794. "description": "期货品种代码",
  8795. "type": "string"
  8796. }
  8797. }
  8798. },
  8799. "ermcp.QryBusinessDjRsp": {
  8800. "type": "object",
  8801. "properties": {
  8802. "amount": {
  8803. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8804. "type": "number"
  8805. },
  8806. "applyid": {
  8807. "description": "申请人",
  8808. "type": "string"
  8809. },
  8810. "applyname": {
  8811. "description": "申请人名称",
  8812. "type": "string"
  8813. },
  8814. "applystatus": {
  8815. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8816. "type": "integer"
  8817. },
  8818. "applytime": {
  8819. "description": "申请时间",
  8820. "type": "string"
  8821. },
  8822. "attachurl": {
  8823. "description": "附件",
  8824. "type": "string"
  8825. },
  8826. "auditid": {
  8827. "description": "审核人ID",
  8828. "type": "string"
  8829. },
  8830. "auditname": {
  8831. "description": "审核人名称",
  8832. "type": "string"
  8833. },
  8834. "audittime": {
  8835. "description": "审核时间",
  8836. "type": "string"
  8837. },
  8838. "buyusername": {
  8839. "description": "采购方名称",
  8840. "type": "string"
  8841. },
  8842. "contractno": {
  8843. "description": "合同编号",
  8844. "type": "string"
  8845. },
  8846. "contractstatus": {
  8847. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8848. "type": "integer"
  8849. },
  8850. "contracttype": {
  8851. "description": "现货合同类型 - 1:采购 -1:销售",
  8852. "type": "integer"
  8853. },
  8854. "enumdicname": {
  8855. "description": "单位名称",
  8856. "type": "string"
  8857. },
  8858. "goodscode": {
  8859. "description": "点价合约",
  8860. "type": "string"
  8861. },
  8862. "goodsname": {
  8863. "description": "商品名称",
  8864. "type": "string"
  8865. },
  8866. "operateapplyid": {
  8867. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8868. "type": "string"
  8869. },
  8870. "operateapplytype": {
  8871. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8872. "type": "integer"
  8873. },
  8874. "pricedPrice": {
  8875. "description": "点价价格(非必填)",
  8876. "type": "number"
  8877. },
  8878. "pricedQty": {
  8879. "description": "点价数量(非必填)",
  8880. "type": "number"
  8881. },
  8882. "pricemove": {
  8883. "description": "升贴水",
  8884. "type": "number"
  8885. },
  8886. "pricetype": {
  8887. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8888. "type": "integer"
  8889. },
  8890. "relatedid": {
  8891. "description": "现货合同ID",
  8892. "type": "string"
  8893. },
  8894. "sellusername": {
  8895. "description": "销售方名字",
  8896. "type": "string"
  8897. },
  8898. "userid": {
  8899. "description": "用户ID",
  8900. "type": "integer"
  8901. },
  8902. "wrstandardcode": {
  8903. "description": "现货商品代码",
  8904. "type": "string"
  8905. },
  8906. "wrstandardid": {
  8907. "description": "现货商品id",
  8908. "type": "integer"
  8909. },
  8910. "wrstandardname": {
  8911. "description": "现货商品名称",
  8912. "type": "string"
  8913. }
  8914. }
  8915. },
  8916. "ermcp.QryBussinessFpRsp": {
  8917. "type": "object",
  8918. "properties": {
  8919. "applyid": {
  8920. "description": "申请人",
  8921. "type": "string"
  8922. },
  8923. "applyname": {
  8924. "description": "申请人名称",
  8925. "type": "string"
  8926. },
  8927. "applystatus": {
  8928. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8929. "type": "integer"
  8930. },
  8931. "applytime": {
  8932. "description": "申请时间",
  8933. "type": "string"
  8934. },
  8935. "attachurl": {
  8936. "description": "附件",
  8937. "type": "string"
  8938. },
  8939. "auditid": {
  8940. "description": "审核人ID",
  8941. "type": "string"
  8942. },
  8943. "auditname": {
  8944. "description": "审核人名称",
  8945. "type": "string"
  8946. },
  8947. "audittime": {
  8948. "description": "审核时间",
  8949. "type": "string"
  8950. },
  8951. "buyusername": {
  8952. "description": "采购方名称",
  8953. "type": "string"
  8954. },
  8955. "contractno": {
  8956. "description": "合同编号",
  8957. "type": "string"
  8958. },
  8959. "contractstatus": {
  8960. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8961. "type": "integer"
  8962. },
  8963. "contracttype": {
  8964. "description": "现货合同类型 - 1:采购 -1:销售",
  8965. "type": "integer"
  8966. },
  8967. "enumdicname": {
  8968. "description": "单位名称",
  8969. "type": "string"
  8970. },
  8971. "goodscode": {
  8972. "description": "点价合约",
  8973. "type": "string"
  8974. },
  8975. "goodsname": {
  8976. "description": "商品名称",
  8977. "type": "string"
  8978. },
  8979. "invoiceAmount": {
  8980. "description": "已开收票金额(销售为开票,采购为收票)",
  8981. "type": "number"
  8982. },
  8983. "operateapplyid": {
  8984. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8985. "type": "string"
  8986. },
  8987. "operateapplytype": {
  8988. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8989. "type": "integer"
  8990. },
  8991. "pricemove": {
  8992. "description": "升贴水",
  8993. "type": "number"
  8994. },
  8995. "pricetype": {
  8996. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8997. "type": "integer"
  8998. },
  8999. "relatedid": {
  9000. "description": "现货合同ID",
  9001. "type": "string"
  9002. },
  9003. "sellusername": {
  9004. "description": "销售方名字",
  9005. "type": "string"
  9006. },
  9007. "userid": {
  9008. "description": "用户ID",
  9009. "type": "integer"
  9010. },
  9011. "wrstandardcode": {
  9012. "description": "现货商品代码",
  9013. "type": "string"
  9014. },
  9015. "wrstandardid": {
  9016. "description": "现货商品id",
  9017. "type": "integer"
  9018. },
  9019. "wrstandardname": {
  9020. "description": "现货商品名称",
  9021. "type": "string"
  9022. }
  9023. }
  9024. },
  9025. "ermcp.QryBussinessJsExRsp": {
  9026. "type": "object",
  9027. "properties": {
  9028. "applyid": {
  9029. "description": "申请人",
  9030. "type": "string"
  9031. },
  9032. "applyname": {
  9033. "description": "申请人名称",
  9034. "type": "string"
  9035. },
  9036. "applystatus": {
  9037. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9038. "type": "integer"
  9039. },
  9040. "applytime": {
  9041. "description": "申请时间",
  9042. "type": "string"
  9043. },
  9044. "attachurl": {
  9045. "description": "附件",
  9046. "type": "string"
  9047. },
  9048. "auditid": {
  9049. "description": "审核人ID",
  9050. "type": "string"
  9051. },
  9052. "auditname": {
  9053. "description": "审核人名称",
  9054. "type": "string"
  9055. },
  9056. "audittime": {
  9057. "description": "审核时间",
  9058. "type": "string"
  9059. },
  9060. "buyusername": {
  9061. "description": "采购方名称",
  9062. "type": "string"
  9063. },
  9064. "contractno": {
  9065. "description": "合同编号",
  9066. "type": "string"
  9067. },
  9068. "contractstatus": {
  9069. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9070. "type": "integer"
  9071. },
  9072. "contracttype": {
  9073. "description": "现货合同类型 - 1:采购 -1:销售",
  9074. "type": "integer"
  9075. },
  9076. "enumdicname": {
  9077. "description": "单位名称",
  9078. "type": "string"
  9079. },
  9080. "goodscode": {
  9081. "description": "点价合约",
  9082. "type": "string"
  9083. },
  9084. "goodsname": {
  9085. "description": "商品名称",
  9086. "type": "string"
  9087. },
  9088. "operateapplyid": {
  9089. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9090. "type": "string"
  9091. },
  9092. "operateapplytype": {
  9093. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9094. "type": "integer"
  9095. },
  9096. "pricemove": {
  9097. "description": "升贴水",
  9098. "type": "number"
  9099. },
  9100. "pricetype": {
  9101. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9102. "type": "integer"
  9103. },
  9104. "reckontype": {
  9105. "description": "结算类型",
  9106. "type": "string"
  9107. },
  9108. "reckonvalue": {
  9109. "description": "值",
  9110. "type": "number"
  9111. },
  9112. "relatedid": {
  9113. "description": "现货合同ID",
  9114. "type": "string"
  9115. },
  9116. "sellusername": {
  9117. "description": "销售方名字",
  9118. "type": "string"
  9119. },
  9120. "userid": {
  9121. "description": "用户ID",
  9122. "type": "integer"
  9123. },
  9124. "wrstandardcode": {
  9125. "description": "现货商品代码",
  9126. "type": "string"
  9127. },
  9128. "wrstandardid": {
  9129. "description": "现货商品id",
  9130. "type": "integer"
  9131. },
  9132. "wrstandardname": {
  9133. "description": "现货商品名称",
  9134. "type": "string"
  9135. }
  9136. }
  9137. },
  9138. "ermcp.QryBussinessJsRsp": {
  9139. "type": "object",
  9140. "properties": {
  9141. "addmargin": {
  9142. "description": "追加保证金(非必填)",
  9143. "type": "number"
  9144. },
  9145. "applyid": {
  9146. "description": "申请人",
  9147. "type": "string"
  9148. },
  9149. "applyname": {
  9150. "description": "申请人名称",
  9151. "type": "string"
  9152. },
  9153. "applystatus": {
  9154. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9155. "type": "integer"
  9156. },
  9157. "applytime": {
  9158. "description": "申请时间",
  9159. "type": "string"
  9160. },
  9161. "attachurl": {
  9162. "description": "附件",
  9163. "type": "string"
  9164. },
  9165. "auditid": {
  9166. "description": "审核人ID",
  9167. "type": "string"
  9168. },
  9169. "auditname": {
  9170. "description": "审核人名称",
  9171. "type": "string"
  9172. },
  9173. "audittime": {
  9174. "description": "审核时间",
  9175. "type": "string"
  9176. },
  9177. "buyusername": {
  9178. "description": "采购方名称",
  9179. "type": "string"
  9180. },
  9181. "contractno": {
  9182. "description": "合同编号",
  9183. "type": "string"
  9184. },
  9185. "contractstatus": {
  9186. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9187. "type": "integer"
  9188. },
  9189. "contracttype": {
  9190. "description": "现货合同类型 - 1:采购 -1:销售",
  9191. "type": "integer"
  9192. },
  9193. "decmargin": {
  9194. "description": "减少保证金(非必填)",
  9195. "type": "number"
  9196. },
  9197. "enumdicname": {
  9198. "description": "单位名称",
  9199. "type": "string"
  9200. },
  9201. "goodscode": {
  9202. "description": "点价合约",
  9203. "type": "string"
  9204. },
  9205. "goodsname": {
  9206. "description": "商品名称",
  9207. "type": "string"
  9208. },
  9209. "operateapplyid": {
  9210. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9211. "type": "string"
  9212. },
  9213. "operateapplytype": {
  9214. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9215. "type": "integer"
  9216. },
  9217. "pricemove": {
  9218. "description": "升贴水",
  9219. "type": "number"
  9220. },
  9221. "pricetype": {
  9222. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9223. "type": "integer"
  9224. },
  9225. "reckonadjustamount": {
  9226. "description": "结算调整金额(非必填)",
  9227. "type": "number"
  9228. },
  9229. "reckonosamount": {
  9230. "description": "结算溢短金额(非必填)",
  9231. "type": "number"
  9232. },
  9233. "reckonotheramount": {
  9234. "description": "结算其他费用(非必填)",
  9235. "type": "number"
  9236. },
  9237. "reckonrealqty": {
  9238. "description": "结算实际数量(非必填)",
  9239. "type": "number"
  9240. },
  9241. "relatedid": {
  9242. "description": "现货合同ID",
  9243. "type": "string"
  9244. },
  9245. "sellusername": {
  9246. "description": "销售方名字",
  9247. "type": "string"
  9248. },
  9249. "userid": {
  9250. "description": "用户ID",
  9251. "type": "integer"
  9252. },
  9253. "wrstandardcode": {
  9254. "description": "现货商品代码",
  9255. "type": "string"
  9256. },
  9257. "wrstandardid": {
  9258. "description": "现货商品id",
  9259. "type": "integer"
  9260. },
  9261. "wrstandardname": {
  9262. "description": "现货商品名称",
  9263. "type": "string"
  9264. }
  9265. }
  9266. },
  9267. "ermcp.QryBussinessKxRsp": {
  9268. "type": "object",
  9269. "properties": {
  9270. "applyid": {
  9271. "description": "申请人",
  9272. "type": "string"
  9273. },
  9274. "applyname": {
  9275. "description": "申请人名称",
  9276. "type": "string"
  9277. },
  9278. "applystatus": {
  9279. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9280. "type": "integer"
  9281. },
  9282. "applytime": {
  9283. "description": "申请时间",
  9284. "type": "string"
  9285. },
  9286. "attachurl": {
  9287. "description": "附件",
  9288. "type": "string"
  9289. },
  9290. "auditid": {
  9291. "description": "审核人ID",
  9292. "type": "string"
  9293. },
  9294. "auditname": {
  9295. "description": "审核人名称",
  9296. "type": "string"
  9297. },
  9298. "audittime": {
  9299. "description": "审核时间",
  9300. "type": "string"
  9301. },
  9302. "buyusername": {
  9303. "description": "采购方名称",
  9304. "type": "string"
  9305. },
  9306. "contractno": {
  9307. "description": "合同编号",
  9308. "type": "string"
  9309. },
  9310. "contractstatus": {
  9311. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9312. "type": "integer"
  9313. },
  9314. "contracttype": {
  9315. "description": "现货合同类型 - 1:采购 -1:销售",
  9316. "type": "integer"
  9317. },
  9318. "deductamount": {
  9319. "description": "退款(非必填)",
  9320. "type": "number"
  9321. },
  9322. "enumdicname": {
  9323. "description": "单位名称",
  9324. "type": "string"
  9325. },
  9326. "goodscode": {
  9327. "description": "点价合约",
  9328. "type": "string"
  9329. },
  9330. "goodsname": {
  9331. "description": "商品名称",
  9332. "type": "string"
  9333. },
  9334. "kxtype": {
  9335. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9336. "type": "integer"
  9337. },
  9338. "operateapplyid": {
  9339. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9340. "type": "string"
  9341. },
  9342. "operateapplytype": {
  9343. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9344. "type": "integer"
  9345. },
  9346. "payamount": {
  9347. "description": "收付款(非必填)",
  9348. "type": "number"
  9349. },
  9350. "pricemove": {
  9351. "description": "升贴水",
  9352. "type": "number"
  9353. },
  9354. "pricetype": {
  9355. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9356. "type": "integer"
  9357. },
  9358. "relatedid": {
  9359. "description": "现货合同ID",
  9360. "type": "string"
  9361. },
  9362. "sellusername": {
  9363. "description": "销售方名字",
  9364. "type": "string"
  9365. },
  9366. "userid": {
  9367. "description": "用户ID",
  9368. "type": "integer"
  9369. },
  9370. "wrstandardcode": {
  9371. "description": "现货商品代码",
  9372. "type": "string"
  9373. },
  9374. "wrstandardid": {
  9375. "description": "现货商品id",
  9376. "type": "integer"
  9377. },
  9378. "wrstandardname": {
  9379. "description": "现货商品名称",
  9380. "type": "string"
  9381. }
  9382. }
  9383. },
  9384. "ermcp.QryErmcpRsp": {
  9385. "type": "object",
  9386. "properties": {
  9387. "accountname": {
  9388. "description": "账户名称",
  9389. "type": "string"
  9390. },
  9391. "attachment": {
  9392. "description": "附件",
  9393. "type": "string"
  9394. },
  9395. "audittime": {
  9396. "description": "审核时间",
  9397. "type": "string"
  9398. },
  9399. "brandname": {
  9400. "description": "品牌名称",
  9401. "type": "string"
  9402. },
  9403. "contracctstatus": {
  9404. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9405. "type": "integer"
  9406. },
  9407. "contractmargin": {
  9408. "description": "合同保证金",
  9409. "type": "number"
  9410. },
  9411. "contractno": {
  9412. "description": "合同编号",
  9413. "type": "string"
  9414. },
  9415. "contracttype": {
  9416. "description": "合同类型 1-采购, -1-销售",
  9417. "type": "integer"
  9418. },
  9419. "convertfactor": {
  9420. "description": "标仓系数",
  9421. "type": "number"
  9422. },
  9423. "createtime": {
  9424. "description": "创建时间",
  9425. "type": "string"
  9426. },
  9427. "daikaiamount": {
  9428. "description": "待开票额",
  9429. "type": "number"
  9430. },
  9431. "deliveryenddate": {
  9432. "description": "交割结束日",
  9433. "type": "string"
  9434. },
  9435. "deliverygoodscode": {
  9436. "description": "现货品种代码",
  9437. "type": "string"
  9438. },
  9439. "deliverygoodsid": {
  9440. "description": "现货商品ID",
  9441. "type": "integer"
  9442. },
  9443. "deliverygoodsname": {
  9444. "description": "现货品种名称",
  9445. "type": "string"
  9446. },
  9447. "deliverystartdate": {
  9448. "description": "交割开始日",
  9449. "type": "string"
  9450. },
  9451. "enddate": {
  9452. "description": "点价结束日",
  9453. "type": "string"
  9454. },
  9455. "enumdicname": {
  9456. "description": "单位名称",
  9457. "type": "string"
  9458. },
  9459. "goodscode": {
  9460. "description": "点价商品代码",
  9461. "type": "string"
  9462. },
  9463. "goodsid": {
  9464. "description": "点价商品ID",
  9465. "type": "integer"
  9466. },
  9467. "goodsname": {
  9468. "description": "点价商品名称",
  9469. "type": "string"
  9470. },
  9471. "invoiceamount": {
  9472. "description": "已开票额",
  9473. "type": "number"
  9474. },
  9475. "loanamount": {
  9476. "description": "贷款总额=已定价额+调整金额",
  9477. "type": "number"
  9478. },
  9479. "margin": {
  9480. "description": "保证金",
  9481. "type": "number"
  9482. },
  9483. "modelname": {
  9484. "description": "型号名称",
  9485. "type": "string"
  9486. },
  9487. "payamount": {
  9488. "description": "已收付额(收款或付款)",
  9489. "type": "number"
  9490. },
  9491. "price": {
  9492. "description": "价格",
  9493. "type": "number"
  9494. },
  9495. "pricedamount": {
  9496. "description": "已定价额",
  9497. "type": "number"
  9498. },
  9499. "pricedavg": {
  9500. "description": "已点均价",
  9501. "type": "number"
  9502. },
  9503. "pricedqty": {
  9504. "description": "已定价量",
  9505. "type": "number"
  9506. },
  9507. "pricemove": {
  9508. "description": "升贴水",
  9509. "type": "number"
  9510. },
  9511. "pricetype": {
  9512. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9513. "type": "integer"
  9514. },
  9515. "producttype": {
  9516. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9517. "type": "integer"
  9518. },
  9519. "qty": {
  9520. "description": "合同量",
  9521. "type": "number"
  9522. },
  9523. "reckonadjustamount": {
  9524. "description": "调整金额",
  9525. "type": "number"
  9526. },
  9527. "reckonedamount": {
  9528. "description": "已收付额(已确定额)",
  9529. "type": "number"
  9530. },
  9531. "reckonotheramount": {
  9532. "description": "其它费用",
  9533. "type": "number"
  9534. },
  9535. "reckonrealqty": {
  9536. "description": "已确定量",
  9537. "type": "number"
  9538. },
  9539. "remark": {
  9540. "description": "备注",
  9541. "type": "string"
  9542. },
  9543. "spotcontractid": {
  9544. "description": "合同ID",
  9545. "type": "string"
  9546. },
  9547. "spotgoodsbrandid": {
  9548. "description": "现货品牌ID",
  9549. "type": "integer"
  9550. },
  9551. "spotgoodsdesc": {
  9552. "description": "商品型号(商品规格)",
  9553. "type": "string"
  9554. },
  9555. "spotgoodsmodelid": {
  9556. "description": "现货型号ID",
  9557. "type": "integer"
  9558. },
  9559. "startdate": {
  9560. "description": "点价开始日",
  9561. "type": "string"
  9562. },
  9563. "totalamount": {
  9564. "description": "合计总额",
  9565. "type": "number"
  9566. },
  9567. "unpayamount": {
  9568. "description": "待支收额(支付或收款)",
  9569. "type": "number"
  9570. },
  9571. "unpricedqty": {
  9572. "description": "未定价量",
  9573. "type": "number"
  9574. },
  9575. "unsureqty": {
  9576. "description": "未确定量",
  9577. "type": "number"
  9578. },
  9579. "userid": {
  9580. "description": "用户ID",
  9581. "type": "integer"
  9582. },
  9583. "wrstandardcode": {
  9584. "description": "现货商品代码",
  9585. "type": "string"
  9586. },
  9587. "wrstandardid": {
  9588. "description": "现货商品ID",
  9589. "type": "integer"
  9590. },
  9591. "wrstandardname": {
  9592. "description": "现货商品名称",
  9593. "type": "string"
  9594. }
  9595. }
  9596. },
  9597. "ermcp.QryGGCovertCfgRsp": {
  9598. "type": "object",
  9599. "properties": {
  9600. "convertratio": {
  9601. "description": "折算系数",
  9602. "type": "number"
  9603. },
  9604. "destgoodsgroupid": {
  9605. "description": "目标品种ID",
  9606. "type": "integer"
  9607. },
  9608. "dstcode": {
  9609. "description": "目录品种代码",
  9610. "type": "string"
  9611. },
  9612. "dstexchangecode": {
  9613. "description": "目标期货交易所",
  9614. "type": "string"
  9615. },
  9616. "dstname": {
  9617. "description": "目标品种名称",
  9618. "type": "string"
  9619. },
  9620. "dstunitid": {
  9621. "description": "目标品种单位ID",
  9622. "type": "integer"
  9623. },
  9624. "dstunitidname": {
  9625. "description": "目标品种单位名称",
  9626. "type": "string"
  9627. },
  9628. "modifytime": {
  9629. "description": "修改时间",
  9630. "type": "string"
  9631. },
  9632. "srccode": {
  9633. "description": "源品种代码",
  9634. "type": "string"
  9635. },
  9636. "srcexchangecode": {
  9637. "description": "源期货交易所",
  9638. "type": "string"
  9639. },
  9640. "srcgoodsgroupid": {
  9641. "description": "源品种ID",
  9642. "type": "integer"
  9643. },
  9644. "srcname": {
  9645. "description": "源品种名称",
  9646. "type": "string"
  9647. },
  9648. "srcunitid": {
  9649. "description": "源品种单位ID",
  9650. "type": "integer"
  9651. },
  9652. "srcunitidname": {
  9653. "description": "源品种单位名称",
  9654. "type": "string"
  9655. }
  9656. }
  9657. },
  9658. "ermcp.QryHedgePlanRsp": {
  9659. "type": "object",
  9660. "properties": {
  9661. "areauserid": {
  9662. "description": "用户ID",
  9663. "type": "integer"
  9664. },
  9665. "audittime": {
  9666. "description": "审核时间",
  9667. "type": "string"
  9668. },
  9669. "contracttype": {
  9670. "description": "计划类型 - 1:采购 -1:销售",
  9671. "type": "integer"
  9672. },
  9673. "convertfactor": {
  9674. "description": "标仓系数",
  9675. "type": "number"
  9676. },
  9677. "createtime": {
  9678. "description": "创建时间",
  9679. "type": "string"
  9680. },
  9681. "deliverygoodsid": {
  9682. "description": "现货品种ID",
  9683. "type": "integer"
  9684. },
  9685. "deliverygoodsname": {
  9686. "description": "现货品种名称",
  9687. "type": "string"
  9688. },
  9689. "enumdicname": {
  9690. "description": "单位名称",
  9691. "type": "string"
  9692. },
  9693. "hedgeplanid": {
  9694. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9695. "type": "string"
  9696. },
  9697. "hedgeplanno": {
  9698. "description": "套保计划编号(名称)",
  9699. "type": "string"
  9700. },
  9701. "hedgeplanstatus": {
  9702. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9703. "type": "integer"
  9704. },
  9705. "planqty": {
  9706. "description": "计划数量",
  9707. "type": "number"
  9708. },
  9709. "plantime": {
  9710. "description": "计划时间",
  9711. "type": "string"
  9712. },
  9713. "producttype": {
  9714. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9715. "type": "integer"
  9716. },
  9717. "remark": {
  9718. "description": "备注",
  9719. "type": "string"
  9720. },
  9721. "spotgoodsdesc": {
  9722. "description": "商品型号",
  9723. "type": "string"
  9724. },
  9725. "unitid": {
  9726. "description": "单位id",
  9727. "type": "integer"
  9728. },
  9729. "updatetime": {
  9730. "description": "更新时间",
  9731. "type": "string"
  9732. },
  9733. "wrstandardid": {
  9734. "description": "现货商品ID",
  9735. "type": "integer"
  9736. },
  9737. "wrstandardname": {
  9738. "description": "现货商品名称",
  9739. "type": "string"
  9740. }
  9741. }
  9742. },
  9743. "ermcp.QryMGChangeLogRsp": {
  9744. "type": "object",
  9745. "properties": {
  9746. "aftervalue": {
  9747. "description": "变更后",
  9748. "type": "number"
  9749. },
  9750. "applyid": {
  9751. "description": "操作人",
  9752. "type": "integer"
  9753. },
  9754. "applyname": {
  9755. "description": "操作人名称",
  9756. "type": "string"
  9757. },
  9758. "applysrc": {
  9759. "description": "操作来源 - 1:管理端 2:终端",
  9760. "type": "integer"
  9761. },
  9762. "beforevalue": {
  9763. "description": "变更前",
  9764. "type": "number"
  9765. },
  9766. "changelogtype": {
  9767. "description": "变更流水类型 - 1:套保比率变更",
  9768. "type": "integer"
  9769. },
  9770. "handlestatus": {
  9771. "description": "处理状态",
  9772. "type": "integer"
  9773. },
  9774. "logdatetime": {
  9775. "description": "流水日期",
  9776. "type": "string"
  9777. },
  9778. "logid": {
  9779. "description": "流水ID",
  9780. "type": "integer"
  9781. },
  9782. "logremark": {
  9783. "description": "流水备注",
  9784. "type": "string"
  9785. },
  9786. "middlegoodsid": {
  9787. "description": "套保品种ID",
  9788. "type": "integer"
  9789. },
  9790. "tradedate": {
  9791. "description": "交易日(yyyyMMdd)",
  9792. "type": "string"
  9793. },
  9794. "updatetime": {
  9795. "description": "更新时间",
  9796. "type": "string"
  9797. }
  9798. }
  9799. },
  9800. "ermcp.QryMiddleGoodsDetailRsp": {
  9801. "type": "object",
  9802. "properties": {
  9803. "cvList": {
  9804. "description": "期货品种折算列表",
  9805. "type": "array",
  9806. "items": {
  9807. "$ref": "#/definitions/models.GoodsGroupConvert"
  9808. }
  9809. },
  9810. "mg": {
  9811. "description": "套保品种基本信息",
  9812. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9813. }
  9814. }
  9815. },
  9816. "ermcp.QryMiddleGoodsRsp": {
  9817. "type": "object",
  9818. "properties": {
  9819. "areauserid": {
  9820. "description": "机构用户ID",
  9821. "type": "integer"
  9822. },
  9823. "createtime": {
  9824. "description": "修改时间",
  9825. "type": "string"
  9826. },
  9827. "enumdicname": {
  9828. "description": "单位名称",
  9829. "type": "string"
  9830. },
  9831. "evaluateratio": {
  9832. "description": "估价系数",
  9833. "type": "number"
  9834. },
  9835. "goodsgroupid": {
  9836. "description": "关联期货品种ID",
  9837. "type": "integer"
  9838. },
  9839. "isvalid": {
  9840. "description": "状态 0-无效(停用) 1-有效(正常)",
  9841. "type": "integer"
  9842. },
  9843. "middlegoodscode": {
  9844. "description": "套保品种代码",
  9845. "type": "string"
  9846. },
  9847. "middlegoodsid": {
  9848. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9849. "type": "integer"
  9850. },
  9851. "middlegoodsname": {
  9852. "description": "套保品种名称",
  9853. "type": "string"
  9854. },
  9855. "modifytime": {
  9856. "description": "修改时间",
  9857. "type": "string"
  9858. },
  9859. "needhedgeratio": {
  9860. "description": "套保比率",
  9861. "type": "number"
  9862. },
  9863. "qtydecimalplace": {
  9864. "description": "数量小数位",
  9865. "type": "integer"
  9866. },
  9867. "relatedgoodsid": {
  9868. "description": "关联交易商品ID",
  9869. "type": "integer"
  9870. },
  9871. "relatedgoodstype": {
  9872. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9873. "type": "integer"
  9874. },
  9875. "remark": {
  9876. "description": "备注",
  9877. "type": "string"
  9878. }
  9879. }
  9880. },
  9881. "ermcp.QryOPLogRsp": {
  9882. "type": "object",
  9883. "properties": {
  9884. "aftervalue": {
  9885. "description": "变更后",
  9886. "type": "number"
  9887. },
  9888. "applyid": {
  9889. "description": "操作人ID",
  9890. "type": "string"
  9891. },
  9892. "applyname": {
  9893. "description": "操作人名称",
  9894. "type": "string"
  9895. },
  9896. "beforevalue": {
  9897. "description": "变更前",
  9898. "type": "number"
  9899. },
  9900. "biztype": {
  9901. "description": "业务类型 - 1:套保计划 2:现货合同",
  9902. "type": "integer"
  9903. },
  9904. "contracttype": {
  9905. "description": "现货合同类型 - 1:采购 -1:销售",
  9906. "type": "integer"
  9907. },
  9908. "logvalue": {
  9909. "description": "数值",
  9910. "type": "number"
  9911. },
  9912. "operatelogtype": {
  9913. "description": "操作流水类型",
  9914. "type": "integer"
  9915. },
  9916. "operatelogtypedesc": {
  9917. "description": "操作流水类型名称",
  9918. "type": "string"
  9919. },
  9920. "relatedid": {
  9921. "description": "现货合同ID\\套保计划",
  9922. "type": "string"
  9923. },
  9924. "updatetime": {
  9925. "description": "更新时间",
  9926. "type": "string"
  9927. }
  9928. }
  9929. },
  9930. "ermcp.QryReportDaySpotDetailRsp": {
  9931. "type": "object",
  9932. "properties": {
  9933. "applyid": {
  9934. "description": "操作人",
  9935. "type": "integer"
  9936. },
  9937. "applyname": {
  9938. "description": "操作人名称",
  9939. "type": "string"
  9940. },
  9941. "biztype": {
  9942. "description": "业务类型 - 1:套保计划 2:现货合同",
  9943. "type": "integer"
  9944. },
  9945. "brandname": {
  9946. "description": "品牌名称",
  9947. "type": "string"
  9948. },
  9949. "contracttype": {
  9950. "description": "现货合同类型 - 1:采购 -1:销售",
  9951. "type": "integer"
  9952. },
  9953. "enumdicName": {
  9954. "description": "单位名称",
  9955. "type": "string"
  9956. },
  9957. "logdatetime": {
  9958. "description": "流水日期(时间)",
  9959. "type": "string"
  9960. },
  9961. "logid": {
  9962. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9963. "type": "string"
  9964. },
  9965. "logtypename": {
  9966. "description": "合同类型(名称)",
  9967. "type": "string"
  9968. },
  9969. "logvalue": {
  9970. "description": "数值",
  9971. "type": "string"
  9972. },
  9973. "modelname": {
  9974. "description": "型号名称",
  9975. "type": "string"
  9976. },
  9977. "operatelogtype": {
  9978. "description": "操作流水类型 -",
  9979. "type": "integer"
  9980. },
  9981. "optypename": {
  9982. "description": "流水类型名称",
  9983. "type": "string"
  9984. },
  9985. "relatedid": {
  9986. "description": "现货合同ID\\套保计划",
  9987. "type": "string"
  9988. },
  9989. "relatedno": {
  9990. "description": "合同编号",
  9991. "type": "string"
  9992. },
  9993. "tradedate": {
  9994. "description": "交易日(yyyyMMdd)",
  9995. "type": "string"
  9996. },
  9997. "userid": {
  9998. "description": "机构ID",
  9999. "type": "integer"
  10000. },
  10001. "wrstandardcode": {
  10002. "description": "现货商品代码",
  10003. "type": "string"
  10004. },
  10005. "wrstandardid": {
  10006. "description": "现货商品ID",
  10007. "type": "integer"
  10008. },
  10009. "wrstandardname": {
  10010. "description": "现货商品名称",
  10011. "type": "string"
  10012. }
  10013. }
  10014. },
  10015. "ermcp.QryReportExposureDayRsp": {
  10016. "type": "object",
  10017. "properties": {
  10018. "areauserid": {
  10019. "description": "所属机构",
  10020. "type": "integer"
  10021. },
  10022. "buyfutureqty": {
  10023. "description": "买入期货数量",
  10024. "type": "number"
  10025. },
  10026. "buyplanqty": {
  10027. "description": "采购计划数量",
  10028. "type": "number"
  10029. },
  10030. "buypricedqty": {
  10031. "description": "采购合同已定价数量",
  10032. "type": "number"
  10033. },
  10034. "diffFutuQty": {
  10035. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  10036. "type": "number"
  10037. },
  10038. "diffSpotQty": {
  10039. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  10040. "type": "number"
  10041. },
  10042. "enumdicname": {
  10043. "description": "单位名称",
  10044. "type": "string"
  10045. },
  10046. "middlegoodscode": {
  10047. "description": "套保品种代码",
  10048. "type": "string"
  10049. },
  10050. "middlegoodshedgeratio": {
  10051. "description": "应套保比例",
  10052. "type": "number"
  10053. },
  10054. "middlegoodsid": {
  10055. "description": "套保品种ID",
  10056. "type": "integer"
  10057. },
  10058. "middlegoodsname": {
  10059. "description": "套保品种名称",
  10060. "type": "string"
  10061. },
  10062. "needhedgeexposoure": {
  10063. "description": "应套保敞口",
  10064. "type": "number"
  10065. },
  10066. "needhedgeratio": {
  10067. "description": "应套保敞口比例",
  10068. "type": "number"
  10069. },
  10070. "oriTotalFutuQty": {
  10071. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  10072. "type": "number"
  10073. },
  10074. "oriTotalSpotQty": {
  10075. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  10076. "type": "number"
  10077. },
  10078. "oribuyfutureqty": {
  10079. "description": "期初买入期货数量",
  10080. "type": "number"
  10081. },
  10082. "oribuyplanqty": {
  10083. "description": "期初采购计划数量",
  10084. "type": "number"
  10085. },
  10086. "oribuypricedqty": {
  10087. "description": "期初采购合同已定价数量",
  10088. "type": "number"
  10089. },
  10090. "orisellfutureqty": {
  10091. "description": "期初卖出期货数量",
  10092. "type": "number"
  10093. },
  10094. "orisellplanqty": {
  10095. "description": "期初销售计划数量",
  10096. "type": "number"
  10097. },
  10098. "orisellpricedqty": {
  10099. "description": "期初销售合同已定价数量",
  10100. "type": "number"
  10101. },
  10102. "reckondate": {
  10103. "description": "日照时期(yyyyMMdd)",
  10104. "type": "string"
  10105. },
  10106. "sellfutureqty": {
  10107. "description": "卖出期货数量",
  10108. "type": "number"
  10109. },
  10110. "sellplanqty": {
  10111. "description": "销售计划数量",
  10112. "type": "number"
  10113. },
  10114. "sellpricedqty": {
  10115. "description": "销售合同已定价数量",
  10116. "type": "number"
  10117. },
  10118. "totalexposure": {
  10119. "description": "总敞口",
  10120. "type": "number"
  10121. },
  10122. "totalfutureqty": {
  10123. "description": "期货数量",
  10124. "type": "number"
  10125. },
  10126. "totalhedgeratio": {
  10127. "description": "敞口比例",
  10128. "type": "number"
  10129. },
  10130. "totalneedhedgeqty": {
  10131. "description": "期货应套保量",
  10132. "type": "number"
  10133. },
  10134. "totalspotqty": {
  10135. "description": "现货数量",
  10136. "type": "number"
  10137. }
  10138. }
  10139. },
  10140. "ermcp.QryReportFinanceDayRsp": {
  10141. "type": "object",
  10142. "properties": {
  10143. "areauserid": {
  10144. "description": "所属机构",
  10145. "type": "integer"
  10146. },
  10147. "collectinvoiceamount": {
  10148. "description": "今日开票金额",
  10149. "type": "number"
  10150. },
  10151. "collectinvoicecount": {
  10152. "description": "今日开票笔数",
  10153. "type": "integer"
  10154. },
  10155. "collectmoneyamount": {
  10156. "description": "今日收款金额",
  10157. "type": "number"
  10158. },
  10159. "collectmoneycount": {
  10160. "description": "今日收款笔数",
  10161. "type": "integer"
  10162. },
  10163. "payinvoiceamount": {
  10164. "description": "今日收票金额",
  10165. "type": "number"
  10166. },
  10167. "payinvoicecount": {
  10168. "description": "今日收票笔数",
  10169. "type": "integer"
  10170. },
  10171. "paymoneyamount": {
  10172. "description": "今日付款金额",
  10173. "type": "number"
  10174. },
  10175. "paymoneycount": {
  10176. "description": "今日付款笔数",
  10177. "type": "integer"
  10178. },
  10179. "reckondate": {
  10180. "description": "日照时期(yyyyMMdd)",
  10181. "type": "string"
  10182. },
  10183. "updatetime": {
  10184. "description": "更新时间",
  10185. "type": "string"
  10186. }
  10187. }
  10188. },
  10189. "ermcp.QryReportFinanceKxRsp": {
  10190. "type": "object",
  10191. "properties": {
  10192. "applyid": {
  10193. "description": "操作人",
  10194. "type": "integer"
  10195. },
  10196. "applyname": {
  10197. "description": "操作人名称",
  10198. "type": "string"
  10199. },
  10200. "biztype": {
  10201. "description": "业务类型 - 1:套保计划 2:现货合同",
  10202. "type": "integer"
  10203. },
  10204. "brandname": {
  10205. "description": "品牌名称",
  10206. "type": "string"
  10207. },
  10208. "contracttype": {
  10209. "description": "现货合同类型 - 1:采购 -1:销售",
  10210. "type": "integer"
  10211. },
  10212. "enumdicName": {
  10213. "description": "单位名称",
  10214. "type": "string"
  10215. },
  10216. "logdatetime": {
  10217. "description": "流水日期(时间)",
  10218. "type": "string"
  10219. },
  10220. "logid": {
  10221. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10222. "type": "string"
  10223. },
  10224. "logtypename": {
  10225. "description": "合同类型(名称)",
  10226. "type": "string"
  10227. },
  10228. "logvalue": {
  10229. "description": "数值",
  10230. "type": "string"
  10231. },
  10232. "modelname": {
  10233. "description": "型号名称",
  10234. "type": "string"
  10235. },
  10236. "operatelogtype": {
  10237. "description": "操作流水类型 -",
  10238. "type": "integer"
  10239. },
  10240. "optypename": {
  10241. "description": "流水类型名称",
  10242. "type": "string"
  10243. },
  10244. "relatedid": {
  10245. "description": "现货合同ID\\套保计划",
  10246. "type": "string"
  10247. },
  10248. "relatedno": {
  10249. "description": "合同编号",
  10250. "type": "string"
  10251. },
  10252. "tradedate": {
  10253. "description": "交易日(yyyyMMdd)",
  10254. "type": "string"
  10255. },
  10256. "userid": {
  10257. "description": "机构ID",
  10258. "type": "integer"
  10259. },
  10260. "wrstandardcode": {
  10261. "description": "现货商品代码",
  10262. "type": "string"
  10263. },
  10264. "wrstandardid": {
  10265. "description": "现货商品ID",
  10266. "type": "integer"
  10267. },
  10268. "wrstandardname": {
  10269. "description": "现货商品名称",
  10270. "type": "string"
  10271. }
  10272. }
  10273. },
  10274. "ermcp.QryReportFinanceMonRsp": {
  10275. "type": "object",
  10276. "properties": {
  10277. "areauserid": {
  10278. "description": "所属机构【原值】",
  10279. "type": "integer"
  10280. },
  10281. "collectinvoiceamount": {
  10282. "description": "今日开票金额【汇总】",
  10283. "type": "number"
  10284. },
  10285. "collectinvoicecount": {
  10286. "description": "今日开票笔数【汇总】",
  10287. "type": "integer"
  10288. },
  10289. "collectmoneyamount": {
  10290. "description": "今日收款金额【汇总】",
  10291. "type": "number"
  10292. },
  10293. "collectmoneycount": {
  10294. "description": "今日收款笔数 【汇总】",
  10295. "type": "integer"
  10296. },
  10297. "cycletime": {
  10298. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10299. "type": "string"
  10300. },
  10301. "cycletype": {
  10302. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10303. "type": "integer"
  10304. },
  10305. "dayFr": {
  10306. "description": "日报表明细",
  10307. "type": "array",
  10308. "items": {
  10309. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10310. }
  10311. },
  10312. "payinvoiceamount": {
  10313. "description": "今日收票金额【汇总】",
  10314. "type": "number"
  10315. },
  10316. "payinvoicecount": {
  10317. "description": "今日收票笔数【汇总】",
  10318. "type": "integer"
  10319. },
  10320. "paymoneyamount": {
  10321. "description": "今日付款金额【汇总】",
  10322. "type": "number"
  10323. },
  10324. "paymoneycount": {
  10325. "description": "今日付款笔数【汇总】",
  10326. "type": "integer"
  10327. },
  10328. "updatetime": {
  10329. "description": "更新时间",
  10330. "type": "string"
  10331. }
  10332. }
  10333. },
  10334. "ermcp.QryReportSpotDayRsp": {
  10335. "type": "object",
  10336. "properties": {
  10337. "areauserid": {
  10338. "description": "所属机构T",
  10339. "type": "integer"
  10340. },
  10341. "buyinqty": {
  10342. "description": "采购入库量",
  10343. "type": "number"
  10344. },
  10345. "enumdicname": {
  10346. "description": "现货商品单位名称",
  10347. "type": "string"
  10348. },
  10349. "reckondate": {
  10350. "description": "日照时期(yyyyMMdd)",
  10351. "type": "string"
  10352. },
  10353. "selloutqty": {
  10354. "description": "销售出库量",
  10355. "type": "number"
  10356. },
  10357. "todaybuyreckonqty": {
  10358. "description": "采购确定量",
  10359. "type": "number"
  10360. },
  10361. "todaysellreckonqty": {
  10362. "description": "销售确定量",
  10363. "type": "number"
  10364. },
  10365. "totalbuypricedqty": {
  10366. "description": "采购定价量 = 期末 - 期初",
  10367. "type": "number"
  10368. },
  10369. "totalsellpricedqty": {
  10370. "description": "销售定价量 = 期末 - 期初",
  10371. "type": "number"
  10372. },
  10373. "wrstandardcode": {
  10374. "description": "现货商品代码",
  10375. "type": "string"
  10376. },
  10377. "wrstandardid": {
  10378. "description": "现货商品ID",
  10379. "type": "integer"
  10380. },
  10381. "wrstandardname": {
  10382. "description": "现货商品名称",
  10383. "type": "string"
  10384. }
  10385. }
  10386. },
  10387. "ermcp.QryReportSpotMonRsp": {
  10388. "type": "object",
  10389. "properties": {
  10390. "areauserid": {
  10391. "description": "所属机构T",
  10392. "type": "integer"
  10393. },
  10394. "buyinqty": {
  10395. "description": "采购入库量",
  10396. "type": "number"
  10397. },
  10398. "cycletime": {
  10399. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10400. "type": "string"
  10401. },
  10402. "cycletype": {
  10403. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10404. "type": "integer"
  10405. },
  10406. "enumdicname": {
  10407. "description": "现货商品单位名称",
  10408. "type": "string"
  10409. },
  10410. "selloutqty": {
  10411. "description": "销售出库量",
  10412. "type": "number"
  10413. },
  10414. "todaybuyreckonqty": {
  10415. "description": "采购确定量",
  10416. "type": "number"
  10417. },
  10418. "todaysellreckonqty": {
  10419. "description": "销售确定量",
  10420. "type": "number"
  10421. },
  10422. "totalbuypricedqty": {
  10423. "description": "采购定价量 = 期末 - 期初",
  10424. "type": "number"
  10425. },
  10426. "totalsellpricedqty": {
  10427. "description": "销售定价量 = 期末 - 期初",
  10428. "type": "number"
  10429. },
  10430. "wrstandardcode": {
  10431. "description": "现货商品代码",
  10432. "type": "string"
  10433. },
  10434. "wrstandardid": {
  10435. "description": "现货商品ID",
  10436. "type": "integer"
  10437. },
  10438. "wrstandardname": {
  10439. "description": "现货商品名称",
  10440. "type": "string"
  10441. }
  10442. }
  10443. },
  10444. "ermcp.QryReportSpotMonthDetailRsp": {
  10445. "type": "object",
  10446. "properties": {
  10447. "areauserid": {
  10448. "description": "所属机构T",
  10449. "type": "integer"
  10450. },
  10451. "buyinqty": {
  10452. "description": "采购入库量",
  10453. "type": "number"
  10454. },
  10455. "enumdicname": {
  10456. "description": "现货商品单位名称",
  10457. "type": "string"
  10458. },
  10459. "reckondate": {
  10460. "description": "日照时期(yyyyMMdd)",
  10461. "type": "string"
  10462. },
  10463. "selloutqty": {
  10464. "description": "销售出库量",
  10465. "type": "number"
  10466. },
  10467. "todaybuyreckonqty": {
  10468. "description": "采购确定量",
  10469. "type": "number"
  10470. },
  10471. "todaysellreckonqty": {
  10472. "description": "销售确定量",
  10473. "type": "number"
  10474. },
  10475. "totalbuypricedqty": {
  10476. "description": "采购定价量 = 期末 - 期初",
  10477. "type": "number"
  10478. },
  10479. "totalsellpricedqty": {
  10480. "description": "销售定价量 = 期末 - 期初",
  10481. "type": "number"
  10482. },
  10483. "wrstandardcode": {
  10484. "description": "现货商品代码",
  10485. "type": "string"
  10486. },
  10487. "wrstandardid": {
  10488. "description": "现货商品ID",
  10489. "type": "integer"
  10490. },
  10491. "wrstandardname": {
  10492. "description": "现货商品名称",
  10493. "type": "string"
  10494. }
  10495. }
  10496. },
  10497. "ermcp.QrySpotContractRsp": {
  10498. "type": "object",
  10499. "properties": {
  10500. "amount": {
  10501. "description": "金额 [1:一口价、3:暂定价]",
  10502. "type": "number"
  10503. },
  10504. "attachment": {
  10505. "description": "附件",
  10506. "type": "string"
  10507. },
  10508. "auditremark": {
  10509. "description": "审核意见",
  10510. "type": "string"
  10511. },
  10512. "audittime": {
  10513. "description": "审核时间",
  10514. "type": "string"
  10515. },
  10516. "brandname": {
  10517. "description": "品牌名称",
  10518. "type": "string"
  10519. },
  10520. "buyuserid": {
  10521. "description": "采购方ID",
  10522. "type": "integer"
  10523. },
  10524. "buyusername": {
  10525. "description": "采购方名称",
  10526. "type": "string"
  10527. },
  10528. "contracctstatus": {
  10529. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10530. "type": "integer"
  10531. },
  10532. "contractmargin": {
  10533. "description": "合同保证金",
  10534. "type": "number"
  10535. },
  10536. "contractno": {
  10537. "description": "现货合同编号",
  10538. "type": "string"
  10539. },
  10540. "contracttype": {
  10541. "description": "现货合同类型 - 1:采购 -1:销售",
  10542. "type": "integer"
  10543. },
  10544. "convertfactor": {
  10545. "description": "标仓系数",
  10546. "type": "number"
  10547. },
  10548. "createtime": {
  10549. "description": "创建时间",
  10550. "type": "string"
  10551. },
  10552. "deliveryenddate": {
  10553. "description": "交收期(结束)",
  10554. "type": "string"
  10555. },
  10556. "deliverygoodscode": {
  10557. "description": "现货品种代码",
  10558. "type": "string"
  10559. },
  10560. "deliverygoodsid": {
  10561. "description": "现货品种ID",
  10562. "type": "integer"
  10563. },
  10564. "deliverygoodsname": {
  10565. "description": "现货品种名称",
  10566. "type": "string"
  10567. },
  10568. "deliverystartdate": {
  10569. "description": "交收期(开始)",
  10570. "type": "string"
  10571. },
  10572. "enddate": {
  10573. "description": "点价结束日期 [2:点价 3:暂定价]",
  10574. "type": "string"
  10575. },
  10576. "enumdicname": {
  10577. "description": "单位名称",
  10578. "type": "string"
  10579. },
  10580. "goodscode": {
  10581. "description": "点价合约代码",
  10582. "type": "string"
  10583. },
  10584. "goodsid": {
  10585. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10586. "type": "integer"
  10587. },
  10588. "goodsname": {
  10589. "description": "点价商品名称",
  10590. "type": "string"
  10591. },
  10592. "margin": {
  10593. "description": "当前保证金",
  10594. "type": "number"
  10595. },
  10596. "modelname": {
  10597. "description": "型号名称",
  10598. "type": "string"
  10599. },
  10600. "price": {
  10601. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10602. "type": "number"
  10603. },
  10604. "pricemove": {
  10605. "description": "升贴水 [2:点价 3:暂定价]",
  10606. "type": "number"
  10607. },
  10608. "pricetype": {
  10609. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10610. "type": "integer"
  10611. },
  10612. "producttype": {
  10613. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10614. "type": "integer"
  10615. },
  10616. "qty": {
  10617. "description": "数量",
  10618. "type": "number"
  10619. },
  10620. "remark": {
  10621. "description": "备注",
  10622. "type": "string"
  10623. },
  10624. "selluserid": {
  10625. "description": "销售方ID",
  10626. "type": "integer"
  10627. },
  10628. "sellusername": {
  10629. "description": "销售方名称",
  10630. "type": "string"
  10631. },
  10632. "spotcontractid": {
  10633. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10634. "type": "string"
  10635. },
  10636. "spotgoodsbrandid": {
  10637. "description": "现货品牌ID",
  10638. "type": "integer"
  10639. },
  10640. "spotgoodsdesc": {
  10641. "description": "商品型号",
  10642. "type": "string"
  10643. },
  10644. "spotgoodsmodelid": {
  10645. "description": "现货型号ID",
  10646. "type": "integer"
  10647. },
  10648. "startdate": {
  10649. "description": "点价开始日期 [2:点价 3:暂定价]",
  10650. "type": "string"
  10651. },
  10652. "updatetime": {
  10653. "description": "更新时间",
  10654. "type": "string"
  10655. },
  10656. "userid": {
  10657. "description": "机构ID",
  10658. "type": "integer"
  10659. },
  10660. "wrstandardcode": {
  10661. "description": "现货商品代码",
  10662. "type": "string"
  10663. },
  10664. "wrstandardid": {
  10665. "description": "现货商品ID",
  10666. "type": "integer"
  10667. },
  10668. "wrstandardname": {
  10669. "description": "现货商品名称",
  10670. "type": "string"
  10671. }
  10672. }
  10673. },
  10674. "ermcp.QryUserInfoRsp": {
  10675. "type": "object",
  10676. "properties": {
  10677. "address": {
  10678. "description": "通讯地址",
  10679. "type": "string"
  10680. },
  10681. "attachment1": {
  10682. "description": "附件1",
  10683. "type": "string"
  10684. },
  10685. "audittime": {
  10686. "description": "审核时间",
  10687. "type": "string"
  10688. },
  10689. "cardfrontphotourl": {
  10690. "description": "证件正面图片地址",
  10691. "type": "string"
  10692. },
  10693. "cardnum": {
  10694. "description": "证件号码",
  10695. "type": "string"
  10696. },
  10697. "cardtype": {
  10698. "description": "证件类型",
  10699. "type": "integer"
  10700. },
  10701. "cardtypename": {
  10702. "description": "证件类型名称",
  10703. "type": "string"
  10704. },
  10705. "cityid": {
  10706. "description": "市",
  10707. "type": "integer"
  10708. },
  10709. "countryid": {
  10710. "description": "国家",
  10711. "type": "integer"
  10712. },
  10713. "createtime": {
  10714. "description": "创建时间",
  10715. "type": "string"
  10716. },
  10717. "customername": {
  10718. "description": "企业名称",
  10719. "type": "string"
  10720. },
  10721. "districtid": {
  10722. "description": "区域",
  10723. "type": "integer"
  10724. },
  10725. "memberuserid": {
  10726. "description": "所属机构ID",
  10727. "type": "integer"
  10728. },
  10729. "mobile": {
  10730. "description": "手机号码",
  10731. "type": "string"
  10732. },
  10733. "modifytime": {
  10734. "description": "修改时间",
  10735. "type": "string"
  10736. },
  10737. "provinceid": {
  10738. "description": "省",
  10739. "type": "integer"
  10740. },
  10741. "remark": {
  10742. "description": "备注",
  10743. "type": "string"
  10744. },
  10745. "status": {
  10746. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10747. "type": "integer"
  10748. },
  10749. "statusdesc": {
  10750. "description": "账户状态中文描述",
  10751. "type": "string"
  10752. },
  10753. "telphone": {
  10754. "description": "联系电话",
  10755. "type": "string"
  10756. },
  10757. "userid": {
  10758. "description": "用户ID",
  10759. "type": "integer"
  10760. },
  10761. "userinfotype": {
  10762. "description": "客户类型",
  10763. "type": "string"
  10764. }
  10765. }
  10766. },
  10767. "ermcp.QryWarehouseRsp": {
  10768. "type": "object",
  10769. "properties": {
  10770. "address": {
  10771. "description": "详细地址",
  10772. "type": "string"
  10773. },
  10774. "areauserid": {
  10775. "description": "所属机构",
  10776. "type": "integer"
  10777. },
  10778. "autoid": {
  10779. "description": "自增ID(仓库ID)",
  10780. "type": "integer"
  10781. },
  10782. "cityid": {
  10783. "description": "市",
  10784. "type": "integer"
  10785. },
  10786. "contactname": {
  10787. "description": "联系人",
  10788. "type": "string"
  10789. },
  10790. "contactnum": {
  10791. "description": "联系电话",
  10792. "type": "string"
  10793. },
  10794. "countryid": {
  10795. "description": "国家",
  10796. "type": "integer"
  10797. },
  10798. "createtime": {
  10799. "description": "创建时间",
  10800. "type": "string"
  10801. },
  10802. "districtid": {
  10803. "description": "区",
  10804. "type": "integer"
  10805. },
  10806. "hasvideo": {
  10807. "description": "是否有视频 - 0:无 1:有",
  10808. "type": "integer"
  10809. },
  10810. "provinceid": {
  10811. "description": "省",
  10812. "type": "integer"
  10813. },
  10814. "remark": {
  10815. "description": "审核备注",
  10816. "type": "string"
  10817. },
  10818. "videourl": {
  10819. "description": "视频地址",
  10820. "type": "string"
  10821. },
  10822. "warehousecode": {
  10823. "description": "仓库代码",
  10824. "type": "string"
  10825. },
  10826. "warehousename": {
  10827. "description": "仓库名称",
  10828. "type": "string"
  10829. },
  10830. "warehousestatus": {
  10831. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10832. "type": "integer"
  10833. },
  10834. "warehousetype": {
  10835. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10836. "type": "integer"
  10837. }
  10838. }
  10839. },
  10840. "ermcp.QryWrStandardDetailRsp": {
  10841. "type": "object",
  10842. "properties": {
  10843. "gbList": {
  10844. "description": "品牌列表",
  10845. "type": "array",
  10846. "items": {
  10847. "$ref": "#/definitions/models.GoodsBrand"
  10848. }
  10849. },
  10850. "goodsList": {
  10851. "description": "关联交易商品列表",
  10852. "type": "array",
  10853. "items": {
  10854. "$ref": "#/definitions/models.RelatedGoodsEx"
  10855. }
  10856. },
  10857. "gtList": {
  10858. "description": "型号列表",
  10859. "type": "array",
  10860. "items": {
  10861. "$ref": "#/definitions/models.GoodsTypeModel"
  10862. }
  10863. },
  10864. "wrd": {
  10865. "description": "基本信息",
  10866. "$ref": "#/definitions/models.ErmcpWrstandard"
  10867. },
  10868. "wrsList": {
  10869. "description": "套保信息列表",
  10870. "type": "array",
  10871. "items": {
  10872. "$ref": "#/definitions/models.WRSConverTDetail"
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "ermcp.QryWrStandardRsp": {
  10878. "type": "object",
  10879. "properties": {
  10880. "areauserid": {
  10881. "description": "所属机构",
  10882. "type": "integer"
  10883. },
  10884. "createtime": {
  10885. "description": "创建时间",
  10886. "type": "string"
  10887. },
  10888. "creatorid": {
  10889. "description": "创建人",
  10890. "type": "integer"
  10891. },
  10892. "deliverygoodsid": {
  10893. "description": "品种ID",
  10894. "type": "integer"
  10895. },
  10896. "enumdicname": {
  10897. "description": "单位名称",
  10898. "type": "string"
  10899. },
  10900. "isvalid": {
  10901. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10902. "type": "integer"
  10903. },
  10904. "minivalue": {
  10905. "description": "最小变动值",
  10906. "type": "integer"
  10907. },
  10908. "minivaluedp": {
  10909. "description": "最小变动值小数位",
  10910. "type": "integer"
  10911. },
  10912. "realminivalue": {
  10913. "description": "实际最小变动值",
  10914. "type": "integer"
  10915. },
  10916. "realminivaluedp": {
  10917. "description": "实际最小变动值小数位",
  10918. "type": "integer"
  10919. },
  10920. "remark": {
  10921. "description": "备注",
  10922. "type": "string"
  10923. },
  10924. "unitid": {
  10925. "description": "单位ID",
  10926. "type": "integer"
  10927. },
  10928. "updatetime": {
  10929. "description": "更新时间",
  10930. "type": "string"
  10931. },
  10932. "wrstandardcode": {
  10933. "description": "现货商品代码",
  10934. "type": "string"
  10935. },
  10936. "wrstandardid": {
  10937. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10938. "type": "integer"
  10939. },
  10940. "wrstandardname": {
  10941. "description": "现货商品名称",
  10942. "type": "string"
  10943. }
  10944. }
  10945. },
  10946. "ermcp.QueryAreaStockApplySumRsp": {
  10947. "type": "object",
  10948. "properties": {
  10949. "brandname": {
  10950. "description": "品牌名称",
  10951. "type": "string"
  10952. },
  10953. "inouttype": {
  10954. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10955. "type": "integer"
  10956. },
  10957. "modelname": {
  10958. "description": "型号名称",
  10959. "type": "string"
  10960. },
  10961. "spotcontractid": {
  10962. "description": "关联现货合同ID",
  10963. "type": "string"
  10964. },
  10965. "spotgoodsbrandid": {
  10966. "description": "品牌id",
  10967. "type": "integer"
  10968. },
  10969. "spotgoodsmodelid": {
  10970. "description": "型号id",
  10971. "type": "integer"
  10972. },
  10973. "totalqty": {
  10974. "description": "总数量",
  10975. "type": "number"
  10976. }
  10977. }
  10978. },
  10979. "ermcp.QueryErmcpTradePositionRsp": {
  10980. "type": "object",
  10981. "properties": {
  10982. "agreeunit": {
  10983. "description": "合约单位",
  10984. "type": "number"
  10985. },
  10986. "buyorsell": {
  10987. "description": "方向 - 0:买 1:卖",
  10988. "type": "integer"
  10989. },
  10990. "curpositionqty": {
  10991. "description": "持仓(总仓数量, 期末头寸)",
  10992. "type": "integer"
  10993. },
  10994. "curtdposition": {
  10995. "description": "今仓数量(期末今日头寸)",
  10996. "type": "integer"
  10997. },
  10998. "curtdpositionenabled": {
  10999. "description": "今仓可用",
  11000. "type": "integer"
  11001. },
  11002. "decimalplace": {
  11003. "description": "报价小数位",
  11004. "type": "integer"
  11005. },
  11006. "enableqty": {
  11007. "description": "可用(总仓可用)",
  11008. "type": "integer"
  11009. },
  11010. "exexchangename": {
  11011. "description": "外部交易所名称",
  11012. "type": "string"
  11013. },
  11014. "goodscode": {
  11015. "description": "商品代码(内部)",
  11016. "type": "string"
  11017. },
  11018. "goodsid": {
  11019. "description": "商品ID(自增ID SEQ_GOODS)",
  11020. "type": "integer"
  11021. },
  11022. "goodsname": {
  11023. "description": "商品名称",
  11024. "type": "string"
  11025. },
  11026. "last": {
  11027. "description": "现价",
  11028. "type": "number"
  11029. },
  11030. "marketid": {
  11031. "description": "所属市场ID",
  11032. "type": "integer"
  11033. },
  11034. "openaverageprice": {
  11035. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11036. "type": "number"
  11037. },
  11038. "opencost": {
  11039. "description": "开仓成本",
  11040. "type": "number"
  11041. },
  11042. "openpl": {
  11043. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11044. "type": "number"
  11045. },
  11046. "outgoodscode": {
  11047. "description": "商品代码(外部)",
  11048. "type": "string"
  11049. },
  11050. "positionaverageprice": {
  11051. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11052. "type": "number"
  11053. },
  11054. "positioncost": {
  11055. "description": "持仓成本",
  11056. "type": "number"
  11057. },
  11058. "positionpl": {
  11059. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11060. "type": "number"
  11061. },
  11062. "positionplrate": {
  11063. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11064. "type": "number"
  11065. },
  11066. "usedmargin": {
  11067. "description": "占用保证金",
  11068. "type": "number"
  11069. }
  11070. }
  11071. },
  11072. "ermcp.RealtimeExposurePositionRsp": {
  11073. "type": "object",
  11074. "properties": {
  11075. "agreeunit": {
  11076. "description": "合约单位",
  11077. "type": "string"
  11078. },
  11079. "areauserid": {
  11080. "description": "所属机构id",
  11081. "type": "integer"
  11082. },
  11083. "convertratio": {
  11084. "description": "期货品种系数(折算系数)",
  11085. "type": "number"
  11086. },
  11087. "curqty": {
  11088. "description": "当前持仓",
  11089. "type": "integer"
  11090. },
  11091. "diffhedgeqty": {
  11092. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11093. "type": "number"
  11094. },
  11095. "diffqty": {
  11096. "description": "持仓变动量=当前持仓-昨日持仓",
  11097. "type": "integer"
  11098. },
  11099. "goodscode": {
  11100. "description": "商品代码",
  11101. "type": "string"
  11102. },
  11103. "goodsid": {
  11104. "description": "商品id",
  11105. "type": "integer"
  11106. },
  11107. "goodsname": {
  11108. "description": "商品名称",
  11109. "type": "string"
  11110. },
  11111. "middlegoodsid": {
  11112. "description": "套保商品id",
  11113. "type": "integer"
  11114. },
  11115. "ydqty": {
  11116. "description": "昨日持仓",
  11117. "type": "integer"
  11118. }
  11119. }
  11120. },
  11121. "ermcp.RealtimeExposureRsp": {
  11122. "type": "object",
  11123. "properties": {
  11124. "AreaUserID": {
  11125. "description": "所属机构",
  11126. "type": "integer"
  11127. },
  11128. "BuyFutureQty": {
  11129. "description": "买入期货数量",
  11130. "type": "number"
  11131. },
  11132. "BuyPlanQty": {
  11133. "description": "采购计划数量",
  11134. "type": "number"
  11135. },
  11136. "BuyPricedQty": {
  11137. "description": "采购合同已定价数量",
  11138. "type": "number"
  11139. },
  11140. "MiddleGoodsCode": {
  11141. "description": "套保品种代码",
  11142. "type": "string"
  11143. },
  11144. "MiddleGoodsHedgeRatio": {
  11145. "description": "应套保比例",
  11146. "type": "number"
  11147. },
  11148. "MiddleGoodsID": {
  11149. "description": "套保品种",
  11150. "type": "integer"
  11151. },
  11152. "MiddleGoodsName": {
  11153. "description": "套保品种名称",
  11154. "type": "string"
  11155. },
  11156. "NeedHedgeExposoure": {
  11157. "description": "应套保敞口",
  11158. "type": "number"
  11159. },
  11160. "NeedHedgeRatio": {
  11161. "description": "应套保敞口比例",
  11162. "type": "number"
  11163. },
  11164. "OriBuyFutureQty": {
  11165. "description": "期初买入期货数量",
  11166. "type": "number"
  11167. },
  11168. "OriBuyPlanQty": {
  11169. "description": "期初采购计划数量",
  11170. "type": "number"
  11171. },
  11172. "OriBuyPricedQty": {
  11173. "description": "期初采购合同已定价数量",
  11174. "type": "number"
  11175. },
  11176. "OriSellFutureQty": {
  11177. "description": "期初卖出期货数量",
  11178. "type": "number"
  11179. },
  11180. "OriSellPlanQty": {
  11181. "description": "期初销售计划数量",
  11182. "type": "number"
  11183. },
  11184. "OriSellPricedQty": {
  11185. "description": "期初销售合同已定价数量",
  11186. "type": "number"
  11187. },
  11188. "SellFutureQty": {
  11189. "description": "卖出期货数量",
  11190. "type": "number"
  11191. },
  11192. "SellPlanQty": {
  11193. "description": "销售计划数量",
  11194. "type": "number"
  11195. },
  11196. "SellPricedQty": {
  11197. "description": "销售合同已定价数量",
  11198. "type": "number"
  11199. },
  11200. "TotalExposure": {
  11201. "description": "总敞口",
  11202. "type": "number"
  11203. },
  11204. "TotalFutureQty": {
  11205. "description": "期货数量",
  11206. "type": "number"
  11207. },
  11208. "TotalHedgeRatio": {
  11209. "description": "敞口比例",
  11210. "type": "number"
  11211. },
  11212. "TotalNeedHedgeQty": {
  11213. "description": "期货应套保量",
  11214. "type": "number"
  11215. },
  11216. "TotalSpotQty": {
  11217. "description": "现货数量",
  11218. "type": "number"
  11219. },
  11220. "diffFutuQty": {
  11221. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11222. "type": "number"
  11223. },
  11224. "diffSpotQty": {
  11225. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11226. "type": "number"
  11227. },
  11228. "enumdicname": {
  11229. "description": "单位名称",
  11230. "type": "string"
  11231. },
  11232. "oriTotalFutuQty": {
  11233. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11234. "type": "number"
  11235. },
  11236. "oriTotalSpotQty": {
  11237. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11238. "type": "number"
  11239. }
  11240. }
  11241. },
  11242. "erms2.QueryArbitrageStrategyRsp": {
  11243. "type": "object",
  11244. "required": [
  11245. "asapplyid"
  11246. ],
  11247. "properties": {
  11248. "applybasis": {
  11249. "description": "申请基差",
  11250. "type": "number"
  11251. },
  11252. "asapplyid": {
  11253. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11254. "type": "string"
  11255. },
  11256. "asname": {
  11257. "description": "策略名称",
  11258. "type": "string"
  11259. },
  11260. "asno": {
  11261. "description": "策略编号",
  11262. "type": "string"
  11263. },
  11264. "basischangepl": {
  11265. "description": "基差变动损益[结算更新]",
  11266. "type": "number"
  11267. },
  11268. "biztype": {
  11269. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11270. "type": "integer"
  11271. },
  11272. "closetradedate": {
  11273. "description": "完结交易日(yyyyMMdd)",
  11274. "type": "string"
  11275. },
  11276. "curbasis": {
  11277. "description": "当前基差[结算更新]",
  11278. "type": "number"
  11279. },
  11280. "deliverygoodsid": {
  11281. "description": "现货品种ID",
  11282. "type": "integer"
  11283. },
  11284. "futureavgprice": {
  11285. "description": "期货建仓均价",
  11286. "type": "number"
  11287. },
  11288. "futurecloseamount": {
  11289. "description": "期货平仓金额",
  11290. "type": "number"
  11291. },
  11292. "futurecloseqty": {
  11293. "description": "期货平仓数量",
  11294. "type": "number"
  11295. },
  11296. "futureopenamount": {
  11297. "description": "期货开仓金额",
  11298. "type": "number"
  11299. },
  11300. "futureopenqty": {
  11301. "description": "期货开仓数量",
  11302. "type": "number"
  11303. },
  11304. "futurepl": {
  11305. "description": "期货总盈亏[结算更新]",
  11306. "type": "number"
  11307. },
  11308. "futureqty": {
  11309. "description": "期货持仓数量",
  11310. "type": "number"
  11311. },
  11312. "futurequote": {
  11313. "description": "期货额度",
  11314. "type": "number"
  11315. },
  11316. "goodsgroupid": {
  11317. "description": "期货品种ID",
  11318. "type": "integer"
  11319. },
  11320. "marketid": {
  11321. "description": "市场ID",
  11322. "type": "integer"
  11323. },
  11324. "netexposure": {
  11325. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11326. "type": "number"
  11327. },
  11328. "netexposurepl": {
  11329. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11330. "type": "number"
  11331. },
  11332. "netexposurerate": {
  11333. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11334. "type": "number"
  11335. },
  11336. "openbasis": {
  11337. "description": "建仓基差",
  11338. "type": "number"
  11339. },
  11340. "pricedspotqty": {
  11341. "description": "已定价现货数量",
  11342. "type": "number"
  11343. },
  11344. "pricedspotqtynotax": {
  11345. "description": "已定价现货不含税数量",
  11346. "type": "number"
  11347. },
  11348. "remark": {
  11349. "description": "备注",
  11350. "type": "string"
  11351. },
  11352. "spotavgprice": {
  11353. "description": "现货均价",
  11354. "type": "number"
  11355. },
  11356. "spotbuyamount": {
  11357. "description": "现货采购金额",
  11358. "type": "number"
  11359. },
  11360. "spotbuyqty": {
  11361. "description": "现货采购数量",
  11362. "type": "number"
  11363. },
  11364. "spotpl": {
  11365. "description": "现货总盈亏[结算更新]",
  11366. "type": "number"
  11367. },
  11368. "spotquota": {
  11369. "description": "现货额度",
  11370. "type": "number"
  11371. },
  11372. "spotsellamount": {
  11373. "description": "现货销售金额",
  11374. "type": "number"
  11375. },
  11376. "spotsellqty": {
  11377. "description": "现货销售数量",
  11378. "type": "number"
  11379. },
  11380. "spotusedquota": {
  11381. "description": "现货占用资金",
  11382. "type": "number"
  11383. },
  11384. "strategystatus": {
  11385. "description": "策略状态 - 0:未结束 1:已结束",
  11386. "type": "integer"
  11387. },
  11388. "totalpl": {
  11389. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11390. "type": "number"
  11391. },
  11392. "tradedate": {
  11393. "description": "交易日(yyyyMMdd)",
  11394. "type": "string"
  11395. },
  11396. "updatetime": {
  11397. "description": "更新时间",
  11398. "type": "string"
  11399. },
  11400. "usedquota": {
  11401. "description": "已占用资金",
  11402. "type": "number"
  11403. },
  11404. "userid": {
  11405. "description": "所属机构",
  11406. "type": "integer"
  11407. }
  11408. }
  11409. },
  11410. "erms2.QueryInnerTradeDetailRsp": {
  11411. "type": "object",
  11412. "required": [
  11413. "asapplyid",
  11414. "buyorsell",
  11415. "goodscode",
  11416. "goodsgroupid",
  11417. "goodsgroupname",
  11418. "goodsname",
  11419. "tradeid"
  11420. ],
  11421. "properties": {
  11422. "accountid": {
  11423. "description": "账号ID",
  11424. "type": "integer"
  11425. },
  11426. "agreeunit": {
  11427. "description": "合约单位",
  11428. "type": "number"
  11429. },
  11430. "asapplyid": {
  11431. "description": "策略申请ID",
  11432. "type": "integer"
  11433. },
  11434. "asname": {
  11435. "description": "策略名称",
  11436. "type": "string"
  11437. },
  11438. "asno": {
  11439. "description": "策略编号",
  11440. "type": "string"
  11441. },
  11442. "buyorsell": {
  11443. "description": "方向 - 0:买 1:卖",
  11444. "type": "integer"
  11445. },
  11446. "channelbuildtype": {
  11447. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11448. "type": "integer"
  11449. },
  11450. "closetype": {
  11451. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11452. "type": "integer"
  11453. },
  11454. "decimalplace": {
  11455. "description": "报价小数位",
  11456. "type": "integer"
  11457. },
  11458. "detailtype": {
  11459. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11460. "type": "integer"
  11461. },
  11462. "exexchangecode": {
  11463. "description": "外部交易所代码",
  11464. "type": "string"
  11465. },
  11466. "exexchangename": {
  11467. "description": "外部交易所名称",
  11468. "type": "string"
  11469. },
  11470. "goodscode": {
  11471. "description": "商品代码(合约)",
  11472. "type": "string"
  11473. },
  11474. "goodsgroupid": {
  11475. "description": "商品组ID(品种ID)",
  11476. "type": "integer"
  11477. },
  11478. "goodsgroupname": {
  11479. "description": "商品组名称(品种)",
  11480. "type": "string"
  11481. },
  11482. "goodsid": {
  11483. "description": "商品ID",
  11484. "type": "integer"
  11485. },
  11486. "goodsname": {
  11487. "description": "商品名称(合约)",
  11488. "type": "string"
  11489. },
  11490. "goodunit": {
  11491. "description": "报价单位",
  11492. "type": "string"
  11493. },
  11494. "marketid": {
  11495. "description": "市场ID",
  11496. "type": "integer"
  11497. },
  11498. "orderid": {
  11499. "description": "委托单号",
  11500. "type": "string"
  11501. },
  11502. "outgoodscode": {
  11503. "description": "商品代码(外部)",
  11504. "type": "string"
  11505. },
  11506. "relatedouttradeid": {
  11507. "description": "关联外部成交单ID",
  11508. "type": "string"
  11509. },
  11510. "remark": {
  11511. "description": "备注",
  11512. "type": "string"
  11513. },
  11514. "spotcontractid": {
  11515. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11516. "type": "integer"
  11517. },
  11518. "spotcontractno": {
  11519. "description": "现货合同编号",
  11520. "type": "string"
  11521. },
  11522. "tradeid": {
  11523. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11524. "type": "string"
  11525. },
  11526. "tradeprice": {
  11527. "description": "成交价格",
  11528. "type": "number"
  11529. },
  11530. "tradeqty": {
  11531. "description": "成交数量",
  11532. "type": "integer"
  11533. },
  11534. "tradetime": {
  11535. "description": "成交时间",
  11536. "type": "string"
  11537. },
  11538. "updatetime": {
  11539. "description": "更新时间",
  11540. "type": "string"
  11541. }
  11542. }
  11543. },
  11544. "erms2.QuerySpotContractRsp": {
  11545. "type": "object",
  11546. "required": [
  11547. "spotcontractid"
  11548. ],
  11549. "properties": {
  11550. "accountid": {
  11551. "description": "资金账户ID",
  11552. "type": "integer"
  11553. },
  11554. "areauserid": {
  11555. "description": "所属机构",
  11556. "type": "integer"
  11557. },
  11558. "closedate": {
  11559. "description": "终止日期",
  11560. "type": "string"
  11561. },
  11562. "closeremark": {
  11563. "description": "结束备注",
  11564. "type": "string"
  11565. },
  11566. "closetradedate": {
  11567. "description": "完结交易日(yyyyMMdd)",
  11568. "type": "string"
  11569. },
  11570. "closetype": {
  11571. "description": "终止类型 - 1:违约 2:提前终止",
  11572. "type": "integer"
  11573. },
  11574. "contractamount": {
  11575. "description": "合同金额",
  11576. "type": "number"
  11577. },
  11578. "contractattachment": {
  11579. "description": "合同附件",
  11580. "type": "string"
  11581. },
  11582. "contractno": {
  11583. "description": "现货合同编号",
  11584. "type": "string"
  11585. },
  11586. "contractqty": {
  11587. "description": "合同数量(数值) (用于计算)",
  11588. "type": "number"
  11589. },
  11590. "contractqtychar": {
  11591. "description": "合同数量\\已订价数量 (用于显示)",
  11592. "type": "string"
  11593. },
  11594. "contractstatus": {
  11595. "description": "合同状态 - 0:未结束 1:已结束",
  11596. "type": "integer"
  11597. },
  11598. "contracttype": {
  11599. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11600. "type": "integer"
  11601. },
  11602. "customeraccountid": {
  11603. "description": "客户资金账户ID",
  11604. "type": "integer"
  11605. },
  11606. "customeruserid": {
  11607. "description": "客户ID",
  11608. "type": "integer"
  11609. },
  11610. "deliverygoodsdesc": {
  11611. "description": "品种说明",
  11612. "type": "string"
  11613. },
  11614. "deliverygoodsid": {
  11615. "description": "现货品种ID",
  11616. "type": "integer"
  11617. },
  11618. "handlestatus": {
  11619. "description": "处理状态",
  11620. "type": "integer"
  11621. },
  11622. "invoiceatt": {
  11623. "description": "发票附件",
  11624. "type": "string"
  11625. },
  11626. "invoicedatetime": {
  11627. "description": "开收票更新时间",
  11628. "type": "string"
  11629. },
  11630. "invoiceopentime": {
  11631. "description": "开票时间",
  11632. "type": "string"
  11633. },
  11634. "invoiceremark": {
  11635. "description": "发票备注",
  11636. "type": "string"
  11637. },
  11638. "invoicestatus": {
  11639. "description": "开收票状态 - 0:未开票 1:已开票",
  11640. "type": "integer"
  11641. },
  11642. "lastdate": {
  11643. "description": "交货时间",
  11644. "type": "string"
  11645. },
  11646. "marketid": {
  11647. "description": "市场ID",
  11648. "type": "integer"
  11649. },
  11650. "paydatetime": {
  11651. "description": "收付款更新时间",
  11652. "type": "string"
  11653. },
  11654. "payremark": {
  11655. "description": "收付款备注",
  11656. "type": "string"
  11657. },
  11658. "paystatus": {
  11659. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11660. "type": "integer"
  11661. },
  11662. "positionqty": {
  11663. "description": "头寸数量 - 合同数量去小数部分",
  11664. "type": "integer"
  11665. },
  11666. "producttype": {
  11667. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11668. "type": "integer"
  11669. },
  11670. "relatedqty": {
  11671. "description": "已关联数量",
  11672. "type": "number"
  11673. },
  11674. "relatedstatus": {
  11675. "description": "关联完结状态 - 0:未结束 1:已结束",
  11676. "type": "integer"
  11677. },
  11678. "remark": {
  11679. "description": "备注",
  11680. "type": "string"
  11681. },
  11682. "signdate": {
  11683. "description": "签订日期",
  11684. "type": "string"
  11685. },
  11686. "spotcontractid": {
  11687. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11688. "type": "string"
  11689. },
  11690. "spotdatetime": {
  11691. "description": "收发货更新时间",
  11692. "type": "string"
  11693. },
  11694. "spotprice": {
  11695. "description": "价格",
  11696. "type": "number"
  11697. },
  11698. "spotremark": {
  11699. "description": "收发货备注",
  11700. "type": "string"
  11701. },
  11702. "spotstatus": {
  11703. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11704. "type": "integer"
  11705. },
  11706. "tradedate": {
  11707. "description": "交易日(yyyyMMdd)",
  11708. "type": "string"
  11709. },
  11710. "userid": {
  11711. "description": "业务员用户ID",
  11712. "type": "integer"
  11713. },
  11714. "warehouseid": {
  11715. "description": "仓库ID",
  11716. "type": "integer"
  11717. },
  11718. "wrfactortypeid": {
  11719. "description": "仓单要素类型ID",
  11720. "type": "integer"
  11721. },
  11722. "wrstandardid": {
  11723. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11724. "type": "integer"
  11725. }
  11726. }
  11727. },
  11728. "erms3.AddErms2ASApplyReq": {
  11729. "type": "object",
  11730. "required": [
  11731. "asapplyid"
  11732. ],
  11733. "properties": {
  11734. "applybasis": {
  11735. "description": "申请基差",
  11736. "type": "number"
  11737. },
  11738. "applystatus": {
  11739. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11740. "type": "integer"
  11741. },
  11742. "asapplyid": {
  11743. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11744. "type": "integer"
  11745. },
  11746. "asname": {
  11747. "description": "策略名称",
  11748. "type": "string"
  11749. },
  11750. "asno": {
  11751. "description": "策略编号",
  11752. "type": "string"
  11753. },
  11754. "auditid": {
  11755. "description": "审核人",
  11756. "type": "integer"
  11757. },
  11758. "auditremark": {
  11759. "description": "审核备注",
  11760. "type": "string"
  11761. },
  11762. "audittime": {
  11763. "description": "审核时间",
  11764. "type": "string"
  11765. },
  11766. "biztype": {
  11767. "description": "业务类型 - 1:正向套利 2:反向套利",
  11768. "type": "integer"
  11769. },
  11770. "createtime": {
  11771. "description": "创建时间",
  11772. "type": "string"
  11773. },
  11774. "creatorid": {
  11775. "description": "创建人",
  11776. "type": "integer"
  11777. },
  11778. "deliverygoodsid": {
  11779. "description": "现货品种ID",
  11780. "type": "integer"
  11781. },
  11782. "futurequote": {
  11783. "description": "期货额度",
  11784. "type": "number"
  11785. },
  11786. "goodsgroupid": {
  11787. "description": "期货品种ID",
  11788. "type": "integer"
  11789. },
  11790. "marketid": {
  11791. "description": "市场ID",
  11792. "type": "integer"
  11793. },
  11794. "remark": {
  11795. "description": "备注",
  11796. "type": "string"
  11797. },
  11798. "spotquota": {
  11799. "description": "现货额度",
  11800. "type": "number"
  11801. },
  11802. "tradedate": {
  11803. "description": "交易日(yyyyMMdd)",
  11804. "type": "string"
  11805. },
  11806. "userid": {
  11807. "description": "所属机构",
  11808. "type": "integer"
  11809. }
  11810. }
  11811. },
  11812. "erms3.AddErms2SpotTradeApplyReq": {
  11813. "type": "object",
  11814. "required": [
  11815. "spottradeid"
  11816. ],
  11817. "properties": {
  11818. "applyjsondetail": {
  11819. "description": "申请明细(JSON)",
  11820. "type": "string"
  11821. },
  11822. "applystatus": {
  11823. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11824. "type": "integer"
  11825. },
  11826. "areauserid": {
  11827. "description": "所属机构",
  11828. "type": "integer"
  11829. },
  11830. "auditid": {
  11831. "description": "审核人",
  11832. "type": "integer"
  11833. },
  11834. "auditremark": {
  11835. "description": "审核备注",
  11836. "type": "string"
  11837. },
  11838. "audittime": {
  11839. "description": "审核时间",
  11840. "type": "string"
  11841. },
  11842. "createtime": {
  11843. "description": "创建时间",
  11844. "type": "string"
  11845. },
  11846. "creatorid": {
  11847. "description": "创建人",
  11848. "type": "integer"
  11849. },
  11850. "deliverygoodsid": {
  11851. "description": "现货品种ID",
  11852. "type": "integer"
  11853. },
  11854. "futureaccountid": {
  11855. "description": "期货资金账户",
  11856. "type": "integer"
  11857. },
  11858. "goodsgroupid": {
  11859. "description": "期货品种",
  11860. "type": "integer"
  11861. },
  11862. "marketid": {
  11863. "description": "市场ID",
  11864. "type": "integer"
  11865. },
  11866. "remark": {
  11867. "description": "备注",
  11868. "type": "string"
  11869. },
  11870. "spotaccountid": {
  11871. "description": "现货资金账户",
  11872. "type": "integer"
  11873. },
  11874. "spottradeid": {
  11875. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11876. "type": "integer"
  11877. },
  11878. "spottradename": {
  11879. "description": "业务名称",
  11880. "type": "string"
  11881. },
  11882. "spottradeno": {
  11883. "description": "业务编号",
  11884. "type": "string"
  11885. },
  11886. "tradedate": {
  11887. "description": "交易日(yyyyMMdd)",
  11888. "type": "string"
  11889. },
  11890. "wrstandardid": {
  11891. "description": "仓单标准ID",
  11892. "type": "integer"
  11893. }
  11894. }
  11895. },
  11896. "erms3.AddSpotContractApplyReq": {
  11897. "type": "object",
  11898. "required": [
  11899. "accountid",
  11900. "areauserid",
  11901. "contractno",
  11902. "contracttype",
  11903. "customeraccountid",
  11904. "customeruserid",
  11905. "details",
  11906. "orimargin",
  11907. "signdate"
  11908. ],
  11909. "properties": {
  11910. "accountid": {
  11911. "description": "资金账户ID",
  11912. "type": "integer"
  11913. },
  11914. "areauserid": {
  11915. "description": "所属机构",
  11916. "type": "integer"
  11917. },
  11918. "contractattachment": {
  11919. "description": "合同附件",
  11920. "type": "string"
  11921. },
  11922. "contractno": {
  11923. "description": "现货合同编号",
  11924. "type": "string"
  11925. },
  11926. "contracttype": {
  11927. "description": "现货合同类型 - 1:采购 -1:销售",
  11928. "type": "integer"
  11929. },
  11930. "creatorid": {
  11931. "description": "申请人",
  11932. "type": "integer"
  11933. },
  11934. "customeraccountid": {
  11935. "description": "客户资金账户ID",
  11936. "type": "integer"
  11937. },
  11938. "customeruserid": {
  11939. "description": "客户ID",
  11940. "type": "integer"
  11941. },
  11942. "details": {
  11943. "description": "明细",
  11944. "type": "array",
  11945. "items": {
  11946. "$ref": "#/definitions/erms3.SoptContractDetail"
  11947. }
  11948. },
  11949. "orimargin": {
  11950. "description": "初始保证金",
  11951. "type": "number"
  11952. },
  11953. "remark": {
  11954. "description": "备注",
  11955. "type": "string"
  11956. },
  11957. "signdate": {
  11958. "description": "签订日期",
  11959. "type": "string"
  11960. }
  11961. }
  11962. },
  11963. "erms3.AddSpotContractApplyRsp": {
  11964. "type": "object",
  11965. "required": [
  11966. "contractno"
  11967. ],
  11968. "properties": {
  11969. "contractno": {
  11970. "description": "现货合同编号",
  11971. "type": "string"
  11972. },
  11973. "spotcontractid": {
  11974. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11975. "type": "integer"
  11976. }
  11977. }
  11978. },
  11979. "erms3.AddUserInfoApplyReq": {
  11980. "type": "object",
  11981. "required": [
  11982. "userid"
  11983. ],
  11984. "properties": {
  11985. "accountid": {
  11986. "description": "交易系统帐号Id (加密存储)",
  11987. "type": "integer"
  11988. },
  11989. "areacode": {
  11990. "description": "机构代码",
  11991. "type": "string"
  11992. },
  11993. "areaid": {
  11994. "description": "机构Id",
  11995. "type": "integer"
  11996. },
  11997. "attachment1": {
  11998. "description": "附件1",
  11999. "type": "string"
  12000. },
  12001. "attachment2": {
  12002. "description": "附件2",
  12003. "type": "string"
  12004. },
  12005. "attachment3": {
  12006. "description": "附件3",
  12007. "type": "string"
  12008. },
  12009. "attachment4": {
  12010. "description": "附件4",
  12011. "type": "string"
  12012. },
  12013. "attachment5": {
  12014. "description": "附件5",
  12015. "type": "string"
  12016. },
  12017. "auditedby": {
  12018. "description": "审核人",
  12019. "type": "string"
  12020. },
  12021. "auditime": {
  12022. "description": "审核时间",
  12023. "type": "string"
  12024. },
  12025. "bankaccount": {
  12026. "description": "银行帐号 (加密存储)",
  12027. "type": "string"
  12028. },
  12029. "bankaccountname": {
  12030. "description": "收款人名称",
  12031. "type": "string"
  12032. },
  12033. "bankcardbackphotourl": {
  12034. "description": "银行卡背面照地址",
  12035. "type": "string"
  12036. },
  12037. "bankcardfrontphotourl": {
  12038. "description": "银行卡正面照地址",
  12039. "type": "string"
  12040. },
  12041. "bankid": {
  12042. "description": "银行编码",
  12043. "type": "string"
  12044. },
  12045. "bankname": {
  12046. "description": "银行名称",
  12047. "type": "string"
  12048. },
  12049. "bankpictureurl": {
  12050. "description": "银行卡正面地址",
  12051. "type": "string"
  12052. },
  12053. "biznature": {
  12054. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12055. "type": "integer"
  12056. },
  12057. "bizscope": {
  12058. "description": "企业经营范围(企业)",
  12059. "type": "string"
  12060. },
  12061. "biztype": {
  12062. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12063. "type": "integer"
  12064. },
  12065. "brokerid": {
  12066. "description": "经纪人ID(加密存储)",
  12067. "type": "string"
  12068. },
  12069. "cardaddress": {
  12070. "description": "证件地址 (加密存储)",
  12071. "type": "string"
  12072. },
  12073. "cardbackphotourl": {
  12074. "description": "背面证件照地址",
  12075. "type": "string"
  12076. },
  12077. "cardfrontphotourl": {
  12078. "description": "正面证件照地址",
  12079. "type": "string"
  12080. },
  12081. "cardnum": {
  12082. "description": "证件号码 (加密存储)",
  12083. "type": "string"
  12084. },
  12085. "cardtype": {
  12086. "description": "证件类型",
  12087. "type": "integer"
  12088. },
  12089. "cityid": {
  12090. "description": "市",
  12091. "type": "integer"
  12092. },
  12093. "company": {
  12094. "description": "公司(个人)",
  12095. "type": "string"
  12096. },
  12097. "contactcardbackphotourl": {
  12098. "description": "联系人证件背面图片地址",
  12099. "type": "string"
  12100. },
  12101. "contactcardfrontphotourl": {
  12102. "description": "联系人证件正面图片地址",
  12103. "type": "string"
  12104. },
  12105. "contactname": {
  12106. "description": "联系人",
  12107. "type": "string"
  12108. },
  12109. "countryid": {
  12110. "description": "国家",
  12111. "type": "integer"
  12112. },
  12113. "createtime": {
  12114. "description": "开户申请时间",
  12115. "type": "string"
  12116. },
  12117. "cusbankid": {
  12118. "description": "签约类型",
  12119. "type": "string"
  12120. },
  12121. "cusbankname": {
  12122. "description": "签约类型名称",
  12123. "type": "string"
  12124. },
  12125. "customername": {
  12126. "description": "客户名称(企业名称)",
  12127. "type": "string"
  12128. },
  12129. "districtid": {
  12130. "description": "地区",
  12131. "type": "integer"
  12132. },
  12133. "email": {
  12134. "description": "Email地址(加密存储)",
  12135. "type": "string"
  12136. },
  12137. "halfbodyphotourl": {
  12138. "description": "半身照地址",
  12139. "type": "string"
  12140. },
  12141. "headurl": {
  12142. "description": "头像地址",
  12143. "type": "string"
  12144. },
  12145. "ipaddress": {
  12146. "description": "IP地址",
  12147. "type": "string"
  12148. },
  12149. "isvalidate": {
  12150. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12151. "type": "string"
  12152. },
  12153. "legalcardbackphotourl": {
  12154. "description": "法人身份证背面照地址",
  12155. "type": "string"
  12156. },
  12157. "legalcardfrontphotourl": {
  12158. "description": "法人身份证正面照地址",
  12159. "type": "string"
  12160. },
  12161. "legalpersonname": {
  12162. "description": "法人姓名(企业)",
  12163. "type": "string"
  12164. },
  12165. "logincode": {
  12166. "description": "登录帐号 (加密存储)",
  12167. "type": "string"
  12168. },
  12169. "memberareaid": {
  12170. "description": "所属会员ID",
  12171. "type": "integer"
  12172. },
  12173. "mobile2": {
  12174. "description": "手机号码[明文-尚志]",
  12175. "type": "string"
  12176. },
  12177. "mobilephone": {
  12178. "description": "手机号码 (加密存储)",
  12179. "type": "string"
  12180. },
  12181. "modifiedby": {
  12182. "description": "修改人帐号",
  12183. "type": "integer"
  12184. },
  12185. "modifiedtime": {
  12186. "description": "修改时间",
  12187. "type": "string"
  12188. },
  12189. "nickname": {
  12190. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12191. "type": "string"
  12192. },
  12193. "openmode": {
  12194. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12195. "type": "integer"
  12196. },
  12197. "otherurl": {
  12198. "description": "其它图片地址[使用分号分隔]",
  12199. "type": "string"
  12200. },
  12201. "postalcode": {
  12202. "description": "邮政编码",
  12203. "type": "string"
  12204. },
  12205. "provinceid": {
  12206. "description": "省",
  12207. "type": "integer"
  12208. },
  12209. "proxystatementurl": {
  12210. "description": "授权委托书",
  12211. "type": "string"
  12212. },
  12213. "qq": {
  12214. "description": "QQ(加密存储",
  12215. "type": "string"
  12216. },
  12217. "referral": {
  12218. "description": "推荐人编码",
  12219. "type": "string"
  12220. },
  12221. "remark": {
  12222. "description": "备注",
  12223. "type": "string"
  12224. },
  12225. "removebeforestatus": {
  12226. "description": "REMOVEBEFORESTATUS",
  12227. "type": "integer"
  12228. },
  12229. "sex": {
  12230. "description": "性别 - 0:女 1:男",
  12231. "type": "integer"
  12232. },
  12233. "signedstatus": {
  12234. "description": "账户一号签签约状态",
  12235. "type": "integer"
  12236. },
  12237. "signpdfurl": {
  12238. "description": "签约pdf文件",
  12239. "type": "string"
  12240. },
  12241. "subbranch": {
  12242. "description": "开户支行",
  12243. "type": "string"
  12244. },
  12245. "telphone": {
  12246. "description": "联系电话(加密存储)",
  12247. "type": "string"
  12248. },
  12249. "userid": {
  12250. "description": "用户ID(自增ID)",
  12251. "type": "integer"
  12252. },
  12253. "userinfotype": {
  12254. "description": "用户信息类型 - 1:个人 2:企业",
  12255. "type": "integer"
  12256. },
  12257. "username": {
  12258. "description": "用户姓名",
  12259. "type": "string"
  12260. },
  12261. "userstate": {
  12262. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12263. "type": "integer"
  12264. },
  12265. "usertype": {
  12266. "description": "用户类型 - 1:投资者 2:机构",
  12267. "type": "integer"
  12268. },
  12269. "videourl": {
  12270. "description": "视频地址",
  12271. "type": "string"
  12272. },
  12273. "wechat": {
  12274. "description": "微信号 (加密存储)",
  12275. "type": "string"
  12276. }
  12277. }
  12278. },
  12279. "erms3.CustomerInfo": {
  12280. "type": "object",
  12281. "required": [
  12282. "userid"
  12283. ],
  12284. "properties": {
  12285. "accountids": {
  12286. "description": "资金账户ID列表",
  12287. "type": "array",
  12288. "items": {
  12289. "type": "integer"
  12290. }
  12291. },
  12292. "customername": {
  12293. "description": "名称(企业名称)",
  12294. "type": "string"
  12295. },
  12296. "mobile": {
  12297. "description": "手机号码",
  12298. "type": "string"
  12299. },
  12300. "userid": {
  12301. "description": "用户ID",
  12302. "type": "integer"
  12303. }
  12304. }
  12305. },
  12306. "erms3.ModifyUserInfoApplyReq": {
  12307. "type": "object",
  12308. "required": [
  12309. "userid"
  12310. ],
  12311. "properties": {
  12312. "accountid": {
  12313. "description": "交易系统帐号Id (加密存储)",
  12314. "type": "integer"
  12315. },
  12316. "areacode": {
  12317. "description": "机构代码",
  12318. "type": "string"
  12319. },
  12320. "areaid": {
  12321. "description": "机构Id",
  12322. "type": "integer"
  12323. },
  12324. "attachment1": {
  12325. "description": "附件1",
  12326. "type": "string"
  12327. },
  12328. "attachment2": {
  12329. "description": "附件2",
  12330. "type": "string"
  12331. },
  12332. "attachment3": {
  12333. "description": "附件3",
  12334. "type": "string"
  12335. },
  12336. "attachment4": {
  12337. "description": "附件4",
  12338. "type": "string"
  12339. },
  12340. "attachment5": {
  12341. "description": "附件5",
  12342. "type": "string"
  12343. },
  12344. "auditedby": {
  12345. "description": "审核人",
  12346. "type": "string"
  12347. },
  12348. "auditime": {
  12349. "description": "审核时间",
  12350. "type": "string"
  12351. },
  12352. "bankaccount": {
  12353. "description": "银行帐号 (加密存储)",
  12354. "type": "string"
  12355. },
  12356. "bankaccountname": {
  12357. "description": "收款人名称",
  12358. "type": "string"
  12359. },
  12360. "bankcardbackphotourl": {
  12361. "description": "银行卡背面照地址",
  12362. "type": "string"
  12363. },
  12364. "bankcardfrontphotourl": {
  12365. "description": "银行卡正面照地址",
  12366. "type": "string"
  12367. },
  12368. "bankid": {
  12369. "description": "银行编码",
  12370. "type": "string"
  12371. },
  12372. "bankname": {
  12373. "description": "银行名称",
  12374. "type": "string"
  12375. },
  12376. "bankpictureurl": {
  12377. "description": "银行卡正面地址",
  12378. "type": "string"
  12379. },
  12380. "biznature": {
  12381. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12382. "type": "integer"
  12383. },
  12384. "bizscope": {
  12385. "description": "企业经营范围(企业)",
  12386. "type": "string"
  12387. },
  12388. "biztype": {
  12389. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12390. "type": "integer"
  12391. },
  12392. "brokerid": {
  12393. "description": "经纪人ID(加密存储)",
  12394. "type": "string"
  12395. },
  12396. "cardaddress": {
  12397. "description": "证件地址 (加密存储)",
  12398. "type": "string"
  12399. },
  12400. "cardbackphotourl": {
  12401. "description": "背面证件照地址",
  12402. "type": "string"
  12403. },
  12404. "cardfrontphotourl": {
  12405. "description": "正面证件照地址",
  12406. "type": "string"
  12407. },
  12408. "cardnum": {
  12409. "description": "证件号码 (加密存储)",
  12410. "type": "string"
  12411. },
  12412. "cardtype": {
  12413. "description": "证件类型",
  12414. "type": "integer"
  12415. },
  12416. "cityid": {
  12417. "description": "市",
  12418. "type": "integer"
  12419. },
  12420. "company": {
  12421. "description": "公司(个人)",
  12422. "type": "string"
  12423. },
  12424. "contactcardbackphotourl": {
  12425. "description": "联系人证件背面图片地址",
  12426. "type": "string"
  12427. },
  12428. "contactcardfrontphotourl": {
  12429. "description": "联系人证件正面图片地址",
  12430. "type": "string"
  12431. },
  12432. "contactname": {
  12433. "description": "联系人",
  12434. "type": "string"
  12435. },
  12436. "countryid": {
  12437. "description": "国家",
  12438. "type": "integer"
  12439. },
  12440. "createtime": {
  12441. "description": "开户申请时间",
  12442. "type": "string"
  12443. },
  12444. "cusbankid": {
  12445. "description": "签约类型",
  12446. "type": "string"
  12447. },
  12448. "cusbankname": {
  12449. "description": "签约类型名称",
  12450. "type": "string"
  12451. },
  12452. "customername": {
  12453. "description": "客户名称(企业名称)",
  12454. "type": "string"
  12455. },
  12456. "districtid": {
  12457. "description": "地区",
  12458. "type": "integer"
  12459. },
  12460. "email": {
  12461. "description": "Email地址(加密存储)",
  12462. "type": "string"
  12463. },
  12464. "halfbodyphotourl": {
  12465. "description": "半身照地址",
  12466. "type": "string"
  12467. },
  12468. "headurl": {
  12469. "description": "头像地址",
  12470. "type": "string"
  12471. },
  12472. "ipaddress": {
  12473. "description": "IP地址",
  12474. "type": "string"
  12475. },
  12476. "isvalidate": {
  12477. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12478. "type": "string"
  12479. },
  12480. "legalcardbackphotourl": {
  12481. "description": "法人身份证背面照地址",
  12482. "type": "string"
  12483. },
  12484. "legalcardfrontphotourl": {
  12485. "description": "法人身份证正面照地址",
  12486. "type": "string"
  12487. },
  12488. "legalpersonname": {
  12489. "description": "法人姓名(企业)",
  12490. "type": "string"
  12491. },
  12492. "logincode": {
  12493. "description": "登录帐号 (加密存储)",
  12494. "type": "string"
  12495. },
  12496. "memberareaid": {
  12497. "description": "所属会员ID",
  12498. "type": "integer"
  12499. },
  12500. "mobile2": {
  12501. "description": "手机号码[明文-尚志]",
  12502. "type": "string"
  12503. },
  12504. "mobilephone": {
  12505. "description": "手机号码 (加密存储)",
  12506. "type": "string"
  12507. },
  12508. "modifiedby": {
  12509. "description": "修改人帐号",
  12510. "type": "integer"
  12511. },
  12512. "modifiedtime": {
  12513. "description": "修改时间",
  12514. "type": "string"
  12515. },
  12516. "nickname": {
  12517. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12518. "type": "string"
  12519. },
  12520. "openmode": {
  12521. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12522. "type": "integer"
  12523. },
  12524. "otherurl": {
  12525. "description": "其它图片地址[使用分号分隔]",
  12526. "type": "string"
  12527. },
  12528. "postalcode": {
  12529. "description": "邮政编码",
  12530. "type": "string"
  12531. },
  12532. "provinceid": {
  12533. "description": "省",
  12534. "type": "integer"
  12535. },
  12536. "proxystatementurl": {
  12537. "description": "授权委托书",
  12538. "type": "string"
  12539. },
  12540. "qq": {
  12541. "description": "QQ(加密存储",
  12542. "type": "string"
  12543. },
  12544. "referral": {
  12545. "description": "推荐人编码",
  12546. "type": "string"
  12547. },
  12548. "remark": {
  12549. "description": "备注",
  12550. "type": "string"
  12551. },
  12552. "removebeforestatus": {
  12553. "description": "REMOVEBEFORESTATUS",
  12554. "type": "integer"
  12555. },
  12556. "sex": {
  12557. "description": "性别 - 0:女 1:男",
  12558. "type": "integer"
  12559. },
  12560. "signedstatus": {
  12561. "description": "账户一号签签约状态",
  12562. "type": "integer"
  12563. },
  12564. "signpdfurl": {
  12565. "description": "签约pdf文件",
  12566. "type": "string"
  12567. },
  12568. "subbranch": {
  12569. "description": "开户支行",
  12570. "type": "string"
  12571. },
  12572. "telphone": {
  12573. "description": "联系电话(加密存储)",
  12574. "type": "string"
  12575. },
  12576. "userid": {
  12577. "description": "用户ID(自增ID)",
  12578. "type": "integer"
  12579. },
  12580. "userinfotype": {
  12581. "description": "用户信息类型 - 1:个人 2:企业",
  12582. "type": "integer"
  12583. },
  12584. "username": {
  12585. "description": "用户姓名",
  12586. "type": "string"
  12587. },
  12588. "userstate": {
  12589. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12590. "type": "integer"
  12591. },
  12592. "usertype": {
  12593. "description": "用户类型 - 1:投资者 2:机构",
  12594. "type": "integer"
  12595. },
  12596. "videourl": {
  12597. "description": "视频地址",
  12598. "type": "string"
  12599. },
  12600. "wechat": {
  12601. "description": "微信号 (加密存储)",
  12602. "type": "string"
  12603. }
  12604. }
  12605. },
  12606. "erms3.QryAuditContractRsp": {
  12607. "type": "object",
  12608. "required": [
  12609. "matchcustomername",
  12610. "spotcontractid"
  12611. ],
  12612. "properties": {
  12613. "accountid": {
  12614. "description": "交易员ID",
  12615. "type": "string"
  12616. },
  12617. "applystatus": {
  12618. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12619. "type": "integer"
  12620. },
  12621. "curdeliveryqty": {
  12622. "description": "未交收量",
  12623. "type": "integer"
  12624. },
  12625. "customername": {
  12626. "description": "采购方ID",
  12627. "type": "string"
  12628. },
  12629. "deliverygoodsid": {
  12630. "description": "品种ID",
  12631. "type": "string"
  12632. },
  12633. "deliveryqty": {
  12634. "description": "交收量",
  12635. "type": "integer"
  12636. },
  12637. "enumdicname": {
  12638. "description": "单位名称",
  12639. "type": "string"
  12640. },
  12641. "matchaccountid": {
  12642. "description": "业务员ID",
  12643. "type": "string"
  12644. },
  12645. "matchcustomername": {
  12646. "description": "销售方ID",
  12647. "type": "string"
  12648. },
  12649. "pricedqty": {
  12650. "description": "定价量",
  12651. "type": "number"
  12652. },
  12653. "signdate": {
  12654. "description": "签订日期",
  12655. "type": "string"
  12656. },
  12657. "spotcontractid": {
  12658. "description": "合同ID",
  12659. "type": "string"
  12660. },
  12661. "totaldqty": {
  12662. "description": "合同量",
  12663. "type": "number"
  12664. },
  12665. "unpricedqty": {
  12666. "description": "未定价量",
  12667. "type": "number"
  12668. },
  12669. "wrstandardname": {
  12670. "description": "商品名称",
  12671. "type": "string"
  12672. }
  12673. }
  12674. },
  12675. "erms3.QryPendingBizRsp": {
  12676. "type": "object",
  12677. "properties": {
  12678. "accountid": {
  12679. "description": "现货账户",
  12680. "type": "string"
  12681. },
  12682. "areaname": {
  12683. "description": "所属部门",
  12684. "type": "string"
  12685. },
  12686. "bizid": {
  12687. "description": "业务ID",
  12688. "type": "string"
  12689. },
  12690. "bizname": {
  12691. "description": "业务名称",
  12692. "type": "string"
  12693. },
  12694. "status": {
  12695. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12696. "type": "integer"
  12697. },
  12698. "type": {
  12699. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12700. "type": "integer"
  12701. }
  12702. }
  12703. },
  12704. "erms3.QueryBusinessInfoRsp": {
  12705. "type": "object",
  12706. "properties": {
  12707. "businessid": {
  12708. "description": "业务ID.",
  12709. "type": "integer"
  12710. },
  12711. "buyamount": {
  12712. "description": "采购额.",
  12713. "type": "number"
  12714. },
  12715. "buyqty": {
  12716. "description": "采购量.",
  12717. "type": "string"
  12718. },
  12719. "futurepl": {
  12720. "description": "期货盈亏.",
  12721. "type": "number"
  12722. },
  12723. "futureqty": {
  12724. "description": "期货敞口.",
  12725. "type": "string"
  12726. },
  12727. "goodsid": {
  12728. "description": "商品名称/商品代码.",
  12729. "type": "string"
  12730. },
  12731. "hedgingqty": {
  12732. "description": "套保量.",
  12733. "type": "string"
  12734. },
  12735. "sellamount": {
  12736. "description": "销售额.",
  12737. "type": "number"
  12738. },
  12739. "sellqty": {
  12740. "description": "销售量.",
  12741. "type": "string"
  12742. },
  12743. "spotmarketvalue": {
  12744. "description": "现货市值.",
  12745. "type": "number"
  12746. },
  12747. "spotpl": {
  12748. "description": "浮动权益.",
  12749. "type": "number"
  12750. },
  12751. "spotqty": {
  12752. "description": "现货量.",
  12753. "type": "string"
  12754. },
  12755. "statu": {
  12756. "description": "状态,0-未结束 1-已结束.",
  12757. "type": "integer"
  12758. },
  12759. "totalpl": {
  12760. "description": "总盈亏.",
  12761. "type": "number"
  12762. },
  12763. "totalqty": {
  12764. "description": "总敞口.",
  12765. "type": "string"
  12766. },
  12767. "type": {
  12768. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12769. "type": "integer"
  12770. }
  12771. }
  12772. },
  12773. "erms3.QuerySpotContractAppleFormRsp": {
  12774. "type": "object",
  12775. "properties": {
  12776. "goodses": {
  12777. "description": "合约列表",
  12778. "type": "array",
  12779. "items": {
  12780. "$ref": "#/definitions/models.GoodsIDAndName"
  12781. }
  12782. },
  12783. "oppositeusers": {
  12784. "description": "对方账号列表",
  12785. "type": "array",
  12786. "items": {
  12787. "$ref": "#/definitions/erms3.CustomerInfo"
  12788. }
  12789. },
  12790. "ouruser": {
  12791. "description": "我方账号",
  12792. "$ref": "#/definitions/erms3.CustomerInfo"
  12793. },
  12794. "warehouseinfos": {
  12795. "description": "仓库信息列表",
  12796. "type": "array",
  12797. "items": {
  12798. "$ref": "#/definitions/models.Warehouseinfo"
  12799. }
  12800. },
  12801. "wrstandards": {
  12802. "description": "仓单标准列表",
  12803. "type": "array",
  12804. "items": {
  12805. "$ref": "#/definitions/models.WRStandardInfo"
  12806. }
  12807. }
  12808. }
  12809. },
  12810. "erms3.QuerySpotContractInfoRsp": {
  12811. "type": "object",
  12812. "properties": {
  12813. "accountid": {
  12814. "description": "表示交易员ID.",
  12815. "type": "integer"
  12816. },
  12817. "curdeliveryqty": {
  12818. "description": "表示未交收量.",
  12819. "type": "number"
  12820. },
  12821. "customername": {
  12822. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12823. "type": "string"
  12824. },
  12825. "deliverygoodsid": {
  12826. "description": "表示品种ID.",
  12827. "type": "string"
  12828. },
  12829. "deliveryqty": {
  12830. "description": "表示交收量.",
  12831. "type": "number"
  12832. },
  12833. "matchaccountid": {
  12834. "description": "表示业务员ID.",
  12835. "type": "integer"
  12836. },
  12837. "matchcustomername": {
  12838. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12839. "type": "string"
  12840. },
  12841. "priceqty": {
  12842. "description": "表示定价量.",
  12843. "type": "number"
  12844. },
  12845. "relatedbizid": {
  12846. "description": "表示业务ID.",
  12847. "type": "string"
  12848. },
  12849. "signdate": {
  12850. "description": "表示签订日期.",
  12851. "type": "string"
  12852. },
  12853. "spotcontractid": {
  12854. "description": "合同ID",
  12855. "type": "string"
  12856. },
  12857. "status": {
  12858. "description": "表示状态,0-履约中 1-已完成.",
  12859. "type": "integer"
  12860. },
  12861. "totalqty": {
  12862. "description": "表示合同量.",
  12863. "type": "number"
  12864. },
  12865. "unpricedqty": {
  12866. "description": "表示未定价量.",
  12867. "type": "number"
  12868. },
  12869. "wrstandardname": {
  12870. "description": "表示商品ID.",
  12871. "type": "string"
  12872. }
  12873. }
  12874. },
  12875. "erms3.QueryUserInfoAppliesRsp": {
  12876. "type": "object",
  12877. "required": [
  12878. "userid"
  12879. ],
  12880. "properties": {
  12881. "biznature": {
  12882. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12883. "type": "integer"
  12884. },
  12885. "contactname": {
  12886. "description": "联系人",
  12887. "type": "string"
  12888. },
  12889. "createtime": {
  12890. "description": "开户申请时间",
  12891. "type": "string"
  12892. },
  12893. "userid": {
  12894. "description": "用户ID(自增ID)",
  12895. "type": "integer"
  12896. },
  12897. "userinfotype": {
  12898. "description": "用户信息类型 - 1:个人 2:企业",
  12899. "type": "integer"
  12900. },
  12901. "username": {
  12902. "description": "用户姓名",
  12903. "type": "string"
  12904. },
  12905. "userstate": {
  12906. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12907. "type": "integer"
  12908. }
  12909. }
  12910. },
  12911. "erms3.QueryUserInfosRsp": {
  12912. "type": "object",
  12913. "required": [
  12914. "userid"
  12915. ],
  12916. "properties": {
  12917. "biznature": {
  12918. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12919. "type": "integer"
  12920. },
  12921. "contactname": {
  12922. "description": "联系人",
  12923. "type": "string"
  12924. },
  12925. "customername": {
  12926. "description": "客户名称(企业名称)",
  12927. "type": "string"
  12928. },
  12929. "userid": {
  12930. "description": "用户ID",
  12931. "type": "integer"
  12932. },
  12933. "userinfotype": {
  12934. "description": "用户信息类型 - 1:个人 2:企业",
  12935. "type": "integer"
  12936. },
  12937. "userstatus": {
  12938. "description": "用户状态 - 1:正常 2:注销",
  12939. "type": "integer"
  12940. }
  12941. }
  12942. },
  12943. "erms3.SoptContractDetail": {
  12944. "type": "object",
  12945. "required": [
  12946. "deliverygoodsid",
  12947. "producttype",
  12948. "unitname",
  12949. "warehouseid",
  12950. "wrstandardid",
  12951. "wrstandardname"
  12952. ],
  12953. "properties": {
  12954. "deliverygoodsdesc": {
  12955. "description": "现货品种说明",
  12956. "type": "string"
  12957. },
  12958. "deliverygoodsid": {
  12959. "description": "现货品种ID",
  12960. "type": "integer"
  12961. },
  12962. "deliverygoodsname": {
  12963. "description": "现货品种名称",
  12964. "type": "string"
  12965. },
  12966. "pointdesc": {
  12967. "description": "点价描述",
  12968. "type": "string"
  12969. },
  12970. "producttype": {
  12971. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12972. "type": "integer"
  12973. },
  12974. "producttypename": {
  12975. "description": "产品类型名称",
  12976. "type": "string"
  12977. },
  12978. "spotPointOrderVoList": {
  12979. "description": "点价列表",
  12980. "type": "array",
  12981. "items": {
  12982. "$ref": "#/definitions/erms3.SpotPointOrder"
  12983. }
  12984. },
  12985. "spotPriceOrderList": {
  12986. "description": "定价列表",
  12987. "type": "array",
  12988. "items": {
  12989. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12990. }
  12991. },
  12992. "unitname": {
  12993. "description": "单位名称",
  12994. "type": "string"
  12995. },
  12996. "warehouseid": {
  12997. "description": "仓库ID",
  12998. "type": "integer"
  12999. },
  13000. "warehousename": {
  13001. "description": "仓库名称",
  13002. "type": "string"
  13003. },
  13004. "wrstandardid": {
  13005. "description": "交易标的ID",
  13006. "type": "integer"
  13007. },
  13008. "wrstandardname": {
  13009. "description": "交易标的名称",
  13010. "type": "string"
  13011. }
  13012. }
  13013. },
  13014. "erms3.SpotPointOrder": {
  13015. "type": "object",
  13016. "required": [
  13017. "basic",
  13018. "goodsid",
  13019. "qty"
  13020. ],
  13021. "properties": {
  13022. "basic": {
  13023. "description": "基差",
  13024. "type": "number"
  13025. },
  13026. "deliveryenddate": {
  13027. "description": "交收结束日期",
  13028. "type": "string"
  13029. },
  13030. "deliverystartdate": {
  13031. "description": "交收开始日期",
  13032. "type": "string"
  13033. },
  13034. "enddate": {
  13035. "description": "点价结束日期",
  13036. "type": "string"
  13037. },
  13038. "goodsid": {
  13039. "description": "商品ID",
  13040. "type": "integer"
  13041. },
  13042. "goodsname": {
  13043. "description": "商品名称",
  13044. "type": "string"
  13045. },
  13046. "qty": {
  13047. "description": "数量",
  13048. "type": "number"
  13049. },
  13050. "startdate": {
  13051. "description": "点价开始日期",
  13052. "type": "string"
  13053. }
  13054. }
  13055. },
  13056. "erms3.SpotPriceOrder": {
  13057. "type": "object",
  13058. "required": [
  13059. "amount",
  13060. "price",
  13061. "qty"
  13062. ],
  13063. "properties": {
  13064. "amount": {
  13065. "description": "金额",
  13066. "type": "number"
  13067. },
  13068. "deliveryenddate": {
  13069. "description": "交收结束日期",
  13070. "type": "string"
  13071. },
  13072. "deliverystartdate": {
  13073. "description": "交收开始日期",
  13074. "type": "string"
  13075. },
  13076. "price": {
  13077. "description": "价格",
  13078. "type": "number"
  13079. },
  13080. "qty": {
  13081. "description": "数量",
  13082. "type": "number"
  13083. }
  13084. }
  13085. },
  13086. "hsby.GetHsbyMyCountRsp": {
  13087. "type": "object",
  13088. "properties": {
  13089. "myCouponCount": {
  13090. "description": "我的优惠卷数量",
  13091. "type": "integer"
  13092. },
  13093. "myOrderDetailListingCount": {
  13094. "description": "我的订单求购中数量",
  13095. "type": "integer"
  13096. },
  13097. "myOrderDetailPreCount": {
  13098. "description": "我的订单抢购中数量",
  13099. "type": "integer"
  13100. },
  13101. "myPackageUnReceiveCount": {
  13102. "description": "我的包裹待收货数量",
  13103. "type": "integer"
  13104. },
  13105. "myPackageUnSendCount": {
  13106. "description": "我的包裹待发货数量",
  13107. "type": "integer"
  13108. },
  13109. "myPayOrderCount": {
  13110. "description": "我的订单待付款数量",
  13111. "type": "integer"
  13112. }
  13113. }
  13114. },
  13115. "hsby.QueryProvincesAndCitiesRsp": {
  13116. "type": "object",
  13117. "properties": {
  13118. "cities": {
  13119. "description": "市",
  13120. "type": "array",
  13121. "items": {
  13122. "$ref": "#/definitions/models.Division"
  13123. }
  13124. },
  13125. "province": {
  13126. "description": "省",
  13127. "$ref": "#/definitions/models.Division"
  13128. }
  13129. }
  13130. },
  13131. "models.Clientfixedadconfig": {
  13132. "type": "object",
  13133. "required": [
  13134. "adsort",
  13135. "adtype"
  13136. ],
  13137. "properties": {
  13138. "adsort": {
  13139. "description": "排序",
  13140. "type": "integer"
  13141. },
  13142. "adtype": {
  13143. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13144. "type": "integer"
  13145. },
  13146. "areauserid": {
  13147. "description": "所属机构ID",
  13148. "type": "integer"
  13149. },
  13150. "createdate": {
  13151. "description": "创建时间",
  13152. "type": "string"
  13153. },
  13154. "creatorid": {
  13155. "description": "创建人",
  13156. "type": "integer"
  13157. },
  13158. "imagepath": {
  13159. "description": "图片",
  13160. "type": "string"
  13161. },
  13162. "isshow": {
  13163. "description": "是否展示 - 0:不展示 1:展示",
  13164. "type": "integer"
  13165. },
  13166. "modifierid": {
  13167. "description": "操作人",
  13168. "type": "integer"
  13169. },
  13170. "recsize": {
  13171. "description": "推荐尺寸",
  13172. "type": "string"
  13173. },
  13174. "title": {
  13175. "description": "标题",
  13176. "type": "string"
  13177. },
  13178. "updatedate": {
  13179. "description": "更新时间",
  13180. "type": "string"
  13181. },
  13182. "urlcontent": {
  13183. "description": "链接(地址或商品ID)",
  13184. "type": "string"
  13185. },
  13186. "urltype": {
  13187. "description": "链接类型 - 1:直接地址 2:商品ID",
  13188. "type": "integer"
  13189. }
  13190. }
  13191. },
  13192. "models.Division": {
  13193. "type": "object",
  13194. "required": [
  13195. "autoid",
  13196. "divisioncode"
  13197. ],
  13198. "properties": {
  13199. "autoid": {
  13200. "description": "自增ID",
  13201. "type": "integer"
  13202. },
  13203. "divisioncode": {
  13204. "description": "行政代码",
  13205. "type": "string"
  13206. },
  13207. "divisionlevel": {
  13208. "description": "行政级别",
  13209. "type": "string"
  13210. },
  13211. "divisionname": {
  13212. "description": "行政名称",
  13213. "type": "string"
  13214. },
  13215. "modifierid": {
  13216. "description": "修改人",
  13217. "type": "integer"
  13218. },
  13219. "modifytime": {
  13220. "description": "修改时间",
  13221. "type": "string"
  13222. },
  13223. "parentcode": {
  13224. "description": "上级行政代码",
  13225. "type": "string"
  13226. },
  13227. "pathname": {
  13228. "description": "路径名称",
  13229. "type": "string"
  13230. },
  13231. "postcode": {
  13232. "description": "邮政编码",
  13233. "type": "string"
  13234. },
  13235. "separablename": {
  13236. "description": "可拆分的全称",
  13237. "type": "string"
  13238. },
  13239. "shortcode": {
  13240. "description": "地区简码",
  13241. "type": "string"
  13242. }
  13243. }
  13244. },
  13245. "models.Enumdicitem": {
  13246. "type": "object",
  13247. "required": [
  13248. "autoid",
  13249. "enumdiccode",
  13250. "enumdicid",
  13251. "enumitemname"
  13252. ],
  13253. "properties": {
  13254. "autoid": {
  13255. "description": "自增ID",
  13256. "type": "integer"
  13257. },
  13258. "bankmappedvalue": {
  13259. "description": "银行服务对应值",
  13260. "type": "string"
  13261. },
  13262. "enumdiccode": {
  13263. "description": "所属枚举代码",
  13264. "type": "string"
  13265. },
  13266. "enumdicid": {
  13267. "description": "所属枚举ID",
  13268. "type": "integer"
  13269. },
  13270. "enumdicname": {
  13271. "description": "枚举项名称",
  13272. "type": "string"
  13273. },
  13274. "enumitemname": {
  13275. "description": "枚举项值",
  13276. "type": "integer"
  13277. },
  13278. "enumitemstatus": {
  13279. "description": "枚举项状态 - 1.启用 2.不启用",
  13280. "type": "integer"
  13281. },
  13282. "enumitemvalue": {
  13283. "description": "通用值 - [币种通用简写]",
  13284. "type": "string"
  13285. },
  13286. "param1": {
  13287. "description": "参数1[币种:币种小数位]",
  13288. "type": "string"
  13289. },
  13290. "param2": {
  13291. "description": "参数1[币种:币种显示单位]",
  13292. "type": "string"
  13293. },
  13294. "remark": {
  13295. "description": "备注",
  13296. "type": "string"
  13297. }
  13298. }
  13299. },
  13300. "models.ErmcpAreaStock": {
  13301. "type": "object",
  13302. "properties": {
  13303. "brandname": {
  13304. "description": "品牌名称",
  13305. "type": "string"
  13306. },
  13307. "curstock": {
  13308. "description": "期末库存量(今日量)",
  13309. "type": "number"
  13310. },
  13311. "deliverygoodsid": {
  13312. "description": "现货品种ID",
  13313. "type": "integer"
  13314. },
  13315. "enumdicname": {
  13316. "description": "单位名称",
  13317. "type": "string"
  13318. },
  13319. "modelname": {
  13320. "description": "型号名称",
  13321. "type": "string"
  13322. },
  13323. "oristock": {
  13324. "description": "期初库存量(昨日量)",
  13325. "type": "number"
  13326. },
  13327. "spotgoodsbrandid": {
  13328. "description": "现货品牌ID",
  13329. "type": "integer"
  13330. },
  13331. "spotgoodsmodelid": {
  13332. "description": "现货型号ID",
  13333. "type": "integer"
  13334. },
  13335. "todaybuyinqty": {
  13336. "description": "今日采购入库量",
  13337. "type": "number"
  13338. },
  13339. "todayproduceinqty": {
  13340. "description": "今日生产入库量",
  13341. "type": "number"
  13342. },
  13343. "todayproduceoutqty": {
  13344. "description": "今日生产出库量",
  13345. "type": "number"
  13346. },
  13347. "todayselloutqty": {
  13348. "description": "今日销售出库量",
  13349. "type": "number"
  13350. },
  13351. "unitid": {
  13352. "description": "单位id",
  13353. "type": "integer"
  13354. },
  13355. "updatetime": {
  13356. "description": "更新时间",
  13357. "type": "string"
  13358. },
  13359. "userid": {
  13360. "description": "机构ID",
  13361. "type": "integer"
  13362. },
  13363. "username": {
  13364. "description": "机构名称",
  13365. "type": "string"
  13366. },
  13367. "warehousecode": {
  13368. "description": "仓库代码",
  13369. "type": "string"
  13370. },
  13371. "warehouseinfoid": {
  13372. "description": "仓库ID",
  13373. "type": "string"
  13374. },
  13375. "warehousename": {
  13376. "description": "仓库名称",
  13377. "type": "string"
  13378. },
  13379. "warehousetype": {
  13380. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13381. "type": "integer"
  13382. },
  13383. "wrstandardcode": {
  13384. "description": "现货商品代码",
  13385. "type": "string"
  13386. },
  13387. "wrstandardid": {
  13388. "description": "现货商品ID",
  13389. "type": "string"
  13390. },
  13391. "wrstandardname": {
  13392. "description": "现货商品名称",
  13393. "type": "string"
  13394. }
  13395. }
  13396. },
  13397. "models.ErmcpAreaStockApply": {
  13398. "type": "object",
  13399. "properties": {
  13400. "applyid": {
  13401. "description": "申请人",
  13402. "type": "integer"
  13403. },
  13404. "applyname": {
  13405. "description": "申请人名称",
  13406. "type": "string"
  13407. },
  13408. "applyremark": {
  13409. "description": "申请备注",
  13410. "type": "string"
  13411. },
  13412. "applysrc": {
  13413. "description": "申请来源 - 1:管理端 2:终端",
  13414. "type": "integer"
  13415. },
  13416. "applystatus": {
  13417. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13418. "type": "integer"
  13419. },
  13420. "applytime": {
  13421. "description": "申请时间",
  13422. "type": "string"
  13423. },
  13424. "auditid": {
  13425. "description": "审核人",
  13426. "type": "integer"
  13427. },
  13428. "auditname": {
  13429. "description": "审核人名称",
  13430. "type": "string"
  13431. },
  13432. "auditremark": {
  13433. "description": "审核备注",
  13434. "type": "string"
  13435. },
  13436. "auditsrc": {
  13437. "description": "审核来源 - 1:管理端 2:终端",
  13438. "type": "integer"
  13439. },
  13440. "audittime": {
  13441. "description": "审核时间",
  13442. "type": "string"
  13443. },
  13444. "audittradedate": {
  13445. "description": "审核交易日(yyyyMMdd)",
  13446. "type": "string"
  13447. },
  13448. "brandname": {
  13449. "description": "品牌名称",
  13450. "type": "string"
  13451. },
  13452. "buyuserid": {
  13453. "description": "采购方userid",
  13454. "type": "integer"
  13455. },
  13456. "buyusername": {
  13457. "description": "采购方名称",
  13458. "type": "string"
  13459. },
  13460. "contractno": {
  13461. "description": "合同编号",
  13462. "type": "string"
  13463. },
  13464. "contractqty": {
  13465. "description": "合同量",
  13466. "type": "number"
  13467. },
  13468. "contracttype": {
  13469. "description": "现货合同类型 - 1:采购 -1:销售",
  13470. "type": "integer"
  13471. },
  13472. "deliverygoodsid": {
  13473. "description": "现货品种ID",
  13474. "type": "integer"
  13475. },
  13476. "enumdicname": {
  13477. "description": "现货商品单位名称",
  13478. "type": "string"
  13479. },
  13480. "inoutapplyid": {
  13481. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13482. "type": "string"
  13483. },
  13484. "inouttype": {
  13485. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13486. "type": "integer"
  13487. },
  13488. "modelname": {
  13489. "description": "型号名称",
  13490. "type": "string"
  13491. },
  13492. "pricetype": {
  13493. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13494. "type": "integer"
  13495. },
  13496. "qty": {
  13497. "description": "数量",
  13498. "type": "number"
  13499. },
  13500. "selluserid": {
  13501. "description": "销售方userid",
  13502. "type": "integer"
  13503. },
  13504. "sellusername": {
  13505. "description": "销售方名称",
  13506. "type": "string"
  13507. },
  13508. "spotcontractid": {
  13509. "description": "关联现货合同ID",
  13510. "type": "string"
  13511. },
  13512. "spotgoodsbrandid": {
  13513. "description": "现货品牌ID",
  13514. "type": "integer"
  13515. },
  13516. "spotgoodsmodelid": {
  13517. "description": "现货型号ID",
  13518. "type": "integer"
  13519. },
  13520. "unitid": {
  13521. "description": "单位id",
  13522. "type": "integer"
  13523. },
  13524. "userid": {
  13525. "description": "机构ID",
  13526. "type": "integer"
  13527. },
  13528. "warehousecode": {
  13529. "description": "仓库代码",
  13530. "type": "string"
  13531. },
  13532. "warehouseinfoid": {
  13533. "description": "现货仓库ID",
  13534. "type": "string"
  13535. },
  13536. "warehousename": {
  13537. "description": "仓库名称",
  13538. "type": "string"
  13539. },
  13540. "warehousetype": {
  13541. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13542. "type": "integer"
  13543. },
  13544. "wrstandardcode": {
  13545. "description": "现货商品代码",
  13546. "type": "string"
  13547. },
  13548. "wrstandardid": {
  13549. "description": "现货商品ID",
  13550. "type": "string"
  13551. },
  13552. "wrstandardname": {
  13553. "description": "现货商品名称",
  13554. "type": "string"
  13555. }
  13556. }
  13557. },
  13558. "models.ErmcpAreaStockReport": {
  13559. "type": "object",
  13560. "properties": {
  13561. "brandname": {
  13562. "description": "品牌名称",
  13563. "type": "string"
  13564. },
  13565. "curstock": {
  13566. "description": "期末库存量",
  13567. "type": "number"
  13568. },
  13569. "deliverygoodsid": {
  13570. "description": "现货品种ID",
  13571. "type": "integer"
  13572. },
  13573. "enumdicname": {
  13574. "description": "单位名称",
  13575. "type": "string"
  13576. },
  13577. "modelname": {
  13578. "description": "型号名称",
  13579. "type": "string"
  13580. },
  13581. "oristock": {
  13582. "description": "期初库存量",
  13583. "type": "number"
  13584. },
  13585. "spotgoodsbrandid": {
  13586. "description": "现货品牌ID",
  13587. "type": "integer"
  13588. },
  13589. "spotgoodsmodelid": {
  13590. "description": "现货型号ID",
  13591. "type": "integer"
  13592. },
  13593. "todaybuyinqty": {
  13594. "description": "今日采购入库量",
  13595. "type": "number"
  13596. },
  13597. "todayproduceinqty": {
  13598. "description": "今日生产入库量",
  13599. "type": "number"
  13600. },
  13601. "todayproduceoutqty": {
  13602. "description": "今日生产出库量",
  13603. "type": "number"
  13604. },
  13605. "todayselloutqty": {
  13606. "description": "今日销售出库量",
  13607. "type": "number"
  13608. },
  13609. "unitid": {
  13610. "description": "单位id",
  13611. "type": "integer"
  13612. },
  13613. "updatetime": {
  13614. "description": "更新时间",
  13615. "type": "string"
  13616. },
  13617. "userid": {
  13618. "description": "机构ID",
  13619. "type": "integer"
  13620. },
  13621. "username": {
  13622. "description": "机构名称",
  13623. "type": "string"
  13624. },
  13625. "warehousecode": {
  13626. "description": "仓库代码",
  13627. "type": "string"
  13628. },
  13629. "warehouseinfoid": {
  13630. "description": "仓库ID",
  13631. "type": "string"
  13632. },
  13633. "warehousename": {
  13634. "description": "仓库名称",
  13635. "type": "string"
  13636. },
  13637. "warehousetype": {
  13638. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13639. "type": "integer"
  13640. },
  13641. "wrstandardcode": {
  13642. "description": "现货商品代码",
  13643. "type": "string"
  13644. },
  13645. "wrstandardid": {
  13646. "description": "现货商品ID",
  13647. "type": "string"
  13648. },
  13649. "wrstandardname": {
  13650. "description": "现货商品名称",
  13651. "type": "string"
  13652. }
  13653. }
  13654. },
  13655. "models.ErmcpGoodsBrand": {
  13656. "type": "object",
  13657. "properties": {
  13658. "areauserid": {
  13659. "description": "所属机构",
  13660. "type": "integer"
  13661. },
  13662. "brandid": {
  13663. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13664. "type": "integer"
  13665. },
  13666. "brandname": {
  13667. "description": "品牌名称",
  13668. "type": "string"
  13669. },
  13670. "createtime": {
  13671. "description": "创建时间",
  13672. "type": "string"
  13673. },
  13674. "creatorid": {
  13675. "description": "创建人",
  13676. "type": "integer"
  13677. },
  13678. "creatorsrc": {
  13679. "description": "创建人来源 - 1:管理端 2:终端",
  13680. "type": "integer"
  13681. },
  13682. "deliverygoodsid": {
  13683. "description": "现货品种ID",
  13684. "type": "integer"
  13685. },
  13686. "isvalid": {
  13687. "description": "是否有效 - 0:无效 1:有效",
  13688. "type": "integer"
  13689. },
  13690. "updatetime": {
  13691. "description": "更新时间",
  13692. "type": "string"
  13693. },
  13694. "updatorid": {
  13695. "description": "更新人",
  13696. "type": "integer"
  13697. },
  13698. "updatorsrc": {
  13699. "description": "更新人来源 - 1:管理端 2:终端",
  13700. "type": "integer"
  13701. },
  13702. "wrstandardid": {
  13703. "description": "现货商品ID",
  13704. "type": "integer"
  13705. }
  13706. }
  13707. },
  13708. "models.ErmcpGoodsModel": {
  13709. "type": "object",
  13710. "properties": {
  13711. "areauserid": {
  13712. "description": "所属机构",
  13713. "type": "integer"
  13714. },
  13715. "convertfactor": {
  13716. "description": "标仓系数",
  13717. "type": "number"
  13718. },
  13719. "createtime": {
  13720. "description": "创建时间",
  13721. "type": "string"
  13722. },
  13723. "creatorid": {
  13724. "description": "创建人",
  13725. "type": "integer"
  13726. },
  13727. "creatorsrc": {
  13728. "description": "创建人来源 - 1:管理端 2:终端",
  13729. "type": "integer"
  13730. },
  13731. "deliverygoodsid": {
  13732. "description": "现货品种ID",
  13733. "type": "integer"
  13734. },
  13735. "isvalid": {
  13736. "description": "是否有效 - 0:无效 1:有效",
  13737. "type": "integer"
  13738. },
  13739. "modelid": {
  13740. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13741. "type": "integer"
  13742. },
  13743. "modelname": {
  13744. "description": "型号名称",
  13745. "type": "string"
  13746. },
  13747. "updatetime": {
  13748. "description": "更新时间",
  13749. "type": "string"
  13750. },
  13751. "updatorid": {
  13752. "description": "更新人",
  13753. "type": "integer"
  13754. },
  13755. "updatorsrc": {
  13756. "description": "更新人来源 - 1:管理端 2:终端",
  13757. "type": "integer"
  13758. },
  13759. "wrstandardid": {
  13760. "description": "现货商品ID",
  13761. "type": "integer"
  13762. }
  13763. }
  13764. },
  13765. "models.ErmcpHisExposure": {
  13766. "type": "object",
  13767. "properties": {
  13768. "needhedgeexposoure": {
  13769. "description": "应套保敞口",
  13770. "type": "number"
  13771. },
  13772. "reckondate": {
  13773. "description": "日照时期(yyyyMMdd)",
  13774. "type": "string"
  13775. },
  13776. "totalexposure": {
  13777. "description": "总敞口",
  13778. "type": "number"
  13779. }
  13780. }
  13781. },
  13782. "models.ErmcpMiddleGoodsModel": {
  13783. "type": "object",
  13784. "properties": {
  13785. "areauserid": {
  13786. "description": "机构用户ID",
  13787. "type": "integer"
  13788. },
  13789. "createtime": {
  13790. "description": "修改时间",
  13791. "type": "string"
  13792. },
  13793. "enumdicname": {
  13794. "description": "单位名称",
  13795. "type": "string"
  13796. },
  13797. "evaluateratio": {
  13798. "description": "估价系数",
  13799. "type": "number"
  13800. },
  13801. "goodsgroupid": {
  13802. "description": "关联期货品种ID",
  13803. "type": "integer"
  13804. },
  13805. "isvalid": {
  13806. "description": "状态 0-无效(停用) 1-有效(正常)",
  13807. "type": "integer"
  13808. },
  13809. "middlegoodscode": {
  13810. "description": "套保品种代码",
  13811. "type": "string"
  13812. },
  13813. "middlegoodsid": {
  13814. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13815. "type": "integer"
  13816. },
  13817. "middlegoodsname": {
  13818. "description": "套保品种名称",
  13819. "type": "string"
  13820. },
  13821. "modifytime": {
  13822. "description": "修改时间",
  13823. "type": "string"
  13824. },
  13825. "needhedgeratio": {
  13826. "description": "套保比率",
  13827. "type": "number"
  13828. },
  13829. "qtydecimalplace": {
  13830. "description": "数量小数位",
  13831. "type": "integer"
  13832. },
  13833. "relatedgoodsid": {
  13834. "description": "关联交易商品ID",
  13835. "type": "integer"
  13836. },
  13837. "relatedgoodstype": {
  13838. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13839. "type": "integer"
  13840. },
  13841. "remark": {
  13842. "description": "备注",
  13843. "type": "string"
  13844. }
  13845. }
  13846. },
  13847. "models.ErmcpReportDayFR": {
  13848. "type": "object",
  13849. "properties": {
  13850. "areauserid": {
  13851. "description": "所属机构",
  13852. "type": "integer"
  13853. },
  13854. "collectinvoiceamount": {
  13855. "description": "今日开票金额",
  13856. "type": "number"
  13857. },
  13858. "collectinvoicecount": {
  13859. "description": "今日开票笔数",
  13860. "type": "integer"
  13861. },
  13862. "collectmoneyamount": {
  13863. "description": "今日收款金额",
  13864. "type": "number"
  13865. },
  13866. "collectmoneycount": {
  13867. "description": "今日收款笔数",
  13868. "type": "integer"
  13869. },
  13870. "payinvoiceamount": {
  13871. "description": "今日收票金额",
  13872. "type": "number"
  13873. },
  13874. "payinvoicecount": {
  13875. "description": "今日收票笔数",
  13876. "type": "integer"
  13877. },
  13878. "paymoneyamount": {
  13879. "description": "今日付款金额",
  13880. "type": "number"
  13881. },
  13882. "paymoneycount": {
  13883. "description": "今日付款笔数",
  13884. "type": "integer"
  13885. },
  13886. "reckondate": {
  13887. "description": "日照时期(yyyyMMdd)",
  13888. "type": "string"
  13889. },
  13890. "updatetime": {
  13891. "description": "更新时间",
  13892. "type": "string"
  13893. }
  13894. }
  13895. },
  13896. "models.ErmcpWrstandard": {
  13897. "type": "object",
  13898. "properties": {
  13899. "areauserid": {
  13900. "description": "所属机构",
  13901. "type": "integer"
  13902. },
  13903. "createtime": {
  13904. "description": "创建时间",
  13905. "type": "string"
  13906. },
  13907. "creatorid": {
  13908. "description": "创建人",
  13909. "type": "integer"
  13910. },
  13911. "deliverygoodsid": {
  13912. "description": "品种ID",
  13913. "type": "integer"
  13914. },
  13915. "enumdicname": {
  13916. "description": "单位名称",
  13917. "type": "string"
  13918. },
  13919. "isvalid": {
  13920. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13921. "type": "integer"
  13922. },
  13923. "minivalue": {
  13924. "description": "最小变动值",
  13925. "type": "integer"
  13926. },
  13927. "minivaluedp": {
  13928. "description": "最小变动值小数位",
  13929. "type": "integer"
  13930. },
  13931. "realminivalue": {
  13932. "description": "实际最小变动值",
  13933. "type": "integer"
  13934. },
  13935. "realminivaluedp": {
  13936. "description": "实际最小变动值小数位",
  13937. "type": "integer"
  13938. },
  13939. "remark": {
  13940. "description": "备注",
  13941. "type": "string"
  13942. },
  13943. "unitid": {
  13944. "description": "单位ID",
  13945. "type": "integer"
  13946. },
  13947. "updatetime": {
  13948. "description": "更新时间",
  13949. "type": "string"
  13950. },
  13951. "wrstandardcode": {
  13952. "description": "现货商品代码",
  13953. "type": "string"
  13954. },
  13955. "wrstandardid": {
  13956. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13957. "type": "integer"
  13958. },
  13959. "wrstandardname": {
  13960. "description": "现货商品名称",
  13961. "type": "string"
  13962. }
  13963. }
  13964. },
  13965. "models.Externalexchange": {
  13966. "type": "object",
  13967. "required": [
  13968. "autoid"
  13969. ],
  13970. "properties": {
  13971. "autoid": {
  13972. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13973. "type": "integer"
  13974. },
  13975. "exchangefullname": {
  13976. "description": "外部交易所全称",
  13977. "type": "string"
  13978. },
  13979. "exexchangecode": {
  13980. "description": "外部交易所代码",
  13981. "type": "string"
  13982. },
  13983. "exexchangename": {
  13984. "description": "外部交易所名称(简称)",
  13985. "type": "string"
  13986. },
  13987. "ismarketprice": {
  13988. "description": "是否支持市价 - 0:不支持 1:支持",
  13989. "type": "integer"
  13990. },
  13991. "quotegear": {
  13992. "description": "行情档位(1-10)",
  13993. "type": "integer"
  13994. },
  13995. "showbrokerflag": {
  13996. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13997. "type": "integer"
  13998. },
  13999. "updatetime": {
  14000. "description": "更新时间",
  14001. "type": "string"
  14002. }
  14003. }
  14004. },
  14005. "models.Funcmenulist": {
  14006. "type": "object",
  14007. "required": [
  14008. "resourcecode"
  14009. ],
  14010. "properties": {
  14011. "iconame": {
  14012. "description": "菜单图标",
  14013. "type": "string"
  14014. },
  14015. "menutype": {
  14016. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  14017. "type": "integer"
  14018. },
  14019. "parentcode": {
  14020. "description": "上级资源代码",
  14021. "type": "string"
  14022. },
  14023. "remark": {
  14024. "description": "备注",
  14025. "type": "string"
  14026. },
  14027. "resourcecode": {
  14028. "description": "资源代码",
  14029. "type": "string"
  14030. },
  14031. "resourcelevel": {
  14032. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  14033. "type": "integer"
  14034. },
  14035. "resourcename": {
  14036. "description": "资源名",
  14037. "type": "string"
  14038. },
  14039. "sort": {
  14040. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  14041. "type": "integer"
  14042. },
  14043. "url": {
  14044. "description": "URL",
  14045. "type": "string"
  14046. }
  14047. }
  14048. },
  14049. "models.Goods": {
  14050. "type": "object",
  14051. "required": [
  14052. "goodscode",
  14053. "goodsid",
  14054. "goodsname",
  14055. "marketid"
  14056. ],
  14057. "properties": {
  14058. "agreeunit": {
  14059. "description": "合约单位",
  14060. "type": "number"
  14061. },
  14062. "auditaccountid": {
  14063. "description": "审核操作员账号",
  14064. "type": "integer"
  14065. },
  14066. "audittime": {
  14067. "description": "审核时间",
  14068. "type": "string"
  14069. },
  14070. "cancelaccountid": {
  14071. "description": "注销操作员账号",
  14072. "type": "integer"
  14073. },
  14074. "canceltime": {
  14075. "description": "注销时间",
  14076. "type": "string"
  14077. },
  14078. "closepricemode": {
  14079. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14080. "type": "integer"
  14081. },
  14082. "closepriceparam": {
  14083. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  14084. "type": "number"
  14085. },
  14086. "createtime": {
  14087. "description": "创建时间",
  14088. "type": "string"
  14089. },
  14090. "creatorid": {
  14091. "description": "创建人",
  14092. "type": "integer"
  14093. },
  14094. "currencyid": {
  14095. "description": "报价货币ID",
  14096. "type": "integer"
  14097. },
  14098. "cutmode": {
  14099. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  14100. "type": "integer"
  14101. },
  14102. "decimalplace": {
  14103. "description": "报价小数位",
  14104. "type": "integer"
  14105. },
  14106. "delistingdate": {
  14107. "description": "商品退市时间(状态:退市) -- 已作废",
  14108. "type": "string"
  14109. },
  14110. "delistingmode": {
  14111. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  14112. "type": "integer"
  14113. },
  14114. "deliveryflag": {
  14115. "description": "交割标志 - 0:不可交割 1:可交割",
  14116. "type": "integer"
  14117. },
  14118. "forceclosemode": {
  14119. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  14120. "type": "integer"
  14121. },
  14122. "forceclosevalue": {
  14123. "description": "定期强平参数 [收益权]",
  14124. "type": "integer"
  14125. },
  14126. "goodscode": {
  14127. "description": "商品代码(内部)",
  14128. "type": "string"
  14129. },
  14130. "goodscurrencyid": {
  14131. "description": "合约货币ID",
  14132. "type": "integer"
  14133. },
  14134. "goodsgroupid": {
  14135. "description": "所属商品组ID",
  14136. "type": "integer"
  14137. },
  14138. "goodsid": {
  14139. "description": "商品ID(自增ID SEQ_GOODS)",
  14140. "type": "integer"
  14141. },
  14142. "goodsname": {
  14143. "description": "商品名称",
  14144. "type": "string"
  14145. },
  14146. "goodsquotetype": {
  14147. "description": "合约报价类型: 1-直接报价 2-间接报价",
  14148. "type": "integer"
  14149. },
  14150. "goodsstatus": {
  14151. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14152. "type": "integer"
  14153. },
  14154. "goodstradetype": {
  14155. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  14156. "type": "integer"
  14157. },
  14158. "goodunitid": {
  14159. "description": "报价单位ID",
  14160. "type": "integer"
  14161. },
  14162. "hasquoter": {
  14163. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  14164. "type": "integer"
  14165. },
  14166. "hqprotecttime": {
  14167. "description": "行情保护时间(秒)",
  14168. "type": "integer"
  14169. },
  14170. "innerdealmode": {
  14171. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14172. "type": "integer"
  14173. },
  14174. "isbuylimited": {
  14175. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14176. "type": "integer"
  14177. },
  14178. "lasttradedate": {
  14179. "description": "最后交易日期(状态:待退市)",
  14180. "type": "string"
  14181. },
  14182. "listingdate": {
  14183. "description": "交易开始日期",
  14184. "type": "string"
  14185. },
  14186. "marketid": {
  14187. "description": "所属市场ID",
  14188. "type": "integer"
  14189. },
  14190. "modifierid": {
  14191. "description": "修改人",
  14192. "type": "integer"
  14193. },
  14194. "modifystatus": {
  14195. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  14196. "type": "integer"
  14197. },
  14198. "modifytime": {
  14199. "description": "修改时间",
  14200. "type": "string"
  14201. },
  14202. "outerdealmode": {
  14203. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14204. "type": "integer"
  14205. },
  14206. "outgoodscode": {
  14207. "description": "商品代码(外部)",
  14208. "type": "string"
  14209. },
  14210. "qtydecimalplace": {
  14211. "description": "成交量小数位",
  14212. "type": "integer"
  14213. },
  14214. "quotegear": {
  14215. "description": "行情档位(1-10)",
  14216. "type": "integer"
  14217. },
  14218. "quoteminunit": {
  14219. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14220. "type": "integer"
  14221. },
  14222. "quoteshowtype": {
  14223. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  14224. "type": "integer"
  14225. },
  14226. "quoteshowtypeinterval": {
  14227. "description": "行情报价间隔时间(秒)(成交价时为0)",
  14228. "type": "integer"
  14229. },
  14230. "remark": {
  14231. "description": "备注",
  14232. "type": "string"
  14233. }
  14234. }
  14235. },
  14236. "models.GoodsBrand": {
  14237. "type": "object",
  14238. "properties": {
  14239. "brandid": {
  14240. "description": "品牌ID",
  14241. "type": "integer"
  14242. },
  14243. "brandname": {
  14244. "description": "品牌名称",
  14245. "type": "string"
  14246. },
  14247. "isvalid": {
  14248. "description": "是否有效 - 0:无效 1:有效",
  14249. "type": "integer"
  14250. }
  14251. }
  14252. },
  14253. "models.GoodsGroupConvert": {
  14254. "type": "object",
  14255. "properties": {
  14256. "convertratio": {
  14257. "description": "折算系数",
  14258. "type": "number"
  14259. },
  14260. "dstgoodsgroupid": {
  14261. "description": "目标期货品种ID",
  14262. "type": "integer"
  14263. },
  14264. "goodsgroupname": {
  14265. "description": "期货品种名称",
  14266. "type": "string"
  14267. },
  14268. "outergroupcode": {
  14269. "description": "期货品种代码",
  14270. "type": "string"
  14271. },
  14272. "srcgoodsgroupid": {
  14273. "description": "源期货品种ID",
  14274. "type": "integer"
  14275. }
  14276. }
  14277. },
  14278. "models.GoodsIDAndName": {
  14279. "type": "object",
  14280. "required": [
  14281. "goodscode",
  14282. "goodsid",
  14283. "goodsname",
  14284. "marketid"
  14285. ],
  14286. "properties": {
  14287. "goodscode": {
  14288. "description": "商品代码(内部)",
  14289. "type": "string"
  14290. },
  14291. "goodsid": {
  14292. "description": "商品ID(自增ID SEQ_GOODS)",
  14293. "type": "integer"
  14294. },
  14295. "goodsname": {
  14296. "description": "商品名称",
  14297. "type": "string"
  14298. },
  14299. "marketid": {
  14300. "description": "所属市场ID",
  14301. "type": "integer"
  14302. }
  14303. }
  14304. },
  14305. "models.GoodsTypeModel": {
  14306. "type": "object",
  14307. "properties": {
  14308. "modelid": {
  14309. "description": "型号ID",
  14310. "type": "integer"
  14311. },
  14312. "modelname": {
  14313. "description": "型号名称",
  14314. "type": "string"
  14315. },
  14316. "updatetime": {
  14317. "description": "更新时间",
  14318. "type": "string"
  14319. }
  14320. }
  14321. },
  14322. "models.Goodsgroup": {
  14323. "type": "object",
  14324. "required": [
  14325. "goodsgroupid",
  14326. "goodsgroupname",
  14327. "goodsgroupstatus",
  14328. "marketid"
  14329. ],
  14330. "properties": {
  14331. "agreeunit": {
  14332. "description": "合约单位",
  14333. "type": "number"
  14334. },
  14335. "canshort": {
  14336. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14337. "type": "integer"
  14338. },
  14339. "closepricemode": {
  14340. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14341. "type": "integer"
  14342. },
  14343. "closepriceparam": {
  14344. "description": "强平最新价浮动比例 - 方式为2时使用",
  14345. "type": "number"
  14346. },
  14347. "createtime": {
  14348. "description": "创建时间",
  14349. "type": "string"
  14350. },
  14351. "creatorid": {
  14352. "description": "创建人",
  14353. "type": "integer"
  14354. },
  14355. "currencyid": {
  14356. "description": "报价货币ID",
  14357. "type": "integer"
  14358. },
  14359. "decimalplace": {
  14360. "description": "报价小数位",
  14361. "type": "integer"
  14362. },
  14363. "exercisetype": {
  14364. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  14365. "type": "integer"
  14366. },
  14367. "exexchangeid": {
  14368. "description": "外部交易所ID[通道交易]",
  14369. "type": "integer"
  14370. },
  14371. "goodsgroupid": {
  14372. "description": "商品组ID(自增ID)",
  14373. "type": "integer"
  14374. },
  14375. "goodsgroupname": {
  14376. "description": "商品组名称",
  14377. "type": "string"
  14378. },
  14379. "goodsgroupstatus": {
  14380. "description": "商品组状态 - 1:正常 2:注销",
  14381. "type": "integer"
  14382. },
  14383. "goodunitid": {
  14384. "description": "报价单位ID",
  14385. "type": "integer"
  14386. },
  14387. "innerdealmode": {
  14388. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14389. "type": "integer"
  14390. },
  14391. "isbuylimited": {
  14392. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14393. "type": "integer"
  14394. },
  14395. "marketid": {
  14396. "description": "所属市场ID",
  14397. "type": "integer"
  14398. },
  14399. "modifierid": {
  14400. "description": "修改人",
  14401. "type": "integer"
  14402. },
  14403. "modifytime": {
  14404. "description": "修改时间",
  14405. "type": "string"
  14406. },
  14407. "outerdealmode": {
  14408. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14409. "type": "integer"
  14410. },
  14411. "outergroupcode": {
  14412. "description": "外部商品组代码[通道交易]",
  14413. "type": "string"
  14414. },
  14415. "premiumdecimalplace": {
  14416. "description": "权利金小数位[场外期权]",
  14417. "type": "integer"
  14418. },
  14419. "premiumspreadalgorithm": {
  14420. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14421. "type": "integer"
  14422. },
  14423. "premiumspreadvalue": {
  14424. "description": "权利金点差值[场外期权]",
  14425. "type": "number"
  14426. },
  14427. "qtydecimalplace": {
  14428. "description": "成交量小数位",
  14429. "type": "integer"
  14430. },
  14431. "quotegear": {
  14432. "description": "行情档位(1-10)",
  14433. "type": "integer"
  14434. },
  14435. "quoteminunit": {
  14436. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14437. "type": "integer"
  14438. },
  14439. "quoterid": {
  14440. "description": "报价商ID[场外期权]",
  14441. "type": "integer"
  14442. },
  14443. "quotesourcegroupid": {
  14444. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14445. "type": "integer"
  14446. },
  14447. "syncgoodsqty": {
  14448. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14449. "type": "integer"
  14450. }
  14451. }
  14452. },
  14453. "models.Goodssortbypreposition": {
  14454. "type": "object",
  14455. "required": [
  14456. "goodscode",
  14457. "tradedate"
  14458. ],
  14459. "properties": {
  14460. "goodscode": {
  14461. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  14462. "type": "string"
  14463. },
  14464. "goodsgroupcode": {
  14465. "description": "品种代码",
  14466. "type": "string"
  14467. },
  14468. "prepositionqty": {
  14469. "description": "昨持仓量",
  14470. "type": "integer"
  14471. },
  14472. "sortindex": {
  14473. "description": "排序",
  14474. "type": "integer"
  14475. },
  14476. "tradedate": {
  14477. "description": "交易日",
  14478. "type": "string"
  14479. },
  14480. "updatetime": {
  14481. "description": "更新时间",
  14482. "type": "string"
  14483. }
  14484. }
  14485. },
  14486. "models.HsbyBuyMyPayOrder": {
  14487. "type": "object",
  14488. "required": [
  14489. "goodscode",
  14490. "goodsname",
  14491. "tradeid",
  14492. "trademode"
  14493. ],
  14494. "properties": {
  14495. "agreeunit": {
  14496. "description": "合约单位",
  14497. "type": "number"
  14498. },
  14499. "buyaccountid": {
  14500. "description": "买方账号ID[报价币种]",
  14501. "type": "integer"
  14502. },
  14503. "buyorderid": {
  14504. "description": "买方委托单号",
  14505. "type": "string"
  14506. },
  14507. "createtime": {
  14508. "description": "创建时间",
  14509. "type": "string"
  14510. },
  14511. "currencysign": {
  14512. "description": "货币符号",
  14513. "type": "string"
  14514. },
  14515. "decimalplace": {
  14516. "description": "报价小数位",
  14517. "type": "integer"
  14518. },
  14519. "goodscode": {
  14520. "description": "商品代码(内部)",
  14521. "type": "string"
  14522. },
  14523. "goodsid": {
  14524. "description": "商品ID",
  14525. "type": "integer"
  14526. },
  14527. "goodsname": {
  14528. "description": "商品名称",
  14529. "type": "string"
  14530. },
  14531. "marketid": {
  14532. "description": "市场ID",
  14533. "type": "integer"
  14534. },
  14535. "offamount": {
  14536. "description": "优惠金额",
  14537. "type": "number"
  14538. },
  14539. "originalamount": {
  14540. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14541. "type": "number"
  14542. },
  14543. "payamount": {
  14544. "description": "支付金额 = TradeAmount + TradeCharge",
  14545. "type": "number"
  14546. },
  14547. "payflag": {
  14548. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14549. "type": "integer"
  14550. },
  14551. "paylimitedtime": {
  14552. "description": "支付期限",
  14553. "type": "string"
  14554. },
  14555. "paytime": {
  14556. "description": "付款时间",
  14557. "type": "string"
  14558. },
  14559. "picurls1": {
  14560. "description": "预售商品介绍图片[多张用逗号分隔]",
  14561. "type": "string"
  14562. },
  14563. "picurls2": {
  14564. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14565. "type": "string"
  14566. },
  14567. "sellaccountid": {
  14568. "description": "卖方账号ID[报价币种]",
  14569. "type": "integer"
  14570. },
  14571. "sellorderid": {
  14572. "description": "卖方委托单号",
  14573. "type": "string"
  14574. },
  14575. "tradeamount": {
  14576. "description": "成交金额",
  14577. "type": "number"
  14578. },
  14579. "tradecharge": {
  14580. "description": "成交手续费(买方)",
  14581. "type": "number"
  14582. },
  14583. "tradedate": {
  14584. "description": "交易日(yyyyMMdd)",
  14585. "type": "string"
  14586. },
  14587. "tradeid": {
  14588. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14589. "type": "string"
  14590. },
  14591. "trademode": {
  14592. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14593. "type": "integer"
  14594. },
  14595. "tradeprice": {
  14596. "description": "成交价格",
  14597. "type": "number"
  14598. },
  14599. "tradeqty": {
  14600. "description": "成交数量",
  14601. "type": "integer"
  14602. },
  14603. "vendorname1": {
  14604. "description": "预售商品供应商名称",
  14605. "type": "string"
  14606. },
  14607. "vendorname2": {
  14608. "description": "挂牌商品供应商名称",
  14609. "type": "string"
  14610. }
  14611. }
  14612. },
  14613. "models.HsbyBuyMyTradeDetail": {
  14614. "type": "object",
  14615. "required": [
  14616. "accountid",
  14617. "buyorsell",
  14618. "goodscode",
  14619. "goodsid",
  14620. "goodsname",
  14621. "marketid",
  14622. "orderid",
  14623. "qty",
  14624. "time",
  14625. "trademode"
  14626. ],
  14627. "properties": {
  14628. "accountid": {
  14629. "description": "账户ID[报价币种]",
  14630. "type": "integer"
  14631. },
  14632. "agreeunit": {
  14633. "description": "合约单位",
  14634. "type": "number"
  14635. },
  14636. "amount": {
  14637. "description": "金额 = 价格 * 数量 * 合约单位",
  14638. "type": "number"
  14639. },
  14640. "buyorsell": {
  14641. "description": "买卖 - 0:买 1:卖",
  14642. "type": "integer"
  14643. },
  14644. "currencysign": {
  14645. "description": "货币符号",
  14646. "type": "string"
  14647. },
  14648. "decimalplace": {
  14649. "description": "报价小数位",
  14650. "type": "integer"
  14651. },
  14652. "goodscode": {
  14653. "description": "商品代码(内部)",
  14654. "type": "string"
  14655. },
  14656. "goodsid": {
  14657. "description": "商品ID",
  14658. "type": "integer"
  14659. },
  14660. "goodsname": {
  14661. "description": "商品名称",
  14662. "type": "string"
  14663. },
  14664. "marketid": {
  14665. "description": "市场ID",
  14666. "type": "integer"
  14667. },
  14668. "orderamount": {
  14669. "description": "委托金额",
  14670. "type": "number"
  14671. },
  14672. "orderid": {
  14673. "description": "单号(成交单号)",
  14674. "type": "string"
  14675. },
  14676. "picurls1": {
  14677. "description": "预售商品介绍图片[多张用逗号分隔]",
  14678. "type": "string"
  14679. },
  14680. "picurls2": {
  14681. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14682. "type": "string"
  14683. },
  14684. "price": {
  14685. "description": "价格",
  14686. "type": "number"
  14687. },
  14688. "qty": {
  14689. "description": "数量",
  14690. "type": "integer"
  14691. },
  14692. "time": {
  14693. "description": "时间",
  14694. "type": "string"
  14695. },
  14696. "trademode": {
  14697. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14698. "type": "integer"
  14699. },
  14700. "vendorname1": {
  14701. "description": "预售商品供应商名称",
  14702. "type": "string"
  14703. },
  14704. "vendorname2": {
  14705. "description": "挂牌商品供应商名称",
  14706. "type": "string"
  14707. }
  14708. }
  14709. },
  14710. "models.HsbyGoodsOrderDetail": {
  14711. "type": "object",
  14712. "required": [
  14713. "buyorsell",
  14714. "orderid",
  14715. "ordertime"
  14716. ],
  14717. "properties": {
  14718. "buyorsell": {
  14719. "description": "买卖 - 0:买 1:卖",
  14720. "type": "integer"
  14721. },
  14722. "currencysign": {
  14723. "description": "货币符号",
  14724. "type": "string"
  14725. },
  14726. "customername": {
  14727. "description": "客户名称(企业名称),已脱敏",
  14728. "type": "string"
  14729. },
  14730. "enableqty": {
  14731. "description": "可用数量",
  14732. "type": "integer"
  14733. },
  14734. "goodunit": {
  14735. "description": "报价单位",
  14736. "type": "string"
  14737. },
  14738. "orderid": {
  14739. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14740. "type": "string"
  14741. },
  14742. "orderprice": {
  14743. "description": "委托价格",
  14744. "type": "number"
  14745. },
  14746. "ordertime": {
  14747. "description": "委托时间",
  14748. "type": "string"
  14749. }
  14750. }
  14751. },
  14752. "models.HsbyListingGoodsDetail": {
  14753. "type": "object",
  14754. "required": [
  14755. "goodscode",
  14756. "goodsid",
  14757. "goodsname",
  14758. "marketid",
  14759. "trademode"
  14760. ],
  14761. "properties": {
  14762. "agreeunit": {
  14763. "description": "合约单位",
  14764. "type": "number"
  14765. },
  14766. "buymaxqty": {
  14767. "description": "购买上限 [71] - 0为不限",
  14768. "type": "integer"
  14769. },
  14770. "currency": {
  14771. "description": "货币",
  14772. "type": "string"
  14773. },
  14774. "currencysign": {
  14775. "description": "货币符号",
  14776. "type": "string"
  14777. },
  14778. "decimalplace": {
  14779. "description": "报价小数位",
  14780. "type": "integer"
  14781. },
  14782. "desccityid": {
  14783. "description": "目的地(市)ID",
  14784. "type": "integer"
  14785. },
  14786. "descprovinceid": {
  14787. "description": "目的地(省)ID",
  14788. "type": "integer"
  14789. },
  14790. "goodscode": {
  14791. "description": "商品代码(内部)",
  14792. "type": "string"
  14793. },
  14794. "goodsdesc": {
  14795. "description": "商品详情",
  14796. "type": "string"
  14797. },
  14798. "goodsid": {
  14799. "description": "商品ID(自增ID SEQ_GOODS)",
  14800. "type": "integer"
  14801. },
  14802. "goodsname": {
  14803. "description": "商品名称",
  14804. "type": "string"
  14805. },
  14806. "goodsprice": {
  14807. "description": "商品价格",
  14808. "type": "number"
  14809. },
  14810. "hotindex": {
  14811. "description": "景点热度",
  14812. "type": "integer"
  14813. },
  14814. "last": {
  14815. "description": "现价",
  14816. "type": "number"
  14817. },
  14818. "limitdown": {
  14819. "description": "跌停价",
  14820. "type": "number"
  14821. },
  14822. "limitup": {
  14823. "description": "涨停价",
  14824. "type": "number"
  14825. },
  14826. "lotsize": {
  14827. "description": "手数最小变动单位",
  14828. "type": "integer"
  14829. },
  14830. "marketid": {
  14831. "description": "所属市场ID",
  14832. "type": "integer"
  14833. },
  14834. "picurls": {
  14835. "description": "介绍图片[多张用逗号分隔]",
  14836. "type": "string"
  14837. },
  14838. "quoteminunit": {
  14839. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14840. "type": "integer"
  14841. },
  14842. "stepvalue": {
  14843. "description": "价格最小变动单位",
  14844. "type": "number"
  14845. },
  14846. "trademode": {
  14847. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14848. "type": "integer"
  14849. },
  14850. "vendorattr": {
  14851. "description": "供应商附件(多张,逗号分隔)",
  14852. "type": "string"
  14853. },
  14854. "vendorname": {
  14855. "description": "供应商名称",
  14856. "type": "string"
  14857. },
  14858. "vendorphone": {
  14859. "description": "供应商客服电话",
  14860. "type": "string"
  14861. },
  14862. "videourls": {
  14863. "description": "介绍视频[多张用逗号分隔]",
  14864. "type": "string"
  14865. }
  14866. }
  14867. },
  14868. "models.HsbyMarketGoods": {
  14869. "type": "object",
  14870. "required": [
  14871. "accountid",
  14872. "buyorsell",
  14873. "goodscode",
  14874. "goodsid",
  14875. "goodsname",
  14876. "marketid",
  14877. "orderid",
  14878. "trademode"
  14879. ],
  14880. "properties": {
  14881. "accountid": {
  14882. "description": "账户ID[报价币种]",
  14883. "type": "integer"
  14884. },
  14885. "agreeunit": {
  14886. "description": "合约单位",
  14887. "type": "number"
  14888. },
  14889. "buyorsell": {
  14890. "description": "买卖 - 0:买 1:卖",
  14891. "type": "integer"
  14892. },
  14893. "categoryid": {
  14894. "description": "类别ID(WRCATEGORY)",
  14895. "type": "integer"
  14896. },
  14897. "currency": {
  14898. "description": "货币",
  14899. "type": "string"
  14900. },
  14901. "currencysign": {
  14902. "description": "货币符号",
  14903. "type": "string"
  14904. },
  14905. "customername": {
  14906. "description": "卖家名称",
  14907. "type": "string"
  14908. },
  14909. "decimalplace": {
  14910. "description": "报价小数位",
  14911. "type": "integer"
  14912. },
  14913. "goodscode": {
  14914. "description": "商品代码(内部)",
  14915. "type": "string"
  14916. },
  14917. "goodsid": {
  14918. "description": "商品ID",
  14919. "type": "integer"
  14920. },
  14921. "goodsname": {
  14922. "description": "商品名称",
  14923. "type": "string"
  14924. },
  14925. "goodsprice": {
  14926. "description": "商品价格",
  14927. "type": "number"
  14928. },
  14929. "hascoupon": {
  14930. "description": "是否可用优惠卷",
  14931. "type": "boolean"
  14932. },
  14933. "hotindex": {
  14934. "description": "景点热度",
  14935. "type": "integer"
  14936. },
  14937. "marketid": {
  14938. "description": "市场ID",
  14939. "type": "integer"
  14940. },
  14941. "orderid": {
  14942. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14943. "type": "string"
  14944. },
  14945. "orderprice": {
  14946. "description": "委托价格",
  14947. "type": "number"
  14948. },
  14949. "orderstatus": {
  14950. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14951. "type": "integer"
  14952. },
  14953. "picurls": {
  14954. "description": "介绍图片[多张用逗号分隔]",
  14955. "type": "string"
  14956. },
  14957. "quoteminunit": {
  14958. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14959. "type": "integer"
  14960. },
  14961. "sellUserID": {
  14962. "description": "卖方UserID",
  14963. "type": "integer"
  14964. },
  14965. "trademode": {
  14966. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14967. "type": "integer"
  14968. },
  14969. "videourls": {
  14970. "description": "介绍视频[多张用逗号分隔]",
  14971. "type": "string"
  14972. }
  14973. }
  14974. },
  14975. "models.HsbyMarketGoodsDetail": {
  14976. "type": "object",
  14977. "required": [
  14978. "accountid",
  14979. "buyorsell",
  14980. "goodscode",
  14981. "goodsid",
  14982. "goodsname",
  14983. "marketid",
  14984. "orderid",
  14985. "orderqty",
  14986. "trademode"
  14987. ],
  14988. "properties": {
  14989. "accountid": {
  14990. "description": "账户ID[报价币种]",
  14991. "type": "integer"
  14992. },
  14993. "agreeunit": {
  14994. "description": "合约单位",
  14995. "type": "number"
  14996. },
  14997. "buymaxqty": {
  14998. "description": "购买上限 [71] - 0为不限",
  14999. "type": "integer"
  15000. },
  15001. "buyorsell": {
  15002. "description": "买卖 - 0:买 1:卖",
  15003. "type": "integer"
  15004. },
  15005. "cancelqty": {
  15006. "description": "撤单数量",
  15007. "type": "integer"
  15008. },
  15009. "categoryid": {
  15010. "description": "类别ID(WRCATEGORY)",
  15011. "type": "integer"
  15012. },
  15013. "currency": {
  15014. "description": "货币",
  15015. "type": "string"
  15016. },
  15017. "currencysign": {
  15018. "description": "货币符号",
  15019. "type": "string"
  15020. },
  15021. "customername": {
  15022. "description": "卖家名称",
  15023. "type": "string"
  15024. },
  15025. "decimalplace": {
  15026. "description": "报价小数位",
  15027. "type": "integer"
  15028. },
  15029. "goodscode": {
  15030. "description": "商品代码(内部)",
  15031. "type": "string"
  15032. },
  15033. "goodsdesc": {
  15034. "description": "商品详情",
  15035. "type": "string"
  15036. },
  15037. "goodsid": {
  15038. "description": "商品ID",
  15039. "type": "integer"
  15040. },
  15041. "goodsname": {
  15042. "description": "商品名称",
  15043. "type": "string"
  15044. },
  15045. "goodsprice": {
  15046. "description": "商品价格",
  15047. "type": "number"
  15048. },
  15049. "hotindex": {
  15050. "description": "景点热度",
  15051. "type": "integer"
  15052. },
  15053. "lotsize": {
  15054. "description": "手数最小变动单位",
  15055. "type": "integer"
  15056. },
  15057. "marketid": {
  15058. "description": "市场ID",
  15059. "type": "integer"
  15060. },
  15061. "orderid": {
  15062. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15063. "type": "string"
  15064. },
  15065. "orderprice": {
  15066. "description": "委托价格",
  15067. "type": "number"
  15068. },
  15069. "orderqty": {
  15070. "description": "委托数量",
  15071. "type": "integer"
  15072. },
  15073. "orderstatus": {
  15074. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15075. "type": "integer"
  15076. },
  15077. "picurls": {
  15078. "description": "介绍图片[多张用逗号分隔]",
  15079. "type": "string"
  15080. },
  15081. "quoteminunit": {
  15082. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15083. "type": "integer"
  15084. },
  15085. "sellUserID": {
  15086. "description": "卖方UserID",
  15087. "type": "integer"
  15088. },
  15089. "trademode": {
  15090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15091. "type": "integer"
  15092. },
  15093. "tradeqty": {
  15094. "description": "成交数量",
  15095. "type": "integer"
  15096. },
  15097. "vendorattr": {
  15098. "description": "供应商附件(多张,逗号分隔)",
  15099. "type": "string"
  15100. },
  15101. "vendorname": {
  15102. "description": "供应商名称",
  15103. "type": "string"
  15104. },
  15105. "vendorphone": {
  15106. "description": "供应商客服电话",
  15107. "type": "string"
  15108. },
  15109. "videourls": {
  15110. "description": "介绍视频[多张用逗号分隔]",
  15111. "type": "string"
  15112. }
  15113. }
  15114. },
  15115. "models.HsbyMarketInfo": {
  15116. "type": "object",
  15117. "required": [
  15118. "marketid",
  15119. "marketstatus",
  15120. "trademode"
  15121. ],
  15122. "properties": {
  15123. "marketid": {
  15124. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15125. "type": "integer"
  15126. },
  15127. "marketname": {
  15128. "description": "市场名称",
  15129. "type": "string"
  15130. },
  15131. "marketstatus": {
  15132. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15133. "type": "integer"
  15134. },
  15135. "trademode": {
  15136. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15137. "type": "integer"
  15138. }
  15139. }
  15140. },
  15141. "models.HsbyMyGoods": {
  15142. "type": "object",
  15143. "required": [
  15144. "accountid",
  15145. "goodscode",
  15146. "goodsid",
  15147. "goodsname",
  15148. "marketid",
  15149. "trademode"
  15150. ],
  15151. "properties": {
  15152. "accountid": {
  15153. "description": "账号Id",
  15154. "type": "integer"
  15155. },
  15156. "agreeunit": {
  15157. "description": "合约单位",
  15158. "type": "number"
  15159. },
  15160. "buyaverageprice": {
  15161. "description": "持仓均价",
  15162. "type": "number"
  15163. },
  15164. "buycurholderamount": {
  15165. "description": "买当前持仓总金额[商品币种]",
  15166. "type": "number"
  15167. },
  15168. "buycurpositionqty": {
  15169. "description": "买当前持仓总数量",
  15170. "type": "integer"
  15171. },
  15172. "buymaxqty": {
  15173. "description": "购买上限 [71] - 0为不限",
  15174. "type": "integer"
  15175. },
  15176. "currencysign": {
  15177. "description": "货币符号",
  15178. "type": "string"
  15179. },
  15180. "decimalplace": {
  15181. "description": "报价小数位",
  15182. "type": "integer"
  15183. },
  15184. "enableqty": {
  15185. "description": "可用数量",
  15186. "type": "integer"
  15187. },
  15188. "goodscode": {
  15189. "description": "商品代码(内部)",
  15190. "type": "string"
  15191. },
  15192. "goodsid": {
  15193. "description": "商品Id",
  15194. "type": "integer"
  15195. },
  15196. "goodsname": {
  15197. "description": "商品名称",
  15198. "type": "string"
  15199. },
  15200. "goodsprice": {
  15201. "description": "商品价格",
  15202. "type": "number"
  15203. },
  15204. "goodsstatus": {
  15205. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15206. "type": "integer"
  15207. },
  15208. "last": {
  15209. "description": "现价(仅使用于挂牌点选)",
  15210. "type": "number"
  15211. },
  15212. "limitdown": {
  15213. "description": "跌停价(仅使用于挂牌点选)",
  15214. "type": "number"
  15215. },
  15216. "limitup": {
  15217. "description": "涨停价(仅使用于挂牌点选)",
  15218. "type": "number"
  15219. },
  15220. "lotsize": {
  15221. "description": "手数最小变动单位",
  15222. "type": "integer"
  15223. },
  15224. "marketid": {
  15225. "description": "所属市场ID",
  15226. "type": "integer"
  15227. },
  15228. "picurls": {
  15229. "description": "介绍图片[多张用逗号分隔]",
  15230. "type": "string"
  15231. },
  15232. "quoteminunit": {
  15233. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15234. "type": "integer"
  15235. },
  15236. "stepvalue": {
  15237. "description": "价格最小变动单位",
  15238. "type": "number"
  15239. },
  15240. "trademode": {
  15241. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15242. "type": "integer"
  15243. }
  15244. }
  15245. },
  15246. "models.HsbyMyPackage": {
  15247. "type": "object",
  15248. "required": [
  15249. "goodscode",
  15250. "goodsname",
  15251. "takeorderid",
  15252. "trademode"
  15253. ],
  15254. "properties": {
  15255. "accountid": {
  15256. "description": "账户ID",
  15257. "type": "integer"
  15258. },
  15259. "address": {
  15260. "description": "提货人详细地址",
  15261. "type": "string"
  15262. },
  15263. "agreeunit": {
  15264. "description": "合约单位",
  15265. "type": "number"
  15266. },
  15267. "amount": {
  15268. "description": "提货金额",
  15269. "type": "number"
  15270. },
  15271. "auditer": {
  15272. "description": "审核人",
  15273. "type": "integer"
  15274. },
  15275. "audittime": {
  15276. "description": "审核时间",
  15277. "type": "string"
  15278. },
  15279. "averageprice": {
  15280. "description": "均价",
  15281. "type": "number"
  15282. },
  15283. "cardnum": {
  15284. "description": "提货人证件号码",
  15285. "type": "string"
  15286. },
  15287. "cardtypeid": {
  15288. "description": "提货人证件类型",
  15289. "type": "integer"
  15290. },
  15291. "checkremark": {
  15292. "description": "审核备注",
  15293. "type": "string"
  15294. },
  15295. "currencysign": {
  15296. "description": "货币符号",
  15297. "type": "string"
  15298. },
  15299. "decimalplace": {
  15300. "description": "报价小数位",
  15301. "type": "integer"
  15302. },
  15303. "goodscode": {
  15304. "description": "商品代码(内部)",
  15305. "type": "string"
  15306. },
  15307. "goodsid": {
  15308. "description": "商品ID",
  15309. "type": "integer"
  15310. },
  15311. "goodsname": {
  15312. "description": "商品名称",
  15313. "type": "string"
  15314. },
  15315. "handlestatus": {
  15316. "description": "处理状态",
  15317. "type": "integer"
  15318. },
  15319. "marketid": {
  15320. "description": "市场ID",
  15321. "type": "integer"
  15322. },
  15323. "phonenum": {
  15324. "description": "提货人联系方式",
  15325. "type": "string"
  15326. },
  15327. "picurls": {
  15328. "description": "介绍图片[多张用逗号分隔]",
  15329. "type": "string"
  15330. },
  15331. "qty": {
  15332. "description": "提货数量",
  15333. "type": "number"
  15334. },
  15335. "recivername": {
  15336. "description": "提货人姓名",
  15337. "type": "string"
  15338. },
  15339. "reqtime": {
  15340. "description": "更新时间",
  15341. "type": "string"
  15342. },
  15343. "takemode": {
  15344. "description": "提货方式 - 2:自提 3:配送",
  15345. "type": "integer"
  15346. },
  15347. "takeorderid": {
  15348. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15349. "type": "string"
  15350. },
  15351. "takeorderstatus": {
  15352. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15353. "type": "integer"
  15354. },
  15355. "takeremark": {
  15356. "description": "提货备注",
  15357. "type": "string"
  15358. },
  15359. "tradedate": {
  15360. "description": "交易日(yyyyMMdd)",
  15361. "type": "string"
  15362. },
  15363. "trademode": {
  15364. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15365. "type": "integer"
  15366. },
  15367. "userid": {
  15368. "description": "用户ID",
  15369. "type": "integer"
  15370. },
  15371. "vendorname": {
  15372. "description": "供应商名称",
  15373. "type": "string"
  15374. }
  15375. }
  15376. },
  15377. "models.HsbyPreGoods": {
  15378. "type": "object",
  15379. "required": [
  15380. "goodscode",
  15381. "goodsid",
  15382. "goodsname",
  15383. "marketid",
  15384. "trademode"
  15385. ],
  15386. "properties": {
  15387. "agreeunit": {
  15388. "description": "合约单位",
  15389. "type": "number"
  15390. },
  15391. "currency": {
  15392. "description": "货币",
  15393. "type": "string"
  15394. },
  15395. "currencysign": {
  15396. "description": "货币符号",
  15397. "type": "string"
  15398. },
  15399. "decimalplace": {
  15400. "description": "报价小数位",
  15401. "type": "integer"
  15402. },
  15403. "desccityid": {
  15404. "description": "目的地(市)",
  15405. "type": "integer"
  15406. },
  15407. "descprovinceid": {
  15408. "description": "目的地(省)",
  15409. "type": "integer"
  15410. },
  15411. "enableqty": {
  15412. "description": "剩余数量",
  15413. "type": "integer"
  15414. },
  15415. "goodscode": {
  15416. "description": "商品代码(内部)",
  15417. "type": "string"
  15418. },
  15419. "goodsid": {
  15420. "description": "商品ID(自增ID SEQ_GOODS)",
  15421. "type": "integer"
  15422. },
  15423. "goodsname": {
  15424. "description": "商品名称",
  15425. "type": "string"
  15426. },
  15427. "goodsstatus": {
  15428. "description": "商品状态- 2:未上市 3:上市",
  15429. "type": "integer"
  15430. },
  15431. "lasttradedate": {
  15432. "description": "最后交易日期(状态:待退市)",
  15433. "type": "string"
  15434. },
  15435. "listingdate": {
  15436. "description": "交易开始日期",
  15437. "type": "string"
  15438. },
  15439. "marketid": {
  15440. "description": "所属市场ID",
  15441. "type": "integer"
  15442. },
  15443. "picurls": {
  15444. "description": "介绍图片[多张用逗号分隔]",
  15445. "type": "string"
  15446. },
  15447. "presaledqty": {
  15448. "description": "已预售量(预售结束时更新)",
  15449. "type": "integer"
  15450. },
  15451. "presaleqty": {
  15452. "description": "预售数量",
  15453. "type": "integer"
  15454. },
  15455. "quoteminunit": {
  15456. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15457. "type": "integer"
  15458. },
  15459. "refprice": {
  15460. "description": "参考价格[一口价]",
  15461. "type": "number"
  15462. },
  15463. "relatedgoodsid": {
  15464. "description": "关联交易合约ID",
  15465. "type": "integer"
  15466. },
  15467. "trademode": {
  15468. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15469. "type": "integer"
  15470. },
  15471. "videourls": {
  15472. "description": "介绍视频[多张用逗号分隔]",
  15473. "type": "string"
  15474. }
  15475. }
  15476. },
  15477. "models.HsbyPreGoodsDetail": {
  15478. "type": "object",
  15479. "required": [
  15480. "goodscode",
  15481. "goodsid",
  15482. "goodsname",
  15483. "marketid",
  15484. "trademode"
  15485. ],
  15486. "properties": {
  15487. "agreeunit": {
  15488. "description": "合约单位",
  15489. "type": "number"
  15490. },
  15491. "buymaxqty": {
  15492. "description": "购买上限 [71] - 0为不限",
  15493. "type": "integer"
  15494. },
  15495. "currency": {
  15496. "description": "货币",
  15497. "type": "string"
  15498. },
  15499. "currencysign": {
  15500. "description": "货币符号",
  15501. "type": "string"
  15502. },
  15503. "customername": {
  15504. "description": "发行单位",
  15505. "type": "string"
  15506. },
  15507. "decimalplace": {
  15508. "description": "报价小数位",
  15509. "type": "integer"
  15510. },
  15511. "desccityid": {
  15512. "description": "目的地(市)ID",
  15513. "type": "integer"
  15514. },
  15515. "descprovinceid": {
  15516. "description": "目的地(省)ID",
  15517. "type": "integer"
  15518. },
  15519. "enableqty": {
  15520. "description": "剩余数量",
  15521. "type": "integer"
  15522. },
  15523. "goodscode": {
  15524. "description": "商品代码(内部)",
  15525. "type": "string"
  15526. },
  15527. "goodsdesc": {
  15528. "description": "商品详情",
  15529. "type": "string"
  15530. },
  15531. "goodsid": {
  15532. "description": "商品ID(自增ID SEQ_GOODS)",
  15533. "type": "integer"
  15534. },
  15535. "goodsname": {
  15536. "description": "商品名称",
  15537. "type": "string"
  15538. },
  15539. "goodsstatus": {
  15540. "description": "商品状态- 2:未上市 3:上市",
  15541. "type": "integer"
  15542. },
  15543. "goodunit": {
  15544. "description": "报价单位",
  15545. "type": "string"
  15546. },
  15547. "lasttradedate": {
  15548. "description": "最后交易日期(状态:待退市)",
  15549. "type": "string"
  15550. },
  15551. "listingdate": {
  15552. "description": "交易开始日期",
  15553. "type": "string"
  15554. },
  15555. "lotsize": {
  15556. "description": "手数最小变动单位",
  15557. "type": "integer"
  15558. },
  15559. "marketid": {
  15560. "description": "所属市场ID",
  15561. "type": "integer"
  15562. },
  15563. "picurls": {
  15564. "description": "介绍图片[多张用逗号分隔]",
  15565. "type": "string"
  15566. },
  15567. "presaledqty": {
  15568. "description": "已预售量(预售结束时更新)",
  15569. "type": "integer"
  15570. },
  15571. "presaleqty": {
  15572. "description": "预售数量",
  15573. "type": "integer"
  15574. },
  15575. "quoteminunit": {
  15576. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15577. "type": "integer"
  15578. },
  15579. "refprice": {
  15580. "description": "参考价格[一口价]",
  15581. "type": "number"
  15582. },
  15583. "relatedgoodsid": {
  15584. "description": "关联交易合约ID",
  15585. "type": "integer"
  15586. },
  15587. "stepvalue": {
  15588. "description": "价格最小变动单位",
  15589. "type": "number"
  15590. },
  15591. "trademode": {
  15592. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15593. "type": "integer"
  15594. },
  15595. "vendorattr": {
  15596. "description": "供应商附件(多张,逗号分隔)",
  15597. "type": "string"
  15598. },
  15599. "vendorname": {
  15600. "description": "供应商名称",
  15601. "type": "string"
  15602. },
  15603. "vendorphone": {
  15604. "description": "供应商客服电话",
  15605. "type": "string"
  15606. },
  15607. "videourls": {
  15608. "description": "介绍视频[多张用逗号分隔]",
  15609. "type": "string"
  15610. }
  15611. }
  15612. },
  15613. "models.HsbySellCollectionOrder": {
  15614. "type": "object",
  15615. "required": [
  15616. "goodscode",
  15617. "goodsname",
  15618. "tradeid",
  15619. "trademode"
  15620. ],
  15621. "properties": {
  15622. "agreeunit": {
  15623. "description": "合约单位",
  15624. "type": "number"
  15625. },
  15626. "buyaccountid": {
  15627. "description": "买方账号ID[报价币种]",
  15628. "type": "integer"
  15629. },
  15630. "buyorderid": {
  15631. "description": "买方委托单号",
  15632. "type": "string"
  15633. },
  15634. "createtime": {
  15635. "description": "创建时间",
  15636. "type": "string"
  15637. },
  15638. "currencysign": {
  15639. "description": "货币符号",
  15640. "type": "string"
  15641. },
  15642. "decimalplace": {
  15643. "description": "报价小数位",
  15644. "type": "integer"
  15645. },
  15646. "goodscode": {
  15647. "description": "商品代码(内部)",
  15648. "type": "string"
  15649. },
  15650. "goodsid": {
  15651. "description": "商品ID",
  15652. "type": "integer"
  15653. },
  15654. "goodsname": {
  15655. "description": "商品名称",
  15656. "type": "string"
  15657. },
  15658. "marketid": {
  15659. "description": "市场ID",
  15660. "type": "integer"
  15661. },
  15662. "offamount": {
  15663. "description": "优惠金额",
  15664. "type": "number"
  15665. },
  15666. "payamount": {
  15667. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15668. "type": "number"
  15669. },
  15670. "payflag": {
  15671. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15672. "type": "integer"
  15673. },
  15674. "paylimitedtime": {
  15675. "description": "支付期限",
  15676. "type": "string"
  15677. },
  15678. "paytime": {
  15679. "description": "付款时间",
  15680. "type": "string"
  15681. },
  15682. "picurls": {
  15683. "description": "商品介绍图片[多张用逗号分隔]",
  15684. "type": "string"
  15685. },
  15686. "sellaccountid": {
  15687. "description": "卖方账号ID[报价币种]",
  15688. "type": "integer"
  15689. },
  15690. "sellorderid": {
  15691. "description": "卖方委托单号",
  15692. "type": "string"
  15693. },
  15694. "tradeamount": {
  15695. "description": "成交金额",
  15696. "type": "number"
  15697. },
  15698. "tradecharge": {
  15699. "description": "成交手续费(买方)",
  15700. "type": "number"
  15701. },
  15702. "tradedate": {
  15703. "description": "交易日(yyyyMMdd)",
  15704. "type": "string"
  15705. },
  15706. "tradeid": {
  15707. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15708. "type": "string"
  15709. },
  15710. "trademode": {
  15711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15712. "type": "integer"
  15713. },
  15714. "tradeprice": {
  15715. "description": "成交价格",
  15716. "type": "number"
  15717. },
  15718. "tradeqty": {
  15719. "description": "成交数量",
  15720. "type": "integer"
  15721. }
  15722. }
  15723. },
  15724. "models.HsbySellMyDetail": {
  15725. "type": "object",
  15726. "required": [
  15727. "accountid",
  15728. "buyorsell",
  15729. "goodscode",
  15730. "goodsid",
  15731. "goodsname",
  15732. "marketid",
  15733. "orderid",
  15734. "time",
  15735. "trademode"
  15736. ],
  15737. "properties": {
  15738. "accountid": {
  15739. "description": "账户ID[报价币种]",
  15740. "type": "integer"
  15741. },
  15742. "agreeunit": {
  15743. "description": "合约单位",
  15744. "type": "number"
  15745. },
  15746. "buyorsell": {
  15747. "description": "买卖 - 0:买 1:卖",
  15748. "type": "integer"
  15749. },
  15750. "currencysign": {
  15751. "description": "货币符号",
  15752. "type": "string"
  15753. },
  15754. "decimalplace": {
  15755. "description": "报价小数位",
  15756. "type": "integer"
  15757. },
  15758. "goodscode": {
  15759. "description": "商品代码(内部)",
  15760. "type": "string"
  15761. },
  15762. "goodsid": {
  15763. "description": "商品ID",
  15764. "type": "integer"
  15765. },
  15766. "goodsname": {
  15767. "description": "商品名称",
  15768. "type": "string"
  15769. },
  15770. "marketid": {
  15771. "description": "市场ID",
  15772. "type": "integer"
  15773. },
  15774. "orderid": {
  15775. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15776. "type": "string"
  15777. },
  15778. "ordertype": {
  15779. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15780. "type": "integer"
  15781. },
  15782. "picurls": {
  15783. "description": "介绍图片[多张用逗号分隔]",
  15784. "type": "string"
  15785. },
  15786. "price": {
  15787. "description": "价格",
  15788. "type": "number"
  15789. },
  15790. "qty": {
  15791. "description": "数量",
  15792. "type": "integer"
  15793. },
  15794. "time": {
  15795. "description": "时间",
  15796. "type": "string"
  15797. },
  15798. "trademode": {
  15799. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15800. "type": "integer"
  15801. },
  15802. "vendorname": {
  15803. "description": "供应商名称",
  15804. "type": "string"
  15805. }
  15806. }
  15807. },
  15808. "models.HsbyTopGoods": {
  15809. "type": "object",
  15810. "required": [
  15811. "goodscode",
  15812. "goodsid",
  15813. "goodsname",
  15814. "marketid",
  15815. "trademode"
  15816. ],
  15817. "properties": {
  15818. "agreeunit": {
  15819. "description": "合约单位",
  15820. "type": "number"
  15821. },
  15822. "currency": {
  15823. "description": "货币",
  15824. "type": "string"
  15825. },
  15826. "currencysign": {
  15827. "description": "货币符号",
  15828. "type": "string"
  15829. },
  15830. "decimalplace": {
  15831. "description": "报价小数位",
  15832. "type": "integer"
  15833. },
  15834. "desccityid": {
  15835. "description": "目的地(市)",
  15836. "type": "integer"
  15837. },
  15838. "descprovinceid": {
  15839. "description": "目的地(省)",
  15840. "type": "integer"
  15841. },
  15842. "goodscode": {
  15843. "description": "商品代码(内部)",
  15844. "type": "string"
  15845. },
  15846. "goodsid": {
  15847. "description": "商品ID(自增ID SEQ_GOODS)",
  15848. "type": "integer"
  15849. },
  15850. "goodsname": {
  15851. "description": "商品名称",
  15852. "type": "string"
  15853. },
  15854. "hotindex": {
  15855. "description": "景点热度",
  15856. "type": "integer"
  15857. },
  15858. "last": {
  15859. "description": "现价",
  15860. "type": "number"
  15861. },
  15862. "marketid": {
  15863. "description": "所属市场ID",
  15864. "type": "integer"
  15865. },
  15866. "picurls": {
  15867. "description": "介绍图片[多张用逗号分隔]",
  15868. "type": "string"
  15869. },
  15870. "quoteminunit": {
  15871. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15872. "type": "integer"
  15873. },
  15874. "trademode": {
  15875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15876. "type": "integer"
  15877. },
  15878. "videourls": {
  15879. "description": "介绍视频[多张用逗号分隔]",
  15880. "type": "string"
  15881. }
  15882. }
  15883. },
  15884. "models.HybsMyBuyOrderDetail": {
  15885. "type": "object",
  15886. "required": [
  15887. "accountid",
  15888. "buyorsell",
  15889. "goodscode",
  15890. "goodsid",
  15891. "goodsname",
  15892. "marketid",
  15893. "orderid",
  15894. "orderqty",
  15895. "ordertime",
  15896. "trademode"
  15897. ],
  15898. "properties": {
  15899. "accountid": {
  15900. "description": "账户ID[报价币种]",
  15901. "type": "integer"
  15902. },
  15903. "agreeunit": {
  15904. "description": "合约单位",
  15905. "type": "number"
  15906. },
  15907. "buyorsell": {
  15908. "description": "买卖 - 0:买 1:卖",
  15909. "type": "integer"
  15910. },
  15911. "cancelqty": {
  15912. "description": "撤单数量",
  15913. "type": "integer"
  15914. },
  15915. "currencysign": {
  15916. "description": "货币符号",
  15917. "type": "string"
  15918. },
  15919. "decimalplace": {
  15920. "description": "报价小数位",
  15921. "type": "integer"
  15922. },
  15923. "goodscode": {
  15924. "description": "商品代码(内部)",
  15925. "type": "string"
  15926. },
  15927. "goodsid": {
  15928. "description": "商品ID",
  15929. "type": "integer"
  15930. },
  15931. "goodsname": {
  15932. "description": "商品名称",
  15933. "type": "string"
  15934. },
  15935. "listingselecttype": {
  15936. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15937. "type": "integer"
  15938. },
  15939. "marketid": {
  15940. "description": "市场ID",
  15941. "type": "integer"
  15942. },
  15943. "mybuystatus": {
  15944. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15945. "type": "integer"
  15946. },
  15947. "orderamount": {
  15948. "description": "委托金额",
  15949. "type": "number"
  15950. },
  15951. "orderid": {
  15952. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15953. "type": "string"
  15954. },
  15955. "orderprice": {
  15956. "description": "委托价格",
  15957. "type": "number"
  15958. },
  15959. "orderqty": {
  15960. "description": "委托数量",
  15961. "type": "integer"
  15962. },
  15963. "orderstatus": {
  15964. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15965. "type": "integer"
  15966. },
  15967. "ordertime": {
  15968. "description": "委托时间",
  15969. "type": "string"
  15970. },
  15971. "picurls1": {
  15972. "description": "预售商品介绍图片[多张用逗号分隔]",
  15973. "type": "string"
  15974. },
  15975. "picurls2": {
  15976. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15977. "type": "string"
  15978. },
  15979. "trademode": {
  15980. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15981. "type": "integer"
  15982. },
  15983. "tradeqty": {
  15984. "description": "成交数量",
  15985. "type": "integer"
  15986. },
  15987. "vendorname1": {
  15988. "description": "预售商品供应商名称",
  15989. "type": "string"
  15990. },
  15991. "vendorname2": {
  15992. "description": "挂牌商品供应商名称",
  15993. "type": "string"
  15994. }
  15995. }
  15996. },
  15997. "models.Loginaccount": {
  15998. "type": "object",
  15999. "required": [
  16000. "loginid"
  16001. ],
  16002. "properties": {
  16003. "canoutin": {
  16004. "description": "是否可出入金 - 0:不可 1:可",
  16005. "type": "integer"
  16006. },
  16007. "clientroleid": {
  16008. "description": "终端角色ID",
  16009. "type": "integer"
  16010. },
  16011. "haslogined": {
  16012. "description": "是否已登录 - 0:未登录 1:已登录",
  16013. "type": "integer"
  16014. },
  16015. "hasupdatedpwd": {
  16016. "description": "是否已更改密码 - 0:未修改 1:已修改",
  16017. "type": "integer"
  16018. },
  16019. "lastloginip": {
  16020. "description": "最新登录地址",
  16021. "type": "string"
  16022. },
  16023. "lastloginmode": {
  16024. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16025. "type": "integer"
  16026. },
  16027. "lastloginremark": {
  16028. "description": "最新登录描述",
  16029. "type": "string"
  16030. },
  16031. "lastlogintime": {
  16032. "description": "最新登录时间",
  16033. "type": "string"
  16034. },
  16035. "logincode": {
  16036. "description": "登录代码",
  16037. "type": "string"
  16038. },
  16039. "loginfailnum": {
  16040. "description": "连续登录失败次数(登录成功时清零)",
  16041. "type": "integer"
  16042. },
  16043. "loginid": {
  16044. "description": "登陆账号",
  16045. "type": "integer"
  16046. },
  16047. "loginport": {
  16048. "description": "最新登录端口",
  16049. "type": "integer"
  16050. },
  16051. "loginstatus": {
  16052. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  16053. "type": "integer"
  16054. },
  16055. "loginusertype": {
  16056. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  16057. "type": "integer"
  16058. },
  16059. "modifierid": {
  16060. "description": "修改人",
  16061. "type": "integer"
  16062. },
  16063. "modifytime": {
  16064. "description": "修改时间",
  16065. "type": "string"
  16066. },
  16067. "pwdwrongcount": {
  16068. "description": "密码错误次数",
  16069. "type": "integer"
  16070. },
  16071. "taaccountrighttype": {
  16072. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  16073. "type": "integer"
  16074. },
  16075. "unfreezetime": {
  16076. "description": "账户解冻时间",
  16077. "type": "string"
  16078. },
  16079. "userid": {
  16080. "description": "用户ID",
  16081. "type": "integer"
  16082. }
  16083. }
  16084. },
  16085. "models.Market": {
  16086. "type": "object",
  16087. "required": [
  16088. "marketid",
  16089. "marketstatus",
  16090. "openmethod",
  16091. "reckonpricealgorithm",
  16092. "trademode",
  16093. "tradeproperty"
  16094. ],
  16095. "properties": {
  16096. "auctionwrtype": {
  16097. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  16098. "type": "integer"
  16099. },
  16100. "canacceptquote": {
  16101. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  16102. "type": "integer"
  16103. },
  16104. "cangoodsexercise": {
  16105. "description": "[期权]是否可现货行权- 0:否 1:是",
  16106. "type": "integer"
  16107. },
  16108. "cangoodsexercisetype": {
  16109. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  16110. "type": "integer"
  16111. },
  16112. "canmanualquotestrike": {
  16113. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  16114. "type": "integer"
  16115. },
  16116. "canmutistage": {
  16117. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  16118. "type": "integer"
  16119. },
  16120. "canpreexercise": {
  16121. "description": "[期权]是否可预申报- 0:否 1:是",
  16122. "type": "integer"
  16123. },
  16124. "clearinterval": {
  16125. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  16126. "type": "integer"
  16127. },
  16128. "contracttmp": {
  16129. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  16130. "type": "string"
  16131. },
  16132. "exchareaid": {
  16133. "description": "所属交易所,可以没有",
  16134. "type": "integer"
  16135. },
  16136. "goodstype": {
  16137. "description": "商品类型 - 1:交易商品 2:仓单商品",
  16138. "type": "integer"
  16139. },
  16140. "hasrebate": {
  16141. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  16142. "type": "integer"
  16143. },
  16144. "hastradecredit": {
  16145. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  16146. "type": "integer"
  16147. },
  16148. "haswr": {
  16149. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  16150. "type": "integer"
  16151. },
  16152. "isdeductmargin": {
  16153. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  16154. "type": "integer"
  16155. },
  16156. "isrecordsource": {
  16157. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  16158. "type": "integer"
  16159. },
  16160. "isreleasemargin": {
  16161. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  16162. "type": "integer"
  16163. },
  16164. "marginformula": {
  16165. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16166. "type": "integer"
  16167. },
  16168. "marginformula2": {
  16169. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16170. "type": "integer"
  16171. },
  16172. "marketid": {
  16173. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16174. "type": "integer"
  16175. },
  16176. "marketname": {
  16177. "description": "市场名称",
  16178. "type": "string"
  16179. },
  16180. "marketserviceid": {
  16181. "description": "市场服务ID",
  16182. "type": "integer"
  16183. },
  16184. "marketstatus": {
  16185. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16186. "type": "integer"
  16187. },
  16188. "markettype": {
  16189. "description": "市场类型- 1:非交易服务 2:交易服务",
  16190. "type": "integer"
  16191. },
  16192. "matchermode": {
  16193. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  16194. "type": "integer"
  16195. },
  16196. "openmethod": {
  16197. "description": "开盘模式 - 0 自动 1手动",
  16198. "type": "integer"
  16199. },
  16200. "otcuserid": {
  16201. "description": "场外期权做市商[场外期权]",
  16202. "type": "integer"
  16203. },
  16204. "outersynctime": {
  16205. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  16206. "type": "string"
  16207. },
  16208. "pendingflag": {
  16209. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  16210. "type": "integer"
  16211. },
  16212. "pendingtime": {
  16213. "description": "待开市时间[通道交易-对冲](HH:mm)",
  16214. "type": "string"
  16215. },
  16216. "performancetempid": {
  16217. "description": "履约计划模板ID - 作废",
  16218. "type": "integer"
  16219. },
  16220. "premiumquotemode": {
  16221. "description": "权利金报价方式 - 1:自动 2:手动",
  16222. "type": "integer"
  16223. },
  16224. "rebateratio": {
  16225. "description": "返利比率[竞价式]",
  16226. "type": "number"
  16227. },
  16228. "reckonorder": {
  16229. "description": "结算顺序",
  16230. "type": "integer"
  16231. },
  16232. "reckonpricealgorithm": {
  16233. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  16234. "type": "integer"
  16235. },
  16236. "reckonpriceparam": {
  16237. "description": "结算价参数",
  16238. "type": "integer"
  16239. },
  16240. "reckontime": {
  16241. "description": "结算时间[通道交易-对冲](HH:mm)",
  16242. "type": "string"
  16243. },
  16244. "roleprioritytype": {
  16245. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  16246. "type": "integer"
  16247. },
  16248. "selllistingauditflag": {
  16249. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  16250. "type": "integer"
  16251. },
  16252. "trademarkettype": {
  16253. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  16254. "type": "integer"
  16255. },
  16256. "trademode": {
  16257. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16258. "type": "integer"
  16259. },
  16260. "tradeproperty": {
  16261. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  16262. "type": "integer"
  16263. },
  16264. "tradetype": {
  16265. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  16266. "type": "integer"
  16267. }
  16268. }
  16269. },
  16270. "models.Marketrun": {
  16271. "type": "object",
  16272. "required": [
  16273. "marketid",
  16274. "nexttradedate",
  16275. "reckonflag",
  16276. "runstatus",
  16277. "tradedate",
  16278. "tradedate2"
  16279. ],
  16280. "properties": {
  16281. "afternexttradedate": {
  16282. "description": "下下交易日",
  16283. "type": "string"
  16284. },
  16285. "clearquoteflag": {
  16286. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  16287. "type": "integer"
  16288. },
  16289. "lastreckondate": {
  16290. "description": "最新交易日(结算成功)",
  16291. "type": "string"
  16292. },
  16293. "machinedate": {
  16294. "description": "机器时间",
  16295. "type": "string"
  16296. },
  16297. "manualflag": {
  16298. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  16299. "type": "integer"
  16300. },
  16301. "marketid": {
  16302. "description": "市场ID",
  16303. "type": "integer"
  16304. },
  16305. "nexttradedate": {
  16306. "description": "下一交易日",
  16307. "type": "string"
  16308. },
  16309. "pretradedate": {
  16310. "description": "上一交易日",
  16311. "type": "string"
  16312. },
  16313. "reckonflag": {
  16314. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  16315. "type": "integer"
  16316. },
  16317. "runstatus": {
  16318. "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.今日免清算",
  16319. "type": "integer"
  16320. },
  16321. "sectionid": {
  16322. "description": "时间段号[多时段时用]",
  16323. "type": "integer"
  16324. },
  16325. "tradedate": {
  16326. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  16327. "type": "string"
  16328. },
  16329. "tradedate2": {
  16330. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  16331. "type": "string"
  16332. },
  16333. "updatetime": {
  16334. "description": "更新时间",
  16335. "type": "string"
  16336. }
  16337. }
  16338. },
  16339. "models.Messageboard": {
  16340. "type": "object",
  16341. "required": [
  16342. "messageboardid"
  16343. ],
  16344. "properties": {
  16345. "contactnum": {
  16346. "description": "联系电话",
  16347. "type": "string"
  16348. },
  16349. "createtime": {
  16350. "description": "创建时间",
  16351. "type": "string"
  16352. },
  16353. "message": {
  16354. "description": "留言信息",
  16355. "type": "string"
  16356. },
  16357. "messageboardid": {
  16358. "description": "留言簿ID(SEQ_MessageBoard)",
  16359. "type": "integer"
  16360. },
  16361. "userid": {
  16362. "description": "用户ID",
  16363. "type": "integer"
  16364. }
  16365. }
  16366. },
  16367. "models.MyCoupon": {
  16368. "type": "object",
  16369. "required": [
  16370. "accountid",
  16371. "coupontypeid"
  16372. ],
  16373. "properties": {
  16374. "accountid": {
  16375. "description": "资金账户ID",
  16376. "type": "integer"
  16377. },
  16378. "areauserid": {
  16379. "description": "所属机构",
  16380. "type": "integer"
  16381. },
  16382. "conditionvalue": {
  16383. "description": "条件阈值(可为0)",
  16384. "type": "number"
  16385. },
  16386. "couponcategroy": {
  16387. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  16388. "type": "integer"
  16389. },
  16390. "couponname": {
  16391. "description": "优惠券名称",
  16392. "type": "string"
  16393. },
  16394. "coupontypeid": {
  16395. "description": "优惠券类型ID",
  16396. "type": "string"
  16397. },
  16398. "couponvalue": {
  16399. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16400. "type": "number"
  16401. },
  16402. "curfreezeqty": {
  16403. "description": "期末冻结数量",
  16404. "type": "integer"
  16405. },
  16406. "curqty": {
  16407. "description": "期末数量",
  16408. "type": "integer"
  16409. },
  16410. "isgeneral": {
  16411. "description": "是否通用券 - 0:否 1:是",
  16412. "type": "integer"
  16413. },
  16414. "isunusable": {
  16415. "description": "是否不可用",
  16416. "type": "boolean"
  16417. },
  16418. "limitedflag": {
  16419. "description": "是否指定商品 - 0:不限 1:限制",
  16420. "type": "integer"
  16421. },
  16422. "limitedgoodsids": {
  16423. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16424. "type": "string"
  16425. },
  16426. "orifreezeqty": {
  16427. "description": "期初冻结数量",
  16428. "type": "integer"
  16429. },
  16430. "oriqty": {
  16431. "description": "期初数量",
  16432. "type": "integer"
  16433. },
  16434. "reasontype": {
  16435. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16436. "type": "integer"
  16437. },
  16438. "todaydecrease": {
  16439. "description": "今日减少",
  16440. "type": "integer"
  16441. },
  16442. "todayincrease": {
  16443. "description": "今日增加",
  16444. "type": "integer"
  16445. },
  16446. "userid": {
  16447. "description": "用户ID",
  16448. "type": "integer"
  16449. },
  16450. "userscope": {
  16451. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16452. "type": "string"
  16453. }
  16454. }
  16455. },
  16456. "models.MyCouponHold": {
  16457. "type": "object",
  16458. "required": [
  16459. "couponholdid"
  16460. ],
  16461. "properties": {
  16462. "accountid": {
  16463. "description": "资金账户ID",
  16464. "type": "integer"
  16465. },
  16466. "conditionvalue": {
  16467. "description": "条件阈值(可为0)",
  16468. "type": "number"
  16469. },
  16470. "couponcategroy": {
  16471. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16472. "type": "integer"
  16473. },
  16474. "couponholdid": {
  16475. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16476. "type": "string"
  16477. },
  16478. "couponname": {
  16479. "description": "优惠券名称",
  16480. "type": "string"
  16481. },
  16482. "coupontypeid": {
  16483. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16484. "type": "string"
  16485. },
  16486. "couponvalue": {
  16487. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16488. "type": "number"
  16489. },
  16490. "createtime": {
  16491. "description": "创建时间",
  16492. "type": "string"
  16493. },
  16494. "enddate": {
  16495. "description": "结束日期",
  16496. "type": "string"
  16497. },
  16498. "giveapplyid": {
  16499. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16500. "type": "integer"
  16501. },
  16502. "holdstatus": {
  16503. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16504. "type": "integer"
  16505. },
  16506. "isgeneral": {
  16507. "description": "是否通用券 - 0:否 1:是",
  16508. "type": "integer"
  16509. },
  16510. "limitedflag": {
  16511. "description": "是否指定商品 - 0:不限 1:限制",
  16512. "type": "integer"
  16513. },
  16514. "limitedgoodsids": {
  16515. "description": "指定商品IDs[逗号分隔]",
  16516. "type": "string"
  16517. },
  16518. "qty": {
  16519. "description": "数量(按1平铺)",
  16520. "type": "integer"
  16521. },
  16522. "startdate": {
  16523. "description": "开始日期",
  16524. "type": "string"
  16525. },
  16526. "userid": {
  16527. "description": "用户ID",
  16528. "type": "integer"
  16529. },
  16530. "userscope": {
  16531. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16532. "type": "string"
  16533. }
  16534. }
  16535. },
  16536. "models.MyUsedCoupon": {
  16537. "type": "object",
  16538. "required": [
  16539. "coupontypeid",
  16540. "orderid"
  16541. ],
  16542. "properties": {
  16543. "accountid": {
  16544. "description": "资金账户ID(买方)",
  16545. "type": "integer"
  16546. },
  16547. "conditionvalue": {
  16548. "description": "条件阈值(可为0)",
  16549. "type": "number"
  16550. },
  16551. "couponcategroy": {
  16552. "description": "种类 - 1:现金券 2:折扣券",
  16553. "type": "integer"
  16554. },
  16555. "couponname": {
  16556. "description": "优惠券名称",
  16557. "type": "string"
  16558. },
  16559. "coupontypeid": {
  16560. "description": "优惠券类型ID(买方)",
  16561. "type": "string"
  16562. },
  16563. "couponvalue": {
  16564. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16565. "type": "number"
  16566. },
  16567. "createtime": {
  16568. "description": "创建时间",
  16569. "type": "string"
  16570. },
  16571. "goodsid": {
  16572. "description": "商品ID",
  16573. "type": "integer"
  16574. },
  16575. "handlestatus": {
  16576. "description": "处理状态",
  16577. "type": "integer"
  16578. },
  16579. "marketid": {
  16580. "description": "市场ID",
  16581. "type": "integer"
  16582. },
  16583. "offamount": {
  16584. "description": "优惠金额",
  16585. "type": "number"
  16586. },
  16587. "orderid": {
  16588. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16589. "type": "string"
  16590. },
  16591. "sellaccountid": {
  16592. "description": "资金账户ID(卖方)",
  16593. "type": "integer"
  16594. },
  16595. "tradeamount": {
  16596. "description": "成交金额",
  16597. "type": "number"
  16598. },
  16599. "tradeid": {
  16600. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16601. "type": "string"
  16602. },
  16603. "usedqty": {
  16604. "description": "使用数量",
  16605. "type": "integer"
  16606. }
  16607. }
  16608. },
  16609. "models.OperationPrimaryMenu": {
  16610. "type": "object",
  16611. "properties": {
  16612. "Children": {
  16613. "description": "二级功能菜单",
  16614. "type": "array",
  16615. "items": {
  16616. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16617. }
  16618. },
  16619. "Key": {
  16620. "description": "菜单KEY",
  16621. "type": "string"
  16622. },
  16623. "Label": {
  16624. "description": "菜单标题",
  16625. "type": "string"
  16626. }
  16627. }
  16628. },
  16629. "models.OperationSecondaryMenu": {
  16630. "type": "object",
  16631. "properties": {
  16632. "Key": {
  16633. "description": "菜单KEY",
  16634. "type": "string"
  16635. },
  16636. "Label": {
  16637. "description": "菜单标题",
  16638. "type": "string"
  16639. },
  16640. "TabList": {
  16641. "description": "三级功能菜单",
  16642. "type": "array",
  16643. "items": {
  16644. "$ref": "#/definitions/models.OperationTabMenu"
  16645. }
  16646. }
  16647. }
  16648. },
  16649. "models.OperationTabMenu": {
  16650. "type": "object",
  16651. "properties": {
  16652. "Key": {
  16653. "description": "菜单KEY",
  16654. "type": "string"
  16655. },
  16656. "Label": {
  16657. "description": "菜单标题",
  16658. "type": "string"
  16659. }
  16660. }
  16661. },
  16662. "models.QueryErrorInfosRsp": {
  16663. "type": "object",
  16664. "required": [
  16665. "errorid"
  16666. ],
  16667. "properties": {
  16668. "description": {
  16669. "description": "异常描述",
  16670. "type": "string"
  16671. },
  16672. "errorcode": {
  16673. "description": "异常代码",
  16674. "type": "string"
  16675. },
  16676. "errorid": {
  16677. "description": "异常ID",
  16678. "type": "integer"
  16679. },
  16680. "modulecode": {
  16681. "description": "所属模块",
  16682. "type": "string"
  16683. },
  16684. "operatecode": {
  16685. "description": "所属操作",
  16686. "type": "string"
  16687. },
  16688. "rownumber": {
  16689. "description": "行号",
  16690. "type": "string"
  16691. }
  16692. }
  16693. },
  16694. "models.QueryHedgeOrderDetailRsp": {
  16695. "type": "object",
  16696. "properties": {
  16697. "accountid": {
  16698. "description": "账户ID",
  16699. "type": "integer"
  16700. },
  16701. "buyorsell": {
  16702. "description": "买卖 - 0:买 1:卖",
  16703. "type": "integer"
  16704. },
  16705. "cancellogincode": {
  16706. "description": "撤单人",
  16707. "type": "string"
  16708. },
  16709. "channelbuildtype": {
  16710. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16711. "type": "integer"
  16712. },
  16713. "channelinnerorderstatus": {
  16714. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16715. "type": "integer"
  16716. },
  16717. "channeloperatetype": {
  16718. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16719. "type": "integer"
  16720. },
  16721. "closetype": {
  16722. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16723. "type": "integer"
  16724. },
  16725. "curexchangerate": {
  16726. "description": "当前汇率",
  16727. "type": "number"
  16728. },
  16729. "exchangefullname": {
  16730. "description": "外部交易所全称",
  16731. "type": "string"
  16732. },
  16733. "goodscode": {
  16734. "description": "商品代码(内部)",
  16735. "type": "string"
  16736. },
  16737. "goodsid": {
  16738. "description": "商品ID",
  16739. "type": "integer"
  16740. },
  16741. "goodsname": {
  16742. "description": "商品名称",
  16743. "type": "string"
  16744. },
  16745. "marketid": {
  16746. "description": "市场ID",
  16747. "type": "integer"
  16748. },
  16749. "openfreezemargin": {
  16750. "description": "冻结保证金(冻结交易金额)",
  16751. "type": "number"
  16752. },
  16753. "orderid": {
  16754. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16755. "type": "string"
  16756. },
  16757. "orderlogincode": {
  16758. "description": "委托人",
  16759. "type": "string"
  16760. },
  16761. "orderprice": {
  16762. "description": "委托价格(账户)",
  16763. "type": "number"
  16764. },
  16765. "orderqty": {
  16766. "description": "委托数量",
  16767. "type": "integer"
  16768. },
  16769. "ordertime": {
  16770. "description": "委托时间",
  16771. "type": "string"
  16772. },
  16773. "pricemode": {
  16774. "description": "取价方式 - 1:市价 2: 限价",
  16775. "type": "integer"
  16776. },
  16777. "tradedate": {
  16778. "description": "交易日(yyyyMMdd)",
  16779. "type": "string"
  16780. },
  16781. "tradeqty": {
  16782. "description": "成交数量",
  16783. "type": "integer"
  16784. }
  16785. }
  16786. },
  16787. "models.QueryHedgeTradeDetailRsp": {
  16788. "type": "object",
  16789. "properties": {
  16790. "accountid": {
  16791. "description": "账号ID",
  16792. "type": "integer"
  16793. },
  16794. "buyorsell": {
  16795. "description": "方向 - 0:买 1:卖",
  16796. "type": "integer"
  16797. },
  16798. "channelbuildtype": {
  16799. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16800. "type": "integer"
  16801. },
  16802. "closecharge": {
  16803. "description": "平仓手续费(账户)",
  16804. "type": "number"
  16805. },
  16806. "closecharge2": {
  16807. "description": "平仓手续费(商品)",
  16808. "type": "number"
  16809. },
  16810. "closetype": {
  16811. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16812. "type": "integer"
  16813. },
  16814. "curexchangerate": {
  16815. "description": "当前汇率",
  16816. "type": "number"
  16817. },
  16818. "exchangefullname": {
  16819. "description": "外部交易所全称",
  16820. "type": "string"
  16821. },
  16822. "goodscode": {
  16823. "description": "商品代码(内部)",
  16824. "type": "string"
  16825. },
  16826. "goodsid": {
  16827. "description": "商品ID",
  16828. "type": "integer"
  16829. },
  16830. "goodsname": {
  16831. "description": "商品名称",
  16832. "type": "string"
  16833. },
  16834. "marketid": {
  16835. "description": "市场ID",
  16836. "type": "integer"
  16837. },
  16838. "opencharge": {
  16839. "description": "建仓手续费(账户)",
  16840. "type": "number"
  16841. },
  16842. "opencharge2": {
  16843. "description": "建仓手续费(商品)",
  16844. "type": "number"
  16845. },
  16846. "orderid": {
  16847. "description": "委托单号",
  16848. "type": "string"
  16849. },
  16850. "orderlogincode": {
  16851. "description": "委托人",
  16852. "type": "string"
  16853. },
  16854. "tradeamount": {
  16855. "description": "成交金额(账户)",
  16856. "type": "number"
  16857. },
  16858. "tradedate": {
  16859. "description": "交易日(yyyyMMdd)",
  16860. "type": "string"
  16861. },
  16862. "tradeid": {
  16863. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16864. "type": "string"
  16865. },
  16866. "tradeprice": {
  16867. "description": "成交价格",
  16868. "type": "number"
  16869. },
  16870. "tradeqty": {
  16871. "description": "成交数量",
  16872. "type": "integer"
  16873. },
  16874. "tradetime": {
  16875. "description": "成交时间",
  16876. "type": "string"
  16877. },
  16878. "tradetype": {
  16879. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16880. "type": "integer"
  16881. }
  16882. }
  16883. },
  16884. "models.QuotePrimaryMenu": {
  16885. "type": "object",
  16886. "properties": {
  16887. "Index": {
  16888. "description": "序号",
  16889. "type": "integer"
  16890. },
  16891. "Key": {
  16892. "description": "键名",
  16893. "type": "string"
  16894. },
  16895. "Name": {
  16896. "description": "菜单名称",
  16897. "type": "string"
  16898. },
  16899. "SubMenus": {
  16900. "description": "子菜单",
  16901. "type": "array",
  16902. "items": {
  16903. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16904. }
  16905. },
  16906. "SubTitleType": {
  16907. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16908. "type": "integer"
  16909. },
  16910. "TradeModes": {
  16911. "description": "包含市场交易类型",
  16912. "type": "string"
  16913. }
  16914. }
  16915. },
  16916. "models.QuoteSecondaryMenu": {
  16917. "type": "object",
  16918. "properties": {
  16919. "ExExchangeCode": {
  16920. "description": "外部交易所代码",
  16921. "type": "string"
  16922. },
  16923. "ExExchangeID": {
  16924. "description": "外部交易所ID",
  16925. "type": "integer"
  16926. },
  16927. "GoodsGroupIDs": {
  16928. "description": "商品组ID列表",
  16929. "type": "array",
  16930. "items": {
  16931. "type": "integer"
  16932. }
  16933. },
  16934. "Index": {
  16935. "description": "序号",
  16936. "type": "integer"
  16937. },
  16938. "MarketID": {
  16939. "description": "市场ID",
  16940. "type": "integer"
  16941. },
  16942. "MenuTitle": {
  16943. "description": "菜单标题(市场名称或外部交易所名称)",
  16944. "type": "string"
  16945. },
  16946. "TradeMode": {
  16947. "description": "交易模式",
  16948. "type": "integer"
  16949. }
  16950. }
  16951. },
  16952. "models.RelatedGoodsEx": {
  16953. "type": "object",
  16954. "properties": {
  16955. "goodscode": {
  16956. "description": "商品代码",
  16957. "type": "string"
  16958. },
  16959. "goodsid": {
  16960. "description": "商品id",
  16961. "type": "integer"
  16962. },
  16963. "goodsname": {
  16964. "description": "商品名称",
  16965. "type": "string"
  16966. }
  16967. }
  16968. },
  16969. "models.SearchGoods": {
  16970. "type": "object",
  16971. "required": [
  16972. "goodscode",
  16973. "goodsid",
  16974. "goodsname",
  16975. "marketid",
  16976. "trademode"
  16977. ],
  16978. "properties": {
  16979. "goodscode": {
  16980. "description": "商品代码(内部)",
  16981. "type": "string"
  16982. },
  16983. "goodsid": {
  16984. "description": "商品ID(自增ID SEQ_GOODS)",
  16985. "type": "integer"
  16986. },
  16987. "goodsname": {
  16988. "description": "商品名称",
  16989. "type": "string"
  16990. },
  16991. "marketid": {
  16992. "description": "所属市场ID",
  16993. "type": "integer"
  16994. },
  16995. "marketname": {
  16996. "description": "市场名称",
  16997. "type": "string"
  16998. },
  16999. "trademode": {
  17000. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17001. "type": "integer"
  17002. }
  17003. }
  17004. },
  17005. "models.Systemparam": {
  17006. "type": "object",
  17007. "required": [
  17008. "paramcode"
  17009. ],
  17010. "properties": {
  17011. "loginid": {
  17012. "description": "更新用户账号,登录账号",
  17013. "type": "string"
  17014. },
  17015. "modifyflag": {
  17016. "description": "修改标志0 不允许修改 1 允许修改",
  17017. "type": "integer"
  17018. },
  17019. "paramcode": {
  17020. "description": "参数代码",
  17021. "type": "string"
  17022. },
  17023. "paramname": {
  17024. "description": "参数名",
  17025. "type": "string"
  17026. },
  17027. "paramtype": {
  17028. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  17029. "type": "integer"
  17030. },
  17031. "paramvalue": {
  17032. "description": "参数值",
  17033. "type": "string"
  17034. },
  17035. "paramvalue2": {
  17036. "description": "参数值(CLOB)",
  17037. "type": "string"
  17038. },
  17039. "regexpress": {
  17040. "description": "正则表达式",
  17041. "type": "string"
  17042. },
  17043. "remark": {
  17044. "description": "备注",
  17045. "type": "string"
  17046. },
  17047. "serverip": {
  17048. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  17049. "type": "string"
  17050. },
  17051. "showflag": {
  17052. "description": "是否显示0 不显示 1 显示",
  17053. "type": "integer"
  17054. },
  17055. "updatetime": {
  17056. "description": "更新时间",
  17057. "type": "string"
  17058. },
  17059. "userid": {
  17060. "description": "更新用户ID",
  17061. "type": "integer"
  17062. }
  17063. }
  17064. },
  17065. "models.Szdz3convertconfig": {
  17066. "type": "object",
  17067. "required": [
  17068. "converttype",
  17069. "innergoodsid",
  17070. "outergoodscode"
  17071. ],
  17072. "properties": {
  17073. "canin": {
  17074. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  17075. "type": "integer"
  17076. },
  17077. "canout": {
  17078. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  17079. "type": "integer"
  17080. },
  17081. "converttype": {
  17082. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  17083. "type": "integer"
  17084. },
  17085. "createtime": {
  17086. "description": "创建时间",
  17087. "type": "string"
  17088. },
  17089. "creatorid": {
  17090. "description": "创建人",
  17091. "type": "integer"
  17092. },
  17093. "daymaxvalue": {
  17094. "description": "当日最大转入限制",
  17095. "type": "number"
  17096. },
  17097. "freezedays": {
  17098. "description": "冻结天数 [5:花生米转交易]",
  17099. "type": "integer"
  17100. },
  17101. "innergoodsid": {
  17102. "description": "内部商品ID[交易]",
  17103. "type": "integer"
  17104. },
  17105. "inratio": {
  17106. "description": "目标值",
  17107. "type": "integer"
  17108. },
  17109. "modifierid": {
  17110. "description": "修改人",
  17111. "type": "integer"
  17112. },
  17113. "modifytime": {
  17114. "description": "修改时间",
  17115. "type": "string"
  17116. },
  17117. "outergoodscode": {
  17118. "description": "外部商品代码[JD\\PD]",
  17119. "type": "string"
  17120. },
  17121. "outratio": {
  17122. "description": "源值",
  17123. "type": "integer"
  17124. },
  17125. "pddecimalplace": {
  17126. "description": "PD小数位",
  17127. "type": "integer"
  17128. },
  17129. "timemaxvalue": {
  17130. "description": "单次最大转入限制",
  17131. "type": "number"
  17132. },
  17133. "timeminvalue": {
  17134. "description": "单次最小转入限制",
  17135. "type": "number"
  17136. }
  17137. }
  17138. },
  17139. "models.Szdz3searchwhitelist": {
  17140. "type": "object",
  17141. "required": [
  17142. "userid"
  17143. ],
  17144. "properties": {
  17145. "createtime": {
  17146. "description": "创建时间",
  17147. "type": "string"
  17148. },
  17149. "creatorid": {
  17150. "description": "创建人",
  17151. "type": "integer"
  17152. },
  17153. "modifierid": {
  17154. "description": "修改人",
  17155. "type": "integer"
  17156. },
  17157. "modifytime": {
  17158. "description": "修改时间",
  17159. "type": "string"
  17160. },
  17161. "userid": {
  17162. "description": "用户ID",
  17163. "type": "integer"
  17164. }
  17165. }
  17166. },
  17167. "models.Taaccount": {
  17168. "type": "object",
  17169. "required": [
  17170. "accountid",
  17171. "userid"
  17172. ],
  17173. "properties": {
  17174. "accountflag": {
  17175. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  17176. "type": "integer"
  17177. },
  17178. "accountid": {
  17179. "description": "资金账户ID",
  17180. "type": "integer"
  17181. },
  17182. "accountname": {
  17183. "description": "账户名称",
  17184. "type": "string"
  17185. },
  17186. "balance": {
  17187. "description": "期初余额",
  17188. "type": "number"
  17189. },
  17190. "capitalbalance": {
  17191. "description": "本金余额[外部子账户实际出入金余额]",
  17192. "type": "number"
  17193. },
  17194. "changeflag": {
  17195. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  17196. "type": "integer"
  17197. },
  17198. "changetime": {
  17199. "description": "账户状态变更时间",
  17200. "type": "string"
  17201. },
  17202. "closepl": {
  17203. "description": "今日平仓盈亏",
  17204. "type": "number"
  17205. },
  17206. "creditdecrease": {
  17207. "description": "今日授信减少",
  17208. "type": "number"
  17209. },
  17210. "creditincrease": {
  17211. "description": "今日授信增加",
  17212. "type": "number"
  17213. },
  17214. "currencyid": {
  17215. "description": "货币ID",
  17216. "type": "integer"
  17217. },
  17218. "currentbalance": {
  17219. "description": "期末余额",
  17220. "type": "number"
  17221. },
  17222. "freezecharge": {
  17223. "description": "手续费冻结",
  17224. "type": "number"
  17225. },
  17226. "freezemargin": {
  17227. "description": "冻结保证金",
  17228. "type": "number"
  17229. },
  17230. "fromaccountid": {
  17231. "description": "所属上级账户",
  17232. "type": "integer"
  17233. },
  17234. "inamount": {
  17235. "description": "今日入金金额(包括三方入金)",
  17236. "type": "number"
  17237. },
  17238. "ismain": {
  17239. "description": "是否母账号 0:不是母账户 1:是母账户",
  17240. "type": "integer"
  17241. },
  17242. "ismarketaccount": {
  17243. "description": "是否机构接单账号 0:不是 1:是",
  17244. "type": "integer"
  17245. },
  17246. "isreckonaccount": {
  17247. "description": "是否机构分润账号 0:不是 1:是",
  17248. "type": "integer"
  17249. },
  17250. "mortgagecredit": {
  17251. "description": "授信金额",
  17252. "type": "number"
  17253. },
  17254. "orifreezecharge": {
  17255. "description": "期初手续费冻结",
  17256. "type": "number"
  17257. },
  17258. "orifreezemargin": {
  17259. "description": "期初冻结保证金",
  17260. "type": "number"
  17261. },
  17262. "orimortgagecredit": {
  17263. "description": "期初授信金额",
  17264. "type": "number"
  17265. },
  17266. "oriothercredit": {
  17267. "description": "期初其它授信金额",
  17268. "type": "number"
  17269. },
  17270. "oriotherfreezemargin": {
  17271. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17272. "type": "number"
  17273. },
  17274. "orioutamountfreeze": {
  17275. "description": "期初出金冻结",
  17276. "type": "number"
  17277. },
  17278. "oriusedmargin": {
  17279. "description": "期初占用保证金",
  17280. "type": "number"
  17281. },
  17282. "othercredit": {
  17283. "description": "其它授信金额",
  17284. "type": "number"
  17285. },
  17286. "othercreditdecrease": {
  17287. "description": "今日其它授信减少",
  17288. "type": "number"
  17289. },
  17290. "othercreditincrease": {
  17291. "description": "今日其它授信增加",
  17292. "type": "number"
  17293. },
  17294. "otherfreezemargin": {
  17295. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17296. "type": "number"
  17297. },
  17298. "otherincome": {
  17299. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  17300. "type": "number"
  17301. },
  17302. "otherpay": {
  17303. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  17304. "type": "number"
  17305. },
  17306. "outamount": {
  17307. "description": "今日出金金额(包括三方出金)",
  17308. "type": "number"
  17309. },
  17310. "outamountfreeze": {
  17311. "description": "出金冻结",
  17312. "type": "number"
  17313. },
  17314. "outthreshold": {
  17315. "description": "出金阈值",
  17316. "type": "number"
  17317. },
  17318. "parentaccountid": {
  17319. "description": "所属根账号",
  17320. "type": "integer"
  17321. },
  17322. "paycharge": {
  17323. "description": "今日手续费支出",
  17324. "type": "number"
  17325. },
  17326. "relatedaccountstatus": {
  17327. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  17328. "type": "integer"
  17329. },
  17330. "relateduserid": {
  17331. "description": "关联用户",
  17332. "type": "integer"
  17333. },
  17334. "serivcegroup": {
  17335. "description": "服务分组",
  17336. "type": "integer"
  17337. },
  17338. "signstatus": {
  17339. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17340. "type": "integer"
  17341. },
  17342. "sublevelpath": {
  17343. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17344. "type": "string"
  17345. },
  17346. "taaccounttype": {
  17347. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17348. "type": "integer"
  17349. },
  17350. "thirdinamount": {
  17351. "description": "今日三方入金",
  17352. "type": "number"
  17353. },
  17354. "thirdoutamount": {
  17355. "description": "今日三方出金",
  17356. "type": "number"
  17357. },
  17358. "tradestatus": {
  17359. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17360. "type": "integer"
  17361. },
  17362. "tradestatuschangetime": {
  17363. "description": "激活时间",
  17364. "type": "string"
  17365. },
  17366. "transferamount": {
  17367. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17368. "type": "number"
  17369. },
  17370. "usedmargin": {
  17371. "description": "占用保证金",
  17372. "type": "number"
  17373. },
  17374. "userid": {
  17375. "description": "用户ID",
  17376. "type": "integer"
  17377. }
  17378. }
  17379. },
  17380. "models.Tablecolumnconfig": {
  17381. "type": "object",
  17382. "required": [
  17383. "autoid"
  17384. ],
  17385. "properties": {
  17386. "aligntype": {
  17387. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  17388. "type": "integer"
  17389. },
  17390. "autoid": {
  17391. "description": "AutoID",
  17392. "type": "integer"
  17393. },
  17394. "columnfield": {
  17395. "description": "列字段",
  17396. "type": "string"
  17397. },
  17398. "columntitle": {
  17399. "description": "列Title",
  17400. "type": "string"
  17401. },
  17402. "columnwidth": {
  17403. "description": "列宽",
  17404. "type": "string"
  17405. },
  17406. "formatterstring": {
  17407. "description": "格式化字符",
  17408. "type": "string"
  17409. },
  17410. "formattertype": {
  17411. "description": "格式化类型",
  17412. "type": "string"
  17413. },
  17414. "groupname": {
  17415. "description": "表头分组名称",
  17416. "type": "string"
  17417. },
  17418. "isshow": {
  17419. "description": "是否显示 - 0:不显示 1:显示",
  17420. "type": "integer"
  17421. },
  17422. "needsummary": {
  17423. "description": "是否需要汇总 - 0:不需要 1:需要",
  17424. "type": "integer"
  17425. },
  17426. "orderindex": {
  17427. "description": "顺序",
  17428. "type": "integer"
  17429. },
  17430. "remark": {
  17431. "description": "备注",
  17432. "type": "string"
  17433. },
  17434. "summarytype": {
  17435. "description": "汇总类型 - 1:加总 2:最后一个",
  17436. "type": "integer"
  17437. },
  17438. "tablekey": {
  17439. "description": "列表Key",
  17440. "type": "string"
  17441. }
  17442. }
  17443. },
  17444. "models.Useraccount": {
  17445. "type": "object",
  17446. "required": [
  17447. "userid"
  17448. ],
  17449. "properties": {
  17450. "accountname": {
  17451. "description": "账户名称(机构名称)",
  17452. "type": "string"
  17453. },
  17454. "accountstatus": {
  17455. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17456. "type": "integer"
  17457. },
  17458. "auditremark": {
  17459. "description": "审核备注",
  17460. "type": "string"
  17461. },
  17462. "audittime": {
  17463. "description": "审核时间",
  17464. "type": "string"
  17465. },
  17466. "audituserid": {
  17467. "description": "审核人",
  17468. "type": "integer"
  17469. },
  17470. "broker": {
  17471. "description": "所属经纪人ID",
  17472. "type": "integer"
  17473. },
  17474. "canceltime": {
  17475. "description": "销户时间",
  17476. "type": "string"
  17477. },
  17478. "canceluserid": {
  17479. "description": "销户人",
  17480. "type": "integer"
  17481. },
  17482. "createtime": {
  17483. "description": "创建时间",
  17484. "type": "string"
  17485. },
  17486. "creatorid": {
  17487. "description": "创建人",
  17488. "type": "integer"
  17489. },
  17490. "hasauth": {
  17491. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17492. "type": "integer"
  17493. },
  17494. "isanonymous": {
  17495. "description": "是否匿名下单 - 0:否 1:是",
  17496. "type": "integer"
  17497. },
  17498. "maxinvestornum": {
  17499. "description": "最大用户数(经纪会员下投资者个数)",
  17500. "type": "integer"
  17501. },
  17502. "memberuserid": {
  17503. "description": "所属会员ID",
  17504. "type": "integer"
  17505. },
  17506. "modifierid": {
  17507. "description": "修改人",
  17508. "type": "integer"
  17509. },
  17510. "modifyremark": {
  17511. "description": "变更备注",
  17512. "type": "string"
  17513. },
  17514. "modifystatus": {
  17515. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17516. "type": "integer"
  17517. },
  17518. "modifytime": {
  17519. "description": "修改时间",
  17520. "type": "string"
  17521. },
  17522. "parentuserid": {
  17523. "description": "所属机构ID",
  17524. "type": "integer"
  17525. },
  17526. "reckonaccountid": {
  17527. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17528. "type": "integer"
  17529. },
  17530. "refercount": {
  17531. "description": "推荐总人数",
  17532. "type": "integer"
  17533. },
  17534. "refereeuserid": {
  17535. "description": "推荐人ID",
  17536. "type": "integer"
  17537. },
  17538. "refernum": {
  17539. "description": "推荐码",
  17540. "type": "string"
  17541. },
  17542. "subarealevelpath": {
  17543. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17544. "type": "string"
  17545. },
  17546. "userid": {
  17547. "description": "用户ID",
  17548. "type": "integer"
  17549. },
  17550. "usertype": {
  17551. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17552. "type": "integer"
  17553. }
  17554. }
  17555. },
  17556. "models.Userfavoritegoods": {
  17557. "type": "object",
  17558. "required": [
  17559. "goodsid"
  17560. ],
  17561. "properties": {
  17562. "goodsid": {
  17563. "description": "商品ID",
  17564. "type": "integer"
  17565. }
  17566. }
  17567. },
  17568. "models.Userinfo": {
  17569. "type": "object",
  17570. "required": [
  17571. "userid"
  17572. ],
  17573. "properties": {
  17574. "address": {
  17575. "description": "地址",
  17576. "type": "string"
  17577. },
  17578. "attachment1": {
  17579. "description": "附件1",
  17580. "type": "string"
  17581. },
  17582. "attachment2": {
  17583. "description": "附件2",
  17584. "type": "string"
  17585. },
  17586. "bankaccount": {
  17587. "description": "银行帐号 (加密存储)",
  17588. "type": "string"
  17589. },
  17590. "bankaccountname": {
  17591. "description": "收款人名称",
  17592. "type": "string"
  17593. },
  17594. "bankcardfrontphotourl": {
  17595. "description": "银行卡正面照地址",
  17596. "type": "string"
  17597. },
  17598. "bankid": {
  17599. "description": "银行编码",
  17600. "type": "string"
  17601. },
  17602. "bankname": {
  17603. "description": "银行名称",
  17604. "type": "string"
  17605. },
  17606. "biznature": {
  17607. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17608. "type": "integer"
  17609. },
  17610. "bizscope": {
  17611. "description": "企业经营范围(企业)",
  17612. "type": "string"
  17613. },
  17614. "cardbackphotourl": {
  17615. "description": "证件背面图片地址",
  17616. "type": "string"
  17617. },
  17618. "cardfrontphotourl": {
  17619. "description": "证件正面图片地址",
  17620. "type": "string"
  17621. },
  17622. "cardnum": {
  17623. "description": "证件号码(加密存储)",
  17624. "type": "string"
  17625. },
  17626. "cardtypeid": {
  17627. "description": "证件类型ID",
  17628. "type": "integer"
  17629. },
  17630. "cityid": {
  17631. "description": "市",
  17632. "type": "integer"
  17633. },
  17634. "company": {
  17635. "description": "公司(个人)",
  17636. "type": "string"
  17637. },
  17638. "contactname": {
  17639. "description": "联系人",
  17640. "type": "string"
  17641. },
  17642. "countryid": {
  17643. "description": "国家",
  17644. "type": "integer"
  17645. },
  17646. "createtime": {
  17647. "description": "创建时间",
  17648. "type": "string"
  17649. },
  17650. "creatorid": {
  17651. "description": "创建人",
  17652. "type": "integer"
  17653. },
  17654. "customername": {
  17655. "description": "客户名称(企业名称)",
  17656. "type": "string"
  17657. },
  17658. "districtid": {
  17659. "description": "地区",
  17660. "type": "integer"
  17661. },
  17662. "email": {
  17663. "description": "邮件(加密存储)",
  17664. "type": "string"
  17665. },
  17666. "fax": {
  17667. "description": "传真(加密存储)",
  17668. "type": "string"
  17669. },
  17670. "halfbodyphotourl": {
  17671. "description": "半身照地址",
  17672. "type": "string"
  17673. },
  17674. "hasencrypt": {
  17675. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17676. "type": "integer"
  17677. },
  17678. "headurl": {
  17679. "description": "头像地址",
  17680. "type": "string"
  17681. },
  17682. "legalcardbackphotourl": {
  17683. "description": "法人身份证背面照地址",
  17684. "type": "string"
  17685. },
  17686. "legalcardfrontphotourl": {
  17687. "description": "法人身份证正面照地址",
  17688. "type": "string"
  17689. },
  17690. "legalpersonname": {
  17691. "description": "法人姓名(企业)",
  17692. "type": "string"
  17693. },
  17694. "mobile": {
  17695. "description": "手机号码(加密存储)",
  17696. "type": "string"
  17697. },
  17698. "mobile2": {
  17699. "description": "手机号码[明文-尚志]",
  17700. "type": "string"
  17701. },
  17702. "modifierid": {
  17703. "description": "修改人",
  17704. "type": "integer"
  17705. },
  17706. "modifiertime": {
  17707. "description": "修改时间",
  17708. "type": "string"
  17709. },
  17710. "needinvoice": {
  17711. "description": "是否需要发票 - 0:不需要 1:需要",
  17712. "type": "integer"
  17713. },
  17714. "nickname": {
  17715. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17716. "type": "string"
  17717. },
  17718. "openmode": {
  17719. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17720. "type": "integer"
  17721. },
  17722. "otherurl": {
  17723. "description": "其它图片地址[使用分号分隔]",
  17724. "type": "string"
  17725. },
  17726. "postalcode": {
  17727. "description": "邮政编码",
  17728. "type": "string"
  17729. },
  17730. "provinceid": {
  17731. "description": "省",
  17732. "type": "integer"
  17733. },
  17734. "qq": {
  17735. "description": "QQ(加密存储",
  17736. "type": "string"
  17737. },
  17738. "remark": {
  17739. "description": "备注",
  17740. "type": "string"
  17741. },
  17742. "sex": {
  17743. "description": "用户性别 0: 女 1: 男",
  17744. "type": "integer"
  17745. },
  17746. "signpdfurl": {
  17747. "description": "签约pdf文件",
  17748. "type": "string"
  17749. },
  17750. "telphone": {
  17751. "description": "联系电话(加密存储)",
  17752. "type": "string"
  17753. },
  17754. "userid": {
  17755. "description": "用户ID",
  17756. "type": "integer"
  17757. },
  17758. "userinfotype": {
  17759. "description": "用户信息类型 - 1:个人 2:企业",
  17760. "type": "integer"
  17761. },
  17762. "userstatus": {
  17763. "description": "用户状态 - 1:正常 2:注销",
  17764. "type": "integer"
  17765. },
  17766. "usertype": {
  17767. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17768. "type": "integer"
  17769. },
  17770. "wechat": {
  17771. "description": "微信(加密存储)",
  17772. "type": "string"
  17773. },
  17774. "wskhinfo": {
  17775. "description": "开户申请信息(JSON)",
  17776. "type": "string"
  17777. }
  17778. }
  17779. },
  17780. "models.WRCategoryTree": {
  17781. "type": "object",
  17782. "required": [
  17783. "categoryid"
  17784. ],
  17785. "properties": {
  17786. "areauserid": {
  17787. "description": "所属机构",
  17788. "type": "integer"
  17789. },
  17790. "categorydesc": {
  17791. "description": "类别描述",
  17792. "type": "string"
  17793. },
  17794. "categoryid": {
  17795. "description": "类别ID(SEQ_WRCATEGORY)",
  17796. "type": "integer"
  17797. },
  17798. "categoryname": {
  17799. "description": "类别名称",
  17800. "type": "string"
  17801. },
  17802. "iconurl": {
  17803. "description": "图标地址",
  17804. "type": "string"
  17805. },
  17806. "orderindex": {
  17807. "description": "顺序",
  17808. "type": "integer"
  17809. },
  17810. "parentcategoryid": {
  17811. "description": "父类别ID",
  17812. "type": "integer"
  17813. },
  17814. "subcategory": {
  17815. "description": "子分类",
  17816. "type": "array",
  17817. "items": {
  17818. "$ref": "#/definitions/models.WRCategoryTree"
  17819. }
  17820. }
  17821. }
  17822. },
  17823. "models.WRSConverTDetail": {
  17824. "type": "object",
  17825. "properties": {
  17826. "convertratio": {
  17827. "description": "套保系数",
  17828. "type": "number"
  17829. },
  17830. "deliverygoodsid": {
  17831. "description": "现货品种ID",
  17832. "type": "integer"
  17833. },
  17834. "middlegoodscode": {
  17835. "description": "套保品种代码",
  17836. "type": "string"
  17837. },
  17838. "middlegoodsid": {
  17839. "description": "套保品种ID",
  17840. "type": "integer"
  17841. },
  17842. "middlegoodsname": {
  17843. "description": "套保品种名称",
  17844. "type": "string"
  17845. },
  17846. "modifytime": {
  17847. "description": "修改时间",
  17848. "type": "string"
  17849. },
  17850. "wrstandardid": {
  17851. "description": "现货商品ID",
  17852. "type": "integer"
  17853. }
  17854. }
  17855. },
  17856. "models.WRStandardInfo": {
  17857. "type": "object",
  17858. "required": [
  17859. "wrstandardid"
  17860. ],
  17861. "properties": {
  17862. "createtime": {
  17863. "description": "创建时间",
  17864. "type": "string"
  17865. },
  17866. "creatorid": {
  17867. "description": "创建人",
  17868. "type": "integer"
  17869. },
  17870. "deliverygoodsid": {
  17871. "description": "品种ID",
  17872. "type": "integer"
  17873. },
  17874. "deliverygoodsname": {
  17875. "description": "交割商品名称",
  17876. "type": "string"
  17877. },
  17878. "factoryitemjson": {
  17879. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17880. "type": "string"
  17881. },
  17882. "isvalid": {
  17883. "description": "是否有效 - 0:无效 1:有效",
  17884. "type": "integer"
  17885. },
  17886. "minivalue": {
  17887. "description": "最小变动值",
  17888. "type": "integer"
  17889. },
  17890. "minivaluedp": {
  17891. "description": "最小变动值小数位",
  17892. "type": "integer"
  17893. },
  17894. "realminivalue": {
  17895. "description": "实际最小变动值",
  17896. "type": "integer"
  17897. },
  17898. "realminivaluedp": {
  17899. "description": "实际最小变动值小数位",
  17900. "type": "integer"
  17901. },
  17902. "unitid": {
  17903. "description": "单位ID",
  17904. "type": "integer"
  17905. },
  17906. "unitname": {
  17907. "description": "单位",
  17908. "type": "string"
  17909. },
  17910. "updatetime": {
  17911. "description": "更新时间",
  17912. "type": "string"
  17913. },
  17914. "updatorid": {
  17915. "description": "更新人",
  17916. "type": "integer"
  17917. },
  17918. "wrsstatus": {
  17919. "description": "状态 - 作废 - 0:未激活 1:正常",
  17920. "type": "integer"
  17921. },
  17922. "wrstandardcode": {
  17923. "description": "仓单标准代码",
  17924. "type": "string"
  17925. },
  17926. "wrstandardid": {
  17927. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17928. "type": "integer"
  17929. },
  17930. "wrstandardname": {
  17931. "description": "仓单标准名称",
  17932. "type": "string"
  17933. }
  17934. }
  17935. },
  17936. "models.Warehouseinfo": {
  17937. "type": "object",
  17938. "required": [
  17939. "autoid",
  17940. "warehousecode"
  17941. ],
  17942. "properties": {
  17943. "address": {
  17944. "description": "详细地址",
  17945. "type": "string"
  17946. },
  17947. "areauserid": {
  17948. "description": "所属机构",
  17949. "type": "integer"
  17950. },
  17951. "autoid": {
  17952. "description": "自增ID",
  17953. "type": "integer"
  17954. },
  17955. "cityid": {
  17956. "description": "市",
  17957. "type": "integer"
  17958. },
  17959. "contactname": {
  17960. "description": "联系人",
  17961. "type": "string"
  17962. },
  17963. "contactnum": {
  17964. "description": "联系电话",
  17965. "type": "string"
  17966. },
  17967. "countryid": {
  17968. "description": "国家",
  17969. "type": "integer"
  17970. },
  17971. "createtime": {
  17972. "description": "创建时间",
  17973. "type": "string"
  17974. },
  17975. "districtid": {
  17976. "description": "区",
  17977. "type": "integer"
  17978. },
  17979. "hasvideo": {
  17980. "description": "是否有视频 - 0:无 1:有",
  17981. "type": "integer"
  17982. },
  17983. "provinceid": {
  17984. "description": "省",
  17985. "type": "integer"
  17986. },
  17987. "remark": {
  17988. "description": "审核备注",
  17989. "type": "string"
  17990. },
  17991. "videourl": {
  17992. "description": "视频地址",
  17993. "type": "string"
  17994. },
  17995. "warehousecode": {
  17996. "description": "仓库代码",
  17997. "type": "string"
  17998. },
  17999. "warehousename": {
  18000. "description": "仓库名称",
  18001. "type": "string"
  18002. },
  18003. "warehousestatus": {
  18004. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18005. "type": "integer"
  18006. },
  18007. "warehousetype": {
  18008. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18009. "type": "integer"
  18010. }
  18011. }
  18012. },
  18013. "order.QueryHisTradeDetailRsp": {
  18014. "type": "object",
  18015. "required": [
  18016. "accountid",
  18017. "buyorsell",
  18018. "goodsid",
  18019. "histradedate",
  18020. "marketid",
  18021. "memberuserid",
  18022. "orderid",
  18023. "tradeamount",
  18024. "tradedate",
  18025. "tradeid",
  18026. "tradeprice",
  18027. "tradeqty",
  18028. "tradetime"
  18029. ],
  18030. "properties": {
  18031. "accountid": {
  18032. "description": "账户ID[报价币种]",
  18033. "type": "integer"
  18034. },
  18035. "buildtype": {
  18036. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18037. "type": "integer"
  18038. },
  18039. "buyorsell": {
  18040. "description": "方向 - 0:买 1:卖",
  18041. "type": "integer"
  18042. },
  18043. "charge": {
  18044. "description": "手续费",
  18045. "type": "number"
  18046. },
  18047. "closecharge": {
  18048. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18049. "type": "number"
  18050. },
  18051. "closeexchagechargevalue": {
  18052. "description": "平仓交易所手续费设置值",
  18053. "type": "number"
  18054. },
  18055. "closefeealgorithm": {
  18056. "description": "平仓手续费收取方式 1:比率 2:固定",
  18057. "type": "integer"
  18058. },
  18059. "closememberchargevalue": {
  18060. "description": "平仓会员手续费设置值",
  18061. "type": "number"
  18062. },
  18063. "closepl": {
  18064. "description": "平仓盈亏",
  18065. "type": "number"
  18066. },
  18067. "closepl2": {
  18068. "description": "平仓盈亏[逐笔]",
  18069. "type": "number"
  18070. },
  18071. "closeqty": {
  18072. "description": "平仓数量(先建后平操作 需要记录)",
  18073. "type": "integer"
  18074. },
  18075. "creditamount": {
  18076. "description": "授信金额",
  18077. "type": "number"
  18078. },
  18079. "gcaccountid": {
  18080. "description": "账户ID[合约币种]",
  18081. "type": "integer"
  18082. },
  18083. "goodscode": {
  18084. "description": "商品代码",
  18085. "type": "string"
  18086. },
  18087. "goodsid": {
  18088. "description": "商品ID",
  18089. "type": "integer"
  18090. },
  18091. "goodsname": {
  18092. "description": "商品名称",
  18093. "type": "string"
  18094. },
  18095. "histradedate": {
  18096. "description": "历史交易日",
  18097. "type": "string"
  18098. },
  18099. "intclosepl": {
  18100. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18101. "type": "integer"
  18102. },
  18103. "isconfirmexercise": {
  18104. "description": "是否确认行权- 0:否 1:是",
  18105. "type": "integer"
  18106. },
  18107. "ismain": {
  18108. "description": "是否主单 - 0:不是 1:是",
  18109. "type": "integer"
  18110. },
  18111. "ispreexercise": {
  18112. "description": "是否预申报- 0:否 1:是",
  18113. "type": "integer"
  18114. },
  18115. "isreckoned": {
  18116. "description": "是否结算 - 0:未结算 1:已结算",
  18117. "type": "integer"
  18118. },
  18119. "isvaliddata": {
  18120. "description": "是否有效 - 0:无效 1:有效",
  18121. "type": "integer"
  18122. },
  18123. "listingselecttype": {
  18124. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18125. "type": "integer"
  18126. },
  18127. "marketid": {
  18128. "description": "市场ID",
  18129. "type": "integer"
  18130. },
  18131. "marketname": {
  18132. "description": "市场名称",
  18133. "type": "string"
  18134. },
  18135. "matchaccountid": {
  18136. "description": "对手账号id",
  18137. "type": "integer"
  18138. },
  18139. "memberuserid": {
  18140. "description": "会员id 个人投资者 需要填写",
  18141. "type": "integer"
  18142. },
  18143. "opencharge": {
  18144. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18145. "type": "number"
  18146. },
  18147. "openexchagechargevalue": {
  18148. "description": "建仓交易所手续费设置值",
  18149. "type": "number"
  18150. },
  18151. "openfeealgorithm": {
  18152. "description": "建仓手续费收取方式 1:比率 2:固定",
  18153. "type": "integer"
  18154. },
  18155. "openmemberchargevalue": {
  18156. "description": "建仓会员手续费设置值",
  18157. "type": "number"
  18158. },
  18159. "openqty": {
  18160. "description": "开仓数量(先建后平操作 需要记录)",
  18161. "type": "integer"
  18162. },
  18163. "optiontype": {
  18164. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18165. "type": "integer"
  18166. },
  18167. "orderid": {
  18168. "description": "委托单号",
  18169. "type": "string"
  18170. },
  18171. "performanceplanid": {
  18172. "description": "履约计划ID[期权]",
  18173. "type": "integer"
  18174. },
  18175. "performancestatus": {
  18176. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18177. "type": "integer"
  18178. },
  18179. "preexerciseprice": {
  18180. "description": "预申报价格",
  18181. "type": "number"
  18182. },
  18183. "premium": {
  18184. "description": "权利金 - [持仓单的权利金]",
  18185. "type": "number"
  18186. },
  18187. "relatedouttradeid": {
  18188. "description": "关联外部成交单ID",
  18189. "type": "integer"
  18190. },
  18191. "status": {
  18192. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18193. "type": "integer"
  18194. },
  18195. "tradeamount": {
  18196. "description": "成交金额[账户币种,用于所有权]",
  18197. "type": "number"
  18198. },
  18199. "tradedate": {
  18200. "description": "交易日(yyyyMMdd)",
  18201. "type": "string"
  18202. },
  18203. "tradeid": {
  18204. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18205. "type": "string"
  18206. },
  18207. "trademode": {
  18208. "description": "交易模式",
  18209. "type": "integer"
  18210. },
  18211. "tradeprice": {
  18212. "description": "成交价格",
  18213. "type": "number"
  18214. },
  18215. "tradeproperty": {
  18216. "description": "交易属性",
  18217. "type": "integer"
  18218. },
  18219. "tradeqty": {
  18220. "description": "成交数量",
  18221. "type": "integer"
  18222. },
  18223. "tradetime": {
  18224. "description": "成交时间",
  18225. "type": "string"
  18226. },
  18227. "tradetype": {
  18228. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18229. "type": "integer"
  18230. }
  18231. }
  18232. },
  18233. "order.QueryHisTradeOrderDetailRsp": {
  18234. "type": "object",
  18235. "required": [
  18236. "accountid",
  18237. "buildtype",
  18238. "buyorsell",
  18239. "goodsid",
  18240. "histradedate",
  18241. "marketid",
  18242. "memberuserid",
  18243. "operatetype",
  18244. "orderid",
  18245. "orderqty",
  18246. "ordertime",
  18247. "pricemode",
  18248. "tradedate",
  18249. "validtype"
  18250. ],
  18251. "properties": {
  18252. "accountid": {
  18253. "description": "账户ID[报价币种]",
  18254. "type": "integer"
  18255. },
  18256. "buildtype": {
  18257. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18258. "type": "integer"
  18259. },
  18260. "buyorsell": {
  18261. "description": "买卖 - 0:买 1:卖",
  18262. "type": "integer"
  18263. },
  18264. "cancelorderid": {
  18265. "description": "撤单单号(撤单时填写)",
  18266. "type": "string"
  18267. },
  18268. "cancelqty": {
  18269. "description": "撤单数量",
  18270. "type": "integer"
  18271. },
  18272. "clientordertime": {
  18273. "description": "客户端委托时间",
  18274. "type": "string"
  18275. },
  18276. "clientticket": {
  18277. "description": "客户端流水号",
  18278. "type": "string"
  18279. },
  18280. "clienttype": {
  18281. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18282. "type": "integer"
  18283. },
  18284. "closeexchagechargevalue": {
  18285. "description": "平仓交易所手续费设置值",
  18286. "type": "number"
  18287. },
  18288. "closefeealgorithm": {
  18289. "description": "平仓手续费收取方式 1:比率 2:固定",
  18290. "type": "integer"
  18291. },
  18292. "closefreezecharge": {
  18293. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18294. "type": "number"
  18295. },
  18296. "closememberchargevalue": {
  18297. "description": "平仓会员手续费设置值",
  18298. "type": "number"
  18299. },
  18300. "closeqty": {
  18301. "description": "平仓数量(先建后平操作 需要记录)",
  18302. "type": "integer"
  18303. },
  18304. "closetradeqty": {
  18305. "description": "平仓成交数量(先建后平操作,需要记录)",
  18306. "type": "integer"
  18307. },
  18308. "closeunfreezecharge": {
  18309. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18310. "type": "number"
  18311. },
  18312. "delistingtype": {
  18313. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18314. "type": "integer"
  18315. },
  18316. "freezecharge": {
  18317. "description": "冻结手续费",
  18318. "type": "number"
  18319. },
  18320. "freezemargin": {
  18321. "description": "冻结保证金(冻结交易金额)",
  18322. "type": "number"
  18323. },
  18324. "gcaccountid": {
  18325. "description": "账户ID[合约币种]",
  18326. "type": "integer"
  18327. },
  18328. "goodscode": {
  18329. "description": "商品代码",
  18330. "type": "string"
  18331. },
  18332. "goodsid": {
  18333. "description": "商品ID",
  18334. "type": "integer"
  18335. },
  18336. "goodsname": {
  18337. "description": "商品名称",
  18338. "type": "string"
  18339. },
  18340. "histradedate": {
  18341. "description": "历史交易日",
  18342. "type": "string"
  18343. },
  18344. "isconfirmexercise": {
  18345. "description": "是否确认行权- 0:否 1:是",
  18346. "type": "integer"
  18347. },
  18348. "ispreexercise": {
  18349. "description": "是否预申报- 0:否 1:是",
  18350. "type": "integer"
  18351. },
  18352. "isvaliddata": {
  18353. "description": "是否有效 - 0:无效 1:有效",
  18354. "type": "integer"
  18355. },
  18356. "listingselecttype": {
  18357. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18358. "type": "integer"
  18359. },
  18360. "marginalgorithm": {
  18361. "description": "保证金收取方式 1:比率 2:固定",
  18362. "type": "integer"
  18363. },
  18364. "marginvalue": {
  18365. "description": "即市保证金设置值",
  18366. "type": "number"
  18367. },
  18368. "marketid": {
  18369. "description": "市场ID",
  18370. "type": "integer"
  18371. },
  18372. "marketmaxsub": {
  18373. "description": "市价最大偏移范围",
  18374. "type": "number"
  18375. },
  18376. "marketname": {
  18377. "description": "市场名称",
  18378. "type": "string"
  18379. },
  18380. "memberuserid": {
  18381. "description": "所属会员UserID",
  18382. "type": "integer"
  18383. },
  18384. "openexchagechargevalue": {
  18385. "description": "建仓交易所手续费设置值",
  18386. "type": "number"
  18387. },
  18388. "openfeealgorithm": {
  18389. "description": "建仓手续费收取方式 1:比率 2:固定",
  18390. "type": "integer"
  18391. },
  18392. "openfreezecharge": {
  18393. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18394. "type": "number"
  18395. },
  18396. "openmemberchargevalue": {
  18397. "description": "建仓会员手续费设置值",
  18398. "type": "number"
  18399. },
  18400. "openqty": {
  18401. "description": "开仓数量(先建后平操作,需要记录)",
  18402. "type": "integer"
  18403. },
  18404. "opentradeqty": {
  18405. "description": "开仓成交数量(先建后平操作,需要记录)",
  18406. "type": "integer"
  18407. },
  18408. "openunfreezecharge": {
  18409. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18410. "type": "number"
  18411. },
  18412. "operatetype": {
  18413. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18414. "type": "integer"
  18415. },
  18416. "operatorid": {
  18417. "description": "登录账号(LoginID)",
  18418. "type": "integer"
  18419. },
  18420. "optiontype": {
  18421. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18422. "type": "integer"
  18423. },
  18424. "orderid": {
  18425. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18426. "type": "string"
  18427. },
  18428. "orderprice": {
  18429. "description": "委托价格",
  18430. "type": "number"
  18431. },
  18432. "orderqty": {
  18433. "description": "委托数量",
  18434. "type": "integer"
  18435. },
  18436. "ordersrc": {
  18437. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18438. "type": "integer"
  18439. },
  18440. "orderstatus": {
  18441. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18442. "type": "integer"
  18443. },
  18444. "ordertime": {
  18445. "description": "委托时间",
  18446. "type": "string"
  18447. },
  18448. "preexerciseprice": {
  18449. "description": "预申报价格",
  18450. "type": "number"
  18451. },
  18452. "premium": {
  18453. "description": "权利金",
  18454. "type": "number"
  18455. },
  18456. "preorderid": {
  18457. "description": "关联预埋单号(止盈止损单时填写)",
  18458. "type": "string"
  18459. },
  18460. "pricemode": {
  18461. "description": "取价方式 - 1:市价 2: 限价",
  18462. "type": "integer"
  18463. },
  18464. "quoteid": {
  18465. "description": "报价单ID",
  18466. "type": "integer"
  18467. },
  18468. "relatedid": {
  18469. "description": "关联单号(交割单)",
  18470. "type": "string"
  18471. },
  18472. "retcode": {
  18473. "description": "错误代码",
  18474. "type": "integer"
  18475. },
  18476. "sessionid": {
  18477. "description": "会话ID",
  18478. "type": "integer"
  18479. },
  18480. "tradedate": {
  18481. "description": "交易日(yyyyMMdd)",
  18482. "type": "string"
  18483. },
  18484. "trademode": {
  18485. "description": "交易模式",
  18486. "type": "integer"
  18487. },
  18488. "tradeproperty": {
  18489. "description": "交易属性",
  18490. "type": "integer"
  18491. },
  18492. "tradeqty": {
  18493. "description": "成交数量",
  18494. "type": "integer"
  18495. },
  18496. "unfreezecharge": {
  18497. "description": "解冻手续费",
  18498. "type": "number"
  18499. },
  18500. "unfreezemargin": {
  18501. "description": "解冻保证金",
  18502. "type": "number"
  18503. },
  18504. "updatetime": {
  18505. "description": "更新时间",
  18506. "type": "string"
  18507. },
  18508. "uuid": {
  18509. "description": "发起端唯一id",
  18510. "type": "string"
  18511. },
  18512. "validtime": {
  18513. "description": "有效期限",
  18514. "type": "string"
  18515. },
  18516. "validtype": {
  18517. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18518. "type": "integer"
  18519. },
  18520. "volumetype": {
  18521. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18522. "type": "integer"
  18523. }
  18524. }
  18525. },
  18526. "order.QueryTradeDetailRsp": {
  18527. "type": "object",
  18528. "required": [
  18529. "accountid",
  18530. "buyorsell",
  18531. "goodsid",
  18532. "marketid",
  18533. "memberuserid",
  18534. "orderid",
  18535. "tradeamount",
  18536. "tradedate",
  18537. "tradeid",
  18538. "tradeprice",
  18539. "tradeqty",
  18540. "tradetime"
  18541. ],
  18542. "properties": {
  18543. "accountid": {
  18544. "description": "账户ID[报价币种]",
  18545. "type": "integer"
  18546. },
  18547. "buildtype": {
  18548. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18549. "type": "integer"
  18550. },
  18551. "buyorsell": {
  18552. "description": "方向 - 0:买 1:卖",
  18553. "type": "integer"
  18554. },
  18555. "charge": {
  18556. "description": "手续费",
  18557. "type": "number"
  18558. },
  18559. "closecharge": {
  18560. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18561. "type": "number"
  18562. },
  18563. "closeexchagechargevalue": {
  18564. "description": "平仓交易所手续费设置值",
  18565. "type": "number"
  18566. },
  18567. "closefeealgorithm": {
  18568. "description": "平仓手续费收取方式 1:比率 2:固定",
  18569. "type": "integer"
  18570. },
  18571. "closememberchargevalue": {
  18572. "description": "平仓会员手续费设置值",
  18573. "type": "number"
  18574. },
  18575. "closepl": {
  18576. "description": "平仓盈亏",
  18577. "type": "number"
  18578. },
  18579. "closepl2": {
  18580. "description": "平仓盈亏[逐笔]",
  18581. "type": "number"
  18582. },
  18583. "closeqty": {
  18584. "description": "平仓数量(先建后平操作 需要记录)",
  18585. "type": "integer"
  18586. },
  18587. "creditamount": {
  18588. "description": "授信金额",
  18589. "type": "number"
  18590. },
  18591. "gcaccountid": {
  18592. "description": "账户ID[合约币种]",
  18593. "type": "integer"
  18594. },
  18595. "goodscode": {
  18596. "description": "商品代码",
  18597. "type": "string"
  18598. },
  18599. "goodsid": {
  18600. "description": "商品ID",
  18601. "type": "integer"
  18602. },
  18603. "goodsname": {
  18604. "description": "商品名称",
  18605. "type": "string"
  18606. },
  18607. "intclosepl": {
  18608. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18609. "type": "integer"
  18610. },
  18611. "isconfirmexercise": {
  18612. "description": "是否确认行权- 0:否 1:是",
  18613. "type": "integer"
  18614. },
  18615. "ismain": {
  18616. "description": "是否主单 - 0:不是 1:是",
  18617. "type": "integer"
  18618. },
  18619. "ispreexercise": {
  18620. "description": "是否预申报- 0:否 1:是",
  18621. "type": "integer"
  18622. },
  18623. "isreckoned": {
  18624. "description": "是否结算 - 0:未结算 1:已结算",
  18625. "type": "integer"
  18626. },
  18627. "listingselecttype": {
  18628. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18629. "type": "integer"
  18630. },
  18631. "marketid": {
  18632. "description": "市场ID",
  18633. "type": "integer"
  18634. },
  18635. "marketname": {
  18636. "description": "市场名称",
  18637. "type": "string"
  18638. },
  18639. "matchaccountid": {
  18640. "description": "对手账号id",
  18641. "type": "integer"
  18642. },
  18643. "memberuserid": {
  18644. "description": "会员id 个人投资者 需要填写",
  18645. "type": "integer"
  18646. },
  18647. "opencharge": {
  18648. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18649. "type": "number"
  18650. },
  18651. "openexchagechargevalue": {
  18652. "description": "建仓交易所手续费设置值",
  18653. "type": "number"
  18654. },
  18655. "openfeealgorithm": {
  18656. "description": "建仓手续费收取方式 1:比率 2:固定",
  18657. "type": "integer"
  18658. },
  18659. "openmemberchargevalue": {
  18660. "description": "建仓会员手续费设置值",
  18661. "type": "number"
  18662. },
  18663. "openqty": {
  18664. "description": "开仓数量(先建后平操作 需要记录)",
  18665. "type": "integer"
  18666. },
  18667. "optiontype": {
  18668. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18669. "type": "integer"
  18670. },
  18671. "orderid": {
  18672. "description": "委托单号",
  18673. "type": "string"
  18674. },
  18675. "performanceplanid": {
  18676. "description": "履约计划ID[期权]",
  18677. "type": "integer"
  18678. },
  18679. "performancestatus": {
  18680. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18681. "type": "integer"
  18682. },
  18683. "preexerciseprice": {
  18684. "description": "预申报价格",
  18685. "type": "number"
  18686. },
  18687. "premium": {
  18688. "description": "权利金 - [持仓单的权利金]",
  18689. "type": "number"
  18690. },
  18691. "relatedouttradeid": {
  18692. "description": "关联外部成交单ID",
  18693. "type": "integer"
  18694. },
  18695. "status": {
  18696. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18697. "type": "integer"
  18698. },
  18699. "tradeamount": {
  18700. "description": "成交金额[账户币种,用于所有权]",
  18701. "type": "number"
  18702. },
  18703. "tradedate": {
  18704. "description": "交易日(yyyyMMdd)",
  18705. "type": "string"
  18706. },
  18707. "tradeid": {
  18708. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18709. "type": "string"
  18710. },
  18711. "trademode": {
  18712. "description": "交易模式",
  18713. "type": "integer"
  18714. },
  18715. "tradeprice": {
  18716. "description": "成交价格",
  18717. "type": "number"
  18718. },
  18719. "tradeproperty": {
  18720. "description": "交易属性",
  18721. "type": "integer"
  18722. },
  18723. "tradeqty": {
  18724. "description": "成交数量",
  18725. "type": "integer"
  18726. },
  18727. "tradetime": {
  18728. "description": "成交时间",
  18729. "type": "string"
  18730. },
  18731. "tradetype": {
  18732. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18733. "type": "integer"
  18734. }
  18735. }
  18736. },
  18737. "order.QueryTradeOrderDetailRsp": {
  18738. "type": "object",
  18739. "required": [
  18740. "accountid",
  18741. "buildtype",
  18742. "buyorsell",
  18743. "goodsid",
  18744. "marketid",
  18745. "operatetype",
  18746. "orderqty",
  18747. "ordertime",
  18748. "pricemode",
  18749. "tradedate",
  18750. "validtype"
  18751. ],
  18752. "properties": {
  18753. "accountid": {
  18754. "description": "账户ID[报价币种]",
  18755. "type": "integer"
  18756. },
  18757. "buildtype": {
  18758. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18759. "type": "integer"
  18760. },
  18761. "buyorsell": {
  18762. "description": "买卖 - 0:买 1:卖",
  18763. "type": "integer"
  18764. },
  18765. "cancelorderid": {
  18766. "description": "撤单单号(撤单时填写)",
  18767. "type": "string"
  18768. },
  18769. "cancelqty": {
  18770. "description": "撤单数量",
  18771. "type": "integer"
  18772. },
  18773. "clienttype": {
  18774. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18775. "type": "integer"
  18776. },
  18777. "closefreezecharge": {
  18778. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18779. "type": "number"
  18780. },
  18781. "closeqty": {
  18782. "description": "平仓数量(先建后平操作 需要记录)",
  18783. "type": "integer"
  18784. },
  18785. "closetradeqty": {
  18786. "description": "平仓成交数量(先建后平操作,需要记录)",
  18787. "type": "integer"
  18788. },
  18789. "closeunfreezecharge": {
  18790. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18791. "type": "number"
  18792. },
  18793. "delistingtype": {
  18794. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18795. "type": "integer"
  18796. },
  18797. "enableqty": {
  18798. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18799. "type": "integer"
  18800. },
  18801. "freezecharge": {
  18802. "description": "冻结手续费",
  18803. "type": "number"
  18804. },
  18805. "freezemargin": {
  18806. "description": "冻结保证金(冻结交易金额)",
  18807. "type": "number"
  18808. },
  18809. "goodscode": {
  18810. "description": "商品代码",
  18811. "type": "string"
  18812. },
  18813. "goodsid": {
  18814. "description": "商品ID",
  18815. "type": "integer"
  18816. },
  18817. "goodsname": {
  18818. "description": "商品名称",
  18819. "type": "string"
  18820. },
  18821. "listingselecttype": {
  18822. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18823. "type": "integer"
  18824. },
  18825. "marketid": {
  18826. "description": "市场ID",
  18827. "type": "integer"
  18828. },
  18829. "marketname": {
  18830. "description": "市场名称",
  18831. "type": "string"
  18832. },
  18833. "openfreezecharge": {
  18834. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18835. "type": "number"
  18836. },
  18837. "openqty": {
  18838. "description": "开仓数量(先建后平操作,需要记录)",
  18839. "type": "integer"
  18840. },
  18841. "opentradeqty": {
  18842. "description": "开仓成交数量(先建后平操作,需要记录)",
  18843. "type": "integer"
  18844. },
  18845. "openunfreezecharge": {
  18846. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18847. "type": "number"
  18848. },
  18849. "operatetype": {
  18850. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18851. "type": "integer"
  18852. },
  18853. "operatorid": {
  18854. "description": "登录账号(LoginID)",
  18855. "type": "integer"
  18856. },
  18857. "orderid": {
  18858. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18859. "type": "string"
  18860. },
  18861. "orderprice": {
  18862. "description": "委托价格",
  18863. "type": "number"
  18864. },
  18865. "orderqty": {
  18866. "description": "委托数量",
  18867. "type": "integer"
  18868. },
  18869. "ordersrc": {
  18870. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18871. "type": "integer"
  18872. },
  18873. "orderstatus": {
  18874. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18875. "type": "integer"
  18876. },
  18877. "ordertime": {
  18878. "description": "委托时间",
  18879. "type": "string"
  18880. },
  18881. "preorderid": {
  18882. "description": "关联预埋单号(止盈止损单时填写)",
  18883. "type": "string"
  18884. },
  18885. "pricemode": {
  18886. "description": "取价方式 - 1:市价 2: 限价",
  18887. "type": "integer"
  18888. },
  18889. "relatedid": {
  18890. "description": "关联单号(交割单)",
  18891. "type": "string"
  18892. },
  18893. "tradedate": {
  18894. "description": "交易日(yyyyMMdd)",
  18895. "type": "string"
  18896. },
  18897. "trademode": {
  18898. "description": "交易模式",
  18899. "type": "integer"
  18900. },
  18901. "tradeqty": {
  18902. "description": "成交数量",
  18903. "type": "integer"
  18904. },
  18905. "unfreezecharge": {
  18906. "description": "解冻手续费",
  18907. "type": "number"
  18908. },
  18909. "unfreezemargin": {
  18910. "description": "解冻保证金",
  18911. "type": "number"
  18912. },
  18913. "validtime": {
  18914. "description": "有效期限",
  18915. "type": "string"
  18916. },
  18917. "validtype": {
  18918. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18919. "type": "integer"
  18920. },
  18921. "volumetype": {
  18922. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18923. "type": "integer"
  18924. }
  18925. }
  18926. },
  18927. "order.QueryTradePositionRsp": {
  18928. "type": "object",
  18929. "required": [
  18930. "goodsid"
  18931. ],
  18932. "properties": {
  18933. "accountid": {
  18934. "description": "资金账户",
  18935. "type": "integer"
  18936. },
  18937. "agreeunit": {
  18938. "description": "合约单位",
  18939. "type": "number"
  18940. },
  18941. "averageprice": {
  18942. "description": "持仓均价",
  18943. "type": "number"
  18944. },
  18945. "buyorsell": {
  18946. "description": "方向 - 0:买 1:卖",
  18947. "type": "integer"
  18948. },
  18949. "closetotalqty": {
  18950. "description": "平仓总数量",
  18951. "type": "integer"
  18952. },
  18953. "curholderamount": {
  18954. "description": "当前持仓总金额[商品币种]",
  18955. "type": "number"
  18956. },
  18957. "curpositionqty": {
  18958. "description": "当前持仓总数量",
  18959. "type": "integer"
  18960. },
  18961. "currencyid": {
  18962. "description": "报价货币ID",
  18963. "type": "integer"
  18964. },
  18965. "curtdposition": {
  18966. "description": "期末今日头寸",
  18967. "type": "integer"
  18968. },
  18969. "decimalplace": {
  18970. "description": "报价小数位",
  18971. "type": "integer"
  18972. },
  18973. "enableqty": {
  18974. "description": "可用量",
  18975. "type": "integer"
  18976. },
  18977. "fretdposition": {
  18978. "description": "冻结今日头寸",
  18979. "type": "integer"
  18980. },
  18981. "frozenqty": {
  18982. "description": "持仓冻结数量",
  18983. "type": "integer"
  18984. },
  18985. "goodscode": {
  18986. "description": "商品代码",
  18987. "type": "string"
  18988. },
  18989. "goodsid": {
  18990. "description": "商品Id",
  18991. "type": "integer"
  18992. },
  18993. "goodsname": {
  18994. "description": "商品名称",
  18995. "type": "string"
  18996. },
  18997. "goodunit": {
  18998. "description": "报价单位",
  18999. "type": "string"
  19000. },
  19001. "goodunitid": {
  19002. "description": "报价单位ID",
  19003. "type": "integer"
  19004. },
  19005. "holderamount": {
  19006. "description": "期初持仓总金额[商品币种]",
  19007. "type": "number"
  19008. },
  19009. "marketid": {
  19010. "description": "所属市场ID",
  19011. "type": "integer"
  19012. },
  19013. "openreqqty": {
  19014. "description": "开仓申请数量(用于比较最大持仓数量)",
  19015. "type": "integer"
  19016. },
  19017. "opentotalqty": {
  19018. "description": "开仓总数量",
  19019. "type": "integer"
  19020. },
  19021. "otherfrozenqty": {
  19022. "description": "持仓其他冻结数量(交割冻结)",
  19023. "type": "integer"
  19024. },
  19025. "positionqty": {
  19026. "description": "期初持仓数量",
  19027. "type": "integer"
  19028. },
  19029. "tnqty": {
  19030. "description": "T+N冻结总量",
  19031. "type": "integer"
  19032. },
  19033. "tnusedqty": {
  19034. "description": "T+N使用量(可以使用T+N的冻结数量)",
  19035. "type": "integer"
  19036. },
  19037. "trademode": {
  19038. "description": "交易模式",
  19039. "type": "integer"
  19040. },
  19041. "usedmargin": {
  19042. "description": "占用保证金[商品币种]",
  19043. "type": "number"
  19044. }
  19045. }
  19046. },
  19047. "quote.HistoryData": {
  19048. "type": "object",
  19049. "properties": {
  19050. "c": {
  19051. "description": "收盘价",
  19052. "type": "number"
  19053. },
  19054. "f": {
  19055. "description": "是否补充数据",
  19056. "type": "boolean"
  19057. },
  19058. "h": {
  19059. "description": "最高价",
  19060. "type": "number"
  19061. },
  19062. "hv": {
  19063. "description": "持仓量",
  19064. "type": "integer"
  19065. },
  19066. "l": {
  19067. "description": "最低价",
  19068. "type": "number"
  19069. },
  19070. "o": {
  19071. "description": "开盘价",
  19072. "type": "number"
  19073. },
  19074. "s": {
  19075. "description": "结算价,日线周期(包括)以上才有",
  19076. "type": "number"
  19077. },
  19078. "ts": {
  19079. "description": "时间",
  19080. "type": "string"
  19081. },
  19082. "tt": {
  19083. "description": "总金额",
  19084. "type": "number"
  19085. },
  19086. "tv": {
  19087. "description": "总量",
  19088. "type": "integer"
  19089. }
  19090. }
  19091. },
  19092. "quote.HistoryTikData": {
  19093. "type": "object",
  19094. "properties": {
  19095. "AV": {
  19096. "description": "卖量",
  19097. "type": "integer"
  19098. },
  19099. "Ask": {
  19100. "description": "卖价",
  19101. "type": "number"
  19102. },
  19103. "BV": {
  19104. "description": "买量",
  19105. "type": "integer"
  19106. },
  19107. "Bid": {
  19108. "description": "买价",
  19109. "type": "number"
  19110. },
  19111. "HI": {
  19112. "description": "单笔持仓",
  19113. "type": "integer"
  19114. },
  19115. "HV": {
  19116. "description": "持仓量",
  19117. "type": "integer"
  19118. },
  19119. "PE": {
  19120. "description": "现价",
  19121. "type": "number"
  19122. },
  19123. "TDR": {
  19124. "description": "交易方向,0:买 1:卖",
  19125. "type": "integer"
  19126. },
  19127. "TK": {
  19128. "description": "交易类型",
  19129. "type": "integer"
  19130. },
  19131. "TS": {
  19132. "description": "行情时间文本",
  19133. "type": "string"
  19134. },
  19135. "TT": {
  19136. "description": "现金额",
  19137. "type": "number"
  19138. },
  19139. "Vol": {
  19140. "description": "现量",
  19141. "type": "integer"
  19142. }
  19143. }
  19144. },
  19145. "quote.QueryQuoteDayRsp": {
  19146. "type": "object",
  19147. "properties": {
  19148. "ask": {
  19149. "description": "卖1",
  19150. "type": "number"
  19151. },
  19152. "ask10": {
  19153. "description": "卖10",
  19154. "type": "number"
  19155. },
  19156. "ask2": {
  19157. "description": "卖2",
  19158. "type": "number"
  19159. },
  19160. "ask3": {
  19161. "description": "卖3",
  19162. "type": "number"
  19163. },
  19164. "ask4": {
  19165. "description": "卖4",
  19166. "type": "number"
  19167. },
  19168. "ask5": {
  19169. "description": "卖5",
  19170. "type": "number"
  19171. },
  19172. "ask6": {
  19173. "description": "卖6",
  19174. "type": "number"
  19175. },
  19176. "ask7": {
  19177. "description": "卖7",
  19178. "type": "number"
  19179. },
  19180. "ask8": {
  19181. "description": "卖8",
  19182. "type": "number"
  19183. },
  19184. "ask9": {
  19185. "description": "卖9",
  19186. "type": "number"
  19187. },
  19188. "askorderid": {
  19189. "description": "卖单号1",
  19190. "type": "integer"
  19191. },
  19192. "askorderid2": {
  19193. "description": "卖单号2",
  19194. "type": "integer"
  19195. },
  19196. "askorderid3": {
  19197. "description": "卖单号3",
  19198. "type": "integer"
  19199. },
  19200. "askorderid4": {
  19201. "description": "卖单号4",
  19202. "type": "integer"
  19203. },
  19204. "askorderid5": {
  19205. "description": "卖单号5",
  19206. "type": "integer"
  19207. },
  19208. "askordervolume": {
  19209. "description": "卖单量1",
  19210. "type": "integer"
  19211. },
  19212. "askordervolume10": {
  19213. "description": "卖单量10",
  19214. "type": "integer"
  19215. },
  19216. "askordervolume2": {
  19217. "description": "卖单量2",
  19218. "type": "integer"
  19219. },
  19220. "askordervolume3": {
  19221. "description": "卖单量3",
  19222. "type": "integer"
  19223. },
  19224. "askordervolume4": {
  19225. "description": "卖单量4",
  19226. "type": "integer"
  19227. },
  19228. "askordervolume5": {
  19229. "description": "卖单量5",
  19230. "type": "integer"
  19231. },
  19232. "askordervolume6": {
  19233. "description": "卖单量6",
  19234. "type": "integer"
  19235. },
  19236. "askordervolume7": {
  19237. "description": "卖单量7",
  19238. "type": "integer"
  19239. },
  19240. "askordervolume8": {
  19241. "description": "卖单量8",
  19242. "type": "integer"
  19243. },
  19244. "askordervolume9": {
  19245. "description": "卖单量9",
  19246. "type": "integer"
  19247. },
  19248. "askqueueinfo": {
  19249. "description": "大利市卖港股用",
  19250. "type": "string"
  19251. },
  19252. "askvolume": {
  19253. "description": "卖量1",
  19254. "type": "integer"
  19255. },
  19256. "askvolume10": {
  19257. "description": "卖量10",
  19258. "type": "integer"
  19259. },
  19260. "askvolume2": {
  19261. "description": "卖量2",
  19262. "type": "integer"
  19263. },
  19264. "askvolume3": {
  19265. "description": "卖量3",
  19266. "type": "integer"
  19267. },
  19268. "askvolume4": {
  19269. "description": "卖量4",
  19270. "type": "integer"
  19271. },
  19272. "askvolume5": {
  19273. "description": "卖量5",
  19274. "type": "integer"
  19275. },
  19276. "askvolume6": {
  19277. "description": "卖量6",
  19278. "type": "integer"
  19279. },
  19280. "askvolume7": {
  19281. "description": "卖量7",
  19282. "type": "integer"
  19283. },
  19284. "askvolume8": {
  19285. "description": "卖量8",
  19286. "type": "integer"
  19287. },
  19288. "askvolume9": {
  19289. "description": "卖量9",
  19290. "type": "integer"
  19291. },
  19292. "averageprice": {
  19293. "description": "均价",
  19294. "type": "number"
  19295. },
  19296. "bid": {
  19297. "description": "买1",
  19298. "type": "number"
  19299. },
  19300. "bid10": {
  19301. "description": "买10",
  19302. "type": "number"
  19303. },
  19304. "bid2": {
  19305. "description": "买2",
  19306. "type": "number"
  19307. },
  19308. "bid3": {
  19309. "description": "买3",
  19310. "type": "number"
  19311. },
  19312. "bid4": {
  19313. "description": "买4",
  19314. "type": "number"
  19315. },
  19316. "bid5": {
  19317. "description": "买5",
  19318. "type": "number"
  19319. },
  19320. "bid6": {
  19321. "description": "买6",
  19322. "type": "number"
  19323. },
  19324. "bid7": {
  19325. "description": "买7",
  19326. "type": "number"
  19327. },
  19328. "bid8": {
  19329. "description": "买8",
  19330. "type": "number"
  19331. },
  19332. "bid9": {
  19333. "description": "买9",
  19334. "type": "number"
  19335. },
  19336. "bidorderid": {
  19337. "description": "买单号1",
  19338. "type": "integer"
  19339. },
  19340. "bidorderid2": {
  19341. "description": "买单号2",
  19342. "type": "integer"
  19343. },
  19344. "bidorderid3": {
  19345. "description": "买单号3",
  19346. "type": "integer"
  19347. },
  19348. "bidorderid4": {
  19349. "description": "买单号4",
  19350. "type": "integer"
  19351. },
  19352. "bidorderid5": {
  19353. "description": "买单号5",
  19354. "type": "integer"
  19355. },
  19356. "bidordervolume": {
  19357. "description": "买单量1",
  19358. "type": "integer"
  19359. },
  19360. "bidordervolume10": {
  19361. "description": "买单量10",
  19362. "type": "integer"
  19363. },
  19364. "bidordervolume2": {
  19365. "description": "买单量2",
  19366. "type": "integer"
  19367. },
  19368. "bidordervolume3": {
  19369. "description": "买单量3",
  19370. "type": "integer"
  19371. },
  19372. "bidordervolume4": {
  19373. "description": "买单量4",
  19374. "type": "integer"
  19375. },
  19376. "bidordervolume5": {
  19377. "description": "买单量5",
  19378. "type": "integer"
  19379. },
  19380. "bidordervolume6": {
  19381. "description": "买单量6",
  19382. "type": "integer"
  19383. },
  19384. "bidordervolume7": {
  19385. "description": "买单量7",
  19386. "type": "integer"
  19387. },
  19388. "bidordervolume8": {
  19389. "description": "买单量8",
  19390. "type": "integer"
  19391. },
  19392. "bidordervolume9": {
  19393. "description": "买单量9",
  19394. "type": "integer"
  19395. },
  19396. "bidqueueinfo": {
  19397. "description": "大利市买港股用",
  19398. "type": "string"
  19399. },
  19400. "bidvolume": {
  19401. "description": "买量1",
  19402. "type": "integer"
  19403. },
  19404. "bidvolume10": {
  19405. "description": "买量10",
  19406. "type": "integer"
  19407. },
  19408. "bidvolume2": {
  19409. "description": "买量2",
  19410. "type": "integer"
  19411. },
  19412. "bidvolume3": {
  19413. "description": "买量3",
  19414. "type": "integer"
  19415. },
  19416. "bidvolume4": {
  19417. "description": "买量4",
  19418. "type": "integer"
  19419. },
  19420. "bidvolume5": {
  19421. "description": "买量5",
  19422. "type": "integer"
  19423. },
  19424. "bidvolume6": {
  19425. "description": "买量6",
  19426. "type": "integer"
  19427. },
  19428. "bidvolume7": {
  19429. "description": "买量7",
  19430. "type": "integer"
  19431. },
  19432. "bidvolume8": {
  19433. "description": "买量8",
  19434. "type": "integer"
  19435. },
  19436. "bidvolume9": {
  19437. "description": "买量9",
  19438. "type": "integer"
  19439. },
  19440. "calloptionpremiums": {
  19441. "description": "认购期权1",
  19442. "type": "integer"
  19443. },
  19444. "calloptionpremiums2": {
  19445. "description": "认购期权2",
  19446. "type": "integer"
  19447. },
  19448. "calloptionpremiums3": {
  19449. "description": "认购期权3",
  19450. "type": "integer"
  19451. },
  19452. "calloptionpremiums4": {
  19453. "description": "认购期权4",
  19454. "type": "integer"
  19455. },
  19456. "calloptionpremiums5": {
  19457. "description": "认购期权5",
  19458. "type": "integer"
  19459. },
  19460. "cleartime": {
  19461. "description": "清盘时间",
  19462. "type": "integer"
  19463. },
  19464. "exchangecode": {
  19465. "description": "交易所代码",
  19466. "type": "integer"
  19467. },
  19468. "exchangedate": {
  19469. "description": "交易日",
  19470. "type": "integer"
  19471. },
  19472. "goodscode": {
  19473. "description": "商品代码",
  19474. "type": "string"
  19475. },
  19476. "grepmarketprice": {
  19477. "description": "暗盘价 港股专用",
  19478. "type": "number"
  19479. },
  19480. "highest": {
  19481. "description": "最高价",
  19482. "type": "number"
  19483. },
  19484. "holdincrement": {
  19485. "description": "单笔持仓",
  19486. "type": "integer"
  19487. },
  19488. "holdvolume": {
  19489. "description": "持仓",
  19490. "type": "integer"
  19491. },
  19492. "iep": {
  19493. "description": "平衡价 港股专用",
  19494. "type": "number"
  19495. },
  19496. "iev": {
  19497. "description": "平衡量 港股专用",
  19498. "type": "number"
  19499. },
  19500. "inventory": {
  19501. "description": "库存",
  19502. "type": "integer"
  19503. },
  19504. "iscleared": {
  19505. "description": "是否清盘标志",
  19506. "type": "integer"
  19507. },
  19508. "issettled": {
  19509. "description": "是否结算标志",
  19510. "type": "integer"
  19511. },
  19512. "last": {
  19513. "description": "最新价",
  19514. "type": "number"
  19515. },
  19516. "lastlot": {
  19517. "description": "最新成交手数",
  19518. "type": "integer"
  19519. },
  19520. "lasttime": {
  19521. "description": "行情时间(只有现价变化行情时间才变化)",
  19522. "type": "string"
  19523. },
  19524. "lastturnover": {
  19525. "description": "最新成交金额",
  19526. "type": "number"
  19527. },
  19528. "lastvolume": {
  19529. "description": "最新成交量",
  19530. "type": "integer"
  19531. },
  19532. "limitdown": {
  19533. "description": "跌停价",
  19534. "type": "number"
  19535. },
  19536. "limitup": {
  19537. "description": "涨停价",
  19538. "type": "number"
  19539. },
  19540. "lowest": {
  19541. "description": "最低价",
  19542. "type": "number"
  19543. },
  19544. "nontotalholdervolume": {
  19545. "description": "非交易持仓量",
  19546. "type": "integer"
  19547. },
  19548. "nontotallot": {
  19549. "description": "非交易总手数",
  19550. "type": "integer"
  19551. },
  19552. "nontotalturnover": {
  19553. "description": "非交易总金额",
  19554. "type": "integer"
  19555. },
  19556. "nontotalvolume": {
  19557. "description": "非交易总量",
  19558. "type": "integer"
  19559. },
  19560. "opened": {
  19561. "description": "开盘价",
  19562. "type": "number"
  19563. },
  19564. "opentime": {
  19565. "description": "开盘时间",
  19566. "type": "string"
  19567. },
  19568. "orderid": {
  19569. "description": "序号",
  19570. "type": "integer"
  19571. },
  19572. "preclose": {
  19573. "description": "昨收",
  19574. "type": "number"
  19575. },
  19576. "preholdvolume": {
  19577. "description": "昨持仓",
  19578. "type": "integer"
  19579. },
  19580. "presettle": {
  19581. "description": "昨结价",
  19582. "type": "number"
  19583. },
  19584. "publictradetype": {
  19585. "description": "公共交易标志类型 港股专用",
  19586. "type": "string"
  19587. },
  19588. "putoptionpremiums": {
  19589. "description": "认沽期权1",
  19590. "type": "integer"
  19591. },
  19592. "putoptionpremiums2": {
  19593. "description": "认沽期权2",
  19594. "type": "integer"
  19595. },
  19596. "putoptionpremiums3": {
  19597. "description": "认沽期权3",
  19598. "type": "integer"
  19599. },
  19600. "putoptionpremiums4": {
  19601. "description": "认沽期权4",
  19602. "type": "integer"
  19603. },
  19604. "putoptionpremiums5": {
  19605. "description": "认沽期权5",
  19606. "type": "integer"
  19607. },
  19608. "settle": {
  19609. "description": "结算价",
  19610. "type": "number"
  19611. },
  19612. "strikeprice": {
  19613. "description": "发行价",
  19614. "type": "number"
  19615. },
  19616. "totalaskvolume": {
  19617. "description": "内盘",
  19618. "type": "integer"
  19619. },
  19620. "totalbidvolume": {
  19621. "description": "外盘",
  19622. "type": "integer"
  19623. },
  19624. "totallot": {
  19625. "description": "总手数",
  19626. "type": "integer"
  19627. },
  19628. "totalturnover": {
  19629. "description": "总金额",
  19630. "type": "number"
  19631. },
  19632. "totalvolume": {
  19633. "description": "总量",
  19634. "type": "integer"
  19635. },
  19636. "utclasttime": {
  19637. "description": "utc的行情时间",
  19638. "type": "string"
  19639. }
  19640. }
  19641. },
  19642. "quote.QueryTSDataRsp": {
  19643. "type": "object",
  19644. "properties": {
  19645. "decimalPlace": {
  19646. "description": "小数位",
  19647. "type": "integer"
  19648. },
  19649. "endTime": {
  19650. "description": "结束时间",
  19651. "type": "string"
  19652. },
  19653. "goodsCode": {
  19654. "description": "商品代码",
  19655. "type": "string"
  19656. },
  19657. "historyDatas": {
  19658. "description": "历史数据",
  19659. "type": "array",
  19660. "items": {
  19661. "$ref": "#/definitions/quote.HistoryData"
  19662. }
  19663. },
  19664. "outGoodsCode": {
  19665. "description": "外部商品代码",
  19666. "type": "string"
  19667. },
  19668. "preSettle": {
  19669. "description": "昨结价",
  19670. "type": "number"
  19671. },
  19672. "removeCount": {
  19673. "description": "交易日中休市时周期点数",
  19674. "type": "integer"
  19675. },
  19676. "runSteps": {
  19677. "description": "交易日开休市计划",
  19678. "type": "array",
  19679. "items": {
  19680. "$ref": "#/definitions/quote.TSDataRunStep"
  19681. }
  19682. },
  19683. "startTime": {
  19684. "description": "开始时间",
  19685. "type": "string"
  19686. },
  19687. "tradeDate": {
  19688. "description": "交易日",
  19689. "type": "string"
  19690. }
  19691. }
  19692. },
  19693. "quote.TSDataRunStep": {
  19694. "type": "object",
  19695. "properties": {
  19696. "end": {
  19697. "description": "真实结束时间",
  19698. "type": "string"
  19699. },
  19700. "endflag": {
  19701. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  19702. "type": "integer"
  19703. },
  19704. "endtime": {
  19705. "description": "结束时间(HH:mm)",
  19706. "type": "string"
  19707. },
  19708. "endweekday": {
  19709. "description": "结束周几",
  19710. "type": "integer"
  19711. },
  19712. "groupid": {
  19713. "description": "分组ID",
  19714. "type": "integer"
  19715. },
  19716. "runstep": {
  19717. "description": "运行阶段 - 2:连续交易",
  19718. "type": "integer"
  19719. },
  19720. "sectionid": {
  19721. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  19722. "type": "integer"
  19723. },
  19724. "start": {
  19725. "description": "真实开始时间",
  19726. "type": "string"
  19727. },
  19728. "startflag": {
  19729. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  19730. "type": "integer"
  19731. },
  19732. "starttime": {
  19733. "description": "起始时间(HH:mm)",
  19734. "type": "string"
  19735. },
  19736. "startweekday": {
  19737. "description": "起始周几",
  19738. "type": "integer"
  19739. },
  19740. "tradeweekday": {
  19741. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  19742. "type": "integer"
  19743. }
  19744. }
  19745. },
  19746. "szdz.QueryConvertLogRsp": {
  19747. "type": "object",
  19748. "required": [
  19749. "logid"
  19750. ],
  19751. "properties": {
  19752. "accountid": {
  19753. "description": "资金账户ID",
  19754. "type": "integer"
  19755. },
  19756. "clientticket": {
  19757. "description": "客户端流水号",
  19758. "type": "string"
  19759. },
  19760. "converttype": {
  19761. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19762. "type": "integer"
  19763. },
  19764. "createtime": {
  19765. "description": "记账时间",
  19766. "type": "string"
  19767. },
  19768. "daymaxvalue": {
  19769. "description": "配置当日最大转入限制",
  19770. "type": "number"
  19771. },
  19772. "daymaxvalue2": {
  19773. "description": "配置当日最大转入限制(转入)",
  19774. "type": "number"
  19775. },
  19776. "goodscode": {
  19777. "description": "商品代码",
  19778. "type": "string"
  19779. },
  19780. "goodsname": {
  19781. "description": "商品名称",
  19782. "type": "string"
  19783. },
  19784. "handlestatus": {
  19785. "description": "处理状态",
  19786. "type": "integer"
  19787. },
  19788. "innergoodsid": {
  19789. "description": "内部商品ID",
  19790. "type": "integer"
  19791. },
  19792. "inratio": {
  19793. "description": "配置转入比值",
  19794. "type": "integer"
  19795. },
  19796. "invalue": {
  19797. "description": "目标值",
  19798. "type": "number"
  19799. },
  19800. "logid": {
  19801. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19802. "type": "integer"
  19803. },
  19804. "mobile": {
  19805. "description": "手机号码(加密存储)",
  19806. "type": "string"
  19807. },
  19808. "outergoodscode": {
  19809. "description": "外部商品代码[JD\\PD]",
  19810. "type": "string"
  19811. },
  19812. "outratio": {
  19813. "description": "配置转出比值",
  19814. "type": "integer"
  19815. },
  19816. "outvalue": {
  19817. "description": "源值",
  19818. "type": "number"
  19819. },
  19820. "pddecimalplace": {
  19821. "description": "PD小数位",
  19822. "type": "integer"
  19823. },
  19824. "qty": {
  19825. "description": "数量",
  19826. "type": "string"
  19827. },
  19828. "remark": {
  19829. "description": "备注",
  19830. "type": "string"
  19831. },
  19832. "sessionid": {
  19833. "description": "会话ID",
  19834. "type": "integer"
  19835. },
  19836. "timemaxvalue": {
  19837. "description": "配置单次最大转入限制",
  19838. "type": "number"
  19839. },
  19840. "timemaxvalue2": {
  19841. "description": "配置单次最大转入限制(转入)",
  19842. "type": "number"
  19843. },
  19844. "timeminvalue": {
  19845. "description": "配置单次最小数量限制",
  19846. "type": "number"
  19847. },
  19848. "timeminvalue2": {
  19849. "description": "配置单次最小数量限制(转入)",
  19850. "type": "number"
  19851. },
  19852. "tradedate": {
  19853. "description": "交易日(yyyyMMdd)",
  19854. "type": "string"
  19855. },
  19856. "userid": {
  19857. "description": "用户ID",
  19858. "type": "integer"
  19859. }
  19860. }
  19861. },
  19862. "szdz.QueryGoodsPickupRsp": {
  19863. "type": "object",
  19864. "required": [
  19865. "takeorderid"
  19866. ],
  19867. "properties": {
  19868. "accountid": {
  19869. "description": "账户ID",
  19870. "type": "integer"
  19871. },
  19872. "address": {
  19873. "description": "提货人详细地址",
  19874. "type": "string"
  19875. },
  19876. "auditer": {
  19877. "description": "审核人",
  19878. "type": "integer"
  19879. },
  19880. "audittime": {
  19881. "description": "审核时间",
  19882. "type": "string"
  19883. },
  19884. "cardnum": {
  19885. "description": "提货人证件号码",
  19886. "type": "string"
  19887. },
  19888. "cardtypeid": {
  19889. "description": "提货人证件类型",
  19890. "type": "integer"
  19891. },
  19892. "checkremark": {
  19893. "description": "审核备注",
  19894. "type": "string"
  19895. },
  19896. "goodscode": {
  19897. "description": "商品代码",
  19898. "type": "string"
  19899. },
  19900. "goodsid": {
  19901. "description": "商品ID",
  19902. "type": "integer"
  19903. },
  19904. "goodsname": {
  19905. "description": "商品名称",
  19906. "type": "string"
  19907. },
  19908. "handlestatus": {
  19909. "description": "处理状态",
  19910. "type": "integer"
  19911. },
  19912. "marketid": {
  19913. "description": "市场ID",
  19914. "type": "integer"
  19915. },
  19916. "phonenum": {
  19917. "description": "提货人联系方式",
  19918. "type": "string"
  19919. },
  19920. "qty": {
  19921. "description": "提货数量",
  19922. "type": "number"
  19923. },
  19924. "recivername": {
  19925. "description": "提货人姓名",
  19926. "type": "string"
  19927. },
  19928. "reqtime": {
  19929. "description": "更新时间",
  19930. "type": "string"
  19931. },
  19932. "takemode": {
  19933. "description": "提货方式 - 2:自提 3:配送",
  19934. "type": "integer"
  19935. },
  19936. "takeorderid": {
  19937. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19938. "type": "string"
  19939. },
  19940. "takeorderstatus": {
  19941. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19942. "type": "integer"
  19943. },
  19944. "takeremark": {
  19945. "description": "提货备注",
  19946. "type": "string"
  19947. },
  19948. "tradedate": {
  19949. "description": "交易日(yyyyMMdd)",
  19950. "type": "string"
  19951. },
  19952. "userid": {
  19953. "description": "用户ID",
  19954. "type": "integer"
  19955. }
  19956. }
  19957. },
  19958. "szdz.QueryRecieptOrderRsp": {
  19959. "type": "object",
  19960. "required": [
  19961. "ordertime"
  19962. ],
  19963. "properties": {
  19964. "accountName": {
  19965. "description": "所属账号名称(已脱敏)",
  19966. "type": "string"
  19967. },
  19968. "accountid": {
  19969. "description": "资金账号",
  19970. "type": "integer"
  19971. },
  19972. "buyorsell": {
  19973. "description": "方向 - 0:买 1:卖",
  19974. "type": "integer"
  19975. },
  19976. "enableqty": {
  19977. "description": "可摘数量",
  19978. "type": "integer"
  19979. },
  19980. "goodscode": {
  19981. "description": "商品代码",
  19982. "type": "string"
  19983. },
  19984. "goodsid": {
  19985. "description": "商品ID",
  19986. "type": "integer"
  19987. },
  19988. "goodsname": {
  19989. "description": "商品名称",
  19990. "type": "string"
  19991. },
  19992. "orderid": {
  19993. "description": "委托单号",
  19994. "type": "string"
  19995. },
  19996. "orderprice": {
  19997. "description": "委托价格",
  19998. "type": "number"
  19999. },
  20000. "ordertime": {
  20001. "description": "委托时间",
  20002. "type": "string"
  20003. },
  20004. "tradedate": {
  20005. "description": "交易日(yyyyMMdd)",
  20006. "type": "string"
  20007. }
  20008. }
  20009. },
  20010. "szdz.QuerySZDZTradePositionRsp": {
  20011. "type": "object",
  20012. "properties": {
  20013. "accountid": {
  20014. "description": "账号Id",
  20015. "type": "integer"
  20016. },
  20017. "agreeunit": {
  20018. "description": "合约单位",
  20019. "type": "number"
  20020. },
  20021. "averageprice": {
  20022. "description": "持仓均价",
  20023. "type": "number"
  20024. },
  20025. "buyorsell": {
  20026. "description": "方向 - 0:买 1:卖",
  20027. "type": "integer"
  20028. },
  20029. "closetotalqty": {
  20030. "description": "平仓总数量",
  20031. "type": "integer"
  20032. },
  20033. "curholderamount": {
  20034. "description": "当前持仓总金额",
  20035. "type": "number"
  20036. },
  20037. "curpositionqty": {
  20038. "description": "当前持仓总数量",
  20039. "type": "integer"
  20040. },
  20041. "currencyid": {
  20042. "description": "报价货币ID",
  20043. "type": "integer"
  20044. },
  20045. "curtdposition": {
  20046. "description": "期末今日头寸",
  20047. "type": "integer"
  20048. },
  20049. "decimalplace": {
  20050. "description": "报价小数位",
  20051. "type": "integer"
  20052. },
  20053. "enableqty": {
  20054. "description": "可用量",
  20055. "type": "integer"
  20056. },
  20057. "fretdposition": {
  20058. "description": "冻结今日头寸",
  20059. "type": "integer"
  20060. },
  20061. "frozenqty": {
  20062. "description": "持仓冻结数量",
  20063. "type": "integer"
  20064. },
  20065. "goodscode": {
  20066. "description": "商品代码(内部)",
  20067. "type": "string"
  20068. },
  20069. "goodsid": {
  20070. "description": "商品Id",
  20071. "type": "integer"
  20072. },
  20073. "goodsname": {
  20074. "description": "商品名称",
  20075. "type": "string"
  20076. },
  20077. "goodunit": {
  20078. "description": "报价单位",
  20079. "type": "string"
  20080. },
  20081. "goodunitid": {
  20082. "description": "报价单位ID",
  20083. "type": "integer"
  20084. },
  20085. "holderamount": {
  20086. "description": "期初持仓总金额",
  20087. "type": "number"
  20088. },
  20089. "marketid": {
  20090. "description": "市场ID",
  20091. "type": "integer"
  20092. },
  20093. "openreqqty": {
  20094. "description": "开仓申请数量",
  20095. "type": "integer"
  20096. },
  20097. "opentotalqty": {
  20098. "description": "开仓总数量",
  20099. "type": "integer"
  20100. },
  20101. "otherfrozenqty": {
  20102. "description": "持仓其他冻结数量(交割冻结)",
  20103. "type": "integer"
  20104. },
  20105. "positionqty": {
  20106. "description": "期初持仓数量",
  20107. "type": "integer"
  20108. },
  20109. "szdz3freezqty": {
  20110. "description": "尚志大宗转换冻结总数量",
  20111. "type": "integer"
  20112. },
  20113. "tnqty": {
  20114. "description": "T+N冻结总量",
  20115. "type": "integer"
  20116. },
  20117. "tnusedqty": {
  20118. "description": "T+N使用量",
  20119. "type": "integer"
  20120. },
  20121. "trademode": {
  20122. "description": "交易模式",
  20123. "type": "integer"
  20124. },
  20125. "usedmargin": {
  20126. "description": "占用保证金",
  20127. "type": "number"
  20128. }
  20129. }
  20130. },
  20131. "taaccount.QueryAmountLogRsp": {
  20132. "type": "object",
  20133. "required": [
  20134. "accountid",
  20135. "amount",
  20136. "amountadjusttype",
  20137. "autoid",
  20138. "balance",
  20139. "createtime",
  20140. "currentbalance",
  20141. "operatetype"
  20142. ],
  20143. "properties": {
  20144. "OPERATETYPENAME": {
  20145. "description": "资金操作类型名称",
  20146. "type": "string"
  20147. },
  20148. "accountid": {
  20149. "description": "资金账户ID",
  20150. "type": "integer"
  20151. },
  20152. "agoodscode": {
  20153. "description": "竞拍商品代码",
  20154. "type": "string"
  20155. },
  20156. "agoodsname": {
  20157. "description": "竞拍商品名称",
  20158. "type": "string"
  20159. },
  20160. "amount": {
  20161. "description": "资金金额",
  20162. "type": "number"
  20163. },
  20164. "amountadjusttype": {
  20165. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20166. "type": "integer"
  20167. },
  20168. "autoid": {
  20169. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20170. "type": "integer"
  20171. },
  20172. "balance": {
  20173. "description": "期初余额",
  20174. "type": "number"
  20175. },
  20176. "businesscode": {
  20177. "description": "业务编号",
  20178. "type": "integer"
  20179. },
  20180. "createtime": {
  20181. "description": "发生时间",
  20182. "type": "string"
  20183. },
  20184. "currencyid": {
  20185. "description": "币种ID",
  20186. "type": "integer"
  20187. },
  20188. "currentbalance": {
  20189. "description": "期末余额(变动后金额)",
  20190. "type": "number"
  20191. },
  20192. "dgoodscode": {
  20193. "description": "交割商品代码",
  20194. "type": "string"
  20195. },
  20196. "dgoodsname": {
  20197. "description": "交割商品名称",
  20198. "type": "string"
  20199. },
  20200. "goodscode": {
  20201. "description": "商品代码",
  20202. "type": "string"
  20203. },
  20204. "goodsid": {
  20205. "description": "商品ID",
  20206. "type": "integer"
  20207. },
  20208. "goodsname": {
  20209. "description": "商品名称",
  20210. "type": "string"
  20211. },
  20212. "marketid": {
  20213. "description": "市场ID",
  20214. "type": "integer"
  20215. },
  20216. "marketname": {
  20217. "description": "市场名称",
  20218. "type": "string"
  20219. },
  20220. "moneyticket": {
  20221. "description": "资金流水号:银行端流水号",
  20222. "type": "integer"
  20223. },
  20224. "operatetype": {
  20225. "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:营销收款",
  20226. "type": "integer"
  20227. },
  20228. "relationorderid": {
  20229. "description": "关联单号",
  20230. "type": "string"
  20231. },
  20232. "remark": {
  20233. "description": "备注",
  20234. "type": "string"
  20235. },
  20236. "trademode": {
  20237. "description": "交易模式",
  20238. "type": "integer"
  20239. }
  20240. }
  20241. },
  20242. "taaccount.QueryHisAmountLogRsp": {
  20243. "type": "object",
  20244. "required": [
  20245. "accountid",
  20246. "amount",
  20247. "amountadjusttype",
  20248. "autoid",
  20249. "balance",
  20250. "createtime",
  20251. "currentbalance",
  20252. "histradedate",
  20253. "operatetype"
  20254. ],
  20255. "properties": {
  20256. "OPERATETYPENAME": {
  20257. "description": "资金操作类型名称",
  20258. "type": "string"
  20259. },
  20260. "accountid": {
  20261. "description": "资金账户ID",
  20262. "type": "integer"
  20263. },
  20264. "agoodscode": {
  20265. "description": "竞拍商品代码",
  20266. "type": "string"
  20267. },
  20268. "agoodsname": {
  20269. "description": "竞拍商品名称",
  20270. "type": "string"
  20271. },
  20272. "amount": {
  20273. "description": "资金金额",
  20274. "type": "number"
  20275. },
  20276. "amountadjusttype": {
  20277. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20278. "type": "integer"
  20279. },
  20280. "autoid": {
  20281. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20282. "type": "integer"
  20283. },
  20284. "balance": {
  20285. "description": "期初余额",
  20286. "type": "number"
  20287. },
  20288. "businesscode": {
  20289. "description": "业务编号",
  20290. "type": "integer"
  20291. },
  20292. "createtime": {
  20293. "description": "发生时间",
  20294. "type": "string"
  20295. },
  20296. "currencyid": {
  20297. "description": "币种ID",
  20298. "type": "integer"
  20299. },
  20300. "currentbalance": {
  20301. "description": "期末余额(变动后金额)",
  20302. "type": "number"
  20303. },
  20304. "dgoodscode": {
  20305. "description": "交割商品代码",
  20306. "type": "string"
  20307. },
  20308. "dgoodsname": {
  20309. "description": "交割商品名称",
  20310. "type": "string"
  20311. },
  20312. "goodscode": {
  20313. "description": "商品代码",
  20314. "type": "string"
  20315. },
  20316. "goodsid": {
  20317. "description": "商品ID",
  20318. "type": "integer"
  20319. },
  20320. "goodsname": {
  20321. "description": "商品名称",
  20322. "type": "string"
  20323. },
  20324. "histradedate": {
  20325. "description": "历史交易日",
  20326. "type": "string"
  20327. },
  20328. "isvaliddata": {
  20329. "description": "是否有效 - 0:无效 1:有效",
  20330. "type": "integer"
  20331. },
  20332. "marketid": {
  20333. "description": "市场ID",
  20334. "type": "integer"
  20335. },
  20336. "marketname": {
  20337. "description": "市场名称",
  20338. "type": "string"
  20339. },
  20340. "moneyticket": {
  20341. "description": "资金流水号:银行端流水号",
  20342. "type": "integer"
  20343. },
  20344. "operatetype": {
  20345. "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:营销收款",
  20346. "type": "integer"
  20347. },
  20348. "relationorderid": {
  20349. "description": "关联单号",
  20350. "type": "string"
  20351. },
  20352. "remark": {
  20353. "description": "备注",
  20354. "type": "string"
  20355. },
  20356. "trademode": {
  20357. "description": "交易模式",
  20358. "type": "integer"
  20359. }
  20360. }
  20361. },
  20362. "trade.QueryRecieptOrderRsp": {
  20363. "type": "object",
  20364. "required": [
  20365. "ordertime"
  20366. ],
  20367. "properties": {
  20368. "accountName": {
  20369. "description": "所属账号名称(已脱敏)",
  20370. "type": "string"
  20371. },
  20372. "accountid": {
  20373. "description": "资金账号",
  20374. "type": "integer"
  20375. },
  20376. "buyorsell": {
  20377. "description": "方向 - 0:买 1:卖",
  20378. "type": "integer"
  20379. },
  20380. "enableqty": {
  20381. "description": "可摘数量",
  20382. "type": "integer"
  20383. },
  20384. "goodscode": {
  20385. "description": "商品代码",
  20386. "type": "string"
  20387. },
  20388. "goodsid": {
  20389. "description": "商品ID",
  20390. "type": "integer"
  20391. },
  20392. "goodsname": {
  20393. "description": "商品名称",
  20394. "type": "string"
  20395. },
  20396. "orderid": {
  20397. "description": "委托单号",
  20398. "type": "string"
  20399. },
  20400. "orderprice": {
  20401. "description": "委托价格",
  20402. "type": "number"
  20403. },
  20404. "ordertime": {
  20405. "description": "委托时间",
  20406. "type": "string"
  20407. },
  20408. "tradedate": {
  20409. "description": "交易日(yyyyMMdd)",
  20410. "type": "string"
  20411. }
  20412. }
  20413. },
  20414. "user.LoginQueryRsp": {
  20415. "type": "object",
  20416. "properties": {
  20417. "externalExchanges": {
  20418. "description": "外部交易所",
  20419. "type": "array",
  20420. "items": {
  20421. "$ref": "#/definitions/models.Externalexchange"
  20422. }
  20423. },
  20424. "goodsgroups": {
  20425. "description": "商品组",
  20426. "type": "array",
  20427. "items": {
  20428. "$ref": "#/definitions/models.Goodsgroup"
  20429. }
  20430. },
  20431. "loginAccount": {
  20432. "description": "登录账号",
  20433. "$ref": "#/definitions/models.Loginaccount"
  20434. },
  20435. "markets": {
  20436. "description": "市场",
  20437. "type": "array",
  20438. "items": {
  20439. "$ref": "#/definitions/models.Market"
  20440. }
  20441. },
  20442. "systemParams": {
  20443. "description": "系统参数",
  20444. "type": "array",
  20445. "items": {
  20446. "$ref": "#/definitions/models.Systemparam"
  20447. }
  20448. },
  20449. "userAccount": {
  20450. "description": "用户账号",
  20451. "$ref": "#/definitions/models.Useraccount"
  20452. },
  20453. "userInfo": {
  20454. "description": "用户信息",
  20455. "$ref": "#/definitions/models.Userinfo"
  20456. },
  20457. "username": {
  20458. "description": "用户姓名",
  20459. "type": "string"
  20460. }
  20461. }
  20462. }
  20463. },
  20464. "securityDefinitions": {
  20465. "ApiKeyAuth": {
  20466. "type": "apiKey",
  20467. "name": "Authorization",
  20468. "in": "header"
  20469. }
  20470. }
  20471. }`
  20472. type swaggerInfo struct {
  20473. Version string
  20474. Host string
  20475. BasePath string
  20476. Schemes []string
  20477. Title string
  20478. Description string
  20479. }
  20480. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20481. var SwaggerInfo = swaggerInfo{
  20482. Version: "1.0",
  20483. Host: "",
  20484. BasePath: "/api",
  20485. Schemes: []string{},
  20486. Title: "MTP2.0 查询服务 API",
  20487. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20488. }
  20489. type s struct{}
  20490. func (s *s) ReadDoc() string {
  20491. sInfo := SwaggerInfo
  20492. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20493. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20494. "marshal": func(v interface{}) string {
  20495. a, _ := json.Marshal(v)
  20496. return string(a)
  20497. },
  20498. }).Parse(doc)
  20499. if err != nil {
  20500. return doc
  20501. }
  20502. var tpl bytes.Buffer
  20503. if err := t.Execute(&tpl, sInfo); err != nil {
  20504. return doc
  20505. }
  20506. return tpl.String()
  20507. }
  20508. func init() {
  20509. swag.Register(swag.Name, &s{})
  20510. }