docs.go 778 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取企业风管终端权限",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Funcmenulist"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/QryReportAreaSpotPL": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "查询现货损益报表(现货损益报表)",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "用户ID",
  971. "name": "userid",
  972. "in": "query",
  973. "required": true
  974. },
  975. {
  976. "type": "integer",
  977. "description": "查询类型 1-日报表 2-月报表",
  978. "name": "querytype",
  979. "in": "query",
  980. "required": true
  981. },
  982. {
  983. "type": "string",
  984. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  985. "name": "querydate",
  986. "in": "query",
  987. "required": true
  988. },
  989. {
  990. "type": "integer",
  991. "description": "现货商品ID",
  992. "name": "wrstandardid",
  993. "in": "query"
  994. },
  995. {
  996. "type": "integer",
  997. "description": "品牌ID",
  998. "name": "spotgoodsbrandid",
  999. "in": "query"
  1000. },
  1001. {
  1002. "type": "integer",
  1003. "description": "型号ID",
  1004. "name": "spotgoodsmodelid",
  1005. "in": "query"
  1006. }
  1007. ],
  1008. "responses": {
  1009. "200": {
  1010. "description": "OK",
  1011. "schema": {
  1012. "type": "array",
  1013. "items": {
  1014. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1015. }
  1016. }
  1017. },
  1018. "500": {
  1019. "description": "Internal Server Error",
  1020. "schema": {
  1021. "$ref": "#/definitions/app.Response"
  1022. }
  1023. }
  1024. }
  1025. }
  1026. },
  1027. "/Ermcp/QryReportDayExposure": {
  1028. "get": {
  1029. "security": [
  1030. {
  1031. "ApiKeyAuth": []
  1032. }
  1033. ],
  1034. "produces": [
  1035. "application/json"
  1036. ],
  1037. "tags": [
  1038. "企业风险管理(app)"
  1039. ],
  1040. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1041. "parameters": [
  1042. {
  1043. "type": "integer",
  1044. "description": "用户ID",
  1045. "name": "userid",
  1046. "in": "query",
  1047. "required": true
  1048. },
  1049. {
  1050. "type": "string",
  1051. "description": "交易日(格式:yyyyMMdd)",
  1052. "name": "tradedate",
  1053. "in": "query",
  1054. "required": true
  1055. }
  1056. ],
  1057. "responses": {
  1058. "200": {
  1059. "description": "OK",
  1060. "schema": {
  1061. "type": "array",
  1062. "items": {
  1063. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1064. }
  1065. }
  1066. },
  1067. "500": {
  1068. "description": "Internal Server Error",
  1069. "schema": {
  1070. "$ref": "#/definitions/app.Response"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/Ermcp/QryReportDayFinance": {
  1077. "get": {
  1078. "security": [
  1079. {
  1080. "ApiKeyAuth": []
  1081. }
  1082. ],
  1083. "produces": [
  1084. "application/json"
  1085. ],
  1086. "tags": [
  1087. "企业风险管理(app)"
  1088. ],
  1089. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1090. "parameters": [
  1091. {
  1092. "type": "integer",
  1093. "description": "用户ID",
  1094. "name": "userid",
  1095. "in": "query",
  1096. "required": true
  1097. },
  1098. {
  1099. "type": "string",
  1100. "description": "交易日(格式:yyyyMMdd)",
  1101. "name": "tradedate",
  1102. "in": "query",
  1103. "required": true
  1104. }
  1105. ],
  1106. "responses": {
  1107. "200": {
  1108. "description": "OK",
  1109. "schema": {
  1110. "type": "array",
  1111. "items": {
  1112. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1113. }
  1114. }
  1115. },
  1116. "500": {
  1117. "description": "Internal Server Error",
  1118. "schema": {
  1119. "$ref": "#/definitions/app.Response"
  1120. }
  1121. }
  1122. }
  1123. }
  1124. },
  1125. "/Ermcp/QryReportDayFinanceFp": {
  1126. "get": {
  1127. "security": [
  1128. {
  1129. "ApiKeyAuth": []
  1130. }
  1131. ],
  1132. "produces": [
  1133. "application/json"
  1134. ],
  1135. "tags": [
  1136. "企业风险管理(app)"
  1137. ],
  1138. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1139. "parameters": [
  1140. {
  1141. "type": "integer",
  1142. "description": "用户ID",
  1143. "name": "userid",
  1144. "in": "query",
  1145. "required": true
  1146. },
  1147. {
  1148. "type": "string",
  1149. "description": "交易日(格式:yyyyMMdd)",
  1150. "name": "tradedate",
  1151. "in": "query",
  1152. "required": true
  1153. }
  1154. ],
  1155. "responses": {
  1156. "200": {
  1157. "description": "OK",
  1158. "schema": {
  1159. "type": "array",
  1160. "items": {
  1161. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1162. }
  1163. }
  1164. },
  1165. "500": {
  1166. "description": "Internal Server Error",
  1167. "schema": {
  1168. "$ref": "#/definitions/app.Response"
  1169. }
  1170. }
  1171. }
  1172. }
  1173. },
  1174. "/Ermcp/QryReportDayFinanceKx": {
  1175. "get": {
  1176. "security": [
  1177. {
  1178. "ApiKeyAuth": []
  1179. }
  1180. ],
  1181. "produces": [
  1182. "application/json"
  1183. ],
  1184. "tags": [
  1185. "企业风险管理(app)"
  1186. ],
  1187. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1188. "parameters": [
  1189. {
  1190. "type": "integer",
  1191. "description": "用户ID",
  1192. "name": "userid",
  1193. "in": "query",
  1194. "required": true
  1195. },
  1196. {
  1197. "type": "string",
  1198. "description": "交易日(格式:yyyyMMdd)",
  1199. "name": "tradedate",
  1200. "in": "query",
  1201. "required": true
  1202. }
  1203. ],
  1204. "responses": {
  1205. "200": {
  1206. "description": "OK",
  1207. "schema": {
  1208. "type": "array",
  1209. "items": {
  1210. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1211. }
  1212. }
  1213. },
  1214. "500": {
  1215. "description": "Internal Server Error",
  1216. "schema": {
  1217. "$ref": "#/definitions/app.Response"
  1218. }
  1219. }
  1220. }
  1221. }
  1222. },
  1223. "/Ermcp/QryReportDaySpot": {
  1224. "get": {
  1225. "security": [
  1226. {
  1227. "ApiKeyAuth": []
  1228. }
  1229. ],
  1230. "produces": [
  1231. "application/json"
  1232. ],
  1233. "tags": [
  1234. "企业风险管理(app)"
  1235. ],
  1236. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1237. "parameters": [
  1238. {
  1239. "type": "integer",
  1240. "description": "用户ID",
  1241. "name": "userid",
  1242. "in": "query",
  1243. "required": true
  1244. },
  1245. {
  1246. "type": "string",
  1247. "description": "交易日(格式:yyyyMMdd)",
  1248. "name": "tradedate",
  1249. "in": "query",
  1250. "required": true
  1251. }
  1252. ],
  1253. "responses": {
  1254. "200": {
  1255. "description": "OK",
  1256. "schema": {
  1257. "type": "array",
  1258. "items": {
  1259. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1260. }
  1261. }
  1262. },
  1263. "500": {
  1264. "description": "Internal Server Error",
  1265. "schema": {
  1266. "$ref": "#/definitions/app.Response"
  1267. }
  1268. }
  1269. }
  1270. }
  1271. },
  1272. "/Ermcp/QryReportDaySpotDetail": {
  1273. "get": {
  1274. "security": [
  1275. {
  1276. "ApiKeyAuth": []
  1277. }
  1278. ],
  1279. "produces": [
  1280. "application/json"
  1281. ],
  1282. "tags": [
  1283. "企业风险管理(app)"
  1284. ],
  1285. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1286. "parameters": [
  1287. {
  1288. "type": "integer",
  1289. "description": "用户ID",
  1290. "name": "userid",
  1291. "in": "query",
  1292. "required": true
  1293. },
  1294. {
  1295. "type": "integer",
  1296. "description": "现货商品id",
  1297. "name": "wrstandardid",
  1298. "in": "query",
  1299. "required": true
  1300. },
  1301. {
  1302. "type": "string",
  1303. "description": "交易日(格式:yyyyMMdd)",
  1304. "name": "tradedate",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QryReportMonthFinance": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "用户ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. },
  1350. {
  1351. "type": "string",
  1352. "description": "周期时间:月(格式:yyyyMM)",
  1353. "name": "cycletime",
  1354. "in": "query",
  1355. "required": true
  1356. }
  1357. ],
  1358. "responses": {
  1359. "200": {
  1360. "description": "OK",
  1361. "schema": {
  1362. "type": "array",
  1363. "items": {
  1364. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1365. }
  1366. }
  1367. },
  1368. "500": {
  1369. "description": "Internal Server Error",
  1370. "schema": {
  1371. "$ref": "#/definitions/app.Response"
  1372. }
  1373. }
  1374. }
  1375. }
  1376. },
  1377. "/Ermcp/QryReportMonthSpot": {
  1378. "get": {
  1379. "security": [
  1380. {
  1381. "ApiKeyAuth": []
  1382. }
  1383. ],
  1384. "produces": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "企业风险管理(app)"
  1389. ],
  1390. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1391. "parameters": [
  1392. {
  1393. "type": "integer",
  1394. "description": "用户ID",
  1395. "name": "userid",
  1396. "in": "query",
  1397. "required": true
  1398. },
  1399. {
  1400. "type": "string",
  1401. "description": "周期时间:月(格式:yyyyMM)",
  1402. "name": "cycletime",
  1403. "in": "query",
  1404. "required": true
  1405. }
  1406. ],
  1407. "responses": {
  1408. "200": {
  1409. "description": "OK",
  1410. "schema": {
  1411. "type": "array",
  1412. "items": {
  1413. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1414. }
  1415. }
  1416. },
  1417. "500": {
  1418. "description": "Internal Server Error",
  1419. "schema": {
  1420. "$ref": "#/definitions/app.Response"
  1421. }
  1422. }
  1423. }
  1424. }
  1425. },
  1426. "/Ermcp/QryReportMonthSpotDetail": {
  1427. "get": {
  1428. "security": [
  1429. {
  1430. "ApiKeyAuth": []
  1431. }
  1432. ],
  1433. "produces": [
  1434. "application/json"
  1435. ],
  1436. "tags": [
  1437. "企业风险管理(app)"
  1438. ],
  1439. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1440. "parameters": [
  1441. {
  1442. "type": "integer",
  1443. "description": "用户ID",
  1444. "name": "userid",
  1445. "in": "query",
  1446. "required": true
  1447. },
  1448. {
  1449. "type": "integer",
  1450. "description": "现货商品id",
  1451. "name": "wrstandardid",
  1452. "in": "query",
  1453. "required": true
  1454. },
  1455. {
  1456. "type": "string",
  1457. "description": "周期时间:月(格式:yyyyMM)",
  1458. "name": "cycletime",
  1459. "in": "query",
  1460. "required": true
  1461. }
  1462. ],
  1463. "responses": {
  1464. "200": {
  1465. "description": "OK",
  1466. "schema": {
  1467. "type": "array",
  1468. "items": {
  1469. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1470. }
  1471. }
  1472. },
  1473. "500": {
  1474. "description": "Internal Server Error",
  1475. "schema": {
  1476. "$ref": "#/definitions/app.Response"
  1477. }
  1478. }
  1479. }
  1480. }
  1481. },
  1482. "/Ermcp/QueryAccMgrBizGroupSet": {
  1483. "get": {
  1484. "security": [
  1485. {
  1486. "ApiKeyAuth": []
  1487. }
  1488. ],
  1489. "produces": [
  1490. "application/json"
  1491. ],
  1492. "tags": [
  1493. "企业风险管理(app)"
  1494. ],
  1495. "summary": "查询业务类型分组(账户管理/账户设置)",
  1496. "parameters": [
  1497. {
  1498. "type": "integer",
  1499. "description": "用户ID",
  1500. "name": "userid",
  1501. "in": "query",
  1502. "required": true
  1503. }
  1504. ],
  1505. "responses": {
  1506. "200": {
  1507. "description": "OK",
  1508. "schema": {
  1509. "type": "array",
  1510. "items": {
  1511. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1512. }
  1513. }
  1514. },
  1515. "500": {
  1516. "description": "Internal Server Error",
  1517. "schema": {
  1518. "$ref": "#/definitions/app.Response"
  1519. }
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "/Ermcp/QueryAccMgrLoginUser": {
  1525. "get": {
  1526. "security": [
  1527. {
  1528. "ApiKeyAuth": []
  1529. }
  1530. ],
  1531. "produces": [
  1532. "application/json"
  1533. ],
  1534. "tags": [
  1535. "企业风险管理(app)"
  1536. ],
  1537. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1538. "parameters": [
  1539. {
  1540. "type": "integer",
  1541. "description": "用户ID",
  1542. "name": "userid",
  1543. "in": "query",
  1544. "required": true
  1545. }
  1546. ],
  1547. "responses": {
  1548. "200": {
  1549. "description": "OK",
  1550. "schema": {
  1551. "type": "array",
  1552. "items": {
  1553. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1554. }
  1555. }
  1556. },
  1557. "500": {
  1558. "description": "Internal Server Error",
  1559. "schema": {
  1560. "$ref": "#/definitions/app.Response"
  1561. }
  1562. }
  1563. }
  1564. }
  1565. },
  1566. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1567. "get": {
  1568. "security": [
  1569. {
  1570. "ApiKeyAuth": []
  1571. }
  1572. ],
  1573. "produces": [
  1574. "application/json"
  1575. ],
  1576. "tags": [
  1577. "企业风险管理(app)"
  1578. ],
  1579. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1580. "parameters": [
  1581. {
  1582. "type": "integer",
  1583. "description": "用户ID",
  1584. "name": "userid",
  1585. "in": "query"
  1586. },
  1587. {
  1588. "type": "integer",
  1589. "description": "主账号id",
  1590. "name": "accountid",
  1591. "in": "query"
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "type": "array",
  1599. "items": {
  1600. "$ref": "#/definitions/models.MainAccountInfo"
  1601. }
  1602. }
  1603. },
  1604. "500": {
  1605. "description": "Internal Server Error",
  1606. "schema": {
  1607. "$ref": "#/definitions/app.Response"
  1608. }
  1609. }
  1610. }
  1611. }
  1612. },
  1613. "/Ermcp/QueryAccMgrRole": {
  1614. "get": {
  1615. "security": [
  1616. {
  1617. "ApiKeyAuth": []
  1618. }
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "企业风险管理(app)"
  1625. ],
  1626. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1627. "parameters": [
  1628. {
  1629. "type": "integer",
  1630. "description": "用户ID",
  1631. "name": "userid",
  1632. "in": "query",
  1633. "required": true
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "type": "array",
  1641. "items": {
  1642. "$ref": "#/definitions/models.ErmcpRole"
  1643. }
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/app.Response"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/Ermcp/QueryAccMgrRoleMenu": {
  1656. "get": {
  1657. "security": [
  1658. {
  1659. "ApiKeyAuth": []
  1660. }
  1661. ],
  1662. "produces": [
  1663. "application/json"
  1664. ],
  1665. "tags": [
  1666. "企业风险管理(app)"
  1667. ],
  1668. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1669. "parameters": [
  1670. {
  1671. "type": "integer",
  1672. "description": "用户ID",
  1673. "name": "userid",
  1674. "in": "query",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "string",
  1679. "description": "角色id(可多个,逗号隔开)",
  1680. "name": "roleid",
  1681. "in": "query"
  1682. }
  1683. ],
  1684. "responses": {
  1685. "200": {
  1686. "description": "OK",
  1687. "schema": {
  1688. "type": "array",
  1689. "items": {
  1690. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1691. }
  1692. }
  1693. },
  1694. "500": {
  1695. "description": "Internal Server Error",
  1696. "schema": {
  1697. "$ref": "#/definitions/app.Response"
  1698. }
  1699. }
  1700. }
  1701. }
  1702. },
  1703. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1704. "get": {
  1705. "security": [
  1706. {
  1707. "ApiKeyAuth": []
  1708. }
  1709. ],
  1710. "produces": [
  1711. "application/json"
  1712. ],
  1713. "tags": [
  1714. "企业风险管理(app)"
  1715. ],
  1716. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1717. "parameters": [
  1718. {
  1719. "type": "integer",
  1720. "description": "用户ID",
  1721. "name": "userid",
  1722. "in": "query",
  1723. "required": true
  1724. },
  1725. {
  1726. "type": "integer",
  1727. "description": "账号id",
  1728. "name": "accountid",
  1729. "in": "query"
  1730. }
  1731. ],
  1732. "responses": {
  1733. "200": {
  1734. "description": "OK",
  1735. "schema": {
  1736. "type": "array",
  1737. "items": {
  1738. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1739. }
  1740. }
  1741. },
  1742. "500": {
  1743. "description": "Internal Server Error",
  1744. "schema": {
  1745. "$ref": "#/definitions/app.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/Ermcp/QueryAccMgrTaaccount": {
  1752. "get": {
  1753. "security": [
  1754. {
  1755. "ApiKeyAuth": []
  1756. }
  1757. ],
  1758. "produces": [
  1759. "application/json"
  1760. ],
  1761. "tags": [
  1762. "企业风险管理(app)"
  1763. ],
  1764. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1765. "parameters": [
  1766. {
  1767. "type": "integer",
  1768. "description": "用户ID",
  1769. "name": "userid",
  1770. "in": "query",
  1771. "required": true
  1772. }
  1773. ],
  1774. "responses": {
  1775. "200": {
  1776. "description": "OK",
  1777. "schema": {
  1778. "type": "array",
  1779. "items": {
  1780. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1781. }
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/app.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/Ermcp/QueryAreaStock": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "企业风险管理(app)"
  1805. ],
  1806. "summary": "查询机构库存(库存管理/当前库存)",
  1807. "parameters": [
  1808. {
  1809. "type": "integer",
  1810. "description": "用户ID",
  1811. "name": "userid",
  1812. "in": "query",
  1813. "required": true
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "type": "array",
  1821. "items": {
  1822. "$ref": "#/definitions/models.ErmcpAreaStock"
  1823. }
  1824. }
  1825. },
  1826. "500": {
  1827. "description": "Internal Server Error",
  1828. "schema": {
  1829. "$ref": "#/definitions/app.Response"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "/Ermcp/QueryAreaStockApply": {
  1836. "get": {
  1837. "security": [
  1838. {
  1839. "ApiKeyAuth": []
  1840. }
  1841. ],
  1842. "produces": [
  1843. "application/json"
  1844. ],
  1845. "tags": [
  1846. "企业风险管理(app)"
  1847. ],
  1848. "summary": "查询库存申请(出入库记录|库存审核)",
  1849. "parameters": [
  1850. {
  1851. "type": "integer",
  1852. "description": "用户ID",
  1853. "name": "userid",
  1854. "in": "query",
  1855. "required": true
  1856. },
  1857. {
  1858. "type": "string",
  1859. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1860. "name": "inouttype",
  1861. "in": "query"
  1862. },
  1863. {
  1864. "type": "integer",
  1865. "description": "合同ID",
  1866. "name": "spotcontractid",
  1867. "in": "query"
  1868. },
  1869. {
  1870. "type": "integer",
  1871. "description": "现货商品ID",
  1872. "name": "wrstandardid",
  1873. "in": "query"
  1874. },
  1875. {
  1876. "type": "integer",
  1877. "description": "品牌ID",
  1878. "name": "spotgoodsbrandid",
  1879. "in": "query"
  1880. },
  1881. {
  1882. "type": "integer",
  1883. "description": "型号ID",
  1884. "name": "spotgoodsmodelid",
  1885. "in": "query"
  1886. },
  1887. {
  1888. "type": "integer",
  1889. "description": "仓库ID",
  1890. "name": "warehouseinfoid",
  1891. "in": "query"
  1892. },
  1893. {
  1894. "type": "string",
  1895. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1896. "name": "applystatus",
  1897. "in": "query"
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "OK",
  1903. "schema": {
  1904. "type": "array",
  1905. "items": {
  1906. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1907. }
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Ermcp/QueryAreaStockApplySum": {
  1920. "get": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "企业风险管理(app)"
  1931. ],
  1932. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1933. "parameters": [
  1934. {
  1935. "type": "integer",
  1936. "description": "合同ID",
  1937. "name": "spotcontractid",
  1938. "in": "query"
  1939. }
  1940. ],
  1941. "responses": {
  1942. "200": {
  1943. "description": "OK",
  1944. "schema": {
  1945. "type": "array",
  1946. "items": {
  1947. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1948. }
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/app.Response"
  1955. }
  1956. }
  1957. }
  1958. }
  1959. },
  1960. "/Ermcp/QueryAreaStockReport": {
  1961. "get": {
  1962. "security": [
  1963. {
  1964. "ApiKeyAuth": []
  1965. }
  1966. ],
  1967. "produces": [
  1968. "application/json"
  1969. ],
  1970. "tags": [
  1971. "企业风险管理(app)"
  1972. ],
  1973. "summary": "查询库存报表",
  1974. "parameters": [
  1975. {
  1976. "type": "integer",
  1977. "description": "用户ID",
  1978. "name": "userid",
  1979. "in": "query",
  1980. "required": true
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "查询类型 1-日报表 2-月报表",
  1985. "name": "querytype",
  1986. "in": "query",
  1987. "required": true
  1988. },
  1989. {
  1990. "type": "string",
  1991. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1992. "name": "querydate",
  1993. "in": "query",
  1994. "required": true
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "现货商品ID",
  1999. "name": "wrstandardid",
  2000. "in": "query"
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "品牌ID",
  2005. "name": "spotgoodsbrandid",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "型号ID",
  2011. "name": "spotgoodsmodelid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "仓库ID",
  2017. "name": "warehouseinfoid",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryAreaStockReportDetail": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询库存报表明细",
  2054. "parameters": [
  2055. {
  2056. "type": "integer",
  2057. "description": "用户ID",
  2058. "name": "userid",
  2059. "in": "query",
  2060. "required": true
  2061. },
  2062. {
  2063. "type": "integer",
  2064. "description": "查询类型 1-日报表明细 2-月报表明细",
  2065. "name": "querytype",
  2066. "in": "query",
  2067. "required": true
  2068. },
  2069. {
  2070. "type": "integer",
  2071. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2072. "name": "detailtype",
  2073. "in": "query",
  2074. "required": true
  2075. },
  2076. {
  2077. "type": "string",
  2078. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2079. "name": "querydate",
  2080. "in": "query",
  2081. "required": true
  2082. },
  2083. {
  2084. "type": "integer",
  2085. "description": "现货商品ID",
  2086. "name": "wrstandardid",
  2087. "in": "query"
  2088. },
  2089. {
  2090. "type": "integer",
  2091. "description": "品牌ID",
  2092. "name": "spotgoodsbrandid",
  2093. "in": "query"
  2094. },
  2095. {
  2096. "type": "integer",
  2097. "description": "型号ID",
  2098. "name": "spotgoodsmodelid",
  2099. "in": "query"
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "仓库ID",
  2104. "name": "warehouseinfoid",
  2105. "in": "query"
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "OK",
  2111. "schema": {
  2112. "type": "array",
  2113. "items": {
  2114. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2115. }
  2116. }
  2117. },
  2118. "500": {
  2119. "description": "Internal Server Error",
  2120. "schema": {
  2121. "$ref": "#/definitions/app.Response"
  2122. }
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "/Ermcp/QueryAvaildGoodsGroup": {
  2128. "get": {
  2129. "security": [
  2130. {
  2131. "ApiKeyAuth": []
  2132. }
  2133. ],
  2134. "produces": [
  2135. "application/json"
  2136. ],
  2137. "tags": [
  2138. "企业风险管理(app)"
  2139. ],
  2140. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2141. "parameters": [
  2142. {
  2143. "type": "integer",
  2144. "description": "所属机构ID",
  2145. "name": "userid",
  2146. "in": "query",
  2147. "required": true
  2148. }
  2149. ],
  2150. "responses": {
  2151. "200": {
  2152. "description": "OK",
  2153. "schema": {
  2154. "type": "array",
  2155. "items": {
  2156. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2157. }
  2158. }
  2159. },
  2160. "500": {
  2161. "description": "Internal Server Error",
  2162. "schema": {
  2163. "$ref": "#/definitions/app.Response"
  2164. }
  2165. }
  2166. }
  2167. }
  2168. },
  2169. "/Ermcp/QueryBusinessDj": {
  2170. "get": {
  2171. "security": [
  2172. {
  2173. "ApiKeyAuth": []
  2174. }
  2175. ],
  2176. "produces": [
  2177. "application/json"
  2178. ],
  2179. "tags": [
  2180. "企业风险管理(app)"
  2181. ],
  2182. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2183. "parameters": [
  2184. {
  2185. "type": "integer",
  2186. "description": "用户ID",
  2187. "name": "UserId",
  2188. "in": "query",
  2189. "required": true
  2190. },
  2191. {
  2192. "type": "string",
  2193. "description": "现货合同ID, 不填则查所有",
  2194. "name": "relatedid",
  2195. "in": "query"
  2196. },
  2197. {
  2198. "type": "string",
  2199. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2200. "name": "applystatus",
  2201. "in": "query"
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryBusinessFp": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "用户ID",
  2241. "name": "UserId",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "string",
  2247. "description": "现货合同ID, 不填则查所有",
  2248. "name": "relatedid",
  2249. "in": "query"
  2250. },
  2251. {
  2252. "type": "string",
  2253. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2254. "name": "applystatus",
  2255. "in": "query"
  2256. }
  2257. ],
  2258. "responses": {
  2259. "200": {
  2260. "description": "OK",
  2261. "schema": {
  2262. "type": "array",
  2263. "items": {
  2264. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2265. }
  2266. }
  2267. },
  2268. "500": {
  2269. "description": "Internal Server Error",
  2270. "schema": {
  2271. "$ref": "#/definitions/app.Response"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "/Ermcp/QueryBusinessJs": {
  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": "UserId",
  2296. "in": "query",
  2297. "required": true
  2298. },
  2299. {
  2300. "type": "string",
  2301. "description": "现货合同ID, 不填则查所有",
  2302. "name": "relatedid",
  2303. "in": "query"
  2304. },
  2305. {
  2306. "type": "string",
  2307. "description": "操作申请id",
  2308. "name": "operateapplyid",
  2309. "in": "query"
  2310. },
  2311. {
  2312. "type": "string",
  2313. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2314. "name": "applystatus",
  2315. "in": "query"
  2316. }
  2317. ],
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryBusinessJsEx": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "用户ID",
  2355. "name": "UserId",
  2356. "in": "query",
  2357. "required": true
  2358. },
  2359. {
  2360. "type": "string",
  2361. "description": "现货合同ID, 不填则查所有",
  2362. "name": "relatedid",
  2363. "in": "query"
  2364. },
  2365. {
  2366. "type": "string",
  2367. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2368. "name": "applystatus",
  2369. "in": "query"
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "type": "array",
  2377. "items": {
  2378. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2379. }
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/Ermcp/QueryBusinessKx": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "企业风险管理(app)"
  2403. ],
  2404. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "用户ID",
  2409. "name": "UserId",
  2410. "in": "query",
  2411. "required": true
  2412. },
  2413. {
  2414. "type": "string",
  2415. "description": "现货合同ID, 不填则查所有",
  2416. "name": "relatedid",
  2417. "in": "query"
  2418. },
  2419. {
  2420. "type": "string",
  2421. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2422. "name": "applystatus",
  2423. "in": "query"
  2424. }
  2425. ],
  2426. "responses": {
  2427. "200": {
  2428. "description": "OK",
  2429. "schema": {
  2430. "type": "array",
  2431. "items": {
  2432. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2433. }
  2434. }
  2435. },
  2436. "500": {
  2437. "description": "Internal Server Error",
  2438. "schema": {
  2439. "$ref": "#/definitions/app.Response"
  2440. }
  2441. }
  2442. }
  2443. }
  2444. },
  2445. "/Ermcp/QueryChangeLog": {
  2446. "get": {
  2447. "security": [
  2448. {
  2449. "ApiKeyAuth": []
  2450. }
  2451. ],
  2452. "produces": [
  2453. "application/json"
  2454. ],
  2455. "tags": [
  2456. "企业风险管理(app)"
  2457. ],
  2458. "summary": "查询变更记录",
  2459. "parameters": [
  2460. {
  2461. "type": "string",
  2462. "description": "合同ID",
  2463. "name": "RelatedId",
  2464. "in": "query",
  2465. "required": true
  2466. }
  2467. ],
  2468. "responses": {
  2469. "200": {
  2470. "description": "OK",
  2471. "schema": {
  2472. "type": "array",
  2473. "items": {
  2474. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2475. }
  2476. }
  2477. },
  2478. "500": {
  2479. "description": "Internal Server Error",
  2480. "schema": {
  2481. "$ref": "#/definitions/app.Response"
  2482. }
  2483. }
  2484. }
  2485. }
  2486. },
  2487. "/Ermcp/QueryContract": {
  2488. "get": {
  2489. "security": [
  2490. {
  2491. "ApiKeyAuth": []
  2492. }
  2493. ],
  2494. "produces": [
  2495. "application/json"
  2496. ],
  2497. "tags": [
  2498. "企业风险管理(app)"
  2499. ],
  2500. "summary": "查询合同(采购和销售)",
  2501. "parameters": [
  2502. {
  2503. "type": "integer",
  2504. "description": "用户ID",
  2505. "name": "userId",
  2506. "in": "query",
  2507. "required": true
  2508. },
  2509. {
  2510. "type": "integer",
  2511. "description": "合同类型 1-采购, -1-销售",
  2512. "name": "contracttype",
  2513. "in": "query",
  2514. "required": true
  2515. },
  2516. {
  2517. "type": "integer",
  2518. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2519. "name": "querytype",
  2520. "in": "query",
  2521. "required": true
  2522. },
  2523. {
  2524. "type": "string",
  2525. "description": "合同ID(SpotContractId)",
  2526. "name": "contractid",
  2527. "in": "query"
  2528. }
  2529. ],
  2530. "responses": {
  2531. "200": {
  2532. "description": "OK",
  2533. "schema": {
  2534. "type": "array",
  2535. "items": {
  2536. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2537. }
  2538. }
  2539. },
  2540. "500": {
  2541. "description": "Internal Server Error",
  2542. "schema": {
  2543. "$ref": "#/definitions/app.Response"
  2544. }
  2545. }
  2546. }
  2547. }
  2548. },
  2549. "/Ermcp/QueryErmcpHisOrderDetails": {
  2550. "get": {
  2551. "security": [
  2552. {
  2553. "ApiKeyAuth": []
  2554. }
  2555. ],
  2556. "produces": [
  2557. "application/json"
  2558. ],
  2559. "tags": [
  2560. "企业风险管理(app)"
  2561. ],
  2562. "summary": "获取企业风管期货历史委托单信息",
  2563. "parameters": [
  2564. {
  2565. "type": "integer",
  2566. "description": "资金账户ID",
  2567. "name": "accountID",
  2568. "in": "query",
  2569. "required": true
  2570. },
  2571. {
  2572. "type": "string",
  2573. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2574. "name": "startDate",
  2575. "in": "query"
  2576. },
  2577. {
  2578. "type": "string",
  2579. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2580. "name": "endDate",
  2581. "in": "query"
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2589. }
  2590. },
  2591. "500": {
  2592. "description": "Internal Server Error",
  2593. "schema": {
  2594. "$ref": "#/definitions/app.Response"
  2595. }
  2596. }
  2597. }
  2598. }
  2599. },
  2600. "/Ermcp/QueryErmcpHisTradeDetails": {
  2601. "get": {
  2602. "security": [
  2603. {
  2604. "ApiKeyAuth": []
  2605. }
  2606. ],
  2607. "produces": [
  2608. "application/json"
  2609. ],
  2610. "tags": [
  2611. "企业风险管理(app)"
  2612. ],
  2613. "summary": "获取企业风管期货历史成交单信息",
  2614. "parameters": [
  2615. {
  2616. "type": "integer",
  2617. "description": "资金账户ID",
  2618. "name": "accountID",
  2619. "in": "query",
  2620. "required": true
  2621. },
  2622. {
  2623. "type": "integer",
  2624. "description": "商品ID",
  2625. "name": "goodsID",
  2626. "in": "query"
  2627. },
  2628. {
  2629. "type": "integer",
  2630. "description": "买卖方向,0:买 1:卖",
  2631. "name": "buyOrSell",
  2632. "in": "query"
  2633. },
  2634. {
  2635. "type": "integer",
  2636. "description": "关联委托单号",
  2637. "name": "orderID",
  2638. "in": "query"
  2639. },
  2640. {
  2641. "type": "string",
  2642. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2643. "name": "startDate",
  2644. "in": "query"
  2645. },
  2646. {
  2647. "type": "string",
  2648. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2649. "name": "endDate",
  2650. "in": "query"
  2651. }
  2652. ],
  2653. "responses": {
  2654. "200": {
  2655. "description": "OK",
  2656. "schema": {
  2657. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "获取企业风管期货内部持仓单信息",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "资金账户ID",
  2687. "name": "accountID",
  2688. "in": "query",
  2689. "required": true
  2690. },
  2691. {
  2692. "type": "integer",
  2693. "description": "商品ID",
  2694. "name": "goodsID",
  2695. "in": "query"
  2696. },
  2697. {
  2698. "type": "integer",
  2699. "description": "买卖方向,0:买 1:卖",
  2700. "name": "buyOrSell",
  2701. "in": "query"
  2702. }
  2703. ],
  2704. "responses": {
  2705. "200": {
  2706. "description": "OK",
  2707. "schema": {
  2708. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2709. }
  2710. },
  2711. "500": {
  2712. "description": "Internal Server Error",
  2713. "schema": {
  2714. "$ref": "#/definitions/app.Response"
  2715. }
  2716. }
  2717. }
  2718. }
  2719. },
  2720. "/Ermcp/QueryErmcpOrderDetails": {
  2721. "get": {
  2722. "security": [
  2723. {
  2724. "ApiKeyAuth": []
  2725. }
  2726. ],
  2727. "produces": [
  2728. "application/json"
  2729. ],
  2730. "tags": [
  2731. "企业风险管理(app)"
  2732. ],
  2733. "summary": "获取企业风管期货委托单信息",
  2734. "parameters": [
  2735. {
  2736. "type": "integer",
  2737. "description": "资金账户ID",
  2738. "name": "accountID",
  2739. "in": "query",
  2740. "required": true
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpTradeDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货成交单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "商品ID",
  2784. "name": "goodsID",
  2785. "in": "query"
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "买卖方向,0:买 1:卖",
  2790. "name": "buyOrSell",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "integer",
  2795. "description": "关联委托单号",
  2796. "name": "orderID",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/Ermcp/QueryErmcpTradePosition": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2824. "produces": [
  2825. "application/json"
  2826. ],
  2827. "tags": [
  2828. "企业风险管理(app)"
  2829. ],
  2830. "summary": "获取企业风管期货持仓头寸信息",
  2831. "parameters": [
  2832. {
  2833. "type": "integer",
  2834. "description": "资金账户ID",
  2835. "name": "accountID",
  2836. "in": "query",
  2837. "required": true
  2838. },
  2839. {
  2840. "type": "integer",
  2841. "description": "所属市场ID",
  2842. "name": "marketID",
  2843. "in": "query"
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2851. }
  2852. },
  2853. "500": {
  2854. "description": "Internal Server Error",
  2855. "schema": {
  2856. "$ref": "#/definitions/app.Response"
  2857. }
  2858. }
  2859. }
  2860. }
  2861. },
  2862. "/Ermcp/QueryExposureDetail": {
  2863. "get": {
  2864. "security": [
  2865. {
  2866. "ApiKeyAuth": []
  2867. }
  2868. ],
  2869. "produces": [
  2870. "application/json"
  2871. ],
  2872. "tags": [
  2873. "企业风险管理(app)"
  2874. ],
  2875. "summary": "查询敞口现货明细",
  2876. "parameters": [
  2877. {
  2878. "type": "integer",
  2879. "description": "所属机构ID",
  2880. "name": "areaUserId",
  2881. "in": "query",
  2882. "required": true
  2883. },
  2884. {
  2885. "type": "integer",
  2886. "description": "套保商品",
  2887. "name": "middleGoodsId",
  2888. "in": "query",
  2889. "required": true
  2890. }
  2891. ],
  2892. "responses": {
  2893. "200": {
  2894. "description": "OK",
  2895. "schema": {
  2896. "type": "array",
  2897. "items": {
  2898. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2899. }
  2900. }
  2901. },
  2902. "500": {
  2903. "description": "Internal Server Error",
  2904. "schema": {
  2905. "$ref": "#/definitions/app.Response"
  2906. }
  2907. }
  2908. }
  2909. }
  2910. },
  2911. "/Ermcp/QueryExposureHedgePosition": {
  2912. "get": {
  2913. "security": [
  2914. {
  2915. "ApiKeyAuth": []
  2916. }
  2917. ],
  2918. "produces": [
  2919. "application/json"
  2920. ],
  2921. "tags": [
  2922. "企业风险管理(app)"
  2923. ],
  2924. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2925. "parameters": [
  2926. {
  2927. "type": "integer",
  2928. "description": "所属机构ID",
  2929. "name": "areaUserId",
  2930. "in": "query",
  2931. "required": true
  2932. }
  2933. ],
  2934. "responses": {
  2935. "200": {
  2936. "description": "OK",
  2937. "schema": {
  2938. "type": "array",
  2939. "items": {
  2940. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2941. }
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/Ermcp/QueryExposureHedgePositionDetail": {
  2954. "get": {
  2955. "security": [
  2956. {
  2957. "ApiKeyAuth": []
  2958. }
  2959. ],
  2960. "produces": [
  2961. "application/json"
  2962. ],
  2963. "tags": [
  2964. "企业风险管理(app)"
  2965. ],
  2966. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2967. "parameters": [
  2968. {
  2969. "type": "integer",
  2970. "description": "所属机构ID",
  2971. "name": "areaUserId",
  2972. "in": "query",
  2973. "required": true
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "商品id",
  2978. "name": "goodsId",
  2979. "in": "query",
  2980. "required": true
  2981. }
  2982. ],
  2983. "responses": {
  2984. "200": {
  2985. "description": "OK",
  2986. "schema": {
  2987. "type": "array",
  2988. "items": {
  2989. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2990. }
  2991. }
  2992. },
  2993. "500": {
  2994. "description": "Internal Server Error",
  2995. "schema": {
  2996. "$ref": "#/definitions/app.Response"
  2997. }
  2998. }
  2999. }
  3000. }
  3001. },
  3002. "/Ermcp/QueryExposureSpot": {
  3003. "get": {
  3004. "security": [
  3005. {
  3006. "ApiKeyAuth": []
  3007. }
  3008. ],
  3009. "produces": [
  3010. "application/json"
  3011. ],
  3012. "tags": [
  3013. "企业风险管理(app)"
  3014. ],
  3015. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3016. "parameters": [
  3017. {
  3018. "type": "integer",
  3019. "description": "所属机构ID",
  3020. "name": "areaUserId",
  3021. "in": "query",
  3022. "required": true
  3023. }
  3024. ],
  3025. "responses": {
  3026. "200": {
  3027. "description": "OK",
  3028. "schema": {
  3029. "type": "array",
  3030. "items": {
  3031. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3032. }
  3033. }
  3034. },
  3035. "500": {
  3036. "description": "Internal Server Error",
  3037. "schema": {
  3038. "$ref": "#/definitions/app.Response"
  3039. }
  3040. }
  3041. }
  3042. }
  3043. },
  3044. "/Ermcp/QueryExposureSpotDetail": {
  3045. "get": {
  3046. "security": [
  3047. {
  3048. "ApiKeyAuth": []
  3049. }
  3050. ],
  3051. "produces": [
  3052. "application/json"
  3053. ],
  3054. "tags": [
  3055. "企业风险管理(app)"
  3056. ],
  3057. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3058. "parameters": [
  3059. {
  3060. "type": "integer",
  3061. "description": "所属机构ID",
  3062. "name": "areaUserId",
  3063. "in": "query",
  3064. "required": true
  3065. },
  3066. {
  3067. "type": "integer",
  3068. "description": "现货品种ID",
  3069. "name": "wrstandardId",
  3070. "in": "query",
  3071. "required": true
  3072. }
  3073. ],
  3074. "responses": {
  3075. "200": {
  3076. "description": "OK",
  3077. "schema": {
  3078. "type": "array",
  3079. "items": {
  3080. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3081. }
  3082. }
  3083. },
  3084. "500": {
  3085. "description": "Internal Server Error",
  3086. "schema": {
  3087. "$ref": "#/definitions/app.Response"
  3088. }
  3089. }
  3090. }
  3091. }
  3092. },
  3093. "/Ermcp/QueryGGConvertConfig": {
  3094. "get": {
  3095. "security": [
  3096. {
  3097. "ApiKeyAuth": []
  3098. }
  3099. ],
  3100. "produces": [
  3101. "application/json"
  3102. ],
  3103. "tags": [
  3104. "企业风险管理(app)"
  3105. ],
  3106. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3107. "parameters": [
  3108. {
  3109. "type": "integer",
  3110. "description": "品种id(不填则查所有)",
  3111. "name": "goodsgroupid",
  3112. "in": "query"
  3113. }
  3114. ],
  3115. "responses": {
  3116. "200": {
  3117. "description": "OK",
  3118. "schema": {
  3119. "type": "array",
  3120. "items": {
  3121. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3122. }
  3123. }
  3124. },
  3125. "500": {
  3126. "description": "Internal Server Error",
  3127. "schema": {
  3128. "$ref": "#/definitions/app.Response"
  3129. }
  3130. }
  3131. }
  3132. }
  3133. },
  3134. "/Ermcp/QueryGoodsBrand": {
  3135. "get": {
  3136. "security": [
  3137. {
  3138. "ApiKeyAuth": []
  3139. }
  3140. ],
  3141. "produces": [
  3142. "application/json"
  3143. ],
  3144. "tags": [
  3145. "企业风险管理(app)"
  3146. ],
  3147. "summary": "查询商品品牌",
  3148. "parameters": [
  3149. {
  3150. "type": "integer",
  3151. "description": "用户ID",
  3152. "name": "userid",
  3153. "in": "query",
  3154. "required": true
  3155. },
  3156. {
  3157. "type": "integer",
  3158. "description": "现货商品ID",
  3159. "name": "wrstandardid",
  3160. "in": "query"
  3161. }
  3162. ],
  3163. "responses": {
  3164. "200": {
  3165. "description": "OK",
  3166. "schema": {
  3167. "type": "array",
  3168. "items": {
  3169. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3170. }
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Ermcp/QueryGoodsModel": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "企业风险管理(app)"
  3194. ],
  3195. "summary": "查询商品型号",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userid",
  3201. "in": "query",
  3202. "required": true
  3203. }
  3204. ],
  3205. "responses": {
  3206. "200": {
  3207. "description": "OK",
  3208. "schema": {
  3209. "type": "array",
  3210. "items": {
  3211. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3212. }
  3213. }
  3214. },
  3215. "500": {
  3216. "description": "Internal Server Error",
  3217. "schema": {
  3218. "$ref": "#/definitions/app.Response"
  3219. }
  3220. }
  3221. }
  3222. }
  3223. },
  3224. "/Ermcp/QueryHedgePlan": {
  3225. "get": {
  3226. "security": [
  3227. {
  3228. "ApiKeyAuth": []
  3229. }
  3230. ],
  3231. "produces": [
  3232. "application/json"
  3233. ],
  3234. "tags": [
  3235. "企业风险管理(app)"
  3236. ],
  3237. "summary": "查询套保计划",
  3238. "parameters": [
  3239. {
  3240. "type": "integer",
  3241. "description": "用户ID",
  3242. "name": "userId",
  3243. "in": "query",
  3244. "required": true
  3245. },
  3246. {
  3247. "type": "string",
  3248. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3249. "name": "HedgePlanStatus",
  3250. "in": "query",
  3251. "required": true
  3252. }
  3253. ],
  3254. "responses": {
  3255. "200": {
  3256. "description": "OK",
  3257. "schema": {
  3258. "type": "array",
  3259. "items": {
  3260. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3261. }
  3262. }
  3263. },
  3264. "500": {
  3265. "description": "Internal Server Error",
  3266. "schema": {
  3267. "$ref": "#/definitions/app.Response"
  3268. }
  3269. }
  3270. }
  3271. }
  3272. },
  3273. "/Ermcp/QueryHisExposure": {
  3274. "get": {
  3275. "security": [
  3276. {
  3277. "ApiKeyAuth": []
  3278. }
  3279. ],
  3280. "produces": [
  3281. "application/json"
  3282. ],
  3283. "tags": [
  3284. "企业风险管理(app)"
  3285. ],
  3286. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3287. "parameters": [
  3288. {
  3289. "type": "integer",
  3290. "description": "所属机构ID",
  3291. "name": "areaUserId",
  3292. "in": "query",
  3293. "required": true
  3294. },
  3295. {
  3296. "type": "integer",
  3297. "description": "每个品种记录数",
  3298. "name": "lastNum",
  3299. "in": "query",
  3300. "required": true
  3301. }
  3302. ],
  3303. "responses": {
  3304. "200": {
  3305. "description": "OK",
  3306. "schema": {
  3307. "type": "array",
  3308. "items": {
  3309. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3310. }
  3311. }
  3312. },
  3313. "500": {
  3314. "description": "Internal Server Error",
  3315. "schema": {
  3316. "$ref": "#/definitions/app.Response"
  3317. }
  3318. }
  3319. }
  3320. }
  3321. },
  3322. "/Ermcp/QueryMiddleGoods": {
  3323. "get": {
  3324. "security": [
  3325. {
  3326. "ApiKeyAuth": []
  3327. }
  3328. ],
  3329. "produces": [
  3330. "application/json"
  3331. ],
  3332. "tags": [
  3333. "企业风险管理(app)"
  3334. ],
  3335. "summary": "查询套保品种(菜单:套保品种)",
  3336. "parameters": [
  3337. {
  3338. "type": "integer",
  3339. "description": "所属机构ID",
  3340. "name": "userid",
  3341. "in": "query",
  3342. "required": true
  3343. },
  3344. {
  3345. "type": "integer",
  3346. "description": "状态 0-停用 1-正常",
  3347. "name": "status",
  3348. "in": "query",
  3349. "required": true
  3350. }
  3351. ],
  3352. "responses": {
  3353. "200": {
  3354. "description": "OK",
  3355. "schema": {
  3356. "type": "array",
  3357. "items": {
  3358. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3359. }
  3360. }
  3361. },
  3362. "500": {
  3363. "description": "Internal Server Error",
  3364. "schema": {
  3365. "$ref": "#/definitions/app.Response"
  3366. }
  3367. }
  3368. }
  3369. }
  3370. },
  3371. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3372. "get": {
  3373. "security": [
  3374. {
  3375. "ApiKeyAuth": []
  3376. }
  3377. ],
  3378. "produces": [
  3379. "application/json"
  3380. ],
  3381. "tags": [
  3382. "企业风险管理(app)"
  3383. ],
  3384. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3385. "parameters": [
  3386. {
  3387. "type": "integer",
  3388. "description": "所属机构ID",
  3389. "name": "userid",
  3390. "in": "query",
  3391. "required": true
  3392. },
  3393. {
  3394. "type": "integer",
  3395. "description": "套保品种id",
  3396. "name": "middlegoodsid",
  3397. "in": "query",
  3398. "required": true
  3399. }
  3400. ],
  3401. "responses": {
  3402. "200": {
  3403. "description": "OK",
  3404. "schema": {
  3405. "type": "array",
  3406. "items": {
  3407. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3408. }
  3409. }
  3410. },
  3411. "500": {
  3412. "description": "Internal Server Error",
  3413. "schema": {
  3414. "$ref": "#/definitions/app.Response"
  3415. }
  3416. }
  3417. }
  3418. }
  3419. },
  3420. "/Ermcp/QueryMiddleGoodsDetail": {
  3421. "get": {
  3422. "security": [
  3423. {
  3424. "ApiKeyAuth": []
  3425. }
  3426. ],
  3427. "produces": [
  3428. "application/json"
  3429. ],
  3430. "tags": [
  3431. "企业风险管理(app)"
  3432. ],
  3433. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3434. "parameters": [
  3435. {
  3436. "type": "integer",
  3437. "description": "所属机构ID",
  3438. "name": "userid",
  3439. "in": "query",
  3440. "required": true
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "套保品种id",
  3445. "name": "middlegoodsid",
  3446. "in": "query"
  3447. }
  3448. ],
  3449. "responses": {
  3450. "200": {
  3451. "description": "OK",
  3452. "schema": {
  3453. "type": "array",
  3454. "items": {
  3455. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3456. }
  3457. }
  3458. },
  3459. "500": {
  3460. "description": "Internal Server Error",
  3461. "schema": {
  3462. "$ref": "#/definitions/app.Response"
  3463. }
  3464. }
  3465. }
  3466. }
  3467. },
  3468. "/Ermcp/QueryPendingAuditInfo": {
  3469. "get": {
  3470. "security": [
  3471. {
  3472. "ApiKeyAuth": []
  3473. }
  3474. ],
  3475. "produces": [
  3476. "application/json"
  3477. ],
  3478. "tags": [
  3479. "企业风险管理(app)"
  3480. ],
  3481. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3482. "parameters": [
  3483. {
  3484. "type": "integer",
  3485. "description": "用户ID",
  3486. "name": "UserId",
  3487. "in": "query",
  3488. "required": true
  3489. }
  3490. ],
  3491. "responses": {
  3492. "200": {
  3493. "description": "OK",
  3494. "schema": {
  3495. "type": "array",
  3496. "items": {
  3497. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3498. }
  3499. }
  3500. },
  3501. "500": {
  3502. "description": "Internal Server Error",
  3503. "schema": {
  3504. "$ref": "#/definitions/app.Response"
  3505. }
  3506. }
  3507. }
  3508. }
  3509. },
  3510. "/Ermcp/QueryRealtimeExposure": {
  3511. "get": {
  3512. "security": [
  3513. {
  3514. "ApiKeyAuth": []
  3515. }
  3516. ],
  3517. "produces": [
  3518. "application/json"
  3519. ],
  3520. "tags": [
  3521. "企业风险管理(app)"
  3522. ],
  3523. "summary": "查询实时敞口",
  3524. "parameters": [
  3525. {
  3526. "type": "integer",
  3527. "description": "所属机构ID",
  3528. "name": "AreaUserID",
  3529. "in": "query",
  3530. "required": true
  3531. }
  3532. ],
  3533. "responses": {
  3534. "200": {
  3535. "description": "OK",
  3536. "schema": {
  3537. "type": "array",
  3538. "items": {
  3539. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3540. }
  3541. }
  3542. },
  3543. "500": {
  3544. "description": "Internal Server Error",
  3545. "schema": {
  3546. "$ref": "#/definitions/app.Response"
  3547. }
  3548. }
  3549. }
  3550. }
  3551. },
  3552. "/Ermcp/QueryRealtimeExposurePosition": {
  3553. "get": {
  3554. "security": [
  3555. {
  3556. "ApiKeyAuth": []
  3557. }
  3558. ],
  3559. "produces": [
  3560. "application/json"
  3561. ],
  3562. "tags": [
  3563. "企业风险管理(app)"
  3564. ],
  3565. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3566. "parameters": [
  3567. {
  3568. "type": "integer",
  3569. "description": "所属机构ID",
  3570. "name": "areaUserId",
  3571. "in": "query",
  3572. "required": true
  3573. },
  3574. {
  3575. "type": "integer",
  3576. "description": "套保商品ID",
  3577. "name": "middleGoodsId",
  3578. "in": "query",
  3579. "required": true
  3580. }
  3581. ],
  3582. "responses": {
  3583. "200": {
  3584. "description": "OK",
  3585. "schema": {
  3586. "type": "array",
  3587. "items": {
  3588. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3589. }
  3590. }
  3591. },
  3592. "500": {
  3593. "description": "Internal Server Error",
  3594. "schema": {
  3595. "$ref": "#/definitions/app.Response"
  3596. }
  3597. }
  3598. }
  3599. }
  3600. },
  3601. "/Ermcp/QuerySpotContract": {
  3602. "get": {
  3603. "security": [
  3604. {
  3605. "ApiKeyAuth": []
  3606. }
  3607. ],
  3608. "produces": [
  3609. "application/json"
  3610. ],
  3611. "tags": [
  3612. "企业风险管理(app)"
  3613. ],
  3614. "summary": "查询现货合同(对应现货合同菜单)",
  3615. "parameters": [
  3616. {
  3617. "type": "integer",
  3618. "description": "用户ID",
  3619. "name": "userId",
  3620. "in": "query",
  3621. "required": true
  3622. },
  3623. {
  3624. "type": "integer",
  3625. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3626. "name": "QueryType",
  3627. "in": "query",
  3628. "required": true
  3629. }
  3630. ],
  3631. "responses": {
  3632. "200": {
  3633. "description": "OK",
  3634. "schema": {
  3635. "type": "array",
  3636. "items": {
  3637. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3638. }
  3639. }
  3640. },
  3641. "500": {
  3642. "description": "Internal Server Error",
  3643. "schema": {
  3644. "$ref": "#/definitions/app.Response"
  3645. }
  3646. }
  3647. }
  3648. }
  3649. },
  3650. "/Ermcp/QuerySpotGoodsPrice": {
  3651. "get": {
  3652. "security": [
  3653. {
  3654. "ApiKeyAuth": []
  3655. }
  3656. ],
  3657. "produces": [
  3658. "application/json"
  3659. ],
  3660. "tags": [
  3661. "企业风险管理(app)"
  3662. ],
  3663. "summary": "查询现货市价(现货市价)",
  3664. "parameters": [
  3665. {
  3666. "type": "integer",
  3667. "description": "用户ID",
  3668. "name": "userid",
  3669. "in": "query",
  3670. "required": true
  3671. }
  3672. ],
  3673. "responses": {
  3674. "200": {
  3675. "description": "OK",
  3676. "schema": {
  3677. "type": "array",
  3678. "items": {
  3679. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3680. }
  3681. }
  3682. },
  3683. "500": {
  3684. "description": "Internal Server Error",
  3685. "schema": {
  3686. "$ref": "#/definitions/app.Response"
  3687. }
  3688. }
  3689. }
  3690. }
  3691. },
  3692. "/Ermcp/QuerySpotGoodsPriceLog": {
  3693. "get": {
  3694. "security": [
  3695. {
  3696. "ApiKeyAuth": []
  3697. }
  3698. ],
  3699. "produces": [
  3700. "application/json"
  3701. ],
  3702. "tags": [
  3703. "企业风险管理(app)"
  3704. ],
  3705. "summary": "查询现货市价详情(现货市价/详情)",
  3706. "parameters": [
  3707. {
  3708. "type": "integer",
  3709. "description": "用户ID",
  3710. "name": "userid",
  3711. "in": "query",
  3712. "required": true
  3713. },
  3714. {
  3715. "type": "integer",
  3716. "description": "现货商品ID",
  3717. "name": "wrstandardid",
  3718. "in": "query",
  3719. "required": true
  3720. }
  3721. ],
  3722. "responses": {
  3723. "200": {
  3724. "description": "OK",
  3725. "schema": {
  3726. "type": "array",
  3727. "items": {
  3728. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3729. }
  3730. }
  3731. },
  3732. "500": {
  3733. "description": "Internal Server Error",
  3734. "schema": {
  3735. "$ref": "#/definitions/app.Response"
  3736. }
  3737. }
  3738. }
  3739. }
  3740. },
  3741. "/Ermcp/QueryUserInfo": {
  3742. "get": {
  3743. "security": [
  3744. {
  3745. "ApiKeyAuth": []
  3746. }
  3747. ],
  3748. "produces": [
  3749. "application/json"
  3750. ],
  3751. "tags": [
  3752. "企业风险管理(app)"
  3753. ],
  3754. "summary": "查询客户资料",
  3755. "parameters": [
  3756. {
  3757. "type": "integer",
  3758. "description": "所属机构用户ID",
  3759. "name": "MemberUserID",
  3760. "in": "query",
  3761. "required": true
  3762. },
  3763. {
  3764. "type": "integer",
  3765. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3766. "name": "queryType",
  3767. "in": "query",
  3768. "required": true
  3769. }
  3770. ],
  3771. "responses": {
  3772. "200": {
  3773. "description": "OK",
  3774. "schema": {
  3775. "type": "array",
  3776. "items": {
  3777. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3778. }
  3779. }
  3780. },
  3781. "500": {
  3782. "description": "Internal Server Error",
  3783. "schema": {
  3784. "$ref": "#/definitions/app.Response"
  3785. }
  3786. }
  3787. }
  3788. }
  3789. },
  3790. "/Ermcp/QueryWarehouseInfo": {
  3791. "get": {
  3792. "security": [
  3793. {
  3794. "ApiKeyAuth": []
  3795. }
  3796. ],
  3797. "produces": [
  3798. "application/json"
  3799. ],
  3800. "tags": [
  3801. "企业风险管理(app)"
  3802. ],
  3803. "summary": "查询仓库信息",
  3804. "parameters": [
  3805. {
  3806. "type": "integer",
  3807. "description": "用户ID",
  3808. "name": "userid",
  3809. "in": "query",
  3810. "required": true
  3811. },
  3812. {
  3813. "type": "string",
  3814. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3815. "name": "status",
  3816. "in": "query"
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "type": "array",
  3824. "items": {
  3825. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3826. }
  3827. }
  3828. },
  3829. "500": {
  3830. "description": "Internal Server Error",
  3831. "schema": {
  3832. "$ref": "#/definitions/app.Response"
  3833. }
  3834. }
  3835. }
  3836. }
  3837. },
  3838. "/Ermcp/QueryWrStandard": {
  3839. "get": {
  3840. "security": [
  3841. {
  3842. "ApiKeyAuth": []
  3843. }
  3844. ],
  3845. "produces": [
  3846. "application/json"
  3847. ],
  3848. "tags": [
  3849. "企业风险管理(app)"
  3850. ],
  3851. "summary": "查询现货商品",
  3852. "parameters": [
  3853. {
  3854. "type": "integer",
  3855. "description": "所属机构ID",
  3856. "name": "userid",
  3857. "in": "query",
  3858. "required": true
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "状态 0-停用 1-正常",
  3863. "name": "status",
  3864. "in": "query",
  3865. "required": true
  3866. }
  3867. ],
  3868. "responses": {
  3869. "200": {
  3870. "description": "OK",
  3871. "schema": {
  3872. "type": "array",
  3873. "items": {
  3874. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3875. }
  3876. }
  3877. },
  3878. "500": {
  3879. "description": "Internal Server Error",
  3880. "schema": {
  3881. "$ref": "#/definitions/app.Response"
  3882. }
  3883. }
  3884. }
  3885. }
  3886. },
  3887. "/Ermcp/QueryWrStandardDetail": {
  3888. "get": {
  3889. "security": [
  3890. {
  3891. "ApiKeyAuth": []
  3892. }
  3893. ],
  3894. "produces": [
  3895. "application/json"
  3896. ],
  3897. "tags": [
  3898. "企业风险管理(app)"
  3899. ],
  3900. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3901. "parameters": [
  3902. {
  3903. "type": "integer",
  3904. "description": "所属机构ID",
  3905. "name": "userid",
  3906. "in": "query",
  3907. "required": true
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "现货商品ID",
  3912. "name": "wrstandardid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "可不填, 1-查询关联交易商品",
  3918. "name": "goods",
  3919. "in": "query"
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "type": "array",
  3927. "items": {
  3928. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3929. }
  3930. }
  3931. },
  3932. "500": {
  3933. "description": "Internal Server Error",
  3934. "schema": {
  3935. "$ref": "#/definitions/app.Response"
  3936. }
  3937. }
  3938. }
  3939. }
  3940. },
  3941. "/Erms2/QueryArbitrageStrategy": {
  3942. "get": {
  3943. "security": [
  3944. {
  3945. "ApiKeyAuth": []
  3946. }
  3947. ],
  3948. "produces": [
  3949. "application/json"
  3950. ],
  3951. "tags": [
  3952. "风险管理"
  3953. ],
  3954. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3955. "parameters": [
  3956. {
  3957. "type": "integer",
  3958. "description": "账户ID",
  3959. "name": "userid",
  3960. "in": "query",
  3961. "required": true
  3962. },
  3963. {
  3964. "type": "string",
  3965. "description": "商品组ID(品种ID)",
  3966. "name": "goodsgroupid",
  3967. "in": "query"
  3968. }
  3969. ],
  3970. "responses": {
  3971. "200": {
  3972. "description": "OK",
  3973. "schema": {
  3974. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Erms2/QueryInnerTradeDetail": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "风险管理"
  3998. ],
  3999. "summary": "查询内部成交单信息",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "资金账户",
  4004. "name": "accountid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4014. }
  4015. },
  4016. "500": {
  4017. "description": "Internal Server Error",
  4018. "schema": {
  4019. "$ref": "#/definitions/app.Response"
  4020. }
  4021. }
  4022. }
  4023. }
  4024. },
  4025. "/Erms2/QuerySpotContract": {
  4026. "get": {
  4027. "security": [
  4028. {
  4029. "ApiKeyAuth": []
  4030. }
  4031. ],
  4032. "produces": [
  4033. "application/json"
  4034. ],
  4035. "tags": [
  4036. "风险管理"
  4037. ],
  4038. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4039. "parameters": [
  4040. {
  4041. "type": "integer",
  4042. "description": "策略申请ID",
  4043. "name": "asapplyid",
  4044. "in": "query",
  4045. "required": true
  4046. },
  4047. {
  4048. "type": "integer",
  4049. "description": "现货合同ID",
  4050. "name": "spotcontractid",
  4051. "in": "query"
  4052. }
  4053. ],
  4054. "responses": {
  4055. "200": {
  4056. "description": "OK",
  4057. "schema": {
  4058. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4059. }
  4060. },
  4061. "500": {
  4062. "description": "Internal Server Error",
  4063. "schema": {
  4064. "$ref": "#/definitions/app.Response"
  4065. }
  4066. }
  4067. }
  4068. }
  4069. },
  4070. "/Erms3/AddErms2ASApply": {
  4071. "post": {
  4072. "security": [
  4073. {
  4074. "ApiKeyAuth": []
  4075. }
  4076. ],
  4077. "produces": [
  4078. "application/json"
  4079. ],
  4080. "tags": [
  4081. "风险管理v3"
  4082. ],
  4083. "summary": "新增期现套利业务申请",
  4084. "parameters": [
  4085. {
  4086. "description": "申请参数",
  4087. "name": "jsonBody",
  4088. "in": "body",
  4089. "required": true,
  4090. "schema": {
  4091. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4092. }
  4093. }
  4094. ],
  4095. "responses": {
  4096. "200": {
  4097. "description": "OK",
  4098. "schema": {
  4099. "$ref": "#/definitions/app.Response"
  4100. }
  4101. },
  4102. "500": {
  4103. "description": "Internal Server Error",
  4104. "schema": {
  4105. "$ref": "#/definitions/app.Response"
  4106. }
  4107. }
  4108. }
  4109. }
  4110. },
  4111. "/Erms3/AddErms2SpotTradeApply": {
  4112. "post": {
  4113. "security": [
  4114. {
  4115. "ApiKeyAuth": []
  4116. }
  4117. ],
  4118. "produces": [
  4119. "application/json"
  4120. ],
  4121. "tags": [
  4122. "风险管理v3"
  4123. ],
  4124. "summary": "新增现货贸易业务申请",
  4125. "parameters": [
  4126. {
  4127. "description": "申请参数",
  4128. "name": "jsonBody",
  4129. "in": "body",
  4130. "required": true,
  4131. "schema": {
  4132. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4133. }
  4134. }
  4135. ],
  4136. "responses": {
  4137. "200": {
  4138. "description": "OK",
  4139. "schema": {
  4140. "$ref": "#/definitions/app.Response"
  4141. }
  4142. },
  4143. "500": {
  4144. "description": "Internal Server Error",
  4145. "schema": {
  4146. "$ref": "#/definitions/app.Response"
  4147. }
  4148. }
  4149. }
  4150. }
  4151. },
  4152. "/Erms3/AddSpotContractApply": {
  4153. "post": {
  4154. "security": [
  4155. {
  4156. "ApiKeyAuth": []
  4157. }
  4158. ],
  4159. "produces": [
  4160. "application/json"
  4161. ],
  4162. "tags": [
  4163. "风险管理v3"
  4164. ],
  4165. "summary": "新增现货合同申请",
  4166. "parameters": [
  4167. {
  4168. "description": "申请参数",
  4169. "name": "jsonBody",
  4170. "in": "body",
  4171. "required": true,
  4172. "schema": {
  4173. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4174. }
  4175. }
  4176. ],
  4177. "responses": {
  4178. "200": {
  4179. "description": "OK",
  4180. "schema": {
  4181. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4182. }
  4183. },
  4184. "500": {
  4185. "description": "Internal Server Error",
  4186. "schema": {
  4187. "$ref": "#/definitions/app.Response"
  4188. }
  4189. }
  4190. }
  4191. }
  4192. },
  4193. "/Erms3/AddUserInfoApply": {
  4194. "post": {
  4195. "security": [
  4196. {
  4197. "ApiKeyAuth": []
  4198. }
  4199. ],
  4200. "produces": [
  4201. "application/json"
  4202. ],
  4203. "tags": [
  4204. "风险管理v3"
  4205. ],
  4206. "summary": "新增客户申请",
  4207. "parameters": [
  4208. {
  4209. "description": "用户信息",
  4210. "name": "jsonBody",
  4211. "in": "body",
  4212. "required": true,
  4213. "schema": {
  4214. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4215. }
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "OK",
  4221. "schema": {
  4222. "$ref": "#/definitions/app.Response"
  4223. }
  4224. },
  4225. "500": {
  4226. "description": "Internal Server Error",
  4227. "schema": {
  4228. "$ref": "#/definitions/app.Response"
  4229. }
  4230. }
  4231. }
  4232. }
  4233. },
  4234. "/Erms3/ModifyUserInfoApply": {
  4235. "post": {
  4236. "security": [
  4237. {
  4238. "ApiKeyAuth": []
  4239. }
  4240. ],
  4241. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4242. "produces": [
  4243. "application/json"
  4244. ],
  4245. "tags": [
  4246. "风险管理v3"
  4247. ],
  4248. "summary": "修改客户申请",
  4249. "parameters": [
  4250. {
  4251. "description": "用户信息",
  4252. "name": "jsonBody",
  4253. "in": "body",
  4254. "required": true,
  4255. "schema": {
  4256. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4257. }
  4258. }
  4259. ],
  4260. "responses": {
  4261. "200": {
  4262. "description": "OK",
  4263. "schema": {
  4264. "$ref": "#/definitions/app.Response"
  4265. }
  4266. },
  4267. "500": {
  4268. "description": "Internal Server Error",
  4269. "schema": {
  4270. "$ref": "#/definitions/app.Response"
  4271. }
  4272. }
  4273. }
  4274. }
  4275. },
  4276. "/Erms3/QueryBusinessInfo": {
  4277. "get": {
  4278. "security": [
  4279. {
  4280. "ApiKeyAuth": []
  4281. }
  4282. ],
  4283. "produces": [
  4284. "application/json"
  4285. ],
  4286. "tags": [
  4287. "风险管理v3"
  4288. ],
  4289. "summary": "查询业务表单数据",
  4290. "parameters": [
  4291. {
  4292. "type": "string",
  4293. "description": "资金账号ID列表,用逗号分隔",
  4294. "name": "accountids",
  4295. "in": "query",
  4296. "required": true
  4297. },
  4298. {
  4299. "type": "integer",
  4300. "description": "状态,0为未结束 1为已结束",
  4301. "name": "status",
  4302. "in": "query",
  4303. "required": true
  4304. }
  4305. ],
  4306. "responses": {
  4307. "200": {
  4308. "description": "OK",
  4309. "schema": {
  4310. "type": "array",
  4311. "items": {
  4312. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4313. }
  4314. }
  4315. },
  4316. "500": {
  4317. "description": "Internal Server Error",
  4318. "schema": {
  4319. "$ref": "#/definitions/app.Response"
  4320. }
  4321. }
  4322. }
  4323. }
  4324. },
  4325. "/Erms3/QueryPendingAuditContract": {
  4326. "get": {
  4327. "security": [
  4328. {
  4329. "ApiKeyAuth": []
  4330. }
  4331. ],
  4332. "produces": [
  4333. "application/json"
  4334. ],
  4335. "tags": [
  4336. "风险管理v3"
  4337. ],
  4338. "summary": "查询待审核合同",
  4339. "parameters": [
  4340. {
  4341. "type": "string",
  4342. "description": "资金账号ID列表,逗号隔开",
  4343. "name": "accountids",
  4344. "in": "query",
  4345. "required": true
  4346. },
  4347. {
  4348. "type": "integer",
  4349. "description": "合同类型 1-采购 -1-销售",
  4350. "name": "contracttype",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "合同模式 1-普通 2-回购",
  4357. "name": "contractmode",
  4358. "in": "query",
  4359. "required": true
  4360. }
  4361. ],
  4362. "responses": {
  4363. "200": {
  4364. "description": "OK",
  4365. "schema": {
  4366. "type": "array",
  4367. "items": {
  4368. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4369. }
  4370. }
  4371. },
  4372. "500": {
  4373. "description": "Internal Server Error",
  4374. "schema": {
  4375. "$ref": "#/definitions/app.Response"
  4376. }
  4377. }
  4378. }
  4379. }
  4380. },
  4381. "/Erms3/QueryPendingBusiness": {
  4382. "get": {
  4383. "security": [
  4384. {
  4385. "ApiKeyAuth": []
  4386. }
  4387. ],
  4388. "produces": [
  4389. "application/json"
  4390. ],
  4391. "tags": [
  4392. "风险管理v3"
  4393. ],
  4394. "summary": "查询待审核基差贸易业务",
  4395. "parameters": [
  4396. {
  4397. "type": "string",
  4398. "description": "资金账号ID列表,逗号隔开",
  4399. "name": "accountids",
  4400. "in": "query",
  4401. "required": true
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "type": "array",
  4409. "items": {
  4410. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4411. }
  4412. }
  4413. },
  4414. "500": {
  4415. "description": "Internal Server Error",
  4416. "schema": {
  4417. "$ref": "#/definitions/app.Response"
  4418. }
  4419. }
  4420. }
  4421. }
  4422. },
  4423. "/Erms3/QuerySpotContractAppleForm": {
  4424. "get": {
  4425. "security": [
  4426. {
  4427. "ApiKeyAuth": []
  4428. }
  4429. ],
  4430. "produces": [
  4431. "application/json"
  4432. ],
  4433. "tags": [
  4434. "风险管理v3"
  4435. ],
  4436. "summary": "查询合同申请表单数据",
  4437. "parameters": [
  4438. {
  4439. "type": "integer",
  4440. "description": "登录账号",
  4441. "name": "loginID",
  4442. "in": "query",
  4443. "required": true
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4451. }
  4452. },
  4453. "500": {
  4454. "description": "Internal Server Error",
  4455. "schema": {
  4456. "$ref": "#/definitions/app.Response"
  4457. }
  4458. }
  4459. }
  4460. }
  4461. },
  4462. "/Erms3/QuerySpotContractDetail": {
  4463. "get": {
  4464. "security": [
  4465. {
  4466. "ApiKeyAuth": []
  4467. }
  4468. ],
  4469. "produces": [
  4470. "application/json"
  4471. ],
  4472. "tags": [
  4473. "风险管理v3"
  4474. ],
  4475. "summary": "查询合同详细信息",
  4476. "parameters": [
  4477. {
  4478. "type": "string",
  4479. "description": "资金账号ID列表,用逗号分隔",
  4480. "name": "accountids",
  4481. "in": "query",
  4482. "required": true
  4483. },
  4484. {
  4485. "type": "integer",
  4486. "description": "合同类型,1为采购合同 -1为销售合同",
  4487. "name": "contracttype",
  4488. "in": "query",
  4489. "required": true
  4490. },
  4491. {
  4492. "type": "integer",
  4493. "description": "合同模式,1为普通合同 2为回购销售合同",
  4494. "name": "contractmode",
  4495. "in": "query",
  4496. "required": true
  4497. },
  4498. {
  4499. "type": "integer",
  4500. "description": "状态,0为履约中 1为已完成",
  4501. "name": "status",
  4502. "in": "query",
  4503. "required": true
  4504. }
  4505. ],
  4506. "responses": {
  4507. "200": {
  4508. "description": "OK",
  4509. "schema": {
  4510. "type": "array",
  4511. "items": {
  4512. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4513. }
  4514. }
  4515. },
  4516. "500": {
  4517. "description": "Internal Server Error",
  4518. "schema": {
  4519. "$ref": "#/definitions/app.Response"
  4520. }
  4521. }
  4522. }
  4523. }
  4524. },
  4525. "/Erms3/QueryUserInfoApplies": {
  4526. "get": {
  4527. "security": [
  4528. {
  4529. "ApiKeyAuth": []
  4530. }
  4531. ],
  4532. "produces": [
  4533. "application/json"
  4534. ],
  4535. "tags": [
  4536. "风险管理v3"
  4537. ],
  4538. "summary": "客户申请信息查询",
  4539. "parameters": [
  4540. {
  4541. "type": "integer",
  4542. "description": "页码",
  4543. "name": "page",
  4544. "in": "query"
  4545. },
  4546. {
  4547. "type": "integer",
  4548. "description": "每页条数",
  4549. "name": "pagesize",
  4550. "in": "query"
  4551. },
  4552. {
  4553. "type": "string",
  4554. "description": "客户名称,支持模糊查询",
  4555. "name": "userName",
  4556. "in": "query"
  4557. }
  4558. ],
  4559. "responses": {
  4560. "200": {
  4561. "description": "OK",
  4562. "schema": {
  4563. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4564. }
  4565. },
  4566. "500": {
  4567. "description": "Internal Server Error",
  4568. "schema": {
  4569. "$ref": "#/definitions/app.Response"
  4570. }
  4571. }
  4572. }
  4573. }
  4574. },
  4575. "/Erms3/QueryUserInfos": {
  4576. "get": {
  4577. "security": [
  4578. {
  4579. "ApiKeyAuth": []
  4580. }
  4581. ],
  4582. "produces": [
  4583. "application/json"
  4584. ],
  4585. "tags": [
  4586. "风险管理v3"
  4587. ],
  4588. "summary": "客户信息查询",
  4589. "parameters": [
  4590. {
  4591. "type": "integer",
  4592. "description": "页码",
  4593. "name": "page",
  4594. "in": "query"
  4595. },
  4596. {
  4597. "type": "integer",
  4598. "description": "每页条数",
  4599. "name": "pagesize",
  4600. "in": "query"
  4601. },
  4602. {
  4603. "type": "string",
  4604. "description": "客户名称,支持模糊查询",
  4605. "name": "userName",
  4606. "in": "query"
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4614. }
  4615. },
  4616. "500": {
  4617. "description": "Internal Server Error",
  4618. "schema": {
  4619. "$ref": "#/definitions/app.Response"
  4620. }
  4621. }
  4622. }
  4623. }
  4624. },
  4625. "/HSBY/GetHsbyMyCount": {
  4626. "get": {
  4627. "security": [
  4628. {
  4629. "ApiKeyAuth": []
  4630. }
  4631. ],
  4632. "description": "说明: 不包括已完成的数量。",
  4633. "produces": [
  4634. "application/json"
  4635. ],
  4636. "tags": [
  4637. "定制【海商报业】"
  4638. ],
  4639. "summary": "获取我的订单与包裹数量",
  4640. "parameters": [
  4641. {
  4642. "type": "string",
  4643. "description": "资金账户列表,格式:1,2,3",
  4644. "name": "accountIDs",
  4645. "in": "query",
  4646. "required": true
  4647. }
  4648. ],
  4649. "responses": {
  4650. "200": {
  4651. "description": "OK",
  4652. "schema": {
  4653. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4654. }
  4655. },
  4656. "500": {
  4657. "description": "Internal Server Error",
  4658. "schema": {
  4659. "$ref": "#/definitions/app.Response"
  4660. }
  4661. }
  4662. }
  4663. }
  4664. },
  4665. "/HSBY/QueryClientFixedADConfigs": {
  4666. "get": {
  4667. "security": [
  4668. {
  4669. "ApiKeyAuth": []
  4670. }
  4671. ],
  4672. "produces": [
  4673. "application/json"
  4674. ],
  4675. "tags": [
  4676. "定制【海商报业】"
  4677. ],
  4678. "summary": "获取终端固定广告配置",
  4679. "responses": {
  4680. "200": {
  4681. "description": "OK",
  4682. "schema": {
  4683. "$ref": "#/definitions/models.Clientfixedadconfig"
  4684. }
  4685. },
  4686. "500": {
  4687. "description": "Internal Server Error",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. }
  4692. }
  4693. }
  4694. },
  4695. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4696. "get": {
  4697. "security": [
  4698. {
  4699. "ApiKeyAuth": []
  4700. }
  4701. ],
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "定制【海商报业】"
  4707. ],
  4708. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4709. "parameters": [
  4710. {
  4711. "type": "integer",
  4712. "description": "页码",
  4713. "name": "page",
  4714. "in": "query"
  4715. },
  4716. {
  4717. "type": "integer",
  4718. "description": "每页条数",
  4719. "name": "pagesize",
  4720. "in": "query"
  4721. },
  4722. {
  4723. "type": "string",
  4724. "description": "资金账户列表,格式:1,2,3",
  4725. "name": "accountIDs",
  4726. "in": "query",
  4727. "required": true
  4728. }
  4729. ],
  4730. "responses": {
  4731. "200": {
  4732. "description": "OK",
  4733. "schema": {
  4734. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4735. }
  4736. },
  4737. "500": {
  4738. "description": "Internal Server Error",
  4739. "schema": {
  4740. "$ref": "#/definitions/app.Response"
  4741. }
  4742. }
  4743. }
  4744. }
  4745. },
  4746. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4747. "get": {
  4748. "security": [
  4749. {
  4750. "ApiKeyAuth": []
  4751. }
  4752. ],
  4753. "description": "说明:查询结果已按委托价格和委托时间排序",
  4754. "produces": [
  4755. "application/json"
  4756. ],
  4757. "tags": [
  4758. "定制【海商报业】"
  4759. ],
  4760. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4761. "parameters": [
  4762. {
  4763. "type": "integer",
  4764. "description": "商品ID",
  4765. "name": "goodsID",
  4766. "in": "query",
  4767. "required": true
  4768. },
  4769. {
  4770. "type": "string",
  4771. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4772. "name": "accountIDs",
  4773. "in": "query"
  4774. },
  4775. {
  4776. "type": "integer",
  4777. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4778. "name": "buyOrSell",
  4779. "in": "query"
  4780. },
  4781. {
  4782. "type": "number",
  4783. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4784. "name": "price",
  4785. "in": "query"
  4786. },
  4787. {
  4788. "type": "integer",
  4789. "description": "档位,不传则默认为3档",
  4790. "name": "speed",
  4791. "in": "query"
  4792. }
  4793. ],
  4794. "responses": {
  4795. "200": {
  4796. "description": "OK",
  4797. "schema": {
  4798. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4799. }
  4800. },
  4801. "500": {
  4802. "description": "Internal Server Error",
  4803. "schema": {
  4804. "$ref": "#/definitions/app.Response"
  4805. }
  4806. }
  4807. }
  4808. }
  4809. },
  4810. "/HSBY/QueryHsbyListingGoodsDetail": {
  4811. "get": {
  4812. "security": [
  4813. {
  4814. "ApiKeyAuth": []
  4815. }
  4816. ],
  4817. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4818. "produces": [
  4819. "application/json"
  4820. ],
  4821. "tags": [
  4822. "定制【海商报业】"
  4823. ],
  4824. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4825. "parameters": [
  4826. {
  4827. "type": "integer",
  4828. "description": "商品ID",
  4829. "name": "goodsID",
  4830. "in": "query",
  4831. "required": true
  4832. },
  4833. {
  4834. "type": "integer",
  4835. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4836. "name": "accountID",
  4837. "in": "query"
  4838. }
  4839. ],
  4840. "responses": {
  4841. "200": {
  4842. "description": "OK",
  4843. "schema": {
  4844. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4845. }
  4846. },
  4847. "500": {
  4848. "description": "Internal Server Error",
  4849. "schema": {
  4850. "$ref": "#/definitions/app.Response"
  4851. }
  4852. }
  4853. }
  4854. }
  4855. },
  4856. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4857. "get": {
  4858. "security": [
  4859. {
  4860. "ApiKeyAuth": []
  4861. }
  4862. ],
  4863. "produces": [
  4864. "application/json"
  4865. ],
  4866. "tags": [
  4867. "定制【海商报业】"
  4868. ],
  4869. "summary": "查询三级市场(商城)商品信息详情",
  4870. "parameters": [
  4871. {
  4872. "type": "integer",
  4873. "description": "委托单号",
  4874. "name": "orderID",
  4875. "in": "query",
  4876. "required": true
  4877. },
  4878. {
  4879. "type": "integer",
  4880. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4881. "name": "accountID",
  4882. "in": "query"
  4883. }
  4884. ],
  4885. "responses": {
  4886. "200": {
  4887. "description": "OK",
  4888. "schema": {
  4889. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4890. }
  4891. },
  4892. "500": {
  4893. "description": "Internal Server Error",
  4894. "schema": {
  4895. "$ref": "#/definitions/app.Response"
  4896. }
  4897. }
  4898. }
  4899. }
  4900. },
  4901. "/HSBY/QueryHsbyMarketGoodses": {
  4902. "get": {
  4903. "security": [
  4904. {
  4905. "ApiKeyAuth": []
  4906. }
  4907. ],
  4908. "produces": [
  4909. "application/json"
  4910. ],
  4911. "tags": [
  4912. "定制【海商报业】"
  4913. ],
  4914. "summary": "查询特卖商品列表(三级商城)",
  4915. "parameters": [
  4916. {
  4917. "type": "integer",
  4918. "description": "页码",
  4919. "name": "page",
  4920. "in": "query"
  4921. },
  4922. {
  4923. "type": "integer",
  4924. "description": "每页条数",
  4925. "name": "pagesize",
  4926. "in": "query"
  4927. },
  4928. {
  4929. "type": "string",
  4930. "description": "市场ID列表,格式:1,2,3",
  4931. "name": "marketIDs",
  4932. "in": "query",
  4933. "required": true
  4934. },
  4935. {
  4936. "type": "integer",
  4937. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4938. "name": "accountID",
  4939. "in": "query",
  4940. "required": true
  4941. },
  4942. {
  4943. "type": "integer",
  4944. "description": "类别ID",
  4945. "name": "categoryID",
  4946. "in": "query"
  4947. },
  4948. {
  4949. "type": "string",
  4950. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4951. "name": "goodsIDs",
  4952. "in": "query"
  4953. },
  4954. {
  4955. "type": "integer",
  4956. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4957. "name": "couponTypeID",
  4958. "in": "query"
  4959. }
  4960. ],
  4961. "responses": {
  4962. "200": {
  4963. "description": "OK",
  4964. "schema": {
  4965. "$ref": "#/definitions/models.HsbyMarketGoods"
  4966. }
  4967. },
  4968. "500": {
  4969. "description": "Internal Server Error",
  4970. "schema": {
  4971. "$ref": "#/definitions/app.Response"
  4972. }
  4973. }
  4974. }
  4975. }
  4976. },
  4977. "/HSBY/QueryHsbyMarkets": {
  4978. "get": {
  4979. "security": [
  4980. {
  4981. "ApiKeyAuth": []
  4982. }
  4983. ],
  4984. "produces": [
  4985. "application/json"
  4986. ],
  4987. "tags": [
  4988. "定制【海商报业】"
  4989. ],
  4990. "summary": "查询海商报业相关市场信息",
  4991. "responses": {
  4992. "200": {
  4993. "description": "OK",
  4994. "schema": {
  4995. "$ref": "#/definitions/models.HsbyMarketInfo"
  4996. }
  4997. },
  4998. "500": {
  4999. "description": "Internal Server Error",
  5000. "schema": {
  5001. "$ref": "#/definitions/app.Response"
  5002. }
  5003. }
  5004. }
  5005. }
  5006. },
  5007. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5008. "get": {
  5009. "security": [
  5010. {
  5011. "ApiKeyAuth": []
  5012. }
  5013. ],
  5014. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5015. "produces": [
  5016. "application/json"
  5017. ],
  5018. "tags": [
  5019. "定制【海商报业】"
  5020. ],
  5021. "summary": "查询“我的订单”信息",
  5022. "parameters": [
  5023. {
  5024. "type": "string",
  5025. "description": "资金账户列表,格式:1,2,3",
  5026. "name": "accountIDs",
  5027. "in": "query",
  5028. "required": true
  5029. }
  5030. ],
  5031. "responses": {
  5032. "200": {
  5033. "description": "OK",
  5034. "schema": {
  5035. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5036. }
  5037. },
  5038. "500": {
  5039. "description": "Internal Server Error",
  5040. "schema": {
  5041. "$ref": "#/definitions/app.Response"
  5042. }
  5043. }
  5044. }
  5045. }
  5046. },
  5047. "/HSBY/QueryHsbyMyGoods": {
  5048. "get": {
  5049. "security": [
  5050. {
  5051. "ApiKeyAuth": []
  5052. }
  5053. ],
  5054. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5055. "produces": [
  5056. "application/json"
  5057. ],
  5058. "tags": [
  5059. "定制【海商报业】"
  5060. ],
  5061. "summary": "查询“我的商品”信息",
  5062. "parameters": [
  5063. {
  5064. "type": "string",
  5065. "description": "资金账户列表,格式:1,2,3",
  5066. "name": "accountIDs",
  5067. "in": "query",
  5068. "required": true
  5069. }
  5070. ],
  5071. "responses": {
  5072. "200": {
  5073. "description": "OK",
  5074. "schema": {
  5075. "$ref": "#/definitions/models.HsbyMyGoods"
  5076. }
  5077. },
  5078. "500": {
  5079. "description": "Internal Server Error",
  5080. "schema": {
  5081. "$ref": "#/definitions/app.Response"
  5082. }
  5083. }
  5084. }
  5085. }
  5086. },
  5087. "/HSBY/QueryHsbyMyPackages": {
  5088. "get": {
  5089. "security": [
  5090. {
  5091. "ApiKeyAuth": []
  5092. }
  5093. ],
  5094. "produces": [
  5095. "application/json"
  5096. ],
  5097. "tags": [
  5098. "定制【海商报业】"
  5099. ],
  5100. "summary": "查询我的包裹信息",
  5101. "parameters": [
  5102. {
  5103. "type": "string",
  5104. "description": "资金账户列表,格式:1,2,3",
  5105. "name": "accountIDs",
  5106. "in": "query",
  5107. "required": true
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5112. "name": "takeOrderStatus",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "$ref": "#/definitions/models.HsbyMyPackage"
  5121. }
  5122. },
  5123. "500": {
  5124. "description": "Internal Server Error",
  5125. "schema": {
  5126. "$ref": "#/definitions/app.Response"
  5127. }
  5128. }
  5129. }
  5130. }
  5131. },
  5132. "/HSBY/QueryHsbyPreGoodsDetail": {
  5133. "get": {
  5134. "security": [
  5135. {
  5136. "ApiKeyAuth": []
  5137. }
  5138. ],
  5139. "produces": [
  5140. "application/json"
  5141. ],
  5142. "tags": [
  5143. "定制【海商报业】"
  5144. ],
  5145. "summary": "查询一级市场(预售)商品信息详情",
  5146. "parameters": [
  5147. {
  5148. "type": "integer",
  5149. "description": "商品ID",
  5150. "name": "goodsID",
  5151. "in": "query",
  5152. "required": true
  5153. },
  5154. {
  5155. "type": "integer",
  5156. "description": "资金账户,主要用于获取预售商品购买上限",
  5157. "name": "accountID",
  5158. "in": "query"
  5159. }
  5160. ],
  5161. "responses": {
  5162. "200": {
  5163. "description": "OK",
  5164. "schema": {
  5165. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5166. }
  5167. },
  5168. "500": {
  5169. "description": "Internal Server Error",
  5170. "schema": {
  5171. "$ref": "#/definitions/app.Response"
  5172. }
  5173. }
  5174. }
  5175. }
  5176. },
  5177. "/HSBY/QueryHsbyPreGoodses": {
  5178. "get": {
  5179. "security": [
  5180. {
  5181. "ApiKeyAuth": []
  5182. }
  5183. ],
  5184. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5185. "produces": [
  5186. "application/json"
  5187. ],
  5188. "tags": [
  5189. "定制【海商报业】"
  5190. ],
  5191. "summary": "查询新品上市商品列表(一级市场预售)",
  5192. "parameters": [
  5193. {
  5194. "type": "integer",
  5195. "description": "页码",
  5196. "name": "page",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "每页条数",
  5202. "name": "pagesize",
  5203. "in": "query"
  5204. },
  5205. {
  5206. "type": "string",
  5207. "description": "市场ID列表,格式:1,2,3",
  5208. "name": "marketIDs",
  5209. "in": "query",
  5210. "required": true
  5211. },
  5212. {
  5213. "type": "integer",
  5214. "description": "目的地(省)ID",
  5215. "name": "descProvinceID",
  5216. "in": "query"
  5217. },
  5218. {
  5219. "type": "integer",
  5220. "description": "目的地(市)ID",
  5221. "name": "descCityID",
  5222. "in": "query"
  5223. }
  5224. ],
  5225. "responses": {
  5226. "200": {
  5227. "description": "OK",
  5228. "schema": {
  5229. "$ref": "#/definitions/models.HsbyPreGoods"
  5230. }
  5231. },
  5232. "500": {
  5233. "description": "Internal Server Error",
  5234. "schema": {
  5235. "$ref": "#/definitions/app.Response"
  5236. }
  5237. }
  5238. }
  5239. }
  5240. },
  5241. "/HSBY/QueryHsbySellMyDetails": {
  5242. "get": {
  5243. "security": [
  5244. {
  5245. "ApiKeyAuth": []
  5246. }
  5247. ],
  5248. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5249. "produces": [
  5250. "application/json"
  5251. ],
  5252. "tags": [
  5253. "定制【海商报业】"
  5254. ],
  5255. "summary": "查询\"我的闲置\"单据信息",
  5256. "parameters": [
  5257. {
  5258. "type": "integer",
  5259. "description": "页码",
  5260. "name": "page",
  5261. "in": "query"
  5262. },
  5263. {
  5264. "type": "integer",
  5265. "description": "每页条数",
  5266. "name": "pagesize",
  5267. "in": "query"
  5268. },
  5269. {
  5270. "type": "string",
  5271. "description": "资金账户列表,格式:1,2,3",
  5272. "name": "accountIDs",
  5273. "in": "query",
  5274. "required": true
  5275. },
  5276. {
  5277. "type": "integer",
  5278. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5279. "name": "orderType",
  5280. "in": "query"
  5281. }
  5282. ],
  5283. "responses": {
  5284. "200": {
  5285. "description": "OK",
  5286. "schema": {
  5287. "$ref": "#/definitions/models.HsbySellMyDetail"
  5288. }
  5289. },
  5290. "500": {
  5291. "description": "Internal Server Error",
  5292. "schema": {
  5293. "$ref": "#/definitions/app.Response"
  5294. }
  5295. }
  5296. }
  5297. }
  5298. },
  5299. "/HSBY/QueryHsbyTopGoodses": {
  5300. "get": {
  5301. "security": [
  5302. {
  5303. "ApiKeyAuth": []
  5304. }
  5305. ],
  5306. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5307. "produces": [
  5308. "application/json"
  5309. ],
  5310. "tags": [
  5311. "定制【海商报业】"
  5312. ],
  5313. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5314. "parameters": [
  5315. {
  5316. "type": "integer",
  5317. "description": "页码",
  5318. "name": "page",
  5319. "in": "query"
  5320. },
  5321. {
  5322. "type": "integer",
  5323. "description": "每页条数",
  5324. "name": "pagesize",
  5325. "in": "query"
  5326. },
  5327. {
  5328. "type": "string",
  5329. "description": "市场ID列表,格式:1,2,3",
  5330. "name": "marketIDs",
  5331. "in": "query",
  5332. "required": true
  5333. },
  5334. {
  5335. "type": "integer",
  5336. "description": "目的地(省)ID",
  5337. "name": "descProvinceID",
  5338. "in": "query"
  5339. },
  5340. {
  5341. "type": "integer",
  5342. "description": "目的地(市)ID",
  5343. "name": "descCityID",
  5344. "in": "query"
  5345. }
  5346. ],
  5347. "responses": {
  5348. "200": {
  5349. "description": "OK",
  5350. "schema": {
  5351. "$ref": "#/definitions/models.HsbyTopGoods"
  5352. }
  5353. },
  5354. "500": {
  5355. "description": "Internal Server Error",
  5356. "schema": {
  5357. "$ref": "#/definitions/app.Response"
  5358. }
  5359. }
  5360. }
  5361. }
  5362. },
  5363. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5364. "get": {
  5365. "security": [
  5366. {
  5367. "ApiKeyAuth": []
  5368. }
  5369. ],
  5370. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5371. "produces": [
  5372. "application/json"
  5373. ],
  5374. "tags": [
  5375. "定制【海商报业】"
  5376. ],
  5377. "summary": "查询游客三级市场(商城)商品信息详情",
  5378. "parameters": [
  5379. {
  5380. "type": "integer",
  5381. "description": "商品ID",
  5382. "name": "goodsID",
  5383. "in": "query",
  5384. "required": true
  5385. }
  5386. ],
  5387. "responses": {
  5388. "200": {
  5389. "description": "OK",
  5390. "schema": {
  5391. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5392. }
  5393. },
  5394. "500": {
  5395. "description": "Internal Server Error",
  5396. "schema": {
  5397. "$ref": "#/definitions/app.Response"
  5398. }
  5399. }
  5400. }
  5401. }
  5402. },
  5403. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5404. "get": {
  5405. "security": [
  5406. {
  5407. "ApiKeyAuth": []
  5408. }
  5409. ],
  5410. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5411. "produces": [
  5412. "application/json"
  5413. ],
  5414. "tags": [
  5415. "定制【海商报业】"
  5416. ],
  5417. "summary": "查询游客特卖商品列表(三级商城)",
  5418. "parameters": [
  5419. {
  5420. "type": "integer",
  5421. "description": "页码",
  5422. "name": "page",
  5423. "in": "query"
  5424. },
  5425. {
  5426. "type": "integer",
  5427. "description": "每页条数",
  5428. "name": "pagesize",
  5429. "in": "query"
  5430. },
  5431. {
  5432. "type": "string",
  5433. "description": "市场ID列表,格式:1,2,3",
  5434. "name": "marketIDs",
  5435. "in": "query",
  5436. "required": true
  5437. },
  5438. {
  5439. "type": "integer",
  5440. "description": "类别ID",
  5441. "name": "categoryID",
  5442. "in": "query"
  5443. },
  5444. {
  5445. "type": "string",
  5446. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5447. "name": "goodsIDs",
  5448. "in": "query"
  5449. }
  5450. ],
  5451. "responses": {
  5452. "200": {
  5453. "description": "OK",
  5454. "schema": {
  5455. "$ref": "#/definitions/models.HsbyMarketGoods"
  5456. }
  5457. },
  5458. "500": {
  5459. "description": "Internal Server Error",
  5460. "schema": {
  5461. "$ref": "#/definitions/app.Response"
  5462. }
  5463. }
  5464. }
  5465. }
  5466. },
  5467. "/HSBY/QueryMyCollectionOrders": {
  5468. "get": {
  5469. "security": [
  5470. {
  5471. "ApiKeyAuth": []
  5472. }
  5473. ],
  5474. "produces": [
  5475. "application/json"
  5476. ],
  5477. "tags": [
  5478. "定制【海商报业】"
  5479. ],
  5480. "summary": "我的闲置中收款信息查询",
  5481. "parameters": [
  5482. {
  5483. "type": "integer",
  5484. "description": "页码",
  5485. "name": "page",
  5486. "in": "query"
  5487. },
  5488. {
  5489. "type": "integer",
  5490. "description": "每页条数",
  5491. "name": "pagesize",
  5492. "in": "query"
  5493. },
  5494. {
  5495. "type": "string",
  5496. "description": "资金账户,格式:1,2,3",
  5497. "name": "accountIDs",
  5498. "in": "query",
  5499. "required": true
  5500. }
  5501. ],
  5502. "responses": {
  5503. "200": {
  5504. "description": "OK",
  5505. "schema": {
  5506. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5507. }
  5508. },
  5509. "500": {
  5510. "description": "Internal Server Error",
  5511. "schema": {
  5512. "$ref": "#/definitions/app.Response"
  5513. }
  5514. }
  5515. }
  5516. }
  5517. },
  5518. "/HSBY/QueryMyCouponHolds": {
  5519. "get": {
  5520. "security": [
  5521. {
  5522. "ApiKeyAuth": []
  5523. }
  5524. ],
  5525. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5526. "produces": [
  5527. "application/json"
  5528. ],
  5529. "tags": [
  5530. "定制【海商报业】"
  5531. ],
  5532. "summary": "我的优惠卷持仓查询",
  5533. "parameters": [
  5534. {
  5535. "type": "string",
  5536. "description": "资金账户列表,格式:1,2,3",
  5537. "name": "accountIDs",
  5538. "in": "query",
  5539. "required": true
  5540. },
  5541. {
  5542. "type": "string",
  5543. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5544. "name": "holdStatus",
  5545. "in": "query"
  5546. }
  5547. ],
  5548. "responses": {
  5549. "200": {
  5550. "description": "OK",
  5551. "schema": {
  5552. "$ref": "#/definitions/models.MyCouponHold"
  5553. }
  5554. },
  5555. "500": {
  5556. "description": "Internal Server Error",
  5557. "schema": {
  5558. "$ref": "#/definitions/app.Response"
  5559. }
  5560. }
  5561. }
  5562. }
  5563. },
  5564. "/HSBY/QueryMyCoupons": {
  5565. "get": {
  5566. "security": [
  5567. {
  5568. "ApiKeyAuth": []
  5569. }
  5570. ],
  5571. "produces": [
  5572. "application/json"
  5573. ],
  5574. "tags": [
  5575. "定制【海商报业】"
  5576. ],
  5577. "summary": "我的优惠卷查询",
  5578. "parameters": [
  5579. {
  5580. "type": "string",
  5581. "description": "资金账户列表,格式:1,2,3",
  5582. "name": "accountIDs",
  5583. "in": "query",
  5584. "required": true
  5585. },
  5586. {
  5587. "type": "integer",
  5588. "description": "商品ID, 一般与sellUserID配套传入",
  5589. "name": "goodsID",
  5590. "in": "query"
  5591. },
  5592. {
  5593. "type": "integer",
  5594. "description": "卖方UserID",
  5595. "name": "sellUserID",
  5596. "in": "query"
  5597. }
  5598. ],
  5599. "responses": {
  5600. "200": {
  5601. "description": "OK",
  5602. "schema": {
  5603. "$ref": "#/definitions/models.MyCoupon"
  5604. }
  5605. },
  5606. "500": {
  5607. "description": "Internal Server Error",
  5608. "schema": {
  5609. "$ref": "#/definitions/app.Response"
  5610. }
  5611. }
  5612. }
  5613. }
  5614. },
  5615. "/HSBY/QueryMyPayOrders": {
  5616. "get": {
  5617. "security": [
  5618. {
  5619. "ApiKeyAuth": []
  5620. }
  5621. ],
  5622. "produces": [
  5623. "application/json"
  5624. ],
  5625. "tags": [
  5626. "定制【海商报业】"
  5627. ],
  5628. "summary": "获取我的订单中待付款信息",
  5629. "parameters": [
  5630. {
  5631. "type": "integer",
  5632. "description": "页码",
  5633. "name": "page",
  5634. "in": "query"
  5635. },
  5636. {
  5637. "type": "integer",
  5638. "description": "每页条数",
  5639. "name": "pagesize",
  5640. "in": "query"
  5641. },
  5642. {
  5643. "type": "string",
  5644. "description": "资金账户列表,格式:1,2,3",
  5645. "name": "accountIDs",
  5646. "in": "query",
  5647. "required": true
  5648. },
  5649. {
  5650. "type": "integer",
  5651. "description": "买方委托单号",
  5652. "name": "buyOrderID",
  5653. "in": "query"
  5654. },
  5655. {
  5656. "type": "integer",
  5657. "description": "卖方委托单号",
  5658. "name": "sellOrderID",
  5659. "in": "query"
  5660. }
  5661. ],
  5662. "responses": {
  5663. "200": {
  5664. "description": "OK",
  5665. "schema": {
  5666. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5667. }
  5668. },
  5669. "500": {
  5670. "description": "Internal Server Error",
  5671. "schema": {
  5672. "$ref": "#/definitions/app.Response"
  5673. }
  5674. }
  5675. }
  5676. }
  5677. },
  5678. "/HSBY/QueryMyUsedCoupon": {
  5679. "get": {
  5680. "security": [
  5681. {
  5682. "ApiKeyAuth": []
  5683. }
  5684. ],
  5685. "produces": [
  5686. "application/json"
  5687. ],
  5688. "tags": [
  5689. "定制【海商报业】"
  5690. ],
  5691. "summary": "已使用优惠卷查询",
  5692. "parameters": [
  5693. {
  5694. "type": "string",
  5695. "description": "资金账户列表,格式:1,2,3",
  5696. "name": "accountIDs",
  5697. "in": "query",
  5698. "required": true
  5699. }
  5700. ],
  5701. "responses": {
  5702. "200": {
  5703. "description": "OK",
  5704. "schema": {
  5705. "$ref": "#/definitions/models.MyUsedCoupon"
  5706. }
  5707. },
  5708. "500": {
  5709. "description": "Internal Server Error",
  5710. "schema": {
  5711. "$ref": "#/definitions/app.Response"
  5712. }
  5713. }
  5714. }
  5715. }
  5716. },
  5717. "/HSBY/QueryProvincesAndCities": {
  5718. "get": {
  5719. "security": [
  5720. {
  5721. "ApiKeyAuth": []
  5722. }
  5723. ],
  5724. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5725. "produces": [
  5726. "application/json"
  5727. ],
  5728. "tags": [
  5729. "定制【海商报业】"
  5730. ],
  5731. "summary": "查询省市信息(不包括区)",
  5732. "parameters": [
  5733. {
  5734. "type": "integer",
  5735. "description": "省ID",
  5736. "name": "provinceID",
  5737. "in": "query"
  5738. }
  5739. ],
  5740. "responses": {
  5741. "200": {
  5742. "description": "OK",
  5743. "schema": {
  5744. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5745. }
  5746. },
  5747. "500": {
  5748. "description": "Internal Server Error",
  5749. "schema": {
  5750. "$ref": "#/definitions/app.Response"
  5751. }
  5752. }
  5753. }
  5754. }
  5755. },
  5756. "/HSBY/SetHsbyMyPackagesStatus": {
  5757. "post": {
  5758. "security": [
  5759. {
  5760. "ApiKeyAuth": []
  5761. }
  5762. ],
  5763. "produces": [
  5764. "application/json"
  5765. ],
  5766. "tags": [
  5767. "定制【海商报业】"
  5768. ],
  5769. "summary": "设置我的包裹已收货状态",
  5770. "parameters": [
  5771. {
  5772. "type": "string",
  5773. "description": "提货单号",
  5774. "name": "takeOrderID",
  5775. "in": "query",
  5776. "required": true
  5777. },
  5778. {
  5779. "type": "integer",
  5780. "description": "资金账号",
  5781. "name": "accountID",
  5782. "in": "query",
  5783. "required": true
  5784. }
  5785. ],
  5786. "responses": {
  5787. "200": {
  5788. "description": "OK",
  5789. "schema": {
  5790. "$ref": "#/definitions/app.Response"
  5791. }
  5792. },
  5793. "500": {
  5794. "description": "Internal Server Error",
  5795. "schema": {
  5796. "$ref": "#/definitions/app.Response"
  5797. }
  5798. }
  5799. }
  5800. }
  5801. },
  5802. "/Market/QueryGoodsesByLoginID": {
  5803. "get": {
  5804. "security": [
  5805. {
  5806. "ApiKeyAuth": []
  5807. }
  5808. ],
  5809. "produces": [
  5810. "application/json"
  5811. ],
  5812. "tags": [
  5813. "通用市场"
  5814. ],
  5815. "summary": "获取登录账号有权限的商品信息",
  5816. "parameters": [
  5817. {
  5818. "type": "integer",
  5819. "description": "登录账号",
  5820. "name": "loginID",
  5821. "in": "query",
  5822. "required": true
  5823. },
  5824. {
  5825. "type": "string",
  5826. "description": "市场ID列表,格式:1,2,3",
  5827. "name": "marketIDs",
  5828. "in": "query"
  5829. }
  5830. ],
  5831. "responses": {
  5832. "200": {
  5833. "description": "OK",
  5834. "schema": {
  5835. "$ref": "#/definitions/models.Goods"
  5836. }
  5837. },
  5838. "500": {
  5839. "description": "Internal Server Error",
  5840. "schema": {
  5841. "$ref": "#/definitions/app.Response"
  5842. }
  5843. }
  5844. }
  5845. }
  5846. },
  5847. "/Market/QueryMarketRun": {
  5848. "get": {
  5849. "security": [
  5850. {
  5851. "ApiKeyAuth": []
  5852. }
  5853. ],
  5854. "produces": [
  5855. "application/json"
  5856. ],
  5857. "tags": [
  5858. "通用市场"
  5859. ],
  5860. "summary": "查询市场运行信息",
  5861. "parameters": [
  5862. {
  5863. "type": "integer",
  5864. "description": "市场ID,不传返回所有",
  5865. "name": "marketID",
  5866. "in": "query"
  5867. }
  5868. ],
  5869. "responses": {
  5870. "200": {
  5871. "description": "OK",
  5872. "schema": {
  5873. "$ref": "#/definitions/models.Marketrun"
  5874. }
  5875. },
  5876. "500": {
  5877. "description": "Internal Server Error",
  5878. "schema": {
  5879. "$ref": "#/definitions/app.Response"
  5880. }
  5881. }
  5882. }
  5883. }
  5884. },
  5885. "/Market/QueryMarketsByLoginID": {
  5886. "get": {
  5887. "security": [
  5888. {
  5889. "ApiKeyAuth": []
  5890. }
  5891. ],
  5892. "produces": [
  5893. "application/json"
  5894. ],
  5895. "tags": [
  5896. "通用市场"
  5897. ],
  5898. "summary": "获取登录账号有权限的市场信息",
  5899. "parameters": [
  5900. {
  5901. "type": "integer",
  5902. "description": "登录账号",
  5903. "name": "loginID",
  5904. "in": "query",
  5905. "required": true
  5906. }
  5907. ],
  5908. "responses": {
  5909. "200": {
  5910. "description": "OK",
  5911. "schema": {
  5912. "$ref": "#/definitions/models.Market"
  5913. }
  5914. },
  5915. "500": {
  5916. "description": "Internal Server Error",
  5917. "schema": {
  5918. "$ref": "#/definitions/app.Response"
  5919. }
  5920. }
  5921. }
  5922. }
  5923. },
  5924. "/Order/QueryHisTradeDetail": {
  5925. "get": {
  5926. "security": [
  5927. {
  5928. "ApiKeyAuth": []
  5929. }
  5930. ],
  5931. "produces": [
  5932. "application/json"
  5933. ],
  5934. "tags": [
  5935. "通用单据"
  5936. ],
  5937. "summary": "历史成交单查询(合约市场)",
  5938. "parameters": [
  5939. {
  5940. "type": "string",
  5941. "description": "资金账户 - 格式:1,2,3",
  5942. "name": "accountID",
  5943. "in": "query",
  5944. "required": true
  5945. },
  5946. {
  5947. "type": "integer",
  5948. "description": "成交单号",
  5949. "name": "tradeID",
  5950. "in": "query"
  5951. },
  5952. {
  5953. "type": "integer",
  5954. "description": "委托单号",
  5955. "name": "orderID",
  5956. "in": "query"
  5957. },
  5958. {
  5959. "type": "string",
  5960. "description": "交易模式 - 格式:1,2,3",
  5961. "name": "tradeMode",
  5962. "in": "query"
  5963. },
  5964. {
  5965. "type": "integer",
  5966. "description": "委托单据类型",
  5967. "name": "buildType",
  5968. "in": "query"
  5969. },
  5970. {
  5971. "type": "string",
  5972. "description": "成交类别 - 格式:1,2,3",
  5973. "name": "tradeType",
  5974. "in": "query"
  5975. },
  5976. {
  5977. "type": "string",
  5978. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5979. "name": "startDate",
  5980. "in": "query"
  5981. },
  5982. {
  5983. "type": "string",
  5984. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5985. "name": "endDate",
  5986. "in": "query"
  5987. }
  5988. ],
  5989. "responses": {
  5990. "200": {
  5991. "description": "OK",
  5992. "schema": {
  5993. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5994. }
  5995. },
  5996. "500": {
  5997. "description": "Internal Server Error",
  5998. "schema": {
  5999. "$ref": "#/definitions/app.Response"
  6000. }
  6001. }
  6002. }
  6003. }
  6004. },
  6005. "/Order/QueryHisTradeOrderDetail": {
  6006. "get": {
  6007. "security": [
  6008. {
  6009. "ApiKeyAuth": []
  6010. }
  6011. ],
  6012. "produces": [
  6013. "application/json"
  6014. ],
  6015. "tags": [
  6016. "通用单据"
  6017. ],
  6018. "summary": "历史委托单查询请求(合约市场)",
  6019. "parameters": [
  6020. {
  6021. "type": "string",
  6022. "description": "资金账户 - 格式:1,2,3",
  6023. "name": "accountID",
  6024. "in": "query",
  6025. "required": true
  6026. },
  6027. {
  6028. "type": "string",
  6029. "description": "交易模式 - 格式:1,2,3",
  6030. "name": "tradeMode",
  6031. "in": "query"
  6032. },
  6033. {
  6034. "type": "string",
  6035. "description": "委托状态 - 格式:1,2,3",
  6036. "name": "orderStatus",
  6037. "in": "query"
  6038. },
  6039. {
  6040. "type": "integer",
  6041. "description": "委托单号",
  6042. "name": "orderID",
  6043. "in": "query"
  6044. },
  6045. {
  6046. "type": "string",
  6047. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6048. "name": "startDate",
  6049. "in": "query"
  6050. },
  6051. {
  6052. "type": "string",
  6053. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6054. "name": "endDate",
  6055. "in": "query"
  6056. }
  6057. ],
  6058. "responses": {
  6059. "200": {
  6060. "description": "OK",
  6061. "schema": {
  6062. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6063. }
  6064. },
  6065. "500": {
  6066. "description": "Internal Server Error",
  6067. "schema": {
  6068. "$ref": "#/definitions/app.Response"
  6069. }
  6070. }
  6071. }
  6072. }
  6073. },
  6074. "/Order/QueryTradeDetail": {
  6075. "get": {
  6076. "security": [
  6077. {
  6078. "ApiKeyAuth": []
  6079. }
  6080. ],
  6081. "produces": [
  6082. "application/json"
  6083. ],
  6084. "tags": [
  6085. "通用单据"
  6086. ],
  6087. "summary": "成交单查询(合约市场)",
  6088. "parameters": [
  6089. {
  6090. "type": "string",
  6091. "description": "资金账户 - 格式:1,2,3",
  6092. "name": "accountID",
  6093. "in": "query",
  6094. "required": true
  6095. },
  6096. {
  6097. "type": "integer",
  6098. "description": "成交单号",
  6099. "name": "tradeID",
  6100. "in": "query"
  6101. },
  6102. {
  6103. "type": "integer",
  6104. "description": "委托单号",
  6105. "name": "orderID",
  6106. "in": "query"
  6107. },
  6108. {
  6109. "type": "string",
  6110. "description": "交易模式 - 格式:1,2,3",
  6111. "name": "tradeMode",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "委托单据类型",
  6117. "name": "buildType",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "成交类别 - 格式:1,2,3",
  6123. "name": "tradeType",
  6124. "in": "query"
  6125. }
  6126. ],
  6127. "responses": {
  6128. "200": {
  6129. "description": "OK",
  6130. "schema": {
  6131. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6132. }
  6133. },
  6134. "500": {
  6135. "description": "Internal Server Error",
  6136. "schema": {
  6137. "$ref": "#/definitions/app.Response"
  6138. }
  6139. }
  6140. }
  6141. }
  6142. },
  6143. "/Order/QueryTradeOrderDetail": {
  6144. "get": {
  6145. "security": [
  6146. {
  6147. "ApiKeyAuth": []
  6148. }
  6149. ],
  6150. "produces": [
  6151. "application/json"
  6152. ],
  6153. "tags": [
  6154. "通用单据"
  6155. ],
  6156. "summary": "委托单查询请求(合约市场)",
  6157. "parameters": [
  6158. {
  6159. "type": "string",
  6160. "description": "资金账户 - 格式:1,2,3",
  6161. "name": "accountID",
  6162. "in": "query",
  6163. "required": true
  6164. },
  6165. {
  6166. "type": "string",
  6167. "description": "交易模式 - 格式:1,2,3",
  6168. "name": "tradeMode",
  6169. "in": "query"
  6170. },
  6171. {
  6172. "type": "string",
  6173. "description": "委托状态 - 格式:1,2,3",
  6174. "name": "orderStatus",
  6175. "in": "query"
  6176. },
  6177. {
  6178. "type": "integer",
  6179. "description": "委托单号",
  6180. "name": "orderID",
  6181. "in": "query"
  6182. }
  6183. ],
  6184. "responses": {
  6185. "200": {
  6186. "description": "OK",
  6187. "schema": {
  6188. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6189. }
  6190. },
  6191. "500": {
  6192. "description": "Internal Server Error",
  6193. "schema": {
  6194. "$ref": "#/definitions/app.Response"
  6195. }
  6196. }
  6197. }
  6198. }
  6199. },
  6200. "/Order/QueryTradePosition": {
  6201. "get": {
  6202. "security": [
  6203. {
  6204. "ApiKeyAuth": []
  6205. }
  6206. ],
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "通用单据"
  6212. ],
  6213. "summary": "持仓汇总查询(合约市场)",
  6214. "parameters": [
  6215. {
  6216. "type": "string",
  6217. "description": "资金账户 - 格式:1,2,3",
  6218. "name": "accountID",
  6219. "in": "query",
  6220. "required": true
  6221. },
  6222. {
  6223. "type": "string",
  6224. "description": "交易模式 - 格式:1,2,3",
  6225. "name": "tradeMode",
  6226. "in": "query"
  6227. }
  6228. ],
  6229. "responses": {
  6230. "200": {
  6231. "description": "OK",
  6232. "schema": {
  6233. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Quote/QueryHistoryDatas": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "行情服务"
  6257. ],
  6258. "summary": "查询行情历史数据",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6263. "name": "cycleType",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "string",
  6269. "description": "商品代码",
  6270. "name": "goodsCode",
  6271. "in": "query",
  6272. "required": true
  6273. },
  6274. {
  6275. "type": "string",
  6276. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6277. "name": "startTime",
  6278. "in": "query"
  6279. },
  6280. {
  6281. "type": "string",
  6282. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6283. "name": "endTime",
  6284. "in": "query"
  6285. },
  6286. {
  6287. "type": "integer",
  6288. "description": "条数",
  6289. "name": "count",
  6290. "in": "query"
  6291. },
  6292. {
  6293. "type": "boolean",
  6294. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6295. "name": "isAsc",
  6296. "in": "query"
  6297. }
  6298. ],
  6299. "responses": {
  6300. "200": {
  6301. "description": "OK",
  6302. "schema": {
  6303. "$ref": "#/definitions/quote.HistoryData"
  6304. }
  6305. },
  6306. "500": {
  6307. "description": "Internal Server Error",
  6308. "schema": {
  6309. "$ref": "#/definitions/app.Response"
  6310. }
  6311. }
  6312. }
  6313. }
  6314. },
  6315. "/Quote/QueryHistoryTikDatas": {
  6316. "get": {
  6317. "security": [
  6318. {
  6319. "ApiKeyAuth": []
  6320. }
  6321. ],
  6322. "produces": [
  6323. "application/json"
  6324. ],
  6325. "tags": [
  6326. "行情服务"
  6327. ],
  6328. "summary": "查询行情Tik数据",
  6329. "parameters": [
  6330. {
  6331. "type": "string",
  6332. "description": "商品代码",
  6333. "name": "goodsCode",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "string",
  6339. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6340. "name": "startTime",
  6341. "in": "query"
  6342. },
  6343. {
  6344. "type": "string",
  6345. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6346. "name": "endTime",
  6347. "in": "query"
  6348. },
  6349. {
  6350. "type": "integer",
  6351. "description": "条数",
  6352. "name": "count",
  6353. "in": "query"
  6354. },
  6355. {
  6356. "type": "boolean",
  6357. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6358. "name": "isAsc",
  6359. "in": "query"
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/quote.HistoryTikData"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/Quote/QueryQuoteDay": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "行情服务"
  6390. ],
  6391. "summary": "获取商品盘面信息",
  6392. "parameters": [
  6393. {
  6394. "type": "string",
  6395. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6396. "name": "goodsCodes",
  6397. "in": "query",
  6398. "required": true
  6399. }
  6400. ],
  6401. "responses": {
  6402. "200": {
  6403. "description": "OK",
  6404. "schema": {
  6405. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6406. }
  6407. },
  6408. "500": {
  6409. "description": "Internal Server Error",
  6410. "schema": {
  6411. "$ref": "#/definitions/app.Response"
  6412. }
  6413. }
  6414. }
  6415. }
  6416. },
  6417. "/Quote/QueryTSData": {
  6418. "get": {
  6419. "security": [
  6420. {
  6421. "ApiKeyAuth": []
  6422. }
  6423. ],
  6424. "produces": [
  6425. "application/json"
  6426. ],
  6427. "tags": [
  6428. "行情服务"
  6429. ],
  6430. "summary": "分时图数据查询",
  6431. "parameters": [
  6432. {
  6433. "type": "string",
  6434. "description": "商品代码",
  6435. "name": "goodsCode",
  6436. "in": "query",
  6437. "required": true
  6438. }
  6439. ],
  6440. "responses": {
  6441. "200": {
  6442. "description": "OK",
  6443. "schema": {
  6444. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6445. }
  6446. },
  6447. "500": {
  6448. "description": "Internal Server Error",
  6449. "schema": {
  6450. "$ref": "#/definitions/app.Response"
  6451. }
  6452. }
  6453. }
  6454. }
  6455. },
  6456. "/SZDZ/QueryConvertConfig": {
  6457. "get": {
  6458. "security": [
  6459. {
  6460. "ApiKeyAuth": []
  6461. }
  6462. ],
  6463. "produces": [
  6464. "application/json"
  6465. ],
  6466. "tags": [
  6467. "定制【尚志大宗】"
  6468. ],
  6469. "summary": "查询交易系统转换设置",
  6470. "parameters": [
  6471. {
  6472. "type": "integer",
  6473. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6474. "name": "convertType",
  6475. "in": "query"
  6476. },
  6477. {
  6478. "type": "string",
  6479. "description": "外部商品代码[JD\\PD]",
  6480. "name": "outerGoodsCode",
  6481. "in": "query"
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "内部商品ID列表[交易],格式:1,2,3",
  6486. "name": "innerGoodsIDs",
  6487. "in": "query"
  6488. }
  6489. ],
  6490. "responses": {
  6491. "200": {
  6492. "description": "OK",
  6493. "schema": {
  6494. "$ref": "#/definitions/models.Szdz3convertconfig"
  6495. }
  6496. },
  6497. "500": {
  6498. "description": "Internal Server Error",
  6499. "schema": {
  6500. "$ref": "#/definitions/app.Response"
  6501. }
  6502. }
  6503. }
  6504. }
  6505. },
  6506. "/SZDZ/QueryConvertLog": {
  6507. "get": {
  6508. "security": [
  6509. {
  6510. "ApiKeyAuth": []
  6511. }
  6512. ],
  6513. "produces": [
  6514. "application/json"
  6515. ],
  6516. "tags": [
  6517. "定制【尚志大宗】"
  6518. ],
  6519. "summary": "交易系统转换流水查询",
  6520. "parameters": [
  6521. {
  6522. "type": "string",
  6523. "description": "资金账户 - 格式:1,2,3",
  6524. "name": "accountID",
  6525. "in": "query",
  6526. "required": true
  6527. },
  6528. {
  6529. "type": "string",
  6530. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6531. "name": "startDate",
  6532. "in": "query"
  6533. },
  6534. {
  6535. "type": "string",
  6536. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6537. "name": "endDate",
  6538. "in": "query"
  6539. }
  6540. ],
  6541. "responses": {
  6542. "200": {
  6543. "description": "OK",
  6544. "schema": {
  6545. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6546. }
  6547. },
  6548. "500": {
  6549. "description": "Internal Server Error",
  6550. "schema": {
  6551. "$ref": "#/definitions/app.Response"
  6552. }
  6553. }
  6554. }
  6555. }
  6556. },
  6557. "/SZDZ/QueryGoodsPickup": {
  6558. "get": {
  6559. "security": [
  6560. {
  6561. "ApiKeyAuth": []
  6562. }
  6563. ],
  6564. "produces": [
  6565. "application/json"
  6566. ],
  6567. "tags": [
  6568. "定制【尚志大宗】"
  6569. ],
  6570. "summary": "商品提货单查询",
  6571. "parameters": [
  6572. {
  6573. "type": "string",
  6574. "description": "资金账户 - 格式:1,2,3",
  6575. "name": "accountID",
  6576. "in": "query",
  6577. "required": true
  6578. },
  6579. {
  6580. "type": "integer",
  6581. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6582. "name": "takeOrderStatus",
  6583. "in": "query"
  6584. }
  6585. ],
  6586. "responses": {
  6587. "200": {
  6588. "description": "OK",
  6589. "schema": {
  6590. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6591. }
  6592. },
  6593. "500": {
  6594. "description": "Internal Server Error",
  6595. "schema": {
  6596. "$ref": "#/definitions/app.Response"
  6597. }
  6598. }
  6599. }
  6600. }
  6601. },
  6602. "/SZDZ/QueryRecieptOrder": {
  6603. "get": {
  6604. "security": [
  6605. {
  6606. "ApiKeyAuth": []
  6607. }
  6608. ],
  6609. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6610. "produces": [
  6611. "application/json"
  6612. ],
  6613. "tags": [
  6614. "定制【尚志大宗】"
  6615. ],
  6616. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6617. "parameters": [
  6618. {
  6619. "type": "integer",
  6620. "description": "页码",
  6621. "name": "page",
  6622. "in": "query"
  6623. },
  6624. {
  6625. "type": "integer",
  6626. "description": "每页条数",
  6627. "name": "pagesize",
  6628. "in": "query"
  6629. },
  6630. {
  6631. "type": "integer",
  6632. "description": "商品ID",
  6633. "name": "goodsID",
  6634. "in": "query",
  6635. "required": true
  6636. },
  6637. {
  6638. "type": "string",
  6639. "description": "所属账户名称",
  6640. "name": "accountName",
  6641. "in": "query"
  6642. },
  6643. {
  6644. "type": "integer",
  6645. "description": "市场ID",
  6646. "name": "marketID",
  6647. "in": "query"
  6648. },
  6649. {
  6650. "type": "integer",
  6651. "description": "方向 - 0:买 1:卖",
  6652. "name": "buyorsell",
  6653. "in": "query",
  6654. "required": true
  6655. }
  6656. ],
  6657. "responses": {
  6658. "200": {
  6659. "description": "OK",
  6660. "schema": {
  6661. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6662. }
  6663. },
  6664. "500": {
  6665. "description": "Internal Server Error",
  6666. "schema": {
  6667. "$ref": "#/definitions/app.Response"
  6668. }
  6669. }
  6670. }
  6671. }
  6672. },
  6673. "/SZDZ/QuerySZDZTradePosition": {
  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": "资金账户",
  6691. "name": "accountID",
  6692. "in": "query",
  6693. "required": true
  6694. }
  6695. ],
  6696. "responses": {
  6697. "200": {
  6698. "description": "OK",
  6699. "schema": {
  6700. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6701. }
  6702. },
  6703. "500": {
  6704. "description": "Internal Server Error",
  6705. "schema": {
  6706. "$ref": "#/definitions/app.Response"
  6707. }
  6708. }
  6709. }
  6710. }
  6711. },
  6712. "/SZDZ/SearchWhite": {
  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": "用户ID",
  6730. "name": "userID",
  6731. "in": "query",
  6732. "required": true
  6733. }
  6734. ],
  6735. "responses": {
  6736. "200": {
  6737. "description": "OK",
  6738. "schema": {
  6739. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6740. }
  6741. },
  6742. "500": {
  6743. "description": "Internal Server Error",
  6744. "schema": {
  6745. "$ref": "#/definitions/app.Response"
  6746. }
  6747. }
  6748. }
  6749. }
  6750. },
  6751. "/Search/SearchGoodses": {
  6752. "get": {
  6753. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6754. "produces": [
  6755. "application/json"
  6756. ],
  6757. "tags": [
  6758. "检索服务"
  6759. ],
  6760. "summary": "检索商品信息",
  6761. "parameters": [
  6762. {
  6763. "type": "string",
  6764. "description": "检索内容",
  6765. "name": "content",
  6766. "in": "query",
  6767. "required": true
  6768. },
  6769. {
  6770. "type": "string",
  6771. "description": "交易模式,格式:1,2,3",
  6772. "name": "tradeModes",
  6773. "in": "query"
  6774. }
  6775. ],
  6776. "responses": {
  6777. "200": {
  6778. "description": "OK",
  6779. "schema": {
  6780. "$ref": "#/definitions/models.SearchGoods"
  6781. }
  6782. },
  6783. "500": {
  6784. "description": "Internal Server Error",
  6785. "schema": {
  6786. "$ref": "#/definitions/app.Response"
  6787. }
  6788. }
  6789. }
  6790. }
  6791. },
  6792. "/TaAccount/GetTaAccounts": {
  6793. "get": {
  6794. "security": [
  6795. {
  6796. "ApiKeyAuth": []
  6797. }
  6798. ],
  6799. "produces": [
  6800. "application/json"
  6801. ],
  6802. "tags": [
  6803. "资金账户"
  6804. ],
  6805. "summary": "获取资金账户信息",
  6806. "parameters": [
  6807. {
  6808. "type": "integer",
  6809. "description": "登录账户",
  6810. "name": "loginID",
  6811. "in": "query",
  6812. "required": true
  6813. },
  6814. {
  6815. "type": "integer",
  6816. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6817. "name": "taAccountType",
  6818. "in": "query"
  6819. }
  6820. ],
  6821. "responses": {
  6822. "200": {
  6823. "description": "OK",
  6824. "schema": {
  6825. "$ref": "#/definitions/models.Taaccount"
  6826. }
  6827. },
  6828. "500": {
  6829. "description": "Internal Server Error",
  6830. "schema": {
  6831. "$ref": "#/definitions/app.Response"
  6832. }
  6833. }
  6834. }
  6835. }
  6836. },
  6837. "/TaAccount/QueryAmountLog": {
  6838. "get": {
  6839. "security": [
  6840. {
  6841. "ApiKeyAuth": []
  6842. }
  6843. ],
  6844. "produces": [
  6845. "application/json"
  6846. ],
  6847. "tags": [
  6848. "资金账户"
  6849. ],
  6850. "summary": "资金流水查询(当前)",
  6851. "parameters": [
  6852. {
  6853. "type": "integer",
  6854. "description": "页码",
  6855. "name": "page",
  6856. "in": "query"
  6857. },
  6858. {
  6859. "type": "integer",
  6860. "description": "每页条数",
  6861. "name": "pagesize",
  6862. "in": "query"
  6863. },
  6864. {
  6865. "type": "string",
  6866. "description": "资金账户 - 格式:1,2,3",
  6867. "name": "accountID",
  6868. "in": "query",
  6869. "required": true
  6870. },
  6871. {
  6872. "type": "string",
  6873. "description": "资金操作类型 - 格式:1,2,3",
  6874. "name": "OperateType",
  6875. "in": "query"
  6876. }
  6877. ],
  6878. "responses": {
  6879. "200": {
  6880. "description": "OK",
  6881. "schema": {
  6882. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6883. }
  6884. },
  6885. "500": {
  6886. "description": "Internal Server Error",
  6887. "schema": {
  6888. "$ref": "#/definitions/app.Response"
  6889. }
  6890. }
  6891. }
  6892. }
  6893. },
  6894. "/TaAccount/QueryHisAmountLog": {
  6895. "get": {
  6896. "security": [
  6897. {
  6898. "ApiKeyAuth": []
  6899. }
  6900. ],
  6901. "produces": [
  6902. "application/json"
  6903. ],
  6904. "tags": [
  6905. "资金账户"
  6906. ],
  6907. "summary": "资金流水查询(历史)",
  6908. "parameters": [
  6909. {
  6910. "type": "integer",
  6911. "description": "页码",
  6912. "name": "page",
  6913. "in": "query"
  6914. },
  6915. {
  6916. "type": "integer",
  6917. "description": "每页条数",
  6918. "name": "pagesize",
  6919. "in": "query"
  6920. },
  6921. {
  6922. "type": "string",
  6923. "description": "资金账户 - 格式:1,2,3",
  6924. "name": "accountID",
  6925. "in": "query",
  6926. "required": true
  6927. },
  6928. {
  6929. "type": "string",
  6930. "description": "资金操作类型 - 格式:1,2,3",
  6931. "name": "OperateType",
  6932. "in": "query"
  6933. },
  6934. {
  6935. "type": "string",
  6936. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6937. "name": "startDate",
  6938. "in": "query"
  6939. },
  6940. {
  6941. "type": "string",
  6942. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6943. "name": "endDate",
  6944. "in": "query"
  6945. }
  6946. ],
  6947. "responses": {
  6948. "200": {
  6949. "description": "OK",
  6950. "schema": {
  6951. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6952. }
  6953. },
  6954. "500": {
  6955. "description": "Internal Server Error",
  6956. "schema": {
  6957. "$ref": "#/definitions/app.Response"
  6958. }
  6959. }
  6960. }
  6961. }
  6962. },
  6963. "/Trade/QueryRecieptOrder": {
  6964. "get": {
  6965. "security": [
  6966. {
  6967. "ApiKeyAuth": []
  6968. }
  6969. ],
  6970. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6971. "produces": [
  6972. "application/json"
  6973. ],
  6974. "tags": [
  6975. "通用交易"
  6976. ],
  6977. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6978. "parameters": [
  6979. {
  6980. "type": "integer",
  6981. "description": "页码",
  6982. "name": "page",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "每页条数",
  6988. "name": "pagesize",
  6989. "in": "query"
  6990. },
  6991. {
  6992. "type": "integer",
  6993. "description": "商品ID",
  6994. "name": "goodsID",
  6995. "in": "query",
  6996. "required": true
  6997. },
  6998. {
  6999. "type": "string",
  7000. "description": "所属账户名称",
  7001. "name": "accountName",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "integer",
  7006. "description": "市场ID",
  7007. "name": "marketID",
  7008. "in": "query"
  7009. },
  7010. {
  7011. "type": "integer",
  7012. "description": "方向 - 0:买 1:卖",
  7013. "name": "buyorsell",
  7014. "in": "query",
  7015. "required": true
  7016. }
  7017. ],
  7018. "responses": {
  7019. "200": {
  7020. "description": "OK",
  7021. "schema": {
  7022. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7023. }
  7024. },
  7025. "500": {
  7026. "description": "Internal Server Error",
  7027. "schema": {
  7028. "$ref": "#/definitions/app.Response"
  7029. }
  7030. }
  7031. }
  7032. }
  7033. },
  7034. "/User/AddMessageBoard": {
  7035. "post": {
  7036. "security": [
  7037. {
  7038. "ApiKeyAuth": []
  7039. }
  7040. ],
  7041. "produces": [
  7042. "application/json"
  7043. ],
  7044. "tags": [
  7045. "用户信息"
  7046. ],
  7047. "summary": "添加用户留言板信息",
  7048. "parameters": [
  7049. {
  7050. "type": "integer",
  7051. "description": "用户ID",
  7052. "name": "userID",
  7053. "in": "query",
  7054. "required": true
  7055. },
  7056. {
  7057. "type": "string",
  7058. "description": "留言信息",
  7059. "name": "message",
  7060. "in": "query",
  7061. "required": true
  7062. },
  7063. {
  7064. "type": "string",
  7065. "description": "联系电话",
  7066. "name": "contactNum",
  7067. "in": "query",
  7068. "required": true
  7069. }
  7070. ],
  7071. "responses": {
  7072. "200": {
  7073. "description": "OK",
  7074. "schema": {
  7075. "$ref": "#/definitions/app.Response"
  7076. }
  7077. },
  7078. "500": {
  7079. "description": "Internal Server Error",
  7080. "schema": {
  7081. "$ref": "#/definitions/app.Response"
  7082. }
  7083. }
  7084. }
  7085. }
  7086. },
  7087. "/User/AddUserFavoriteGoods": {
  7088. "post": {
  7089. "security": [
  7090. {
  7091. "ApiKeyAuth": []
  7092. }
  7093. ],
  7094. "produces": [
  7095. "application/json"
  7096. ],
  7097. "tags": [
  7098. "用户信息"
  7099. ],
  7100. "summary": "添加用户商品收藏信息",
  7101. "parameters": [
  7102. {
  7103. "type": "integer",
  7104. "description": "用户ID",
  7105. "name": "userID",
  7106. "in": "query",
  7107. "required": true
  7108. },
  7109. {
  7110. "type": "integer",
  7111. "description": "商品ID",
  7112. "name": "goodsID",
  7113. "in": "query",
  7114. "required": true
  7115. }
  7116. ],
  7117. "responses": {
  7118. "200": {
  7119. "description": "OK",
  7120. "schema": {
  7121. "$ref": "#/definitions/app.Response"
  7122. }
  7123. },
  7124. "500": {
  7125. "description": "Internal Server Error",
  7126. "schema": {
  7127. "$ref": "#/definitions/app.Response"
  7128. }
  7129. }
  7130. }
  7131. }
  7132. },
  7133. "/User/GetLoginID": {
  7134. "get": {
  7135. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7136. "produces": [
  7137. "application/json"
  7138. ],
  7139. "tags": [
  7140. "用户信息"
  7141. ],
  7142. "summary": "获取登录ID",
  7143. "parameters": [
  7144. {
  7145. "type": "string",
  7146. "description": "登录代码",
  7147. "name": "username",
  7148. "in": "query",
  7149. "required": true
  7150. }
  7151. ],
  7152. "responses": {
  7153. "200": {
  7154. "description": "OK",
  7155. "schema": {
  7156. "$ref": "#/definitions/app.Response"
  7157. }
  7158. },
  7159. "500": {
  7160. "description": "Internal Server Error",
  7161. "schema": {
  7162. "$ref": "#/definitions/app.Response"
  7163. }
  7164. }
  7165. }
  7166. }
  7167. },
  7168. "/User/GetUserAccount": {
  7169. "get": {
  7170. "security": [
  7171. {
  7172. "ApiKeyAuth": []
  7173. }
  7174. ],
  7175. "produces": [
  7176. "application/json"
  7177. ],
  7178. "tags": [
  7179. "用户信息"
  7180. ],
  7181. "summary": "获取用户账号信息",
  7182. "parameters": [
  7183. {
  7184. "type": "integer",
  7185. "description": "用户ID",
  7186. "name": "userID",
  7187. "in": "query",
  7188. "required": true
  7189. }
  7190. ],
  7191. "responses": {
  7192. "200": {
  7193. "description": "OK",
  7194. "schema": {
  7195. "$ref": "#/definitions/models.Useraccount"
  7196. }
  7197. },
  7198. "500": {
  7199. "description": "Internal Server Error",
  7200. "schema": {
  7201. "$ref": "#/definitions/app.Response"
  7202. }
  7203. }
  7204. }
  7205. }
  7206. },
  7207. "/User/GetUserAuthStatus": {
  7208. "get": {
  7209. "security": [
  7210. {
  7211. "ApiKeyAuth": []
  7212. }
  7213. ],
  7214. "produces": [
  7215. "application/json"
  7216. ],
  7217. "tags": [
  7218. "用户信息"
  7219. ],
  7220. "summary": "获取用户实名认证状态",
  7221. "parameters": [
  7222. {
  7223. "type": "integer",
  7224. "description": "用户ID",
  7225. "name": "userID",
  7226. "in": "query",
  7227. "required": true
  7228. }
  7229. ],
  7230. "responses": {
  7231. "200": {
  7232. "description": "OK",
  7233. "schema": {
  7234. "$ref": "#/definitions/app.Response"
  7235. }
  7236. },
  7237. "500": {
  7238. "description": "Internal Server Error",
  7239. "schema": {
  7240. "$ref": "#/definitions/app.Response"
  7241. }
  7242. }
  7243. }
  7244. }
  7245. },
  7246. "/User/LoginQuery": {
  7247. "get": {
  7248. "security": [
  7249. {
  7250. "ApiKeyAuth": []
  7251. }
  7252. ],
  7253. "produces": [
  7254. "application/json"
  7255. ],
  7256. "tags": [
  7257. "用户信息"
  7258. ],
  7259. "summary": "账户登录后信息查询",
  7260. "parameters": [
  7261. {
  7262. "type": "integer",
  7263. "description": "登录账号",
  7264. "name": "loginID",
  7265. "in": "query",
  7266. "required": true
  7267. }
  7268. ],
  7269. "responses": {
  7270. "200": {
  7271. "description": "OK",
  7272. "schema": {
  7273. "$ref": "#/definitions/user.LoginQueryRsp"
  7274. }
  7275. },
  7276. "500": {
  7277. "description": "Internal Server Error",
  7278. "schema": {
  7279. "$ref": "#/definitions/app.Response"
  7280. }
  7281. }
  7282. }
  7283. }
  7284. },
  7285. "/User/QueryMessageBoard": {
  7286. "get": {
  7287. "security": [
  7288. {
  7289. "ApiKeyAuth": []
  7290. }
  7291. ],
  7292. "produces": [
  7293. "application/json"
  7294. ],
  7295. "tags": [
  7296. "用户信息"
  7297. ],
  7298. "summary": "获取用户留言板信息",
  7299. "parameters": [
  7300. {
  7301. "type": "integer",
  7302. "description": "用户ID",
  7303. "name": "userID",
  7304. "in": "query",
  7305. "required": true
  7306. }
  7307. ],
  7308. "responses": {
  7309. "200": {
  7310. "description": "OK",
  7311. "schema": {
  7312. "$ref": "#/definitions/models.Messageboard"
  7313. }
  7314. },
  7315. "500": {
  7316. "description": "Internal Server Error",
  7317. "schema": {
  7318. "$ref": "#/definitions/app.Response"
  7319. }
  7320. }
  7321. }
  7322. }
  7323. },
  7324. "/User/QueryUserFavoriteGoodses": {
  7325. "get": {
  7326. "security": [
  7327. {
  7328. "ApiKeyAuth": []
  7329. }
  7330. ],
  7331. "produces": [
  7332. "application/json"
  7333. ],
  7334. "tags": [
  7335. "用户信息"
  7336. ],
  7337. "summary": "获取用户商品收藏信息",
  7338. "parameters": [
  7339. {
  7340. "type": "integer",
  7341. "description": "用户ID",
  7342. "name": "userID",
  7343. "in": "query",
  7344. "required": true
  7345. }
  7346. ],
  7347. "responses": {
  7348. "200": {
  7349. "description": "OK",
  7350. "schema": {
  7351. "$ref": "#/definitions/models.Userfavoritegoods"
  7352. }
  7353. },
  7354. "500": {
  7355. "description": "Internal Server Error",
  7356. "schema": {
  7357. "$ref": "#/definitions/app.Response"
  7358. }
  7359. }
  7360. }
  7361. }
  7362. },
  7363. "/User/QueryUserInfo": {
  7364. "get": {
  7365. "security": [
  7366. {
  7367. "ApiKeyAuth": []
  7368. }
  7369. ],
  7370. "produces": [
  7371. "application/json"
  7372. ],
  7373. "tags": [
  7374. "用户信息"
  7375. ],
  7376. "summary": "获取用户信息",
  7377. "parameters": [
  7378. {
  7379. "type": "integer",
  7380. "description": "用户ID",
  7381. "name": "userID",
  7382. "in": "query",
  7383. "required": true
  7384. },
  7385. {
  7386. "type": "boolean",
  7387. "description": "是否解密",
  7388. "name": "isDecrypt",
  7389. "in": "query"
  7390. }
  7391. ],
  7392. "responses": {
  7393. "200": {
  7394. "description": "OK",
  7395. "schema": {
  7396. "$ref": "#/definitions/models.Userinfo"
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/User/QueryUserReferNum": {
  7409. "get": {
  7410. "produces": [
  7411. "application/json"
  7412. ],
  7413. "tags": [
  7414. "用户信息"
  7415. ],
  7416. "summary": "获取用户邀请码",
  7417. "parameters": [
  7418. {
  7419. "type": "integer",
  7420. "description": "用户ID",
  7421. "name": "userID",
  7422. "in": "query",
  7423. "required": true
  7424. }
  7425. ],
  7426. "responses": {
  7427. "200": {
  7428. "description": "OK",
  7429. "schema": {
  7430. "$ref": "#/definitions/app.Response"
  7431. }
  7432. },
  7433. "500": {
  7434. "description": "Internal Server Error",
  7435. "schema": {
  7436. "$ref": "#/definitions/app.Response"
  7437. }
  7438. }
  7439. }
  7440. }
  7441. },
  7442. "/User/RemoveUserFavoriteGoods": {
  7443. "post": {
  7444. "security": [
  7445. {
  7446. "ApiKeyAuth": []
  7447. }
  7448. ],
  7449. "produces": [
  7450. "application/json"
  7451. ],
  7452. "tags": [
  7453. "用户信息"
  7454. ],
  7455. "summary": "移除用户商品收藏信息",
  7456. "parameters": [
  7457. {
  7458. "type": "integer",
  7459. "description": "用户ID",
  7460. "name": "userID",
  7461. "in": "query",
  7462. "required": true
  7463. },
  7464. {
  7465. "type": "integer",
  7466. "description": "商品ID",
  7467. "name": "goodsID",
  7468. "in": "query",
  7469. "required": true
  7470. }
  7471. ],
  7472. "responses": {
  7473. "200": {
  7474. "description": "OK",
  7475. "schema": {
  7476. "$ref": "#/definitions/app.Response"
  7477. }
  7478. },
  7479. "500": {
  7480. "description": "Internal Server Error",
  7481. "schema": {
  7482. "$ref": "#/definitions/app.Response"
  7483. }
  7484. }
  7485. }
  7486. }
  7487. },
  7488. "/User/UpdateUserAccountStatus": {
  7489. "post": {
  7490. "security": [
  7491. {
  7492. "ApiKeyAuth": []
  7493. }
  7494. ],
  7495. "produces": [
  7496. "application/json"
  7497. ],
  7498. "tags": [
  7499. "用户信息"
  7500. ],
  7501. "summary": "更新用户状态",
  7502. "parameters": [
  7503. {
  7504. "type": "integer",
  7505. "description": "用户ID",
  7506. "name": "userID",
  7507. "in": "query",
  7508. "required": true
  7509. },
  7510. {
  7511. "type": "integer",
  7512. "description": "账户状态 - 4:正常 6:注销(停用)",
  7513. "name": "accountStatus",
  7514. "in": "query",
  7515. "required": true
  7516. }
  7517. ],
  7518. "responses": {
  7519. "200": {
  7520. "description": "OK",
  7521. "schema": {
  7522. "$ref": "#/definitions/app.Response"
  7523. }
  7524. },
  7525. "500": {
  7526. "description": "Internal Server Error",
  7527. "schema": {
  7528. "$ref": "#/definitions/app.Response"
  7529. }
  7530. }
  7531. }
  7532. }
  7533. },
  7534. "/WR/GetWRCategoryInfo": {
  7535. "get": {
  7536. "produces": [
  7537. "application/json"
  7538. ],
  7539. "tags": [
  7540. "仓单服务"
  7541. ],
  7542. "summary": "获取现货分类信息",
  7543. "responses": {
  7544. "200": {
  7545. "description": "OK",
  7546. "schema": {
  7547. "$ref": "#/definitions/models.WRCategoryTree"
  7548. }
  7549. },
  7550. "500": {
  7551. "description": "Internal Server Error",
  7552. "schema": {
  7553. "$ref": "#/definitions/app.Response"
  7554. }
  7555. }
  7556. }
  7557. }
  7558. },
  7559. "/WRTrade/GetAllDeliveryGoods": {
  7560. "get": {
  7561. "security": [
  7562. {
  7563. "ApiKeyAuth": []
  7564. },
  7565. {
  7566. "ApiKeyAuth": []
  7567. }
  7568. ],
  7569. "produces": [
  7570. "application/json",
  7571. "application/json"
  7572. ],
  7573. "tags": [
  7574. "仓单贸易",
  7575. "仓单贸易"
  7576. ],
  7577. "summary": "获取带仓单分类的种类信息",
  7578. "responses": {
  7579. "200": {
  7580. "description": "OK",
  7581. "schema": {
  7582. "$ref": "#/definitions/app.Response"
  7583. }
  7584. },
  7585. "500": {
  7586. "description": "Internal Server Error",
  7587. "schema": {
  7588. "$ref": "#/definitions/app.Response"
  7589. }
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "definitions": {
  7596. "app.Response": {
  7597. "type": "object",
  7598. "properties": {
  7599. "code": {
  7600. "type": "integer"
  7601. },
  7602. "data": {
  7603. "type": "object"
  7604. },
  7605. "msg": {
  7606. "type": "string"
  7607. },
  7608. "page": {
  7609. "description": "页码",
  7610. "type": "integer"
  7611. },
  7612. "pagesize": {
  7613. "description": "每页条数",
  7614. "type": "integer"
  7615. },
  7616. "total": {
  7617. "description": "总条数",
  7618. "type": "integer"
  7619. }
  7620. }
  7621. },
  7622. "common.ClientMenu": {
  7623. "type": "object",
  7624. "properties": {
  7625. "children": {
  7626. "description": "子菜单列表",
  7627. "type": "array",
  7628. "items": {
  7629. "$ref": "#/definitions/common.ClientMenu"
  7630. }
  7631. },
  7632. "code": {
  7633. "description": "ID",
  7634. "type": "string"
  7635. },
  7636. "isshow": {
  7637. "description": "是否显示",
  7638. "type": "boolean"
  7639. },
  7640. "rulekey": {
  7641. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7642. "type": "string"
  7643. },
  7644. "sort": {
  7645. "description": "排序",
  7646. "type": "integer"
  7647. },
  7648. "title": {
  7649. "description": "标题",
  7650. "type": "string"
  7651. },
  7652. "type": {
  7653. "description": "类型,1:菜单 2:按钮",
  7654. "type": "integer"
  7655. }
  7656. }
  7657. },
  7658. "common.QueryImageConfigsRsp": {
  7659. "type": "object",
  7660. "required": [
  7661. "configid"
  7662. ],
  7663. "properties": {
  7664. "areauserid": {
  7665. "description": "所属机构ID",
  7666. "type": "integer"
  7667. },
  7668. "configid": {
  7669. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7670. "type": "integer"
  7671. },
  7672. "createdate": {
  7673. "description": "创建时间",
  7674. "type": "string"
  7675. },
  7676. "creatorid": {
  7677. "description": "创建人",
  7678. "type": "integer"
  7679. },
  7680. "imagepath": {
  7681. "description": "图片",
  7682. "type": "string"
  7683. },
  7684. "imagetype": {
  7685. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7686. "type": "integer"
  7687. },
  7688. "isshow": {
  7689. "description": "是否展示 - 0:不展示 1:展示",
  7690. "type": "integer"
  7691. },
  7692. "marketid": {
  7693. "description": "市场ID",
  7694. "type": "integer"
  7695. },
  7696. "modifierid": {
  7697. "description": "操作人",
  7698. "type": "integer"
  7699. },
  7700. "sort": {
  7701. "description": "排序",
  7702. "type": "integer"
  7703. },
  7704. "title": {
  7705. "description": "标题",
  7706. "type": "string"
  7707. },
  7708. "trademode": {
  7709. "description": "交易模式",
  7710. "type": "integer"
  7711. },
  7712. "updatedate": {
  7713. "description": "修改时间",
  7714. "type": "string"
  7715. },
  7716. "url": {
  7717. "description": "链接(地址或商品ID)",
  7718. "type": "string"
  7719. },
  7720. "urltype": {
  7721. "description": "链接类型 - 1:直接地址 2:商品ID",
  7722. "type": "integer"
  7723. }
  7724. }
  7725. },
  7726. "common.QueryNoticeRsp": {
  7727. "type": "object",
  7728. "required": [
  7729. "autoid"
  7730. ],
  7731. "properties": {
  7732. "auditoruserid": {
  7733. "description": "审核人",
  7734. "type": "integer"
  7735. },
  7736. "auditremark": {
  7737. "description": "审核备注",
  7738. "type": "string"
  7739. },
  7740. "audittime": {
  7741. "description": "审核日期",
  7742. "type": "string"
  7743. },
  7744. "autoid": {
  7745. "description": "自增ID",
  7746. "type": "integer"
  7747. },
  7748. "content": {
  7749. "description": "内容",
  7750. "type": "string"
  7751. },
  7752. "createtime": {
  7753. "description": "创建时间",
  7754. "type": "string"
  7755. },
  7756. "creatorid": {
  7757. "description": "建仓人",
  7758. "type": "integer"
  7759. },
  7760. "endtime": {
  7761. "description": "结束时间",
  7762. "type": "string"
  7763. },
  7764. "istop": {
  7765. "description": "是否置顶 - 0:不置顶 1:置顶",
  7766. "type": "integer"
  7767. },
  7768. "msgiconurl": {
  7769. "description": "消息图标Url",
  7770. "type": "string"
  7771. },
  7772. "msgtype": {
  7773. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7774. "type": "integer"
  7775. },
  7776. "publisher": {
  7777. "description": "消息发布者",
  7778. "type": "string"
  7779. },
  7780. "readed": {
  7781. "description": "是否已读",
  7782. "type": "boolean"
  7783. },
  7784. "scheduletime": {
  7785. "description": "计划发送时间",
  7786. "type": "string"
  7787. },
  7788. "sendtype": {
  7789. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7790. "type": "integer"
  7791. },
  7792. "sentstatus": {
  7793. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7794. "type": "integer"
  7795. },
  7796. "title": {
  7797. "description": "标题",
  7798. "type": "string"
  7799. },
  7800. "userid": {
  7801. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7802. "type": "integer"
  7803. }
  7804. }
  7805. },
  7806. "common.QueryProvincesAndCitiesRsp": {
  7807. "type": "object",
  7808. "properties": {
  7809. "cities": {
  7810. "description": "市",
  7811. "type": "array",
  7812. "items": {
  7813. "$ref": "#/definitions/models.Division"
  7814. }
  7815. },
  7816. "province": {
  7817. "description": "省",
  7818. "type": "object",
  7819. "$ref": "#/definitions/models.Division"
  7820. }
  7821. }
  7822. },
  7823. "common.QueryTableDefineRsp": {
  7824. "type": "object",
  7825. "required": [
  7826. "tablekey"
  7827. ],
  7828. "properties": {
  7829. "columns": {
  7830. "description": "列头信息数组",
  7831. "type": "array",
  7832. "items": {
  7833. "$ref": "#/definitions/models.Tablecolumnconfig"
  7834. }
  7835. },
  7836. "remark": {
  7837. "description": "Remark",
  7838. "type": "string"
  7839. },
  7840. "tabelmenu": {
  7841. "description": "列表菜单",
  7842. "type": "string"
  7843. },
  7844. "tablekey": {
  7845. "description": "列表Key",
  7846. "type": "string"
  7847. },
  7848. "tablename": {
  7849. "description": "列表名称",
  7850. "type": "string"
  7851. },
  7852. "tabletype": {
  7853. "description": "列表类型 - 1:管理端 2:终端",
  7854. "type": "integer"
  7855. }
  7856. }
  7857. },
  7858. "common.QueryTraderMenuRsp": {
  7859. "type": "object",
  7860. "properties": {
  7861. "OperationMenu": {
  7862. "description": "功能菜单",
  7863. "type": "array",
  7864. "items": {
  7865. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7866. }
  7867. },
  7868. "QuoteMenu": {
  7869. "description": "报价牌分类菜单",
  7870. "type": "array",
  7871. "items": {
  7872. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7873. }
  7874. }
  7875. }
  7876. },
  7877. "cptrade.Cptradepositioncancel": {
  7878. "type": "object",
  7879. "required": [
  7880. "cancelid"
  7881. ],
  7882. "properties": {
  7883. "accountid": {
  7884. "description": "申请人账户ID",
  7885. "type": "integer"
  7886. },
  7887. "applystatus": {
  7888. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7889. "type": "integer"
  7890. },
  7891. "applytime": {
  7892. "description": "申请时间",
  7893. "type": "string"
  7894. },
  7895. "cancelid": {
  7896. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7897. "type": "integer"
  7898. },
  7899. "cancelqty": {
  7900. "description": "注销数量",
  7901. "type": "integer"
  7902. },
  7903. "createtime": {
  7904. "description": "创建时间",
  7905. "type": "string"
  7906. },
  7907. "creatorid": {
  7908. "description": "创建人ID",
  7909. "type": "integer"
  7910. },
  7911. "creatorname": {
  7912. "description": "创建人",
  7913. "type": "string"
  7914. },
  7915. "goodscode": {
  7916. "description": "订单商品代码",
  7917. "type": "string"
  7918. },
  7919. "goodsid": {
  7920. "description": "商品ID",
  7921. "type": "integer"
  7922. },
  7923. "goodsname": {
  7924. "description": "订单商品名称",
  7925. "type": "string"
  7926. },
  7927. "goodunit": {
  7928. "description": "报价单位",
  7929. "type": "string"
  7930. },
  7931. "handlestatus": {
  7932. "description": "处理状态",
  7933. "type": "integer"
  7934. },
  7935. "marketid": {
  7936. "description": "市场ID",
  7937. "type": "integer"
  7938. },
  7939. "marketname": {
  7940. "description": "市场名称",
  7941. "type": "string"
  7942. },
  7943. "tradedate": {
  7944. "description": "交易日(yyyyMMdd)",
  7945. "type": "string"
  7946. },
  7947. "userid": {
  7948. "description": "申请人ID",
  7949. "type": "integer"
  7950. }
  7951. }
  7952. },
  7953. "cptrade.Cptradepresaleapply": {
  7954. "type": "object",
  7955. "required": [
  7956. "applyid"
  7957. ],
  7958. "properties": {
  7959. "accountid": {
  7960. "description": "申请人账户ID",
  7961. "type": "integer"
  7962. },
  7963. "applyid": {
  7964. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7965. "type": "integer"
  7966. },
  7967. "applyremark": {
  7968. "description": "申请备注",
  7969. "type": "string"
  7970. },
  7971. "applystatus": {
  7972. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7973. "type": "integer"
  7974. },
  7975. "applytime": {
  7976. "description": "申请时间",
  7977. "type": "string"
  7978. },
  7979. "attachmenturl": {
  7980. "description": "附件地址",
  7981. "type": "string"
  7982. },
  7983. "endtime": {
  7984. "description": "预售结束时间",
  7985. "type": "string"
  7986. },
  7987. "goodscode": {
  7988. "description": "商品代码",
  7989. "type": "string"
  7990. },
  7991. "goodsid": {
  7992. "description": "商品ID",
  7993. "type": "integer"
  7994. },
  7995. "goodsname": {
  7996. "description": "商品名称",
  7997. "type": "string"
  7998. },
  7999. "goodunit": {
  8000. "description": "报价单位",
  8001. "type": "string"
  8002. },
  8003. "handlestatus": {
  8004. "description": "处理状态",
  8005. "type": "integer"
  8006. },
  8007. "marketid": {
  8008. "description": "预售市场ID",
  8009. "type": "integer"
  8010. },
  8011. "marketname": {
  8012. "description": "预售市场名称",
  8013. "type": "string"
  8014. },
  8015. "presaleqty": {
  8016. "description": "预售数量",
  8017. "type": "integer"
  8018. },
  8019. "relatedgoodscode": {
  8020. "description": "关联交易合约代码",
  8021. "type": "string"
  8022. },
  8023. "relatedgoodsid": {
  8024. "description": "关联交易合约ID",
  8025. "type": "integer"
  8026. },
  8027. "relatedgoodsname": {
  8028. "description": "关联交易合约名称",
  8029. "type": "string"
  8030. },
  8031. "starttime": {
  8032. "description": "预售开始时间",
  8033. "type": "string"
  8034. },
  8035. "tradedate": {
  8036. "description": "交易日(yyyyMMdd)",
  8037. "type": "string"
  8038. },
  8039. "trademode": {
  8040. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8041. "type": "integer"
  8042. },
  8043. "userid": {
  8044. "description": "申请人ID",
  8045. "type": "integer"
  8046. }
  8047. }
  8048. },
  8049. "cptrade.Cptradeusergoodsdata": {
  8050. "type": "object",
  8051. "required": [
  8052. "accountid",
  8053. "goodsid"
  8054. ],
  8055. "properties": {
  8056. "EnabledQty": {
  8057. "description": "可用量",
  8058. "type": "integer"
  8059. },
  8060. "GoodsCode": {
  8061. "description": "订单商品代码",
  8062. "type": "string"
  8063. },
  8064. "GoodsName": {
  8065. "description": "订单商品名称",
  8066. "type": "string"
  8067. },
  8068. "WRStandardCode": {
  8069. "description": "仓单标准代码",
  8070. "type": "string"
  8071. },
  8072. "WRStandardName": {
  8073. "description": "仓单标准名称",
  8074. "type": "string"
  8075. },
  8076. "accountid": {
  8077. "description": "账户ID",
  8078. "type": "integer"
  8079. },
  8080. "cancelqty": {
  8081. "description": "注销量",
  8082. "type": "integer"
  8083. },
  8084. "curpresaleqty": {
  8085. "description": "当前预售量",
  8086. "type": "integer"
  8087. },
  8088. "deliveryqty": {
  8089. "description": "交割量",
  8090. "type": "integer"
  8091. },
  8092. "freezeamount": {
  8093. "description": "冻结金额",
  8094. "type": "number"
  8095. },
  8096. "goodsid": {
  8097. "description": "商品ID",
  8098. "type": "integer"
  8099. },
  8100. "goodunit": {
  8101. "description": "报价单位",
  8102. "type": "string"
  8103. },
  8104. "hasspotfreeze": {
  8105. "description": "是否有现货冻结 - 0:否 1:有",
  8106. "type": "integer"
  8107. },
  8108. "inqty": {
  8109. "description": "转入量(总数量)",
  8110. "type": "integer"
  8111. },
  8112. "marketid": {
  8113. "description": "市场ID",
  8114. "type": "integer"
  8115. },
  8116. "presaledamount": {
  8117. "description": "已预售总金额",
  8118. "type": "integer"
  8119. },
  8120. "presaledqty": {
  8121. "description": "已预售量",
  8122. "type": "integer"
  8123. },
  8124. "userid": {
  8125. "description": "用户ID",
  8126. "type": "integer"
  8127. },
  8128. "wrstandardid": {
  8129. "description": "仓单标准ID",
  8130. "type": "integer"
  8131. }
  8132. }
  8133. },
  8134. "cptrade.QueryCPTradeMyBidRsp": {
  8135. "type": "object",
  8136. "required": [
  8137. "accountid",
  8138. "goodsid",
  8139. "marketid",
  8140. "orderid",
  8141. "orderqty",
  8142. "ordertime",
  8143. "tradeprice",
  8144. "tradeqty"
  8145. ],
  8146. "properties": {
  8147. "accountid": {
  8148. "description": "账户ID[报价币种]",
  8149. "type": "integer"
  8150. },
  8151. "goodsid": {
  8152. "description": "商品ID",
  8153. "type": "integer"
  8154. },
  8155. "goodunit": {
  8156. "description": "报价单位",
  8157. "type": "string"
  8158. },
  8159. "marketid": {
  8160. "description": "市场ID",
  8161. "type": "integer"
  8162. },
  8163. "orderid": {
  8164. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8165. "type": "integer"
  8166. },
  8167. "orderprice": {
  8168. "description": "委托价格",
  8169. "type": "number"
  8170. },
  8171. "orderqty": {
  8172. "description": "委托数量",
  8173. "type": "integer"
  8174. },
  8175. "ordertime": {
  8176. "description": "委托时间",
  8177. "type": "string"
  8178. },
  8179. "ordertotalprice": {
  8180. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8181. "type": "number"
  8182. },
  8183. "ordertotalweight": {
  8184. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8185. "type": "integer"
  8186. },
  8187. "totaltotalprice": {
  8188. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8189. "type": "number"
  8190. },
  8191. "tradeprice": {
  8192. "description": "成交价格",
  8193. "type": "number"
  8194. },
  8195. "tradeqty": {
  8196. "description": "成交数量",
  8197. "type": "integer"
  8198. }
  8199. }
  8200. },
  8201. "cptrade.QueryCPTradeOrderDetailRsq": {
  8202. "type": "object",
  8203. "required": [
  8204. "accountid",
  8205. "buildtype",
  8206. "buyorsell",
  8207. "goodsid",
  8208. "marketid",
  8209. "memberuserid",
  8210. "operatetype",
  8211. "orderqty",
  8212. "ordertime",
  8213. "pricemode",
  8214. "strorderid",
  8215. "tradedate",
  8216. "validtype"
  8217. ],
  8218. "properties": {
  8219. "accountid": {
  8220. "description": "账户ID[报价币种]",
  8221. "type": "integer"
  8222. },
  8223. "buildtype": {
  8224. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8225. "type": "integer"
  8226. },
  8227. "buyorsell": {
  8228. "description": "买卖 - 0:买 1:卖",
  8229. "type": "integer"
  8230. },
  8231. "cancelorderid": {
  8232. "description": "撤单单号(撤单时填写)",
  8233. "type": "integer"
  8234. },
  8235. "cancelqty": {
  8236. "description": "撤单数量",
  8237. "type": "integer"
  8238. },
  8239. "clientordertime": {
  8240. "description": "客户端委托时间",
  8241. "type": "string"
  8242. },
  8243. "clientticket": {
  8244. "description": "客户端流水号",
  8245. "type": "string"
  8246. },
  8247. "clienttype": {
  8248. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8249. "type": "integer"
  8250. },
  8251. "closeexchagechargevalue": {
  8252. "description": "平仓交易所手续费设置值",
  8253. "type": "number"
  8254. },
  8255. "closefeealgorithm": {
  8256. "description": "平仓手续费收取方式 1:比率 2:固定",
  8257. "type": "integer"
  8258. },
  8259. "closefreezecharge": {
  8260. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8261. "type": "number"
  8262. },
  8263. "closememberchargevalue": {
  8264. "description": "平仓会员手续费设置值",
  8265. "type": "number"
  8266. },
  8267. "closeqty": {
  8268. "description": "平仓数量(先建后平操作 需要记录)",
  8269. "type": "integer"
  8270. },
  8271. "closetradeqty": {
  8272. "description": "平仓成交数量(先建后平操作,需要记录)",
  8273. "type": "integer"
  8274. },
  8275. "closeunfreezecharge": {
  8276. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8277. "type": "number"
  8278. },
  8279. "delistingtype": {
  8280. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8281. "type": "integer"
  8282. },
  8283. "freezecharge": {
  8284. "description": "冻结手续费",
  8285. "type": "number"
  8286. },
  8287. "freezemargin": {
  8288. "description": "冻结保证金(冻结交易金额)",
  8289. "type": "number"
  8290. },
  8291. "gcaccountid": {
  8292. "description": "账户ID[合约币种]",
  8293. "type": "integer"
  8294. },
  8295. "goodsid": {
  8296. "description": "商品ID",
  8297. "type": "integer"
  8298. },
  8299. "isconfirmexercise": {
  8300. "description": "是否确认行权- 0:否 1:是",
  8301. "type": "integer"
  8302. },
  8303. "ispreexercise": {
  8304. "description": "是否预申报- 0:否 1:是",
  8305. "type": "integer"
  8306. },
  8307. "listingselecttype": {
  8308. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8309. "type": "integer"
  8310. },
  8311. "marginalgorithm": {
  8312. "description": "保证金收取方式 1:比率 2:固定",
  8313. "type": "integer"
  8314. },
  8315. "marginvalue": {
  8316. "description": "即市保证金设置值",
  8317. "type": "number"
  8318. },
  8319. "marketid": {
  8320. "description": "市场ID",
  8321. "type": "integer"
  8322. },
  8323. "marketmaxsub": {
  8324. "description": "市价最大偏移范围",
  8325. "type": "number"
  8326. },
  8327. "memberuserid": {
  8328. "description": "所属会员UserID",
  8329. "type": "integer"
  8330. },
  8331. "openexchagechargevalue": {
  8332. "description": "建仓交易所手续费设置值",
  8333. "type": "number"
  8334. },
  8335. "openfeealgorithm": {
  8336. "description": "建仓手续费收取方式 1:比率 2:固定",
  8337. "type": "integer"
  8338. },
  8339. "openfreezecharge": {
  8340. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8341. "type": "number"
  8342. },
  8343. "openmemberchargevalue": {
  8344. "description": "建仓会员手续费设置值",
  8345. "type": "number"
  8346. },
  8347. "openqty": {
  8348. "description": "开仓数量(先建后平操作,需要记录)",
  8349. "type": "integer"
  8350. },
  8351. "opentradeqty": {
  8352. "description": "开仓成交数量(先建后平操作,需要记录)",
  8353. "type": "integer"
  8354. },
  8355. "openunfreezecharge": {
  8356. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8357. "type": "number"
  8358. },
  8359. "operatetype": {
  8360. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8361. "type": "integer"
  8362. },
  8363. "operatorid": {
  8364. "description": "登录账号(LoginID)",
  8365. "type": "integer"
  8366. },
  8367. "optiontype": {
  8368. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8369. "type": "integer"
  8370. },
  8371. "orderprice": {
  8372. "description": "委托价格",
  8373. "type": "number"
  8374. },
  8375. "orderqty": {
  8376. "description": "委托数量",
  8377. "type": "integer"
  8378. },
  8379. "ordersrc": {
  8380. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8381. "type": "integer"
  8382. },
  8383. "orderstatus": {
  8384. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8385. "type": "integer"
  8386. },
  8387. "ordertime": {
  8388. "description": "委托时间",
  8389. "type": "string"
  8390. },
  8391. "preexerciseprice": {
  8392. "description": "预申报价格",
  8393. "type": "number"
  8394. },
  8395. "premium": {
  8396. "description": "权利金",
  8397. "type": "number"
  8398. },
  8399. "preorderid": {
  8400. "description": "关联预埋单号(止盈止损单时填写)",
  8401. "type": "integer"
  8402. },
  8403. "pricemode": {
  8404. "description": "取价方式 - 1:市价 2: 限价",
  8405. "type": "integer"
  8406. },
  8407. "quoteid": {
  8408. "description": "报价单ID",
  8409. "type": "integer"
  8410. },
  8411. "relatedid": {
  8412. "description": "关联单号(交割单)",
  8413. "type": "integer"
  8414. },
  8415. "retcode": {
  8416. "description": "错误代码",
  8417. "type": "integer"
  8418. },
  8419. "sessionid": {
  8420. "description": "会话ID",
  8421. "type": "integer"
  8422. },
  8423. "strorderid": {
  8424. "description": "委托单号",
  8425. "type": "string"
  8426. },
  8427. "tradedate": {
  8428. "description": "交易日(yyyyMMdd)",
  8429. "type": "string"
  8430. },
  8431. "tradeproperty": {
  8432. "description": "交易属性",
  8433. "type": "integer"
  8434. },
  8435. "tradeqty": {
  8436. "description": "成交数量",
  8437. "type": "integer"
  8438. },
  8439. "unfreezecharge": {
  8440. "description": "解冻手续费",
  8441. "type": "number"
  8442. },
  8443. "unfreezemargin": {
  8444. "description": "解冻保证金",
  8445. "type": "number"
  8446. },
  8447. "updatetime": {
  8448. "description": "更新时间",
  8449. "type": "string"
  8450. },
  8451. "uuid": {
  8452. "description": "发起端唯一id",
  8453. "type": "string"
  8454. },
  8455. "validtime": {
  8456. "description": "有效期限",
  8457. "type": "string"
  8458. },
  8459. "validtype": {
  8460. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8461. "type": "integer"
  8462. },
  8463. "volumetype": {
  8464. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8465. "type": "integer"
  8466. }
  8467. }
  8468. },
  8469. "cptrade.QueryMyCPTradeGoodsRsp": {
  8470. "type": "object",
  8471. "required": [
  8472. "goodscode",
  8473. "goodsid",
  8474. "goodsname",
  8475. "marketid",
  8476. "relatedgoodscode",
  8477. "relatedgoodsname"
  8478. ],
  8479. "properties": {
  8480. "accountid": {
  8481. "description": "卖方账户ID",
  8482. "type": "integer"
  8483. },
  8484. "agreeunit": {
  8485. "description": "合约单位",
  8486. "type": "number"
  8487. },
  8488. "applyid": {
  8489. "description": "关联申请ID",
  8490. "type": "integer"
  8491. },
  8492. "attachmenturl": {
  8493. "description": "附件地址",
  8494. "type": "string"
  8495. },
  8496. "createtime": {
  8497. "description": "创建时间",
  8498. "type": "string"
  8499. },
  8500. "currencyid": {
  8501. "description": "报价货币ID",
  8502. "type": "integer"
  8503. },
  8504. "decimalplace": {
  8505. "description": "报价小数位",
  8506. "type": "integer"
  8507. },
  8508. "endtime": {
  8509. "description": "预售结束时间",
  8510. "type": "string"
  8511. },
  8512. "floorprice": {
  8513. "description": "底价[大宗式竞拍]",
  8514. "type": "number"
  8515. },
  8516. "goodscode": {
  8517. "description": "商品代码(预售)",
  8518. "type": "string"
  8519. },
  8520. "goodsdetail": {
  8521. "description": "详情[大宗]",
  8522. "type": "string"
  8523. },
  8524. "goodsid": {
  8525. "description": "商品ID(自增ID SEQ_GOODS)",
  8526. "type": "integer"
  8527. },
  8528. "goodsname": {
  8529. "description": "商品名称(预售)",
  8530. "type": "string"
  8531. },
  8532. "goodunit": {
  8533. "description": "报价单位",
  8534. "type": "string"
  8535. },
  8536. "goodunitid": {
  8537. "description": "报价单位ID",
  8538. "type": "integer"
  8539. },
  8540. "marketid": {
  8541. "description": "所属市场ID",
  8542. "type": "integer"
  8543. },
  8544. "marketname": {
  8545. "description": "预售市场名称",
  8546. "type": "string"
  8547. },
  8548. "presaledamount": {
  8549. "description": "已预售总金额(预售结束时更新)",
  8550. "type": "number"
  8551. },
  8552. "presaledqty": {
  8553. "description": "已预售量(预售结束时更新)",
  8554. "type": "integer"
  8555. },
  8556. "presalemode": {
  8557. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8558. "type": "integer"
  8559. },
  8560. "presaleqty": {
  8561. "description": "预售数量",
  8562. "type": "integer"
  8563. },
  8564. "refprice": {
  8565. "description": "参考价格[一口价]",
  8566. "type": "number"
  8567. },
  8568. "relatedgoodscode": {
  8569. "description": "商品代码(订单)",
  8570. "type": "string"
  8571. },
  8572. "relatedgoodsid": {
  8573. "description": "关联交易合约ID",
  8574. "type": "integer"
  8575. },
  8576. "relatedgoodsname": {
  8577. "description": "商品名称(订单)",
  8578. "type": "string"
  8579. },
  8580. "relatedmarketid": {
  8581. "description": "关联交易合约市场ID",
  8582. "type": "integer"
  8583. },
  8584. "sellstatus": {
  8585. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8586. "type": "integer"
  8587. },
  8588. "startprice": {
  8589. "description": "起拍价[大宗式竞拍]",
  8590. "type": "number"
  8591. },
  8592. "starttime": {
  8593. "description": "预售开始时间",
  8594. "type": "string"
  8595. },
  8596. "tradedate": {
  8597. "description": "交易日(yyyyMMdd)",
  8598. "type": "string"
  8599. },
  8600. "tradeprice": {
  8601. "description": "成交价[大宗]",
  8602. "type": "number"
  8603. },
  8604. "userid": {
  8605. "description": "卖方用户ID",
  8606. "type": "integer"
  8607. }
  8608. }
  8609. },
  8610. "cptrade.QueryPresaleGoodsExRsp": {
  8611. "type": "object",
  8612. "required": [
  8613. "goodsid"
  8614. ],
  8615. "properties": {
  8616. "attachmenturl": {
  8617. "description": "附件地址",
  8618. "type": "string"
  8619. },
  8620. "createtime": {
  8621. "description": "创建时间",
  8622. "type": "string"
  8623. },
  8624. "endtime": {
  8625. "description": "预售结束时间",
  8626. "type": "string"
  8627. },
  8628. "floorprice": {
  8629. "description": "底价[大宗式竞拍]",
  8630. "type": "number"
  8631. },
  8632. "goodsdetail": {
  8633. "description": "详情[大宗]",
  8634. "type": "string"
  8635. },
  8636. "goodsid": {
  8637. "description": "商品ID(预售)",
  8638. "type": "integer"
  8639. },
  8640. "goodunit": {
  8641. "description": "报价单位",
  8642. "type": "string"
  8643. },
  8644. "marketid": {
  8645. "description": "预售市场ID - 根据预售模式选择市场",
  8646. "type": "integer"
  8647. },
  8648. "presaledamount": {
  8649. "description": "已预售总金额(预售结束时更新)",
  8650. "type": "number"
  8651. },
  8652. "presaledqty": {
  8653. "description": "已预售量(预售结束时更新)",
  8654. "type": "integer"
  8655. },
  8656. "presalemode": {
  8657. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8658. "type": "integer"
  8659. },
  8660. "presaleqty": {
  8661. "description": "预售数量",
  8662. "type": "integer"
  8663. },
  8664. "refprice": {
  8665. "description": "参考价格[一口价]",
  8666. "type": "number"
  8667. },
  8668. "relatedgoodsid": {
  8669. "description": "关联交易合约ID",
  8670. "type": "integer"
  8671. },
  8672. "relatedmarketid": {
  8673. "description": "关联交易合约市场ID",
  8674. "type": "integer"
  8675. },
  8676. "sellstatus": {
  8677. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8678. "type": "integer"
  8679. },
  8680. "startprice": {
  8681. "description": "起拍价[大宗式竞拍]",
  8682. "type": "number"
  8683. },
  8684. "starttime": {
  8685. "description": "预售开始时间",
  8686. "type": "string"
  8687. },
  8688. "tradedate": {
  8689. "description": "交易日(yyyyMMdd)",
  8690. "type": "string"
  8691. },
  8692. "tradeprice": {
  8693. "description": "成交价[大宗]",
  8694. "type": "number"
  8695. }
  8696. }
  8697. },
  8698. "delivery.QueryDeliveryRelationRsp": {
  8699. "type": "object",
  8700. "required": [
  8701. "begindate",
  8702. "enddate",
  8703. "goodsid",
  8704. "mindeliveryqty",
  8705. "xdeliveryratio"
  8706. ],
  8707. "properties": {
  8708. "begindate": {
  8709. "description": "起始日期(yyyyMMdd)",
  8710. "type": "string"
  8711. },
  8712. "buytemplateid": {
  8713. "description": "买履约计划模板ID",
  8714. "type": "integer"
  8715. },
  8716. "deliverygoodscode": {
  8717. "description": "品种代码",
  8718. "type": "string"
  8719. },
  8720. "deliverygoodsid": {
  8721. "description": "交割商品",
  8722. "type": "integer"
  8723. },
  8724. "deliverygoodsname": {
  8725. "description": "品种名称",
  8726. "type": "string"
  8727. },
  8728. "deliverymode": {
  8729. "description": "交割方式 - 1:点选式 2:申报式",
  8730. "type": "integer"
  8731. },
  8732. "deliverypricerule": {
  8733. "description": "交割价规则- 1:行情价 2:建仓价",
  8734. "type": "integer"
  8735. },
  8736. "deliverytype": {
  8737. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8738. "type": "integer"
  8739. },
  8740. "enddate": {
  8741. "description": "结束日期(yyyyMMdd)",
  8742. "type": "string"
  8743. },
  8744. "goodscode": {
  8745. "description": "商品代码",
  8746. "type": "string"
  8747. },
  8748. "goodsid": {
  8749. "description": "交易合约ID",
  8750. "type": "integer"
  8751. },
  8752. "goodsname": {
  8753. "description": "商品名称",
  8754. "type": "string"
  8755. },
  8756. "marketid": {
  8757. "description": "市场ID",
  8758. "type": "integer"
  8759. },
  8760. "mindeliveryqty": {
  8761. "description": "最小交割系数(K)",
  8762. "type": "integer"
  8763. },
  8764. "p2deliveryprice": {
  8765. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8766. "type": "number"
  8767. },
  8768. "p2deliveryratio": {
  8769. "description": "P2合约系数(p)",
  8770. "type": "integer"
  8771. },
  8772. "p2goodsid": {
  8773. "description": "P2合约ID",
  8774. "type": "integer"
  8775. },
  8776. "p2pricemode": {
  8777. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8778. "type": "integer"
  8779. },
  8780. "pdeliveryprice": {
  8781. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8782. "type": "number"
  8783. },
  8784. "pdeliveryratio": {
  8785. "description": "P合约系数(n)",
  8786. "type": "integer"
  8787. },
  8788. "pgoodsid": {
  8789. "description": "P合约ID",
  8790. "type": "integer"
  8791. },
  8792. "ppricemode": {
  8793. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8794. "type": "integer"
  8795. },
  8796. "rratio": {
  8797. "description": "兑换系数(R)",
  8798. "type": "integer"
  8799. },
  8800. "rratio1": {
  8801. "description": "兑换系数(交易合约)(R1)",
  8802. "type": "integer"
  8803. },
  8804. "rratio2": {
  8805. "description": "兑换系数(仓单标准)(R2)",
  8806. "type": "integer"
  8807. },
  8808. "selltemplateid": {
  8809. "description": "卖履约计划模板ID",
  8810. "type": "integer"
  8811. },
  8812. "wrstandardid": {
  8813. "description": "仓单标准ID",
  8814. "type": "integer"
  8815. },
  8816. "xdeliveryratio": {
  8817. "description": "交易合约系数(m)",
  8818. "type": "integer"
  8819. }
  8820. }
  8821. },
  8822. "ermcp.ExposureDetailRsp": {
  8823. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8824. },
  8825. "ermcp.ExposureHedgePosDetailRsp": {
  8826. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8827. },
  8828. "ermcp.ExposureHedgePositionRsp": {
  8829. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8830. },
  8831. "ermcp.ExposureSpotDetailRsp": {
  8832. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8833. },
  8834. "ermcp.ExposureSpotRsp": {
  8835. "$ref": "#/definitions/models.AreaSpotModel"
  8836. },
  8837. "ermcp.HisExposureRsp": {
  8838. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8839. },
  8840. "ermcp.PendingAuditCntRsp": {
  8841. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8842. },
  8843. "ermcp.QryAreaStockApplyRsp": {
  8844. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8845. },
  8846. "ermcp.QryAvalidGPRsp": {
  8847. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8848. },
  8849. "ermcp.QryBusinessDjRsp": {
  8850. "type": "object",
  8851. "properties": {
  8852. "amount": {
  8853. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8854. "type": "number"
  8855. },
  8856. "applyid": {
  8857. "description": "申请人",
  8858. "type": "string"
  8859. },
  8860. "applyname": {
  8861. "description": "申请人名称",
  8862. "type": "string"
  8863. },
  8864. "applystatus": {
  8865. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8866. "type": "integer"
  8867. },
  8868. "applytime": {
  8869. "description": "申请时间",
  8870. "type": "string"
  8871. },
  8872. "attachurl": {
  8873. "description": "附件",
  8874. "type": "string"
  8875. },
  8876. "auditid": {
  8877. "description": "审核人ID",
  8878. "type": "string"
  8879. },
  8880. "auditname": {
  8881. "description": "审核人名称",
  8882. "type": "string"
  8883. },
  8884. "audittime": {
  8885. "description": "审核时间",
  8886. "type": "string"
  8887. },
  8888. "buyusername": {
  8889. "description": "采购方名称",
  8890. "type": "string"
  8891. },
  8892. "contractno": {
  8893. "description": "合同编号",
  8894. "type": "string"
  8895. },
  8896. "contractstatus": {
  8897. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8898. "type": "integer"
  8899. },
  8900. "contracttype": {
  8901. "description": "现货合同类型 - 1:采购 -1:销售",
  8902. "type": "integer"
  8903. },
  8904. "enumdicname": {
  8905. "description": "单位名称",
  8906. "type": "string"
  8907. },
  8908. "goodscode": {
  8909. "description": "点价合约",
  8910. "type": "string"
  8911. },
  8912. "goodsname": {
  8913. "description": "商品名称",
  8914. "type": "string"
  8915. },
  8916. "operateapplyid": {
  8917. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8918. "type": "string"
  8919. },
  8920. "operateapplytype": {
  8921. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8922. "type": "integer"
  8923. },
  8924. "pricedPrice": {
  8925. "description": "点价价格(非必填)",
  8926. "type": "number"
  8927. },
  8928. "pricedQty": {
  8929. "description": "点价数量(非必填)",
  8930. "type": "number"
  8931. },
  8932. "pricemove": {
  8933. "description": "升贴水",
  8934. "type": "number"
  8935. },
  8936. "pricetype": {
  8937. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8938. "type": "integer"
  8939. },
  8940. "relatedid": {
  8941. "description": "现货合同ID",
  8942. "type": "string"
  8943. },
  8944. "sellusername": {
  8945. "description": "销售方名字",
  8946. "type": "string"
  8947. },
  8948. "userid": {
  8949. "description": "用户ID",
  8950. "type": "integer"
  8951. },
  8952. "wrstandardcode": {
  8953. "description": "现货商品代码",
  8954. "type": "string"
  8955. },
  8956. "wrstandardid": {
  8957. "description": "现货商品id",
  8958. "type": "integer"
  8959. },
  8960. "wrstandardname": {
  8961. "description": "现货商品名称",
  8962. "type": "string"
  8963. }
  8964. }
  8965. },
  8966. "ermcp.QryBussinessFpRsp": {
  8967. "type": "object",
  8968. "properties": {
  8969. "applyid": {
  8970. "description": "申请人",
  8971. "type": "string"
  8972. },
  8973. "applyname": {
  8974. "description": "申请人名称",
  8975. "type": "string"
  8976. },
  8977. "applystatus": {
  8978. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8979. "type": "integer"
  8980. },
  8981. "applytime": {
  8982. "description": "申请时间",
  8983. "type": "string"
  8984. },
  8985. "attachurl": {
  8986. "description": "附件",
  8987. "type": "string"
  8988. },
  8989. "auditid": {
  8990. "description": "审核人ID",
  8991. "type": "string"
  8992. },
  8993. "auditname": {
  8994. "description": "审核人名称",
  8995. "type": "string"
  8996. },
  8997. "audittime": {
  8998. "description": "审核时间",
  8999. "type": "string"
  9000. },
  9001. "buyusername": {
  9002. "description": "采购方名称",
  9003. "type": "string"
  9004. },
  9005. "contractno": {
  9006. "description": "合同编号",
  9007. "type": "string"
  9008. },
  9009. "contractstatus": {
  9010. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9011. "type": "integer"
  9012. },
  9013. "contracttype": {
  9014. "description": "现货合同类型 - 1:采购 -1:销售",
  9015. "type": "integer"
  9016. },
  9017. "enumdicname": {
  9018. "description": "单位名称",
  9019. "type": "string"
  9020. },
  9021. "goodscode": {
  9022. "description": "点价合约",
  9023. "type": "string"
  9024. },
  9025. "goodsname": {
  9026. "description": "商品名称",
  9027. "type": "string"
  9028. },
  9029. "invoiceAmount": {
  9030. "description": "已开收票金额(销售为开票,采购为收票)",
  9031. "type": "number"
  9032. },
  9033. "operateapplyid": {
  9034. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9035. "type": "string"
  9036. },
  9037. "operateapplytype": {
  9038. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9039. "type": "integer"
  9040. },
  9041. "pricemove": {
  9042. "description": "升贴水",
  9043. "type": "number"
  9044. },
  9045. "pricetype": {
  9046. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9047. "type": "integer"
  9048. },
  9049. "relatedid": {
  9050. "description": "现货合同ID",
  9051. "type": "string"
  9052. },
  9053. "sellusername": {
  9054. "description": "销售方名字",
  9055. "type": "string"
  9056. },
  9057. "userid": {
  9058. "description": "用户ID",
  9059. "type": "integer"
  9060. },
  9061. "wrstandardcode": {
  9062. "description": "现货商品代码",
  9063. "type": "string"
  9064. },
  9065. "wrstandardid": {
  9066. "description": "现货商品id",
  9067. "type": "integer"
  9068. },
  9069. "wrstandardname": {
  9070. "description": "现货商品名称",
  9071. "type": "string"
  9072. }
  9073. }
  9074. },
  9075. "ermcp.QryBussinessJsExRsp": {
  9076. "type": "object",
  9077. "properties": {
  9078. "applyid": {
  9079. "description": "申请人",
  9080. "type": "string"
  9081. },
  9082. "applyname": {
  9083. "description": "申请人名称",
  9084. "type": "string"
  9085. },
  9086. "applystatus": {
  9087. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9088. "type": "integer"
  9089. },
  9090. "applytime": {
  9091. "description": "申请时间",
  9092. "type": "string"
  9093. },
  9094. "attachurl": {
  9095. "description": "附件",
  9096. "type": "string"
  9097. },
  9098. "auditid": {
  9099. "description": "审核人ID",
  9100. "type": "string"
  9101. },
  9102. "auditname": {
  9103. "description": "审核人名称",
  9104. "type": "string"
  9105. },
  9106. "audittime": {
  9107. "description": "审核时间",
  9108. "type": "string"
  9109. },
  9110. "buyusername": {
  9111. "description": "采购方名称",
  9112. "type": "string"
  9113. },
  9114. "contractno": {
  9115. "description": "合同编号",
  9116. "type": "string"
  9117. },
  9118. "contractstatus": {
  9119. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9120. "type": "integer"
  9121. },
  9122. "contracttype": {
  9123. "description": "现货合同类型 - 1:采购 -1:销售",
  9124. "type": "integer"
  9125. },
  9126. "enumdicname": {
  9127. "description": "单位名称",
  9128. "type": "string"
  9129. },
  9130. "goodscode": {
  9131. "description": "点价合约",
  9132. "type": "string"
  9133. },
  9134. "goodsname": {
  9135. "description": "商品名称",
  9136. "type": "string"
  9137. },
  9138. "operateapplyid": {
  9139. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9140. "type": "string"
  9141. },
  9142. "operateapplytype": {
  9143. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9144. "type": "integer"
  9145. },
  9146. "pricemove": {
  9147. "description": "升贴水",
  9148. "type": "number"
  9149. },
  9150. "pricetype": {
  9151. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9152. "type": "integer"
  9153. },
  9154. "reckontype": {
  9155. "description": "结算类型",
  9156. "type": "string"
  9157. },
  9158. "reckonvalue": {
  9159. "description": "值",
  9160. "type": "number"
  9161. },
  9162. "relatedid": {
  9163. "description": "现货合同ID",
  9164. "type": "string"
  9165. },
  9166. "sellusername": {
  9167. "description": "销售方名字",
  9168. "type": "string"
  9169. },
  9170. "userid": {
  9171. "description": "用户ID",
  9172. "type": "integer"
  9173. },
  9174. "wrstandardcode": {
  9175. "description": "现货商品代码",
  9176. "type": "string"
  9177. },
  9178. "wrstandardid": {
  9179. "description": "现货商品id",
  9180. "type": "integer"
  9181. },
  9182. "wrstandardname": {
  9183. "description": "现货商品名称",
  9184. "type": "string"
  9185. }
  9186. }
  9187. },
  9188. "ermcp.QryBussinessJsRsp": {
  9189. "type": "object",
  9190. "properties": {
  9191. "addmargin": {
  9192. "description": "追加保证金(非必填)",
  9193. "type": "number"
  9194. },
  9195. "applyid": {
  9196. "description": "申请人",
  9197. "type": "string"
  9198. },
  9199. "applyname": {
  9200. "description": "申请人名称",
  9201. "type": "string"
  9202. },
  9203. "applystatus": {
  9204. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9205. "type": "integer"
  9206. },
  9207. "applytime": {
  9208. "description": "申请时间",
  9209. "type": "string"
  9210. },
  9211. "attachurl": {
  9212. "description": "附件",
  9213. "type": "string"
  9214. },
  9215. "auditid": {
  9216. "description": "审核人ID",
  9217. "type": "string"
  9218. },
  9219. "auditname": {
  9220. "description": "审核人名称",
  9221. "type": "string"
  9222. },
  9223. "audittime": {
  9224. "description": "审核时间",
  9225. "type": "string"
  9226. },
  9227. "buyusername": {
  9228. "description": "采购方名称",
  9229. "type": "string"
  9230. },
  9231. "contractno": {
  9232. "description": "合同编号",
  9233. "type": "string"
  9234. },
  9235. "contractstatus": {
  9236. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9237. "type": "integer"
  9238. },
  9239. "contracttype": {
  9240. "description": "现货合同类型 - 1:采购 -1:销售",
  9241. "type": "integer"
  9242. },
  9243. "decmargin": {
  9244. "description": "减少保证金(非必填)",
  9245. "type": "number"
  9246. },
  9247. "enumdicname": {
  9248. "description": "单位名称",
  9249. "type": "string"
  9250. },
  9251. "goodscode": {
  9252. "description": "点价合约",
  9253. "type": "string"
  9254. },
  9255. "goodsname": {
  9256. "description": "商品名称",
  9257. "type": "string"
  9258. },
  9259. "operateapplyid": {
  9260. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9261. "type": "string"
  9262. },
  9263. "operateapplytype": {
  9264. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9265. "type": "integer"
  9266. },
  9267. "pricemove": {
  9268. "description": "升贴水",
  9269. "type": "number"
  9270. },
  9271. "pricetype": {
  9272. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9273. "type": "integer"
  9274. },
  9275. "reckonadjustamount": {
  9276. "description": "结算调整金额(非必填)",
  9277. "type": "number"
  9278. },
  9279. "reckonosamount": {
  9280. "description": "结算溢短金额(非必填)",
  9281. "type": "number"
  9282. },
  9283. "reckonotheramount": {
  9284. "description": "结算其他费用(非必填)",
  9285. "type": "number"
  9286. },
  9287. "reckonrealqty": {
  9288. "description": "结算实际数量(非必填)",
  9289. "type": "number"
  9290. },
  9291. "relatedid": {
  9292. "description": "现货合同ID",
  9293. "type": "string"
  9294. },
  9295. "sellusername": {
  9296. "description": "销售方名字",
  9297. "type": "string"
  9298. },
  9299. "userid": {
  9300. "description": "用户ID",
  9301. "type": "integer"
  9302. },
  9303. "wrstandardcode": {
  9304. "description": "现货商品代码",
  9305. "type": "string"
  9306. },
  9307. "wrstandardid": {
  9308. "description": "现货商品id",
  9309. "type": "integer"
  9310. },
  9311. "wrstandardname": {
  9312. "description": "现货商品名称",
  9313. "type": "string"
  9314. }
  9315. }
  9316. },
  9317. "ermcp.QryBussinessKxRsp": {
  9318. "type": "object",
  9319. "properties": {
  9320. "applyid": {
  9321. "description": "申请人",
  9322. "type": "string"
  9323. },
  9324. "applyname": {
  9325. "description": "申请人名称",
  9326. "type": "string"
  9327. },
  9328. "applystatus": {
  9329. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9330. "type": "integer"
  9331. },
  9332. "applytime": {
  9333. "description": "申请时间",
  9334. "type": "string"
  9335. },
  9336. "attachurl": {
  9337. "description": "附件",
  9338. "type": "string"
  9339. },
  9340. "auditid": {
  9341. "description": "审核人ID",
  9342. "type": "string"
  9343. },
  9344. "auditname": {
  9345. "description": "审核人名称",
  9346. "type": "string"
  9347. },
  9348. "audittime": {
  9349. "description": "审核时间",
  9350. "type": "string"
  9351. },
  9352. "buyusername": {
  9353. "description": "采购方名称",
  9354. "type": "string"
  9355. },
  9356. "contractno": {
  9357. "description": "合同编号",
  9358. "type": "string"
  9359. },
  9360. "contractstatus": {
  9361. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9362. "type": "integer"
  9363. },
  9364. "contracttype": {
  9365. "description": "现货合同类型 - 1:采购 -1:销售",
  9366. "type": "integer"
  9367. },
  9368. "deductamount": {
  9369. "description": "退款(非必填)",
  9370. "type": "number"
  9371. },
  9372. "enumdicname": {
  9373. "description": "单位名称",
  9374. "type": "string"
  9375. },
  9376. "goodscode": {
  9377. "description": "点价合约",
  9378. "type": "string"
  9379. },
  9380. "goodsname": {
  9381. "description": "商品名称",
  9382. "type": "string"
  9383. },
  9384. "kxtype": {
  9385. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9386. "type": "integer"
  9387. },
  9388. "operateapplyid": {
  9389. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9390. "type": "string"
  9391. },
  9392. "operateapplytype": {
  9393. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9394. "type": "integer"
  9395. },
  9396. "payamount": {
  9397. "description": "收付款(非必填)",
  9398. "type": "number"
  9399. },
  9400. "pricemove": {
  9401. "description": "升贴水",
  9402. "type": "number"
  9403. },
  9404. "pricetype": {
  9405. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9406. "type": "integer"
  9407. },
  9408. "relatedid": {
  9409. "description": "现货合同ID",
  9410. "type": "string"
  9411. },
  9412. "sellusername": {
  9413. "description": "销售方名字",
  9414. "type": "string"
  9415. },
  9416. "userid": {
  9417. "description": "用户ID",
  9418. "type": "integer"
  9419. },
  9420. "wrstandardcode": {
  9421. "description": "现货商品代码",
  9422. "type": "string"
  9423. },
  9424. "wrstandardid": {
  9425. "description": "现货商品id",
  9426. "type": "integer"
  9427. },
  9428. "wrstandardname": {
  9429. "description": "现货商品名称",
  9430. "type": "string"
  9431. }
  9432. }
  9433. },
  9434. "ermcp.QryErmcpRsp": {
  9435. "$ref": "#/definitions/models.ErmcpModel"
  9436. },
  9437. "ermcp.QryGGCovertCfgRsp": {
  9438. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9439. },
  9440. "ermcp.QryHedgePlanRsp": {
  9441. "$ref": "#/definitions/models.ErmcpHedgePlan"
  9442. },
  9443. "ermcp.QryMGChangeLogRsp": {
  9444. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9445. },
  9446. "ermcp.QryMiddleGoodsDetailRsp": {
  9447. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9448. },
  9449. "ermcp.QryMiddleGoodsRsp": {
  9450. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9451. },
  9452. "ermcp.QryOPLogRsp": {
  9453. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9454. },
  9455. "ermcp.QryReportDaySpotDetailRsp": {
  9456. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9457. },
  9458. "ermcp.QryReportExposureDayRsp": {
  9459. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  9460. },
  9461. "ermcp.QryReportFinanceDayRsp": {
  9462. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9463. },
  9464. "ermcp.QryReportFinanceKxRsp": {
  9465. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9466. },
  9467. "ermcp.QryReportFinanceMonRsp": {
  9468. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  9469. },
  9470. "ermcp.QryReportSpotDayRsp": {
  9471. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9472. },
  9473. "ermcp.QryReportSpotMonRsp": {
  9474. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  9475. },
  9476. "ermcp.QryReportSpotMonthDetailRsp": {
  9477. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9478. },
  9479. "ermcp.QrySpotContractRsp": {
  9480. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  9481. },
  9482. "ermcp.QryUserInfoRsp": {
  9483. "$ref": "#/definitions/models.ErmcpUserModel"
  9484. },
  9485. "ermcp.QryWarehouseRsp": {
  9486. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9487. },
  9488. "ermcp.QryWrStandardDetailRsp": {
  9489. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  9490. },
  9491. "ermcp.QryWrStandardRsp": {
  9492. "$ref": "#/definitions/models.ErmcpWrstandard"
  9493. },
  9494. "ermcp.QueryAreaStockApplySumRsp": {
  9495. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  9496. },
  9497. "ermcp.QueryErmcpTradePositionRsp": {
  9498. "type": "object",
  9499. "properties": {
  9500. "agreeunit": {
  9501. "description": "合约单位",
  9502. "type": "number"
  9503. },
  9504. "buyorsell": {
  9505. "description": "方向 - 0:买 1:卖",
  9506. "type": "integer"
  9507. },
  9508. "curpositionqty": {
  9509. "description": "持仓(总仓数量, 期末头寸)",
  9510. "type": "integer"
  9511. },
  9512. "curtdposition": {
  9513. "description": "今仓数量(期末今日头寸)",
  9514. "type": "integer"
  9515. },
  9516. "curtdpositionenabled": {
  9517. "description": "今仓可用",
  9518. "type": "integer"
  9519. },
  9520. "decimalplace": {
  9521. "description": "报价小数位",
  9522. "type": "integer"
  9523. },
  9524. "enableqty": {
  9525. "description": "可用(总仓可用)",
  9526. "type": "integer"
  9527. },
  9528. "exexchangename": {
  9529. "description": "外部交易所名称",
  9530. "type": "string"
  9531. },
  9532. "goodscode": {
  9533. "description": "商品代码(内部)",
  9534. "type": "string"
  9535. },
  9536. "goodsid": {
  9537. "description": "商品ID(自增ID SEQ_GOODS)",
  9538. "type": "integer"
  9539. },
  9540. "goodsname": {
  9541. "description": "商品名称",
  9542. "type": "string"
  9543. },
  9544. "last": {
  9545. "description": "现价",
  9546. "type": "number"
  9547. },
  9548. "marketid": {
  9549. "description": "所属市场ID",
  9550. "type": "integer"
  9551. },
  9552. "openaverageprice": {
  9553. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9554. "type": "number"
  9555. },
  9556. "opencost": {
  9557. "description": "开仓成本",
  9558. "type": "number"
  9559. },
  9560. "openpl": {
  9561. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9562. "type": "number"
  9563. },
  9564. "outgoodscode": {
  9565. "description": "商品代码(外部)",
  9566. "type": "string"
  9567. },
  9568. "positionaverageprice": {
  9569. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9570. "type": "number"
  9571. },
  9572. "positioncost": {
  9573. "description": "持仓成本",
  9574. "type": "number"
  9575. },
  9576. "positionpl": {
  9577. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9578. "type": "number"
  9579. },
  9580. "positionplrate": {
  9581. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9582. "type": "number"
  9583. },
  9584. "usedmargin": {
  9585. "description": "占用保证金",
  9586. "type": "number"
  9587. }
  9588. }
  9589. },
  9590. "ermcp.RealtimeExposurePositionRsp": {
  9591. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9592. },
  9593. "ermcp.RealtimeExposureRsp": {
  9594. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9595. },
  9596. "erms2.QueryArbitrageStrategyRsp": {
  9597. "type": "object",
  9598. "required": [
  9599. "asapplyid"
  9600. ],
  9601. "properties": {
  9602. "applybasis": {
  9603. "description": "申请基差",
  9604. "type": "number"
  9605. },
  9606. "asapplyid": {
  9607. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9608. "type": "string"
  9609. },
  9610. "asname": {
  9611. "description": "策略名称",
  9612. "type": "string"
  9613. },
  9614. "asno": {
  9615. "description": "策略编号",
  9616. "type": "string"
  9617. },
  9618. "basischangepl": {
  9619. "description": "基差变动损益[结算更新]",
  9620. "type": "number"
  9621. },
  9622. "biztype": {
  9623. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9624. "type": "integer"
  9625. },
  9626. "closetradedate": {
  9627. "description": "完结交易日(yyyyMMdd)",
  9628. "type": "string"
  9629. },
  9630. "curbasis": {
  9631. "description": "当前基差[结算更新]",
  9632. "type": "number"
  9633. },
  9634. "deliverygoodsid": {
  9635. "description": "现货品种ID",
  9636. "type": "integer"
  9637. },
  9638. "futureavgprice": {
  9639. "description": "期货建仓均价",
  9640. "type": "number"
  9641. },
  9642. "futurecloseamount": {
  9643. "description": "期货平仓金额",
  9644. "type": "number"
  9645. },
  9646. "futurecloseqty": {
  9647. "description": "期货平仓数量",
  9648. "type": "number"
  9649. },
  9650. "futureopenamount": {
  9651. "description": "期货开仓金额",
  9652. "type": "number"
  9653. },
  9654. "futureopenqty": {
  9655. "description": "期货开仓数量",
  9656. "type": "number"
  9657. },
  9658. "futurepl": {
  9659. "description": "期货总盈亏[结算更新]",
  9660. "type": "number"
  9661. },
  9662. "futureqty": {
  9663. "description": "期货持仓数量",
  9664. "type": "number"
  9665. },
  9666. "futurequote": {
  9667. "description": "期货额度",
  9668. "type": "number"
  9669. },
  9670. "goodsgroupid": {
  9671. "description": "期货品种ID",
  9672. "type": "integer"
  9673. },
  9674. "marketid": {
  9675. "description": "市场ID",
  9676. "type": "integer"
  9677. },
  9678. "netexposure": {
  9679. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9680. "type": "number"
  9681. },
  9682. "netexposurepl": {
  9683. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9684. "type": "number"
  9685. },
  9686. "netexposurerate": {
  9687. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9688. "type": "number"
  9689. },
  9690. "openbasis": {
  9691. "description": "建仓基差",
  9692. "type": "number"
  9693. },
  9694. "pricedspotqty": {
  9695. "description": "已定价现货数量",
  9696. "type": "number"
  9697. },
  9698. "pricedspotqtynotax": {
  9699. "description": "已定价现货不含税数量",
  9700. "type": "number"
  9701. },
  9702. "remark": {
  9703. "description": "备注",
  9704. "type": "string"
  9705. },
  9706. "spotavgprice": {
  9707. "description": "现货均价",
  9708. "type": "number"
  9709. },
  9710. "spotbuyamount": {
  9711. "description": "现货采购金额",
  9712. "type": "number"
  9713. },
  9714. "spotbuyqty": {
  9715. "description": "现货采购数量",
  9716. "type": "number"
  9717. },
  9718. "spotpl": {
  9719. "description": "现货总盈亏[结算更新]",
  9720. "type": "number"
  9721. },
  9722. "spotquota": {
  9723. "description": "现货额度",
  9724. "type": "number"
  9725. },
  9726. "spotsellamount": {
  9727. "description": "现货销售金额",
  9728. "type": "number"
  9729. },
  9730. "spotsellqty": {
  9731. "description": "现货销售数量",
  9732. "type": "number"
  9733. },
  9734. "spotusedquota": {
  9735. "description": "现货占用资金",
  9736. "type": "number"
  9737. },
  9738. "strategystatus": {
  9739. "description": "策略状态 - 0:未结束 1:已结束",
  9740. "type": "integer"
  9741. },
  9742. "totalpl": {
  9743. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9744. "type": "number"
  9745. },
  9746. "tradedate": {
  9747. "description": "交易日(yyyyMMdd)",
  9748. "type": "string"
  9749. },
  9750. "updatetime": {
  9751. "description": "更新时间",
  9752. "type": "string"
  9753. },
  9754. "usedquota": {
  9755. "description": "已占用资金",
  9756. "type": "number"
  9757. },
  9758. "userid": {
  9759. "description": "所属机构",
  9760. "type": "integer"
  9761. }
  9762. }
  9763. },
  9764. "erms2.QueryInnerTradeDetailRsp": {
  9765. "type": "object",
  9766. "required": [
  9767. "asapplyid",
  9768. "buyorsell",
  9769. "goodscode",
  9770. "goodsgroupid",
  9771. "goodsgroupname",
  9772. "goodsname",
  9773. "tradeid"
  9774. ],
  9775. "properties": {
  9776. "accountid": {
  9777. "description": "账号ID",
  9778. "type": "integer"
  9779. },
  9780. "agreeunit": {
  9781. "description": "合约单位",
  9782. "type": "number"
  9783. },
  9784. "asapplyid": {
  9785. "description": "策略申请ID",
  9786. "type": "integer"
  9787. },
  9788. "asname": {
  9789. "description": "策略名称",
  9790. "type": "string"
  9791. },
  9792. "asno": {
  9793. "description": "策略编号",
  9794. "type": "string"
  9795. },
  9796. "buyorsell": {
  9797. "description": "方向 - 0:买 1:卖",
  9798. "type": "integer"
  9799. },
  9800. "channelbuildtype": {
  9801. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9802. "type": "integer"
  9803. },
  9804. "closetype": {
  9805. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9806. "type": "integer"
  9807. },
  9808. "decimalplace": {
  9809. "description": "报价小数位",
  9810. "type": "integer"
  9811. },
  9812. "detailtype": {
  9813. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9814. "type": "integer"
  9815. },
  9816. "exexchangecode": {
  9817. "description": "外部交易所代码",
  9818. "type": "string"
  9819. },
  9820. "exexchangename": {
  9821. "description": "外部交易所名称",
  9822. "type": "string"
  9823. },
  9824. "goodscode": {
  9825. "description": "商品代码(合约)",
  9826. "type": "string"
  9827. },
  9828. "goodsgroupid": {
  9829. "description": "商品组ID(品种ID)",
  9830. "type": "integer"
  9831. },
  9832. "goodsgroupname": {
  9833. "description": "商品组名称(品种)",
  9834. "type": "string"
  9835. },
  9836. "goodsid": {
  9837. "description": "商品ID",
  9838. "type": "integer"
  9839. },
  9840. "goodsname": {
  9841. "description": "商品名称(合约)",
  9842. "type": "string"
  9843. },
  9844. "goodunit": {
  9845. "description": "报价单位",
  9846. "type": "string"
  9847. },
  9848. "marketid": {
  9849. "description": "市场ID",
  9850. "type": "integer"
  9851. },
  9852. "orderid": {
  9853. "description": "委托单号",
  9854. "type": "string"
  9855. },
  9856. "outgoodscode": {
  9857. "description": "商品代码(外部)",
  9858. "type": "string"
  9859. },
  9860. "relatedouttradeid": {
  9861. "description": "关联外部成交单ID",
  9862. "type": "string"
  9863. },
  9864. "remark": {
  9865. "description": "备注",
  9866. "type": "string"
  9867. },
  9868. "spotcontractid": {
  9869. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9870. "type": "integer"
  9871. },
  9872. "spotcontractno": {
  9873. "description": "现货合同编号",
  9874. "type": "string"
  9875. },
  9876. "tradeid": {
  9877. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9878. "type": "string"
  9879. },
  9880. "tradeprice": {
  9881. "description": "成交价格",
  9882. "type": "number"
  9883. },
  9884. "tradeqty": {
  9885. "description": "成交数量",
  9886. "type": "integer"
  9887. },
  9888. "tradetime": {
  9889. "description": "成交时间",
  9890. "type": "string"
  9891. },
  9892. "updatetime": {
  9893. "description": "更新时间",
  9894. "type": "string"
  9895. }
  9896. }
  9897. },
  9898. "erms2.QuerySpotContractRsp": {
  9899. "type": "object",
  9900. "required": [
  9901. "spotcontractid"
  9902. ],
  9903. "properties": {
  9904. "accountid": {
  9905. "description": "资金账户ID",
  9906. "type": "integer"
  9907. },
  9908. "areauserid": {
  9909. "description": "所属机构",
  9910. "type": "integer"
  9911. },
  9912. "closedate": {
  9913. "description": "终止日期",
  9914. "type": "string"
  9915. },
  9916. "closeremark": {
  9917. "description": "结束备注",
  9918. "type": "string"
  9919. },
  9920. "closetradedate": {
  9921. "description": "完结交易日(yyyyMMdd)",
  9922. "type": "string"
  9923. },
  9924. "closetype": {
  9925. "description": "终止类型 - 1:违约 2:提前终止",
  9926. "type": "integer"
  9927. },
  9928. "contractamount": {
  9929. "description": "合同金额",
  9930. "type": "number"
  9931. },
  9932. "contractattachment": {
  9933. "description": "合同附件",
  9934. "type": "string"
  9935. },
  9936. "contractno": {
  9937. "description": "现货合同编号",
  9938. "type": "string"
  9939. },
  9940. "contractqty": {
  9941. "description": "合同数量(数值) (用于计算)",
  9942. "type": "number"
  9943. },
  9944. "contractqtychar": {
  9945. "description": "合同数量\\已订价数量 (用于显示)",
  9946. "type": "string"
  9947. },
  9948. "contractstatus": {
  9949. "description": "合同状态 - 0:未结束 1:已结束",
  9950. "type": "integer"
  9951. },
  9952. "contracttype": {
  9953. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9954. "type": "integer"
  9955. },
  9956. "customeraccountid": {
  9957. "description": "客户资金账户ID",
  9958. "type": "integer"
  9959. },
  9960. "customeruserid": {
  9961. "description": "客户ID",
  9962. "type": "integer"
  9963. },
  9964. "deliverygoodsdesc": {
  9965. "description": "品种说明",
  9966. "type": "string"
  9967. },
  9968. "deliverygoodsid": {
  9969. "description": "现货品种ID",
  9970. "type": "integer"
  9971. },
  9972. "handlestatus": {
  9973. "description": "处理状态",
  9974. "type": "integer"
  9975. },
  9976. "invoiceatt": {
  9977. "description": "发票附件",
  9978. "type": "string"
  9979. },
  9980. "invoicedatetime": {
  9981. "description": "开收票更新时间",
  9982. "type": "string"
  9983. },
  9984. "invoiceopentime": {
  9985. "description": "开票时间",
  9986. "type": "string"
  9987. },
  9988. "invoiceremark": {
  9989. "description": "发票备注",
  9990. "type": "string"
  9991. },
  9992. "invoicestatus": {
  9993. "description": "开收票状态 - 0:未开票 1:已开票",
  9994. "type": "integer"
  9995. },
  9996. "lastdate": {
  9997. "description": "交货时间",
  9998. "type": "string"
  9999. },
  10000. "marketid": {
  10001. "description": "市场ID",
  10002. "type": "integer"
  10003. },
  10004. "paydatetime": {
  10005. "description": "收付款更新时间",
  10006. "type": "string"
  10007. },
  10008. "payremark": {
  10009. "description": "收付款备注",
  10010. "type": "string"
  10011. },
  10012. "paystatus": {
  10013. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10014. "type": "integer"
  10015. },
  10016. "positionqty": {
  10017. "description": "头寸数量 - 合同数量去小数部分",
  10018. "type": "integer"
  10019. },
  10020. "producttype": {
  10021. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10022. "type": "integer"
  10023. },
  10024. "relatedqty": {
  10025. "description": "已关联数量",
  10026. "type": "number"
  10027. },
  10028. "relatedstatus": {
  10029. "description": "关联完结状态 - 0:未结束 1:已结束",
  10030. "type": "integer"
  10031. },
  10032. "remark": {
  10033. "description": "备注",
  10034. "type": "string"
  10035. },
  10036. "signdate": {
  10037. "description": "签订日期",
  10038. "type": "string"
  10039. },
  10040. "spotcontractid": {
  10041. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10042. "type": "string"
  10043. },
  10044. "spotdatetime": {
  10045. "description": "收发货更新时间",
  10046. "type": "string"
  10047. },
  10048. "spotprice": {
  10049. "description": "价格",
  10050. "type": "number"
  10051. },
  10052. "spotremark": {
  10053. "description": "收发货备注",
  10054. "type": "string"
  10055. },
  10056. "spotstatus": {
  10057. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10058. "type": "integer"
  10059. },
  10060. "tradedate": {
  10061. "description": "交易日(yyyyMMdd)",
  10062. "type": "string"
  10063. },
  10064. "userid": {
  10065. "description": "业务员用户ID",
  10066. "type": "integer"
  10067. },
  10068. "warehouseid": {
  10069. "description": "仓库ID",
  10070. "type": "integer"
  10071. },
  10072. "wrfactortypeid": {
  10073. "description": "仓单要素类型ID",
  10074. "type": "integer"
  10075. },
  10076. "wrstandardid": {
  10077. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10078. "type": "integer"
  10079. }
  10080. }
  10081. },
  10082. "erms3.AddErms2ASApplyReq": {
  10083. "type": "object",
  10084. "required": [
  10085. "asapplyid"
  10086. ],
  10087. "properties": {
  10088. "applybasis": {
  10089. "description": "申请基差",
  10090. "type": "number"
  10091. },
  10092. "applystatus": {
  10093. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10094. "type": "integer"
  10095. },
  10096. "asapplyid": {
  10097. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10098. "type": "integer"
  10099. },
  10100. "asname": {
  10101. "description": "策略名称",
  10102. "type": "string"
  10103. },
  10104. "asno": {
  10105. "description": "策略编号",
  10106. "type": "string"
  10107. },
  10108. "auditid": {
  10109. "description": "审核人",
  10110. "type": "integer"
  10111. },
  10112. "auditremark": {
  10113. "description": "审核备注",
  10114. "type": "string"
  10115. },
  10116. "audittime": {
  10117. "description": "审核时间",
  10118. "type": "string"
  10119. },
  10120. "biztype": {
  10121. "description": "业务类型 - 1:正向套利 2:反向套利",
  10122. "type": "integer"
  10123. },
  10124. "createtime": {
  10125. "description": "创建时间",
  10126. "type": "string"
  10127. },
  10128. "creatorid": {
  10129. "description": "创建人",
  10130. "type": "integer"
  10131. },
  10132. "deliverygoodsid": {
  10133. "description": "现货品种ID",
  10134. "type": "integer"
  10135. },
  10136. "futurequote": {
  10137. "description": "期货额度",
  10138. "type": "number"
  10139. },
  10140. "goodsgroupid": {
  10141. "description": "期货品种ID",
  10142. "type": "integer"
  10143. },
  10144. "marketid": {
  10145. "description": "市场ID",
  10146. "type": "integer"
  10147. },
  10148. "remark": {
  10149. "description": "备注",
  10150. "type": "string"
  10151. },
  10152. "spotquota": {
  10153. "description": "现货额度",
  10154. "type": "number"
  10155. },
  10156. "tradedate": {
  10157. "description": "交易日(yyyyMMdd)",
  10158. "type": "string"
  10159. },
  10160. "userid": {
  10161. "description": "所属机构",
  10162. "type": "integer"
  10163. }
  10164. }
  10165. },
  10166. "erms3.AddErms2SpotTradeApplyReq": {
  10167. "type": "object",
  10168. "required": [
  10169. "spottradeid"
  10170. ],
  10171. "properties": {
  10172. "applyjsondetail": {
  10173. "description": "申请明细(JSON)",
  10174. "type": "string"
  10175. },
  10176. "applystatus": {
  10177. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10178. "type": "integer"
  10179. },
  10180. "areauserid": {
  10181. "description": "所属机构",
  10182. "type": "integer"
  10183. },
  10184. "auditid": {
  10185. "description": "审核人",
  10186. "type": "integer"
  10187. },
  10188. "auditremark": {
  10189. "description": "审核备注",
  10190. "type": "string"
  10191. },
  10192. "audittime": {
  10193. "description": "审核时间",
  10194. "type": "string"
  10195. },
  10196. "createtime": {
  10197. "description": "创建时间",
  10198. "type": "string"
  10199. },
  10200. "creatorid": {
  10201. "description": "创建人",
  10202. "type": "integer"
  10203. },
  10204. "deliverygoodsid": {
  10205. "description": "现货品种ID",
  10206. "type": "integer"
  10207. },
  10208. "futureaccountid": {
  10209. "description": "期货资金账户",
  10210. "type": "integer"
  10211. },
  10212. "goodsgroupid": {
  10213. "description": "期货品种",
  10214. "type": "integer"
  10215. },
  10216. "marketid": {
  10217. "description": "市场ID",
  10218. "type": "integer"
  10219. },
  10220. "remark": {
  10221. "description": "备注",
  10222. "type": "string"
  10223. },
  10224. "spotaccountid": {
  10225. "description": "现货资金账户",
  10226. "type": "integer"
  10227. },
  10228. "spottradeid": {
  10229. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10230. "type": "integer"
  10231. },
  10232. "spottradename": {
  10233. "description": "业务名称",
  10234. "type": "string"
  10235. },
  10236. "spottradeno": {
  10237. "description": "业务编号",
  10238. "type": "string"
  10239. },
  10240. "tradedate": {
  10241. "description": "交易日(yyyyMMdd)",
  10242. "type": "string"
  10243. },
  10244. "wrstandardid": {
  10245. "description": "仓单标准ID",
  10246. "type": "integer"
  10247. }
  10248. }
  10249. },
  10250. "erms3.AddSpotContractApplyReq": {
  10251. "type": "object",
  10252. "required": [
  10253. "accountid",
  10254. "areauserid",
  10255. "contractno",
  10256. "contracttype",
  10257. "customeraccountid",
  10258. "customeruserid",
  10259. "details",
  10260. "orimargin",
  10261. "signdate"
  10262. ],
  10263. "properties": {
  10264. "accountid": {
  10265. "description": "资金账户ID",
  10266. "type": "integer"
  10267. },
  10268. "areauserid": {
  10269. "description": "所属机构",
  10270. "type": "integer"
  10271. },
  10272. "contractattachment": {
  10273. "description": "合同附件",
  10274. "type": "string"
  10275. },
  10276. "contractno": {
  10277. "description": "现货合同编号",
  10278. "type": "string"
  10279. },
  10280. "contracttype": {
  10281. "description": "现货合同类型 - 1:采购 -1:销售",
  10282. "type": "integer"
  10283. },
  10284. "creatorid": {
  10285. "description": "申请人",
  10286. "type": "integer"
  10287. },
  10288. "customeraccountid": {
  10289. "description": "客户资金账户ID",
  10290. "type": "integer"
  10291. },
  10292. "customeruserid": {
  10293. "description": "客户ID",
  10294. "type": "integer"
  10295. },
  10296. "details": {
  10297. "description": "明细",
  10298. "type": "array",
  10299. "items": {
  10300. "$ref": "#/definitions/erms3.SoptContractDetail"
  10301. }
  10302. },
  10303. "orimargin": {
  10304. "description": "初始保证金",
  10305. "type": "number"
  10306. },
  10307. "remark": {
  10308. "description": "备注",
  10309. "type": "string"
  10310. },
  10311. "signdate": {
  10312. "description": "签订日期",
  10313. "type": "string"
  10314. }
  10315. }
  10316. },
  10317. "erms3.AddSpotContractApplyRsp": {
  10318. "type": "object",
  10319. "required": [
  10320. "contractno"
  10321. ],
  10322. "properties": {
  10323. "contractno": {
  10324. "description": "现货合同编号",
  10325. "type": "string"
  10326. },
  10327. "spotcontractid": {
  10328. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10329. "type": "integer"
  10330. }
  10331. }
  10332. },
  10333. "erms3.AddUserInfoApplyReq": {
  10334. "type": "object",
  10335. "required": [
  10336. "userid"
  10337. ],
  10338. "properties": {
  10339. "accountid": {
  10340. "description": "交易系统帐号Id (加密存储)",
  10341. "type": "integer"
  10342. },
  10343. "areacode": {
  10344. "description": "机构代码",
  10345. "type": "string"
  10346. },
  10347. "areaid": {
  10348. "description": "机构Id",
  10349. "type": "integer"
  10350. },
  10351. "attachment1": {
  10352. "description": "附件1",
  10353. "type": "string"
  10354. },
  10355. "attachment2": {
  10356. "description": "附件2",
  10357. "type": "string"
  10358. },
  10359. "attachment3": {
  10360. "description": "附件3",
  10361. "type": "string"
  10362. },
  10363. "attachment4": {
  10364. "description": "附件4",
  10365. "type": "string"
  10366. },
  10367. "attachment5": {
  10368. "description": "附件5",
  10369. "type": "string"
  10370. },
  10371. "auditedby": {
  10372. "description": "审核人",
  10373. "type": "string"
  10374. },
  10375. "auditime": {
  10376. "description": "审核时间",
  10377. "type": "string"
  10378. },
  10379. "bankaccount": {
  10380. "description": "银行帐号 (加密存储)",
  10381. "type": "string"
  10382. },
  10383. "bankaccountname": {
  10384. "description": "收款人名称",
  10385. "type": "string"
  10386. },
  10387. "bankcardbackphotourl": {
  10388. "description": "银行卡背面照地址",
  10389. "type": "string"
  10390. },
  10391. "bankcardfrontphotourl": {
  10392. "description": "银行卡正面照地址",
  10393. "type": "string"
  10394. },
  10395. "bankid": {
  10396. "description": "银行编码",
  10397. "type": "string"
  10398. },
  10399. "bankname": {
  10400. "description": "银行名称",
  10401. "type": "string"
  10402. },
  10403. "bankpictureurl": {
  10404. "description": "银行卡正面地址",
  10405. "type": "string"
  10406. },
  10407. "biznature": {
  10408. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10409. "type": "integer"
  10410. },
  10411. "bizscope": {
  10412. "description": "企业经营范围(企业)",
  10413. "type": "string"
  10414. },
  10415. "biztype": {
  10416. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10417. "type": "integer"
  10418. },
  10419. "brokerid": {
  10420. "description": "经纪人ID(加密存储)",
  10421. "type": "string"
  10422. },
  10423. "cardaddress": {
  10424. "description": "证件地址 (加密存储)",
  10425. "type": "string"
  10426. },
  10427. "cardbackphotourl": {
  10428. "description": "背面证件照地址",
  10429. "type": "string"
  10430. },
  10431. "cardfrontphotourl": {
  10432. "description": "正面证件照地址",
  10433. "type": "string"
  10434. },
  10435. "cardnum": {
  10436. "description": "证件号码 (加密存储)",
  10437. "type": "string"
  10438. },
  10439. "cardtype": {
  10440. "description": "证件类型",
  10441. "type": "integer"
  10442. },
  10443. "cityid": {
  10444. "description": "市",
  10445. "type": "integer"
  10446. },
  10447. "company": {
  10448. "description": "公司(个人)",
  10449. "type": "string"
  10450. },
  10451. "contactcardbackphotourl": {
  10452. "description": "联系人证件背面图片地址",
  10453. "type": "string"
  10454. },
  10455. "contactcardfrontphotourl": {
  10456. "description": "联系人证件正面图片地址",
  10457. "type": "string"
  10458. },
  10459. "contactname": {
  10460. "description": "联系人",
  10461. "type": "string"
  10462. },
  10463. "countryid": {
  10464. "description": "国家",
  10465. "type": "integer"
  10466. },
  10467. "createtime": {
  10468. "description": "开户申请时间",
  10469. "type": "string"
  10470. },
  10471. "cusbankid": {
  10472. "description": "签约类型",
  10473. "type": "string"
  10474. },
  10475. "cusbankname": {
  10476. "description": "签约类型名称",
  10477. "type": "string"
  10478. },
  10479. "customername": {
  10480. "description": "客户名称(企业名称)",
  10481. "type": "string"
  10482. },
  10483. "districtid": {
  10484. "description": "地区",
  10485. "type": "integer"
  10486. },
  10487. "email": {
  10488. "description": "Email地址(加密存储)",
  10489. "type": "string"
  10490. },
  10491. "halfbodyphotourl": {
  10492. "description": "半身照地址",
  10493. "type": "string"
  10494. },
  10495. "headurl": {
  10496. "description": "头像地址",
  10497. "type": "string"
  10498. },
  10499. "ipaddress": {
  10500. "description": "IP地址",
  10501. "type": "string"
  10502. },
  10503. "isvalidate": {
  10504. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10505. "type": "string"
  10506. },
  10507. "legalcardbackphotourl": {
  10508. "description": "法人身份证背面照地址",
  10509. "type": "string"
  10510. },
  10511. "legalcardfrontphotourl": {
  10512. "description": "法人身份证正面照地址",
  10513. "type": "string"
  10514. },
  10515. "legalpersonname": {
  10516. "description": "法人姓名(企业)",
  10517. "type": "string"
  10518. },
  10519. "logincode": {
  10520. "description": "登录帐号 (加密存储)",
  10521. "type": "string"
  10522. },
  10523. "memberareaid": {
  10524. "description": "所属会员ID",
  10525. "type": "integer"
  10526. },
  10527. "mobile2": {
  10528. "description": "手机号码[明文-尚志]",
  10529. "type": "string"
  10530. },
  10531. "mobilephone": {
  10532. "description": "手机号码 (加密存储)",
  10533. "type": "string"
  10534. },
  10535. "modifiedby": {
  10536. "description": "修改人帐号",
  10537. "type": "integer"
  10538. },
  10539. "modifiedtime": {
  10540. "description": "修改时间",
  10541. "type": "string"
  10542. },
  10543. "nickname": {
  10544. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10545. "type": "string"
  10546. },
  10547. "openmode": {
  10548. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10549. "type": "integer"
  10550. },
  10551. "otherurl": {
  10552. "description": "其它图片地址[使用分号分隔]",
  10553. "type": "string"
  10554. },
  10555. "postalcode": {
  10556. "description": "邮政编码",
  10557. "type": "string"
  10558. },
  10559. "provinceid": {
  10560. "description": "省",
  10561. "type": "integer"
  10562. },
  10563. "proxystatementurl": {
  10564. "description": "授权委托书",
  10565. "type": "string"
  10566. },
  10567. "qq": {
  10568. "description": "QQ(加密存储",
  10569. "type": "string"
  10570. },
  10571. "referral": {
  10572. "description": "推荐人编码",
  10573. "type": "string"
  10574. },
  10575. "remark": {
  10576. "description": "备注",
  10577. "type": "string"
  10578. },
  10579. "removebeforestatus": {
  10580. "description": "REMOVEBEFORESTATUS",
  10581. "type": "integer"
  10582. },
  10583. "sex": {
  10584. "description": "性别 - 0:女 1:男",
  10585. "type": "integer"
  10586. },
  10587. "signedstatus": {
  10588. "description": "账户一号签签约状态",
  10589. "type": "integer"
  10590. },
  10591. "signpdfurl": {
  10592. "description": "签约pdf文件",
  10593. "type": "string"
  10594. },
  10595. "subbranch": {
  10596. "description": "开户支行",
  10597. "type": "string"
  10598. },
  10599. "telphone": {
  10600. "description": "联系电话(加密存储)",
  10601. "type": "string"
  10602. },
  10603. "userid": {
  10604. "description": "用户ID(自增ID)",
  10605. "type": "integer"
  10606. },
  10607. "userinfotype": {
  10608. "description": "用户信息类型 - 1:个人 2:企业",
  10609. "type": "integer"
  10610. },
  10611. "username": {
  10612. "description": "用户姓名",
  10613. "type": "string"
  10614. },
  10615. "userstate": {
  10616. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10617. "type": "integer"
  10618. },
  10619. "usertype": {
  10620. "description": "用户类型 - 1:投资者 2:机构",
  10621. "type": "integer"
  10622. },
  10623. "videourl": {
  10624. "description": "视频地址",
  10625. "type": "string"
  10626. },
  10627. "wechat": {
  10628. "description": "微信号 (加密存储)",
  10629. "type": "string"
  10630. }
  10631. }
  10632. },
  10633. "erms3.CustomerInfo": {
  10634. "type": "object",
  10635. "required": [
  10636. "userid"
  10637. ],
  10638. "properties": {
  10639. "accountids": {
  10640. "description": "资金账户ID列表",
  10641. "type": "array",
  10642. "items": {
  10643. "type": "integer"
  10644. }
  10645. },
  10646. "customername": {
  10647. "description": "名称(企业名称)",
  10648. "type": "string"
  10649. },
  10650. "mobile": {
  10651. "description": "手机号码",
  10652. "type": "string"
  10653. },
  10654. "userid": {
  10655. "description": "用户ID",
  10656. "type": "integer"
  10657. }
  10658. }
  10659. },
  10660. "erms3.ModifyUserInfoApplyReq": {
  10661. "type": "object",
  10662. "required": [
  10663. "userid"
  10664. ],
  10665. "properties": {
  10666. "accountid": {
  10667. "description": "交易系统帐号Id (加密存储)",
  10668. "type": "integer"
  10669. },
  10670. "areacode": {
  10671. "description": "机构代码",
  10672. "type": "string"
  10673. },
  10674. "areaid": {
  10675. "description": "机构Id",
  10676. "type": "integer"
  10677. },
  10678. "attachment1": {
  10679. "description": "附件1",
  10680. "type": "string"
  10681. },
  10682. "attachment2": {
  10683. "description": "附件2",
  10684. "type": "string"
  10685. },
  10686. "attachment3": {
  10687. "description": "附件3",
  10688. "type": "string"
  10689. },
  10690. "attachment4": {
  10691. "description": "附件4",
  10692. "type": "string"
  10693. },
  10694. "attachment5": {
  10695. "description": "附件5",
  10696. "type": "string"
  10697. },
  10698. "auditedby": {
  10699. "description": "审核人",
  10700. "type": "string"
  10701. },
  10702. "auditime": {
  10703. "description": "审核时间",
  10704. "type": "string"
  10705. },
  10706. "bankaccount": {
  10707. "description": "银行帐号 (加密存储)",
  10708. "type": "string"
  10709. },
  10710. "bankaccountname": {
  10711. "description": "收款人名称",
  10712. "type": "string"
  10713. },
  10714. "bankcardbackphotourl": {
  10715. "description": "银行卡背面照地址",
  10716. "type": "string"
  10717. },
  10718. "bankcardfrontphotourl": {
  10719. "description": "银行卡正面照地址",
  10720. "type": "string"
  10721. },
  10722. "bankid": {
  10723. "description": "银行编码",
  10724. "type": "string"
  10725. },
  10726. "bankname": {
  10727. "description": "银行名称",
  10728. "type": "string"
  10729. },
  10730. "bankpictureurl": {
  10731. "description": "银行卡正面地址",
  10732. "type": "string"
  10733. },
  10734. "biznature": {
  10735. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10736. "type": "integer"
  10737. },
  10738. "bizscope": {
  10739. "description": "企业经营范围(企业)",
  10740. "type": "string"
  10741. },
  10742. "biztype": {
  10743. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10744. "type": "integer"
  10745. },
  10746. "brokerid": {
  10747. "description": "经纪人ID(加密存储)",
  10748. "type": "string"
  10749. },
  10750. "cardaddress": {
  10751. "description": "证件地址 (加密存储)",
  10752. "type": "string"
  10753. },
  10754. "cardbackphotourl": {
  10755. "description": "背面证件照地址",
  10756. "type": "string"
  10757. },
  10758. "cardfrontphotourl": {
  10759. "description": "正面证件照地址",
  10760. "type": "string"
  10761. },
  10762. "cardnum": {
  10763. "description": "证件号码 (加密存储)",
  10764. "type": "string"
  10765. },
  10766. "cardtype": {
  10767. "description": "证件类型",
  10768. "type": "integer"
  10769. },
  10770. "cityid": {
  10771. "description": "市",
  10772. "type": "integer"
  10773. },
  10774. "company": {
  10775. "description": "公司(个人)",
  10776. "type": "string"
  10777. },
  10778. "contactcardbackphotourl": {
  10779. "description": "联系人证件背面图片地址",
  10780. "type": "string"
  10781. },
  10782. "contactcardfrontphotourl": {
  10783. "description": "联系人证件正面图片地址",
  10784. "type": "string"
  10785. },
  10786. "contactname": {
  10787. "description": "联系人",
  10788. "type": "string"
  10789. },
  10790. "countryid": {
  10791. "description": "国家",
  10792. "type": "integer"
  10793. },
  10794. "createtime": {
  10795. "description": "开户申请时间",
  10796. "type": "string"
  10797. },
  10798. "cusbankid": {
  10799. "description": "签约类型",
  10800. "type": "string"
  10801. },
  10802. "cusbankname": {
  10803. "description": "签约类型名称",
  10804. "type": "string"
  10805. },
  10806. "customername": {
  10807. "description": "客户名称(企业名称)",
  10808. "type": "string"
  10809. },
  10810. "districtid": {
  10811. "description": "地区",
  10812. "type": "integer"
  10813. },
  10814. "email": {
  10815. "description": "Email地址(加密存储)",
  10816. "type": "string"
  10817. },
  10818. "halfbodyphotourl": {
  10819. "description": "半身照地址",
  10820. "type": "string"
  10821. },
  10822. "headurl": {
  10823. "description": "头像地址",
  10824. "type": "string"
  10825. },
  10826. "ipaddress": {
  10827. "description": "IP地址",
  10828. "type": "string"
  10829. },
  10830. "isvalidate": {
  10831. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10832. "type": "string"
  10833. },
  10834. "legalcardbackphotourl": {
  10835. "description": "法人身份证背面照地址",
  10836. "type": "string"
  10837. },
  10838. "legalcardfrontphotourl": {
  10839. "description": "法人身份证正面照地址",
  10840. "type": "string"
  10841. },
  10842. "legalpersonname": {
  10843. "description": "法人姓名(企业)",
  10844. "type": "string"
  10845. },
  10846. "logincode": {
  10847. "description": "登录帐号 (加密存储)",
  10848. "type": "string"
  10849. },
  10850. "memberareaid": {
  10851. "description": "所属会员ID",
  10852. "type": "integer"
  10853. },
  10854. "mobile2": {
  10855. "description": "手机号码[明文-尚志]",
  10856. "type": "string"
  10857. },
  10858. "mobilephone": {
  10859. "description": "手机号码 (加密存储)",
  10860. "type": "string"
  10861. },
  10862. "modifiedby": {
  10863. "description": "修改人帐号",
  10864. "type": "integer"
  10865. },
  10866. "modifiedtime": {
  10867. "description": "修改时间",
  10868. "type": "string"
  10869. },
  10870. "nickname": {
  10871. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10872. "type": "string"
  10873. },
  10874. "openmode": {
  10875. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10876. "type": "integer"
  10877. },
  10878. "otherurl": {
  10879. "description": "其它图片地址[使用分号分隔]",
  10880. "type": "string"
  10881. },
  10882. "postalcode": {
  10883. "description": "邮政编码",
  10884. "type": "string"
  10885. },
  10886. "provinceid": {
  10887. "description": "省",
  10888. "type": "integer"
  10889. },
  10890. "proxystatementurl": {
  10891. "description": "授权委托书",
  10892. "type": "string"
  10893. },
  10894. "qq": {
  10895. "description": "QQ(加密存储",
  10896. "type": "string"
  10897. },
  10898. "referral": {
  10899. "description": "推荐人编码",
  10900. "type": "string"
  10901. },
  10902. "remark": {
  10903. "description": "备注",
  10904. "type": "string"
  10905. },
  10906. "removebeforestatus": {
  10907. "description": "REMOVEBEFORESTATUS",
  10908. "type": "integer"
  10909. },
  10910. "sex": {
  10911. "description": "性别 - 0:女 1:男",
  10912. "type": "integer"
  10913. },
  10914. "signedstatus": {
  10915. "description": "账户一号签签约状态",
  10916. "type": "integer"
  10917. },
  10918. "signpdfurl": {
  10919. "description": "签约pdf文件",
  10920. "type": "string"
  10921. },
  10922. "subbranch": {
  10923. "description": "开户支行",
  10924. "type": "string"
  10925. },
  10926. "telphone": {
  10927. "description": "联系电话(加密存储)",
  10928. "type": "string"
  10929. },
  10930. "userid": {
  10931. "description": "用户ID(自增ID)",
  10932. "type": "integer"
  10933. },
  10934. "userinfotype": {
  10935. "description": "用户信息类型 - 1:个人 2:企业",
  10936. "type": "integer"
  10937. },
  10938. "username": {
  10939. "description": "用户姓名",
  10940. "type": "string"
  10941. },
  10942. "userstate": {
  10943. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10944. "type": "integer"
  10945. },
  10946. "usertype": {
  10947. "description": "用户类型 - 1:投资者 2:机构",
  10948. "type": "integer"
  10949. },
  10950. "videourl": {
  10951. "description": "视频地址",
  10952. "type": "string"
  10953. },
  10954. "wechat": {
  10955. "description": "微信号 (加密存储)",
  10956. "type": "string"
  10957. }
  10958. }
  10959. },
  10960. "erms3.QryAuditContractRsp": {
  10961. "type": "object",
  10962. "required": [
  10963. "matchcustomername",
  10964. "spotcontractid"
  10965. ],
  10966. "properties": {
  10967. "accountid": {
  10968. "description": "交易员ID",
  10969. "type": "string"
  10970. },
  10971. "applystatus": {
  10972. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10973. "type": "integer"
  10974. },
  10975. "curdeliveryqty": {
  10976. "description": "未交收量",
  10977. "type": "integer"
  10978. },
  10979. "customername": {
  10980. "description": "采购方ID",
  10981. "type": "string"
  10982. },
  10983. "deliverygoodsid": {
  10984. "description": "品种ID",
  10985. "type": "string"
  10986. },
  10987. "deliveryqty": {
  10988. "description": "交收量",
  10989. "type": "integer"
  10990. },
  10991. "enumdicname": {
  10992. "description": "单位名称",
  10993. "type": "string"
  10994. },
  10995. "matchaccountid": {
  10996. "description": "业务员ID",
  10997. "type": "string"
  10998. },
  10999. "matchcustomername": {
  11000. "description": "销售方ID",
  11001. "type": "string"
  11002. },
  11003. "pricedqty": {
  11004. "description": "定价量",
  11005. "type": "number"
  11006. },
  11007. "signdate": {
  11008. "description": "签订日期",
  11009. "type": "string"
  11010. },
  11011. "spotcontractid": {
  11012. "description": "合同ID",
  11013. "type": "string"
  11014. },
  11015. "totaldqty": {
  11016. "description": "合同量",
  11017. "type": "number"
  11018. },
  11019. "unpricedqty": {
  11020. "description": "未定价量",
  11021. "type": "number"
  11022. },
  11023. "wrstandardname": {
  11024. "description": "商品名称",
  11025. "type": "string"
  11026. }
  11027. }
  11028. },
  11029. "erms3.QryPendingBizRsp": {
  11030. "$ref": "#/definitions/models.PendingAuditBizModel"
  11031. },
  11032. "erms3.QueryBusinessInfoRsp": {
  11033. "type": "object",
  11034. "properties": {
  11035. "businessid": {
  11036. "description": "业务ID.",
  11037. "type": "integer"
  11038. },
  11039. "buyamount": {
  11040. "description": "采购额.",
  11041. "type": "number"
  11042. },
  11043. "buyqty": {
  11044. "description": "采购量.",
  11045. "type": "string"
  11046. },
  11047. "futurepl": {
  11048. "description": "期货盈亏.",
  11049. "type": "number"
  11050. },
  11051. "futureqty": {
  11052. "description": "期货敞口.",
  11053. "type": "string"
  11054. },
  11055. "goodsid": {
  11056. "description": "商品名称/商品代码.",
  11057. "type": "string"
  11058. },
  11059. "hedgingqty": {
  11060. "description": "套保量.",
  11061. "type": "string"
  11062. },
  11063. "sellamount": {
  11064. "description": "销售额.",
  11065. "type": "number"
  11066. },
  11067. "sellqty": {
  11068. "description": "销售量.",
  11069. "type": "string"
  11070. },
  11071. "spotmarketvalue": {
  11072. "description": "现货市值.",
  11073. "type": "number"
  11074. },
  11075. "spotpl": {
  11076. "description": "浮动权益.",
  11077. "type": "number"
  11078. },
  11079. "spotqty": {
  11080. "description": "现货量.",
  11081. "type": "string"
  11082. },
  11083. "statu": {
  11084. "description": "状态,0-未结束 1-已结束.",
  11085. "type": "integer"
  11086. },
  11087. "totalpl": {
  11088. "description": "总盈亏.",
  11089. "type": "number"
  11090. },
  11091. "totalqty": {
  11092. "description": "总敞口.",
  11093. "type": "string"
  11094. },
  11095. "type": {
  11096. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11097. "type": "integer"
  11098. }
  11099. }
  11100. },
  11101. "erms3.QuerySpotContractAppleFormRsp": {
  11102. "type": "object",
  11103. "properties": {
  11104. "goodses": {
  11105. "description": "合约列表",
  11106. "type": "array",
  11107. "items": {
  11108. "$ref": "#/definitions/models.GoodsIDAndName"
  11109. }
  11110. },
  11111. "oppositeusers": {
  11112. "description": "对方账号列表",
  11113. "type": "array",
  11114. "items": {
  11115. "$ref": "#/definitions/erms3.CustomerInfo"
  11116. }
  11117. },
  11118. "ouruser": {
  11119. "description": "我方账号",
  11120. "type": "object",
  11121. "$ref": "#/definitions/erms3.CustomerInfo"
  11122. },
  11123. "warehouseinfos": {
  11124. "description": "仓库信息列表",
  11125. "type": "array",
  11126. "items": {
  11127. "$ref": "#/definitions/models.Warehouseinfo"
  11128. }
  11129. },
  11130. "wrstandards": {
  11131. "description": "仓单标准列表",
  11132. "type": "array",
  11133. "items": {
  11134. "$ref": "#/definitions/models.WRStandardInfo"
  11135. }
  11136. }
  11137. }
  11138. },
  11139. "erms3.QuerySpotContractInfoRsp": {
  11140. "type": "object",
  11141. "properties": {
  11142. "accountid": {
  11143. "description": "表示交易员ID.",
  11144. "type": "integer"
  11145. },
  11146. "curdeliveryqty": {
  11147. "description": "表示未交收量.",
  11148. "type": "number"
  11149. },
  11150. "customername": {
  11151. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11152. "type": "string"
  11153. },
  11154. "deliverygoodsid": {
  11155. "description": "表示品种ID.",
  11156. "type": "string"
  11157. },
  11158. "deliveryqty": {
  11159. "description": "表示交收量.",
  11160. "type": "number"
  11161. },
  11162. "matchaccountid": {
  11163. "description": "表示业务员ID.",
  11164. "type": "integer"
  11165. },
  11166. "matchcustomername": {
  11167. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11168. "type": "string"
  11169. },
  11170. "priceqty": {
  11171. "description": "表示定价量.",
  11172. "type": "number"
  11173. },
  11174. "relatedbizid": {
  11175. "description": "表示业务ID.",
  11176. "type": "string"
  11177. },
  11178. "signdate": {
  11179. "description": "表示签订日期.",
  11180. "type": "string"
  11181. },
  11182. "spotcontractid": {
  11183. "description": "合同ID",
  11184. "type": "string"
  11185. },
  11186. "status": {
  11187. "description": "表示状态,0-履约中 1-已完成.",
  11188. "type": "integer"
  11189. },
  11190. "totalqty": {
  11191. "description": "表示合同量.",
  11192. "type": "number"
  11193. },
  11194. "unpricedqty": {
  11195. "description": "表示未定价量.",
  11196. "type": "number"
  11197. },
  11198. "wrstandardname": {
  11199. "description": "表示商品ID.",
  11200. "type": "string"
  11201. }
  11202. }
  11203. },
  11204. "erms3.QueryUserInfoAppliesRsp": {
  11205. "type": "object",
  11206. "required": [
  11207. "userid"
  11208. ],
  11209. "properties": {
  11210. "biznature": {
  11211. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11212. "type": "integer"
  11213. },
  11214. "contactname": {
  11215. "description": "联系人",
  11216. "type": "string"
  11217. },
  11218. "createtime": {
  11219. "description": "开户申请时间",
  11220. "type": "string"
  11221. },
  11222. "userid": {
  11223. "description": "用户ID(自增ID)",
  11224. "type": "integer"
  11225. },
  11226. "userinfotype": {
  11227. "description": "用户信息类型 - 1:个人 2:企业",
  11228. "type": "integer"
  11229. },
  11230. "username": {
  11231. "description": "用户姓名",
  11232. "type": "string"
  11233. },
  11234. "userstate": {
  11235. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11236. "type": "integer"
  11237. }
  11238. }
  11239. },
  11240. "erms3.QueryUserInfosRsp": {
  11241. "type": "object",
  11242. "required": [
  11243. "userid"
  11244. ],
  11245. "properties": {
  11246. "biznature": {
  11247. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11248. "type": "integer"
  11249. },
  11250. "contactname": {
  11251. "description": "联系人",
  11252. "type": "string"
  11253. },
  11254. "customername": {
  11255. "description": "客户名称(企业名称)",
  11256. "type": "string"
  11257. },
  11258. "userid": {
  11259. "description": "用户ID",
  11260. "type": "integer"
  11261. },
  11262. "userinfotype": {
  11263. "description": "用户信息类型 - 1:个人 2:企业",
  11264. "type": "integer"
  11265. },
  11266. "userstatus": {
  11267. "description": "用户状态 - 1:正常 2:注销",
  11268. "type": "integer"
  11269. }
  11270. }
  11271. },
  11272. "erms3.SoptContractDetail": {
  11273. "type": "object",
  11274. "required": [
  11275. "deliverygoodsid",
  11276. "producttype",
  11277. "unitname",
  11278. "warehouseid",
  11279. "wrstandardid",
  11280. "wrstandardname"
  11281. ],
  11282. "properties": {
  11283. "deliverygoodsdesc": {
  11284. "description": "现货品种说明",
  11285. "type": "string"
  11286. },
  11287. "deliverygoodsid": {
  11288. "description": "现货品种ID",
  11289. "type": "integer"
  11290. },
  11291. "deliverygoodsname": {
  11292. "description": "现货品种名称",
  11293. "type": "string"
  11294. },
  11295. "pointdesc": {
  11296. "description": "点价描述",
  11297. "type": "string"
  11298. },
  11299. "producttype": {
  11300. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11301. "type": "integer"
  11302. },
  11303. "producttypename": {
  11304. "description": "产品类型名称",
  11305. "type": "string"
  11306. },
  11307. "spotPointOrderVoList": {
  11308. "description": "点价列表",
  11309. "type": "array",
  11310. "items": {
  11311. "$ref": "#/definitions/erms3.SpotPointOrder"
  11312. }
  11313. },
  11314. "spotPriceOrderList": {
  11315. "description": "定价列表",
  11316. "type": "array",
  11317. "items": {
  11318. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11319. }
  11320. },
  11321. "unitname": {
  11322. "description": "单位名称",
  11323. "type": "string"
  11324. },
  11325. "warehouseid": {
  11326. "description": "仓库ID",
  11327. "type": "integer"
  11328. },
  11329. "warehousename": {
  11330. "description": "仓库名称",
  11331. "type": "string"
  11332. },
  11333. "wrstandardid": {
  11334. "description": "交易标的ID",
  11335. "type": "integer"
  11336. },
  11337. "wrstandardname": {
  11338. "description": "交易标的名称",
  11339. "type": "string"
  11340. }
  11341. }
  11342. },
  11343. "erms3.SpotPointOrder": {
  11344. "type": "object",
  11345. "required": [
  11346. "basic",
  11347. "goodsid",
  11348. "qty"
  11349. ],
  11350. "properties": {
  11351. "basic": {
  11352. "description": "基差",
  11353. "type": "number"
  11354. },
  11355. "deliveryenddate": {
  11356. "description": "交收结束日期",
  11357. "type": "string"
  11358. },
  11359. "deliverystartdate": {
  11360. "description": "交收开始日期",
  11361. "type": "string"
  11362. },
  11363. "enddate": {
  11364. "description": "点价结束日期",
  11365. "type": "string"
  11366. },
  11367. "goodsid": {
  11368. "description": "商品ID",
  11369. "type": "integer"
  11370. },
  11371. "goodsname": {
  11372. "description": "商品名称",
  11373. "type": "string"
  11374. },
  11375. "qty": {
  11376. "description": "数量",
  11377. "type": "number"
  11378. },
  11379. "startdate": {
  11380. "description": "点价开始日期",
  11381. "type": "string"
  11382. }
  11383. }
  11384. },
  11385. "erms3.SpotPriceOrder": {
  11386. "type": "object",
  11387. "required": [
  11388. "amount",
  11389. "price",
  11390. "qty"
  11391. ],
  11392. "properties": {
  11393. "amount": {
  11394. "description": "金额",
  11395. "type": "number"
  11396. },
  11397. "deliveryenddate": {
  11398. "description": "交收结束日期",
  11399. "type": "string"
  11400. },
  11401. "deliverystartdate": {
  11402. "description": "交收开始日期",
  11403. "type": "string"
  11404. },
  11405. "price": {
  11406. "description": "价格",
  11407. "type": "number"
  11408. },
  11409. "qty": {
  11410. "description": "数量",
  11411. "type": "number"
  11412. }
  11413. }
  11414. },
  11415. "hsby.GetHsbyMyCountRsp": {
  11416. "type": "object",
  11417. "properties": {
  11418. "myCouponCount": {
  11419. "description": "我的优惠卷数量",
  11420. "type": "integer"
  11421. },
  11422. "myOrderDetailListingCount": {
  11423. "description": "我的订单求购中数量",
  11424. "type": "integer"
  11425. },
  11426. "myOrderDetailPreCount": {
  11427. "description": "我的订单抢购中数量",
  11428. "type": "integer"
  11429. },
  11430. "myPackageUnReceiveCount": {
  11431. "description": "我的包裹待收货数量",
  11432. "type": "integer"
  11433. },
  11434. "myPackageUnSendCount": {
  11435. "description": "我的包裹待发货数量",
  11436. "type": "integer"
  11437. },
  11438. "myPayOrderCount": {
  11439. "description": "我的订单待付款数量",
  11440. "type": "integer"
  11441. }
  11442. }
  11443. },
  11444. "hsby.QueryProvincesAndCitiesRsp": {
  11445. "type": "object",
  11446. "properties": {
  11447. "cities": {
  11448. "description": "市",
  11449. "type": "array",
  11450. "items": {
  11451. "$ref": "#/definitions/models.Division"
  11452. }
  11453. },
  11454. "province": {
  11455. "description": "省",
  11456. "type": "object",
  11457. "$ref": "#/definitions/models.Division"
  11458. }
  11459. }
  11460. },
  11461. "models.AreaSpotModel": {
  11462. "type": "object",
  11463. "properties": {
  11464. "areauserid": {
  11465. "description": "所属机构",
  11466. "type": "integer"
  11467. },
  11468. "decreaseqty": {
  11469. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11470. "type": "number"
  11471. },
  11472. "increaseqty": {
  11473. "description": "增加数量=销售计划数量+采购已定价数量",
  11474. "type": "number"
  11475. },
  11476. "oritoalspotqty": {
  11477. "description": "昨日数量",
  11478. "type": "number"
  11479. },
  11480. "totalspotqty": {
  11481. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11482. "type": "number"
  11483. },
  11484. "updatetime": {
  11485. "description": "更新时间",
  11486. "type": "string"
  11487. },
  11488. "wrstandardcode": {
  11489. "description": "现货品种代码",
  11490. "type": "string"
  11491. },
  11492. "wrstandardid": {
  11493. "description": "现货商品ID",
  11494. "type": "integer"
  11495. },
  11496. "wrstandardname": {
  11497. "description": "现货品种",
  11498. "type": "string"
  11499. }
  11500. }
  11501. },
  11502. "models.Clientfixedadconfig": {
  11503. "type": "object",
  11504. "required": [
  11505. "adsort",
  11506. "adtype"
  11507. ],
  11508. "properties": {
  11509. "adsort": {
  11510. "description": "排序",
  11511. "type": "integer"
  11512. },
  11513. "adtype": {
  11514. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11515. "type": "integer"
  11516. },
  11517. "areauserid": {
  11518. "description": "所属机构ID",
  11519. "type": "integer"
  11520. },
  11521. "createdate": {
  11522. "description": "创建时间",
  11523. "type": "string"
  11524. },
  11525. "creatorid": {
  11526. "description": "创建人",
  11527. "type": "integer"
  11528. },
  11529. "imagepath": {
  11530. "description": "图片",
  11531. "type": "string"
  11532. },
  11533. "isshow": {
  11534. "description": "是否展示 - 0:不展示 1:展示",
  11535. "type": "integer"
  11536. },
  11537. "modifierid": {
  11538. "description": "操作人",
  11539. "type": "integer"
  11540. },
  11541. "recsize": {
  11542. "description": "推荐尺寸",
  11543. "type": "string"
  11544. },
  11545. "title": {
  11546. "description": "标题",
  11547. "type": "string"
  11548. },
  11549. "updatedate": {
  11550. "description": "更新时间",
  11551. "type": "string"
  11552. },
  11553. "urlcontent": {
  11554. "description": "链接(地址或商品ID)",
  11555. "type": "string"
  11556. },
  11557. "urltype": {
  11558. "description": "链接类型 - 1:直接地址 2:商品ID",
  11559. "type": "integer"
  11560. }
  11561. }
  11562. },
  11563. "models.Division": {
  11564. "type": "object",
  11565. "required": [
  11566. "autoid",
  11567. "divisioncode"
  11568. ],
  11569. "properties": {
  11570. "autoid": {
  11571. "description": "自增ID",
  11572. "type": "integer"
  11573. },
  11574. "divisioncode": {
  11575. "description": "行政代码",
  11576. "type": "string"
  11577. },
  11578. "divisionlevel": {
  11579. "description": "行政级别",
  11580. "type": "string"
  11581. },
  11582. "divisionname": {
  11583. "description": "行政名称",
  11584. "type": "string"
  11585. },
  11586. "modifierid": {
  11587. "description": "修改人",
  11588. "type": "integer"
  11589. },
  11590. "modifytime": {
  11591. "description": "修改时间",
  11592. "type": "string"
  11593. },
  11594. "parentcode": {
  11595. "description": "上级行政代码",
  11596. "type": "string"
  11597. },
  11598. "pathname": {
  11599. "description": "路径名称",
  11600. "type": "string"
  11601. },
  11602. "postcode": {
  11603. "description": "邮政编码",
  11604. "type": "string"
  11605. },
  11606. "separablename": {
  11607. "description": "可拆分的全称",
  11608. "type": "string"
  11609. },
  11610. "shortcode": {
  11611. "description": "地区简码",
  11612. "type": "string"
  11613. }
  11614. }
  11615. },
  11616. "models.Enumdicitem": {
  11617. "type": "object",
  11618. "required": [
  11619. "autoid",
  11620. "enumdiccode",
  11621. "enumdicid",
  11622. "enumitemname"
  11623. ],
  11624. "properties": {
  11625. "autoid": {
  11626. "description": "自增ID",
  11627. "type": "integer"
  11628. },
  11629. "bankmappedvalue": {
  11630. "description": "银行服务对应值",
  11631. "type": "string"
  11632. },
  11633. "enumdiccode": {
  11634. "description": "所属枚举代码",
  11635. "type": "string"
  11636. },
  11637. "enumdicid": {
  11638. "description": "所属枚举ID",
  11639. "type": "integer"
  11640. },
  11641. "enumdicname": {
  11642. "description": "枚举项名称",
  11643. "type": "string"
  11644. },
  11645. "enumitemname": {
  11646. "description": "枚举项值",
  11647. "type": "integer"
  11648. },
  11649. "enumitemstatus": {
  11650. "description": "枚举项状态 - 1.启用 2.不启用",
  11651. "type": "integer"
  11652. },
  11653. "enumitemvalue": {
  11654. "description": "通用值 - [币种通用简写]",
  11655. "type": "string"
  11656. },
  11657. "param1": {
  11658. "description": "参数1[币种:币种小数位]",
  11659. "type": "string"
  11660. },
  11661. "param2": {
  11662. "description": "参数1[币种:币种显示单位]",
  11663. "type": "string"
  11664. },
  11665. "remark": {
  11666. "description": "备注",
  11667. "type": "string"
  11668. }
  11669. }
  11670. },
  11671. "models.ErmcpAreaSpotDetailModel": {
  11672. "type": "object",
  11673. "properties": {
  11674. "contracttype": {
  11675. "description": "合同类型 1-采购 -1-销售",
  11676. "type": "integer"
  11677. },
  11678. "createtime": {
  11679. "description": "创建时间",
  11680. "type": "string"
  11681. },
  11682. "enumdicname": {
  11683. "description": "现货商品单位名称",
  11684. "type": "string"
  11685. },
  11686. "logtype": {
  11687. "description": "记录类型 1-套保 2-现货合同",
  11688. "type": "integer"
  11689. },
  11690. "qty": {
  11691. "description": "数量",
  11692. "type": "number"
  11693. },
  11694. "recordname": {
  11695. "description": "类型名称",
  11696. "type": "string"
  11697. },
  11698. "relatedid": {
  11699. "description": "套保计划ID/现货合同ID",
  11700. "type": "string"
  11701. },
  11702. "relatedno": {
  11703. "description": "编号",
  11704. "type": "string"
  11705. },
  11706. "strtime": {
  11707. "description": "时间",
  11708. "type": "string"
  11709. },
  11710. "wrstandardcode": {
  11711. "description": "现货商品代码",
  11712. "type": "string"
  11713. },
  11714. "wrstandardname": {
  11715. "description": "现货商品名称",
  11716. "type": "string"
  11717. }
  11718. }
  11719. },
  11720. "models.ErmcpAreaStock": {
  11721. "type": "object",
  11722. "properties": {
  11723. "brandname": {
  11724. "description": "品牌名称",
  11725. "type": "string"
  11726. },
  11727. "curstock": {
  11728. "description": "期末库存量(今日量)",
  11729. "type": "number"
  11730. },
  11731. "deliverygoodsid": {
  11732. "description": "现货品种ID",
  11733. "type": "integer"
  11734. },
  11735. "enumdicname": {
  11736. "description": "单位名称",
  11737. "type": "string"
  11738. },
  11739. "modelname": {
  11740. "description": "型号名称",
  11741. "type": "string"
  11742. },
  11743. "oristock": {
  11744. "description": "期初库存量(昨日量)",
  11745. "type": "number"
  11746. },
  11747. "spotgoodsbrandid": {
  11748. "description": "现货品牌ID",
  11749. "type": "integer"
  11750. },
  11751. "spotgoodsmodelid": {
  11752. "description": "现货型号ID",
  11753. "type": "integer"
  11754. },
  11755. "todaybuyinqty": {
  11756. "description": "今日采购入库量",
  11757. "type": "number"
  11758. },
  11759. "todayproduceinqty": {
  11760. "description": "今日生产入库量",
  11761. "type": "number"
  11762. },
  11763. "todayproduceoutqty": {
  11764. "description": "今日生产出库量",
  11765. "type": "number"
  11766. },
  11767. "todayselloutqty": {
  11768. "description": "今日销售出库量",
  11769. "type": "number"
  11770. },
  11771. "unitid": {
  11772. "description": "单位id",
  11773. "type": "integer"
  11774. },
  11775. "updatetime": {
  11776. "description": "更新时间",
  11777. "type": "string"
  11778. },
  11779. "userid": {
  11780. "description": "机构ID",
  11781. "type": "integer"
  11782. },
  11783. "username": {
  11784. "description": "机构名称",
  11785. "type": "string"
  11786. },
  11787. "warehousecode": {
  11788. "description": "仓库代码",
  11789. "type": "string"
  11790. },
  11791. "warehouseinfoid": {
  11792. "description": "仓库ID",
  11793. "type": "string"
  11794. },
  11795. "warehousename": {
  11796. "description": "仓库名称",
  11797. "type": "string"
  11798. },
  11799. "warehousetype": {
  11800. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11801. "type": "integer"
  11802. },
  11803. "wrstandardcode": {
  11804. "description": "现货商品代码",
  11805. "type": "string"
  11806. },
  11807. "wrstandardid": {
  11808. "description": "现货商品ID",
  11809. "type": "string"
  11810. },
  11811. "wrstandardname": {
  11812. "description": "现货商品名称",
  11813. "type": "string"
  11814. }
  11815. }
  11816. },
  11817. "models.ErmcpAreaStockApply": {
  11818. "type": "object",
  11819. "properties": {
  11820. "applyid": {
  11821. "description": "申请人",
  11822. "type": "integer"
  11823. },
  11824. "applyname": {
  11825. "description": "申请人名称",
  11826. "type": "string"
  11827. },
  11828. "applyremark": {
  11829. "description": "申请备注",
  11830. "type": "string"
  11831. },
  11832. "applysrc": {
  11833. "description": "申请来源 - 1:管理端 2:终端",
  11834. "type": "integer"
  11835. },
  11836. "applystatus": {
  11837. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11838. "type": "integer"
  11839. },
  11840. "applytime": {
  11841. "description": "申请时间",
  11842. "type": "string"
  11843. },
  11844. "auditid": {
  11845. "description": "审核人",
  11846. "type": "integer"
  11847. },
  11848. "auditname": {
  11849. "description": "审核人名称",
  11850. "type": "string"
  11851. },
  11852. "auditremark": {
  11853. "description": "审核备注",
  11854. "type": "string"
  11855. },
  11856. "auditsrc": {
  11857. "description": "审核来源 - 1:管理端 2:终端",
  11858. "type": "integer"
  11859. },
  11860. "audittime": {
  11861. "description": "审核时间",
  11862. "type": "string"
  11863. },
  11864. "audittradedate": {
  11865. "description": "审核交易日(yyyyMMdd)",
  11866. "type": "string"
  11867. },
  11868. "brandname": {
  11869. "description": "品牌名称",
  11870. "type": "string"
  11871. },
  11872. "buyuserid": {
  11873. "description": "采购方userid",
  11874. "type": "integer"
  11875. },
  11876. "buyusername": {
  11877. "description": "采购方名称",
  11878. "type": "string"
  11879. },
  11880. "contractno": {
  11881. "description": "合同编号",
  11882. "type": "string"
  11883. },
  11884. "contractqty": {
  11885. "description": "合同量",
  11886. "type": "number"
  11887. },
  11888. "contracttype": {
  11889. "description": "现货合同类型 - 1:采购 -1:销售",
  11890. "type": "integer"
  11891. },
  11892. "deliverygoodsid": {
  11893. "description": "现货品种ID",
  11894. "type": "integer"
  11895. },
  11896. "enumdicname": {
  11897. "description": "现货商品单位名称",
  11898. "type": "string"
  11899. },
  11900. "inoutapplyid": {
  11901. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11902. "type": "string"
  11903. },
  11904. "inouttype": {
  11905. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11906. "type": "integer"
  11907. },
  11908. "modelname": {
  11909. "description": "型号名称",
  11910. "type": "string"
  11911. },
  11912. "pricetype": {
  11913. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11914. "type": "integer"
  11915. },
  11916. "qty": {
  11917. "description": "数量",
  11918. "type": "number"
  11919. },
  11920. "selluserid": {
  11921. "description": "销售方userid",
  11922. "type": "integer"
  11923. },
  11924. "sellusername": {
  11925. "description": "销售方名称",
  11926. "type": "string"
  11927. },
  11928. "spotcontractid": {
  11929. "description": "关联现货合同ID",
  11930. "type": "string"
  11931. },
  11932. "spotgoodsbrandid": {
  11933. "description": "现货品牌ID",
  11934. "type": "integer"
  11935. },
  11936. "spotgoodsmodelid": {
  11937. "description": "现货型号ID",
  11938. "type": "integer"
  11939. },
  11940. "unitid": {
  11941. "description": "单位id",
  11942. "type": "integer"
  11943. },
  11944. "userid": {
  11945. "description": "机构ID",
  11946. "type": "integer"
  11947. },
  11948. "warehousecode": {
  11949. "description": "仓库代码",
  11950. "type": "string"
  11951. },
  11952. "warehouseinfoid": {
  11953. "description": "现货仓库ID",
  11954. "type": "string"
  11955. },
  11956. "warehousename": {
  11957. "description": "仓库名称",
  11958. "type": "string"
  11959. },
  11960. "warehousetype": {
  11961. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11962. "type": "integer"
  11963. },
  11964. "wrstandardcode": {
  11965. "description": "现货商品代码",
  11966. "type": "string"
  11967. },
  11968. "wrstandardid": {
  11969. "description": "现货商品ID",
  11970. "type": "string"
  11971. },
  11972. "wrstandardname": {
  11973. "description": "现货商品名称",
  11974. "type": "string"
  11975. }
  11976. }
  11977. },
  11978. "models.ErmcpAreaStockApplySum": {
  11979. "type": "object",
  11980. "properties": {
  11981. "brandname": {
  11982. "description": "品牌名称",
  11983. "type": "string"
  11984. },
  11985. "inouttype": {
  11986. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11987. "type": "integer"
  11988. },
  11989. "modelname": {
  11990. "description": "型号名称",
  11991. "type": "string"
  11992. },
  11993. "spotcontractid": {
  11994. "description": "关联现货合同ID",
  11995. "type": "string"
  11996. },
  11997. "spotgoodsbrandid": {
  11998. "description": "品牌id",
  11999. "type": "integer"
  12000. },
  12001. "spotgoodsmodelid": {
  12002. "description": "型号id",
  12003. "type": "integer"
  12004. },
  12005. "totalqty": {
  12006. "description": "总数量",
  12007. "type": "number"
  12008. }
  12009. }
  12010. },
  12011. "models.ErmcpAreaStockReport": {
  12012. "type": "object",
  12013. "properties": {
  12014. "brandname": {
  12015. "description": "品牌名称",
  12016. "type": "string"
  12017. },
  12018. "curstock": {
  12019. "description": "期末库存量",
  12020. "type": "number"
  12021. },
  12022. "deliverygoodsid": {
  12023. "description": "现货品种ID",
  12024. "type": "integer"
  12025. },
  12026. "enumdicname": {
  12027. "description": "单位名称",
  12028. "type": "string"
  12029. },
  12030. "modelname": {
  12031. "description": "型号名称",
  12032. "type": "string"
  12033. },
  12034. "oristock": {
  12035. "description": "期初库存量",
  12036. "type": "number"
  12037. },
  12038. "spotgoodsbrandid": {
  12039. "description": "现货品牌ID",
  12040. "type": "integer"
  12041. },
  12042. "spotgoodsmodelid": {
  12043. "description": "现货型号ID",
  12044. "type": "integer"
  12045. },
  12046. "todaybuyinqty": {
  12047. "description": "今日采购入库量",
  12048. "type": "number"
  12049. },
  12050. "todayproduceinqty": {
  12051. "description": "今日生产入库量",
  12052. "type": "number"
  12053. },
  12054. "todayproduceoutqty": {
  12055. "description": "今日生产出库量",
  12056. "type": "number"
  12057. },
  12058. "todayselloutqty": {
  12059. "description": "今日销售出库量",
  12060. "type": "number"
  12061. },
  12062. "unitid": {
  12063. "description": "单位id",
  12064. "type": "integer"
  12065. },
  12066. "updatetime": {
  12067. "description": "更新时间",
  12068. "type": "string"
  12069. },
  12070. "userid": {
  12071. "description": "机构ID",
  12072. "type": "integer"
  12073. },
  12074. "username": {
  12075. "description": "机构名称",
  12076. "type": "string"
  12077. },
  12078. "warehousecode": {
  12079. "description": "仓库代码",
  12080. "type": "string"
  12081. },
  12082. "warehouseinfoid": {
  12083. "description": "仓库ID",
  12084. "type": "string"
  12085. },
  12086. "warehousename": {
  12087. "description": "仓库名称",
  12088. "type": "string"
  12089. },
  12090. "warehousetype": {
  12091. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12092. "type": "integer"
  12093. },
  12094. "wrstandardcode": {
  12095. "description": "现货商品代码",
  12096. "type": "string"
  12097. },
  12098. "wrstandardid": {
  12099. "description": "现货商品ID",
  12100. "type": "string"
  12101. },
  12102. "wrstandardname": {
  12103. "description": "现货商品名称",
  12104. "type": "string"
  12105. }
  12106. }
  12107. },
  12108. "models.ErmcpAvalidGoodsGroupModel": {
  12109. "type": "object",
  12110. "properties": {
  12111. "goodsgroupid": {
  12112. "description": "期货品种id",
  12113. "type": "integer"
  12114. },
  12115. "goodsgroupname": {
  12116. "description": "期货品种名称",
  12117. "type": "string"
  12118. },
  12119. "goodunitid": {
  12120. "description": "品种单位id",
  12121. "type": "integer"
  12122. },
  12123. "goodunitname": {
  12124. "description": "品种单位名称",
  12125. "type": "string"
  12126. },
  12127. "outergroupcode": {
  12128. "description": "期货品种代码",
  12129. "type": "string"
  12130. }
  12131. }
  12132. },
  12133. "models.ErmcpBizGroupEx": {
  12134. "type": "object",
  12135. "properties": {
  12136. "acclist": {
  12137. "description": "账号列表",
  12138. "type": "array",
  12139. "items": {
  12140. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  12141. }
  12142. },
  12143. "bizgroupid": {
  12144. "description": "业务分组id",
  12145. "type": "integer"
  12146. },
  12147. "biztype": {
  12148. "description": "业务类型 1-套保 2-套利",
  12149. "type": "integer"
  12150. },
  12151. "wrlist": {
  12152. "description": "现货商品表表",
  12153. "type": "array",
  12154. "items": {
  12155. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  12156. }
  12157. }
  12158. }
  12159. },
  12160. "models.ErmcpBizGroupSpotGoods": {
  12161. "type": "object",
  12162. "properties": {
  12163. "areauserid": {
  12164. "description": "所属机构id",
  12165. "type": "integer"
  12166. },
  12167. "bizgroupid": {
  12168. "description": "分组id",
  12169. "type": "integer"
  12170. },
  12171. "biztype": {
  12172. "description": "业务类型 1-套保 2-套利",
  12173. "type": "integer"
  12174. },
  12175. "unitid": {
  12176. "description": "现货商品单位id",
  12177. "type": "integer"
  12178. },
  12179. "wrstandardcode": {
  12180. "description": "现货商品代码",
  12181. "type": "string"
  12182. },
  12183. "wrstandardid": {
  12184. "description": "现货商品id",
  12185. "type": "integer"
  12186. },
  12187. "wrstandardname": {
  12188. "description": "现货商品名称",
  12189. "type": "string"
  12190. }
  12191. }
  12192. },
  12193. "models.ErmcpBizGroupTaAccount": {
  12194. "type": "object",
  12195. "properties": {
  12196. "accountid": {
  12197. "description": "账号id",
  12198. "type": "string"
  12199. },
  12200. "accountname": {
  12201. "description": "账号名称",
  12202. "type": "string"
  12203. },
  12204. "areauserid": {
  12205. "description": "所属机构id",
  12206. "type": "integer"
  12207. },
  12208. "bizgroupid": {
  12209. "description": "业务分组id",
  12210. "type": "integer"
  12211. },
  12212. "ismain": {
  12213. "description": "是否主账号 1-是 0-否",
  12214. "type": "integer"
  12215. }
  12216. }
  12217. },
  12218. "models.ErmcpExposureDetailModel": {
  12219. "type": "object",
  12220. "properties": {
  12221. "areauserid": {
  12222. "description": "机构ID",
  12223. "type": "integer"
  12224. },
  12225. "changeQty": {
  12226. "description": "套保变动量",
  12227. "type": "number"
  12228. },
  12229. "contracttype": {
  12230. "description": "现货合同类型 - 1:采购 -1:销售",
  12231. "type": "integer"
  12232. },
  12233. "convertfactor": {
  12234. "description": "标仓系数",
  12235. "type": "number"
  12236. },
  12237. "convertratio": {
  12238. "description": "套保系数",
  12239. "type": "number"
  12240. },
  12241. "createtime": {
  12242. "description": "时间",
  12243. "type": "string"
  12244. },
  12245. "enumdicname": {
  12246. "description": "现货商品单位名称",
  12247. "type": "string"
  12248. },
  12249. "logtype": {
  12250. "description": "类型 - 1:套保计划 2:现货合同",
  12251. "type": "integer"
  12252. },
  12253. "middlegoodsId": {
  12254. "description": "套保商品id",
  12255. "type": "integer"
  12256. },
  12257. "middlegoodscode": {
  12258. "description": "套保商品代码",
  12259. "type": "string"
  12260. },
  12261. "middlegoodsname": {
  12262. "description": "套保商品名称",
  12263. "type": "string"
  12264. },
  12265. "qty": {
  12266. "description": "数量",
  12267. "type": "number"
  12268. },
  12269. "relateNo": {
  12270. "description": "现货合同/套保计划编号",
  12271. "type": "string"
  12272. },
  12273. "wrstandardcode": {
  12274. "description": "现货商品代码",
  12275. "type": "string"
  12276. },
  12277. "wrstandardid": {
  12278. "description": "现货商品ID",
  12279. "type": "integer"
  12280. },
  12281. "wrstandardname": {
  12282. "description": "现货商品名称",
  12283. "type": "string"
  12284. }
  12285. }
  12286. },
  12287. "models.ErmcpExposurePostion": {
  12288. "type": "object",
  12289. "properties": {
  12290. "agreeunit": {
  12291. "description": "合约单位",
  12292. "type": "string"
  12293. },
  12294. "areauserid": {
  12295. "description": "所属机构id",
  12296. "type": "integer"
  12297. },
  12298. "convertratio": {
  12299. "description": "期货品种系数(折算系数)",
  12300. "type": "number"
  12301. },
  12302. "curqty": {
  12303. "description": "当前持仓",
  12304. "type": "integer"
  12305. },
  12306. "diffhedgeqty": {
  12307. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  12308. "type": "number"
  12309. },
  12310. "diffqty": {
  12311. "description": "持仓变动量=当前持仓-昨日持仓",
  12312. "type": "integer"
  12313. },
  12314. "goodscode": {
  12315. "description": "商品代码",
  12316. "type": "string"
  12317. },
  12318. "goodsid": {
  12319. "description": "商品id",
  12320. "type": "integer"
  12321. },
  12322. "goodsname": {
  12323. "description": "商品名称",
  12324. "type": "string"
  12325. },
  12326. "middlegoodsid": {
  12327. "description": "套保商品id",
  12328. "type": "integer"
  12329. },
  12330. "ydqty": {
  12331. "description": "昨日持仓",
  12332. "type": "integer"
  12333. }
  12334. }
  12335. },
  12336. "models.ErmcpGGConvertCfg": {
  12337. "type": "object",
  12338. "properties": {
  12339. "convertratio": {
  12340. "description": "折算系数",
  12341. "type": "number"
  12342. },
  12343. "destgoodsgroupid": {
  12344. "description": "目标品种ID",
  12345. "type": "integer"
  12346. },
  12347. "dstcode": {
  12348. "description": "目录品种代码",
  12349. "type": "string"
  12350. },
  12351. "dstexchangecode": {
  12352. "description": "目标期货交易所",
  12353. "type": "string"
  12354. },
  12355. "dstname": {
  12356. "description": "目标品种名称",
  12357. "type": "string"
  12358. },
  12359. "dstunitid": {
  12360. "description": "目标品种单位ID",
  12361. "type": "integer"
  12362. },
  12363. "dstunitidname": {
  12364. "description": "目标品种单位名称",
  12365. "type": "string"
  12366. },
  12367. "modifytime": {
  12368. "description": "修改时间",
  12369. "type": "string"
  12370. },
  12371. "srccode": {
  12372. "description": "源品种代码",
  12373. "type": "string"
  12374. },
  12375. "srcexchangecode": {
  12376. "description": "源期货交易所",
  12377. "type": "string"
  12378. },
  12379. "srcgoodsgroupid": {
  12380. "description": "源品种ID",
  12381. "type": "integer"
  12382. },
  12383. "srcname": {
  12384. "description": "源品种名称",
  12385. "type": "string"
  12386. },
  12387. "srcunitid": {
  12388. "description": "源品种单位ID",
  12389. "type": "integer"
  12390. },
  12391. "srcunitidname": {
  12392. "description": "源品种单位名称",
  12393. "type": "string"
  12394. }
  12395. }
  12396. },
  12397. "models.ErmcpGoodsBrand": {
  12398. "type": "object",
  12399. "properties": {
  12400. "areauserid": {
  12401. "description": "所属机构",
  12402. "type": "integer"
  12403. },
  12404. "brandid": {
  12405. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  12406. "type": "integer"
  12407. },
  12408. "brandname": {
  12409. "description": "品牌名称",
  12410. "type": "string"
  12411. },
  12412. "createtime": {
  12413. "description": "创建时间",
  12414. "type": "string"
  12415. },
  12416. "creatorid": {
  12417. "description": "创建人",
  12418. "type": "integer"
  12419. },
  12420. "creatorsrc": {
  12421. "description": "创建人来源 - 1:管理端 2:终端",
  12422. "type": "integer"
  12423. },
  12424. "deliverygoodsid": {
  12425. "description": "现货品种ID",
  12426. "type": "integer"
  12427. },
  12428. "isvalid": {
  12429. "description": "是否有效 - 0:无效 1:有效",
  12430. "type": "integer"
  12431. },
  12432. "updatetime": {
  12433. "description": "更新时间",
  12434. "type": "string"
  12435. },
  12436. "updatorid": {
  12437. "description": "更新人",
  12438. "type": "integer"
  12439. },
  12440. "updatorsrc": {
  12441. "description": "更新人来源 - 1:管理端 2:终端",
  12442. "type": "integer"
  12443. },
  12444. "wrstandardid": {
  12445. "description": "现货商品ID",
  12446. "type": "integer"
  12447. }
  12448. }
  12449. },
  12450. "models.ErmcpGoodsModel": {
  12451. "type": "object",
  12452. "properties": {
  12453. "areauserid": {
  12454. "description": "所属机构",
  12455. "type": "integer"
  12456. },
  12457. "convertfactor": {
  12458. "description": "标仓系数",
  12459. "type": "number"
  12460. },
  12461. "createtime": {
  12462. "description": "创建时间",
  12463. "type": "string"
  12464. },
  12465. "creatorid": {
  12466. "description": "创建人",
  12467. "type": "integer"
  12468. },
  12469. "creatorsrc": {
  12470. "description": "创建人来源 - 1:管理端 2:终端",
  12471. "type": "integer"
  12472. },
  12473. "deliverygoodsid": {
  12474. "description": "现货品种ID",
  12475. "type": "integer"
  12476. },
  12477. "isvalid": {
  12478. "description": "是否有效 - 0:无效 1:有效",
  12479. "type": "integer"
  12480. },
  12481. "modelid": {
  12482. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  12483. "type": "integer"
  12484. },
  12485. "modelname": {
  12486. "description": "型号名称",
  12487. "type": "string"
  12488. },
  12489. "updatetime": {
  12490. "description": "更新时间",
  12491. "type": "string"
  12492. },
  12493. "updatorid": {
  12494. "description": "更新人",
  12495. "type": "integer"
  12496. },
  12497. "updatorsrc": {
  12498. "description": "更新人来源 - 1:管理端 2:终端",
  12499. "type": "integer"
  12500. },
  12501. "wrstandardid": {
  12502. "description": "现货商品ID",
  12503. "type": "integer"
  12504. }
  12505. }
  12506. },
  12507. "models.ErmcpHedgePlan": {
  12508. "type": "object",
  12509. "properties": {
  12510. "areauserid": {
  12511. "description": "用户ID",
  12512. "type": "integer"
  12513. },
  12514. "audittime": {
  12515. "description": "审核时间",
  12516. "type": "string"
  12517. },
  12518. "contracttype": {
  12519. "description": "计划类型 - 1:采购 -1:销售",
  12520. "type": "integer"
  12521. },
  12522. "convertfactor": {
  12523. "description": "标仓系数",
  12524. "type": "number"
  12525. },
  12526. "createtime": {
  12527. "description": "创建时间",
  12528. "type": "string"
  12529. },
  12530. "deliverygoodsid": {
  12531. "description": "现货品种ID",
  12532. "type": "integer"
  12533. },
  12534. "deliverygoodsname": {
  12535. "description": "现货品种名称",
  12536. "type": "string"
  12537. },
  12538. "enumdicname": {
  12539. "description": "单位名称",
  12540. "type": "string"
  12541. },
  12542. "hedgeplanid": {
  12543. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12544. "type": "string"
  12545. },
  12546. "hedgeplanno": {
  12547. "description": "套保计划编号(名称)",
  12548. "type": "string"
  12549. },
  12550. "hedgeplanstatus": {
  12551. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12552. "type": "integer"
  12553. },
  12554. "planqty": {
  12555. "description": "计划数量",
  12556. "type": "number"
  12557. },
  12558. "plantime": {
  12559. "description": "计划时间",
  12560. "type": "string"
  12561. },
  12562. "producttype": {
  12563. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12564. "type": "integer"
  12565. },
  12566. "remark": {
  12567. "description": "备注",
  12568. "type": "string"
  12569. },
  12570. "spotgoodsdesc": {
  12571. "description": "商品型号",
  12572. "type": "string"
  12573. },
  12574. "unitid": {
  12575. "description": "单位id",
  12576. "type": "integer"
  12577. },
  12578. "updatetime": {
  12579. "description": "更新时间",
  12580. "type": "string"
  12581. },
  12582. "wrstandardid": {
  12583. "description": "现货商品ID",
  12584. "type": "integer"
  12585. },
  12586. "wrstandardname": {
  12587. "description": "现货商品名称",
  12588. "type": "string"
  12589. }
  12590. }
  12591. },
  12592. "models.ErmcpHedgePosition": {
  12593. "type": "object",
  12594. "properties": {
  12595. "accountid": {
  12596. "description": "资金账号[外部母账户]",
  12597. "type": "integer"
  12598. },
  12599. "curbuyposition": {
  12600. "description": "期末买头寸",
  12601. "type": "integer"
  12602. },
  12603. "cursellposition": {
  12604. "description": "期末卖头寸",
  12605. "type": "integer"
  12606. },
  12607. "curtdbuyposition": {
  12608. "description": "期末今日买头寸",
  12609. "type": "integer"
  12610. },
  12611. "curtdsellposition": {
  12612. "description": "期末今日卖头寸",
  12613. "type": "integer"
  12614. },
  12615. "curydbuyposition": {
  12616. "description": "期末上日买头寸",
  12617. "type": "integer"
  12618. },
  12619. "curydsellposition": {
  12620. "description": "期末上日卖头寸",
  12621. "type": "integer"
  12622. },
  12623. "decreaseqty": {
  12624. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  12625. "type": "integer"
  12626. },
  12627. "fretdbuyposition": {
  12628. "description": "冻结今日买头寸",
  12629. "type": "integer"
  12630. },
  12631. "fretdsellposition": {
  12632. "description": "冻结今日卖头寸",
  12633. "type": "integer"
  12634. },
  12635. "freydbuyposition": {
  12636. "description": "冻结上日买头寸",
  12637. "type": "integer"
  12638. },
  12639. "freydsellposition": {
  12640. "description": "冻结上日卖头寸",
  12641. "type": "integer"
  12642. },
  12643. "goodscode": {
  12644. "description": "商品代码",
  12645. "type": "string"
  12646. },
  12647. "goodsid": {
  12648. "description": "商品id",
  12649. "type": "integer"
  12650. },
  12651. "goodsname": {
  12652. "description": "商品名称",
  12653. "type": "string"
  12654. },
  12655. "hedgeaccountcode": {
  12656. "description": "对冲账号",
  12657. "type": "string"
  12658. },
  12659. "hedgegoodsid": {
  12660. "description": "对冲合约ID",
  12661. "type": "integer"
  12662. },
  12663. "increaseqty": {
  12664. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  12665. "type": "integer"
  12666. },
  12667. "marketid": {
  12668. "description": "市场ID",
  12669. "type": "integer"
  12670. },
  12671. "relateduserid": {
  12672. "description": "关联用户id",
  12673. "type": "integer"
  12674. },
  12675. "totalcurqty": {
  12676. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  12677. "type": "integer"
  12678. },
  12679. "totalydqty": {
  12680. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  12681. "type": "integer"
  12682. },
  12683. "tradedate": {
  12684. "description": "交易日(yyyyMMdd)",
  12685. "type": "string"
  12686. },
  12687. "ydbuyposition": {
  12688. "description": "期初买头寸",
  12689. "type": "integer"
  12690. },
  12691. "ydsellposition": {
  12692. "description": "期初卖头寸",
  12693. "type": "integer"
  12694. }
  12695. }
  12696. },
  12697. "models.ErmcpHedgePositionDetail": {
  12698. "type": "object",
  12699. "properties": {
  12700. "buyorsell": {
  12701. "description": "买卖方向 0-买 1-卖",
  12702. "type": "integer"
  12703. },
  12704. "channelbuildtype": {
  12705. "description": "开平方向 1-建仓 2-平仓",
  12706. "type": "integer"
  12707. },
  12708. "goodscode": {
  12709. "description": "商品代码",
  12710. "type": "string"
  12711. },
  12712. "goodsname": {
  12713. "description": "商品名称",
  12714. "type": "string"
  12715. },
  12716. "hedgegoodsid": {
  12717. "description": "商品id",
  12718. "type": "integer"
  12719. },
  12720. "tradeqty": {
  12721. "description": "数量(成交数量)",
  12722. "type": "integer"
  12723. },
  12724. "tradetime": {
  12725. "description": "时间(成交时间)",
  12726. "type": "string"
  12727. }
  12728. }
  12729. },
  12730. "models.ErmcpHisExposure": {
  12731. "type": "object",
  12732. "properties": {
  12733. "needhedgeexposoure": {
  12734. "description": "应套保敞口",
  12735. "type": "number"
  12736. },
  12737. "reckondate": {
  12738. "description": "日照时期(yyyyMMdd)",
  12739. "type": "string"
  12740. },
  12741. "totalexposure": {
  12742. "description": "总敞口",
  12743. "type": "number"
  12744. }
  12745. }
  12746. },
  12747. "models.ErmcpHisExposureS": {
  12748. "type": "object",
  12749. "properties": {
  12750. "data": {
  12751. "description": "历史敞口",
  12752. "type": "array",
  12753. "items": {
  12754. "$ref": "#/definitions/models.ErmcpHisExposure"
  12755. }
  12756. },
  12757. "enumdicname": {
  12758. "description": "单位名称",
  12759. "type": "string"
  12760. },
  12761. "middlegoodscode": {
  12762. "description": "套保品种代码",
  12763. "type": "string"
  12764. },
  12765. "middlegoodsid": {
  12766. "description": "套保品种ID",
  12767. "type": "integer"
  12768. },
  12769. "middlegoodsname": {
  12770. "description": "套保品种名称",
  12771. "type": "string"
  12772. }
  12773. }
  12774. },
  12775. "models.ErmcpLoginUser": {
  12776. "type": "object",
  12777. "properties": {
  12778. "accountname": {
  12779. "description": "用户名称",
  12780. "type": "string"
  12781. },
  12782. "clientroleid": {
  12783. "description": "角色id(usertype=2)",
  12784. "type": "integer"
  12785. },
  12786. "createtime": {
  12787. "description": "创建时间",
  12788. "type": "string"
  12789. },
  12790. "loginstatus": {
  12791. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  12792. "type": "integer"
  12793. },
  12794. "memberuserid": {
  12795. "description": "所属会员id",
  12796. "type": "integer"
  12797. },
  12798. "modifytime": {
  12799. "description": "修改时间",
  12800. "type": "string"
  12801. },
  12802. "rolename": {
  12803. "description": "角色名称",
  12804. "type": "string"
  12805. },
  12806. "rolestatus": {
  12807. "description": "角色状态 1-启用 2-停用",
  12808. "type": "integer"
  12809. },
  12810. "roletype": {
  12811. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  12812. "type": "string"
  12813. },
  12814. "userid": {
  12815. "description": "用户id",
  12816. "type": "integer"
  12817. },
  12818. "usertype": {
  12819. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  12820. "type": "integer"
  12821. }
  12822. }
  12823. },
  12824. "models.ErmcpLoginUserEx": {
  12825. "type": "object",
  12826. "properties": {
  12827. "rolename": {
  12828. "description": "角色名称",
  12829. "type": "string"
  12830. },
  12831. "userlist": {
  12832. "description": "用户列表",
  12833. "type": "array",
  12834. "items": {
  12835. "$ref": "#/definitions/models.ErmcpLoginUser"
  12836. }
  12837. },
  12838. "usertype": {
  12839. "description": "用户类型 2-机构 7-企业成员(云平台)",
  12840. "type": "integer"
  12841. }
  12842. }
  12843. },
  12844. "models.ErmcpMiddleGoodsChangeLog": {
  12845. "type": "object",
  12846. "properties": {
  12847. "aftervalue": {
  12848. "description": "变更后",
  12849. "type": "number"
  12850. },
  12851. "applyid": {
  12852. "description": "操作人",
  12853. "type": "integer"
  12854. },
  12855. "applyname": {
  12856. "description": "操作人名称",
  12857. "type": "string"
  12858. },
  12859. "applysrc": {
  12860. "description": "操作来源 - 1:管理端 2:终端",
  12861. "type": "integer"
  12862. },
  12863. "beforevalue": {
  12864. "description": "变更前",
  12865. "type": "number"
  12866. },
  12867. "changelogtype": {
  12868. "description": "变更流水类型 - 1:套保比率变更",
  12869. "type": "integer"
  12870. },
  12871. "handlestatus": {
  12872. "description": "处理状态",
  12873. "type": "integer"
  12874. },
  12875. "logdatetime": {
  12876. "description": "流水日期",
  12877. "type": "string"
  12878. },
  12879. "logid": {
  12880. "description": "流水ID",
  12881. "type": "integer"
  12882. },
  12883. "logremark": {
  12884. "description": "流水备注",
  12885. "type": "string"
  12886. },
  12887. "middlegoodsid": {
  12888. "description": "套保品种ID",
  12889. "type": "integer"
  12890. },
  12891. "tradedate": {
  12892. "description": "交易日(yyyyMMdd)",
  12893. "type": "string"
  12894. },
  12895. "updatetime": {
  12896. "description": "更新时间",
  12897. "type": "string"
  12898. }
  12899. }
  12900. },
  12901. "models.ErmcpMiddleGoodsDetail": {
  12902. "type": "object",
  12903. "properties": {
  12904. "cvList": {
  12905. "description": "期货品种折算列表",
  12906. "type": "array",
  12907. "items": {
  12908. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12909. }
  12910. },
  12911. "mg": {
  12912. "description": "套保品种基本信息",
  12913. "type": "object",
  12914. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12915. },
  12916. "wrcList": {
  12917. "description": "现货品种列表(现货商品折算配置)",
  12918. "type": "array",
  12919. "items": {
  12920. "$ref": "#/definitions/models.WRSConverTDetail"
  12921. }
  12922. }
  12923. }
  12924. },
  12925. "models.ErmcpMiddleGoodsModel": {
  12926. "type": "object",
  12927. "properties": {
  12928. "areauserid": {
  12929. "description": "机构用户ID",
  12930. "type": "integer"
  12931. },
  12932. "createtime": {
  12933. "description": "修改时间",
  12934. "type": "string"
  12935. },
  12936. "enumdicname": {
  12937. "description": "单位名称",
  12938. "type": "string"
  12939. },
  12940. "evaluateratio": {
  12941. "description": "估价系数",
  12942. "type": "number"
  12943. },
  12944. "goodsgroupid": {
  12945. "description": "关联期货品种ID",
  12946. "type": "integer"
  12947. },
  12948. "isvalid": {
  12949. "description": "状态 0-无效(停用) 1-有效(正常)",
  12950. "type": "integer"
  12951. },
  12952. "middlegoodscode": {
  12953. "description": "套保品种代码",
  12954. "type": "string"
  12955. },
  12956. "middlegoodsid": {
  12957. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12958. "type": "integer"
  12959. },
  12960. "middlegoodsname": {
  12961. "description": "套保品种名称",
  12962. "type": "string"
  12963. },
  12964. "modifytime": {
  12965. "description": "修改时间",
  12966. "type": "string"
  12967. },
  12968. "needhedgeratio": {
  12969. "description": "套保比率",
  12970. "type": "number"
  12971. },
  12972. "qtydecimalplace": {
  12973. "description": "数量小数位",
  12974. "type": "integer"
  12975. },
  12976. "relatedgoodsid": {
  12977. "description": "关联交易商品ID",
  12978. "type": "integer"
  12979. },
  12980. "relatedgoodstype": {
  12981. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12982. "type": "integer"
  12983. },
  12984. "remark": {
  12985. "description": "备注",
  12986. "type": "string"
  12987. }
  12988. }
  12989. },
  12990. "models.ErmcpModel": {
  12991. "type": "object",
  12992. "properties": {
  12993. "accountname": {
  12994. "description": "账户名称",
  12995. "type": "string"
  12996. },
  12997. "attachment": {
  12998. "description": "附件",
  12999. "type": "string"
  13000. },
  13001. "audittime": {
  13002. "description": "审核时间",
  13003. "type": "string"
  13004. },
  13005. "brandname": {
  13006. "description": "品牌名称",
  13007. "type": "string"
  13008. },
  13009. "contracctstatus": {
  13010. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13011. "type": "integer"
  13012. },
  13013. "contractmargin": {
  13014. "description": "合同保证金",
  13015. "type": "number"
  13016. },
  13017. "contractno": {
  13018. "description": "合同编号",
  13019. "type": "string"
  13020. },
  13021. "contracttype": {
  13022. "description": "合同类型 1-采购, -1-销售",
  13023. "type": "integer"
  13024. },
  13025. "convertfactor": {
  13026. "description": "标仓系数",
  13027. "type": "number"
  13028. },
  13029. "createtime": {
  13030. "description": "创建时间",
  13031. "type": "string"
  13032. },
  13033. "daikaiamount": {
  13034. "description": "应收(开)票额",
  13035. "type": "number"
  13036. },
  13037. "deliveryenddate": {
  13038. "description": "交割结束日",
  13039. "type": "string"
  13040. },
  13041. "deliverygoodscode": {
  13042. "description": "现货品种代码",
  13043. "type": "string"
  13044. },
  13045. "deliverygoodsid": {
  13046. "description": "现货商品ID",
  13047. "type": "integer"
  13048. },
  13049. "deliverygoodsname": {
  13050. "description": "现货品种名称",
  13051. "type": "string"
  13052. },
  13053. "deliverystartdate": {
  13054. "description": "交割开始日",
  13055. "type": "string"
  13056. },
  13057. "enddate": {
  13058. "description": "点价结束日",
  13059. "type": "string"
  13060. },
  13061. "enumdicname": {
  13062. "description": "单位名称",
  13063. "type": "string"
  13064. },
  13065. "goodscode": {
  13066. "description": "点价商品代码",
  13067. "type": "string"
  13068. },
  13069. "goodsid": {
  13070. "description": "点价商品ID",
  13071. "type": "integer"
  13072. },
  13073. "goodsname": {
  13074. "description": "点价商品名称",
  13075. "type": "string"
  13076. },
  13077. "invoiceamount": {
  13078. "description": "已开票额",
  13079. "type": "number"
  13080. },
  13081. "loanamount": {
  13082. "description": "贷款总额=已定价额+调整金额",
  13083. "type": "number"
  13084. },
  13085. "margin": {
  13086. "description": "保证金",
  13087. "type": "number"
  13088. },
  13089. "modelname": {
  13090. "description": "型号名称",
  13091. "type": "string"
  13092. },
  13093. "payamount": {
  13094. "description": "已收付额(收款或付款)",
  13095. "type": "number"
  13096. },
  13097. "preinvoiceamount": {
  13098. "description": "预收(开)票额",
  13099. "type": "number"
  13100. },
  13101. "prepayamount": {
  13102. "description": "预收付额",
  13103. "type": "number"
  13104. },
  13105. "price": {
  13106. "description": "价格",
  13107. "type": "number"
  13108. },
  13109. "pricedamount": {
  13110. "description": "已定价额",
  13111. "type": "number"
  13112. },
  13113. "pricedavg": {
  13114. "description": "已点均价",
  13115. "type": "number"
  13116. },
  13117. "pricedqty": {
  13118. "description": "已定价量",
  13119. "type": "number"
  13120. },
  13121. "pricemove": {
  13122. "description": "升贴水",
  13123. "type": "number"
  13124. },
  13125. "pricetype": {
  13126. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13127. "type": "integer"
  13128. },
  13129. "producttype": {
  13130. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13131. "type": "integer"
  13132. },
  13133. "qty": {
  13134. "description": "合同量",
  13135. "type": "number"
  13136. },
  13137. "reckonadjustamount": {
  13138. "description": "调整金额",
  13139. "type": "number"
  13140. },
  13141. "reckonedamount": {
  13142. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13143. "type": "number"
  13144. },
  13145. "reckonotheramount": {
  13146. "description": "其它费用",
  13147. "type": "number"
  13148. },
  13149. "reckonrealqty": {
  13150. "description": "已确定量",
  13151. "type": "number"
  13152. },
  13153. "remark": {
  13154. "description": "备注",
  13155. "type": "string"
  13156. },
  13157. "spotcontractid": {
  13158. "description": "合同ID",
  13159. "type": "string"
  13160. },
  13161. "spotgoodsbrandid": {
  13162. "description": "现货品牌ID",
  13163. "type": "integer"
  13164. },
  13165. "spotgoodsdesc": {
  13166. "description": "商品型号(商品规格)",
  13167. "type": "string"
  13168. },
  13169. "spotgoodsmodelid": {
  13170. "description": "现货型号ID",
  13171. "type": "integer"
  13172. },
  13173. "startdate": {
  13174. "description": "点价开始日",
  13175. "type": "string"
  13176. },
  13177. "totalamount": {
  13178. "description": "合计总额",
  13179. "type": "number"
  13180. },
  13181. "unpayamount": {
  13182. "description": "应收付款额(应支付或应收款)",
  13183. "type": "number"
  13184. },
  13185. "unpricedqty": {
  13186. "description": "未定价量",
  13187. "type": "number"
  13188. },
  13189. "unsureqty": {
  13190. "description": "未确定量",
  13191. "type": "number"
  13192. },
  13193. "userid": {
  13194. "description": "用户ID",
  13195. "type": "integer"
  13196. },
  13197. "wrstandardcode": {
  13198. "description": "现货商品代码",
  13199. "type": "string"
  13200. },
  13201. "wrstandardid": {
  13202. "description": "现货商品ID",
  13203. "type": "integer"
  13204. },
  13205. "wrstandardname": {
  13206. "description": "现货商品名称",
  13207. "type": "string"
  13208. }
  13209. }
  13210. },
  13211. "models.ErmcpOPLogModel": {
  13212. "type": "object",
  13213. "properties": {
  13214. "aftervalue": {
  13215. "description": "变更后",
  13216. "type": "number"
  13217. },
  13218. "applyid": {
  13219. "description": "操作人ID",
  13220. "type": "string"
  13221. },
  13222. "applyname": {
  13223. "description": "操作人名称",
  13224. "type": "string"
  13225. },
  13226. "beforevalue": {
  13227. "description": "变更前",
  13228. "type": "number"
  13229. },
  13230. "biztype": {
  13231. "description": "业务类型 - 1:套保计划 2:现货合同",
  13232. "type": "integer"
  13233. },
  13234. "contracttype": {
  13235. "description": "现货合同类型 - 1:采购 -1:销售",
  13236. "type": "integer"
  13237. },
  13238. "logvalue": {
  13239. "description": "数值",
  13240. "type": "number"
  13241. },
  13242. "operatelogtype": {
  13243. "description": "操作流水类型",
  13244. "type": "integer"
  13245. },
  13246. "operatelogtypedesc": {
  13247. "description": "操作流水类型名称",
  13248. "type": "string"
  13249. },
  13250. "relatedid": {
  13251. "description": "现货合同ID\\套保计划",
  13252. "type": "string"
  13253. },
  13254. "updatetime": {
  13255. "description": "更新时间",
  13256. "type": "string"
  13257. }
  13258. }
  13259. },
  13260. "models.ErmcpPendingAudit": {
  13261. "type": "object",
  13262. "properties": {
  13263. "areastockqty": {
  13264. "description": "待审核数量: 库存申请",
  13265. "type": "integer"
  13266. },
  13267. "businessdjqty": {
  13268. "description": "待审核数量: 点价",
  13269. "type": "integer"
  13270. },
  13271. "businessfpqty": {
  13272. "description": "待审核数量: 发票",
  13273. "type": "integer"
  13274. },
  13275. "businessjsqty": {
  13276. "description": "待审核数量: 结算",
  13277. "type": "integer"
  13278. },
  13279. "businesskxqty": {
  13280. "description": "待审核数量: 款项",
  13281. "type": "integer"
  13282. },
  13283. "hedgeplanqty": {
  13284. "description": "待审核数量: 套保计划",
  13285. "type": "integer"
  13286. },
  13287. "spotcontractqty": {
  13288. "description": "待审核数量: 现货合同",
  13289. "type": "integer"
  13290. },
  13291. "userqty": {
  13292. "description": "待审核数量: 用户",
  13293. "type": "integer"
  13294. }
  13295. }
  13296. },
  13297. "models.ErmcpRealExposureModel": {
  13298. "type": "object",
  13299. "properties": {
  13300. "AreaUserID": {
  13301. "description": "所属机构",
  13302. "type": "integer"
  13303. },
  13304. "BuyFutureQty": {
  13305. "description": "买入期货数量",
  13306. "type": "number"
  13307. },
  13308. "BuyPlanQty": {
  13309. "description": "采购计划数量",
  13310. "type": "number"
  13311. },
  13312. "BuyPricedQty": {
  13313. "description": "采购合同已定价数量",
  13314. "type": "number"
  13315. },
  13316. "MiddleGoodsCode": {
  13317. "description": "套保品种代码",
  13318. "type": "string"
  13319. },
  13320. "MiddleGoodsHedgeRatio": {
  13321. "description": "应套保比例",
  13322. "type": "number"
  13323. },
  13324. "MiddleGoodsID": {
  13325. "description": "套保品种",
  13326. "type": "integer"
  13327. },
  13328. "MiddleGoodsName": {
  13329. "description": "套保品种名称",
  13330. "type": "string"
  13331. },
  13332. "NeedHedgeExposoure": {
  13333. "description": "应套保敞口",
  13334. "type": "number"
  13335. },
  13336. "NeedHedgeRatio": {
  13337. "description": "应套保敞口比例",
  13338. "type": "number"
  13339. },
  13340. "OriBuyFutureQty": {
  13341. "description": "期初买入期货数量",
  13342. "type": "number"
  13343. },
  13344. "OriBuyPlanQty": {
  13345. "description": "期初采购计划数量",
  13346. "type": "number"
  13347. },
  13348. "OriBuyPricedQty": {
  13349. "description": "期初采购合同已定价数量",
  13350. "type": "number"
  13351. },
  13352. "OriSellFutureQty": {
  13353. "description": "期初卖出期货数量",
  13354. "type": "number"
  13355. },
  13356. "OriSellPlanQty": {
  13357. "description": "期初销售计划数量",
  13358. "type": "number"
  13359. },
  13360. "OriSellPricedQty": {
  13361. "description": "期初销售合同已定价数量",
  13362. "type": "number"
  13363. },
  13364. "SellFutureQty": {
  13365. "description": "卖出期货数量",
  13366. "type": "number"
  13367. },
  13368. "SellPlanQty": {
  13369. "description": "销售计划数量",
  13370. "type": "number"
  13371. },
  13372. "SellPricedQty": {
  13373. "description": "销售合同已定价数量",
  13374. "type": "number"
  13375. },
  13376. "TotalExposure": {
  13377. "description": "总敞口",
  13378. "type": "number"
  13379. },
  13380. "TotalFutureQty": {
  13381. "description": "期货数量",
  13382. "type": "number"
  13383. },
  13384. "TotalHedgeRatio": {
  13385. "description": "敞口比例",
  13386. "type": "number"
  13387. },
  13388. "TotalNeedHedgeQty": {
  13389. "description": "期货应套保量",
  13390. "type": "number"
  13391. },
  13392. "TotalSpotQty": {
  13393. "description": "现货数量",
  13394. "type": "number"
  13395. },
  13396. "diffFutuQty": {
  13397. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13398. "type": "number"
  13399. },
  13400. "diffSpotQty": {
  13401. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13402. "type": "number"
  13403. },
  13404. "enumdicname": {
  13405. "description": "单位名称",
  13406. "type": "string"
  13407. },
  13408. "oriTotalFutuQty": {
  13409. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13410. "type": "number"
  13411. },
  13412. "oriTotalSpotQty": {
  13413. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13414. "type": "number"
  13415. }
  13416. }
  13417. },
  13418. "models.ErmcpReportAreaSpotPL": {
  13419. "type": "object",
  13420. "properties": {
  13421. "actualpl": {
  13422. "description": "实际损益",
  13423. "type": "number"
  13424. },
  13425. "areauserid": {
  13426. "description": "所属机构",
  13427. "type": "integer"
  13428. },
  13429. "brandname": {
  13430. "description": "品牌名称",
  13431. "type": "string"
  13432. },
  13433. "curamount": {
  13434. "description": "期末额",
  13435. "type": "number"
  13436. },
  13437. "curaverageprice": {
  13438. "description": "期末均价",
  13439. "type": "number"
  13440. },
  13441. "curbuyamount": {
  13442. "description": "期末采购总额(采购额)",
  13443. "type": "number"
  13444. },
  13445. "curbuyqty": {
  13446. "description": "期末采购总量",
  13447. "type": "number"
  13448. },
  13449. "curmarketvalue": {
  13450. "description": "参考市值",
  13451. "type": "number"
  13452. },
  13453. "curqty": {
  13454. "description": "期末量",
  13455. "type": "number"
  13456. },
  13457. "cursellamount": {
  13458. "description": "期末销售总额(销售额)",
  13459. "type": "number"
  13460. },
  13461. "cursellqty": {
  13462. "description": "期末销售总量",
  13463. "type": "number"
  13464. },
  13465. "curspotprice": {
  13466. "description": "参考市价",
  13467. "type": "number"
  13468. },
  13469. "enumdicname": {
  13470. "description": "现货商品单位名称",
  13471. "type": "string"
  13472. },
  13473. "floatpl": {
  13474. "description": "浮动损益",
  13475. "type": "number"
  13476. },
  13477. "gbenumdicname": {
  13478. "description": "品类单位名称",
  13479. "type": "string"
  13480. },
  13481. "gbunitid": {
  13482. "description": "品类单位id",
  13483. "type": "integer"
  13484. },
  13485. "modelname": {
  13486. "description": "品类名称",
  13487. "type": "string"
  13488. },
  13489. "oriamount": {
  13490. "description": "期初额",
  13491. "type": "number"
  13492. },
  13493. "oriaverageprice": {
  13494. "description": "期初均价",
  13495. "type": "number"
  13496. },
  13497. "oribuyamount": {
  13498. "description": "期初采购总额",
  13499. "type": "number"
  13500. },
  13501. "oribuyqty": {
  13502. "description": "期初采购总量",
  13503. "type": "number"
  13504. },
  13505. "oriqty": {
  13506. "description": "期初量",
  13507. "type": "number"
  13508. },
  13509. "orisellamount": {
  13510. "description": "期初销售总额",
  13511. "type": "number"
  13512. },
  13513. "orisellqty": {
  13514. "description": "期初销售总量",
  13515. "type": "number"
  13516. },
  13517. "spotgoodsbrandid": {
  13518. "description": "现货品牌ID",
  13519. "type": "integer"
  13520. },
  13521. "spotgoodsmodelid": {
  13522. "description": "现货品类ID",
  13523. "type": "integer"
  13524. },
  13525. "todaybuyamount": {
  13526. "description": "今日采购额",
  13527. "type": "number"
  13528. },
  13529. "todaybuyaverageprice": {
  13530. "description": "今日采购均价(采购均价)",
  13531. "type": "number"
  13532. },
  13533. "todaybuyqty": {
  13534. "description": "今日采购量(采购增量)",
  13535. "type": "number"
  13536. },
  13537. "todaysellamount": {
  13538. "description": "今日销售额",
  13539. "type": "number"
  13540. },
  13541. "todaysellaverageprice": {
  13542. "description": "今日销售均价(销售均价)",
  13543. "type": "number"
  13544. },
  13545. "todaysellqty": {
  13546. "description": "今日销售量(销售增量)",
  13547. "type": "number"
  13548. },
  13549. "unitid": {
  13550. "description": "现货商品单位id",
  13551. "type": "integer"
  13552. },
  13553. "updatetime": {
  13554. "description": "更新时间",
  13555. "type": "string"
  13556. },
  13557. "wrstandardcode": {
  13558. "description": "现货商品代码",
  13559. "type": "string"
  13560. },
  13561. "wrstandardid": {
  13562. "description": "现货商品ID",
  13563. "type": "integer"
  13564. },
  13565. "wrstandardname": {
  13566. "description": "现货商品名称",
  13567. "type": "string"
  13568. }
  13569. }
  13570. },
  13571. "models.ErmcpReportDayExposure": {
  13572. "type": "object",
  13573. "properties": {
  13574. "areauserid": {
  13575. "description": "所属机构",
  13576. "type": "integer"
  13577. },
  13578. "buyfutureqty": {
  13579. "description": "买入期货数量",
  13580. "type": "number"
  13581. },
  13582. "buyplanqty": {
  13583. "description": "采购计划数量",
  13584. "type": "number"
  13585. },
  13586. "buypricedqty": {
  13587. "description": "采购合同已定价数量",
  13588. "type": "number"
  13589. },
  13590. "diffFutuQty": {
  13591. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13592. "type": "number"
  13593. },
  13594. "diffSpotQty": {
  13595. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13596. "type": "number"
  13597. },
  13598. "enumdicname": {
  13599. "description": "单位名称",
  13600. "type": "string"
  13601. },
  13602. "middlegoodscode": {
  13603. "description": "套保品种代码",
  13604. "type": "string"
  13605. },
  13606. "middlegoodshedgeratio": {
  13607. "description": "应套保比例",
  13608. "type": "number"
  13609. },
  13610. "middlegoodsid": {
  13611. "description": "套保品种ID",
  13612. "type": "integer"
  13613. },
  13614. "middlegoodsname": {
  13615. "description": "套保品种名称",
  13616. "type": "string"
  13617. },
  13618. "needhedgeexposoure": {
  13619. "description": "应套保敞口",
  13620. "type": "number"
  13621. },
  13622. "needhedgeratio": {
  13623. "description": "应套保敞口比例",
  13624. "type": "number"
  13625. },
  13626. "oriTotalFutuQty": {
  13627. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13628. "type": "number"
  13629. },
  13630. "oriTotalSpotQty": {
  13631. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13632. "type": "number"
  13633. },
  13634. "oribuyfutureqty": {
  13635. "description": "期初买入期货数量",
  13636. "type": "number"
  13637. },
  13638. "oribuyplanqty": {
  13639. "description": "期初采购计划数量",
  13640. "type": "number"
  13641. },
  13642. "oribuypricedqty": {
  13643. "description": "期初采购合同已定价数量",
  13644. "type": "number"
  13645. },
  13646. "orisellfutureqty": {
  13647. "description": "期初卖出期货数量",
  13648. "type": "number"
  13649. },
  13650. "orisellplanqty": {
  13651. "description": "期初销售计划数量",
  13652. "type": "number"
  13653. },
  13654. "orisellpricedqty": {
  13655. "description": "期初销售合同已定价数量",
  13656. "type": "number"
  13657. },
  13658. "reckondate": {
  13659. "description": "日照时期(yyyyMMdd)",
  13660. "type": "string"
  13661. },
  13662. "sellfutureqty": {
  13663. "description": "卖出期货数量",
  13664. "type": "number"
  13665. },
  13666. "sellplanqty": {
  13667. "description": "销售计划数量",
  13668. "type": "number"
  13669. },
  13670. "sellpricedqty": {
  13671. "description": "销售合同已定价数量",
  13672. "type": "number"
  13673. },
  13674. "totalexposure": {
  13675. "description": "总敞口",
  13676. "type": "number"
  13677. },
  13678. "totalfutureqty": {
  13679. "description": "期货数量",
  13680. "type": "number"
  13681. },
  13682. "totalhedgeratio": {
  13683. "description": "敞口比例",
  13684. "type": "number"
  13685. },
  13686. "totalneedhedgeqty": {
  13687. "description": "期货应套保量",
  13688. "type": "number"
  13689. },
  13690. "totalspotqty": {
  13691. "description": "现货数量",
  13692. "type": "number"
  13693. }
  13694. }
  13695. },
  13696. "models.ErmcpReportDayFR": {
  13697. "type": "object",
  13698. "properties": {
  13699. "areauserid": {
  13700. "description": "所属机构",
  13701. "type": "integer"
  13702. },
  13703. "collectinvoiceamount": {
  13704. "description": "今日开票金额",
  13705. "type": "number"
  13706. },
  13707. "collectinvoicecount": {
  13708. "description": "今日开票笔数",
  13709. "type": "integer"
  13710. },
  13711. "collectmoneyamount": {
  13712. "description": "今日收款金额",
  13713. "type": "number"
  13714. },
  13715. "collectmoneycount": {
  13716. "description": "今日收款笔数",
  13717. "type": "integer"
  13718. },
  13719. "payinvoiceamount": {
  13720. "description": "今日收票金额",
  13721. "type": "number"
  13722. },
  13723. "payinvoicecount": {
  13724. "description": "今日收票笔数",
  13725. "type": "integer"
  13726. },
  13727. "paymoneyamount": {
  13728. "description": "今日付款金额",
  13729. "type": "number"
  13730. },
  13731. "paymoneycount": {
  13732. "description": "今日付款笔数",
  13733. "type": "integer"
  13734. },
  13735. "reckondate": {
  13736. "description": "日照时期(yyyyMMdd)",
  13737. "type": "string"
  13738. },
  13739. "updatetime": {
  13740. "description": "更新时间",
  13741. "type": "string"
  13742. }
  13743. }
  13744. },
  13745. "models.ErmcpReportDaySpot": {
  13746. "type": "object",
  13747. "properties": {
  13748. "areauserid": {
  13749. "description": "所属机构T",
  13750. "type": "integer"
  13751. },
  13752. "buyinqty": {
  13753. "description": "采购入库量",
  13754. "type": "number"
  13755. },
  13756. "enumdicname": {
  13757. "description": "现货商品单位名称",
  13758. "type": "string"
  13759. },
  13760. "reckondate": {
  13761. "description": "日照时期(yyyyMMdd)",
  13762. "type": "string"
  13763. },
  13764. "selloutqty": {
  13765. "description": "销售出库量",
  13766. "type": "number"
  13767. },
  13768. "todaybuyreckonqty": {
  13769. "description": "采购确定量",
  13770. "type": "number"
  13771. },
  13772. "todaysellreckonqty": {
  13773. "description": "销售确定量",
  13774. "type": "number"
  13775. },
  13776. "totalbuypricedqty": {
  13777. "description": "采购定价量 = 期末 - 期初",
  13778. "type": "number"
  13779. },
  13780. "totalsellpricedqty": {
  13781. "description": "销售定价量 = 期末 - 期初",
  13782. "type": "number"
  13783. },
  13784. "wrstandardcode": {
  13785. "description": "现货商品代码",
  13786. "type": "string"
  13787. },
  13788. "wrstandardid": {
  13789. "description": "现货商品ID",
  13790. "type": "integer"
  13791. },
  13792. "wrstandardname": {
  13793. "description": "现货商品名称",
  13794. "type": "string"
  13795. }
  13796. }
  13797. },
  13798. "models.ErmcpReportMonSpot": {
  13799. "type": "object",
  13800. "properties": {
  13801. "areauserid": {
  13802. "description": "所属机构T",
  13803. "type": "integer"
  13804. },
  13805. "buyinqty": {
  13806. "description": "采购入库量",
  13807. "type": "number"
  13808. },
  13809. "cycletime": {
  13810. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13811. "type": "string"
  13812. },
  13813. "cycletype": {
  13814. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13815. "type": "integer"
  13816. },
  13817. "enumdicname": {
  13818. "description": "现货商品单位名称",
  13819. "type": "string"
  13820. },
  13821. "selloutqty": {
  13822. "description": "销售出库量",
  13823. "type": "number"
  13824. },
  13825. "todaybuyreckonqty": {
  13826. "description": "采购确定量",
  13827. "type": "number"
  13828. },
  13829. "todaysellreckonqty": {
  13830. "description": "销售确定量",
  13831. "type": "number"
  13832. },
  13833. "totalbuypricedqty": {
  13834. "description": "采购定价量 = 期末 - 期初",
  13835. "type": "number"
  13836. },
  13837. "totalsellpricedqty": {
  13838. "description": "销售定价量 = 期末 - 期初",
  13839. "type": "number"
  13840. },
  13841. "wrstandardcode": {
  13842. "description": "现货商品代码",
  13843. "type": "string"
  13844. },
  13845. "wrstandardid": {
  13846. "description": "现货商品ID",
  13847. "type": "integer"
  13848. },
  13849. "wrstandardname": {
  13850. "description": "现货商品名称",
  13851. "type": "string"
  13852. }
  13853. }
  13854. },
  13855. "models.ErmcpReportMonthFR": {
  13856. "type": "object",
  13857. "properties": {
  13858. "areauserid": {
  13859. "description": "所属机构【原值】",
  13860. "type": "integer"
  13861. },
  13862. "collectinvoiceamount": {
  13863. "description": "今日开票金额【汇总】",
  13864. "type": "number"
  13865. },
  13866. "collectinvoicecount": {
  13867. "description": "今日开票笔数【汇总】",
  13868. "type": "integer"
  13869. },
  13870. "collectmoneyamount": {
  13871. "description": "今日收款金额【汇总】",
  13872. "type": "number"
  13873. },
  13874. "collectmoneycount": {
  13875. "description": "今日收款笔数 【汇总】",
  13876. "type": "integer"
  13877. },
  13878. "cycletime": {
  13879. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13880. "type": "string"
  13881. },
  13882. "cycletype": {
  13883. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13884. "type": "integer"
  13885. },
  13886. "dayFr": {
  13887. "description": "日报表明细",
  13888. "type": "array",
  13889. "items": {
  13890. "$ref": "#/definitions/models.ErmcpReportDayFR"
  13891. }
  13892. },
  13893. "payinvoiceamount": {
  13894. "description": "今日收票金额【汇总】",
  13895. "type": "number"
  13896. },
  13897. "payinvoicecount": {
  13898. "description": "今日收票笔数【汇总】",
  13899. "type": "integer"
  13900. },
  13901. "paymoneyamount": {
  13902. "description": "今日付款金额【汇总】",
  13903. "type": "number"
  13904. },
  13905. "paymoneycount": {
  13906. "description": "今日付款笔数【汇总】",
  13907. "type": "integer"
  13908. },
  13909. "updatetime": {
  13910. "description": "更新时间",
  13911. "type": "string"
  13912. }
  13913. }
  13914. },
  13915. "models.ErmcpReportOPLog": {
  13916. "type": "object",
  13917. "properties": {
  13918. "applyid": {
  13919. "description": "操作人",
  13920. "type": "integer"
  13921. },
  13922. "applyname": {
  13923. "description": "操作人名称",
  13924. "type": "string"
  13925. },
  13926. "biztype": {
  13927. "description": "业务类型 - 1:套保计划 2:现货合同",
  13928. "type": "integer"
  13929. },
  13930. "brandname": {
  13931. "description": "品牌名称",
  13932. "type": "string"
  13933. },
  13934. "contracttype": {
  13935. "description": "现货合同类型 - 1:采购 -1:销售",
  13936. "type": "integer"
  13937. },
  13938. "enumdicName": {
  13939. "description": "单位名称",
  13940. "type": "string"
  13941. },
  13942. "logdatetime": {
  13943. "description": "流水日期(时间)",
  13944. "type": "string"
  13945. },
  13946. "logid": {
  13947. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  13948. "type": "string"
  13949. },
  13950. "logtypename": {
  13951. "description": "合同类型(名称)",
  13952. "type": "string"
  13953. },
  13954. "logvalue": {
  13955. "description": "数值",
  13956. "type": "string"
  13957. },
  13958. "modelname": {
  13959. "description": "型号名称",
  13960. "type": "string"
  13961. },
  13962. "operatelogtype": {
  13963. "description": "操作流水类型 -",
  13964. "type": "integer"
  13965. },
  13966. "optypename": {
  13967. "description": "流水类型名称",
  13968. "type": "string"
  13969. },
  13970. "relatedid": {
  13971. "description": "现货合同ID\\套保计划",
  13972. "type": "string"
  13973. },
  13974. "relatedno": {
  13975. "description": "合同编号",
  13976. "type": "string"
  13977. },
  13978. "tradedate": {
  13979. "description": "交易日(yyyyMMdd)",
  13980. "type": "string"
  13981. },
  13982. "userid": {
  13983. "description": "机构ID",
  13984. "type": "integer"
  13985. },
  13986. "wrstandardcode": {
  13987. "description": "现货商品代码",
  13988. "type": "string"
  13989. },
  13990. "wrstandardid": {
  13991. "description": "现货商品ID",
  13992. "type": "integer"
  13993. },
  13994. "wrstandardname": {
  13995. "description": "现货商品名称",
  13996. "type": "string"
  13997. }
  13998. }
  13999. },
  14000. "models.ErmcpRole": {
  14001. "type": "object",
  14002. "properties": {
  14003. "areauserid": {
  14004. "description": "所属机构",
  14005. "type": "integer"
  14006. },
  14007. "autoid": {
  14008. "description": "角色ID(自增ID)",
  14009. "type": "integer"
  14010. },
  14011. "modifierid": {
  14012. "description": "修改人(创建人)",
  14013. "type": "integer"
  14014. },
  14015. "modifiername": {
  14016. "description": "修改人名称",
  14017. "type": "string"
  14018. },
  14019. "modifytime": {
  14020. "description": "修改时间(创建时间)",
  14021. "type": "string"
  14022. },
  14023. "rolename": {
  14024. "description": "角色名称",
  14025. "type": "string"
  14026. },
  14027. "rolestatus": {
  14028. "description": "角色状态 - 1:启用 2:停用",
  14029. "type": "integer"
  14030. },
  14031. "roletype": {
  14032. "description": "角色类型 - 1- 管理端 2- 交易端",
  14033. "type": "integer"
  14034. }
  14035. }
  14036. },
  14037. "models.ErmcpRoleMenu": {
  14038. "type": "object",
  14039. "properties": {
  14040. "iconame": {
  14041. "description": "菜单图标",
  14042. "type": "string"
  14043. },
  14044. "menutype": {
  14045. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  14046. "type": "integer"
  14047. },
  14048. "parentcode": {
  14049. "description": "上级资源代码",
  14050. "type": "string"
  14051. },
  14052. "remark": {
  14053. "description": "菜单备注",
  14054. "type": "string"
  14055. },
  14056. "resourcecode": {
  14057. "description": "菜单代码",
  14058. "type": "string"
  14059. },
  14060. "resourcelevel": {
  14061. "description": "级别",
  14062. "type": "integer"
  14063. },
  14064. "resourcename": {
  14065. "description": "菜单名称",
  14066. "type": "string"
  14067. },
  14068. "roleid": {
  14069. "description": "角色id",
  14070. "type": "integer"
  14071. },
  14072. "sort": {
  14073. "description": "排序",
  14074. "type": "integer"
  14075. },
  14076. "url": {
  14077. "description": "URL",
  14078. "type": "string"
  14079. },
  14080. "userid": {
  14081. "description": "用户id",
  14082. "type": "integer"
  14083. }
  14084. }
  14085. },
  14086. "models.ErmcpRoleMenuEx": {
  14087. "type": "object",
  14088. "properties": {
  14089. "menu": {
  14090. "description": "父级菜单",
  14091. "type": "object",
  14092. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14093. },
  14094. "subMenu": {
  14095. "description": "子级菜单",
  14096. "type": "array",
  14097. "items": {
  14098. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14099. }
  14100. }
  14101. }
  14102. },
  14103. "models.ErmcpSpotContractModel": {
  14104. "type": "object",
  14105. "properties": {
  14106. "amount": {
  14107. "description": "金额 [1:一口价、3:暂定价]",
  14108. "type": "number"
  14109. },
  14110. "attachment": {
  14111. "description": "附件",
  14112. "type": "string"
  14113. },
  14114. "auditremark": {
  14115. "description": "审核意见",
  14116. "type": "string"
  14117. },
  14118. "audittime": {
  14119. "description": "审核时间",
  14120. "type": "string"
  14121. },
  14122. "brandname": {
  14123. "description": "品牌名称",
  14124. "type": "string"
  14125. },
  14126. "buyuserid": {
  14127. "description": "采购方ID",
  14128. "type": "integer"
  14129. },
  14130. "buyusername": {
  14131. "description": "采购方名称",
  14132. "type": "string"
  14133. },
  14134. "contracctstatus": {
  14135. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14136. "type": "integer"
  14137. },
  14138. "contractmargin": {
  14139. "description": "合同保证金",
  14140. "type": "number"
  14141. },
  14142. "contractno": {
  14143. "description": "现货合同编号",
  14144. "type": "string"
  14145. },
  14146. "contracttype": {
  14147. "description": "现货合同类型 - 1:采购 -1:销售",
  14148. "type": "integer"
  14149. },
  14150. "convertfactor": {
  14151. "description": "标仓系数",
  14152. "type": "number"
  14153. },
  14154. "createtime": {
  14155. "description": "创建时间",
  14156. "type": "string"
  14157. },
  14158. "deliveryenddate": {
  14159. "description": "交收期(结束)",
  14160. "type": "string"
  14161. },
  14162. "deliverygoodscode": {
  14163. "description": "现货品种代码",
  14164. "type": "string"
  14165. },
  14166. "deliverygoodsid": {
  14167. "description": "现货品种ID",
  14168. "type": "integer"
  14169. },
  14170. "deliverygoodsname": {
  14171. "description": "现货品种名称",
  14172. "type": "string"
  14173. },
  14174. "deliverystartdate": {
  14175. "description": "交收期(开始)",
  14176. "type": "string"
  14177. },
  14178. "enddate": {
  14179. "description": "点价结束日期 [2:点价 3:暂定价]",
  14180. "type": "string"
  14181. },
  14182. "enumdicname": {
  14183. "description": "单位名称",
  14184. "type": "string"
  14185. },
  14186. "goodscode": {
  14187. "description": "点价合约代码",
  14188. "type": "string"
  14189. },
  14190. "goodsid": {
  14191. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14192. "type": "integer"
  14193. },
  14194. "goodsname": {
  14195. "description": "点价商品名称",
  14196. "type": "string"
  14197. },
  14198. "margin": {
  14199. "description": "当前保证金",
  14200. "type": "number"
  14201. },
  14202. "modelname": {
  14203. "description": "型号名称",
  14204. "type": "string"
  14205. },
  14206. "price": {
  14207. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14208. "type": "number"
  14209. },
  14210. "pricemove": {
  14211. "description": "升贴水 [2:点价 3:暂定价]",
  14212. "type": "number"
  14213. },
  14214. "pricetype": {
  14215. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14216. "type": "integer"
  14217. },
  14218. "producttype": {
  14219. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14220. "type": "integer"
  14221. },
  14222. "qty": {
  14223. "description": "数量",
  14224. "type": "number"
  14225. },
  14226. "remark": {
  14227. "description": "备注",
  14228. "type": "string"
  14229. },
  14230. "selluserid": {
  14231. "description": "销售方ID",
  14232. "type": "integer"
  14233. },
  14234. "sellusername": {
  14235. "description": "销售方名称",
  14236. "type": "string"
  14237. },
  14238. "spotcontractid": {
  14239. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14240. "type": "string"
  14241. },
  14242. "spotgoodsbrandid": {
  14243. "description": "现货品牌ID",
  14244. "type": "integer"
  14245. },
  14246. "spotgoodsdesc": {
  14247. "description": "商品型号",
  14248. "type": "string"
  14249. },
  14250. "spotgoodsmodelid": {
  14251. "description": "现货型号ID",
  14252. "type": "integer"
  14253. },
  14254. "startdate": {
  14255. "description": "点价开始日期 [2:点价 3:暂定价]",
  14256. "type": "string"
  14257. },
  14258. "updatetime": {
  14259. "description": "更新时间",
  14260. "type": "string"
  14261. },
  14262. "userid": {
  14263. "description": "机构ID",
  14264. "type": "integer"
  14265. },
  14266. "wrstandardcode": {
  14267. "description": "现货商品代码",
  14268. "type": "string"
  14269. },
  14270. "wrstandardid": {
  14271. "description": "现货商品ID",
  14272. "type": "integer"
  14273. },
  14274. "wrstandardname": {
  14275. "description": "现货商品名称",
  14276. "type": "string"
  14277. }
  14278. }
  14279. },
  14280. "models.ErmcpSpotGoodsPrice": {
  14281. "type": "object",
  14282. "properties": {
  14283. "areauserid": {
  14284. "description": "所属机构id",
  14285. "type": "integer"
  14286. },
  14287. "brandname": {
  14288. "description": "品牌名称",
  14289. "type": "string"
  14290. },
  14291. "currencyid": {
  14292. "description": "报价货币ID",
  14293. "type": "integer"
  14294. },
  14295. "enumdicname": {
  14296. "description": "现货商品单位名称",
  14297. "type": "string"
  14298. },
  14299. "gbenumdicname": {
  14300. "description": "品类单位名称",
  14301. "type": "string"
  14302. },
  14303. "gmunitid": {
  14304. "description": "品类单位id",
  14305. "type": "integer"
  14306. },
  14307. "isvalid": {
  14308. "description": "是否有效 - 0:无效 1:有效",
  14309. "type": "integer"
  14310. },
  14311. "modelname": {
  14312. "description": "品类名称",
  14313. "type": "string"
  14314. },
  14315. "operateid": {
  14316. "description": "最后操作人",
  14317. "type": "integer"
  14318. },
  14319. "operatesrc": {
  14320. "description": "最后操作来源 - 1:管理端 2:终端",
  14321. "type": "integer"
  14322. },
  14323. "operatetime": {
  14324. "description": "最后操作时间",
  14325. "type": "string"
  14326. },
  14327. "operatorname": {
  14328. "description": "操作人名称",
  14329. "type": "string"
  14330. },
  14331. "spotgoodsbrandid": {
  14332. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14333. "type": "integer"
  14334. },
  14335. "spotgoodsmodelid": {
  14336. "description": "现货品类ID(通用则为0)",
  14337. "type": "integer"
  14338. },
  14339. "spotgoodsprice": {
  14340. "description": "现货价格",
  14341. "type": "number"
  14342. },
  14343. "tradedate": {
  14344. "description": "交易日(yyyyMMdd)",
  14345. "type": "string"
  14346. },
  14347. "unitid": {
  14348. "description": "现货商品单位id",
  14349. "type": "integer"
  14350. },
  14351. "wrstandardcode": {
  14352. "description": "现货商品代码",
  14353. "type": "string"
  14354. },
  14355. "wrstandardid": {
  14356. "description": "现货商品ID",
  14357. "type": "integer"
  14358. },
  14359. "wrstandardname": {
  14360. "description": "现货商品名称",
  14361. "type": "string"
  14362. }
  14363. }
  14364. },
  14365. "models.ErmcpSpotGoodsPriceLog": {
  14366. "type": "object",
  14367. "properties": {
  14368. "areauserid": {
  14369. "description": "所属机构id",
  14370. "type": "integer"
  14371. },
  14372. "brandname": {
  14373. "description": "品牌名称",
  14374. "type": "string"
  14375. },
  14376. "currencyid": {
  14377. "description": "报价货币ID",
  14378. "type": "integer"
  14379. },
  14380. "enumdicname": {
  14381. "description": "现货商品单位名称",
  14382. "type": "string"
  14383. },
  14384. "gbenumdicname": {
  14385. "description": "品类单位名称",
  14386. "type": "string"
  14387. },
  14388. "gmunitid": {
  14389. "description": "品类单位id",
  14390. "type": "integer"
  14391. },
  14392. "logid": {
  14393. "description": "日志id",
  14394. "type": "integer"
  14395. },
  14396. "modelname": {
  14397. "description": "品类名称",
  14398. "type": "string"
  14399. },
  14400. "operateid": {
  14401. "description": "最后操作人",
  14402. "type": "integer"
  14403. },
  14404. "operatesrc": {
  14405. "description": "最后操作来源 - 1:管理端 2:终端",
  14406. "type": "integer"
  14407. },
  14408. "operatetime": {
  14409. "description": "最后操作时间",
  14410. "type": "string"
  14411. },
  14412. "operatorname": {
  14413. "description": "操作人名称",
  14414. "type": "string"
  14415. },
  14416. "spotgoodsbrandid": {
  14417. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14418. "type": "integer"
  14419. },
  14420. "spotgoodsmodelid": {
  14421. "description": "现货品类ID(通用则为0)",
  14422. "type": "integer"
  14423. },
  14424. "spotgoodsprice": {
  14425. "description": "现货价格",
  14426. "type": "number"
  14427. },
  14428. "tradedate": {
  14429. "description": "交易日(yyyyMMdd)",
  14430. "type": "string"
  14431. },
  14432. "unitid": {
  14433. "description": "现货商品单位id",
  14434. "type": "integer"
  14435. },
  14436. "wrstandardcode": {
  14437. "description": "现货商品代码",
  14438. "type": "string"
  14439. },
  14440. "wrstandardid": {
  14441. "description": "现货商品ID",
  14442. "type": "integer"
  14443. },
  14444. "wrstandardname": {
  14445. "description": "现货商品名称",
  14446. "type": "string"
  14447. }
  14448. }
  14449. },
  14450. "models.ErmcpTaAccount": {
  14451. "type": "object",
  14452. "properties": {
  14453. "accountid": {
  14454. "description": "账户id",
  14455. "type": "integer"
  14456. },
  14457. "accountname": {
  14458. "description": "账户名称",
  14459. "type": "string"
  14460. },
  14461. "currencyid": {
  14462. "description": "币种id",
  14463. "type": "integer"
  14464. },
  14465. "ismain": {
  14466. "description": "是否主账户 0-否 1-是",
  14467. "type": "integer"
  14468. },
  14469. "parentaccountid": {
  14470. "description": "父账户id",
  14471. "type": "integer"
  14472. },
  14473. "relateduserid": {
  14474. "description": "关联userid",
  14475. "type": "integer"
  14476. },
  14477. "tradestatus": {
  14478. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14479. "type": "integer"
  14480. }
  14481. }
  14482. },
  14483. "models.ErmcpTaAccountEx": {
  14484. "type": "object",
  14485. "properties": {
  14486. "mainAcc": {
  14487. "description": "主账号",
  14488. "type": "object",
  14489. "$ref": "#/definitions/models.ErmcpTaAccount"
  14490. },
  14491. "subacclist": {
  14492. "description": "子账号列表",
  14493. "type": "array",
  14494. "items": {
  14495. "$ref": "#/definitions/models.ErmcpTaAccount"
  14496. }
  14497. }
  14498. }
  14499. },
  14500. "models.ErmcpTaAccountInfo": {
  14501. "type": "object",
  14502. "properties": {
  14503. "accountid": {
  14504. "description": "资金账户ID",
  14505. "type": "integer"
  14506. },
  14507. "accountname": {
  14508. "description": "账户名称",
  14509. "type": "string"
  14510. },
  14511. "balance": {
  14512. "description": "期初余额",
  14513. "type": "number"
  14514. },
  14515. "capitalbalance": {
  14516. "description": "本金余额[外部子账户实际出入金余额]",
  14517. "type": "number"
  14518. },
  14519. "closepl": {
  14520. "description": "今日平仓盈亏",
  14521. "type": "number"
  14522. },
  14523. "creditdecrease": {
  14524. "description": "今日授信减少",
  14525. "type": "number"
  14526. },
  14527. "creditincrease": {
  14528. "description": "今日授信增加",
  14529. "type": "number"
  14530. },
  14531. "curdebt": {
  14532. "description": "期末欠款",
  14533. "type": "number"
  14534. },
  14535. "currencyid": {
  14536. "description": "货币ID",
  14537. "type": "integer"
  14538. },
  14539. "currentbalance": {
  14540. "description": "期末余额",
  14541. "type": "number"
  14542. },
  14543. "freezecharge": {
  14544. "description": "手续费冻结",
  14545. "type": "number"
  14546. },
  14547. "freezemargin": {
  14548. "description": "冻结保证金",
  14549. "type": "number"
  14550. },
  14551. "fromaccountid": {
  14552. "description": "所属上级账户",
  14553. "type": "integer"
  14554. },
  14555. "inamount": {
  14556. "description": "今日入金金额(包括三方入金)",
  14557. "type": "number"
  14558. },
  14559. "ismain": {
  14560. "description": "是否母账号 0:不是母账户 1:是母账户",
  14561. "type": "integer"
  14562. },
  14563. "mortgagecredit": {
  14564. "description": "授信金额",
  14565. "type": "number"
  14566. },
  14567. "oridebt": {
  14568. "description": "期初欠款",
  14569. "type": "number"
  14570. },
  14571. "orifreezecharge": {
  14572. "description": "期初手续费冻结",
  14573. "type": "number"
  14574. },
  14575. "orifreezemargin": {
  14576. "description": "期初冻结保证金",
  14577. "type": "number"
  14578. },
  14579. "orimortgagecredit": {
  14580. "description": "期初授信金额",
  14581. "type": "number"
  14582. },
  14583. "oriothercredit": {
  14584. "description": "期初其它授信金额",
  14585. "type": "number"
  14586. },
  14587. "oriotherfreezemargin": {
  14588. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14589. "type": "number"
  14590. },
  14591. "orioutamountfreeze": {
  14592. "description": "期初出金冻结",
  14593. "type": "number"
  14594. },
  14595. "oriusedmargin": {
  14596. "description": "期初占用保证金",
  14597. "type": "number"
  14598. },
  14599. "othercredit": {
  14600. "description": "其它授信金额",
  14601. "type": "number"
  14602. },
  14603. "othercreditdecrease": {
  14604. "description": "今日其它授信减少",
  14605. "type": "number"
  14606. },
  14607. "othercreditincrease": {
  14608. "description": "今日其它授信增加",
  14609. "type": "number"
  14610. },
  14611. "otherfreezemargin": {
  14612. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14613. "type": "number"
  14614. },
  14615. "outamount": {
  14616. "description": "今日出金金额(包括三方出金)",
  14617. "type": "number"
  14618. },
  14619. "outamountfreeze": {
  14620. "description": "出金冻结",
  14621. "type": "number"
  14622. },
  14623. "outthreshold": {
  14624. "description": "出金阈值",
  14625. "type": "number"
  14626. },
  14627. "parentaccountid": {
  14628. "description": "所属根账号",
  14629. "type": "integer"
  14630. },
  14631. "paycharge": {
  14632. "description": "今日手续费支出",
  14633. "type": "number"
  14634. },
  14635. "relateduserid": {
  14636. "description": "关联用户",
  14637. "type": "integer"
  14638. },
  14639. "signstatus": {
  14640. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14641. "type": "integer"
  14642. },
  14643. "sublevelpath": {
  14644. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14645. "type": "string"
  14646. },
  14647. "taaccounttype": {
  14648. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14649. "type": "integer"
  14650. },
  14651. "thirdinamount": {
  14652. "description": "今日三方入金",
  14653. "type": "number"
  14654. },
  14655. "thirdoutamount": {
  14656. "description": "今日三方出金",
  14657. "type": "number"
  14658. },
  14659. "tradestatus": {
  14660. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14661. "type": "integer"
  14662. },
  14663. "transferamount": {
  14664. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14665. "type": "number"
  14666. },
  14667. "usedmargin": {
  14668. "description": "占用保证金",
  14669. "type": "number"
  14670. },
  14671. "userid": {
  14672. "description": "用户ID",
  14673. "type": "integer"
  14674. }
  14675. }
  14676. },
  14677. "models.ErmcpUserModel": {
  14678. "type": "object",
  14679. "properties": {
  14680. "address": {
  14681. "description": "通讯地址",
  14682. "type": "string"
  14683. },
  14684. "attachment1": {
  14685. "description": "附件1",
  14686. "type": "string"
  14687. },
  14688. "audittime": {
  14689. "description": "审核时间",
  14690. "type": "string"
  14691. },
  14692. "cardfrontphotourl": {
  14693. "description": "证件正面图片地址",
  14694. "type": "string"
  14695. },
  14696. "cardnum": {
  14697. "description": "证件号码",
  14698. "type": "string"
  14699. },
  14700. "cardtype": {
  14701. "description": "证件类型",
  14702. "type": "integer"
  14703. },
  14704. "cardtypename": {
  14705. "description": "证件类型名称",
  14706. "type": "string"
  14707. },
  14708. "cityid": {
  14709. "description": "市",
  14710. "type": "integer"
  14711. },
  14712. "countryid": {
  14713. "description": "国家",
  14714. "type": "integer"
  14715. },
  14716. "createtime": {
  14717. "description": "创建时间",
  14718. "type": "string"
  14719. },
  14720. "customername": {
  14721. "description": "企业名称",
  14722. "type": "string"
  14723. },
  14724. "districtid": {
  14725. "description": "区域",
  14726. "type": "integer"
  14727. },
  14728. "memberuserid": {
  14729. "description": "所属机构ID",
  14730. "type": "integer"
  14731. },
  14732. "mobile": {
  14733. "description": "手机号码",
  14734. "type": "string"
  14735. },
  14736. "modifytime": {
  14737. "description": "修改时间",
  14738. "type": "string"
  14739. },
  14740. "nickname": {
  14741. "description": "昵称",
  14742. "type": "string"
  14743. },
  14744. "provinceid": {
  14745. "description": "省",
  14746. "type": "integer"
  14747. },
  14748. "remark": {
  14749. "description": "备注",
  14750. "type": "string"
  14751. },
  14752. "status": {
  14753. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14754. "type": "integer"
  14755. },
  14756. "statusdesc": {
  14757. "description": "账户状态中文描述",
  14758. "type": "string"
  14759. },
  14760. "telphone": {
  14761. "description": "联系电话",
  14762. "type": "string"
  14763. },
  14764. "userid": {
  14765. "description": "用户ID",
  14766. "type": "integer"
  14767. },
  14768. "userinfotype": {
  14769. "description": "客户类型",
  14770. "type": "string"
  14771. }
  14772. }
  14773. },
  14774. "models.ErmcpWareHouseInfo": {
  14775. "type": "object",
  14776. "properties": {
  14777. "address": {
  14778. "description": "详细地址",
  14779. "type": "string"
  14780. },
  14781. "areauserid": {
  14782. "description": "所属机构",
  14783. "type": "integer"
  14784. },
  14785. "autoid": {
  14786. "description": "自增ID(仓库ID)",
  14787. "type": "integer"
  14788. },
  14789. "cityid": {
  14790. "description": "市",
  14791. "type": "integer"
  14792. },
  14793. "contactname": {
  14794. "description": "联系人",
  14795. "type": "string"
  14796. },
  14797. "contactnum": {
  14798. "description": "联系电话",
  14799. "type": "string"
  14800. },
  14801. "countryid": {
  14802. "description": "国家",
  14803. "type": "integer"
  14804. },
  14805. "createtime": {
  14806. "description": "创建时间",
  14807. "type": "string"
  14808. },
  14809. "districtid": {
  14810. "description": "区",
  14811. "type": "integer"
  14812. },
  14813. "hasvideo": {
  14814. "description": "是否有视频 - 0:无 1:有",
  14815. "type": "integer"
  14816. },
  14817. "provinceid": {
  14818. "description": "省",
  14819. "type": "integer"
  14820. },
  14821. "remark": {
  14822. "description": "审核备注",
  14823. "type": "string"
  14824. },
  14825. "videourl": {
  14826. "description": "视频地址",
  14827. "type": "string"
  14828. },
  14829. "warehousecode": {
  14830. "description": "仓库代码",
  14831. "type": "string"
  14832. },
  14833. "warehousename": {
  14834. "description": "仓库名称",
  14835. "type": "string"
  14836. },
  14837. "warehousestatus": {
  14838. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  14839. "type": "integer"
  14840. },
  14841. "warehousetype": {
  14842. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14843. "type": "integer"
  14844. }
  14845. }
  14846. },
  14847. "models.ErmcpWrstandDetail": {
  14848. "type": "object",
  14849. "properties": {
  14850. "gbList": {
  14851. "description": "品牌列表",
  14852. "type": "array",
  14853. "items": {
  14854. "$ref": "#/definitions/models.GoodsBrand"
  14855. }
  14856. },
  14857. "goodsList": {
  14858. "description": "关联交易商品列表",
  14859. "type": "array",
  14860. "items": {
  14861. "$ref": "#/definitions/models.RelatedGoodsEx"
  14862. }
  14863. },
  14864. "gtList": {
  14865. "description": "型号列表",
  14866. "type": "array",
  14867. "items": {
  14868. "$ref": "#/definitions/models.GoodsTypeModel"
  14869. }
  14870. },
  14871. "wrd": {
  14872. "description": "基本信息",
  14873. "type": "object",
  14874. "$ref": "#/definitions/models.ErmcpWrstandard"
  14875. },
  14876. "wrsList": {
  14877. "description": "套保信息列表",
  14878. "type": "array",
  14879. "items": {
  14880. "$ref": "#/definitions/models.WRSConverTDetail"
  14881. }
  14882. }
  14883. }
  14884. },
  14885. "models.ErmcpWrstandard": {
  14886. "type": "object",
  14887. "properties": {
  14888. "areauserid": {
  14889. "description": "所属机构",
  14890. "type": "integer"
  14891. },
  14892. "createtime": {
  14893. "description": "创建时间",
  14894. "type": "string"
  14895. },
  14896. "creatorid": {
  14897. "description": "创建人",
  14898. "type": "integer"
  14899. },
  14900. "deliverygoodsid": {
  14901. "description": "品种ID",
  14902. "type": "integer"
  14903. },
  14904. "enumdicname": {
  14905. "description": "单位名称",
  14906. "type": "string"
  14907. },
  14908. "isvalid": {
  14909. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14910. "type": "integer"
  14911. },
  14912. "minivalue": {
  14913. "description": "最小变动值",
  14914. "type": "integer"
  14915. },
  14916. "minivaluedp": {
  14917. "description": "最小变动值小数位",
  14918. "type": "integer"
  14919. },
  14920. "realminivalue": {
  14921. "description": "实际最小变动值",
  14922. "type": "integer"
  14923. },
  14924. "realminivaluedp": {
  14925. "description": "实际最小变动值小数位",
  14926. "type": "integer"
  14927. },
  14928. "remark": {
  14929. "description": "备注",
  14930. "type": "string"
  14931. },
  14932. "unitid": {
  14933. "description": "单位ID",
  14934. "type": "integer"
  14935. },
  14936. "updatetime": {
  14937. "description": "更新时间",
  14938. "type": "string"
  14939. },
  14940. "wrstandardcode": {
  14941. "description": "现货商品代码",
  14942. "type": "string"
  14943. },
  14944. "wrstandardid": {
  14945. "description": "现货商品ID(SEQ_WRSTANDARD)",
  14946. "type": "integer"
  14947. },
  14948. "wrstandardname": {
  14949. "description": "现货商品名称",
  14950. "type": "string"
  14951. }
  14952. }
  14953. },
  14954. "models.Externalexchange": {
  14955. "type": "object",
  14956. "required": [
  14957. "autoid"
  14958. ],
  14959. "properties": {
  14960. "autoid": {
  14961. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  14962. "type": "integer"
  14963. },
  14964. "exchangefullname": {
  14965. "description": "外部交易所全称",
  14966. "type": "string"
  14967. },
  14968. "exexchangecode": {
  14969. "description": "外部交易所代码",
  14970. "type": "string"
  14971. },
  14972. "exexchangename": {
  14973. "description": "外部交易所名称(简称)",
  14974. "type": "string"
  14975. },
  14976. "ismarketprice": {
  14977. "description": "是否支持市价 - 0:不支持 1:支持",
  14978. "type": "integer"
  14979. },
  14980. "quotegear": {
  14981. "description": "行情档位(1-10)",
  14982. "type": "integer"
  14983. },
  14984. "showbrokerflag": {
  14985. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  14986. "type": "integer"
  14987. },
  14988. "updatetime": {
  14989. "description": "更新时间",
  14990. "type": "string"
  14991. }
  14992. }
  14993. },
  14994. "models.Funcmenulist": {
  14995. "type": "object",
  14996. "required": [
  14997. "resourcecode"
  14998. ],
  14999. "properties": {
  15000. "iconame": {
  15001. "description": "菜单图标",
  15002. "type": "string"
  15003. },
  15004. "menutype": {
  15005. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15006. "type": "integer"
  15007. },
  15008. "parentcode": {
  15009. "description": "上级资源代码",
  15010. "type": "string"
  15011. },
  15012. "remark": {
  15013. "description": "备注",
  15014. "type": "string"
  15015. },
  15016. "resourcecode": {
  15017. "description": "资源代码",
  15018. "type": "string"
  15019. },
  15020. "resourcelevel": {
  15021. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15022. "type": "integer"
  15023. },
  15024. "resourcename": {
  15025. "description": "资源名",
  15026. "type": "string"
  15027. },
  15028. "sort": {
  15029. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15030. "type": "integer"
  15031. },
  15032. "url": {
  15033. "description": "URL",
  15034. "type": "string"
  15035. }
  15036. }
  15037. },
  15038. "models.Goods": {
  15039. "type": "object",
  15040. "required": [
  15041. "goodscode",
  15042. "goodsid",
  15043. "goodsname",
  15044. "marketid"
  15045. ],
  15046. "properties": {
  15047. "agreeunit": {
  15048. "description": "合约单位",
  15049. "type": "number"
  15050. },
  15051. "auditaccountid": {
  15052. "description": "审核操作员账号",
  15053. "type": "integer"
  15054. },
  15055. "audittime": {
  15056. "description": "审核时间",
  15057. "type": "string"
  15058. },
  15059. "cancelaccountid": {
  15060. "description": "注销操作员账号",
  15061. "type": "integer"
  15062. },
  15063. "canceltime": {
  15064. "description": "注销时间",
  15065. "type": "string"
  15066. },
  15067. "closepricemode": {
  15068. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15069. "type": "integer"
  15070. },
  15071. "closepriceparam": {
  15072. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  15073. "type": "number"
  15074. },
  15075. "createtime": {
  15076. "description": "创建时间",
  15077. "type": "string"
  15078. },
  15079. "creatorid": {
  15080. "description": "创建人",
  15081. "type": "integer"
  15082. },
  15083. "currencyid": {
  15084. "description": "报价货币ID",
  15085. "type": "integer"
  15086. },
  15087. "cutmode": {
  15088. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  15089. "type": "integer"
  15090. },
  15091. "decimalplace": {
  15092. "description": "报价小数位",
  15093. "type": "integer"
  15094. },
  15095. "delistingdate": {
  15096. "description": "商品退市时间(状态:退市) -- 已作废",
  15097. "type": "string"
  15098. },
  15099. "delistingmode": {
  15100. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  15101. "type": "integer"
  15102. },
  15103. "deliveryflag": {
  15104. "description": "交割标志 - 0:不可交割 1:可交割",
  15105. "type": "integer"
  15106. },
  15107. "forceclosemode": {
  15108. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  15109. "type": "integer"
  15110. },
  15111. "forceclosevalue": {
  15112. "description": "定期强平参数 [收益权]",
  15113. "type": "integer"
  15114. },
  15115. "goodscode": {
  15116. "description": "商品代码(内部)",
  15117. "type": "string"
  15118. },
  15119. "goodscurrencyid": {
  15120. "description": "合约货币ID",
  15121. "type": "integer"
  15122. },
  15123. "goodsgroupid": {
  15124. "description": "所属商品组ID",
  15125. "type": "integer"
  15126. },
  15127. "goodsid": {
  15128. "description": "商品ID(自增ID SEQ_GOODS)",
  15129. "type": "integer"
  15130. },
  15131. "goodsname": {
  15132. "description": "商品名称",
  15133. "type": "string"
  15134. },
  15135. "goodsquotetype": {
  15136. "description": "合约报价类型: 1-直接报价 2-间接报价",
  15137. "type": "integer"
  15138. },
  15139. "goodsstatus": {
  15140. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15141. "type": "integer"
  15142. },
  15143. "goodstradetype": {
  15144. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  15145. "type": "integer"
  15146. },
  15147. "goodunitid": {
  15148. "description": "报价单位ID",
  15149. "type": "integer"
  15150. },
  15151. "hasquoter": {
  15152. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  15153. "type": "integer"
  15154. },
  15155. "hqprotecttime": {
  15156. "description": "行情保护时间(秒)",
  15157. "type": "integer"
  15158. },
  15159. "innerdealmode": {
  15160. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15161. "type": "integer"
  15162. },
  15163. "isbuylimited": {
  15164. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15165. "type": "integer"
  15166. },
  15167. "lasttradedate": {
  15168. "description": "最后交易日期(状态:待退市)",
  15169. "type": "string"
  15170. },
  15171. "listingdate": {
  15172. "description": "交易开始日期",
  15173. "type": "string"
  15174. },
  15175. "marketid": {
  15176. "description": "所属市场ID",
  15177. "type": "integer"
  15178. },
  15179. "modifierid": {
  15180. "description": "修改人",
  15181. "type": "integer"
  15182. },
  15183. "modifystatus": {
  15184. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  15185. "type": "integer"
  15186. },
  15187. "modifytime": {
  15188. "description": "修改时间",
  15189. "type": "string"
  15190. },
  15191. "outerdealmode": {
  15192. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15193. "type": "integer"
  15194. },
  15195. "outgoodscode": {
  15196. "description": "商品代码(外部)",
  15197. "type": "string"
  15198. },
  15199. "qtydecimalplace": {
  15200. "description": "成交量小数位",
  15201. "type": "integer"
  15202. },
  15203. "quotegear": {
  15204. "description": "行情档位(1-10)",
  15205. "type": "integer"
  15206. },
  15207. "quoteminunit": {
  15208. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15209. "type": "integer"
  15210. },
  15211. "quoteshowtype": {
  15212. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  15213. "type": "integer"
  15214. },
  15215. "quoteshowtypeinterval": {
  15216. "description": "行情报价间隔时间(秒)(成交价时为0)",
  15217. "type": "integer"
  15218. },
  15219. "remark": {
  15220. "description": "备注",
  15221. "type": "string"
  15222. }
  15223. }
  15224. },
  15225. "models.GoodsBrand": {
  15226. "type": "object",
  15227. "properties": {
  15228. "brandid": {
  15229. "description": "品牌ID",
  15230. "type": "integer"
  15231. },
  15232. "brandname": {
  15233. "description": "品牌名称",
  15234. "type": "string"
  15235. },
  15236. "isvalid": {
  15237. "description": "是否有效 - 0:无效 1:有效",
  15238. "type": "integer"
  15239. }
  15240. }
  15241. },
  15242. "models.GoodsIDAndName": {
  15243. "type": "object",
  15244. "required": [
  15245. "goodscode",
  15246. "goodsid",
  15247. "goodsname",
  15248. "marketid"
  15249. ],
  15250. "properties": {
  15251. "goodscode": {
  15252. "description": "商品代码(内部)",
  15253. "type": "string"
  15254. },
  15255. "goodsid": {
  15256. "description": "商品ID(自增ID SEQ_GOODS)",
  15257. "type": "integer"
  15258. },
  15259. "goodsname": {
  15260. "description": "商品名称",
  15261. "type": "string"
  15262. },
  15263. "marketid": {
  15264. "description": "所属市场ID",
  15265. "type": "integer"
  15266. }
  15267. }
  15268. },
  15269. "models.GoodsTypeModel": {
  15270. "type": "object",
  15271. "properties": {
  15272. "convertfactor": {
  15273. "description": "标仓系数",
  15274. "type": "number"
  15275. },
  15276. "modelid": {
  15277. "description": "型号ID",
  15278. "type": "integer"
  15279. },
  15280. "modelname": {
  15281. "description": "型号名称",
  15282. "type": "string"
  15283. },
  15284. "updatetime": {
  15285. "description": "更新时间",
  15286. "type": "string"
  15287. }
  15288. }
  15289. },
  15290. "models.Goodsgroup": {
  15291. "type": "object",
  15292. "required": [
  15293. "goodsgroupid",
  15294. "goodsgroupname",
  15295. "goodsgroupstatus",
  15296. "marketid"
  15297. ],
  15298. "properties": {
  15299. "agreeunit": {
  15300. "description": "合约单位",
  15301. "type": "number"
  15302. },
  15303. "canshort": {
  15304. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15305. "type": "integer"
  15306. },
  15307. "closepricemode": {
  15308. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15309. "type": "integer"
  15310. },
  15311. "closepriceparam": {
  15312. "description": "强平最新价浮动比例 - 方式为2时使用",
  15313. "type": "number"
  15314. },
  15315. "createtime": {
  15316. "description": "创建时间",
  15317. "type": "string"
  15318. },
  15319. "creatorid": {
  15320. "description": "创建人",
  15321. "type": "integer"
  15322. },
  15323. "currencyid": {
  15324. "description": "报价货币ID",
  15325. "type": "integer"
  15326. },
  15327. "decimalplace": {
  15328. "description": "报价小数位",
  15329. "type": "integer"
  15330. },
  15331. "exercisetype": {
  15332. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  15333. "type": "integer"
  15334. },
  15335. "exexchangeid": {
  15336. "description": "外部交易所ID[通道交易]",
  15337. "type": "integer"
  15338. },
  15339. "goodsgroupid": {
  15340. "description": "商品组ID(自增ID)",
  15341. "type": "integer"
  15342. },
  15343. "goodsgroupname": {
  15344. "description": "商品组名称",
  15345. "type": "string"
  15346. },
  15347. "goodsgroupstatus": {
  15348. "description": "商品组状态 - 1:正常 2:注销",
  15349. "type": "integer"
  15350. },
  15351. "goodunitid": {
  15352. "description": "报价单位ID",
  15353. "type": "integer"
  15354. },
  15355. "innerdealmode": {
  15356. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15357. "type": "integer"
  15358. },
  15359. "isbuylimited": {
  15360. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15361. "type": "integer"
  15362. },
  15363. "marketid": {
  15364. "description": "所属市场ID",
  15365. "type": "integer"
  15366. },
  15367. "modifierid": {
  15368. "description": "修改人",
  15369. "type": "integer"
  15370. },
  15371. "modifytime": {
  15372. "description": "修改时间",
  15373. "type": "string"
  15374. },
  15375. "outerdealmode": {
  15376. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15377. "type": "integer"
  15378. },
  15379. "outergroupcode": {
  15380. "description": "外部商品组代码[通道交易]",
  15381. "type": "string"
  15382. },
  15383. "premiumdecimalplace": {
  15384. "description": "权利金小数位[场外期权]",
  15385. "type": "integer"
  15386. },
  15387. "premiumspreadalgorithm": {
  15388. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  15389. "type": "integer"
  15390. },
  15391. "premiumspreadvalue": {
  15392. "description": "权利金点差值[场外期权]",
  15393. "type": "number"
  15394. },
  15395. "qtydecimalplace": {
  15396. "description": "成交量小数位",
  15397. "type": "integer"
  15398. },
  15399. "quotegear": {
  15400. "description": "行情档位(1-10)",
  15401. "type": "integer"
  15402. },
  15403. "quoteminunit": {
  15404. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15405. "type": "integer"
  15406. },
  15407. "quoterid": {
  15408. "description": "报价商ID[场外期权]",
  15409. "type": "integer"
  15410. },
  15411. "quotesourcegroupid": {
  15412. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15413. "type": "integer"
  15414. },
  15415. "syncgoodsqty": {
  15416. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15417. "type": "integer"
  15418. }
  15419. }
  15420. },
  15421. "models.Goodssortbypreposition": {
  15422. "type": "object",
  15423. "required": [
  15424. "goodscode",
  15425. "tradedate"
  15426. ],
  15427. "properties": {
  15428. "goodscode": {
  15429. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  15430. "type": "string"
  15431. },
  15432. "goodsgroupcode": {
  15433. "description": "品种代码",
  15434. "type": "string"
  15435. },
  15436. "prepositionqty": {
  15437. "description": "昨持仓量",
  15438. "type": "integer"
  15439. },
  15440. "sortindex": {
  15441. "description": "排序",
  15442. "type": "integer"
  15443. },
  15444. "tradedate": {
  15445. "description": "交易日",
  15446. "type": "string"
  15447. },
  15448. "updatetime": {
  15449. "description": "更新时间",
  15450. "type": "string"
  15451. }
  15452. }
  15453. },
  15454. "models.Hedgeinnerholderdetail": {
  15455. "type": "object",
  15456. "required": [
  15457. "buyorsell",
  15458. "tradeid"
  15459. ],
  15460. "properties": {
  15461. "accountid": {
  15462. "description": "账号ID",
  15463. "type": "integer"
  15464. },
  15465. "buyorsell": {
  15466. "description": "方向 - 0:买 1:卖",
  15467. "type": "integer"
  15468. },
  15469. "freezeqty": {
  15470. "description": "冻结数量 - 按单平使用",
  15471. "type": "integer"
  15472. },
  15473. "goodsid": {
  15474. "description": "商品ID",
  15475. "type": "integer"
  15476. },
  15477. "holderamount": {
  15478. "description": "持仓金额 [商品币种]",
  15479. "type": "number"
  15480. },
  15481. "holderdays": {
  15482. "description": "剩余冻结天数",
  15483. "type": "integer"
  15484. },
  15485. "holderprice": {
  15486. "description": "持仓价格",
  15487. "type": "number"
  15488. },
  15489. "holderqty": {
  15490. "description": "持仓数量",
  15491. "type": "integer"
  15492. },
  15493. "marketid": {
  15494. "description": "市场ID",
  15495. "type": "integer"
  15496. },
  15497. "openprice": {
  15498. "description": "建仓价格",
  15499. "type": "number"
  15500. },
  15501. "openqty": {
  15502. "description": "建仓数量",
  15503. "type": "integer"
  15504. },
  15505. "parentaccountid": {
  15506. "description": "所属母账户",
  15507. "type": "integer"
  15508. },
  15509. "releaseamount": {
  15510. "description": "释放持仓金额[商品币种]",
  15511. "type": "number"
  15512. },
  15513. "tradeamount": {
  15514. "description": "成交金额[账户]",
  15515. "type": "number"
  15516. },
  15517. "tradedate": {
  15518. "description": "交易日(yyyyMMdd)",
  15519. "type": "string"
  15520. },
  15521. "tradeid": {
  15522. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15523. "type": "string"
  15524. },
  15525. "tradetime": {
  15526. "description": "交易时间",
  15527. "type": "string"
  15528. }
  15529. }
  15530. },
  15531. "models.HsbyBuyMyPayOrder": {
  15532. "type": "object",
  15533. "required": [
  15534. "goodscode",
  15535. "goodsname",
  15536. "tradeid",
  15537. "trademode"
  15538. ],
  15539. "properties": {
  15540. "agreeunit": {
  15541. "description": "合约单位",
  15542. "type": "number"
  15543. },
  15544. "buyaccountid": {
  15545. "description": "买方账号ID[报价币种]",
  15546. "type": "integer"
  15547. },
  15548. "buyorderid": {
  15549. "description": "买方委托单号",
  15550. "type": "string"
  15551. },
  15552. "createtime": {
  15553. "description": "创建时间",
  15554. "type": "string"
  15555. },
  15556. "currencysign": {
  15557. "description": "货币符号",
  15558. "type": "string"
  15559. },
  15560. "decimalplace": {
  15561. "description": "报价小数位",
  15562. "type": "integer"
  15563. },
  15564. "goodscode": {
  15565. "description": "商品代码(内部)",
  15566. "type": "string"
  15567. },
  15568. "goodsid": {
  15569. "description": "商品ID",
  15570. "type": "integer"
  15571. },
  15572. "goodsname": {
  15573. "description": "商品名称",
  15574. "type": "string"
  15575. },
  15576. "marketid": {
  15577. "description": "市场ID",
  15578. "type": "integer"
  15579. },
  15580. "offamount": {
  15581. "description": "优惠金额",
  15582. "type": "number"
  15583. },
  15584. "originalamount": {
  15585. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  15586. "type": "number"
  15587. },
  15588. "payamount": {
  15589. "description": "支付金额 = TradeAmount + TradeCharge",
  15590. "type": "number"
  15591. },
  15592. "payflag": {
  15593. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15594. "type": "integer"
  15595. },
  15596. "paylimitedtime": {
  15597. "description": "支付期限",
  15598. "type": "string"
  15599. },
  15600. "paytime": {
  15601. "description": "付款时间",
  15602. "type": "string"
  15603. },
  15604. "picurls1": {
  15605. "description": "预售商品介绍图片[多张用逗号分隔]",
  15606. "type": "string"
  15607. },
  15608. "picurls2": {
  15609. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15610. "type": "string"
  15611. },
  15612. "sellaccountid": {
  15613. "description": "卖方账号ID[报价币种]",
  15614. "type": "integer"
  15615. },
  15616. "sellorderid": {
  15617. "description": "卖方委托单号",
  15618. "type": "string"
  15619. },
  15620. "tradeamount": {
  15621. "description": "成交金额",
  15622. "type": "number"
  15623. },
  15624. "tradecharge": {
  15625. "description": "成交手续费(买方)",
  15626. "type": "number"
  15627. },
  15628. "tradedate": {
  15629. "description": "交易日(yyyyMMdd)",
  15630. "type": "string"
  15631. },
  15632. "tradeid": {
  15633. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15634. "type": "string"
  15635. },
  15636. "trademode": {
  15637. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15638. "type": "integer"
  15639. },
  15640. "tradeprice": {
  15641. "description": "成交价格",
  15642. "type": "number"
  15643. },
  15644. "tradeqty": {
  15645. "description": "成交数量",
  15646. "type": "integer"
  15647. },
  15648. "vendorname1": {
  15649. "description": "预售商品供应商名称",
  15650. "type": "string"
  15651. },
  15652. "vendorname2": {
  15653. "description": "挂牌商品供应商名称",
  15654. "type": "string"
  15655. }
  15656. }
  15657. },
  15658. "models.HsbyBuyMyTradeDetail": {
  15659. "type": "object",
  15660. "required": [
  15661. "accountid",
  15662. "buyorsell",
  15663. "goodscode",
  15664. "goodsid",
  15665. "goodsname",
  15666. "marketid",
  15667. "orderid",
  15668. "qty",
  15669. "time",
  15670. "trademode"
  15671. ],
  15672. "properties": {
  15673. "accountid": {
  15674. "description": "账户ID[报价币种]",
  15675. "type": "integer"
  15676. },
  15677. "agreeunit": {
  15678. "description": "合约单位",
  15679. "type": "number"
  15680. },
  15681. "amount": {
  15682. "description": "金额 = 价格 * 数量 * 合约单位",
  15683. "type": "number"
  15684. },
  15685. "buyorsell": {
  15686. "description": "买卖 - 0:买 1:卖",
  15687. "type": "integer"
  15688. },
  15689. "currencysign": {
  15690. "description": "货币符号",
  15691. "type": "string"
  15692. },
  15693. "decimalplace": {
  15694. "description": "报价小数位",
  15695. "type": "integer"
  15696. },
  15697. "goodscode": {
  15698. "description": "商品代码(内部)",
  15699. "type": "string"
  15700. },
  15701. "goodsid": {
  15702. "description": "商品ID",
  15703. "type": "integer"
  15704. },
  15705. "goodsname": {
  15706. "description": "商品名称",
  15707. "type": "string"
  15708. },
  15709. "marketid": {
  15710. "description": "市场ID",
  15711. "type": "integer"
  15712. },
  15713. "orderamount": {
  15714. "description": "委托金额",
  15715. "type": "number"
  15716. },
  15717. "orderid": {
  15718. "description": "单号(成交单号)",
  15719. "type": "string"
  15720. },
  15721. "picurls1": {
  15722. "description": "预售商品介绍图片[多张用逗号分隔]",
  15723. "type": "string"
  15724. },
  15725. "picurls2": {
  15726. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15727. "type": "string"
  15728. },
  15729. "price": {
  15730. "description": "价格",
  15731. "type": "number"
  15732. },
  15733. "qty": {
  15734. "description": "数量",
  15735. "type": "integer"
  15736. },
  15737. "time": {
  15738. "description": "时间",
  15739. "type": "string"
  15740. },
  15741. "trademode": {
  15742. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15743. "type": "integer"
  15744. },
  15745. "vendorname1": {
  15746. "description": "预售商品供应商名称",
  15747. "type": "string"
  15748. },
  15749. "vendorname2": {
  15750. "description": "挂牌商品供应商名称",
  15751. "type": "string"
  15752. }
  15753. }
  15754. },
  15755. "models.HsbyGoodsOrderDetail": {
  15756. "type": "object",
  15757. "required": [
  15758. "buyorsell",
  15759. "orderid",
  15760. "ordertime"
  15761. ],
  15762. "properties": {
  15763. "buyorsell": {
  15764. "description": "买卖 - 0:买 1:卖",
  15765. "type": "integer"
  15766. },
  15767. "currencysign": {
  15768. "description": "货币符号",
  15769. "type": "string"
  15770. },
  15771. "customername": {
  15772. "description": "客户名称(企业名称),已脱敏",
  15773. "type": "string"
  15774. },
  15775. "enableqty": {
  15776. "description": "可用数量",
  15777. "type": "integer"
  15778. },
  15779. "goodunit": {
  15780. "description": "报价单位",
  15781. "type": "string"
  15782. },
  15783. "orderid": {
  15784. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15785. "type": "string"
  15786. },
  15787. "orderprice": {
  15788. "description": "委托价格",
  15789. "type": "number"
  15790. },
  15791. "ordertime": {
  15792. "description": "委托时间",
  15793. "type": "string"
  15794. }
  15795. }
  15796. },
  15797. "models.HsbyListingGoodsDetail": {
  15798. "type": "object",
  15799. "required": [
  15800. "goodscode",
  15801. "goodsid",
  15802. "goodsname",
  15803. "marketid",
  15804. "trademode"
  15805. ],
  15806. "properties": {
  15807. "agreeunit": {
  15808. "description": "合约单位",
  15809. "type": "number"
  15810. },
  15811. "buymaxqty": {
  15812. "description": "购买上限 [71] - 0为不限",
  15813. "type": "integer"
  15814. },
  15815. "currency": {
  15816. "description": "货币",
  15817. "type": "string"
  15818. },
  15819. "currencysign": {
  15820. "description": "货币符号",
  15821. "type": "string"
  15822. },
  15823. "decimalplace": {
  15824. "description": "报价小数位",
  15825. "type": "integer"
  15826. },
  15827. "desccityid": {
  15828. "description": "目的地(市)ID",
  15829. "type": "integer"
  15830. },
  15831. "descprovinceid": {
  15832. "description": "目的地(省)ID",
  15833. "type": "integer"
  15834. },
  15835. "goodscode": {
  15836. "description": "商品代码(内部)",
  15837. "type": "string"
  15838. },
  15839. "goodsdesc": {
  15840. "description": "商品详情",
  15841. "type": "string"
  15842. },
  15843. "goodsid": {
  15844. "description": "商品ID(自增ID SEQ_GOODS)",
  15845. "type": "integer"
  15846. },
  15847. "goodsname": {
  15848. "description": "商品名称",
  15849. "type": "string"
  15850. },
  15851. "goodsprice": {
  15852. "description": "商品价格",
  15853. "type": "number"
  15854. },
  15855. "hotindex": {
  15856. "description": "景点热度",
  15857. "type": "integer"
  15858. },
  15859. "last": {
  15860. "description": "现价",
  15861. "type": "number"
  15862. },
  15863. "limitdown": {
  15864. "description": "跌停价",
  15865. "type": "number"
  15866. },
  15867. "limitup": {
  15868. "description": "涨停价",
  15869. "type": "number"
  15870. },
  15871. "lotsize": {
  15872. "description": "手数最小变动单位",
  15873. "type": "integer"
  15874. },
  15875. "marketid": {
  15876. "description": "所属市场ID",
  15877. "type": "integer"
  15878. },
  15879. "picurls": {
  15880. "description": "介绍图片[多张用逗号分隔]",
  15881. "type": "string"
  15882. },
  15883. "quoteminunit": {
  15884. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15885. "type": "integer"
  15886. },
  15887. "stepvalue": {
  15888. "description": "价格最小变动单位",
  15889. "type": "number"
  15890. },
  15891. "trademode": {
  15892. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15893. "type": "integer"
  15894. },
  15895. "vendorattr": {
  15896. "description": "供应商附件(多张,逗号分隔)",
  15897. "type": "string"
  15898. },
  15899. "vendorname": {
  15900. "description": "供应商名称",
  15901. "type": "string"
  15902. },
  15903. "vendorphone": {
  15904. "description": "供应商客服电话",
  15905. "type": "string"
  15906. },
  15907. "videourls": {
  15908. "description": "介绍视频[多张用逗号分隔]",
  15909. "type": "string"
  15910. }
  15911. }
  15912. },
  15913. "models.HsbyMarketGoods": {
  15914. "type": "object",
  15915. "required": [
  15916. "accountid",
  15917. "buyorsell",
  15918. "goodscode",
  15919. "goodsid",
  15920. "goodsname",
  15921. "marketid",
  15922. "orderid",
  15923. "trademode"
  15924. ],
  15925. "properties": {
  15926. "accountid": {
  15927. "description": "账户ID[报价币种]",
  15928. "type": "integer"
  15929. },
  15930. "agreeunit": {
  15931. "description": "合约单位",
  15932. "type": "number"
  15933. },
  15934. "buyorsell": {
  15935. "description": "买卖 - 0:买 1:卖",
  15936. "type": "integer"
  15937. },
  15938. "categoryid": {
  15939. "description": "类别ID(WRCATEGORY)",
  15940. "type": "integer"
  15941. },
  15942. "currency": {
  15943. "description": "货币",
  15944. "type": "string"
  15945. },
  15946. "currencysign": {
  15947. "description": "货币符号",
  15948. "type": "string"
  15949. },
  15950. "customername": {
  15951. "description": "卖家名称",
  15952. "type": "string"
  15953. },
  15954. "decimalplace": {
  15955. "description": "报价小数位",
  15956. "type": "integer"
  15957. },
  15958. "goodscode": {
  15959. "description": "商品代码(内部)",
  15960. "type": "string"
  15961. },
  15962. "goodsid": {
  15963. "description": "商品ID",
  15964. "type": "integer"
  15965. },
  15966. "goodsname": {
  15967. "description": "商品名称",
  15968. "type": "string"
  15969. },
  15970. "goodsprice": {
  15971. "description": "商品价格",
  15972. "type": "number"
  15973. },
  15974. "hascoupon": {
  15975. "description": "是否可用优惠卷",
  15976. "type": "boolean"
  15977. },
  15978. "hotindex": {
  15979. "description": "景点热度",
  15980. "type": "integer"
  15981. },
  15982. "marketid": {
  15983. "description": "市场ID",
  15984. "type": "integer"
  15985. },
  15986. "orderid": {
  15987. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15988. "type": "string"
  15989. },
  15990. "orderprice": {
  15991. "description": "委托价格",
  15992. "type": "number"
  15993. },
  15994. "orderstatus": {
  15995. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15996. "type": "integer"
  15997. },
  15998. "picurls": {
  15999. "description": "介绍图片[多张用逗号分隔]",
  16000. "type": "string"
  16001. },
  16002. "quoteminunit": {
  16003. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16004. "type": "integer"
  16005. },
  16006. "sellUserID": {
  16007. "description": "卖方UserID",
  16008. "type": "integer"
  16009. },
  16010. "trademode": {
  16011. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16012. "type": "integer"
  16013. },
  16014. "videourls": {
  16015. "description": "介绍视频[多张用逗号分隔]",
  16016. "type": "string"
  16017. }
  16018. }
  16019. },
  16020. "models.HsbyMarketGoodsDetail": {
  16021. "type": "object",
  16022. "required": [
  16023. "accountid",
  16024. "buyorsell",
  16025. "goodscode",
  16026. "goodsid",
  16027. "goodsname",
  16028. "marketid",
  16029. "orderid",
  16030. "orderqty",
  16031. "trademode"
  16032. ],
  16033. "properties": {
  16034. "accountid": {
  16035. "description": "账户ID[报价币种]",
  16036. "type": "integer"
  16037. },
  16038. "agreeunit": {
  16039. "description": "合约单位",
  16040. "type": "number"
  16041. },
  16042. "buymaxqty": {
  16043. "description": "购买上限 [71] - 0为不限",
  16044. "type": "integer"
  16045. },
  16046. "buyorsell": {
  16047. "description": "买卖 - 0:买 1:卖",
  16048. "type": "integer"
  16049. },
  16050. "cancelqty": {
  16051. "description": "撤单数量",
  16052. "type": "integer"
  16053. },
  16054. "categoryid": {
  16055. "description": "类别ID(WRCATEGORY)",
  16056. "type": "integer"
  16057. },
  16058. "currency": {
  16059. "description": "货币",
  16060. "type": "string"
  16061. },
  16062. "currencysign": {
  16063. "description": "货币符号",
  16064. "type": "string"
  16065. },
  16066. "customername": {
  16067. "description": "卖家名称",
  16068. "type": "string"
  16069. },
  16070. "decimalplace": {
  16071. "description": "报价小数位",
  16072. "type": "integer"
  16073. },
  16074. "goodscode": {
  16075. "description": "商品代码(内部)",
  16076. "type": "string"
  16077. },
  16078. "goodsdesc": {
  16079. "description": "商品详情",
  16080. "type": "string"
  16081. },
  16082. "goodsid": {
  16083. "description": "商品ID",
  16084. "type": "integer"
  16085. },
  16086. "goodsname": {
  16087. "description": "商品名称",
  16088. "type": "string"
  16089. },
  16090. "goodsprice": {
  16091. "description": "商品价格",
  16092. "type": "number"
  16093. },
  16094. "hotindex": {
  16095. "description": "景点热度",
  16096. "type": "integer"
  16097. },
  16098. "lotsize": {
  16099. "description": "手数最小变动单位",
  16100. "type": "integer"
  16101. },
  16102. "marketid": {
  16103. "description": "市场ID",
  16104. "type": "integer"
  16105. },
  16106. "orderid": {
  16107. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16108. "type": "string"
  16109. },
  16110. "orderprice": {
  16111. "description": "委托价格",
  16112. "type": "number"
  16113. },
  16114. "orderqty": {
  16115. "description": "委托数量",
  16116. "type": "integer"
  16117. },
  16118. "orderstatus": {
  16119. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16120. "type": "integer"
  16121. },
  16122. "picurls": {
  16123. "description": "介绍图片[多张用逗号分隔]",
  16124. "type": "string"
  16125. },
  16126. "quoteminunit": {
  16127. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16128. "type": "integer"
  16129. },
  16130. "sellUserID": {
  16131. "description": "卖方UserID",
  16132. "type": "integer"
  16133. },
  16134. "trademode": {
  16135. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16136. "type": "integer"
  16137. },
  16138. "tradeqty": {
  16139. "description": "成交数量",
  16140. "type": "integer"
  16141. },
  16142. "vendorattr": {
  16143. "description": "供应商附件(多张,逗号分隔)",
  16144. "type": "string"
  16145. },
  16146. "vendorname": {
  16147. "description": "供应商名称",
  16148. "type": "string"
  16149. },
  16150. "vendorphone": {
  16151. "description": "供应商客服电话",
  16152. "type": "string"
  16153. },
  16154. "videourls": {
  16155. "description": "介绍视频[多张用逗号分隔]",
  16156. "type": "string"
  16157. }
  16158. }
  16159. },
  16160. "models.HsbyMarketInfo": {
  16161. "type": "object",
  16162. "required": [
  16163. "marketid",
  16164. "marketstatus",
  16165. "trademode"
  16166. ],
  16167. "properties": {
  16168. "marketid": {
  16169. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16170. "type": "integer"
  16171. },
  16172. "marketname": {
  16173. "description": "市场名称",
  16174. "type": "string"
  16175. },
  16176. "marketstatus": {
  16177. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16178. "type": "integer"
  16179. },
  16180. "trademode": {
  16181. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16182. "type": "integer"
  16183. }
  16184. }
  16185. },
  16186. "models.HsbyMyGoods": {
  16187. "type": "object",
  16188. "required": [
  16189. "accountid",
  16190. "goodscode",
  16191. "goodsid",
  16192. "goodsname",
  16193. "marketid",
  16194. "trademode"
  16195. ],
  16196. "properties": {
  16197. "accountid": {
  16198. "description": "账号Id",
  16199. "type": "integer"
  16200. },
  16201. "agreeunit": {
  16202. "description": "合约单位",
  16203. "type": "number"
  16204. },
  16205. "buyaverageprice": {
  16206. "description": "持仓均价",
  16207. "type": "number"
  16208. },
  16209. "buycurholderamount": {
  16210. "description": "买当前持仓总金额[商品币种]",
  16211. "type": "number"
  16212. },
  16213. "buycurpositionqty": {
  16214. "description": "买当前持仓总数量",
  16215. "type": "integer"
  16216. },
  16217. "buymaxqty": {
  16218. "description": "购买上限 [71] - 0为不限",
  16219. "type": "integer"
  16220. },
  16221. "currencysign": {
  16222. "description": "货币符号",
  16223. "type": "string"
  16224. },
  16225. "decimalplace": {
  16226. "description": "报价小数位",
  16227. "type": "integer"
  16228. },
  16229. "enableqty": {
  16230. "description": "可用数量",
  16231. "type": "integer"
  16232. },
  16233. "goodscode": {
  16234. "description": "商品代码(内部)",
  16235. "type": "string"
  16236. },
  16237. "goodsid": {
  16238. "description": "商品Id",
  16239. "type": "integer"
  16240. },
  16241. "goodsname": {
  16242. "description": "商品名称",
  16243. "type": "string"
  16244. },
  16245. "goodsprice": {
  16246. "description": "商品价格",
  16247. "type": "number"
  16248. },
  16249. "goodsstatus": {
  16250. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16251. "type": "integer"
  16252. },
  16253. "last": {
  16254. "description": "现价(仅使用于挂牌点选)",
  16255. "type": "number"
  16256. },
  16257. "limitdown": {
  16258. "description": "跌停价(仅使用于挂牌点选)",
  16259. "type": "number"
  16260. },
  16261. "limitup": {
  16262. "description": "涨停价(仅使用于挂牌点选)",
  16263. "type": "number"
  16264. },
  16265. "lotsize": {
  16266. "description": "手数最小变动单位",
  16267. "type": "integer"
  16268. },
  16269. "marketid": {
  16270. "description": "所属市场ID",
  16271. "type": "integer"
  16272. },
  16273. "picurls": {
  16274. "description": "介绍图片[多张用逗号分隔]",
  16275. "type": "string"
  16276. },
  16277. "quoteminunit": {
  16278. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16279. "type": "integer"
  16280. },
  16281. "stepvalue": {
  16282. "description": "价格最小变动单位",
  16283. "type": "number"
  16284. },
  16285. "trademode": {
  16286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16287. "type": "integer"
  16288. }
  16289. }
  16290. },
  16291. "models.HsbyMyPackage": {
  16292. "type": "object",
  16293. "required": [
  16294. "goodscode",
  16295. "goodsname",
  16296. "takeorderid",
  16297. "trademode"
  16298. ],
  16299. "properties": {
  16300. "accountid": {
  16301. "description": "账户ID",
  16302. "type": "integer"
  16303. },
  16304. "address": {
  16305. "description": "提货人详细地址",
  16306. "type": "string"
  16307. },
  16308. "agreeunit": {
  16309. "description": "合约单位",
  16310. "type": "number"
  16311. },
  16312. "amount": {
  16313. "description": "提货金额",
  16314. "type": "number"
  16315. },
  16316. "auditer": {
  16317. "description": "审核人",
  16318. "type": "integer"
  16319. },
  16320. "audittime": {
  16321. "description": "审核时间",
  16322. "type": "string"
  16323. },
  16324. "averageprice": {
  16325. "description": "均价",
  16326. "type": "number"
  16327. },
  16328. "cardnum": {
  16329. "description": "提货人证件号码",
  16330. "type": "string"
  16331. },
  16332. "cardtypeid": {
  16333. "description": "提货人证件类型",
  16334. "type": "integer"
  16335. },
  16336. "checkremark": {
  16337. "description": "审核备注",
  16338. "type": "string"
  16339. },
  16340. "currencysign": {
  16341. "description": "货币符号",
  16342. "type": "string"
  16343. },
  16344. "decimalplace": {
  16345. "description": "报价小数位",
  16346. "type": "integer"
  16347. },
  16348. "goodscode": {
  16349. "description": "商品代码(内部)",
  16350. "type": "string"
  16351. },
  16352. "goodsid": {
  16353. "description": "商品ID",
  16354. "type": "integer"
  16355. },
  16356. "goodsname": {
  16357. "description": "商品名称",
  16358. "type": "string"
  16359. },
  16360. "handlestatus": {
  16361. "description": "处理状态",
  16362. "type": "integer"
  16363. },
  16364. "marketid": {
  16365. "description": "市场ID",
  16366. "type": "integer"
  16367. },
  16368. "phonenum": {
  16369. "description": "提货人联系方式",
  16370. "type": "string"
  16371. },
  16372. "picurls": {
  16373. "description": "介绍图片[多张用逗号分隔]",
  16374. "type": "string"
  16375. },
  16376. "qty": {
  16377. "description": "提货数量",
  16378. "type": "number"
  16379. },
  16380. "recivername": {
  16381. "description": "提货人姓名",
  16382. "type": "string"
  16383. },
  16384. "reqtime": {
  16385. "description": "更新时间",
  16386. "type": "string"
  16387. },
  16388. "takemode": {
  16389. "description": "提货方式 - 2:自提 3:配送",
  16390. "type": "integer"
  16391. },
  16392. "takeorderid": {
  16393. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16394. "type": "string"
  16395. },
  16396. "takeorderstatus": {
  16397. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16398. "type": "integer"
  16399. },
  16400. "takeremark": {
  16401. "description": "提货备注",
  16402. "type": "string"
  16403. },
  16404. "tradedate": {
  16405. "description": "交易日(yyyyMMdd)",
  16406. "type": "string"
  16407. },
  16408. "trademode": {
  16409. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16410. "type": "integer"
  16411. },
  16412. "userid": {
  16413. "description": "用户ID",
  16414. "type": "integer"
  16415. },
  16416. "vendorname": {
  16417. "description": "供应商名称",
  16418. "type": "string"
  16419. }
  16420. }
  16421. },
  16422. "models.HsbyPreGoods": {
  16423. "type": "object",
  16424. "required": [
  16425. "goodscode",
  16426. "goodsid",
  16427. "goodsname",
  16428. "marketid",
  16429. "trademode"
  16430. ],
  16431. "properties": {
  16432. "agreeunit": {
  16433. "description": "合约单位",
  16434. "type": "number"
  16435. },
  16436. "currency": {
  16437. "description": "货币",
  16438. "type": "string"
  16439. },
  16440. "currencysign": {
  16441. "description": "货币符号",
  16442. "type": "string"
  16443. },
  16444. "decimalplace": {
  16445. "description": "报价小数位",
  16446. "type": "integer"
  16447. },
  16448. "desccityid": {
  16449. "description": "目的地(市)",
  16450. "type": "integer"
  16451. },
  16452. "descprovinceid": {
  16453. "description": "目的地(省)",
  16454. "type": "integer"
  16455. },
  16456. "enableqty": {
  16457. "description": "剩余数量",
  16458. "type": "integer"
  16459. },
  16460. "goodscode": {
  16461. "description": "商品代码(内部)",
  16462. "type": "string"
  16463. },
  16464. "goodsid": {
  16465. "description": "商品ID(自增ID SEQ_GOODS)",
  16466. "type": "integer"
  16467. },
  16468. "goodsname": {
  16469. "description": "商品名称",
  16470. "type": "string"
  16471. },
  16472. "goodsstatus": {
  16473. "description": "商品状态- 2:未上市 3:上市",
  16474. "type": "integer"
  16475. },
  16476. "lasttradedate": {
  16477. "description": "最后交易日期(状态:待退市)",
  16478. "type": "string"
  16479. },
  16480. "listingdate": {
  16481. "description": "交易开始日期",
  16482. "type": "string"
  16483. },
  16484. "marketid": {
  16485. "description": "所属市场ID",
  16486. "type": "integer"
  16487. },
  16488. "picurls": {
  16489. "description": "介绍图片[多张用逗号分隔]",
  16490. "type": "string"
  16491. },
  16492. "presaledqty": {
  16493. "description": "已预售量(预售结束时更新)",
  16494. "type": "integer"
  16495. },
  16496. "presaleqty": {
  16497. "description": "预售数量",
  16498. "type": "integer"
  16499. },
  16500. "quoteminunit": {
  16501. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16502. "type": "integer"
  16503. },
  16504. "refprice": {
  16505. "description": "参考价格[一口价]",
  16506. "type": "number"
  16507. },
  16508. "relatedgoodsid": {
  16509. "description": "关联交易合约ID",
  16510. "type": "integer"
  16511. },
  16512. "trademode": {
  16513. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16514. "type": "integer"
  16515. },
  16516. "videourls": {
  16517. "description": "介绍视频[多张用逗号分隔]",
  16518. "type": "string"
  16519. }
  16520. }
  16521. },
  16522. "models.HsbyPreGoodsDetail": {
  16523. "type": "object",
  16524. "required": [
  16525. "goodscode",
  16526. "goodsid",
  16527. "goodsname",
  16528. "marketid",
  16529. "trademode"
  16530. ],
  16531. "properties": {
  16532. "agreeunit": {
  16533. "description": "合约单位",
  16534. "type": "number"
  16535. },
  16536. "buymaxqty": {
  16537. "description": "购买上限 [71] - 0为不限",
  16538. "type": "integer"
  16539. },
  16540. "currency": {
  16541. "description": "货币",
  16542. "type": "string"
  16543. },
  16544. "currencysign": {
  16545. "description": "货币符号",
  16546. "type": "string"
  16547. },
  16548. "customername": {
  16549. "description": "发行单位",
  16550. "type": "string"
  16551. },
  16552. "decimalplace": {
  16553. "description": "报价小数位",
  16554. "type": "integer"
  16555. },
  16556. "desccityid": {
  16557. "description": "目的地(市)ID",
  16558. "type": "integer"
  16559. },
  16560. "descprovinceid": {
  16561. "description": "目的地(省)ID",
  16562. "type": "integer"
  16563. },
  16564. "enableqty": {
  16565. "description": "剩余数量",
  16566. "type": "integer"
  16567. },
  16568. "goodscode": {
  16569. "description": "商品代码(内部)",
  16570. "type": "string"
  16571. },
  16572. "goodsdesc": {
  16573. "description": "商品详情",
  16574. "type": "string"
  16575. },
  16576. "goodsid": {
  16577. "description": "商品ID(自增ID SEQ_GOODS)",
  16578. "type": "integer"
  16579. },
  16580. "goodsname": {
  16581. "description": "商品名称",
  16582. "type": "string"
  16583. },
  16584. "goodsstatus": {
  16585. "description": "商品状态- 2:未上市 3:上市",
  16586. "type": "integer"
  16587. },
  16588. "goodunit": {
  16589. "description": "报价单位",
  16590. "type": "string"
  16591. },
  16592. "lasttradedate": {
  16593. "description": "最后交易日期(状态:待退市)",
  16594. "type": "string"
  16595. },
  16596. "listingdate": {
  16597. "description": "交易开始日期",
  16598. "type": "string"
  16599. },
  16600. "lotsize": {
  16601. "description": "手数最小变动单位",
  16602. "type": "integer"
  16603. },
  16604. "marketid": {
  16605. "description": "所属市场ID",
  16606. "type": "integer"
  16607. },
  16608. "picurls": {
  16609. "description": "介绍图片[多张用逗号分隔]",
  16610. "type": "string"
  16611. },
  16612. "presaledqty": {
  16613. "description": "已预售量(预售结束时更新)",
  16614. "type": "integer"
  16615. },
  16616. "presaleqty": {
  16617. "description": "预售数量",
  16618. "type": "integer"
  16619. },
  16620. "quoteminunit": {
  16621. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16622. "type": "integer"
  16623. },
  16624. "refprice": {
  16625. "description": "参考价格[一口价]",
  16626. "type": "number"
  16627. },
  16628. "relatedgoodsid": {
  16629. "description": "关联交易合约ID",
  16630. "type": "integer"
  16631. },
  16632. "stepvalue": {
  16633. "description": "价格最小变动单位",
  16634. "type": "number"
  16635. },
  16636. "trademode": {
  16637. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16638. "type": "integer"
  16639. },
  16640. "vendorattr": {
  16641. "description": "供应商附件(多张,逗号分隔)",
  16642. "type": "string"
  16643. },
  16644. "vendorname": {
  16645. "description": "供应商名称",
  16646. "type": "string"
  16647. },
  16648. "vendorphone": {
  16649. "description": "供应商客服电话",
  16650. "type": "string"
  16651. },
  16652. "videourls": {
  16653. "description": "介绍视频[多张用逗号分隔]",
  16654. "type": "string"
  16655. }
  16656. }
  16657. },
  16658. "models.HsbySellCollectionOrder": {
  16659. "type": "object",
  16660. "required": [
  16661. "goodscode",
  16662. "goodsname",
  16663. "tradeid",
  16664. "trademode"
  16665. ],
  16666. "properties": {
  16667. "agreeunit": {
  16668. "description": "合约单位",
  16669. "type": "number"
  16670. },
  16671. "buyaccountid": {
  16672. "description": "买方账号ID[报价币种]",
  16673. "type": "integer"
  16674. },
  16675. "buyorderid": {
  16676. "description": "买方委托单号",
  16677. "type": "string"
  16678. },
  16679. "createtime": {
  16680. "description": "创建时间",
  16681. "type": "string"
  16682. },
  16683. "currencysign": {
  16684. "description": "货币符号",
  16685. "type": "string"
  16686. },
  16687. "decimalplace": {
  16688. "description": "报价小数位",
  16689. "type": "integer"
  16690. },
  16691. "goodscode": {
  16692. "description": "商品代码(内部)",
  16693. "type": "string"
  16694. },
  16695. "goodsid": {
  16696. "description": "商品ID",
  16697. "type": "integer"
  16698. },
  16699. "goodsname": {
  16700. "description": "商品名称",
  16701. "type": "string"
  16702. },
  16703. "marketid": {
  16704. "description": "市场ID",
  16705. "type": "integer"
  16706. },
  16707. "offamount": {
  16708. "description": "优惠金额",
  16709. "type": "number"
  16710. },
  16711. "payamount": {
  16712. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  16713. "type": "number"
  16714. },
  16715. "payflag": {
  16716. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16717. "type": "integer"
  16718. },
  16719. "paylimitedtime": {
  16720. "description": "支付期限",
  16721. "type": "string"
  16722. },
  16723. "paytime": {
  16724. "description": "付款时间",
  16725. "type": "string"
  16726. },
  16727. "picurls": {
  16728. "description": "商品介绍图片[多张用逗号分隔]",
  16729. "type": "string"
  16730. },
  16731. "sellaccountid": {
  16732. "description": "卖方账号ID[报价币种]",
  16733. "type": "integer"
  16734. },
  16735. "sellorderid": {
  16736. "description": "卖方委托单号",
  16737. "type": "string"
  16738. },
  16739. "tradeamount": {
  16740. "description": "成交金额",
  16741. "type": "number"
  16742. },
  16743. "tradecharge": {
  16744. "description": "成交手续费(买方)",
  16745. "type": "number"
  16746. },
  16747. "tradedate": {
  16748. "description": "交易日(yyyyMMdd)",
  16749. "type": "string"
  16750. },
  16751. "tradeid": {
  16752. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16753. "type": "string"
  16754. },
  16755. "trademode": {
  16756. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16757. "type": "integer"
  16758. },
  16759. "tradeprice": {
  16760. "description": "成交价格",
  16761. "type": "number"
  16762. },
  16763. "tradeqty": {
  16764. "description": "成交数量",
  16765. "type": "integer"
  16766. }
  16767. }
  16768. },
  16769. "models.HsbySellMyDetail": {
  16770. "type": "object",
  16771. "required": [
  16772. "accountid",
  16773. "buyorsell",
  16774. "goodscode",
  16775. "goodsid",
  16776. "goodsname",
  16777. "marketid",
  16778. "orderid",
  16779. "time",
  16780. "trademode"
  16781. ],
  16782. "properties": {
  16783. "accountid": {
  16784. "description": "账户ID[报价币种]",
  16785. "type": "integer"
  16786. },
  16787. "agreeunit": {
  16788. "description": "合约单位",
  16789. "type": "number"
  16790. },
  16791. "buyorsell": {
  16792. "description": "买卖 - 0:买 1:卖",
  16793. "type": "integer"
  16794. },
  16795. "currencysign": {
  16796. "description": "货币符号",
  16797. "type": "string"
  16798. },
  16799. "decimalplace": {
  16800. "description": "报价小数位",
  16801. "type": "integer"
  16802. },
  16803. "goodscode": {
  16804. "description": "商品代码(内部)",
  16805. "type": "string"
  16806. },
  16807. "goodsid": {
  16808. "description": "商品ID",
  16809. "type": "integer"
  16810. },
  16811. "goodsname": {
  16812. "description": "商品名称",
  16813. "type": "string"
  16814. },
  16815. "marketid": {
  16816. "description": "市场ID",
  16817. "type": "integer"
  16818. },
  16819. "orderid": {
  16820. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  16821. "type": "string"
  16822. },
  16823. "ordertype": {
  16824. "description": "单据类型:0 - 发布中, 1 - 已完成",
  16825. "type": "integer"
  16826. },
  16827. "picurls": {
  16828. "description": "介绍图片[多张用逗号分隔]",
  16829. "type": "string"
  16830. },
  16831. "price": {
  16832. "description": "价格",
  16833. "type": "number"
  16834. },
  16835. "qty": {
  16836. "description": "数量",
  16837. "type": "integer"
  16838. },
  16839. "time": {
  16840. "description": "时间",
  16841. "type": "string"
  16842. },
  16843. "trademode": {
  16844. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16845. "type": "integer"
  16846. },
  16847. "vendorname": {
  16848. "description": "供应商名称",
  16849. "type": "string"
  16850. }
  16851. }
  16852. },
  16853. "models.HsbyTopGoods": {
  16854. "type": "object",
  16855. "required": [
  16856. "goodscode",
  16857. "goodsid",
  16858. "goodsname",
  16859. "marketid",
  16860. "trademode"
  16861. ],
  16862. "properties": {
  16863. "agreeunit": {
  16864. "description": "合约单位",
  16865. "type": "number"
  16866. },
  16867. "currency": {
  16868. "description": "货币",
  16869. "type": "string"
  16870. },
  16871. "currencysign": {
  16872. "description": "货币符号",
  16873. "type": "string"
  16874. },
  16875. "decimalplace": {
  16876. "description": "报价小数位",
  16877. "type": "integer"
  16878. },
  16879. "desccityid": {
  16880. "description": "目的地(市)",
  16881. "type": "integer"
  16882. },
  16883. "descprovinceid": {
  16884. "description": "目的地(省)",
  16885. "type": "integer"
  16886. },
  16887. "goodscode": {
  16888. "description": "商品代码(内部)",
  16889. "type": "string"
  16890. },
  16891. "goodsid": {
  16892. "description": "商品ID(自增ID SEQ_GOODS)",
  16893. "type": "integer"
  16894. },
  16895. "goodsname": {
  16896. "description": "商品名称",
  16897. "type": "string"
  16898. },
  16899. "hotindex": {
  16900. "description": "景点热度",
  16901. "type": "integer"
  16902. },
  16903. "last": {
  16904. "description": "现价",
  16905. "type": "number"
  16906. },
  16907. "marketid": {
  16908. "description": "所属市场ID",
  16909. "type": "integer"
  16910. },
  16911. "picurls": {
  16912. "description": "介绍图片[多张用逗号分隔]",
  16913. "type": "string"
  16914. },
  16915. "quoteminunit": {
  16916. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16917. "type": "integer"
  16918. },
  16919. "trademode": {
  16920. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16921. "type": "integer"
  16922. },
  16923. "videourls": {
  16924. "description": "介绍视频[多张用逗号分隔]",
  16925. "type": "string"
  16926. }
  16927. }
  16928. },
  16929. "models.HybsMyBuyOrderDetail": {
  16930. "type": "object",
  16931. "required": [
  16932. "accountid",
  16933. "buyorsell",
  16934. "goodscode",
  16935. "goodsid",
  16936. "goodsname",
  16937. "marketid",
  16938. "orderid",
  16939. "orderqty",
  16940. "ordertime",
  16941. "trademode"
  16942. ],
  16943. "properties": {
  16944. "accountid": {
  16945. "description": "账户ID[报价币种]",
  16946. "type": "integer"
  16947. },
  16948. "agreeunit": {
  16949. "description": "合约单位",
  16950. "type": "number"
  16951. },
  16952. "buyorsell": {
  16953. "description": "买卖 - 0:买 1:卖",
  16954. "type": "integer"
  16955. },
  16956. "cancelqty": {
  16957. "description": "撤单数量",
  16958. "type": "integer"
  16959. },
  16960. "currencysign": {
  16961. "description": "货币符号",
  16962. "type": "string"
  16963. },
  16964. "decimalplace": {
  16965. "description": "报价小数位",
  16966. "type": "integer"
  16967. },
  16968. "goodscode": {
  16969. "description": "商品代码(内部)",
  16970. "type": "string"
  16971. },
  16972. "goodsid": {
  16973. "description": "商品ID",
  16974. "type": "integer"
  16975. },
  16976. "goodsname": {
  16977. "description": "商品名称",
  16978. "type": "string"
  16979. },
  16980. "listingselecttype": {
  16981. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16982. "type": "integer"
  16983. },
  16984. "marketid": {
  16985. "description": "市场ID",
  16986. "type": "integer"
  16987. },
  16988. "mybuystatus": {
  16989. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  16990. "type": "integer"
  16991. },
  16992. "orderamount": {
  16993. "description": "委托金额",
  16994. "type": "number"
  16995. },
  16996. "orderid": {
  16997. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16998. "type": "string"
  16999. },
  17000. "orderprice": {
  17001. "description": "委托价格",
  17002. "type": "number"
  17003. },
  17004. "orderqty": {
  17005. "description": "委托数量",
  17006. "type": "integer"
  17007. },
  17008. "orderstatus": {
  17009. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17010. "type": "integer"
  17011. },
  17012. "ordertime": {
  17013. "description": "委托时间",
  17014. "type": "string"
  17015. },
  17016. "picurls1": {
  17017. "description": "预售商品介绍图片[多张用逗号分隔]",
  17018. "type": "string"
  17019. },
  17020. "picurls2": {
  17021. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17022. "type": "string"
  17023. },
  17024. "trademode": {
  17025. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17026. "type": "integer"
  17027. },
  17028. "tradeqty": {
  17029. "description": "成交数量",
  17030. "type": "integer"
  17031. },
  17032. "vendorname1": {
  17033. "description": "预售商品供应商名称",
  17034. "type": "string"
  17035. },
  17036. "vendorname2": {
  17037. "description": "挂牌商品供应商名称",
  17038. "type": "string"
  17039. }
  17040. }
  17041. },
  17042. "models.Loginaccount": {
  17043. "type": "object",
  17044. "required": [
  17045. "loginid"
  17046. ],
  17047. "properties": {
  17048. "canoutin": {
  17049. "description": "是否可出入金 - 0:不可 1:可",
  17050. "type": "integer"
  17051. },
  17052. "clientroleid": {
  17053. "description": "终端角色ID",
  17054. "type": "integer"
  17055. },
  17056. "haslogined": {
  17057. "description": "是否已登录 - 0:未登录 1:已登录",
  17058. "type": "integer"
  17059. },
  17060. "hasupdatedpwd": {
  17061. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17062. "type": "integer"
  17063. },
  17064. "lastloginip": {
  17065. "description": "最新登录地址",
  17066. "type": "string"
  17067. },
  17068. "lastloginmode": {
  17069. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17070. "type": "integer"
  17071. },
  17072. "lastloginremark": {
  17073. "description": "最新登录描述",
  17074. "type": "string"
  17075. },
  17076. "lastlogintime": {
  17077. "description": "最新登录时间",
  17078. "type": "string"
  17079. },
  17080. "logincode": {
  17081. "description": "登录代码",
  17082. "type": "string"
  17083. },
  17084. "loginfailnum": {
  17085. "description": "连续登录失败次数(登录成功时清零)",
  17086. "type": "integer"
  17087. },
  17088. "loginid": {
  17089. "description": "登陆账号",
  17090. "type": "integer"
  17091. },
  17092. "loginport": {
  17093. "description": "最新登录端口",
  17094. "type": "integer"
  17095. },
  17096. "loginstatus": {
  17097. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  17098. "type": "integer"
  17099. },
  17100. "loginusertype": {
  17101. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  17102. "type": "integer"
  17103. },
  17104. "modifierid": {
  17105. "description": "修改人",
  17106. "type": "integer"
  17107. },
  17108. "modifytime": {
  17109. "description": "修改时间",
  17110. "type": "string"
  17111. },
  17112. "pwdwrongcount": {
  17113. "description": "密码错误次数",
  17114. "type": "integer"
  17115. },
  17116. "taaccountrighttype": {
  17117. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  17118. "type": "integer"
  17119. },
  17120. "unfreezetime": {
  17121. "description": "账户解冻时间",
  17122. "type": "string"
  17123. },
  17124. "userid": {
  17125. "description": "用户ID",
  17126. "type": "integer"
  17127. }
  17128. }
  17129. },
  17130. "models.MainAccountInfo": {
  17131. "type": "object",
  17132. "properties": {
  17133. "accountid": {
  17134. "description": "账号id",
  17135. "type": "string"
  17136. },
  17137. "appid": {
  17138. "description": "AppID",
  17139. "type": "string"
  17140. },
  17141. "authcode": {
  17142. "description": "授权码",
  17143. "type": "string"
  17144. },
  17145. "brokerid": {
  17146. "description": "经纪商id",
  17147. "type": "string"
  17148. },
  17149. "fcid": {
  17150. "description": "期货公司id",
  17151. "type": "integer"
  17152. },
  17153. "fcname": {
  17154. "description": "期货公司代码",
  17155. "type": "string"
  17156. },
  17157. "hedgeaccountcode": {
  17158. "description": "外部账号代码",
  17159. "type": "string"
  17160. },
  17161. "hedgeaccountpwd": {
  17162. "description": "密码",
  17163. "type": "string"
  17164. },
  17165. "ismain": {
  17166. "description": "是否主账号",
  17167. "type": "integer"
  17168. },
  17169. "relateduserid": {
  17170. "description": "关联用户id",
  17171. "type": "integer"
  17172. }
  17173. }
  17174. },
  17175. "models.Market": {
  17176. "type": "object",
  17177. "required": [
  17178. "marketid",
  17179. "marketstatus",
  17180. "openmethod",
  17181. "reckonpricealgorithm",
  17182. "trademode",
  17183. "tradeproperty"
  17184. ],
  17185. "properties": {
  17186. "auctionwrtype": {
  17187. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  17188. "type": "integer"
  17189. },
  17190. "canacceptquote": {
  17191. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  17192. "type": "integer"
  17193. },
  17194. "cangoodsexercise": {
  17195. "description": "[期权]是否可现货行权- 0:否 1:是",
  17196. "type": "integer"
  17197. },
  17198. "cangoodsexercisetype": {
  17199. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  17200. "type": "integer"
  17201. },
  17202. "canmanualquotestrike": {
  17203. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  17204. "type": "integer"
  17205. },
  17206. "canmutistage": {
  17207. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  17208. "type": "integer"
  17209. },
  17210. "canpreexercise": {
  17211. "description": "[期权]是否可预申报- 0:否 1:是",
  17212. "type": "integer"
  17213. },
  17214. "clearinterval": {
  17215. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  17216. "type": "integer"
  17217. },
  17218. "contracttmp": {
  17219. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  17220. "type": "string"
  17221. },
  17222. "exchareaid": {
  17223. "description": "所属交易所,可以没有",
  17224. "type": "integer"
  17225. },
  17226. "goodstype": {
  17227. "description": "商品类型 - 1:交易商品 2:仓单商品",
  17228. "type": "integer"
  17229. },
  17230. "hasrebate": {
  17231. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  17232. "type": "integer"
  17233. },
  17234. "hastradecredit": {
  17235. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  17236. "type": "integer"
  17237. },
  17238. "haswr": {
  17239. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  17240. "type": "integer"
  17241. },
  17242. "isdeductmargin": {
  17243. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  17244. "type": "integer"
  17245. },
  17246. "isrecordsource": {
  17247. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  17248. "type": "integer"
  17249. },
  17250. "isreleasemargin": {
  17251. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  17252. "type": "integer"
  17253. },
  17254. "marginformula": {
  17255. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17256. "type": "integer"
  17257. },
  17258. "marginformula2": {
  17259. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17260. "type": "integer"
  17261. },
  17262. "marketid": {
  17263. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17264. "type": "integer"
  17265. },
  17266. "marketname": {
  17267. "description": "市场名称",
  17268. "type": "string"
  17269. },
  17270. "marketserviceid": {
  17271. "description": "市场服务ID",
  17272. "type": "integer"
  17273. },
  17274. "marketstatus": {
  17275. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17276. "type": "integer"
  17277. },
  17278. "markettype": {
  17279. "description": "市场类型- 1:非交易服务 2:交易服务",
  17280. "type": "integer"
  17281. },
  17282. "matchermode": {
  17283. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  17284. "type": "integer"
  17285. },
  17286. "openmethod": {
  17287. "description": "开盘模式 - 0 自动 1手动",
  17288. "type": "integer"
  17289. },
  17290. "otcuserid": {
  17291. "description": "场外期权做市商[场外期权]",
  17292. "type": "integer"
  17293. },
  17294. "outersynctime": {
  17295. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  17296. "type": "string"
  17297. },
  17298. "pendingflag": {
  17299. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  17300. "type": "integer"
  17301. },
  17302. "pendingtime": {
  17303. "description": "待开市时间[通道交易-对冲](HH:mm)",
  17304. "type": "string"
  17305. },
  17306. "performancetempid": {
  17307. "description": "履约计划模板ID - 作废",
  17308. "type": "integer"
  17309. },
  17310. "premiumquotemode": {
  17311. "description": "权利金报价方式 - 1:自动 2:手动",
  17312. "type": "integer"
  17313. },
  17314. "rebateratio": {
  17315. "description": "返利比率[竞价式]",
  17316. "type": "number"
  17317. },
  17318. "reckonorder": {
  17319. "description": "结算顺序",
  17320. "type": "integer"
  17321. },
  17322. "reckonpricealgorithm": {
  17323. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  17324. "type": "integer"
  17325. },
  17326. "reckonpriceparam": {
  17327. "description": "结算价参数",
  17328. "type": "integer"
  17329. },
  17330. "reckontime": {
  17331. "description": "结算时间[通道交易-对冲](HH:mm)",
  17332. "type": "string"
  17333. },
  17334. "roleprioritytype": {
  17335. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  17336. "type": "integer"
  17337. },
  17338. "selllistingauditflag": {
  17339. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  17340. "type": "integer"
  17341. },
  17342. "trademarkettype": {
  17343. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  17344. "type": "integer"
  17345. },
  17346. "trademode": {
  17347. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17348. "type": "integer"
  17349. },
  17350. "tradeproperty": {
  17351. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  17352. "type": "integer"
  17353. },
  17354. "tradetype": {
  17355. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  17356. "type": "integer"
  17357. }
  17358. }
  17359. },
  17360. "models.Marketrun": {
  17361. "type": "object",
  17362. "required": [
  17363. "marketid",
  17364. "nexttradedate",
  17365. "reckonflag",
  17366. "runstatus",
  17367. "tradedate",
  17368. "tradedate2"
  17369. ],
  17370. "properties": {
  17371. "afternexttradedate": {
  17372. "description": "下下交易日",
  17373. "type": "string"
  17374. },
  17375. "clearquoteflag": {
  17376. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  17377. "type": "integer"
  17378. },
  17379. "lastreckondate": {
  17380. "description": "最新交易日(结算成功)",
  17381. "type": "string"
  17382. },
  17383. "machinedate": {
  17384. "description": "机器时间",
  17385. "type": "string"
  17386. },
  17387. "manualflag": {
  17388. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  17389. "type": "integer"
  17390. },
  17391. "marketid": {
  17392. "description": "市场ID",
  17393. "type": "integer"
  17394. },
  17395. "nexttradedate": {
  17396. "description": "下一交易日",
  17397. "type": "string"
  17398. },
  17399. "pretradedate": {
  17400. "description": "上一交易日",
  17401. "type": "string"
  17402. },
  17403. "reckonflag": {
  17404. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  17405. "type": "integer"
  17406. },
  17407. "runstatus": {
  17408. "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.今日免清算",
  17409. "type": "integer"
  17410. },
  17411. "sectionid": {
  17412. "description": "时间段号[多时段时用]",
  17413. "type": "integer"
  17414. },
  17415. "tradedate": {
  17416. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  17417. "type": "string"
  17418. },
  17419. "tradedate2": {
  17420. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  17421. "type": "string"
  17422. },
  17423. "updatetime": {
  17424. "description": "更新时间",
  17425. "type": "string"
  17426. }
  17427. }
  17428. },
  17429. "models.Messageboard": {
  17430. "type": "object",
  17431. "required": [
  17432. "messageboardid"
  17433. ],
  17434. "properties": {
  17435. "contactnum": {
  17436. "description": "联系电话",
  17437. "type": "string"
  17438. },
  17439. "createtime": {
  17440. "description": "创建时间",
  17441. "type": "string"
  17442. },
  17443. "message": {
  17444. "description": "留言信息",
  17445. "type": "string"
  17446. },
  17447. "messageboardid": {
  17448. "description": "留言簿ID(SEQ_MessageBoard)",
  17449. "type": "integer"
  17450. },
  17451. "userid": {
  17452. "description": "用户ID",
  17453. "type": "integer"
  17454. }
  17455. }
  17456. },
  17457. "models.MyCoupon": {
  17458. "type": "object",
  17459. "required": [
  17460. "accountid",
  17461. "coupontypeid"
  17462. ],
  17463. "properties": {
  17464. "accountid": {
  17465. "description": "资金账户ID",
  17466. "type": "integer"
  17467. },
  17468. "areauserid": {
  17469. "description": "所属机构",
  17470. "type": "integer"
  17471. },
  17472. "conditionvalue": {
  17473. "description": "条件阈值(可为0)",
  17474. "type": "number"
  17475. },
  17476. "couponcategroy": {
  17477. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  17478. "type": "integer"
  17479. },
  17480. "couponname": {
  17481. "description": "优惠券名称",
  17482. "type": "string"
  17483. },
  17484. "coupontypeid": {
  17485. "description": "优惠券类型ID",
  17486. "type": "string"
  17487. },
  17488. "couponvalue": {
  17489. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17490. "type": "number"
  17491. },
  17492. "curfreezeqty": {
  17493. "description": "期末冻结数量",
  17494. "type": "integer"
  17495. },
  17496. "curqty": {
  17497. "description": "期末数量",
  17498. "type": "integer"
  17499. },
  17500. "isgeneral": {
  17501. "description": "是否通用券 - 0:否 1:是",
  17502. "type": "integer"
  17503. },
  17504. "isunusable": {
  17505. "description": "是否不可用",
  17506. "type": "boolean"
  17507. },
  17508. "limitedflag": {
  17509. "description": "是否指定商品 - 0:不限 1:限制",
  17510. "type": "integer"
  17511. },
  17512. "limitedgoodsids": {
  17513. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  17514. "type": "string"
  17515. },
  17516. "orifreezeqty": {
  17517. "description": "期初冻结数量",
  17518. "type": "integer"
  17519. },
  17520. "oriqty": {
  17521. "description": "期初数量",
  17522. "type": "integer"
  17523. },
  17524. "reasontype": {
  17525. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  17526. "type": "integer"
  17527. },
  17528. "todaydecrease": {
  17529. "description": "今日减少",
  17530. "type": "integer"
  17531. },
  17532. "todayincrease": {
  17533. "description": "今日增加",
  17534. "type": "integer"
  17535. },
  17536. "userid": {
  17537. "description": "用户ID",
  17538. "type": "integer"
  17539. },
  17540. "userscope": {
  17541. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  17542. "type": "string"
  17543. }
  17544. }
  17545. },
  17546. "models.MyCouponHold": {
  17547. "type": "object",
  17548. "required": [
  17549. "couponholdid"
  17550. ],
  17551. "properties": {
  17552. "accountid": {
  17553. "description": "资金账户ID",
  17554. "type": "integer"
  17555. },
  17556. "conditionvalue": {
  17557. "description": "条件阈值(可为0)",
  17558. "type": "number"
  17559. },
  17560. "couponcategroy": {
  17561. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  17562. "type": "integer"
  17563. },
  17564. "couponholdid": {
  17565. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  17566. "type": "string"
  17567. },
  17568. "couponname": {
  17569. "description": "优惠券名称",
  17570. "type": "string"
  17571. },
  17572. "coupontypeid": {
  17573. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  17574. "type": "string"
  17575. },
  17576. "couponvalue": {
  17577. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17578. "type": "number"
  17579. },
  17580. "createtime": {
  17581. "description": "创建时间",
  17582. "type": "string"
  17583. },
  17584. "enddate": {
  17585. "description": "结束日期",
  17586. "type": "string"
  17587. },
  17588. "giveapplyid": {
  17589. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  17590. "type": "integer"
  17591. },
  17592. "holdstatus": {
  17593. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  17594. "type": "integer"
  17595. },
  17596. "isgeneral": {
  17597. "description": "是否通用券 - 0:否 1:是",
  17598. "type": "integer"
  17599. },
  17600. "limitedflag": {
  17601. "description": "是否指定商品 - 0:不限 1:限制",
  17602. "type": "integer"
  17603. },
  17604. "limitedgoodsids": {
  17605. "description": "指定商品IDs[逗号分隔]",
  17606. "type": "string"
  17607. },
  17608. "qty": {
  17609. "description": "数量(按1平铺)",
  17610. "type": "integer"
  17611. },
  17612. "startdate": {
  17613. "description": "开始日期",
  17614. "type": "string"
  17615. },
  17616. "userid": {
  17617. "description": "用户ID",
  17618. "type": "integer"
  17619. },
  17620. "userscope": {
  17621. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  17622. "type": "string"
  17623. }
  17624. }
  17625. },
  17626. "models.MyUsedCoupon": {
  17627. "type": "object",
  17628. "required": [
  17629. "coupontypeid",
  17630. "orderid"
  17631. ],
  17632. "properties": {
  17633. "accountid": {
  17634. "description": "资金账户ID(买方)",
  17635. "type": "integer"
  17636. },
  17637. "conditionvalue": {
  17638. "description": "条件阈值(可为0)",
  17639. "type": "number"
  17640. },
  17641. "couponcategroy": {
  17642. "description": "种类 - 1:现金券 2:折扣券",
  17643. "type": "integer"
  17644. },
  17645. "couponname": {
  17646. "description": "优惠券名称",
  17647. "type": "string"
  17648. },
  17649. "coupontypeid": {
  17650. "description": "优惠券类型ID(买方)",
  17651. "type": "string"
  17652. },
  17653. "couponvalue": {
  17654. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  17655. "type": "number"
  17656. },
  17657. "createtime": {
  17658. "description": "创建时间",
  17659. "type": "string"
  17660. },
  17661. "goodsid": {
  17662. "description": "商品ID",
  17663. "type": "integer"
  17664. },
  17665. "handlestatus": {
  17666. "description": "处理状态",
  17667. "type": "integer"
  17668. },
  17669. "marketid": {
  17670. "description": "市场ID",
  17671. "type": "integer"
  17672. },
  17673. "offamount": {
  17674. "description": "优惠金额",
  17675. "type": "number"
  17676. },
  17677. "orderid": {
  17678. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17679. "type": "string"
  17680. },
  17681. "sellaccountid": {
  17682. "description": "资金账户ID(卖方)",
  17683. "type": "integer"
  17684. },
  17685. "tradeamount": {
  17686. "description": "成交金额",
  17687. "type": "number"
  17688. },
  17689. "tradeid": {
  17690. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17691. "type": "string"
  17692. },
  17693. "usedqty": {
  17694. "description": "使用数量",
  17695. "type": "integer"
  17696. }
  17697. }
  17698. },
  17699. "models.OperationPrimaryMenu": {
  17700. "type": "object",
  17701. "properties": {
  17702. "Children": {
  17703. "description": "二级功能菜单",
  17704. "type": "array",
  17705. "items": {
  17706. "$ref": "#/definitions/models.OperationSecondaryMenu"
  17707. }
  17708. },
  17709. "Key": {
  17710. "description": "菜单KEY",
  17711. "type": "string"
  17712. },
  17713. "Label": {
  17714. "description": "菜单标题",
  17715. "type": "string"
  17716. }
  17717. }
  17718. },
  17719. "models.OperationSecondaryMenu": {
  17720. "type": "object",
  17721. "properties": {
  17722. "Key": {
  17723. "description": "菜单KEY",
  17724. "type": "string"
  17725. },
  17726. "Label": {
  17727. "description": "菜单标题",
  17728. "type": "string"
  17729. },
  17730. "TabList": {
  17731. "description": "三级功能菜单",
  17732. "type": "array",
  17733. "items": {
  17734. "$ref": "#/definitions/models.OperationTabMenu"
  17735. }
  17736. }
  17737. }
  17738. },
  17739. "models.OperationTabMenu": {
  17740. "type": "object",
  17741. "properties": {
  17742. "Key": {
  17743. "description": "菜单KEY",
  17744. "type": "string"
  17745. },
  17746. "Label": {
  17747. "description": "菜单标题",
  17748. "type": "string"
  17749. }
  17750. }
  17751. },
  17752. "models.PendingAuditBizModel": {
  17753. "type": "object",
  17754. "properties": {
  17755. "accountid": {
  17756. "description": "现货账户",
  17757. "type": "string"
  17758. },
  17759. "areaname": {
  17760. "description": "所属部门",
  17761. "type": "string"
  17762. },
  17763. "bizid": {
  17764. "description": "业务ID",
  17765. "type": "string"
  17766. },
  17767. "bizname": {
  17768. "description": "业务名称",
  17769. "type": "string"
  17770. },
  17771. "status": {
  17772. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17773. "type": "integer"
  17774. },
  17775. "type": {
  17776. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17777. "type": "integer"
  17778. }
  17779. }
  17780. },
  17781. "models.QueryErrorInfosRsp": {
  17782. "type": "object",
  17783. "required": [
  17784. "errorid"
  17785. ],
  17786. "properties": {
  17787. "description": {
  17788. "description": "异常描述",
  17789. "type": "string"
  17790. },
  17791. "errorcode": {
  17792. "description": "异常代码",
  17793. "type": "string"
  17794. },
  17795. "errorid": {
  17796. "description": "异常ID",
  17797. "type": "integer"
  17798. },
  17799. "modulecode": {
  17800. "description": "所属模块",
  17801. "type": "string"
  17802. },
  17803. "operatecode": {
  17804. "description": "所属操作",
  17805. "type": "string"
  17806. },
  17807. "rownumber": {
  17808. "description": "行号",
  17809. "type": "string"
  17810. }
  17811. }
  17812. },
  17813. "models.QueryHedgeOrderDetailRsp": {
  17814. "type": "object",
  17815. "properties": {
  17816. "accountid": {
  17817. "description": "账户ID",
  17818. "type": "integer"
  17819. },
  17820. "buyorsell": {
  17821. "description": "买卖 - 0:买 1:卖",
  17822. "type": "integer"
  17823. },
  17824. "cancellogincode": {
  17825. "description": "撤单人",
  17826. "type": "string"
  17827. },
  17828. "channelbuildtype": {
  17829. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  17830. "type": "integer"
  17831. },
  17832. "channelinnerorderstatus": {
  17833. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  17834. "type": "integer"
  17835. },
  17836. "channeloperatetype": {
  17837. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  17838. "type": "integer"
  17839. },
  17840. "closetype": {
  17841. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17842. "type": "integer"
  17843. },
  17844. "curexchangerate": {
  17845. "description": "当前汇率",
  17846. "type": "number"
  17847. },
  17848. "exchangefullname": {
  17849. "description": "外部交易所全称",
  17850. "type": "string"
  17851. },
  17852. "goodscode": {
  17853. "description": "商品代码(内部)",
  17854. "type": "string"
  17855. },
  17856. "goodsid": {
  17857. "description": "商品ID",
  17858. "type": "integer"
  17859. },
  17860. "goodsname": {
  17861. "description": "商品名称",
  17862. "type": "string"
  17863. },
  17864. "marketid": {
  17865. "description": "市场ID",
  17866. "type": "integer"
  17867. },
  17868. "openfreezemargin": {
  17869. "description": "冻结保证金(冻结交易金额)",
  17870. "type": "number"
  17871. },
  17872. "orderid": {
  17873. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17874. "type": "string"
  17875. },
  17876. "orderlogincode": {
  17877. "description": "委托人",
  17878. "type": "string"
  17879. },
  17880. "orderprice": {
  17881. "description": "委托价格(账户)",
  17882. "type": "number"
  17883. },
  17884. "orderqty": {
  17885. "description": "委托数量",
  17886. "type": "integer"
  17887. },
  17888. "ordertime": {
  17889. "description": "委托时间",
  17890. "type": "string"
  17891. },
  17892. "pricemode": {
  17893. "description": "取价方式 - 1:市价 2: 限价",
  17894. "type": "integer"
  17895. },
  17896. "tradedate": {
  17897. "description": "交易日(yyyyMMdd)",
  17898. "type": "string"
  17899. },
  17900. "tradeqty": {
  17901. "description": "成交数量",
  17902. "type": "integer"
  17903. }
  17904. }
  17905. },
  17906. "models.QueryHedgeTradeDetailRsp": {
  17907. "type": "object",
  17908. "properties": {
  17909. "accountid": {
  17910. "description": "账号ID",
  17911. "type": "integer"
  17912. },
  17913. "buyorsell": {
  17914. "description": "方向 - 0:买 1:卖",
  17915. "type": "integer"
  17916. },
  17917. "channelbuildtype": {
  17918. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17919. "type": "integer"
  17920. },
  17921. "closecharge": {
  17922. "description": "平仓手续费(账户)",
  17923. "type": "number"
  17924. },
  17925. "closecharge2": {
  17926. "description": "平仓手续费(商品)",
  17927. "type": "number"
  17928. },
  17929. "closepl": {
  17930. "description": "平仓盈亏(账户)",
  17931. "type": "number"
  17932. },
  17933. "closepl2": {
  17934. "description": "平仓盈亏(商品)",
  17935. "type": "number"
  17936. },
  17937. "closepl3": {
  17938. "description": "平仓盈亏(账户)(逐笔)",
  17939. "type": "number"
  17940. },
  17941. "closepl4": {
  17942. "description": "平仓盈亏(商品)(逐笔)",
  17943. "type": "number"
  17944. },
  17945. "closetype": {
  17946. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17947. "type": "integer"
  17948. },
  17949. "curexchangerate": {
  17950. "description": "当前汇率",
  17951. "type": "number"
  17952. },
  17953. "exchangefullname": {
  17954. "description": "外部交易所全称",
  17955. "type": "string"
  17956. },
  17957. "goodscode": {
  17958. "description": "商品代码(内部)",
  17959. "type": "string"
  17960. },
  17961. "goodsid": {
  17962. "description": "商品ID",
  17963. "type": "integer"
  17964. },
  17965. "goodsname": {
  17966. "description": "商品名称",
  17967. "type": "string"
  17968. },
  17969. "marketid": {
  17970. "description": "市场ID",
  17971. "type": "integer"
  17972. },
  17973. "opencharge": {
  17974. "description": "建仓手续费(账户)",
  17975. "type": "number"
  17976. },
  17977. "opencharge2": {
  17978. "description": "建仓手续费(商品)",
  17979. "type": "number"
  17980. },
  17981. "orderid": {
  17982. "description": "委托单号",
  17983. "type": "string"
  17984. },
  17985. "orderlogincode": {
  17986. "description": "委托人",
  17987. "type": "string"
  17988. },
  17989. "tradeamount": {
  17990. "description": "成交金额(账户)",
  17991. "type": "number"
  17992. },
  17993. "tradedate": {
  17994. "description": "交易日(yyyyMMdd)",
  17995. "type": "string"
  17996. },
  17997. "tradeid": {
  17998. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17999. "type": "string"
  18000. },
  18001. "tradeprice": {
  18002. "description": "成交价格",
  18003. "type": "number"
  18004. },
  18005. "tradeqty": {
  18006. "description": "成交数量",
  18007. "type": "integer"
  18008. },
  18009. "tradetime": {
  18010. "description": "成交时间",
  18011. "type": "string"
  18012. },
  18013. "tradetype": {
  18014. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18015. "type": "integer"
  18016. }
  18017. }
  18018. },
  18019. "models.QuotePrimaryMenu": {
  18020. "type": "object",
  18021. "properties": {
  18022. "Index": {
  18023. "description": "序号",
  18024. "type": "integer"
  18025. },
  18026. "Key": {
  18027. "description": "键名",
  18028. "type": "string"
  18029. },
  18030. "Name": {
  18031. "description": "菜单名称",
  18032. "type": "string"
  18033. },
  18034. "SubMenus": {
  18035. "description": "子菜单",
  18036. "type": "array",
  18037. "items": {
  18038. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18039. }
  18040. },
  18041. "SubTitleType": {
  18042. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18043. "type": "integer"
  18044. },
  18045. "TradeModes": {
  18046. "description": "包含市场交易类型",
  18047. "type": "string"
  18048. }
  18049. }
  18050. },
  18051. "models.QuoteSecondaryMenu": {
  18052. "type": "object",
  18053. "properties": {
  18054. "ExExchangeCode": {
  18055. "description": "外部交易所代码",
  18056. "type": "string"
  18057. },
  18058. "ExExchangeID": {
  18059. "description": "外部交易所ID",
  18060. "type": "integer"
  18061. },
  18062. "GoodsGroupIDs": {
  18063. "description": "商品组ID列表",
  18064. "type": "array",
  18065. "items": {
  18066. "type": "integer"
  18067. }
  18068. },
  18069. "Index": {
  18070. "description": "序号",
  18071. "type": "integer"
  18072. },
  18073. "MarketID": {
  18074. "description": "市场ID",
  18075. "type": "integer"
  18076. },
  18077. "MenuTitle": {
  18078. "description": "菜单标题(市场名称或外部交易所名称)",
  18079. "type": "string"
  18080. },
  18081. "TradeMode": {
  18082. "description": "交易模式",
  18083. "type": "integer"
  18084. }
  18085. }
  18086. },
  18087. "models.RelatedGoodsEx": {
  18088. "type": "object",
  18089. "properties": {
  18090. "goodscode": {
  18091. "description": "商品代码",
  18092. "type": "string"
  18093. },
  18094. "goodsid": {
  18095. "description": "商品id",
  18096. "type": "integer"
  18097. },
  18098. "goodsname": {
  18099. "description": "商品名称",
  18100. "type": "string"
  18101. }
  18102. }
  18103. },
  18104. "models.SearchGoods": {
  18105. "type": "object",
  18106. "required": [
  18107. "goodscode",
  18108. "goodsid",
  18109. "goodsname",
  18110. "marketid",
  18111. "trademode"
  18112. ],
  18113. "properties": {
  18114. "goodscode": {
  18115. "description": "商品代码(内部)",
  18116. "type": "string"
  18117. },
  18118. "goodsid": {
  18119. "description": "商品ID(自增ID SEQ_GOODS)",
  18120. "type": "integer"
  18121. },
  18122. "goodsname": {
  18123. "description": "商品名称",
  18124. "type": "string"
  18125. },
  18126. "marketid": {
  18127. "description": "所属市场ID",
  18128. "type": "integer"
  18129. },
  18130. "marketname": {
  18131. "description": "市场名称",
  18132. "type": "string"
  18133. },
  18134. "trademode": {
  18135. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18136. "type": "integer"
  18137. }
  18138. }
  18139. },
  18140. "models.Systemparam": {
  18141. "type": "object",
  18142. "required": [
  18143. "paramcode"
  18144. ],
  18145. "properties": {
  18146. "loginid": {
  18147. "description": "更新用户账号,登录账号",
  18148. "type": "string"
  18149. },
  18150. "modifyflag": {
  18151. "description": "修改标志0 不允许修改 1 允许修改",
  18152. "type": "integer"
  18153. },
  18154. "paramcode": {
  18155. "description": "参数代码",
  18156. "type": "string"
  18157. },
  18158. "paramname": {
  18159. "description": "参数名",
  18160. "type": "string"
  18161. },
  18162. "paramtype": {
  18163. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  18164. "type": "integer"
  18165. },
  18166. "paramvalue": {
  18167. "description": "参数值",
  18168. "type": "string"
  18169. },
  18170. "paramvalue2": {
  18171. "description": "参数值(CLOB)",
  18172. "type": "string"
  18173. },
  18174. "regexpress": {
  18175. "description": "正则表达式",
  18176. "type": "string"
  18177. },
  18178. "remark": {
  18179. "description": "备注",
  18180. "type": "string"
  18181. },
  18182. "serverip": {
  18183. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  18184. "type": "string"
  18185. },
  18186. "showflag": {
  18187. "description": "是否显示0 不显示 1 显示",
  18188. "type": "integer"
  18189. },
  18190. "updatetime": {
  18191. "description": "更新时间",
  18192. "type": "string"
  18193. },
  18194. "userid": {
  18195. "description": "更新用户ID",
  18196. "type": "integer"
  18197. }
  18198. }
  18199. },
  18200. "models.Szdz3convertconfig": {
  18201. "type": "object",
  18202. "required": [
  18203. "converttype",
  18204. "innergoodsid",
  18205. "outergoodscode"
  18206. ],
  18207. "properties": {
  18208. "canin": {
  18209. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  18210. "type": "integer"
  18211. },
  18212. "canout": {
  18213. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  18214. "type": "integer"
  18215. },
  18216. "converttype": {
  18217. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  18218. "type": "integer"
  18219. },
  18220. "createtime": {
  18221. "description": "创建时间",
  18222. "type": "string"
  18223. },
  18224. "creatorid": {
  18225. "description": "创建人",
  18226. "type": "integer"
  18227. },
  18228. "daymaxvalue": {
  18229. "description": "当日最大转入限制",
  18230. "type": "number"
  18231. },
  18232. "freezedays": {
  18233. "description": "冻结天数 [5:花生米转交易]",
  18234. "type": "integer"
  18235. },
  18236. "innergoodsid": {
  18237. "description": "内部商品ID[交易]",
  18238. "type": "integer"
  18239. },
  18240. "inratio": {
  18241. "description": "目标值",
  18242. "type": "integer"
  18243. },
  18244. "modifierid": {
  18245. "description": "修改人",
  18246. "type": "integer"
  18247. },
  18248. "modifytime": {
  18249. "description": "修改时间",
  18250. "type": "string"
  18251. },
  18252. "outergoodscode": {
  18253. "description": "外部商品代码[JD\\PD]",
  18254. "type": "string"
  18255. },
  18256. "outratio": {
  18257. "description": "源值",
  18258. "type": "integer"
  18259. },
  18260. "pddecimalplace": {
  18261. "description": "PD小数位",
  18262. "type": "integer"
  18263. },
  18264. "timemaxvalue": {
  18265. "description": "单次最大转入限制",
  18266. "type": "number"
  18267. },
  18268. "timeminvalue": {
  18269. "description": "单次最小转入限制",
  18270. "type": "number"
  18271. }
  18272. }
  18273. },
  18274. "models.Szdz3searchwhitelist": {
  18275. "type": "object",
  18276. "required": [
  18277. "userid"
  18278. ],
  18279. "properties": {
  18280. "createtime": {
  18281. "description": "创建时间",
  18282. "type": "string"
  18283. },
  18284. "creatorid": {
  18285. "description": "创建人",
  18286. "type": "integer"
  18287. },
  18288. "modifierid": {
  18289. "description": "修改人",
  18290. "type": "integer"
  18291. },
  18292. "modifytime": {
  18293. "description": "修改时间",
  18294. "type": "string"
  18295. },
  18296. "userid": {
  18297. "description": "用户ID",
  18298. "type": "integer"
  18299. }
  18300. }
  18301. },
  18302. "models.Taaccount": {
  18303. "type": "object",
  18304. "required": [
  18305. "accountid",
  18306. "userid"
  18307. ],
  18308. "properties": {
  18309. "accountflag": {
  18310. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  18311. "type": "integer"
  18312. },
  18313. "accountid": {
  18314. "description": "资金账户ID",
  18315. "type": "integer"
  18316. },
  18317. "accountname": {
  18318. "description": "账户名称",
  18319. "type": "string"
  18320. },
  18321. "balance": {
  18322. "description": "期初余额",
  18323. "type": "number"
  18324. },
  18325. "capitalbalance": {
  18326. "description": "本金余额[外部子账户实际出入金余额]",
  18327. "type": "number"
  18328. },
  18329. "changeflag": {
  18330. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  18331. "type": "integer"
  18332. },
  18333. "changetime": {
  18334. "description": "账户状态变更时间",
  18335. "type": "string"
  18336. },
  18337. "closepl": {
  18338. "description": "今日平仓盈亏",
  18339. "type": "number"
  18340. },
  18341. "creditdecrease": {
  18342. "description": "今日授信减少",
  18343. "type": "number"
  18344. },
  18345. "creditincrease": {
  18346. "description": "今日授信增加",
  18347. "type": "number"
  18348. },
  18349. "currencyid": {
  18350. "description": "货币ID",
  18351. "type": "integer"
  18352. },
  18353. "currentbalance": {
  18354. "description": "期末余额",
  18355. "type": "number"
  18356. },
  18357. "freezecharge": {
  18358. "description": "手续费冻结",
  18359. "type": "number"
  18360. },
  18361. "freezemargin": {
  18362. "description": "冻结保证金",
  18363. "type": "number"
  18364. },
  18365. "fromaccountid": {
  18366. "description": "所属上级账户",
  18367. "type": "integer"
  18368. },
  18369. "inamount": {
  18370. "description": "今日入金金额(包括三方入金)",
  18371. "type": "number"
  18372. },
  18373. "ismain": {
  18374. "description": "是否母账号 0:不是母账户 1:是母账户",
  18375. "type": "integer"
  18376. },
  18377. "ismarketaccount": {
  18378. "description": "是否机构接单账号 0:不是 1:是",
  18379. "type": "integer"
  18380. },
  18381. "isreckonaccount": {
  18382. "description": "是否机构分润账号 0:不是 1:是",
  18383. "type": "integer"
  18384. },
  18385. "mortgagecredit": {
  18386. "description": "授信金额",
  18387. "type": "number"
  18388. },
  18389. "orifreezecharge": {
  18390. "description": "期初手续费冻结",
  18391. "type": "number"
  18392. },
  18393. "orifreezemargin": {
  18394. "description": "期初冻结保证金",
  18395. "type": "number"
  18396. },
  18397. "orimortgagecredit": {
  18398. "description": "期初授信金额",
  18399. "type": "number"
  18400. },
  18401. "oriothercredit": {
  18402. "description": "期初其它授信金额",
  18403. "type": "number"
  18404. },
  18405. "oriotherfreezemargin": {
  18406. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18407. "type": "number"
  18408. },
  18409. "orioutamountfreeze": {
  18410. "description": "期初出金冻结",
  18411. "type": "number"
  18412. },
  18413. "oriusedmargin": {
  18414. "description": "期初占用保证金",
  18415. "type": "number"
  18416. },
  18417. "othercredit": {
  18418. "description": "其它授信金额",
  18419. "type": "number"
  18420. },
  18421. "othercreditdecrease": {
  18422. "description": "今日其它授信减少",
  18423. "type": "number"
  18424. },
  18425. "othercreditincrease": {
  18426. "description": "今日其它授信增加",
  18427. "type": "number"
  18428. },
  18429. "otherfreezemargin": {
  18430. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18431. "type": "number"
  18432. },
  18433. "otherincome": {
  18434. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  18435. "type": "number"
  18436. },
  18437. "otherpay": {
  18438. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  18439. "type": "number"
  18440. },
  18441. "outamount": {
  18442. "description": "今日出金金额(包括三方出金)",
  18443. "type": "number"
  18444. },
  18445. "outamountfreeze": {
  18446. "description": "出金冻结",
  18447. "type": "number"
  18448. },
  18449. "outthreshold": {
  18450. "description": "出金阈值",
  18451. "type": "number"
  18452. },
  18453. "parentaccountid": {
  18454. "description": "所属根账号",
  18455. "type": "integer"
  18456. },
  18457. "paycharge": {
  18458. "description": "今日手续费支出",
  18459. "type": "number"
  18460. },
  18461. "relatedaccountstatus": {
  18462. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  18463. "type": "integer"
  18464. },
  18465. "relateduserid": {
  18466. "description": "关联用户",
  18467. "type": "integer"
  18468. },
  18469. "serivcegroup": {
  18470. "description": "服务分组",
  18471. "type": "integer"
  18472. },
  18473. "signstatus": {
  18474. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18475. "type": "integer"
  18476. },
  18477. "sublevelpath": {
  18478. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18479. "type": "string"
  18480. },
  18481. "taaccounttype": {
  18482. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18483. "type": "integer"
  18484. },
  18485. "thirdinamount": {
  18486. "description": "今日三方入金",
  18487. "type": "number"
  18488. },
  18489. "thirdoutamount": {
  18490. "description": "今日三方出金",
  18491. "type": "number"
  18492. },
  18493. "tradestatus": {
  18494. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18495. "type": "integer"
  18496. },
  18497. "tradestatuschangetime": {
  18498. "description": "激活时间",
  18499. "type": "string"
  18500. },
  18501. "transferamount": {
  18502. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18503. "type": "number"
  18504. },
  18505. "usedmargin": {
  18506. "description": "占用保证金",
  18507. "type": "number"
  18508. },
  18509. "userid": {
  18510. "description": "用户ID",
  18511. "type": "integer"
  18512. }
  18513. }
  18514. },
  18515. "models.Tablecolumnconfig": {
  18516. "type": "object",
  18517. "required": [
  18518. "autoid"
  18519. ],
  18520. "properties": {
  18521. "aligntype": {
  18522. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  18523. "type": "integer"
  18524. },
  18525. "autoid": {
  18526. "description": "AutoID",
  18527. "type": "integer"
  18528. },
  18529. "columnfield": {
  18530. "description": "列字段",
  18531. "type": "string"
  18532. },
  18533. "columntitle": {
  18534. "description": "列Title",
  18535. "type": "string"
  18536. },
  18537. "columnwidth": {
  18538. "description": "列宽",
  18539. "type": "string"
  18540. },
  18541. "formatterstring": {
  18542. "description": "格式化字符",
  18543. "type": "string"
  18544. },
  18545. "formattertype": {
  18546. "description": "格式化类型",
  18547. "type": "string"
  18548. },
  18549. "groupname": {
  18550. "description": "表头分组名称",
  18551. "type": "string"
  18552. },
  18553. "isshow": {
  18554. "description": "是否显示 - 0:不显示 1:显示",
  18555. "type": "integer"
  18556. },
  18557. "needsummary": {
  18558. "description": "是否需要汇总 - 0:不需要 1:需要",
  18559. "type": "integer"
  18560. },
  18561. "orderindex": {
  18562. "description": "顺序",
  18563. "type": "integer"
  18564. },
  18565. "remark": {
  18566. "description": "备注",
  18567. "type": "string"
  18568. },
  18569. "summarytype": {
  18570. "description": "汇总类型 - 1:加总 2:最后一个",
  18571. "type": "integer"
  18572. },
  18573. "tablekey": {
  18574. "description": "列表Key",
  18575. "type": "string"
  18576. }
  18577. }
  18578. },
  18579. "models.Useraccount": {
  18580. "type": "object",
  18581. "required": [
  18582. "userid"
  18583. ],
  18584. "properties": {
  18585. "accountname": {
  18586. "description": "账户名称(机构名称)",
  18587. "type": "string"
  18588. },
  18589. "accountstatus": {
  18590. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18591. "type": "integer"
  18592. },
  18593. "auditremark": {
  18594. "description": "审核备注",
  18595. "type": "string"
  18596. },
  18597. "audittime": {
  18598. "description": "审核时间",
  18599. "type": "string"
  18600. },
  18601. "audituserid": {
  18602. "description": "审核人",
  18603. "type": "integer"
  18604. },
  18605. "broker": {
  18606. "description": "所属经纪人ID",
  18607. "type": "integer"
  18608. },
  18609. "canceltime": {
  18610. "description": "销户时间",
  18611. "type": "string"
  18612. },
  18613. "canceluserid": {
  18614. "description": "销户人",
  18615. "type": "integer"
  18616. },
  18617. "createtime": {
  18618. "description": "创建时间",
  18619. "type": "string"
  18620. },
  18621. "creatorid": {
  18622. "description": "创建人",
  18623. "type": "integer"
  18624. },
  18625. "hasauth": {
  18626. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18627. "type": "integer"
  18628. },
  18629. "isanonymous": {
  18630. "description": "是否匿名下单 - 0:否 1:是",
  18631. "type": "integer"
  18632. },
  18633. "maxinvestornum": {
  18634. "description": "最大用户数(经纪会员下投资者个数)",
  18635. "type": "integer"
  18636. },
  18637. "memberuserid": {
  18638. "description": "所属会员ID",
  18639. "type": "integer"
  18640. },
  18641. "modifierid": {
  18642. "description": "修改人",
  18643. "type": "integer"
  18644. },
  18645. "modifyremark": {
  18646. "description": "变更备注",
  18647. "type": "string"
  18648. },
  18649. "modifystatus": {
  18650. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18651. "type": "integer"
  18652. },
  18653. "modifytime": {
  18654. "description": "修改时间",
  18655. "type": "string"
  18656. },
  18657. "parentuserid": {
  18658. "description": "所属机构ID",
  18659. "type": "integer"
  18660. },
  18661. "reckonaccountid": {
  18662. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18663. "type": "integer"
  18664. },
  18665. "refercount": {
  18666. "description": "推荐总人数",
  18667. "type": "integer"
  18668. },
  18669. "refereeuserid": {
  18670. "description": "推荐人ID",
  18671. "type": "integer"
  18672. },
  18673. "refernum": {
  18674. "description": "推荐码",
  18675. "type": "string"
  18676. },
  18677. "subarealevelpath": {
  18678. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18679. "type": "string"
  18680. },
  18681. "userid": {
  18682. "description": "用户ID",
  18683. "type": "integer"
  18684. },
  18685. "usertype": {
  18686. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  18687. "type": "integer"
  18688. }
  18689. }
  18690. },
  18691. "models.Userfavoritegoods": {
  18692. "type": "object",
  18693. "required": [
  18694. "goodsid"
  18695. ],
  18696. "properties": {
  18697. "goodsid": {
  18698. "description": "商品ID",
  18699. "type": "integer"
  18700. }
  18701. }
  18702. },
  18703. "models.Userinfo": {
  18704. "type": "object",
  18705. "required": [
  18706. "userid"
  18707. ],
  18708. "properties": {
  18709. "address": {
  18710. "description": "地址",
  18711. "type": "string"
  18712. },
  18713. "attachment1": {
  18714. "description": "附件1",
  18715. "type": "string"
  18716. },
  18717. "attachment2": {
  18718. "description": "附件2",
  18719. "type": "string"
  18720. },
  18721. "bankaccount": {
  18722. "description": "银行帐号 (加密存储)",
  18723. "type": "string"
  18724. },
  18725. "bankaccountname": {
  18726. "description": "收款人名称",
  18727. "type": "string"
  18728. },
  18729. "bankcardfrontphotourl": {
  18730. "description": "银行卡正面照地址",
  18731. "type": "string"
  18732. },
  18733. "bankid": {
  18734. "description": "银行编码",
  18735. "type": "string"
  18736. },
  18737. "bankname": {
  18738. "description": "银行名称",
  18739. "type": "string"
  18740. },
  18741. "biznature": {
  18742. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18743. "type": "integer"
  18744. },
  18745. "bizscope": {
  18746. "description": "企业经营范围(企业)",
  18747. "type": "string"
  18748. },
  18749. "cardbackphotourl": {
  18750. "description": "证件背面图片地址",
  18751. "type": "string"
  18752. },
  18753. "cardfrontphotourl": {
  18754. "description": "证件正面图片地址",
  18755. "type": "string"
  18756. },
  18757. "cardnum": {
  18758. "description": "证件号码(加密存储)",
  18759. "type": "string"
  18760. },
  18761. "cardtypeid": {
  18762. "description": "证件类型ID",
  18763. "type": "integer"
  18764. },
  18765. "cityid": {
  18766. "description": "市",
  18767. "type": "integer"
  18768. },
  18769. "company": {
  18770. "description": "公司(个人)",
  18771. "type": "string"
  18772. },
  18773. "contactname": {
  18774. "description": "联系人",
  18775. "type": "string"
  18776. },
  18777. "countryid": {
  18778. "description": "国家",
  18779. "type": "integer"
  18780. },
  18781. "createtime": {
  18782. "description": "创建时间",
  18783. "type": "string"
  18784. },
  18785. "creatorid": {
  18786. "description": "创建人",
  18787. "type": "integer"
  18788. },
  18789. "customername": {
  18790. "description": "客户名称(企业名称)",
  18791. "type": "string"
  18792. },
  18793. "districtid": {
  18794. "description": "地区",
  18795. "type": "integer"
  18796. },
  18797. "email": {
  18798. "description": "邮件(加密存储)",
  18799. "type": "string"
  18800. },
  18801. "fax": {
  18802. "description": "传真(加密存储)",
  18803. "type": "string"
  18804. },
  18805. "halfbodyphotourl": {
  18806. "description": "半身照地址",
  18807. "type": "string"
  18808. },
  18809. "hasencrypt": {
  18810. "description": "数据是否已加密 - 0:未加密 1:已加密",
  18811. "type": "integer"
  18812. },
  18813. "headurl": {
  18814. "description": "头像地址",
  18815. "type": "string"
  18816. },
  18817. "legalcardbackphotourl": {
  18818. "description": "法人身份证背面照地址",
  18819. "type": "string"
  18820. },
  18821. "legalcardfrontphotourl": {
  18822. "description": "法人身份证正面照地址",
  18823. "type": "string"
  18824. },
  18825. "legalpersonname": {
  18826. "description": "法人姓名(企业)",
  18827. "type": "string"
  18828. },
  18829. "mobile": {
  18830. "description": "手机号码(加密存储)",
  18831. "type": "string"
  18832. },
  18833. "mobile2": {
  18834. "description": "手机号码[明文-尚志]",
  18835. "type": "string"
  18836. },
  18837. "modifierid": {
  18838. "description": "修改人",
  18839. "type": "integer"
  18840. },
  18841. "modifiertime": {
  18842. "description": "修改时间",
  18843. "type": "string"
  18844. },
  18845. "needinvoice": {
  18846. "description": "是否需要发票 - 0:不需要 1:需要",
  18847. "type": "integer"
  18848. },
  18849. "nickname": {
  18850. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  18851. "type": "string"
  18852. },
  18853. "openmode": {
  18854. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  18855. "type": "integer"
  18856. },
  18857. "otherurl": {
  18858. "description": "其它图片地址[使用分号分隔]",
  18859. "type": "string"
  18860. },
  18861. "postalcode": {
  18862. "description": "邮政编码",
  18863. "type": "string"
  18864. },
  18865. "provinceid": {
  18866. "description": "省",
  18867. "type": "integer"
  18868. },
  18869. "qq": {
  18870. "description": "QQ(加密存储",
  18871. "type": "string"
  18872. },
  18873. "remark": {
  18874. "description": "备注",
  18875. "type": "string"
  18876. },
  18877. "sex": {
  18878. "description": "用户性别 0: 女 1: 男",
  18879. "type": "integer"
  18880. },
  18881. "signpdfurl": {
  18882. "description": "签约pdf文件",
  18883. "type": "string"
  18884. },
  18885. "telphone": {
  18886. "description": "联系电话(加密存储)",
  18887. "type": "string"
  18888. },
  18889. "userid": {
  18890. "description": "用户ID",
  18891. "type": "integer"
  18892. },
  18893. "userinfotype": {
  18894. "description": "用户信息类型 - 1:个人 2:企业",
  18895. "type": "integer"
  18896. },
  18897. "userstatus": {
  18898. "description": "用户状态 - 1:正常 2:注销",
  18899. "type": "integer"
  18900. },
  18901. "usertype": {
  18902. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  18903. "type": "integer"
  18904. },
  18905. "wechat": {
  18906. "description": "微信(加密存储)",
  18907. "type": "string"
  18908. },
  18909. "wskhinfo": {
  18910. "description": "开户申请信息(JSON)",
  18911. "type": "string"
  18912. }
  18913. }
  18914. },
  18915. "models.WRCategoryTree": {
  18916. "type": "object",
  18917. "required": [
  18918. "categoryid"
  18919. ],
  18920. "properties": {
  18921. "areauserid": {
  18922. "description": "所属机构",
  18923. "type": "integer"
  18924. },
  18925. "categorydesc": {
  18926. "description": "类别描述",
  18927. "type": "string"
  18928. },
  18929. "categoryid": {
  18930. "description": "类别ID(SEQ_WRCATEGORY)",
  18931. "type": "integer"
  18932. },
  18933. "categoryname": {
  18934. "description": "类别名称",
  18935. "type": "string"
  18936. },
  18937. "iconurl": {
  18938. "description": "图标地址",
  18939. "type": "string"
  18940. },
  18941. "orderindex": {
  18942. "description": "顺序",
  18943. "type": "integer"
  18944. },
  18945. "parentcategoryid": {
  18946. "description": "父类别ID",
  18947. "type": "integer"
  18948. },
  18949. "subcategory": {
  18950. "description": "子分类",
  18951. "type": "array",
  18952. "items": {
  18953. "$ref": "#/definitions/models.WRCategoryTree"
  18954. }
  18955. }
  18956. }
  18957. },
  18958. "models.WRSConverTDetail": {
  18959. "type": "object",
  18960. "properties": {
  18961. "convertratio": {
  18962. "description": "套保系数",
  18963. "type": "number"
  18964. },
  18965. "deliverygoodsid": {
  18966. "description": "现货品种ID",
  18967. "type": "integer"
  18968. },
  18969. "enumdicname": {
  18970. "description": "单位名称",
  18971. "type": "string"
  18972. },
  18973. "goodsunitid": {
  18974. "description": "套保品种单位id",
  18975. "type": "integer"
  18976. },
  18977. "middlegoodscode": {
  18978. "description": "套保品种代码",
  18979. "type": "string"
  18980. },
  18981. "middlegoodsid": {
  18982. "description": "套保品种ID",
  18983. "type": "integer"
  18984. },
  18985. "middlegoodsname": {
  18986. "description": "套保品种名称",
  18987. "type": "string"
  18988. },
  18989. "modifytime": {
  18990. "description": "修改时间",
  18991. "type": "string"
  18992. },
  18993. "wrstandardid": {
  18994. "description": "现货商品ID",
  18995. "type": "integer"
  18996. }
  18997. }
  18998. },
  18999. "models.WRStandardInfo": {
  19000. "type": "object",
  19001. "required": [
  19002. "wrstandardid"
  19003. ],
  19004. "properties": {
  19005. "createtime": {
  19006. "description": "创建时间",
  19007. "type": "string"
  19008. },
  19009. "creatorid": {
  19010. "description": "创建人",
  19011. "type": "integer"
  19012. },
  19013. "deliverygoodsid": {
  19014. "description": "品种ID",
  19015. "type": "integer"
  19016. },
  19017. "deliverygoodsname": {
  19018. "description": "交割商品名称",
  19019. "type": "string"
  19020. },
  19021. "factoryitemjson": {
  19022. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19023. "type": "string"
  19024. },
  19025. "isvalid": {
  19026. "description": "是否有效 - 0:无效 1:有效",
  19027. "type": "integer"
  19028. },
  19029. "minivalue": {
  19030. "description": "最小变动值",
  19031. "type": "integer"
  19032. },
  19033. "minivaluedp": {
  19034. "description": "最小变动值小数位",
  19035. "type": "integer"
  19036. },
  19037. "realminivalue": {
  19038. "description": "实际最小变动值",
  19039. "type": "integer"
  19040. },
  19041. "realminivaluedp": {
  19042. "description": "实际最小变动值小数位",
  19043. "type": "integer"
  19044. },
  19045. "unitid": {
  19046. "description": "单位ID",
  19047. "type": "integer"
  19048. },
  19049. "unitname": {
  19050. "description": "单位",
  19051. "type": "string"
  19052. },
  19053. "updatetime": {
  19054. "description": "更新时间",
  19055. "type": "string"
  19056. },
  19057. "updatorid": {
  19058. "description": "更新人",
  19059. "type": "integer"
  19060. },
  19061. "wrsstatus": {
  19062. "description": "状态 - 作废 - 0:未激活 1:正常",
  19063. "type": "integer"
  19064. },
  19065. "wrstandardcode": {
  19066. "description": "仓单标准代码",
  19067. "type": "string"
  19068. },
  19069. "wrstandardid": {
  19070. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19071. "type": "integer"
  19072. },
  19073. "wrstandardname": {
  19074. "description": "仓单标准名称",
  19075. "type": "string"
  19076. }
  19077. }
  19078. },
  19079. "models.Warehouseinfo": {
  19080. "type": "object",
  19081. "required": [
  19082. "autoid",
  19083. "warehousecode"
  19084. ],
  19085. "properties": {
  19086. "address": {
  19087. "description": "详细地址",
  19088. "type": "string"
  19089. },
  19090. "areauserid": {
  19091. "description": "所属机构",
  19092. "type": "integer"
  19093. },
  19094. "autoid": {
  19095. "description": "自增ID",
  19096. "type": "integer"
  19097. },
  19098. "cityid": {
  19099. "description": "市",
  19100. "type": "integer"
  19101. },
  19102. "contactname": {
  19103. "description": "联系人",
  19104. "type": "string"
  19105. },
  19106. "contactnum": {
  19107. "description": "联系电话",
  19108. "type": "string"
  19109. },
  19110. "countryid": {
  19111. "description": "国家",
  19112. "type": "integer"
  19113. },
  19114. "createtime": {
  19115. "description": "创建时间",
  19116. "type": "string"
  19117. },
  19118. "districtid": {
  19119. "description": "区",
  19120. "type": "integer"
  19121. },
  19122. "hasvideo": {
  19123. "description": "是否有视频 - 0:无 1:有",
  19124. "type": "integer"
  19125. },
  19126. "provinceid": {
  19127. "description": "省",
  19128. "type": "integer"
  19129. },
  19130. "remark": {
  19131. "description": "审核备注",
  19132. "type": "string"
  19133. },
  19134. "videourl": {
  19135. "description": "视频地址",
  19136. "type": "string"
  19137. },
  19138. "warehousecode": {
  19139. "description": "仓库代码",
  19140. "type": "string"
  19141. },
  19142. "warehousename": {
  19143. "description": "仓库名称",
  19144. "type": "string"
  19145. },
  19146. "warehousestatus": {
  19147. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19148. "type": "integer"
  19149. },
  19150. "warehousetype": {
  19151. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19152. "type": "integer"
  19153. }
  19154. }
  19155. },
  19156. "order.QueryHisTradeDetailRsp": {
  19157. "type": "object",
  19158. "required": [
  19159. "accountid",
  19160. "buyorsell",
  19161. "goodsid",
  19162. "histradedate",
  19163. "marketid",
  19164. "memberuserid",
  19165. "orderid",
  19166. "tradeamount",
  19167. "tradedate",
  19168. "tradeid",
  19169. "tradeprice",
  19170. "tradeqty",
  19171. "tradetime"
  19172. ],
  19173. "properties": {
  19174. "accountid": {
  19175. "description": "账户ID[报价币种]",
  19176. "type": "integer"
  19177. },
  19178. "buildtype": {
  19179. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19180. "type": "integer"
  19181. },
  19182. "buyorsell": {
  19183. "description": "方向 - 0:买 1:卖",
  19184. "type": "integer"
  19185. },
  19186. "charge": {
  19187. "description": "手续费",
  19188. "type": "number"
  19189. },
  19190. "closecharge": {
  19191. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19192. "type": "number"
  19193. },
  19194. "closeexchagechargevalue": {
  19195. "description": "平仓交易所手续费设置值",
  19196. "type": "number"
  19197. },
  19198. "closefeealgorithm": {
  19199. "description": "平仓手续费收取方式 1:比率 2:固定",
  19200. "type": "integer"
  19201. },
  19202. "closememberchargevalue": {
  19203. "description": "平仓会员手续费设置值",
  19204. "type": "number"
  19205. },
  19206. "closepl": {
  19207. "description": "平仓盈亏",
  19208. "type": "number"
  19209. },
  19210. "closepl2": {
  19211. "description": "平仓盈亏[逐笔]",
  19212. "type": "number"
  19213. },
  19214. "closeqty": {
  19215. "description": "平仓数量(先建后平操作 需要记录)",
  19216. "type": "integer"
  19217. },
  19218. "creditamount": {
  19219. "description": "授信金额",
  19220. "type": "number"
  19221. },
  19222. "gcaccountid": {
  19223. "description": "账户ID[合约币种]",
  19224. "type": "integer"
  19225. },
  19226. "goodscode": {
  19227. "description": "商品代码",
  19228. "type": "string"
  19229. },
  19230. "goodsid": {
  19231. "description": "商品ID",
  19232. "type": "integer"
  19233. },
  19234. "goodsname": {
  19235. "description": "商品名称",
  19236. "type": "string"
  19237. },
  19238. "histradedate": {
  19239. "description": "历史交易日",
  19240. "type": "string"
  19241. },
  19242. "intclosepl": {
  19243. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19244. "type": "integer"
  19245. },
  19246. "isconfirmexercise": {
  19247. "description": "是否确认行权- 0:否 1:是",
  19248. "type": "integer"
  19249. },
  19250. "ismain": {
  19251. "description": "是否主单 - 0:不是 1:是",
  19252. "type": "integer"
  19253. },
  19254. "ispreexercise": {
  19255. "description": "是否预申报- 0:否 1:是",
  19256. "type": "integer"
  19257. },
  19258. "isreckoned": {
  19259. "description": "是否结算 - 0:未结算 1:已结算",
  19260. "type": "integer"
  19261. },
  19262. "isvaliddata": {
  19263. "description": "是否有效 - 0:无效 1:有效",
  19264. "type": "integer"
  19265. },
  19266. "listingselecttype": {
  19267. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19268. "type": "integer"
  19269. },
  19270. "marketid": {
  19271. "description": "市场ID",
  19272. "type": "integer"
  19273. },
  19274. "marketname": {
  19275. "description": "市场名称",
  19276. "type": "string"
  19277. },
  19278. "matchaccountid": {
  19279. "description": "对手账号id",
  19280. "type": "integer"
  19281. },
  19282. "memberuserid": {
  19283. "description": "会员id 个人投资者 需要填写",
  19284. "type": "integer"
  19285. },
  19286. "opencharge": {
  19287. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19288. "type": "number"
  19289. },
  19290. "openexchagechargevalue": {
  19291. "description": "建仓交易所手续费设置值",
  19292. "type": "number"
  19293. },
  19294. "openfeealgorithm": {
  19295. "description": "建仓手续费收取方式 1:比率 2:固定",
  19296. "type": "integer"
  19297. },
  19298. "openmemberchargevalue": {
  19299. "description": "建仓会员手续费设置值",
  19300. "type": "number"
  19301. },
  19302. "openqty": {
  19303. "description": "开仓数量(先建后平操作 需要记录)",
  19304. "type": "integer"
  19305. },
  19306. "optiontype": {
  19307. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19308. "type": "integer"
  19309. },
  19310. "orderid": {
  19311. "description": "委托单号",
  19312. "type": "string"
  19313. },
  19314. "performanceplanid": {
  19315. "description": "履约计划ID[期权]",
  19316. "type": "integer"
  19317. },
  19318. "performancestatus": {
  19319. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19320. "type": "integer"
  19321. },
  19322. "preexerciseprice": {
  19323. "description": "预申报价格",
  19324. "type": "number"
  19325. },
  19326. "premium": {
  19327. "description": "权利金 - [持仓单的权利金]",
  19328. "type": "number"
  19329. },
  19330. "relatedouttradeid": {
  19331. "description": "关联外部成交单ID",
  19332. "type": "integer"
  19333. },
  19334. "status": {
  19335. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19336. "type": "integer"
  19337. },
  19338. "tradeamount": {
  19339. "description": "成交金额[账户币种,用于所有权]",
  19340. "type": "number"
  19341. },
  19342. "tradedate": {
  19343. "description": "交易日(yyyyMMdd)",
  19344. "type": "string"
  19345. },
  19346. "tradeid": {
  19347. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19348. "type": "string"
  19349. },
  19350. "trademode": {
  19351. "description": "交易模式",
  19352. "type": "integer"
  19353. },
  19354. "tradeprice": {
  19355. "description": "成交价格",
  19356. "type": "number"
  19357. },
  19358. "tradeproperty": {
  19359. "description": "交易属性",
  19360. "type": "integer"
  19361. },
  19362. "tradeqty": {
  19363. "description": "成交数量",
  19364. "type": "integer"
  19365. },
  19366. "tradetime": {
  19367. "description": "成交时间",
  19368. "type": "string"
  19369. },
  19370. "tradetype": {
  19371. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19372. "type": "integer"
  19373. }
  19374. }
  19375. },
  19376. "order.QueryHisTradeOrderDetailRsp": {
  19377. "type": "object",
  19378. "required": [
  19379. "accountid",
  19380. "buildtype",
  19381. "buyorsell",
  19382. "goodsid",
  19383. "histradedate",
  19384. "marketid",
  19385. "memberuserid",
  19386. "operatetype",
  19387. "orderid",
  19388. "orderqty",
  19389. "ordertime",
  19390. "pricemode",
  19391. "tradedate",
  19392. "validtype"
  19393. ],
  19394. "properties": {
  19395. "accountid": {
  19396. "description": "账户ID[报价币种]",
  19397. "type": "integer"
  19398. },
  19399. "buildtype": {
  19400. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19401. "type": "integer"
  19402. },
  19403. "buyorsell": {
  19404. "description": "买卖 - 0:买 1:卖",
  19405. "type": "integer"
  19406. },
  19407. "cancelorderid": {
  19408. "description": "撤单单号(撤单时填写)",
  19409. "type": "string"
  19410. },
  19411. "cancelqty": {
  19412. "description": "撤单数量",
  19413. "type": "integer"
  19414. },
  19415. "clientordertime": {
  19416. "description": "客户端委托时间",
  19417. "type": "string"
  19418. },
  19419. "clientticket": {
  19420. "description": "客户端流水号",
  19421. "type": "string"
  19422. },
  19423. "clienttype": {
  19424. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19425. "type": "integer"
  19426. },
  19427. "closeexchagechargevalue": {
  19428. "description": "平仓交易所手续费设置值",
  19429. "type": "number"
  19430. },
  19431. "closefeealgorithm": {
  19432. "description": "平仓手续费收取方式 1:比率 2:固定",
  19433. "type": "integer"
  19434. },
  19435. "closefreezecharge": {
  19436. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  19437. "type": "number"
  19438. },
  19439. "closememberchargevalue": {
  19440. "description": "平仓会员手续费设置值",
  19441. "type": "number"
  19442. },
  19443. "closeqty": {
  19444. "description": "平仓数量(先建后平操作 需要记录)",
  19445. "type": "integer"
  19446. },
  19447. "closetradeqty": {
  19448. "description": "平仓成交数量(先建后平操作,需要记录)",
  19449. "type": "integer"
  19450. },
  19451. "closeunfreezecharge": {
  19452. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  19453. "type": "number"
  19454. },
  19455. "delistingtype": {
  19456. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  19457. "type": "integer"
  19458. },
  19459. "freezecharge": {
  19460. "description": "冻结手续费",
  19461. "type": "number"
  19462. },
  19463. "freezemargin": {
  19464. "description": "冻结保证金(冻结交易金额)",
  19465. "type": "number"
  19466. },
  19467. "gcaccountid": {
  19468. "description": "账户ID[合约币种]",
  19469. "type": "integer"
  19470. },
  19471. "goodscode": {
  19472. "description": "商品代码",
  19473. "type": "string"
  19474. },
  19475. "goodsid": {
  19476. "description": "商品ID",
  19477. "type": "integer"
  19478. },
  19479. "goodsname": {
  19480. "description": "商品名称",
  19481. "type": "string"
  19482. },
  19483. "histradedate": {
  19484. "description": "历史交易日",
  19485. "type": "string"
  19486. },
  19487. "isconfirmexercise": {
  19488. "description": "是否确认行权- 0:否 1:是",
  19489. "type": "integer"
  19490. },
  19491. "ispreexercise": {
  19492. "description": "是否预申报- 0:否 1:是",
  19493. "type": "integer"
  19494. },
  19495. "isvaliddata": {
  19496. "description": "是否有效 - 0:无效 1:有效",
  19497. "type": "integer"
  19498. },
  19499. "listingselecttype": {
  19500. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19501. "type": "integer"
  19502. },
  19503. "marginalgorithm": {
  19504. "description": "保证金收取方式 1:比率 2:固定",
  19505. "type": "integer"
  19506. },
  19507. "marginvalue": {
  19508. "description": "即市保证金设置值",
  19509. "type": "number"
  19510. },
  19511. "marketid": {
  19512. "description": "市场ID",
  19513. "type": "integer"
  19514. },
  19515. "marketmaxsub": {
  19516. "description": "市价最大偏移范围",
  19517. "type": "number"
  19518. },
  19519. "marketname": {
  19520. "description": "市场名称",
  19521. "type": "string"
  19522. },
  19523. "memberuserid": {
  19524. "description": "所属会员UserID",
  19525. "type": "integer"
  19526. },
  19527. "openexchagechargevalue": {
  19528. "description": "建仓交易所手续费设置值",
  19529. "type": "number"
  19530. },
  19531. "openfeealgorithm": {
  19532. "description": "建仓手续费收取方式 1:比率 2:固定",
  19533. "type": "integer"
  19534. },
  19535. "openfreezecharge": {
  19536. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  19537. "type": "number"
  19538. },
  19539. "openmemberchargevalue": {
  19540. "description": "建仓会员手续费设置值",
  19541. "type": "number"
  19542. },
  19543. "openqty": {
  19544. "description": "开仓数量(先建后平操作,需要记录)",
  19545. "type": "integer"
  19546. },
  19547. "opentradeqty": {
  19548. "description": "开仓成交数量(先建后平操作,需要记录)",
  19549. "type": "integer"
  19550. },
  19551. "openunfreezecharge": {
  19552. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  19553. "type": "number"
  19554. },
  19555. "operatetype": {
  19556. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  19557. "type": "integer"
  19558. },
  19559. "operatorid": {
  19560. "description": "登录账号(LoginID)",
  19561. "type": "integer"
  19562. },
  19563. "optiontype": {
  19564. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19565. "type": "integer"
  19566. },
  19567. "orderid": {
  19568. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19569. "type": "string"
  19570. },
  19571. "orderprice": {
  19572. "description": "委托价格",
  19573. "type": "number"
  19574. },
  19575. "orderqty": {
  19576. "description": "委托数量",
  19577. "type": "integer"
  19578. },
  19579. "ordersrc": {
  19580. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  19581. "type": "integer"
  19582. },
  19583. "orderstatus": {
  19584. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19585. "type": "integer"
  19586. },
  19587. "ordertime": {
  19588. "description": "委托时间",
  19589. "type": "string"
  19590. },
  19591. "preexerciseprice": {
  19592. "description": "预申报价格",
  19593. "type": "number"
  19594. },
  19595. "premium": {
  19596. "description": "权利金",
  19597. "type": "number"
  19598. },
  19599. "preorderid": {
  19600. "description": "关联预埋单号(止盈止损单时填写)",
  19601. "type": "string"
  19602. },
  19603. "pricemode": {
  19604. "description": "取价方式 - 1:市价 2: 限价",
  19605. "type": "integer"
  19606. },
  19607. "quoteid": {
  19608. "description": "报价单ID",
  19609. "type": "integer"
  19610. },
  19611. "relatedid": {
  19612. "description": "关联单号(交割单)",
  19613. "type": "string"
  19614. },
  19615. "retcode": {
  19616. "description": "错误代码",
  19617. "type": "integer"
  19618. },
  19619. "sessionid": {
  19620. "description": "会话ID",
  19621. "type": "integer"
  19622. },
  19623. "tradedate": {
  19624. "description": "交易日(yyyyMMdd)",
  19625. "type": "string"
  19626. },
  19627. "trademode": {
  19628. "description": "交易模式",
  19629. "type": "integer"
  19630. },
  19631. "tradeproperty": {
  19632. "description": "交易属性",
  19633. "type": "integer"
  19634. },
  19635. "tradeqty": {
  19636. "description": "成交数量",
  19637. "type": "integer"
  19638. },
  19639. "unfreezecharge": {
  19640. "description": "解冻手续费",
  19641. "type": "number"
  19642. },
  19643. "unfreezemargin": {
  19644. "description": "解冻保证金",
  19645. "type": "number"
  19646. },
  19647. "updatetime": {
  19648. "description": "更新时间",
  19649. "type": "string"
  19650. },
  19651. "uuid": {
  19652. "description": "发起端唯一id",
  19653. "type": "string"
  19654. },
  19655. "validtime": {
  19656. "description": "有效期限",
  19657. "type": "string"
  19658. },
  19659. "validtype": {
  19660. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  19661. "type": "integer"
  19662. },
  19663. "volumetype": {
  19664. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  19665. "type": "integer"
  19666. }
  19667. }
  19668. },
  19669. "order.QueryTradeDetailRsp": {
  19670. "type": "object",
  19671. "required": [
  19672. "accountid",
  19673. "buyorsell",
  19674. "goodsid",
  19675. "marketid",
  19676. "memberuserid",
  19677. "orderid",
  19678. "tradeamount",
  19679. "tradedate",
  19680. "tradeid",
  19681. "tradeprice",
  19682. "tradeqty",
  19683. "tradetime"
  19684. ],
  19685. "properties": {
  19686. "accountid": {
  19687. "description": "账户ID[报价币种]",
  19688. "type": "integer"
  19689. },
  19690. "buildtype": {
  19691. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19692. "type": "integer"
  19693. },
  19694. "buyorsell": {
  19695. "description": "方向 - 0:买 1:卖",
  19696. "type": "integer"
  19697. },
  19698. "charge": {
  19699. "description": "手续费",
  19700. "type": "number"
  19701. },
  19702. "closecharge": {
  19703. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19704. "type": "number"
  19705. },
  19706. "closeexchagechargevalue": {
  19707. "description": "平仓交易所手续费设置值",
  19708. "type": "number"
  19709. },
  19710. "closefeealgorithm": {
  19711. "description": "平仓手续费收取方式 1:比率 2:固定",
  19712. "type": "integer"
  19713. },
  19714. "closememberchargevalue": {
  19715. "description": "平仓会员手续费设置值",
  19716. "type": "number"
  19717. },
  19718. "closepl": {
  19719. "description": "平仓盈亏",
  19720. "type": "number"
  19721. },
  19722. "closepl2": {
  19723. "description": "平仓盈亏[逐笔]",
  19724. "type": "number"
  19725. },
  19726. "closeqty": {
  19727. "description": "平仓数量(先建后平操作 需要记录)",
  19728. "type": "integer"
  19729. },
  19730. "creditamount": {
  19731. "description": "授信金额",
  19732. "type": "number"
  19733. },
  19734. "gcaccountid": {
  19735. "description": "账户ID[合约币种]",
  19736. "type": "integer"
  19737. },
  19738. "goodscode": {
  19739. "description": "商品代码",
  19740. "type": "string"
  19741. },
  19742. "goodsid": {
  19743. "description": "商品ID",
  19744. "type": "integer"
  19745. },
  19746. "goodsname": {
  19747. "description": "商品名称",
  19748. "type": "string"
  19749. },
  19750. "intclosepl": {
  19751. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19752. "type": "integer"
  19753. },
  19754. "isconfirmexercise": {
  19755. "description": "是否确认行权- 0:否 1:是",
  19756. "type": "integer"
  19757. },
  19758. "ismain": {
  19759. "description": "是否主单 - 0:不是 1:是",
  19760. "type": "integer"
  19761. },
  19762. "ispreexercise": {
  19763. "description": "是否预申报- 0:否 1:是",
  19764. "type": "integer"
  19765. },
  19766. "isreckoned": {
  19767. "description": "是否结算 - 0:未结算 1:已结算",
  19768. "type": "integer"
  19769. },
  19770. "listingselecttype": {
  19771. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19772. "type": "integer"
  19773. },
  19774. "marketid": {
  19775. "description": "市场ID",
  19776. "type": "integer"
  19777. },
  19778. "marketname": {
  19779. "description": "市场名称",
  19780. "type": "string"
  19781. },
  19782. "matchaccountid": {
  19783. "description": "对手账号id",
  19784. "type": "integer"
  19785. },
  19786. "memberuserid": {
  19787. "description": "会员id 个人投资者 需要填写",
  19788. "type": "integer"
  19789. },
  19790. "opencharge": {
  19791. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19792. "type": "number"
  19793. },
  19794. "openexchagechargevalue": {
  19795. "description": "建仓交易所手续费设置值",
  19796. "type": "number"
  19797. },
  19798. "openfeealgorithm": {
  19799. "description": "建仓手续费收取方式 1:比率 2:固定",
  19800. "type": "integer"
  19801. },
  19802. "openmemberchargevalue": {
  19803. "description": "建仓会员手续费设置值",
  19804. "type": "number"
  19805. },
  19806. "openqty": {
  19807. "description": "开仓数量(先建后平操作 需要记录)",
  19808. "type": "integer"
  19809. },
  19810. "optiontype": {
  19811. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19812. "type": "integer"
  19813. },
  19814. "orderid": {
  19815. "description": "委托单号",
  19816. "type": "string"
  19817. },
  19818. "performanceplanid": {
  19819. "description": "履约计划ID[期权]",
  19820. "type": "integer"
  19821. },
  19822. "performancestatus": {
  19823. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19824. "type": "integer"
  19825. },
  19826. "preexerciseprice": {
  19827. "description": "预申报价格",
  19828. "type": "number"
  19829. },
  19830. "premium": {
  19831. "description": "权利金 - [持仓单的权利金]",
  19832. "type": "number"
  19833. },
  19834. "relatedouttradeid": {
  19835. "description": "关联外部成交单ID",
  19836. "type": "integer"
  19837. },
  19838. "status": {
  19839. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19840. "type": "integer"
  19841. },
  19842. "tradeamount": {
  19843. "description": "成交金额[账户币种,用于所有权]",
  19844. "type": "number"
  19845. },
  19846. "tradedate": {
  19847. "description": "交易日(yyyyMMdd)",
  19848. "type": "string"
  19849. },
  19850. "tradeid": {
  19851. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19852. "type": "string"
  19853. },
  19854. "trademode": {
  19855. "description": "交易模式",
  19856. "type": "integer"
  19857. },
  19858. "tradeprice": {
  19859. "description": "成交价格",
  19860. "type": "number"
  19861. },
  19862. "tradeproperty": {
  19863. "description": "交易属性",
  19864. "type": "integer"
  19865. },
  19866. "tradeqty": {
  19867. "description": "成交数量",
  19868. "type": "integer"
  19869. },
  19870. "tradetime": {
  19871. "description": "成交时间",
  19872. "type": "string"
  19873. },
  19874. "tradetype": {
  19875. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19876. "type": "integer"
  19877. }
  19878. }
  19879. },
  19880. "order.QueryTradeOrderDetailRsp": {
  19881. "type": "object",
  19882. "required": [
  19883. "accountid",
  19884. "buildtype",
  19885. "buyorsell",
  19886. "goodsid",
  19887. "marketid",
  19888. "operatetype",
  19889. "orderqty",
  19890. "ordertime",
  19891. "pricemode",
  19892. "tradedate",
  19893. "validtype"
  19894. ],
  19895. "properties": {
  19896. "accountid": {
  19897. "description": "账户ID[报价币种]",
  19898. "type": "integer"
  19899. },
  19900. "buildtype": {
  19901. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19902. "type": "integer"
  19903. },
  19904. "buyorsell": {
  19905. "description": "买卖 - 0:买 1:卖",
  19906. "type": "integer"
  19907. },
  19908. "cancelorderid": {
  19909. "description": "撤单单号(撤单时填写)",
  19910. "type": "string"
  19911. },
  19912. "cancelqty": {
  19913. "description": "撤单数量",
  19914. "type": "integer"
  19915. },
  19916. "clienttype": {
  19917. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19918. "type": "integer"
  19919. },
  19920. "closefreezecharge": {
  19921. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  19922. "type": "number"
  19923. },
  19924. "closeqty": {
  19925. "description": "平仓数量(先建后平操作 需要记录)",
  19926. "type": "integer"
  19927. },
  19928. "closetradeqty": {
  19929. "description": "平仓成交数量(先建后平操作,需要记录)",
  19930. "type": "integer"
  19931. },
  19932. "closeunfreezecharge": {
  19933. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  19934. "type": "number"
  19935. },
  19936. "delistingtype": {
  19937. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  19938. "type": "integer"
  19939. },
  19940. "enableqty": {
  19941. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  19942. "type": "integer"
  19943. },
  19944. "freezecharge": {
  19945. "description": "冻结手续费",
  19946. "type": "number"
  19947. },
  19948. "freezemargin": {
  19949. "description": "冻结保证金(冻结交易金额)",
  19950. "type": "number"
  19951. },
  19952. "goodscode": {
  19953. "description": "商品代码",
  19954. "type": "string"
  19955. },
  19956. "goodsid": {
  19957. "description": "商品ID",
  19958. "type": "integer"
  19959. },
  19960. "goodsname": {
  19961. "description": "商品名称",
  19962. "type": "string"
  19963. },
  19964. "listingselecttype": {
  19965. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19966. "type": "integer"
  19967. },
  19968. "marketid": {
  19969. "description": "市场ID",
  19970. "type": "integer"
  19971. },
  19972. "marketname": {
  19973. "description": "市场名称",
  19974. "type": "string"
  19975. },
  19976. "openfreezecharge": {
  19977. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  19978. "type": "number"
  19979. },
  19980. "openqty": {
  19981. "description": "开仓数量(先建后平操作,需要记录)",
  19982. "type": "integer"
  19983. },
  19984. "opentradeqty": {
  19985. "description": "开仓成交数量(先建后平操作,需要记录)",
  19986. "type": "integer"
  19987. },
  19988. "openunfreezecharge": {
  19989. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  19990. "type": "number"
  19991. },
  19992. "operatetype": {
  19993. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  19994. "type": "integer"
  19995. },
  19996. "operatorid": {
  19997. "description": "登录账号(LoginID)",
  19998. "type": "integer"
  19999. },
  20000. "orderid": {
  20001. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20002. "type": "string"
  20003. },
  20004. "orderprice": {
  20005. "description": "委托价格",
  20006. "type": "number"
  20007. },
  20008. "orderqty": {
  20009. "description": "委托数量",
  20010. "type": "integer"
  20011. },
  20012. "ordersrc": {
  20013. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20014. "type": "integer"
  20015. },
  20016. "orderstatus": {
  20017. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20018. "type": "integer"
  20019. },
  20020. "ordertime": {
  20021. "description": "委托时间",
  20022. "type": "string"
  20023. },
  20024. "preorderid": {
  20025. "description": "关联预埋单号(止盈止损单时填写)",
  20026. "type": "string"
  20027. },
  20028. "pricemode": {
  20029. "description": "取价方式 - 1:市价 2: 限价",
  20030. "type": "integer"
  20031. },
  20032. "relatedid": {
  20033. "description": "关联单号(交割单)",
  20034. "type": "string"
  20035. },
  20036. "tradedate": {
  20037. "description": "交易日(yyyyMMdd)",
  20038. "type": "string"
  20039. },
  20040. "trademode": {
  20041. "description": "交易模式",
  20042. "type": "integer"
  20043. },
  20044. "tradeqty": {
  20045. "description": "成交数量",
  20046. "type": "integer"
  20047. },
  20048. "unfreezecharge": {
  20049. "description": "解冻手续费",
  20050. "type": "number"
  20051. },
  20052. "unfreezemargin": {
  20053. "description": "解冻保证金",
  20054. "type": "number"
  20055. },
  20056. "validtime": {
  20057. "description": "有效期限",
  20058. "type": "string"
  20059. },
  20060. "validtype": {
  20061. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20062. "type": "integer"
  20063. },
  20064. "volumetype": {
  20065. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20066. "type": "integer"
  20067. }
  20068. }
  20069. },
  20070. "order.QueryTradePositionRsp": {
  20071. "type": "object",
  20072. "required": [
  20073. "goodsid"
  20074. ],
  20075. "properties": {
  20076. "accountid": {
  20077. "description": "资金账户",
  20078. "type": "integer"
  20079. },
  20080. "agreeunit": {
  20081. "description": "合约单位",
  20082. "type": "number"
  20083. },
  20084. "averageprice": {
  20085. "description": "持仓均价",
  20086. "type": "number"
  20087. },
  20088. "buyorsell": {
  20089. "description": "方向 - 0:买 1:卖",
  20090. "type": "integer"
  20091. },
  20092. "closetotalqty": {
  20093. "description": "平仓总数量",
  20094. "type": "integer"
  20095. },
  20096. "curholderamount": {
  20097. "description": "当前持仓总金额[商品币种]",
  20098. "type": "number"
  20099. },
  20100. "curpositionqty": {
  20101. "description": "当前持仓总数量",
  20102. "type": "integer"
  20103. },
  20104. "currencyid": {
  20105. "description": "报价货币ID",
  20106. "type": "integer"
  20107. },
  20108. "curtdposition": {
  20109. "description": "期末今日头寸",
  20110. "type": "integer"
  20111. },
  20112. "decimalplace": {
  20113. "description": "报价小数位",
  20114. "type": "integer"
  20115. },
  20116. "enableqty": {
  20117. "description": "可用量",
  20118. "type": "integer"
  20119. },
  20120. "fretdposition": {
  20121. "description": "冻结今日头寸",
  20122. "type": "integer"
  20123. },
  20124. "frozenqty": {
  20125. "description": "持仓冻结数量",
  20126. "type": "integer"
  20127. },
  20128. "goodscode": {
  20129. "description": "商品代码",
  20130. "type": "string"
  20131. },
  20132. "goodsid": {
  20133. "description": "商品Id",
  20134. "type": "integer"
  20135. },
  20136. "goodsname": {
  20137. "description": "商品名称",
  20138. "type": "string"
  20139. },
  20140. "goodunit": {
  20141. "description": "报价单位",
  20142. "type": "string"
  20143. },
  20144. "goodunitid": {
  20145. "description": "报价单位ID",
  20146. "type": "integer"
  20147. },
  20148. "holderamount": {
  20149. "description": "期初持仓总金额[商品币种]",
  20150. "type": "number"
  20151. },
  20152. "marketid": {
  20153. "description": "所属市场ID",
  20154. "type": "integer"
  20155. },
  20156. "openreqqty": {
  20157. "description": "开仓申请数量(用于比较最大持仓数量)",
  20158. "type": "integer"
  20159. },
  20160. "opentotalqty": {
  20161. "description": "开仓总数量",
  20162. "type": "integer"
  20163. },
  20164. "otherfrozenqty": {
  20165. "description": "持仓其他冻结数量(交割冻结)",
  20166. "type": "integer"
  20167. },
  20168. "positionqty": {
  20169. "description": "期初持仓数量",
  20170. "type": "integer"
  20171. },
  20172. "tnqty": {
  20173. "description": "T+N冻结总量",
  20174. "type": "integer"
  20175. },
  20176. "tnusedqty": {
  20177. "description": "T+N使用量(可以使用T+N的冻结数量)",
  20178. "type": "integer"
  20179. },
  20180. "trademode": {
  20181. "description": "交易模式",
  20182. "type": "integer"
  20183. },
  20184. "usedmargin": {
  20185. "description": "占用保证金[商品币种]",
  20186. "type": "number"
  20187. }
  20188. }
  20189. },
  20190. "quote.HistoryData": {
  20191. "type": "object",
  20192. "properties": {
  20193. "c": {
  20194. "description": "收盘价",
  20195. "type": "number"
  20196. },
  20197. "f": {
  20198. "description": "是否补充数据",
  20199. "type": "boolean"
  20200. },
  20201. "h": {
  20202. "description": "最高价",
  20203. "type": "number"
  20204. },
  20205. "hv": {
  20206. "description": "持仓量",
  20207. "type": "integer"
  20208. },
  20209. "l": {
  20210. "description": "最低价",
  20211. "type": "number"
  20212. },
  20213. "o": {
  20214. "description": "开盘价",
  20215. "type": "number"
  20216. },
  20217. "s": {
  20218. "description": "结算价,日线周期(包括)以上才有",
  20219. "type": "number"
  20220. },
  20221. "ts": {
  20222. "description": "时间",
  20223. "type": "string"
  20224. },
  20225. "tt": {
  20226. "description": "总金额",
  20227. "type": "number"
  20228. },
  20229. "tv": {
  20230. "description": "总量",
  20231. "type": "integer"
  20232. }
  20233. }
  20234. },
  20235. "quote.HistoryTikData": {
  20236. "type": "object",
  20237. "properties": {
  20238. "AV": {
  20239. "description": "卖量",
  20240. "type": "integer"
  20241. },
  20242. "Ask": {
  20243. "description": "卖价",
  20244. "type": "number"
  20245. },
  20246. "BV": {
  20247. "description": "买量",
  20248. "type": "integer"
  20249. },
  20250. "Bid": {
  20251. "description": "买价",
  20252. "type": "number"
  20253. },
  20254. "HI": {
  20255. "description": "单笔持仓",
  20256. "type": "integer"
  20257. },
  20258. "HV": {
  20259. "description": "持仓量",
  20260. "type": "integer"
  20261. },
  20262. "PE": {
  20263. "description": "现价",
  20264. "type": "number"
  20265. },
  20266. "TDR": {
  20267. "description": "交易方向,0:买 1:卖",
  20268. "type": "integer"
  20269. },
  20270. "TK": {
  20271. "description": "交易类型",
  20272. "type": "integer"
  20273. },
  20274. "TS": {
  20275. "description": "行情时间文本",
  20276. "type": "string"
  20277. },
  20278. "TT": {
  20279. "description": "现金额",
  20280. "type": "number"
  20281. },
  20282. "Vol": {
  20283. "description": "现量",
  20284. "type": "integer"
  20285. }
  20286. }
  20287. },
  20288. "quote.QueryQuoteDayRsp": {
  20289. "type": "object",
  20290. "properties": {
  20291. "ask": {
  20292. "description": "卖1",
  20293. "type": "number"
  20294. },
  20295. "ask10": {
  20296. "description": "卖10",
  20297. "type": "number"
  20298. },
  20299. "ask2": {
  20300. "description": "卖2",
  20301. "type": "number"
  20302. },
  20303. "ask3": {
  20304. "description": "卖3",
  20305. "type": "number"
  20306. },
  20307. "ask4": {
  20308. "description": "卖4",
  20309. "type": "number"
  20310. },
  20311. "ask5": {
  20312. "description": "卖5",
  20313. "type": "number"
  20314. },
  20315. "ask6": {
  20316. "description": "卖6",
  20317. "type": "number"
  20318. },
  20319. "ask7": {
  20320. "description": "卖7",
  20321. "type": "number"
  20322. },
  20323. "ask8": {
  20324. "description": "卖8",
  20325. "type": "number"
  20326. },
  20327. "ask9": {
  20328. "description": "卖9",
  20329. "type": "number"
  20330. },
  20331. "askorderid": {
  20332. "description": "卖单号1",
  20333. "type": "integer"
  20334. },
  20335. "askorderid2": {
  20336. "description": "卖单号2",
  20337. "type": "integer"
  20338. },
  20339. "askorderid3": {
  20340. "description": "卖单号3",
  20341. "type": "integer"
  20342. },
  20343. "askorderid4": {
  20344. "description": "卖单号4",
  20345. "type": "integer"
  20346. },
  20347. "askorderid5": {
  20348. "description": "卖单号5",
  20349. "type": "integer"
  20350. },
  20351. "askordervolume": {
  20352. "description": "卖单量1",
  20353. "type": "integer"
  20354. },
  20355. "askordervolume10": {
  20356. "description": "卖单量10",
  20357. "type": "integer"
  20358. },
  20359. "askordervolume2": {
  20360. "description": "卖单量2",
  20361. "type": "integer"
  20362. },
  20363. "askordervolume3": {
  20364. "description": "卖单量3",
  20365. "type": "integer"
  20366. },
  20367. "askordervolume4": {
  20368. "description": "卖单量4",
  20369. "type": "integer"
  20370. },
  20371. "askordervolume5": {
  20372. "description": "卖单量5",
  20373. "type": "integer"
  20374. },
  20375. "askordervolume6": {
  20376. "description": "卖单量6",
  20377. "type": "integer"
  20378. },
  20379. "askordervolume7": {
  20380. "description": "卖单量7",
  20381. "type": "integer"
  20382. },
  20383. "askordervolume8": {
  20384. "description": "卖单量8",
  20385. "type": "integer"
  20386. },
  20387. "askordervolume9": {
  20388. "description": "卖单量9",
  20389. "type": "integer"
  20390. },
  20391. "askqueueinfo": {
  20392. "description": "大利市卖港股用",
  20393. "type": "string"
  20394. },
  20395. "askvolume": {
  20396. "description": "卖量1",
  20397. "type": "integer"
  20398. },
  20399. "askvolume10": {
  20400. "description": "卖量10",
  20401. "type": "integer"
  20402. },
  20403. "askvolume2": {
  20404. "description": "卖量2",
  20405. "type": "integer"
  20406. },
  20407. "askvolume3": {
  20408. "description": "卖量3",
  20409. "type": "integer"
  20410. },
  20411. "askvolume4": {
  20412. "description": "卖量4",
  20413. "type": "integer"
  20414. },
  20415. "askvolume5": {
  20416. "description": "卖量5",
  20417. "type": "integer"
  20418. },
  20419. "askvolume6": {
  20420. "description": "卖量6",
  20421. "type": "integer"
  20422. },
  20423. "askvolume7": {
  20424. "description": "卖量7",
  20425. "type": "integer"
  20426. },
  20427. "askvolume8": {
  20428. "description": "卖量8",
  20429. "type": "integer"
  20430. },
  20431. "askvolume9": {
  20432. "description": "卖量9",
  20433. "type": "integer"
  20434. },
  20435. "averageprice": {
  20436. "description": "均价",
  20437. "type": "number"
  20438. },
  20439. "bid": {
  20440. "description": "买1",
  20441. "type": "number"
  20442. },
  20443. "bid10": {
  20444. "description": "买10",
  20445. "type": "number"
  20446. },
  20447. "bid2": {
  20448. "description": "买2",
  20449. "type": "number"
  20450. },
  20451. "bid3": {
  20452. "description": "买3",
  20453. "type": "number"
  20454. },
  20455. "bid4": {
  20456. "description": "买4",
  20457. "type": "number"
  20458. },
  20459. "bid5": {
  20460. "description": "买5",
  20461. "type": "number"
  20462. },
  20463. "bid6": {
  20464. "description": "买6",
  20465. "type": "number"
  20466. },
  20467. "bid7": {
  20468. "description": "买7",
  20469. "type": "number"
  20470. },
  20471. "bid8": {
  20472. "description": "买8",
  20473. "type": "number"
  20474. },
  20475. "bid9": {
  20476. "description": "买9",
  20477. "type": "number"
  20478. },
  20479. "bidorderid": {
  20480. "description": "买单号1",
  20481. "type": "integer"
  20482. },
  20483. "bidorderid2": {
  20484. "description": "买单号2",
  20485. "type": "integer"
  20486. },
  20487. "bidorderid3": {
  20488. "description": "买单号3",
  20489. "type": "integer"
  20490. },
  20491. "bidorderid4": {
  20492. "description": "买单号4",
  20493. "type": "integer"
  20494. },
  20495. "bidorderid5": {
  20496. "description": "买单号5",
  20497. "type": "integer"
  20498. },
  20499. "bidordervolume": {
  20500. "description": "买单量1",
  20501. "type": "integer"
  20502. },
  20503. "bidordervolume10": {
  20504. "description": "买单量10",
  20505. "type": "integer"
  20506. },
  20507. "bidordervolume2": {
  20508. "description": "买单量2",
  20509. "type": "integer"
  20510. },
  20511. "bidordervolume3": {
  20512. "description": "买单量3",
  20513. "type": "integer"
  20514. },
  20515. "bidordervolume4": {
  20516. "description": "买单量4",
  20517. "type": "integer"
  20518. },
  20519. "bidordervolume5": {
  20520. "description": "买单量5",
  20521. "type": "integer"
  20522. },
  20523. "bidordervolume6": {
  20524. "description": "买单量6",
  20525. "type": "integer"
  20526. },
  20527. "bidordervolume7": {
  20528. "description": "买单量7",
  20529. "type": "integer"
  20530. },
  20531. "bidordervolume8": {
  20532. "description": "买单量8",
  20533. "type": "integer"
  20534. },
  20535. "bidordervolume9": {
  20536. "description": "买单量9",
  20537. "type": "integer"
  20538. },
  20539. "bidqueueinfo": {
  20540. "description": "大利市买港股用",
  20541. "type": "string"
  20542. },
  20543. "bidvolume": {
  20544. "description": "买量1",
  20545. "type": "integer"
  20546. },
  20547. "bidvolume10": {
  20548. "description": "买量10",
  20549. "type": "integer"
  20550. },
  20551. "bidvolume2": {
  20552. "description": "买量2",
  20553. "type": "integer"
  20554. },
  20555. "bidvolume3": {
  20556. "description": "买量3",
  20557. "type": "integer"
  20558. },
  20559. "bidvolume4": {
  20560. "description": "买量4",
  20561. "type": "integer"
  20562. },
  20563. "bidvolume5": {
  20564. "description": "买量5",
  20565. "type": "integer"
  20566. },
  20567. "bidvolume6": {
  20568. "description": "买量6",
  20569. "type": "integer"
  20570. },
  20571. "bidvolume7": {
  20572. "description": "买量7",
  20573. "type": "integer"
  20574. },
  20575. "bidvolume8": {
  20576. "description": "买量8",
  20577. "type": "integer"
  20578. },
  20579. "bidvolume9": {
  20580. "description": "买量9",
  20581. "type": "integer"
  20582. },
  20583. "calloptionpremiums": {
  20584. "description": "认购期权1",
  20585. "type": "integer"
  20586. },
  20587. "calloptionpremiums2": {
  20588. "description": "认购期权2",
  20589. "type": "integer"
  20590. },
  20591. "calloptionpremiums3": {
  20592. "description": "认购期权3",
  20593. "type": "integer"
  20594. },
  20595. "calloptionpremiums4": {
  20596. "description": "认购期权4",
  20597. "type": "integer"
  20598. },
  20599. "calloptionpremiums5": {
  20600. "description": "认购期权5",
  20601. "type": "integer"
  20602. },
  20603. "cleartime": {
  20604. "description": "清盘时间",
  20605. "type": "integer"
  20606. },
  20607. "exchangecode": {
  20608. "description": "交易所代码",
  20609. "type": "integer"
  20610. },
  20611. "exchangedate": {
  20612. "description": "交易日",
  20613. "type": "integer"
  20614. },
  20615. "goodscode": {
  20616. "description": "商品代码",
  20617. "type": "string"
  20618. },
  20619. "grepmarketprice": {
  20620. "description": "暗盘价 港股专用",
  20621. "type": "number"
  20622. },
  20623. "highest": {
  20624. "description": "最高价",
  20625. "type": "number"
  20626. },
  20627. "holdincrement": {
  20628. "description": "单笔持仓",
  20629. "type": "integer"
  20630. },
  20631. "holdvolume": {
  20632. "description": "持仓",
  20633. "type": "integer"
  20634. },
  20635. "iep": {
  20636. "description": "平衡价 港股专用",
  20637. "type": "number"
  20638. },
  20639. "iev": {
  20640. "description": "平衡量 港股专用",
  20641. "type": "number"
  20642. },
  20643. "inventory": {
  20644. "description": "库存",
  20645. "type": "integer"
  20646. },
  20647. "iscleared": {
  20648. "description": "是否清盘标志",
  20649. "type": "integer"
  20650. },
  20651. "issettled": {
  20652. "description": "是否结算标志",
  20653. "type": "integer"
  20654. },
  20655. "last": {
  20656. "description": "最新价",
  20657. "type": "number"
  20658. },
  20659. "lastlot": {
  20660. "description": "最新成交手数",
  20661. "type": "integer"
  20662. },
  20663. "lasttime": {
  20664. "description": "行情时间(只有现价变化行情时间才变化)",
  20665. "type": "string"
  20666. },
  20667. "lastturnover": {
  20668. "description": "最新成交金额",
  20669. "type": "number"
  20670. },
  20671. "lastvolume": {
  20672. "description": "最新成交量",
  20673. "type": "integer"
  20674. },
  20675. "limitdown": {
  20676. "description": "跌停价",
  20677. "type": "number"
  20678. },
  20679. "limitup": {
  20680. "description": "涨停价",
  20681. "type": "number"
  20682. },
  20683. "lowest": {
  20684. "description": "最低价",
  20685. "type": "number"
  20686. },
  20687. "nontotalholdervolume": {
  20688. "description": "非交易持仓量",
  20689. "type": "integer"
  20690. },
  20691. "nontotallot": {
  20692. "description": "非交易总手数",
  20693. "type": "integer"
  20694. },
  20695. "nontotalturnover": {
  20696. "description": "非交易总金额",
  20697. "type": "integer"
  20698. },
  20699. "nontotalvolume": {
  20700. "description": "非交易总量",
  20701. "type": "integer"
  20702. },
  20703. "opened": {
  20704. "description": "开盘价",
  20705. "type": "number"
  20706. },
  20707. "opentime": {
  20708. "description": "开盘时间",
  20709. "type": "string"
  20710. },
  20711. "orderid": {
  20712. "description": "序号",
  20713. "type": "integer"
  20714. },
  20715. "preclose": {
  20716. "description": "昨收",
  20717. "type": "number"
  20718. },
  20719. "preholdvolume": {
  20720. "description": "昨持仓",
  20721. "type": "integer"
  20722. },
  20723. "presettle": {
  20724. "description": "昨结价",
  20725. "type": "number"
  20726. },
  20727. "publictradetype": {
  20728. "description": "公共交易标志类型 港股专用",
  20729. "type": "string"
  20730. },
  20731. "putoptionpremiums": {
  20732. "description": "认沽期权1",
  20733. "type": "integer"
  20734. },
  20735. "putoptionpremiums2": {
  20736. "description": "认沽期权2",
  20737. "type": "integer"
  20738. },
  20739. "putoptionpremiums3": {
  20740. "description": "认沽期权3",
  20741. "type": "integer"
  20742. },
  20743. "putoptionpremiums4": {
  20744. "description": "认沽期权4",
  20745. "type": "integer"
  20746. },
  20747. "putoptionpremiums5": {
  20748. "description": "认沽期权5",
  20749. "type": "integer"
  20750. },
  20751. "settle": {
  20752. "description": "结算价",
  20753. "type": "number"
  20754. },
  20755. "strikeprice": {
  20756. "description": "发行价",
  20757. "type": "number"
  20758. },
  20759. "totalaskvolume": {
  20760. "description": "内盘",
  20761. "type": "integer"
  20762. },
  20763. "totalbidvolume": {
  20764. "description": "外盘",
  20765. "type": "integer"
  20766. },
  20767. "totallot": {
  20768. "description": "总手数",
  20769. "type": "integer"
  20770. },
  20771. "totalturnover": {
  20772. "description": "总金额",
  20773. "type": "number"
  20774. },
  20775. "totalvolume": {
  20776. "description": "总量",
  20777. "type": "integer"
  20778. },
  20779. "utclasttime": {
  20780. "description": "utc的行情时间",
  20781. "type": "string"
  20782. }
  20783. }
  20784. },
  20785. "quote.QueryTSDataRsp": {
  20786. "type": "object",
  20787. "properties": {
  20788. "Count": {
  20789. "description": "交易日应有数据个数",
  20790. "type": "integer"
  20791. },
  20792. "decimalPlace": {
  20793. "description": "小数位",
  20794. "type": "integer"
  20795. },
  20796. "endTime": {
  20797. "description": "结束时间",
  20798. "type": "string"
  20799. },
  20800. "goodsCode": {
  20801. "description": "商品代码",
  20802. "type": "string"
  20803. },
  20804. "historyDatas": {
  20805. "description": "历史数据",
  20806. "type": "array",
  20807. "items": {
  20808. "$ref": "#/definitions/quote.HistoryData"
  20809. }
  20810. },
  20811. "outGoodsCode": {
  20812. "description": "外部商品代码",
  20813. "type": "string"
  20814. },
  20815. "preSettle": {
  20816. "description": "昨结价",
  20817. "type": "number"
  20818. },
  20819. "runSteps": {
  20820. "description": "交易日开休市计划",
  20821. "type": "array",
  20822. "items": {
  20823. "$ref": "#/definitions/quote.TSDataRunStep"
  20824. }
  20825. },
  20826. "startTime": {
  20827. "description": "开始时间",
  20828. "type": "string"
  20829. },
  20830. "tradeDate": {
  20831. "description": "交易日",
  20832. "type": "string"
  20833. }
  20834. }
  20835. },
  20836. "quote.TSDataRunStep": {
  20837. "type": "object",
  20838. "properties": {
  20839. "end": {
  20840. "description": "真实结束时间",
  20841. "type": "string"
  20842. },
  20843. "endflag": {
  20844. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  20845. "type": "integer"
  20846. },
  20847. "endtime": {
  20848. "description": "结束时间(HH:mm)",
  20849. "type": "string"
  20850. },
  20851. "endweekday": {
  20852. "description": "结束周几",
  20853. "type": "integer"
  20854. },
  20855. "groupid": {
  20856. "description": "分组ID",
  20857. "type": "integer"
  20858. },
  20859. "runstep": {
  20860. "description": "运行阶段 - 2:连续交易",
  20861. "type": "integer"
  20862. },
  20863. "sectionid": {
  20864. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  20865. "type": "integer"
  20866. },
  20867. "start": {
  20868. "description": "真实开始时间",
  20869. "type": "string"
  20870. },
  20871. "startflag": {
  20872. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  20873. "type": "integer"
  20874. },
  20875. "starttime": {
  20876. "description": "起始时间(HH:mm)",
  20877. "type": "string"
  20878. },
  20879. "startweekday": {
  20880. "description": "起始周几",
  20881. "type": "integer"
  20882. },
  20883. "tradeweekday": {
  20884. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  20885. "type": "integer"
  20886. }
  20887. }
  20888. },
  20889. "szdz.QueryConvertLogRsp": {
  20890. "type": "object",
  20891. "required": [
  20892. "logid"
  20893. ],
  20894. "properties": {
  20895. "accountid": {
  20896. "description": "资金账户ID",
  20897. "type": "integer"
  20898. },
  20899. "clientticket": {
  20900. "description": "客户端流水号",
  20901. "type": "string"
  20902. },
  20903. "converttype": {
  20904. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  20905. "type": "integer"
  20906. },
  20907. "createtime": {
  20908. "description": "记账时间",
  20909. "type": "string"
  20910. },
  20911. "daymaxvalue": {
  20912. "description": "配置当日最大转入限制",
  20913. "type": "number"
  20914. },
  20915. "daymaxvalue2": {
  20916. "description": "配置当日最大转入限制(转入)",
  20917. "type": "number"
  20918. },
  20919. "goodscode": {
  20920. "description": "商品代码",
  20921. "type": "string"
  20922. },
  20923. "goodsname": {
  20924. "description": "商品名称",
  20925. "type": "string"
  20926. },
  20927. "handlestatus": {
  20928. "description": "处理状态",
  20929. "type": "integer"
  20930. },
  20931. "innergoodsid": {
  20932. "description": "内部商品ID",
  20933. "type": "integer"
  20934. },
  20935. "inratio": {
  20936. "description": "配置转入比值",
  20937. "type": "integer"
  20938. },
  20939. "invalue": {
  20940. "description": "目标值",
  20941. "type": "number"
  20942. },
  20943. "logid": {
  20944. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20945. "type": "integer"
  20946. },
  20947. "mobile": {
  20948. "description": "手机号码(加密存储)",
  20949. "type": "string"
  20950. },
  20951. "outergoodscode": {
  20952. "description": "外部商品代码[JD\\PD]",
  20953. "type": "string"
  20954. },
  20955. "outratio": {
  20956. "description": "配置转出比值",
  20957. "type": "integer"
  20958. },
  20959. "outvalue": {
  20960. "description": "源值",
  20961. "type": "number"
  20962. },
  20963. "pddecimalplace": {
  20964. "description": "PD小数位",
  20965. "type": "integer"
  20966. },
  20967. "qty": {
  20968. "description": "数量",
  20969. "type": "string"
  20970. },
  20971. "remark": {
  20972. "description": "备注",
  20973. "type": "string"
  20974. },
  20975. "sessionid": {
  20976. "description": "会话ID",
  20977. "type": "integer"
  20978. },
  20979. "timemaxvalue": {
  20980. "description": "配置单次最大转入限制",
  20981. "type": "number"
  20982. },
  20983. "timemaxvalue2": {
  20984. "description": "配置单次最大转入限制(转入)",
  20985. "type": "number"
  20986. },
  20987. "timeminvalue": {
  20988. "description": "配置单次最小数量限制",
  20989. "type": "number"
  20990. },
  20991. "timeminvalue2": {
  20992. "description": "配置单次最小数量限制(转入)",
  20993. "type": "number"
  20994. },
  20995. "tradedate": {
  20996. "description": "交易日(yyyyMMdd)",
  20997. "type": "string"
  20998. },
  20999. "userid": {
  21000. "description": "用户ID",
  21001. "type": "integer"
  21002. }
  21003. }
  21004. },
  21005. "szdz.QueryGoodsPickupRsp": {
  21006. "type": "object",
  21007. "required": [
  21008. "takeorderid"
  21009. ],
  21010. "properties": {
  21011. "accountid": {
  21012. "description": "账户ID",
  21013. "type": "integer"
  21014. },
  21015. "address": {
  21016. "description": "提货人详细地址",
  21017. "type": "string"
  21018. },
  21019. "auditer": {
  21020. "description": "审核人",
  21021. "type": "integer"
  21022. },
  21023. "audittime": {
  21024. "description": "审核时间",
  21025. "type": "string"
  21026. },
  21027. "cardnum": {
  21028. "description": "提货人证件号码",
  21029. "type": "string"
  21030. },
  21031. "cardtypeid": {
  21032. "description": "提货人证件类型",
  21033. "type": "integer"
  21034. },
  21035. "checkremark": {
  21036. "description": "审核备注",
  21037. "type": "string"
  21038. },
  21039. "goodscode": {
  21040. "description": "商品代码",
  21041. "type": "string"
  21042. },
  21043. "goodsid": {
  21044. "description": "商品ID",
  21045. "type": "integer"
  21046. },
  21047. "goodsname": {
  21048. "description": "商品名称",
  21049. "type": "string"
  21050. },
  21051. "handlestatus": {
  21052. "description": "处理状态",
  21053. "type": "integer"
  21054. },
  21055. "marketid": {
  21056. "description": "市场ID",
  21057. "type": "integer"
  21058. },
  21059. "phonenum": {
  21060. "description": "提货人联系方式",
  21061. "type": "string"
  21062. },
  21063. "qty": {
  21064. "description": "提货数量",
  21065. "type": "number"
  21066. },
  21067. "recivername": {
  21068. "description": "提货人姓名",
  21069. "type": "string"
  21070. },
  21071. "reqtime": {
  21072. "description": "更新时间",
  21073. "type": "string"
  21074. },
  21075. "takemode": {
  21076. "description": "提货方式 - 2:自提 3:配送",
  21077. "type": "integer"
  21078. },
  21079. "takeorderid": {
  21080. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21081. "type": "string"
  21082. },
  21083. "takeorderstatus": {
  21084. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21085. "type": "integer"
  21086. },
  21087. "takeremark": {
  21088. "description": "提货备注",
  21089. "type": "string"
  21090. },
  21091. "tradedate": {
  21092. "description": "交易日(yyyyMMdd)",
  21093. "type": "string"
  21094. },
  21095. "userid": {
  21096. "description": "用户ID",
  21097. "type": "integer"
  21098. }
  21099. }
  21100. },
  21101. "szdz.QueryRecieptOrderRsp": {
  21102. "type": "object",
  21103. "required": [
  21104. "ordertime"
  21105. ],
  21106. "properties": {
  21107. "accountName": {
  21108. "description": "所属账号名称(已脱敏)",
  21109. "type": "string"
  21110. },
  21111. "accountid": {
  21112. "description": "资金账号",
  21113. "type": "integer"
  21114. },
  21115. "buyorsell": {
  21116. "description": "方向 - 0:买 1:卖",
  21117. "type": "integer"
  21118. },
  21119. "enableqty": {
  21120. "description": "可摘数量",
  21121. "type": "integer"
  21122. },
  21123. "goodscode": {
  21124. "description": "商品代码",
  21125. "type": "string"
  21126. },
  21127. "goodsid": {
  21128. "description": "商品ID",
  21129. "type": "integer"
  21130. },
  21131. "goodsname": {
  21132. "description": "商品名称",
  21133. "type": "string"
  21134. },
  21135. "orderid": {
  21136. "description": "委托单号",
  21137. "type": "string"
  21138. },
  21139. "orderprice": {
  21140. "description": "委托价格",
  21141. "type": "number"
  21142. },
  21143. "ordertime": {
  21144. "description": "委托时间",
  21145. "type": "string"
  21146. },
  21147. "tradedate": {
  21148. "description": "交易日(yyyyMMdd)",
  21149. "type": "string"
  21150. }
  21151. }
  21152. },
  21153. "szdz.QuerySZDZTradePositionRsp": {
  21154. "type": "object",
  21155. "properties": {
  21156. "accountid": {
  21157. "description": "账号Id",
  21158. "type": "integer"
  21159. },
  21160. "agreeunit": {
  21161. "description": "合约单位",
  21162. "type": "number"
  21163. },
  21164. "averageprice": {
  21165. "description": "持仓均价",
  21166. "type": "number"
  21167. },
  21168. "buyorsell": {
  21169. "description": "方向 - 0:买 1:卖",
  21170. "type": "integer"
  21171. },
  21172. "closetotalqty": {
  21173. "description": "平仓总数量",
  21174. "type": "integer"
  21175. },
  21176. "curholderamount": {
  21177. "description": "当前持仓总金额",
  21178. "type": "number"
  21179. },
  21180. "curpositionqty": {
  21181. "description": "当前持仓总数量",
  21182. "type": "integer"
  21183. },
  21184. "currencyid": {
  21185. "description": "报价货币ID",
  21186. "type": "integer"
  21187. },
  21188. "curtdposition": {
  21189. "description": "期末今日头寸",
  21190. "type": "integer"
  21191. },
  21192. "decimalplace": {
  21193. "description": "报价小数位",
  21194. "type": "integer"
  21195. },
  21196. "enableqty": {
  21197. "description": "可用量",
  21198. "type": "integer"
  21199. },
  21200. "fretdposition": {
  21201. "description": "冻结今日头寸",
  21202. "type": "integer"
  21203. },
  21204. "frozenqty": {
  21205. "description": "持仓冻结数量",
  21206. "type": "integer"
  21207. },
  21208. "goodscode": {
  21209. "description": "商品代码(内部)",
  21210. "type": "string"
  21211. },
  21212. "goodsid": {
  21213. "description": "商品Id",
  21214. "type": "integer"
  21215. },
  21216. "goodsname": {
  21217. "description": "商品名称",
  21218. "type": "string"
  21219. },
  21220. "goodunit": {
  21221. "description": "报价单位",
  21222. "type": "string"
  21223. },
  21224. "goodunitid": {
  21225. "description": "报价单位ID",
  21226. "type": "integer"
  21227. },
  21228. "holderamount": {
  21229. "description": "期初持仓总金额",
  21230. "type": "number"
  21231. },
  21232. "marketid": {
  21233. "description": "市场ID",
  21234. "type": "integer"
  21235. },
  21236. "openreqqty": {
  21237. "description": "开仓申请数量",
  21238. "type": "integer"
  21239. },
  21240. "opentotalqty": {
  21241. "description": "开仓总数量",
  21242. "type": "integer"
  21243. },
  21244. "otherfrozenqty": {
  21245. "description": "持仓其他冻结数量(交割冻结)",
  21246. "type": "integer"
  21247. },
  21248. "positionqty": {
  21249. "description": "期初持仓数量",
  21250. "type": "integer"
  21251. },
  21252. "szdz3freezqty": {
  21253. "description": "尚志大宗转换冻结总数量",
  21254. "type": "integer"
  21255. },
  21256. "tnqty": {
  21257. "description": "T+N冻结总量",
  21258. "type": "integer"
  21259. },
  21260. "tnusedqty": {
  21261. "description": "T+N使用量",
  21262. "type": "integer"
  21263. },
  21264. "trademode": {
  21265. "description": "交易模式",
  21266. "type": "integer"
  21267. },
  21268. "usedmargin": {
  21269. "description": "占用保证金",
  21270. "type": "number"
  21271. }
  21272. }
  21273. },
  21274. "taaccount.QueryAmountLogRsp": {
  21275. "type": "object",
  21276. "required": [
  21277. "accountid",
  21278. "amount",
  21279. "amountadjusttype",
  21280. "autoid",
  21281. "balance",
  21282. "createtime",
  21283. "currentbalance",
  21284. "operatetype"
  21285. ],
  21286. "properties": {
  21287. "OPERATETYPENAME": {
  21288. "description": "资金操作类型名称",
  21289. "type": "string"
  21290. },
  21291. "accountid": {
  21292. "description": "资金账户ID",
  21293. "type": "integer"
  21294. },
  21295. "agoodscode": {
  21296. "description": "竞拍商品代码",
  21297. "type": "string"
  21298. },
  21299. "agoodsname": {
  21300. "description": "竞拍商品名称",
  21301. "type": "string"
  21302. },
  21303. "amount": {
  21304. "description": "资金金额",
  21305. "type": "number"
  21306. },
  21307. "amountadjusttype": {
  21308. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21309. "type": "integer"
  21310. },
  21311. "autoid": {
  21312. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21313. "type": "integer"
  21314. },
  21315. "balance": {
  21316. "description": "期初余额",
  21317. "type": "number"
  21318. },
  21319. "businesscode": {
  21320. "description": "业务编号",
  21321. "type": "integer"
  21322. },
  21323. "createtime": {
  21324. "description": "发生时间",
  21325. "type": "string"
  21326. },
  21327. "currencyid": {
  21328. "description": "币种ID",
  21329. "type": "integer"
  21330. },
  21331. "currentbalance": {
  21332. "description": "期末余额(变动后金额)",
  21333. "type": "number"
  21334. },
  21335. "dgoodscode": {
  21336. "description": "交割商品代码",
  21337. "type": "string"
  21338. },
  21339. "dgoodsname": {
  21340. "description": "交割商品名称",
  21341. "type": "string"
  21342. },
  21343. "goodscode": {
  21344. "description": "商品代码",
  21345. "type": "string"
  21346. },
  21347. "goodsid": {
  21348. "description": "商品ID",
  21349. "type": "integer"
  21350. },
  21351. "goodsname": {
  21352. "description": "商品名称",
  21353. "type": "string"
  21354. },
  21355. "marketid": {
  21356. "description": "市场ID",
  21357. "type": "integer"
  21358. },
  21359. "marketname": {
  21360. "description": "市场名称",
  21361. "type": "string"
  21362. },
  21363. "moneyticket": {
  21364. "description": "资金流水号:银行端流水号",
  21365. "type": "integer"
  21366. },
  21367. "operatetype": {
  21368. "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:营销收款",
  21369. "type": "integer"
  21370. },
  21371. "relationorderid": {
  21372. "description": "关联单号",
  21373. "type": "string"
  21374. },
  21375. "remark": {
  21376. "description": "备注",
  21377. "type": "string"
  21378. },
  21379. "trademode": {
  21380. "description": "交易模式",
  21381. "type": "integer"
  21382. }
  21383. }
  21384. },
  21385. "taaccount.QueryHisAmountLogRsp": {
  21386. "type": "object",
  21387. "required": [
  21388. "accountid",
  21389. "amount",
  21390. "amountadjusttype",
  21391. "autoid",
  21392. "balance",
  21393. "createtime",
  21394. "currentbalance",
  21395. "histradedate",
  21396. "operatetype"
  21397. ],
  21398. "properties": {
  21399. "OPERATETYPENAME": {
  21400. "description": "资金操作类型名称",
  21401. "type": "string"
  21402. },
  21403. "accountid": {
  21404. "description": "资金账户ID",
  21405. "type": "integer"
  21406. },
  21407. "agoodscode": {
  21408. "description": "竞拍商品代码",
  21409. "type": "string"
  21410. },
  21411. "agoodsname": {
  21412. "description": "竞拍商品名称",
  21413. "type": "string"
  21414. },
  21415. "amount": {
  21416. "description": "资金金额",
  21417. "type": "number"
  21418. },
  21419. "amountadjusttype": {
  21420. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21421. "type": "integer"
  21422. },
  21423. "autoid": {
  21424. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21425. "type": "integer"
  21426. },
  21427. "balance": {
  21428. "description": "期初余额",
  21429. "type": "number"
  21430. },
  21431. "businesscode": {
  21432. "description": "业务编号",
  21433. "type": "integer"
  21434. },
  21435. "createtime": {
  21436. "description": "发生时间",
  21437. "type": "string"
  21438. },
  21439. "currencyid": {
  21440. "description": "币种ID",
  21441. "type": "integer"
  21442. },
  21443. "currentbalance": {
  21444. "description": "期末余额(变动后金额)",
  21445. "type": "number"
  21446. },
  21447. "dgoodscode": {
  21448. "description": "交割商品代码",
  21449. "type": "string"
  21450. },
  21451. "dgoodsname": {
  21452. "description": "交割商品名称",
  21453. "type": "string"
  21454. },
  21455. "goodscode": {
  21456. "description": "商品代码",
  21457. "type": "string"
  21458. },
  21459. "goodsid": {
  21460. "description": "商品ID",
  21461. "type": "integer"
  21462. },
  21463. "goodsname": {
  21464. "description": "商品名称",
  21465. "type": "string"
  21466. },
  21467. "histradedate": {
  21468. "description": "历史交易日",
  21469. "type": "string"
  21470. },
  21471. "isvaliddata": {
  21472. "description": "是否有效 - 0:无效 1:有效",
  21473. "type": "integer"
  21474. },
  21475. "marketid": {
  21476. "description": "市场ID",
  21477. "type": "integer"
  21478. },
  21479. "marketname": {
  21480. "description": "市场名称",
  21481. "type": "string"
  21482. },
  21483. "moneyticket": {
  21484. "description": "资金流水号:银行端流水号",
  21485. "type": "integer"
  21486. },
  21487. "operatetype": {
  21488. "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:营销收款",
  21489. "type": "integer"
  21490. },
  21491. "relationorderid": {
  21492. "description": "关联单号",
  21493. "type": "string"
  21494. },
  21495. "remark": {
  21496. "description": "备注",
  21497. "type": "string"
  21498. },
  21499. "trademode": {
  21500. "description": "交易模式",
  21501. "type": "integer"
  21502. }
  21503. }
  21504. },
  21505. "trade.QueryRecieptOrderRsp": {
  21506. "type": "object",
  21507. "required": [
  21508. "ordertime"
  21509. ],
  21510. "properties": {
  21511. "accountName": {
  21512. "description": "所属账号名称(已脱敏)",
  21513. "type": "string"
  21514. },
  21515. "accountid": {
  21516. "description": "资金账号",
  21517. "type": "integer"
  21518. },
  21519. "buyorsell": {
  21520. "description": "方向 - 0:买 1:卖",
  21521. "type": "integer"
  21522. },
  21523. "enableqty": {
  21524. "description": "可摘数量",
  21525. "type": "integer"
  21526. },
  21527. "goodscode": {
  21528. "description": "商品代码",
  21529. "type": "string"
  21530. },
  21531. "goodsid": {
  21532. "description": "商品ID",
  21533. "type": "integer"
  21534. },
  21535. "goodsname": {
  21536. "description": "商品名称",
  21537. "type": "string"
  21538. },
  21539. "orderid": {
  21540. "description": "委托单号",
  21541. "type": "string"
  21542. },
  21543. "orderprice": {
  21544. "description": "委托价格",
  21545. "type": "number"
  21546. },
  21547. "ordertime": {
  21548. "description": "委托时间",
  21549. "type": "string"
  21550. },
  21551. "tradedate": {
  21552. "description": "交易日(yyyyMMdd)",
  21553. "type": "string"
  21554. }
  21555. }
  21556. },
  21557. "user.LoginQueryRsp": {
  21558. "type": "object",
  21559. "properties": {
  21560. "externalExchanges": {
  21561. "description": "外部交易所",
  21562. "type": "array",
  21563. "items": {
  21564. "$ref": "#/definitions/models.Externalexchange"
  21565. }
  21566. },
  21567. "goodsgroups": {
  21568. "description": "商品组",
  21569. "type": "array",
  21570. "items": {
  21571. "$ref": "#/definitions/models.Goodsgroup"
  21572. }
  21573. },
  21574. "loginAccount": {
  21575. "description": "登录账号",
  21576. "type": "object",
  21577. "$ref": "#/definitions/models.Loginaccount"
  21578. },
  21579. "markets": {
  21580. "description": "市场",
  21581. "type": "array",
  21582. "items": {
  21583. "$ref": "#/definitions/models.Market"
  21584. }
  21585. },
  21586. "systemParams": {
  21587. "description": "系统参数",
  21588. "type": "array",
  21589. "items": {
  21590. "$ref": "#/definitions/models.Systemparam"
  21591. }
  21592. },
  21593. "userAccount": {
  21594. "description": "用户账号",
  21595. "type": "object",
  21596. "$ref": "#/definitions/models.Useraccount"
  21597. },
  21598. "userInfo": {
  21599. "description": "用户信息",
  21600. "type": "object",
  21601. "$ref": "#/definitions/models.Userinfo"
  21602. },
  21603. "username": {
  21604. "description": "用户姓名",
  21605. "type": "string"
  21606. }
  21607. }
  21608. }
  21609. },
  21610. "securityDefinitions": {
  21611. "ApiKeyAuth": {
  21612. "type": "apiKey",
  21613. "name": "Authorization",
  21614. "in": "header"
  21615. }
  21616. }
  21617. }`
  21618. type swaggerInfo struct {
  21619. Version string
  21620. Host string
  21621. BasePath string
  21622. Schemes []string
  21623. Title string
  21624. Description string
  21625. }
  21626. // SwaggerInfo holds exported Swagger Info so clients can modify it
  21627. var SwaggerInfo = swaggerInfo{
  21628. Version: "1.0",
  21629. Host: "",
  21630. BasePath: "/api",
  21631. Schemes: []string{},
  21632. Title: "MTP2.0 查询服务 API",
  21633. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  21634. }
  21635. type s struct{}
  21636. func (s *s) ReadDoc() string {
  21637. sInfo := SwaggerInfo
  21638. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  21639. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  21640. "marshal": func(v interface{}) string {
  21641. a, _ := json.Marshal(v)
  21642. return string(a)
  21643. },
  21644. }).Parse(doc)
  21645. if err != nil {
  21646. return doc
  21647. }
  21648. var tpl bytes.Buffer
  21649. if err := t.Execute(&tpl, sInfo); err != nil {
  21650. return doc
  21651. }
  21652. return tpl.String()
  21653. }
  21654. func init() {
  21655. swag.Register(swag.Name, &s{})
  21656. }