docs.go 940 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187
  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/GetErmcpOutAccountStatus": {
  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.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  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": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QryReportAreaSpotPL": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询现货损益报表(现货损益报表)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "查询类型 1-日报表 2-月报表",
  1017. "name": "querytype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "string",
  1023. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1024. "name": "querydate",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "现货商品ID",
  1031. "name": "wrstandardid",
  1032. "in": "query"
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "品牌ID",
  1037. "name": "spotgoodsbrandid",
  1038. "in": "query"
  1039. },
  1040. {
  1041. "type": "integer",
  1042. "description": "型号ID",
  1043. "name": "spotgoodsmodelid",
  1044. "in": "query"
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDayExposure": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "string",
  1090. "description": "交易日(格式:yyyyMMdd)",
  1091. "name": "tradedate",
  1092. "in": "query",
  1093. "required": true
  1094. }
  1095. ],
  1096. "responses": {
  1097. "200": {
  1098. "description": "OK",
  1099. "schema": {
  1100. "type": "array",
  1101. "items": {
  1102. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1103. }
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/app.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/Ermcp/QryReportDayFinance": {
  1116. "get": {
  1117. "security": [
  1118. {
  1119. "ApiKeyAuth": []
  1120. }
  1121. ],
  1122. "produces": [
  1123. "application/json"
  1124. ],
  1125. "tags": [
  1126. "企业风险管理(app)"
  1127. ],
  1128. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1129. "parameters": [
  1130. {
  1131. "type": "integer",
  1132. "description": "用户ID",
  1133. "name": "userid",
  1134. "in": "query",
  1135. "required": true
  1136. },
  1137. {
  1138. "type": "string",
  1139. "description": "交易日(格式:yyyyMMdd)",
  1140. "name": "tradedate",
  1141. "in": "query",
  1142. "required": true
  1143. }
  1144. ],
  1145. "responses": {
  1146. "200": {
  1147. "description": "OK",
  1148. "schema": {
  1149. "type": "array",
  1150. "items": {
  1151. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1152. }
  1153. }
  1154. },
  1155. "500": {
  1156. "description": "Internal Server Error",
  1157. "schema": {
  1158. "$ref": "#/definitions/app.Response"
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. "/Ermcp/QryReportDayFinanceFp": {
  1165. "get": {
  1166. "security": [
  1167. {
  1168. "ApiKeyAuth": []
  1169. }
  1170. ],
  1171. "produces": [
  1172. "application/json"
  1173. ],
  1174. "tags": [
  1175. "企业风险管理(app)"
  1176. ],
  1177. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1178. "parameters": [
  1179. {
  1180. "type": "integer",
  1181. "description": "用户ID",
  1182. "name": "userid",
  1183. "in": "query",
  1184. "required": true
  1185. },
  1186. {
  1187. "type": "string",
  1188. "description": "交易日(格式:yyyyMMdd)",
  1189. "name": "tradedate",
  1190. "in": "query",
  1191. "required": true
  1192. }
  1193. ],
  1194. "responses": {
  1195. "200": {
  1196. "description": "OK",
  1197. "schema": {
  1198. "type": "array",
  1199. "items": {
  1200. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1201. }
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/QryReportDayFinanceKx": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "用户ID",
  1231. "name": "userid",
  1232. "in": "query",
  1233. "required": true
  1234. },
  1235. {
  1236. "type": "string",
  1237. "description": "交易日(格式:yyyyMMdd)",
  1238. "name": "tradedate",
  1239. "in": "query",
  1240. "required": true
  1241. }
  1242. ],
  1243. "responses": {
  1244. "200": {
  1245. "description": "OK",
  1246. "schema": {
  1247. "type": "array",
  1248. "items": {
  1249. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1250. }
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/Ermcp/QryReportDaySpot": {
  1263. "get": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "企业风险管理(app)"
  1274. ],
  1275. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1276. "parameters": [
  1277. {
  1278. "type": "integer",
  1279. "description": "用户ID",
  1280. "name": "userid",
  1281. "in": "query",
  1282. "required": true
  1283. },
  1284. {
  1285. "type": "string",
  1286. "description": "交易日(格式:yyyyMMdd)",
  1287. "name": "tradedate",
  1288. "in": "query",
  1289. "required": true
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "type": "array",
  1297. "items": {
  1298. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1299. }
  1300. }
  1301. },
  1302. "500": {
  1303. "description": "Internal Server Error",
  1304. "schema": {
  1305. "$ref": "#/definitions/app.Response"
  1306. }
  1307. }
  1308. }
  1309. }
  1310. },
  1311. "/Ermcp/QryReportDaySpotDetail": {
  1312. "get": {
  1313. "security": [
  1314. {
  1315. "ApiKeyAuth": []
  1316. }
  1317. ],
  1318. "produces": [
  1319. "application/json"
  1320. ],
  1321. "tags": [
  1322. "企业风险管理(app)"
  1323. ],
  1324. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1325. "parameters": [
  1326. {
  1327. "type": "integer",
  1328. "description": "用户ID",
  1329. "name": "userid",
  1330. "in": "query",
  1331. "required": true
  1332. },
  1333. {
  1334. "type": "integer",
  1335. "description": "现货商品id",
  1336. "name": "wrstandardid",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "交易日(格式:yyyyMMdd)",
  1343. "name": "tradedate",
  1344. "in": "query",
  1345. "required": true
  1346. }
  1347. ],
  1348. "responses": {
  1349. "200": {
  1350. "description": "OK",
  1351. "schema": {
  1352. "type": "array",
  1353. "items": {
  1354. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1355. }
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/Ermcp/QryReportMonthFinance": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "produces": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "企业风险管理(app)"
  1379. ],
  1380. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1381. "parameters": [
  1382. {
  1383. "type": "integer",
  1384. "description": "用户ID",
  1385. "name": "userid",
  1386. "in": "query",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "周期时间:月(格式:yyyyMM)",
  1392. "name": "cycletime",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "type": "array",
  1402. "items": {
  1403. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1404. }
  1405. }
  1406. },
  1407. "500": {
  1408. "description": "Internal Server Error",
  1409. "schema": {
  1410. "$ref": "#/definitions/app.Response"
  1411. }
  1412. }
  1413. }
  1414. }
  1415. },
  1416. "/Ermcp/QryReportMonthSpot": {
  1417. "get": {
  1418. "security": [
  1419. {
  1420. "ApiKeyAuth": []
  1421. }
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "企业风险管理(app)"
  1428. ],
  1429. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1430. "parameters": [
  1431. {
  1432. "type": "integer",
  1433. "description": "用户ID",
  1434. "name": "userid",
  1435. "in": "query",
  1436. "required": true
  1437. },
  1438. {
  1439. "type": "string",
  1440. "description": "周期时间:月(格式:yyyyMM)",
  1441. "name": "cycletime",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QryReportMonthSpotDetail": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query",
  1485. "required": true
  1486. },
  1487. {
  1488. "type": "integer",
  1489. "description": "现货商品id",
  1490. "name": "wrstandardid",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "周期时间:月(格式:yyyyMM)",
  1497. "name": "cycletime",
  1498. "in": "query",
  1499. "required": true
  1500. }
  1501. ],
  1502. "responses": {
  1503. "200": {
  1504. "description": "OK",
  1505. "schema": {
  1506. "type": "array",
  1507. "items": {
  1508. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1509. }
  1510. }
  1511. },
  1512. "500": {
  1513. "description": "Internal Server Error",
  1514. "schema": {
  1515. "$ref": "#/definitions/app.Response"
  1516. }
  1517. }
  1518. }
  1519. }
  1520. },
  1521. "/Ermcp/QueryAccMgrBizGroupSet": {
  1522. "get": {
  1523. "security": [
  1524. {
  1525. "ApiKeyAuth": []
  1526. }
  1527. ],
  1528. "produces": [
  1529. "application/json"
  1530. ],
  1531. "tags": [
  1532. "企业风险管理(app)"
  1533. ],
  1534. "summary": "查询业务类型分组(账户管理/账户设置)",
  1535. "parameters": [
  1536. {
  1537. "type": "integer",
  1538. "description": "用户ID",
  1539. "name": "userid",
  1540. "in": "query",
  1541. "required": true
  1542. },
  1543. {
  1544. "type": "integer",
  1545. "description": "现货商品id",
  1546. "name": "deliverygoodsid",
  1547. "in": "query"
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "OK",
  1553. "schema": {
  1554. "type": "array",
  1555. "items": {
  1556. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1557. }
  1558. }
  1559. },
  1560. "500": {
  1561. "description": "Internal Server Error",
  1562. "schema": {
  1563. "$ref": "#/definitions/app.Response"
  1564. }
  1565. }
  1566. }
  1567. }
  1568. },
  1569. "/Ermcp/QueryAccMgrLoginUser": {
  1570. "get": {
  1571. "security": [
  1572. {
  1573. "ApiKeyAuth": []
  1574. }
  1575. ],
  1576. "produces": [
  1577. "application/json"
  1578. ],
  1579. "tags": [
  1580. "企业风险管理(app)"
  1581. ],
  1582. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1583. "parameters": [
  1584. {
  1585. "type": "integer",
  1586. "description": "用户ID",
  1587. "name": "userid",
  1588. "in": "query",
  1589. "required": true
  1590. },
  1591. {
  1592. "type": "integer",
  1593. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1594. "name": "querytype",
  1595. "in": "query",
  1596. "required": true
  1597. }
  1598. ],
  1599. "responses": {
  1600. "200": {
  1601. "description": "OK",
  1602. "schema": {
  1603. "type": "array",
  1604. "items": {
  1605. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1606. }
  1607. }
  1608. },
  1609. "500": {
  1610. "description": "Internal Server Error",
  1611. "schema": {
  1612. "$ref": "#/definitions/app.Response"
  1613. }
  1614. }
  1615. }
  1616. }
  1617. },
  1618. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1619. "get": {
  1620. "security": [
  1621. {
  1622. "ApiKeyAuth": []
  1623. }
  1624. ],
  1625. "produces": [
  1626. "application/json"
  1627. ],
  1628. "tags": [
  1629. "企业风险管理(app)"
  1630. ],
  1631. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1632. "parameters": [
  1633. {
  1634. "type": "integer",
  1635. "description": "用户ID",
  1636. "name": "userid",
  1637. "in": "query"
  1638. },
  1639. {
  1640. "type": "integer",
  1641. "description": "主账号id",
  1642. "name": "accountid",
  1643. "in": "query"
  1644. }
  1645. ],
  1646. "responses": {
  1647. "200": {
  1648. "description": "OK",
  1649. "schema": {
  1650. "type": "array",
  1651. "items": {
  1652. "$ref": "#/definitions/models.MainAccountInfo"
  1653. }
  1654. }
  1655. },
  1656. "500": {
  1657. "description": "Internal Server Error",
  1658. "schema": {
  1659. "$ref": "#/definitions/app.Response"
  1660. }
  1661. }
  1662. }
  1663. }
  1664. },
  1665. "/Ermcp/QueryAccMgrRole": {
  1666. "get": {
  1667. "security": [
  1668. {
  1669. "ApiKeyAuth": []
  1670. }
  1671. ],
  1672. "produces": [
  1673. "application/json"
  1674. ],
  1675. "tags": [
  1676. "企业风险管理(app)"
  1677. ],
  1678. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1679. "parameters": [
  1680. {
  1681. "type": "integer",
  1682. "description": "用户ID",
  1683. "name": "userid",
  1684. "in": "query",
  1685. "required": true
  1686. }
  1687. ],
  1688. "responses": {
  1689. "200": {
  1690. "description": "OK",
  1691. "schema": {
  1692. "type": "array",
  1693. "items": {
  1694. "$ref": "#/definitions/models.ErmcpRole"
  1695. }
  1696. }
  1697. },
  1698. "500": {
  1699. "description": "Internal Server Error",
  1700. "schema": {
  1701. "$ref": "#/definitions/app.Response"
  1702. }
  1703. }
  1704. }
  1705. }
  1706. },
  1707. "/Ermcp/QueryAccMgrRoleMenu": {
  1708. "get": {
  1709. "security": [
  1710. {
  1711. "ApiKeyAuth": []
  1712. }
  1713. ],
  1714. "produces": [
  1715. "application/json"
  1716. ],
  1717. "tags": [
  1718. "企业风险管理(app)"
  1719. ],
  1720. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1721. "parameters": [
  1722. {
  1723. "type": "integer",
  1724. "description": "用户ID",
  1725. "name": "userid",
  1726. "in": "query",
  1727. "required": true
  1728. },
  1729. {
  1730. "type": "string",
  1731. "description": "角色id(可多个,逗号隔开)",
  1732. "name": "roleid",
  1733. "in": "query"
  1734. }
  1735. ],
  1736. "responses": {
  1737. "200": {
  1738. "description": "OK",
  1739. "schema": {
  1740. "type": "array",
  1741. "items": {
  1742. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1743. }
  1744. }
  1745. },
  1746. "500": {
  1747. "description": "Internal Server Error",
  1748. "schema": {
  1749. "$ref": "#/definitions/app.Response"
  1750. }
  1751. }
  1752. }
  1753. }
  1754. },
  1755. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1756. "get": {
  1757. "security": [
  1758. {
  1759. "ApiKeyAuth": []
  1760. }
  1761. ],
  1762. "produces": [
  1763. "application/json"
  1764. ],
  1765. "tags": [
  1766. "企业风险管理(app)"
  1767. ],
  1768. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1769. "parameters": [
  1770. {
  1771. "type": "integer",
  1772. "description": "用户ID",
  1773. "name": "userid",
  1774. "in": "query",
  1775. "required": true
  1776. },
  1777. {
  1778. "type": "integer",
  1779. "description": "账号id",
  1780. "name": "accountid",
  1781. "in": "query"
  1782. }
  1783. ],
  1784. "responses": {
  1785. "200": {
  1786. "description": "OK",
  1787. "schema": {
  1788. "type": "array",
  1789. "items": {
  1790. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1791. }
  1792. }
  1793. },
  1794. "500": {
  1795. "description": "Internal Server Error",
  1796. "schema": {
  1797. "$ref": "#/definitions/app.Response"
  1798. }
  1799. }
  1800. }
  1801. }
  1802. },
  1803. "/Ermcp/QueryAccMgrTaaccount": {
  1804. "get": {
  1805. "security": [
  1806. {
  1807. "ApiKeyAuth": []
  1808. }
  1809. ],
  1810. "produces": [
  1811. "application/json"
  1812. ],
  1813. "tags": [
  1814. "企业风险管理(app)"
  1815. ],
  1816. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1817. "parameters": [
  1818. {
  1819. "type": "integer",
  1820. "description": "用户ID",
  1821. "name": "userid",
  1822. "in": "query",
  1823. "required": true
  1824. }
  1825. ],
  1826. "responses": {
  1827. "200": {
  1828. "description": "OK",
  1829. "schema": {
  1830. "type": "array",
  1831. "items": {
  1832. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1833. }
  1834. }
  1835. },
  1836. "500": {
  1837. "description": "Internal Server Error",
  1838. "schema": {
  1839. "$ref": "#/definitions/app.Response"
  1840. }
  1841. }
  1842. }
  1843. }
  1844. },
  1845. "/Ermcp/QueryAreaStock": {
  1846. "get": {
  1847. "security": [
  1848. {
  1849. "ApiKeyAuth": []
  1850. }
  1851. ],
  1852. "produces": [
  1853. "application/json"
  1854. ],
  1855. "tags": [
  1856. "企业风险管理(app)"
  1857. ],
  1858. "summary": "查询机构库存(库存管理/当前库存)",
  1859. "parameters": [
  1860. {
  1861. "type": "integer",
  1862. "description": "用户ID",
  1863. "name": "userid",
  1864. "in": "query",
  1865. "required": true
  1866. }
  1867. ],
  1868. "responses": {
  1869. "200": {
  1870. "description": "OK",
  1871. "schema": {
  1872. "type": "array",
  1873. "items": {
  1874. "$ref": "#/definitions/models.ErmcpAreaStock"
  1875. }
  1876. }
  1877. },
  1878. "500": {
  1879. "description": "Internal Server Error",
  1880. "schema": {
  1881. "$ref": "#/definitions/app.Response"
  1882. }
  1883. }
  1884. }
  1885. }
  1886. },
  1887. "/Ermcp/QueryAreaStockApply": {
  1888. "get": {
  1889. "security": [
  1890. {
  1891. "ApiKeyAuth": []
  1892. }
  1893. ],
  1894. "produces": [
  1895. "application/json"
  1896. ],
  1897. "tags": [
  1898. "企业风险管理(app)"
  1899. ],
  1900. "summary": "查询库存申请(出入库记录|库存审核)",
  1901. "parameters": [
  1902. {
  1903. "type": "integer",
  1904. "description": "用户ID",
  1905. "name": "userid",
  1906. "in": "query",
  1907. "required": true
  1908. },
  1909. {
  1910. "type": "string",
  1911. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1912. "name": "inouttype",
  1913. "in": "query"
  1914. },
  1915. {
  1916. "type": "integer",
  1917. "description": "合同ID",
  1918. "name": "spotcontractid",
  1919. "in": "query"
  1920. },
  1921. {
  1922. "type": "integer",
  1923. "description": "现货商品ID",
  1924. "name": "wrstandardid",
  1925. "in": "query"
  1926. },
  1927. {
  1928. "type": "integer",
  1929. "description": "品牌ID",
  1930. "name": "spotgoodsbrandid",
  1931. "in": "query"
  1932. },
  1933. {
  1934. "type": "integer",
  1935. "description": "型号ID",
  1936. "name": "spotgoodsmodelid",
  1937. "in": "query"
  1938. },
  1939. {
  1940. "type": "integer",
  1941. "description": "仓库ID",
  1942. "name": "warehouseinfoid",
  1943. "in": "query"
  1944. },
  1945. {
  1946. "type": "string",
  1947. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1948. "name": "applystatus",
  1949. "in": "query"
  1950. }
  1951. ],
  1952. "responses": {
  1953. "200": {
  1954. "description": "OK",
  1955. "schema": {
  1956. "type": "array",
  1957. "items": {
  1958. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1959. }
  1960. }
  1961. },
  1962. "500": {
  1963. "description": "Internal Server Error",
  1964. "schema": {
  1965. "$ref": "#/definitions/app.Response"
  1966. }
  1967. }
  1968. }
  1969. }
  1970. },
  1971. "/Ermcp/QueryAreaStockApplySum": {
  1972. "get": {
  1973. "security": [
  1974. {
  1975. "ApiKeyAuth": []
  1976. }
  1977. ],
  1978. "produces": [
  1979. "application/json"
  1980. ],
  1981. "tags": [
  1982. "企业风险管理(app)"
  1983. ],
  1984. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1985. "parameters": [
  1986. {
  1987. "type": "integer",
  1988. "description": "合同ID",
  1989. "name": "spotcontractid",
  1990. "in": "query"
  1991. }
  1992. ],
  1993. "responses": {
  1994. "200": {
  1995. "description": "OK",
  1996. "schema": {
  1997. "type": "array",
  1998. "items": {
  1999. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  2000. }
  2001. }
  2002. },
  2003. "500": {
  2004. "description": "Internal Server Error",
  2005. "schema": {
  2006. "$ref": "#/definitions/app.Response"
  2007. }
  2008. }
  2009. }
  2010. }
  2011. },
  2012. "/Ermcp/QueryAreaStockReport": {
  2013. "get": {
  2014. "security": [
  2015. {
  2016. "ApiKeyAuth": []
  2017. }
  2018. ],
  2019. "produces": [
  2020. "application/json"
  2021. ],
  2022. "tags": [
  2023. "企业风险管理(app)"
  2024. ],
  2025. "summary": "查询库存报表",
  2026. "parameters": [
  2027. {
  2028. "type": "integer",
  2029. "description": "用户ID",
  2030. "name": "userid",
  2031. "in": "query",
  2032. "required": true
  2033. },
  2034. {
  2035. "type": "integer",
  2036. "description": "查询类型 1-日报表 2-月报表",
  2037. "name": "querytype",
  2038. "in": "query",
  2039. "required": true
  2040. },
  2041. {
  2042. "type": "string",
  2043. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2044. "name": "querydate",
  2045. "in": "query",
  2046. "required": true
  2047. },
  2048. {
  2049. "type": "integer",
  2050. "description": "现货商品ID",
  2051. "name": "wrstandardid",
  2052. "in": "query"
  2053. },
  2054. {
  2055. "type": "integer",
  2056. "description": "品牌ID",
  2057. "name": "spotgoodsbrandid",
  2058. "in": "query"
  2059. },
  2060. {
  2061. "type": "integer",
  2062. "description": "型号ID",
  2063. "name": "spotgoodsmodelid",
  2064. "in": "query"
  2065. },
  2066. {
  2067. "type": "integer",
  2068. "description": "仓库ID",
  2069. "name": "warehouseinfoid",
  2070. "in": "query"
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryAreaStockReportDetail": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询库存报表明细",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "用户ID",
  2110. "name": "userid",
  2111. "in": "query",
  2112. "required": true
  2113. },
  2114. {
  2115. "type": "integer",
  2116. "description": "查询类型 1-日报表明细 2-月报表明细",
  2117. "name": "querytype",
  2118. "in": "query",
  2119. "required": true
  2120. },
  2121. {
  2122. "type": "integer",
  2123. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2124. "name": "detailtype",
  2125. "in": "query",
  2126. "required": true
  2127. },
  2128. {
  2129. "type": "string",
  2130. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2131. "name": "querydate",
  2132. "in": "query",
  2133. "required": true
  2134. },
  2135. {
  2136. "type": "integer",
  2137. "description": "现货商品ID",
  2138. "name": "wrstandardid",
  2139. "in": "query"
  2140. },
  2141. {
  2142. "type": "integer",
  2143. "description": "品牌ID",
  2144. "name": "spotgoodsbrandid",
  2145. "in": "query"
  2146. },
  2147. {
  2148. "type": "integer",
  2149. "description": "型号ID",
  2150. "name": "spotgoodsmodelid",
  2151. "in": "query"
  2152. },
  2153. {
  2154. "type": "integer",
  2155. "description": "仓库ID",
  2156. "name": "warehouseinfoid",
  2157. "in": "query"
  2158. }
  2159. ],
  2160. "responses": {
  2161. "200": {
  2162. "description": "OK",
  2163. "schema": {
  2164. "type": "array",
  2165. "items": {
  2166. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2167. }
  2168. }
  2169. },
  2170. "500": {
  2171. "description": "Internal Server Error",
  2172. "schema": {
  2173. "$ref": "#/definitions/app.Response"
  2174. }
  2175. }
  2176. }
  2177. }
  2178. },
  2179. "/Ermcp/QueryAvaildGoodsGroup": {
  2180. "get": {
  2181. "security": [
  2182. {
  2183. "ApiKeyAuth": []
  2184. }
  2185. ],
  2186. "produces": [
  2187. "application/json"
  2188. ],
  2189. "tags": [
  2190. "企业风险管理(app)"
  2191. ],
  2192. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2193. "parameters": [
  2194. {
  2195. "type": "integer",
  2196. "description": "所属机构ID",
  2197. "name": "userid",
  2198. "in": "query",
  2199. "required": true
  2200. }
  2201. ],
  2202. "responses": {
  2203. "200": {
  2204. "description": "OK",
  2205. "schema": {
  2206. "type": "array",
  2207. "items": {
  2208. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2209. }
  2210. }
  2211. },
  2212. "500": {
  2213. "description": "Internal Server Error",
  2214. "schema": {
  2215. "$ref": "#/definitions/app.Response"
  2216. }
  2217. }
  2218. }
  2219. }
  2220. },
  2221. "/Ermcp/QueryBusinessDj": {
  2222. "get": {
  2223. "security": [
  2224. {
  2225. "ApiKeyAuth": []
  2226. }
  2227. ],
  2228. "produces": [
  2229. "application/json"
  2230. ],
  2231. "tags": [
  2232. "企业风险管理(app)"
  2233. ],
  2234. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2235. "parameters": [
  2236. {
  2237. "type": "integer",
  2238. "description": "用户ID",
  2239. "name": "UserId",
  2240. "in": "query",
  2241. "required": true
  2242. },
  2243. {
  2244. "type": "string",
  2245. "description": "现货合同ID, 不填则查所有",
  2246. "name": "relatedid",
  2247. "in": "query"
  2248. },
  2249. {
  2250. "type": "string",
  2251. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2252. "name": "applystatus",
  2253. "in": "query"
  2254. }
  2255. ],
  2256. "responses": {
  2257. "200": {
  2258. "description": "OK",
  2259. "schema": {
  2260. "type": "array",
  2261. "items": {
  2262. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2263. }
  2264. }
  2265. },
  2266. "500": {
  2267. "description": "Internal Server Error",
  2268. "schema": {
  2269. "$ref": "#/definitions/app.Response"
  2270. }
  2271. }
  2272. }
  2273. }
  2274. },
  2275. "/Ermcp/QueryBusinessFp": {
  2276. "get": {
  2277. "security": [
  2278. {
  2279. "ApiKeyAuth": []
  2280. }
  2281. ],
  2282. "produces": [
  2283. "application/json"
  2284. ],
  2285. "tags": [
  2286. "企业风险管理(app)"
  2287. ],
  2288. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2289. "parameters": [
  2290. {
  2291. "type": "integer",
  2292. "description": "用户ID",
  2293. "name": "UserId",
  2294. "in": "query",
  2295. "required": true
  2296. },
  2297. {
  2298. "type": "string",
  2299. "description": "现货合同ID, 不填则查所有",
  2300. "name": "relatedid",
  2301. "in": "query"
  2302. },
  2303. {
  2304. "type": "string",
  2305. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2306. "name": "applystatus",
  2307. "in": "query"
  2308. }
  2309. ],
  2310. "responses": {
  2311. "200": {
  2312. "description": "OK",
  2313. "schema": {
  2314. "type": "array",
  2315. "items": {
  2316. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2317. }
  2318. }
  2319. },
  2320. "500": {
  2321. "description": "Internal Server Error",
  2322. "schema": {
  2323. "$ref": "#/definitions/app.Response"
  2324. }
  2325. }
  2326. }
  2327. }
  2328. },
  2329. "/Ermcp/QueryBusinessJs": {
  2330. "get": {
  2331. "security": [
  2332. {
  2333. "ApiKeyAuth": []
  2334. }
  2335. ],
  2336. "produces": [
  2337. "application/json"
  2338. ],
  2339. "tags": [
  2340. "企业风险管理(app)"
  2341. ],
  2342. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2343. "parameters": [
  2344. {
  2345. "type": "integer",
  2346. "description": "用户ID",
  2347. "name": "UserId",
  2348. "in": "query",
  2349. "required": true
  2350. },
  2351. {
  2352. "type": "string",
  2353. "description": "现货合同ID, 不填则查所有",
  2354. "name": "relatedid",
  2355. "in": "query"
  2356. },
  2357. {
  2358. "type": "string",
  2359. "description": "操作申请id",
  2360. "name": "operateapplyid",
  2361. "in": "query"
  2362. },
  2363. {
  2364. "type": "string",
  2365. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2366. "name": "applystatus",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "type": "array",
  2375. "items": {
  2376. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2377. }
  2378. }
  2379. },
  2380. "500": {
  2381. "description": "Internal Server Error",
  2382. "schema": {
  2383. "$ref": "#/definitions/app.Response"
  2384. }
  2385. }
  2386. }
  2387. }
  2388. },
  2389. "/Ermcp/QueryBusinessJsEx": {
  2390. "get": {
  2391. "security": [
  2392. {
  2393. "ApiKeyAuth": []
  2394. }
  2395. ],
  2396. "produces": [
  2397. "application/json"
  2398. ],
  2399. "tags": [
  2400. "企业风险管理(app)"
  2401. ],
  2402. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2403. "parameters": [
  2404. {
  2405. "type": "integer",
  2406. "description": "用户ID",
  2407. "name": "UserId",
  2408. "in": "query",
  2409. "required": true
  2410. },
  2411. {
  2412. "type": "string",
  2413. "description": "现货合同ID, 不填则查所有",
  2414. "name": "relatedid",
  2415. "in": "query"
  2416. },
  2417. {
  2418. "type": "string",
  2419. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2420. "name": "applystatus",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryBusinessKx": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "UserId",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "string",
  2467. "description": "现货合同ID, 不填则查所有",
  2468. "name": "relatedid",
  2469. "in": "query"
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2474. "name": "applystatus",
  2475. "in": "query"
  2476. }
  2477. ],
  2478. "responses": {
  2479. "200": {
  2480. "description": "OK",
  2481. "schema": {
  2482. "type": "array",
  2483. "items": {
  2484. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2485. }
  2486. }
  2487. },
  2488. "500": {
  2489. "description": "Internal Server Error",
  2490. "schema": {
  2491. "$ref": "#/definitions/app.Response"
  2492. }
  2493. }
  2494. }
  2495. }
  2496. },
  2497. "/Ermcp/QueryChangeLog": {
  2498. "get": {
  2499. "security": [
  2500. {
  2501. "ApiKeyAuth": []
  2502. }
  2503. ],
  2504. "produces": [
  2505. "application/json"
  2506. ],
  2507. "tags": [
  2508. "企业风险管理(app)"
  2509. ],
  2510. "summary": "查询变更记录",
  2511. "parameters": [
  2512. {
  2513. "type": "string",
  2514. "description": "合同ID",
  2515. "name": "RelatedId",
  2516. "in": "query",
  2517. "required": true
  2518. }
  2519. ],
  2520. "responses": {
  2521. "200": {
  2522. "description": "OK",
  2523. "schema": {
  2524. "type": "array",
  2525. "items": {
  2526. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2527. }
  2528. }
  2529. },
  2530. "500": {
  2531. "description": "Internal Server Error",
  2532. "schema": {
  2533. "$ref": "#/definitions/app.Response"
  2534. }
  2535. }
  2536. }
  2537. }
  2538. },
  2539. "/Ermcp/QueryContract": {
  2540. "get": {
  2541. "security": [
  2542. {
  2543. "ApiKeyAuth": []
  2544. }
  2545. ],
  2546. "produces": [
  2547. "application/json"
  2548. ],
  2549. "tags": [
  2550. "企业风险管理(app)"
  2551. ],
  2552. "summary": "查询合同(采购和销售)",
  2553. "parameters": [
  2554. {
  2555. "type": "integer",
  2556. "description": "用户ID",
  2557. "name": "userId",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "integer",
  2563. "description": "合同类型 1-采购, -1-销售",
  2564. "name": "contracttype",
  2565. "in": "query",
  2566. "required": true
  2567. },
  2568. {
  2569. "type": "integer",
  2570. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2571. "name": "querytype",
  2572. "in": "query",
  2573. "required": true
  2574. },
  2575. {
  2576. "type": "string",
  2577. "description": "合同ID(SpotContractId)",
  2578. "name": "contractid",
  2579. "in": "query"
  2580. }
  2581. ],
  2582. "responses": {
  2583. "200": {
  2584. "description": "OK",
  2585. "schema": {
  2586. "type": "array",
  2587. "items": {
  2588. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2589. }
  2590. }
  2591. },
  2592. "500": {
  2593. "description": "Internal Server Error",
  2594. "schema": {
  2595. "$ref": "#/definitions/app.Response"
  2596. }
  2597. }
  2598. }
  2599. }
  2600. },
  2601. "/Ermcp/QueryErmcpHisOrderDetails": {
  2602. "get": {
  2603. "security": [
  2604. {
  2605. "ApiKeyAuth": []
  2606. }
  2607. ],
  2608. "produces": [
  2609. "application/json"
  2610. ],
  2611. "tags": [
  2612. "企业风险管理(app)"
  2613. ],
  2614. "summary": "获取企业风管期货历史委托单信息",
  2615. "parameters": [
  2616. {
  2617. "type": "integer",
  2618. "description": "资金账户ID",
  2619. "name": "accountID",
  2620. "in": "query",
  2621. "required": true
  2622. },
  2623. {
  2624. "type": "string",
  2625. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2626. "name": "startDate",
  2627. "in": "query"
  2628. },
  2629. {
  2630. "type": "string",
  2631. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2632. "name": "endDate",
  2633. "in": "query"
  2634. }
  2635. ],
  2636. "responses": {
  2637. "200": {
  2638. "description": "OK",
  2639. "schema": {
  2640. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2641. }
  2642. },
  2643. "500": {
  2644. "description": "Internal Server Error",
  2645. "schema": {
  2646. "$ref": "#/definitions/app.Response"
  2647. }
  2648. }
  2649. }
  2650. }
  2651. },
  2652. "/Ermcp/QueryErmcpHisTradeDetails": {
  2653. "get": {
  2654. "security": [
  2655. {
  2656. "ApiKeyAuth": []
  2657. }
  2658. ],
  2659. "produces": [
  2660. "application/json"
  2661. ],
  2662. "tags": [
  2663. "企业风险管理(app)"
  2664. ],
  2665. "summary": "获取企业风管期货历史成交单信息",
  2666. "parameters": [
  2667. {
  2668. "type": "integer",
  2669. "description": "资金账户ID",
  2670. "name": "accountID",
  2671. "in": "query",
  2672. "required": true
  2673. },
  2674. {
  2675. "type": "integer",
  2676. "description": "商品ID",
  2677. "name": "goodsID",
  2678. "in": "query"
  2679. },
  2680. {
  2681. "type": "integer",
  2682. "description": "买卖方向,0:买 1:卖",
  2683. "name": "buyOrSell",
  2684. "in": "query"
  2685. },
  2686. {
  2687. "type": "integer",
  2688. "description": "关联委托单号",
  2689. "name": "orderID",
  2690. "in": "query"
  2691. },
  2692. {
  2693. "type": "string",
  2694. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2695. "name": "startDate",
  2696. "in": "query"
  2697. },
  2698. {
  2699. "type": "string",
  2700. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2701. "name": "endDate",
  2702. "in": "query"
  2703. }
  2704. ],
  2705. "responses": {
  2706. "200": {
  2707. "description": "OK",
  2708. "schema": {
  2709. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2710. }
  2711. },
  2712. "500": {
  2713. "description": "Internal Server Error",
  2714. "schema": {
  2715. "$ref": "#/definitions/app.Response"
  2716. }
  2717. }
  2718. }
  2719. }
  2720. },
  2721. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2722. "get": {
  2723. "security": [
  2724. {
  2725. "ApiKeyAuth": []
  2726. }
  2727. ],
  2728. "produces": [
  2729. "application/json"
  2730. ],
  2731. "tags": [
  2732. "企业风险管理(app)"
  2733. ],
  2734. "summary": "获取企业风管期货内部持仓单信息",
  2735. "parameters": [
  2736. {
  2737. "type": "integer",
  2738. "description": "资金账户ID",
  2739. "name": "accountID",
  2740. "in": "query",
  2741. "required": true
  2742. },
  2743. {
  2744. "type": "integer",
  2745. "description": "商品ID",
  2746. "name": "goodsID",
  2747. "in": "query"
  2748. },
  2749. {
  2750. "type": "integer",
  2751. "description": "买卖方向,0:买 1:卖",
  2752. "name": "buyOrSell",
  2753. "in": "query"
  2754. }
  2755. ],
  2756. "responses": {
  2757. "200": {
  2758. "description": "OK",
  2759. "schema": {
  2760. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2761. }
  2762. },
  2763. "500": {
  2764. "description": "Internal Server Error",
  2765. "schema": {
  2766. "$ref": "#/definitions/app.Response"
  2767. }
  2768. }
  2769. }
  2770. }
  2771. },
  2772. "/Ermcp/QueryErmcpOrderDetails": {
  2773. "get": {
  2774. "security": [
  2775. {
  2776. "ApiKeyAuth": []
  2777. }
  2778. ],
  2779. "produces": [
  2780. "application/json"
  2781. ],
  2782. "tags": [
  2783. "企业风险管理(app)"
  2784. ],
  2785. "summary": "获取企业风管期货委托单信息",
  2786. "parameters": [
  2787. {
  2788. "type": "integer",
  2789. "description": "资金账户ID",
  2790. "name": "accountID",
  2791. "in": "query",
  2792. "required": true
  2793. }
  2794. ],
  2795. "responses": {
  2796. "200": {
  2797. "description": "OK",
  2798. "schema": {
  2799. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2800. }
  2801. },
  2802. "500": {
  2803. "description": "Internal Server Error",
  2804. "schema": {
  2805. "$ref": "#/definitions/app.Response"
  2806. }
  2807. }
  2808. }
  2809. }
  2810. },
  2811. "/Ermcp/QueryErmcpTradeDetails": {
  2812. "get": {
  2813. "security": [
  2814. {
  2815. "ApiKeyAuth": []
  2816. }
  2817. ],
  2818. "produces": [
  2819. "application/json"
  2820. ],
  2821. "tags": [
  2822. "企业风险管理(app)"
  2823. ],
  2824. "summary": "获取企业风管期货成交单信息",
  2825. "parameters": [
  2826. {
  2827. "type": "integer",
  2828. "description": "资金账户ID",
  2829. "name": "accountID",
  2830. "in": "query",
  2831. "required": true
  2832. },
  2833. {
  2834. "type": "integer",
  2835. "description": "商品ID",
  2836. "name": "goodsID",
  2837. "in": "query"
  2838. },
  2839. {
  2840. "type": "integer",
  2841. "description": "买卖方向,0:买 1:卖",
  2842. "name": "buyOrSell",
  2843. "in": "query"
  2844. },
  2845. {
  2846. "type": "integer",
  2847. "description": "关联委托单号",
  2848. "name": "orderID",
  2849. "in": "query"
  2850. }
  2851. ],
  2852. "responses": {
  2853. "200": {
  2854. "description": "OK",
  2855. "schema": {
  2856. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2857. }
  2858. },
  2859. "500": {
  2860. "description": "Internal Server Error",
  2861. "schema": {
  2862. "$ref": "#/definitions/app.Response"
  2863. }
  2864. }
  2865. }
  2866. }
  2867. },
  2868. "/Ermcp/QueryErmcpTradePosition": {
  2869. "get": {
  2870. "security": [
  2871. {
  2872. "ApiKeyAuth": []
  2873. }
  2874. ],
  2875. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2876. "produces": [
  2877. "application/json"
  2878. ],
  2879. "tags": [
  2880. "企业风险管理(app)"
  2881. ],
  2882. "summary": "获取企业风管期货持仓头寸信息",
  2883. "parameters": [
  2884. {
  2885. "type": "integer",
  2886. "description": "资金账户ID",
  2887. "name": "accountID",
  2888. "in": "query",
  2889. "required": true
  2890. },
  2891. {
  2892. "type": "integer",
  2893. "description": "所属市场ID",
  2894. "name": "marketID",
  2895. "in": "query"
  2896. }
  2897. ],
  2898. "responses": {
  2899. "200": {
  2900. "description": "OK",
  2901. "schema": {
  2902. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2903. }
  2904. },
  2905. "500": {
  2906. "description": "Internal Server Error",
  2907. "schema": {
  2908. "$ref": "#/definitions/app.Response"
  2909. }
  2910. }
  2911. }
  2912. }
  2913. },
  2914. "/Ermcp/QueryExposureDetail": {
  2915. "get": {
  2916. "security": [
  2917. {
  2918. "ApiKeyAuth": []
  2919. }
  2920. ],
  2921. "produces": [
  2922. "application/json"
  2923. ],
  2924. "tags": [
  2925. "企业风险管理(app)"
  2926. ],
  2927. "summary": "查询敞口现货明细",
  2928. "parameters": [
  2929. {
  2930. "type": "integer",
  2931. "description": "所属机构ID",
  2932. "name": "areaUserId",
  2933. "in": "query",
  2934. "required": true
  2935. },
  2936. {
  2937. "type": "integer",
  2938. "description": "套保商品",
  2939. "name": "middleGoodsId",
  2940. "in": "query",
  2941. "required": true
  2942. }
  2943. ],
  2944. "responses": {
  2945. "200": {
  2946. "description": "OK",
  2947. "schema": {
  2948. "type": "array",
  2949. "items": {
  2950. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2951. }
  2952. }
  2953. },
  2954. "500": {
  2955. "description": "Internal Server Error",
  2956. "schema": {
  2957. "$ref": "#/definitions/app.Response"
  2958. }
  2959. }
  2960. }
  2961. }
  2962. },
  2963. "/Ermcp/QueryExposureHedgePosition": {
  2964. "get": {
  2965. "security": [
  2966. {
  2967. "ApiKeyAuth": []
  2968. }
  2969. ],
  2970. "produces": [
  2971. "application/json"
  2972. ],
  2973. "tags": [
  2974. "企业风险管理(app)"
  2975. ],
  2976. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2977. "parameters": [
  2978. {
  2979. "type": "integer",
  2980. "description": "所属机构ID",
  2981. "name": "areaUserId",
  2982. "in": "query",
  2983. "required": true
  2984. }
  2985. ],
  2986. "responses": {
  2987. "200": {
  2988. "description": "OK",
  2989. "schema": {
  2990. "type": "array",
  2991. "items": {
  2992. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2993. }
  2994. }
  2995. },
  2996. "500": {
  2997. "description": "Internal Server Error",
  2998. "schema": {
  2999. "$ref": "#/definitions/app.Response"
  3000. }
  3001. }
  3002. }
  3003. }
  3004. },
  3005. "/Ermcp/QueryExposureHedgePositionDetail": {
  3006. "get": {
  3007. "security": [
  3008. {
  3009. "ApiKeyAuth": []
  3010. }
  3011. ],
  3012. "produces": [
  3013. "application/json"
  3014. ],
  3015. "tags": [
  3016. "企业风险管理(app)"
  3017. ],
  3018. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3019. "parameters": [
  3020. {
  3021. "type": "integer",
  3022. "description": "所属机构ID",
  3023. "name": "areaUserId",
  3024. "in": "query",
  3025. "required": true
  3026. },
  3027. {
  3028. "type": "integer",
  3029. "description": "商品id",
  3030. "name": "goodsId",
  3031. "in": "query",
  3032. "required": true
  3033. }
  3034. ],
  3035. "responses": {
  3036. "200": {
  3037. "description": "OK",
  3038. "schema": {
  3039. "type": "array",
  3040. "items": {
  3041. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3042. }
  3043. }
  3044. },
  3045. "500": {
  3046. "description": "Internal Server Error",
  3047. "schema": {
  3048. "$ref": "#/definitions/app.Response"
  3049. }
  3050. }
  3051. }
  3052. }
  3053. },
  3054. "/Ermcp/QueryExposureSpot": {
  3055. "get": {
  3056. "security": [
  3057. {
  3058. "ApiKeyAuth": []
  3059. }
  3060. ],
  3061. "produces": [
  3062. "application/json"
  3063. ],
  3064. "tags": [
  3065. "企业风险管理(app)"
  3066. ],
  3067. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3068. "parameters": [
  3069. {
  3070. "type": "integer",
  3071. "description": "所属机构ID",
  3072. "name": "areaUserId",
  3073. "in": "query",
  3074. "required": true
  3075. }
  3076. ],
  3077. "responses": {
  3078. "200": {
  3079. "description": "OK",
  3080. "schema": {
  3081. "type": "array",
  3082. "items": {
  3083. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3084. }
  3085. }
  3086. },
  3087. "500": {
  3088. "description": "Internal Server Error",
  3089. "schema": {
  3090. "$ref": "#/definitions/app.Response"
  3091. }
  3092. }
  3093. }
  3094. }
  3095. },
  3096. "/Ermcp/QueryExposureSpotDetail": {
  3097. "get": {
  3098. "security": [
  3099. {
  3100. "ApiKeyAuth": []
  3101. }
  3102. ],
  3103. "produces": [
  3104. "application/json"
  3105. ],
  3106. "tags": [
  3107. "企业风险管理(app)"
  3108. ],
  3109. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3110. "parameters": [
  3111. {
  3112. "type": "integer",
  3113. "description": "所属机构ID",
  3114. "name": "areaUserId",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种ID",
  3121. "name": "wrstandardId",
  3122. "in": "query",
  3123. "required": true
  3124. }
  3125. ],
  3126. "responses": {
  3127. "200": {
  3128. "description": "OK",
  3129. "schema": {
  3130. "type": "array",
  3131. "items": {
  3132. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3133. }
  3134. }
  3135. },
  3136. "500": {
  3137. "description": "Internal Server Error",
  3138. "schema": {
  3139. "$ref": "#/definitions/app.Response"
  3140. }
  3141. }
  3142. }
  3143. }
  3144. },
  3145. "/Ermcp/QueryFuturesCompany": {
  3146. "get": {
  3147. "security": [
  3148. {
  3149. "ApiKeyAuth": []
  3150. }
  3151. ],
  3152. "produces": [
  3153. "application/json"
  3154. ],
  3155. "tags": [
  3156. "企业风险管理(app)"
  3157. ],
  3158. "summary": "查询期货公司",
  3159. "responses": {
  3160. "200": {
  3161. "description": "OK",
  3162. "schema": {
  3163. "type": "array",
  3164. "items": {
  3165. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3166. }
  3167. }
  3168. },
  3169. "500": {
  3170. "description": "Internal Server Error",
  3171. "schema": {
  3172. "$ref": "#/definitions/app.Response"
  3173. }
  3174. }
  3175. }
  3176. }
  3177. },
  3178. "/Ermcp/QueryGGConvertConfig": {
  3179. "get": {
  3180. "security": [
  3181. {
  3182. "ApiKeyAuth": []
  3183. }
  3184. ],
  3185. "produces": [
  3186. "application/json"
  3187. ],
  3188. "tags": [
  3189. "企业风险管理(app)"
  3190. ],
  3191. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3192. "parameters": [
  3193. {
  3194. "type": "integer",
  3195. "description": "品种id(不填则查所有)",
  3196. "name": "goodsgroupid",
  3197. "in": "query"
  3198. }
  3199. ],
  3200. "responses": {
  3201. "200": {
  3202. "description": "OK",
  3203. "schema": {
  3204. "type": "array",
  3205. "items": {
  3206. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3207. }
  3208. }
  3209. },
  3210. "500": {
  3211. "description": "Internal Server Error",
  3212. "schema": {
  3213. "$ref": "#/definitions/app.Response"
  3214. }
  3215. }
  3216. }
  3217. }
  3218. },
  3219. "/Ermcp/QueryGoodsBrand": {
  3220. "get": {
  3221. "security": [
  3222. {
  3223. "ApiKeyAuth": []
  3224. }
  3225. ],
  3226. "produces": [
  3227. "application/json"
  3228. ],
  3229. "tags": [
  3230. "企业风险管理(app)"
  3231. ],
  3232. "summary": "查询商品品牌",
  3233. "parameters": [
  3234. {
  3235. "type": "integer",
  3236. "description": "用户ID",
  3237. "name": "userid",
  3238. "in": "query",
  3239. "required": true
  3240. },
  3241. {
  3242. "type": "integer",
  3243. "description": "现货商品ID",
  3244. "name": "wrstandardid",
  3245. "in": "query"
  3246. }
  3247. ],
  3248. "responses": {
  3249. "200": {
  3250. "description": "OK",
  3251. "schema": {
  3252. "type": "array",
  3253. "items": {
  3254. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3255. }
  3256. }
  3257. },
  3258. "500": {
  3259. "description": "Internal Server Error",
  3260. "schema": {
  3261. "$ref": "#/definitions/app.Response"
  3262. }
  3263. }
  3264. }
  3265. }
  3266. },
  3267. "/Ermcp/QueryGoodsModel": {
  3268. "get": {
  3269. "security": [
  3270. {
  3271. "ApiKeyAuth": []
  3272. }
  3273. ],
  3274. "produces": [
  3275. "application/json"
  3276. ],
  3277. "tags": [
  3278. "企业风险管理(app)"
  3279. ],
  3280. "summary": "查询商品型号",
  3281. "parameters": [
  3282. {
  3283. "type": "integer",
  3284. "description": "用户ID",
  3285. "name": "userid",
  3286. "in": "query",
  3287. "required": true
  3288. }
  3289. ],
  3290. "responses": {
  3291. "200": {
  3292. "description": "OK",
  3293. "schema": {
  3294. "type": "array",
  3295. "items": {
  3296. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Ermcp/QueryHedgePlan": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "企业风险管理(app)"
  3321. ],
  3322. "summary": "查询套保计划",
  3323. "parameters": [
  3324. {
  3325. "type": "integer",
  3326. "description": "用户ID",
  3327. "name": "userId",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "string",
  3333. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3334. "name": "HedgePlanStatus",
  3335. "in": "query",
  3336. "required": true
  3337. }
  3338. ],
  3339. "responses": {
  3340. "200": {
  3341. "description": "OK",
  3342. "schema": {
  3343. "type": "array",
  3344. "items": {
  3345. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3346. }
  3347. }
  3348. },
  3349. "500": {
  3350. "description": "Internal Server Error",
  3351. "schema": {
  3352. "$ref": "#/definitions/app.Response"
  3353. }
  3354. }
  3355. }
  3356. }
  3357. },
  3358. "/Ermcp/QueryHisExposure": {
  3359. "get": {
  3360. "security": [
  3361. {
  3362. "ApiKeyAuth": []
  3363. }
  3364. ],
  3365. "produces": [
  3366. "application/json"
  3367. ],
  3368. "tags": [
  3369. "企业风险管理(app)"
  3370. ],
  3371. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3372. "parameters": [
  3373. {
  3374. "type": "integer",
  3375. "description": "所属机构ID",
  3376. "name": "areaUserId",
  3377. "in": "query",
  3378. "required": true
  3379. },
  3380. {
  3381. "type": "integer",
  3382. "description": "每个品种记录数",
  3383. "name": "lastNum",
  3384. "in": "query",
  3385. "required": true
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "OK",
  3391. "schema": {
  3392. "type": "array",
  3393. "items": {
  3394. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3395. }
  3396. }
  3397. },
  3398. "500": {
  3399. "description": "Internal Server Error",
  3400. "schema": {
  3401. "$ref": "#/definitions/app.Response"
  3402. }
  3403. }
  3404. }
  3405. }
  3406. },
  3407. "/Ermcp/QueryMiddleGoods": {
  3408. "get": {
  3409. "security": [
  3410. {
  3411. "ApiKeyAuth": []
  3412. }
  3413. ],
  3414. "produces": [
  3415. "application/json"
  3416. ],
  3417. "tags": [
  3418. "企业风险管理(app)"
  3419. ],
  3420. "summary": "查询套保品种(菜单:套保品种)",
  3421. "parameters": [
  3422. {
  3423. "type": "integer",
  3424. "description": "所属机构ID",
  3425. "name": "userid",
  3426. "in": "query",
  3427. "required": true
  3428. },
  3429. {
  3430. "type": "integer",
  3431. "description": "状态 0-停用 1-正常",
  3432. "name": "status",
  3433. "in": "query",
  3434. "required": true
  3435. }
  3436. ],
  3437. "responses": {
  3438. "200": {
  3439. "description": "OK",
  3440. "schema": {
  3441. "type": "array",
  3442. "items": {
  3443. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3444. }
  3445. }
  3446. },
  3447. "500": {
  3448. "description": "Internal Server Error",
  3449. "schema": {
  3450. "$ref": "#/definitions/app.Response"
  3451. }
  3452. }
  3453. }
  3454. }
  3455. },
  3456. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3457. "get": {
  3458. "security": [
  3459. {
  3460. "ApiKeyAuth": []
  3461. }
  3462. ],
  3463. "produces": [
  3464. "application/json"
  3465. ],
  3466. "tags": [
  3467. "企业风险管理(app)"
  3468. ],
  3469. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3470. "parameters": [
  3471. {
  3472. "type": "integer",
  3473. "description": "所属机构ID",
  3474. "name": "userid",
  3475. "in": "query",
  3476. "required": true
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "套保品种id",
  3481. "name": "middlegoodsid",
  3482. "in": "query",
  3483. "required": true
  3484. }
  3485. ],
  3486. "responses": {
  3487. "200": {
  3488. "description": "OK",
  3489. "schema": {
  3490. "type": "array",
  3491. "items": {
  3492. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3493. }
  3494. }
  3495. },
  3496. "500": {
  3497. "description": "Internal Server Error",
  3498. "schema": {
  3499. "$ref": "#/definitions/app.Response"
  3500. }
  3501. }
  3502. }
  3503. }
  3504. },
  3505. "/Ermcp/QueryMiddleGoodsDetail": {
  3506. "get": {
  3507. "security": [
  3508. {
  3509. "ApiKeyAuth": []
  3510. }
  3511. ],
  3512. "produces": [
  3513. "application/json"
  3514. ],
  3515. "tags": [
  3516. "企业风险管理(app)"
  3517. ],
  3518. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3519. "parameters": [
  3520. {
  3521. "type": "integer",
  3522. "description": "所属机构ID",
  3523. "name": "userid",
  3524. "in": "query",
  3525. "required": true
  3526. },
  3527. {
  3528. "type": "integer",
  3529. "description": "套保品种id",
  3530. "name": "middlegoodsid",
  3531. "in": "query"
  3532. }
  3533. ],
  3534. "responses": {
  3535. "200": {
  3536. "description": "OK",
  3537. "schema": {
  3538. "type": "array",
  3539. "items": {
  3540. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3541. }
  3542. }
  3543. },
  3544. "500": {
  3545. "description": "Internal Server Error",
  3546. "schema": {
  3547. "$ref": "#/definitions/app.Response"
  3548. }
  3549. }
  3550. }
  3551. }
  3552. },
  3553. "/Ermcp/QueryPendingAuditInfo": {
  3554. "get": {
  3555. "security": [
  3556. {
  3557. "ApiKeyAuth": []
  3558. }
  3559. ],
  3560. "produces": [
  3561. "application/json"
  3562. ],
  3563. "tags": [
  3564. "企业风险管理(app)"
  3565. ],
  3566. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3567. "parameters": [
  3568. {
  3569. "type": "integer",
  3570. "description": "用户ID",
  3571. "name": "UserId",
  3572. "in": "query",
  3573. "required": true
  3574. }
  3575. ],
  3576. "responses": {
  3577. "200": {
  3578. "description": "OK",
  3579. "schema": {
  3580. "type": "array",
  3581. "items": {
  3582. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3583. }
  3584. }
  3585. },
  3586. "500": {
  3587. "description": "Internal Server Error",
  3588. "schema": {
  3589. "$ref": "#/definitions/app.Response"
  3590. }
  3591. }
  3592. }
  3593. }
  3594. },
  3595. "/Ermcp/QueryRealtimeExposure": {
  3596. "get": {
  3597. "security": [
  3598. {
  3599. "ApiKeyAuth": []
  3600. }
  3601. ],
  3602. "produces": [
  3603. "application/json"
  3604. ],
  3605. "tags": [
  3606. "企业风险管理(app)"
  3607. ],
  3608. "summary": "查询实时敞口",
  3609. "parameters": [
  3610. {
  3611. "type": "integer",
  3612. "description": "所属机构ID",
  3613. "name": "AreaUserID",
  3614. "in": "query",
  3615. "required": true
  3616. }
  3617. ],
  3618. "responses": {
  3619. "200": {
  3620. "description": "OK",
  3621. "schema": {
  3622. "type": "array",
  3623. "items": {
  3624. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3625. }
  3626. }
  3627. },
  3628. "500": {
  3629. "description": "Internal Server Error",
  3630. "schema": {
  3631. "$ref": "#/definitions/app.Response"
  3632. }
  3633. }
  3634. }
  3635. }
  3636. },
  3637. "/Ermcp/QueryRealtimeExposurePosition": {
  3638. "get": {
  3639. "security": [
  3640. {
  3641. "ApiKeyAuth": []
  3642. }
  3643. ],
  3644. "produces": [
  3645. "application/json"
  3646. ],
  3647. "tags": [
  3648. "企业风险管理(app)"
  3649. ],
  3650. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3651. "parameters": [
  3652. {
  3653. "type": "integer",
  3654. "description": "所属机构ID",
  3655. "name": "areaUserId",
  3656. "in": "query",
  3657. "required": true
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "套保商品ID",
  3662. "name": "middleGoodsId",
  3663. "in": "query",
  3664. "required": true
  3665. }
  3666. ],
  3667. "responses": {
  3668. "200": {
  3669. "description": "OK",
  3670. "schema": {
  3671. "type": "array",
  3672. "items": {
  3673. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3674. }
  3675. }
  3676. },
  3677. "500": {
  3678. "description": "Internal Server Error",
  3679. "schema": {
  3680. "$ref": "#/definitions/app.Response"
  3681. }
  3682. }
  3683. }
  3684. }
  3685. },
  3686. "/Ermcp/QuerySpotContract": {
  3687. "get": {
  3688. "security": [
  3689. {
  3690. "ApiKeyAuth": []
  3691. }
  3692. ],
  3693. "produces": [
  3694. "application/json"
  3695. ],
  3696. "tags": [
  3697. "企业风险管理(app)"
  3698. ],
  3699. "summary": "查询现货合同(对应现货合同菜单)",
  3700. "parameters": [
  3701. {
  3702. "type": "integer",
  3703. "description": "用户ID",
  3704. "name": "userId",
  3705. "in": "query",
  3706. "required": true
  3707. },
  3708. {
  3709. "type": "integer",
  3710. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3711. "name": "QueryType",
  3712. "in": "query",
  3713. "required": true
  3714. }
  3715. ],
  3716. "responses": {
  3717. "200": {
  3718. "description": "OK",
  3719. "schema": {
  3720. "type": "array",
  3721. "items": {
  3722. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3723. }
  3724. }
  3725. },
  3726. "500": {
  3727. "description": "Internal Server Error",
  3728. "schema": {
  3729. "$ref": "#/definitions/app.Response"
  3730. }
  3731. }
  3732. }
  3733. }
  3734. },
  3735. "/Ermcp/QuerySpotGoodsPrice": {
  3736. "get": {
  3737. "security": [
  3738. {
  3739. "ApiKeyAuth": []
  3740. }
  3741. ],
  3742. "produces": [
  3743. "application/json"
  3744. ],
  3745. "tags": [
  3746. "企业风险管理(app)"
  3747. ],
  3748. "summary": "查询现货市价(现货市价)",
  3749. "parameters": [
  3750. {
  3751. "type": "integer",
  3752. "description": "用户ID",
  3753. "name": "userid",
  3754. "in": "query",
  3755. "required": true
  3756. }
  3757. ],
  3758. "responses": {
  3759. "200": {
  3760. "description": "OK",
  3761. "schema": {
  3762. "type": "array",
  3763. "items": {
  3764. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3765. }
  3766. }
  3767. },
  3768. "500": {
  3769. "description": "Internal Server Error",
  3770. "schema": {
  3771. "$ref": "#/definitions/app.Response"
  3772. }
  3773. }
  3774. }
  3775. }
  3776. },
  3777. "/Ermcp/QuerySpotGoodsPriceLog": {
  3778. "get": {
  3779. "security": [
  3780. {
  3781. "ApiKeyAuth": []
  3782. }
  3783. ],
  3784. "produces": [
  3785. "application/json"
  3786. ],
  3787. "tags": [
  3788. "企业风险管理(app)"
  3789. ],
  3790. "summary": "查询现货市价详情(现货市价/详情)",
  3791. "parameters": [
  3792. {
  3793. "type": "integer",
  3794. "description": "用户ID",
  3795. "name": "userid",
  3796. "in": "query",
  3797. "required": true
  3798. },
  3799. {
  3800. "type": "integer",
  3801. "description": "现货商品ID",
  3802. "name": "wrstandardid",
  3803. "in": "query",
  3804. "required": true
  3805. }
  3806. ],
  3807. "responses": {
  3808. "200": {
  3809. "description": "OK",
  3810. "schema": {
  3811. "type": "array",
  3812. "items": {
  3813. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3814. }
  3815. }
  3816. },
  3817. "500": {
  3818. "description": "Internal Server Error",
  3819. "schema": {
  3820. "$ref": "#/definitions/app.Response"
  3821. }
  3822. }
  3823. }
  3824. }
  3825. },
  3826. "/Ermcp/QueryTradeConfigTMP": {
  3827. "get": {
  3828. "security": [
  3829. {
  3830. "ApiKeyAuth": []
  3831. }
  3832. ],
  3833. "produces": [
  3834. "application/json"
  3835. ],
  3836. "tags": [
  3837. "企业风险管理(app)"
  3838. ],
  3839. "summary": "查询交易模板配置",
  3840. "parameters": [
  3841. {
  3842. "type": "integer",
  3843. "description": "所属机构id",
  3844. "name": "areauserid",
  3845. "in": "query"
  3846. }
  3847. ],
  3848. "responses": {
  3849. "200": {
  3850. "description": "OK",
  3851. "schema": {
  3852. "type": "array",
  3853. "items": {
  3854. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3855. }
  3856. }
  3857. },
  3858. "500": {
  3859. "description": "Internal Server Error",
  3860. "schema": {
  3861. "$ref": "#/definitions/app.Response"
  3862. }
  3863. }
  3864. }
  3865. }
  3866. },
  3867. "/Ermcp/QueryUserInfo": {
  3868. "get": {
  3869. "security": [
  3870. {
  3871. "ApiKeyAuth": []
  3872. }
  3873. ],
  3874. "produces": [
  3875. "application/json"
  3876. ],
  3877. "tags": [
  3878. "企业风险管理(app)"
  3879. ],
  3880. "summary": "查询客户资料",
  3881. "parameters": [
  3882. {
  3883. "type": "integer",
  3884. "description": "所属机构用户ID",
  3885. "name": "MemberUserID",
  3886. "in": "query",
  3887. "required": true
  3888. },
  3889. {
  3890. "type": "integer",
  3891. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3892. "name": "queryType",
  3893. "in": "query",
  3894. "required": true
  3895. }
  3896. ],
  3897. "responses": {
  3898. "200": {
  3899. "description": "OK",
  3900. "schema": {
  3901. "type": "array",
  3902. "items": {
  3903. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3904. }
  3905. }
  3906. },
  3907. "500": {
  3908. "description": "Internal Server Error",
  3909. "schema": {
  3910. "$ref": "#/definitions/app.Response"
  3911. }
  3912. }
  3913. }
  3914. }
  3915. },
  3916. "/Ermcp/QueryWarehouseInfo": {
  3917. "get": {
  3918. "security": [
  3919. {
  3920. "ApiKeyAuth": []
  3921. }
  3922. ],
  3923. "produces": [
  3924. "application/json"
  3925. ],
  3926. "tags": [
  3927. "企业风险管理(app)"
  3928. ],
  3929. "summary": "查询仓库信息",
  3930. "parameters": [
  3931. {
  3932. "type": "integer",
  3933. "description": "用户ID",
  3934. "name": "userid",
  3935. "in": "query",
  3936. "required": true
  3937. },
  3938. {
  3939. "type": "string",
  3940. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3941. "name": "status",
  3942. "in": "query"
  3943. }
  3944. ],
  3945. "responses": {
  3946. "200": {
  3947. "description": "OK",
  3948. "schema": {
  3949. "type": "array",
  3950. "items": {
  3951. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3952. }
  3953. }
  3954. },
  3955. "500": {
  3956. "description": "Internal Server Error",
  3957. "schema": {
  3958. "$ref": "#/definitions/app.Response"
  3959. }
  3960. }
  3961. }
  3962. }
  3963. },
  3964. "/Ermcp/QueryWrStandard": {
  3965. "get": {
  3966. "security": [
  3967. {
  3968. "ApiKeyAuth": []
  3969. }
  3970. ],
  3971. "produces": [
  3972. "application/json"
  3973. ],
  3974. "tags": [
  3975. "企业风险管理(app)"
  3976. ],
  3977. "summary": "查询现货商品",
  3978. "parameters": [
  3979. {
  3980. "type": "integer",
  3981. "description": "所属机构ID",
  3982. "name": "userid",
  3983. "in": "query",
  3984. "required": true
  3985. },
  3986. {
  3987. "type": "integer",
  3988. "description": "状态 0-停用 1-正常",
  3989. "name": "status",
  3990. "in": "query",
  3991. "required": true
  3992. }
  3993. ],
  3994. "responses": {
  3995. "200": {
  3996. "description": "OK",
  3997. "schema": {
  3998. "type": "array",
  3999. "items": {
  4000. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  4001. }
  4002. }
  4003. },
  4004. "500": {
  4005. "description": "Internal Server Error",
  4006. "schema": {
  4007. "$ref": "#/definitions/app.Response"
  4008. }
  4009. }
  4010. }
  4011. }
  4012. },
  4013. "/Ermcp/QueryWrStandardDetail": {
  4014. "get": {
  4015. "security": [
  4016. {
  4017. "ApiKeyAuth": []
  4018. }
  4019. ],
  4020. "produces": [
  4021. "application/json"
  4022. ],
  4023. "tags": [
  4024. "企业风险管理(app)"
  4025. ],
  4026. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4027. "parameters": [
  4028. {
  4029. "type": "integer",
  4030. "description": "所属机构ID",
  4031. "name": "userid",
  4032. "in": "query",
  4033. "required": true
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "现货商品ID",
  4038. "name": "wrstandardid",
  4039. "in": "query"
  4040. },
  4041. {
  4042. "type": "integer",
  4043. "description": "可不填, 1-查询关联交易商品",
  4044. "name": "goods",
  4045. "in": "query"
  4046. }
  4047. ],
  4048. "responses": {
  4049. "200": {
  4050. "description": "OK",
  4051. "schema": {
  4052. "type": "array",
  4053. "items": {
  4054. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4055. }
  4056. }
  4057. },
  4058. "500": {
  4059. "description": "Internal Server Error",
  4060. "schema": {
  4061. "$ref": "#/definitions/app.Response"
  4062. }
  4063. }
  4064. }
  4065. }
  4066. },
  4067. "/Ermcp3/QryReportAreaSpotPL": {
  4068. "get": {
  4069. "security": [
  4070. {
  4071. "ApiKeyAuth": []
  4072. }
  4073. ],
  4074. "produces": [
  4075. "application/json"
  4076. ],
  4077. "tags": [
  4078. "企业风险管理v3(app)"
  4079. ],
  4080. "summary": "查询现货损益报表(现货损益报表)",
  4081. "parameters": [
  4082. {
  4083. "type": "integer",
  4084. "description": "用户ID",
  4085. "name": "userid",
  4086. "in": "query",
  4087. "required": true
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "查询类型 1-日报表 2-月报表",
  4092. "name": "querytype",
  4093. "in": "query",
  4094. "required": true
  4095. },
  4096. {
  4097. "type": "string",
  4098. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4099. "name": "querydate",
  4100. "in": "query",
  4101. "required": true
  4102. },
  4103. {
  4104. "type": "integer",
  4105. "description": "现货商品ID",
  4106. "name": "deliverygoodsid",
  4107. "in": "query"
  4108. },
  4109. {
  4110. "type": "integer",
  4111. "description": "品牌ID",
  4112. "name": "spotgoodsbrandid",
  4113. "in": "query"
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "品类ID",
  4118. "name": "wrstandardid",
  4119. "in": "query"
  4120. }
  4121. ],
  4122. "responses": {
  4123. "200": {
  4124. "description": "OK",
  4125. "schema": {
  4126. "type": "array",
  4127. "items": {
  4128. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4129. }
  4130. }
  4131. },
  4132. "500": {
  4133. "description": "Internal Server Error",
  4134. "schema": {
  4135. "$ref": "#/definitions/app.Response"
  4136. }
  4137. }
  4138. }
  4139. }
  4140. },
  4141. "/Ermcp3/QryReportDayFinanceFp": {
  4142. "get": {
  4143. "security": [
  4144. {
  4145. "ApiKeyAuth": []
  4146. }
  4147. ],
  4148. "produces": [
  4149. "application/json"
  4150. ],
  4151. "tags": [
  4152. "企业风险管理v3(app)"
  4153. ],
  4154. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4155. "parameters": [
  4156. {
  4157. "type": "integer",
  4158. "description": "用户ID",
  4159. "name": "userid",
  4160. "in": "query",
  4161. "required": true
  4162. },
  4163. {
  4164. "type": "string",
  4165. "description": "交易日(格式:yyyyMMdd)",
  4166. "name": "tradedate",
  4167. "in": "query",
  4168. "required": true
  4169. }
  4170. ],
  4171. "responses": {
  4172. "200": {
  4173. "description": "OK",
  4174. "schema": {
  4175. "type": "array",
  4176. "items": {
  4177. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4178. }
  4179. }
  4180. },
  4181. "500": {
  4182. "description": "Internal Server Error",
  4183. "schema": {
  4184. "$ref": "#/definitions/app.Response"
  4185. }
  4186. }
  4187. }
  4188. }
  4189. },
  4190. "/Ermcp3/QryReportDayFinanceKx": {
  4191. "get": {
  4192. "security": [
  4193. {
  4194. "ApiKeyAuth": []
  4195. }
  4196. ],
  4197. "produces": [
  4198. "application/json"
  4199. ],
  4200. "tags": [
  4201. "企业风险管理v3(app)"
  4202. ],
  4203. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4204. "parameters": [
  4205. {
  4206. "type": "integer",
  4207. "description": "用户ID",
  4208. "name": "userid",
  4209. "in": "query",
  4210. "required": true
  4211. },
  4212. {
  4213. "type": "string",
  4214. "description": "交易日(格式:yyyyMMdd)",
  4215. "name": "tradedate",
  4216. "in": "query",
  4217. "required": true
  4218. }
  4219. ],
  4220. "responses": {
  4221. "200": {
  4222. "description": "OK",
  4223. "schema": {
  4224. "type": "array",
  4225. "items": {
  4226. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4227. }
  4228. }
  4229. },
  4230. "500": {
  4231. "description": "Internal Server Error",
  4232. "schema": {
  4233. "$ref": "#/definitions/app.Response"
  4234. }
  4235. }
  4236. }
  4237. }
  4238. },
  4239. "/Ermcp3/QryReportDaySpot": {
  4240. "get": {
  4241. "security": [
  4242. {
  4243. "ApiKeyAuth": []
  4244. }
  4245. ],
  4246. "produces": [
  4247. "application/json"
  4248. ],
  4249. "tags": [
  4250. "企业风险管理v3(app)"
  4251. ],
  4252. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4253. "parameters": [
  4254. {
  4255. "type": "integer",
  4256. "description": "所属机构id",
  4257. "name": "areauserid",
  4258. "in": "query",
  4259. "required": true
  4260. },
  4261. {
  4262. "type": "string",
  4263. "description": "交易日(格式:yyyyMMdd)",
  4264. "name": "reckondate",
  4265. "in": "query",
  4266. "required": true
  4267. },
  4268. {
  4269. "type": "integer",
  4270. "description": "期货账户ID",
  4271. "name": "accountid",
  4272. "in": "query"
  4273. },
  4274. {
  4275. "type": "integer",
  4276. "description": "现货品种ID",
  4277. "name": "deliverygoodsid",
  4278. "in": "query"
  4279. },
  4280. {
  4281. "type": "integer",
  4282. "description": "品类ID",
  4283. "name": "wrstandardid",
  4284. "in": "query"
  4285. },
  4286. {
  4287. "type": "integer",
  4288. "description": "现货品牌ID",
  4289. "name": "spotgoodsbrandid",
  4290. "in": "query"
  4291. }
  4292. ],
  4293. "responses": {
  4294. "200": {
  4295. "description": "OK",
  4296. "schema": {
  4297. "type": "array",
  4298. "items": {
  4299. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  4300. }
  4301. }
  4302. },
  4303. "500": {
  4304. "description": "Internal Server Error",
  4305. "schema": {
  4306. "$ref": "#/definitions/app.Response"
  4307. }
  4308. }
  4309. }
  4310. }
  4311. },
  4312. "/Ermcp3/QryReportDaySpotDetail": {
  4313. "get": {
  4314. "security": [
  4315. {
  4316. "ApiKeyAuth": []
  4317. }
  4318. ],
  4319. "produces": [
  4320. "application/json"
  4321. ],
  4322. "tags": [
  4323. "企业风险管理v3(app)"
  4324. ],
  4325. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4326. "parameters": [
  4327. {
  4328. "type": "integer",
  4329. "description": "用户ID",
  4330. "name": "userid",
  4331. "in": "query",
  4332. "required": true
  4333. },
  4334. {
  4335. "type": "integer",
  4336. "description": "现货商品id",
  4337. "name": "deliverygoodsid",
  4338. "in": "query",
  4339. "required": true
  4340. },
  4341. {
  4342. "type": "string",
  4343. "description": "交易日(格式:yyyyMMdd)",
  4344. "name": "tradedate",
  4345. "in": "query",
  4346. "required": true
  4347. },
  4348. {
  4349. "type": "integer",
  4350. "description": "品类ID",
  4351. "name": "wrstandardid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "现货品牌ID",
  4357. "name": "spotgoodsbrandid",
  4358. "in": "query"
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4368. }
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/Ermcp3/QryReportMonthSpot": {
  4381. "get": {
  4382. "security": [
  4383. {
  4384. "ApiKeyAuth": []
  4385. }
  4386. ],
  4387. "produces": [
  4388. "application/json"
  4389. ],
  4390. "tags": [
  4391. "企业风险管理v3(app)"
  4392. ],
  4393. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4394. "parameters": [
  4395. {
  4396. "type": "integer",
  4397. "description": "所属机构id",
  4398. "name": "areauserid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4405. "name": "cycletype",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "string",
  4411. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  4412. "name": "cycletime",
  4413. "in": "query",
  4414. "required": true
  4415. },
  4416. {
  4417. "type": "integer",
  4418. "description": "期货账户ID",
  4419. "name": "accountid",
  4420. "in": "query"
  4421. },
  4422. {
  4423. "type": "integer",
  4424. "description": "现货品种ID",
  4425. "name": "deliverygoodsid",
  4426. "in": "query"
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "品类ID",
  4431. "name": "wrstandardid",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货品牌ID",
  4437. "name": "spotgoodsbrandid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QryReportMonthSpotDetail": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "所属机构id",
  4478. "name": "areauserid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4485. "name": "cycletype",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "string",
  4491. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  4492. "name": "cycletime",
  4493. "in": "query",
  4494. "required": true
  4495. },
  4496. {
  4497. "type": "integer",
  4498. "description": "期货账户ID",
  4499. "name": "accountid",
  4500. "in": "query"
  4501. },
  4502. {
  4503. "type": "integer",
  4504. "description": "现货品种ID",
  4505. "name": "deliverygoodsid",
  4506. "in": "query"
  4507. },
  4508. {
  4509. "type": "integer",
  4510. "description": "品类ID",
  4511. "name": "wrstandardid",
  4512. "in": "query"
  4513. },
  4514. {
  4515. "type": "integer",
  4516. "description": "现货品牌ID",
  4517. "name": "spotgoodsbrandid",
  4518. "in": "query"
  4519. }
  4520. ],
  4521. "responses": {
  4522. "200": {
  4523. "description": "OK",
  4524. "schema": {
  4525. "type": "array",
  4526. "items": {
  4527. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  4528. }
  4529. }
  4530. },
  4531. "500": {
  4532. "description": "Internal Server Error",
  4533. "schema": {
  4534. "$ref": "#/definitions/app.Response"
  4535. }
  4536. }
  4537. }
  4538. }
  4539. },
  4540. "/Ermcp3/QueryAreaStock": {
  4541. "get": {
  4542. "security": [
  4543. {
  4544. "ApiKeyAuth": []
  4545. }
  4546. ],
  4547. "produces": [
  4548. "application/json"
  4549. ],
  4550. "tags": [
  4551. "企业风险管理v3(app)"
  4552. ],
  4553. "summary": "查询机构库存(库存管理/当前库存)",
  4554. "parameters": [
  4555. {
  4556. "type": "integer",
  4557. "description": "用户ID",
  4558. "name": "userid",
  4559. "in": "query",
  4560. "required": true
  4561. }
  4562. ],
  4563. "responses": {
  4564. "200": {
  4565. "description": "OK",
  4566. "schema": {
  4567. "type": "array",
  4568. "items": {
  4569. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4570. }
  4571. }
  4572. },
  4573. "500": {
  4574. "description": "Internal Server Error",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. }
  4579. }
  4580. }
  4581. },
  4582. "/Ermcp3/QueryAreaStockApply": {
  4583. "get": {
  4584. "security": [
  4585. {
  4586. "ApiKeyAuth": []
  4587. }
  4588. ],
  4589. "produces": [
  4590. "application/json"
  4591. ],
  4592. "tags": [
  4593. "企业风险管理v3(app)"
  4594. ],
  4595. "summary": "查询库存申请(出入库记录|库存审核)",
  4596. "parameters": [
  4597. {
  4598. "type": "integer",
  4599. "description": "用户ID",
  4600. "name": "userid",
  4601. "in": "query",
  4602. "required": true
  4603. },
  4604. {
  4605. "type": "integer",
  4606. "description": "现货商品ID",
  4607. "name": "deliverygoodsid",
  4608. "in": "query"
  4609. },
  4610. {
  4611. "type": "string",
  4612. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4613. "name": "inouttype",
  4614. "in": "query"
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "合同ID",
  4619. "name": "spotcontractid",
  4620. "in": "query"
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "品类ID",
  4625. "name": "wrstandardid",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "品牌ID",
  4631. "name": "spotgoodsbrandid",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "仓库ID",
  4637. "name": "warehouseinfoid",
  4638. "in": "query"
  4639. },
  4640. {
  4641. "type": "string",
  4642. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4643. "name": "applystatus",
  4644. "in": "query"
  4645. }
  4646. ],
  4647. "responses": {
  4648. "200": {
  4649. "description": "OK",
  4650. "schema": {
  4651. "type": "array",
  4652. "items": {
  4653. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4654. }
  4655. }
  4656. },
  4657. "500": {
  4658. "description": "Internal Server Error",
  4659. "schema": {
  4660. "$ref": "#/definitions/app.Response"
  4661. }
  4662. }
  4663. }
  4664. }
  4665. },
  4666. "/Ermcp3/QueryAreaStockApplySum": {
  4667. "get": {
  4668. "security": [
  4669. {
  4670. "ApiKeyAuth": []
  4671. }
  4672. ],
  4673. "produces": [
  4674. "application/json"
  4675. ],
  4676. "tags": [
  4677. "企业风险管理v3(app)"
  4678. ],
  4679. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4680. "parameters": [
  4681. {
  4682. "type": "integer",
  4683. "description": "合同ID",
  4684. "name": "spotcontractid",
  4685. "in": "query"
  4686. }
  4687. ],
  4688. "responses": {
  4689. "200": {
  4690. "description": "OK",
  4691. "schema": {
  4692. "type": "array",
  4693. "items": {
  4694. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4695. }
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/Ermcp3/QueryAreaStockReport": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "企业风险管理v3(app)"
  4719. ],
  4720. "summary": "查询库存报表",
  4721. "parameters": [
  4722. {
  4723. "type": "integer",
  4724. "description": "用户ID",
  4725. "name": "userid",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "查询类型 1-日报表 2-月报表",
  4732. "name": "querytype",
  4733. "in": "query",
  4734. "required": true
  4735. },
  4736. {
  4737. "type": "string",
  4738. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4739. "name": "querydate",
  4740. "in": "query",
  4741. "required": true
  4742. },
  4743. {
  4744. "type": "integer",
  4745. "description": "现货商品ID",
  4746. "name": "deliverygoodsid",
  4747. "in": "query"
  4748. },
  4749. {
  4750. "type": "integer",
  4751. "description": "品类ID",
  4752. "name": "wrstandardid",
  4753. "in": "query"
  4754. },
  4755. {
  4756. "type": "integer",
  4757. "description": "品牌ID",
  4758. "name": "spotgoodsbrandid",
  4759. "in": "query"
  4760. },
  4761. {
  4762. "type": "integer",
  4763. "description": "仓库ID",
  4764. "name": "warehouseinfoid",
  4765. "in": "query"
  4766. }
  4767. ],
  4768. "responses": {
  4769. "200": {
  4770. "description": "OK",
  4771. "schema": {
  4772. "type": "array",
  4773. "items": {
  4774. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4775. }
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/Ermcp3/QueryAreaStockReportDetail": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "produces": [
  4795. "application/json"
  4796. ],
  4797. "tags": [
  4798. "企业风险管理v3(app)"
  4799. ],
  4800. "summary": "查询库存报表明细",
  4801. "parameters": [
  4802. {
  4803. "type": "integer",
  4804. "description": "用户ID",
  4805. "name": "userid",
  4806. "in": "query",
  4807. "required": true
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "查询类型 1-日报表明细 2-月报表明细",
  4812. "name": "querytype",
  4813. "in": "query",
  4814. "required": true
  4815. },
  4816. {
  4817. "type": "integer",
  4818. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4819. "name": "detailtype",
  4820. "in": "query",
  4821. "required": true
  4822. },
  4823. {
  4824. "type": "string",
  4825. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4826. "name": "querydate",
  4827. "in": "query",
  4828. "required": true
  4829. },
  4830. {
  4831. "type": "integer",
  4832. "description": "现货商品ID",
  4833. "name": "deliverygoodsid",
  4834. "in": "query"
  4835. },
  4836. {
  4837. "type": "integer",
  4838. "description": "品类ID",
  4839. "name": "wrstandardid",
  4840. "in": "query"
  4841. },
  4842. {
  4843. "type": "integer",
  4844. "description": "品牌ID",
  4845. "name": "spotgoodsbrandid",
  4846. "in": "query"
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "仓库ID",
  4851. "name": "warehouseinfoid",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryDGFactoryItem": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询品种要素定义项",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "所属机构ID",
  4892. "name": "areauserid",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "integer",
  4897. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4898. "name": "dgfactoryitemid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "integer",
  4903. "description": "现货品种ID",
  4904. "name": "deliverygoodsid",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "integer",
  4909. "description": "要素项类型",
  4910. "name": "dgfactoryitemtypeid",
  4911. "in": "query"
  4912. },
  4913. {
  4914. "type": "integer",
  4915. "description": "顺序",
  4916. "name": "orderindex",
  4917. "in": "query"
  4918. }
  4919. ],
  4920. "responses": {
  4921. "200": {
  4922. "description": "OK",
  4923. "schema": {
  4924. "type": "array",
  4925. "items": {
  4926. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4927. }
  4928. }
  4929. },
  4930. "500": {
  4931. "description": "Internal Server Error",
  4932. "schema": {
  4933. "$ref": "#/definitions/app.Response"
  4934. }
  4935. }
  4936. }
  4937. }
  4938. },
  4939. "/Ermcp3/QueryDeliveryGoods": {
  4940. "get": {
  4941. "security": [
  4942. {
  4943. "ApiKeyAuth": []
  4944. }
  4945. ],
  4946. "produces": [
  4947. "application/json"
  4948. ],
  4949. "tags": [
  4950. "企业风险管理v3(app)"
  4951. ],
  4952. "summary": "查询现货商品",
  4953. "parameters": [
  4954. {
  4955. "type": "integer",
  4956. "description": "所属机构id",
  4957. "name": "areauserid",
  4958. "in": "query",
  4959. "required": true
  4960. },
  4961. {
  4962. "type": "integer",
  4963. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4964. "name": "excludecfg",
  4965. "in": "query"
  4966. }
  4967. ],
  4968. "responses": {
  4969. "200": {
  4970. "description": "OK",
  4971. "schema": {
  4972. "type": "array",
  4973. "items": {
  4974. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4975. }
  4976. }
  4977. },
  4978. "500": {
  4979. "description": "Internal Server Error",
  4980. "schema": {
  4981. "$ref": "#/definitions/app.Response"
  4982. }
  4983. }
  4984. }
  4985. }
  4986. },
  4987. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4988. "get": {
  4989. "security": [
  4990. {
  4991. "ApiKeyAuth": []
  4992. }
  4993. ],
  4994. "produces": [
  4995. "application/json"
  4996. ],
  4997. "tags": [
  4998. "企业风险管理v3(app)"
  4999. ],
  5000. "summary": "查询现货商品详情",
  5001. "parameters": [
  5002. {
  5003. "type": "integer",
  5004. "description": "所属机构id",
  5005. "name": "areauserid",
  5006. "in": "query",
  5007. "required": true
  5008. },
  5009. {
  5010. "type": "integer",
  5011. "description": "现货商品id",
  5012. "name": "deliverygoodsid",
  5013. "in": "query"
  5014. }
  5015. ],
  5016. "responses": {
  5017. "200": {
  5018. "description": "OK",
  5019. "schema": {
  5020. "type": "array",
  5021. "items": {
  5022. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  5023. }
  5024. }
  5025. },
  5026. "500": {
  5027. "description": "Internal Server Error",
  5028. "schema": {
  5029. "$ref": "#/definitions/app.Response"
  5030. }
  5031. }
  5032. }
  5033. }
  5034. },
  5035. "/Ermcp3/QueryExposureDetail": {
  5036. "get": {
  5037. "security": [
  5038. {
  5039. "ApiKeyAuth": []
  5040. }
  5041. ],
  5042. "produces": [
  5043. "application/json"
  5044. ],
  5045. "tags": [
  5046. "企业风险管理v3(app)"
  5047. ],
  5048. "summary": "查询敞口现货明细",
  5049. "parameters": [
  5050. {
  5051. "type": "integer",
  5052. "description": "所属机构ID",
  5053. "name": "areauserid",
  5054. "in": "query",
  5055. "required": true
  5056. },
  5057. {
  5058. "type": "integer",
  5059. "description": "套保商品",
  5060. "name": "middlegoodsid",
  5061. "in": "query",
  5062. "required": true
  5063. }
  5064. ],
  5065. "responses": {
  5066. "200": {
  5067. "description": "OK",
  5068. "schema": {
  5069. "type": "array",
  5070. "items": {
  5071. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  5072. }
  5073. }
  5074. },
  5075. "500": {
  5076. "description": "Internal Server Error",
  5077. "schema": {
  5078. "$ref": "#/definitions/app.Response"
  5079. }
  5080. }
  5081. }
  5082. }
  5083. },
  5084. "/Ermcp3/QueryExposureSpot": {
  5085. "get": {
  5086. "security": [
  5087. {
  5088. "ApiKeyAuth": []
  5089. }
  5090. ],
  5091. "produces": [
  5092. "application/json"
  5093. ],
  5094. "tags": [
  5095. "企业风险管理v3(app)"
  5096. ],
  5097. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  5098. "parameters": [
  5099. {
  5100. "type": "integer",
  5101. "description": "所属机构ID",
  5102. "name": "areauserid",
  5103. "in": "query",
  5104. "required": true
  5105. }
  5106. ],
  5107. "responses": {
  5108. "200": {
  5109. "description": "OK",
  5110. "schema": {
  5111. "type": "array",
  5112. "items": {
  5113. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  5114. }
  5115. }
  5116. },
  5117. "500": {
  5118. "description": "Internal Server Error",
  5119. "schema": {
  5120. "$ref": "#/definitions/app.Response"
  5121. }
  5122. }
  5123. }
  5124. }
  5125. },
  5126. "/Ermcp3/QueryExposureSpotDetail": {
  5127. "get": {
  5128. "security": [
  5129. {
  5130. "ApiKeyAuth": []
  5131. }
  5132. ],
  5133. "produces": [
  5134. "application/json"
  5135. ],
  5136. "tags": [
  5137. "企业风险管理v3(app)"
  5138. ],
  5139. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5140. "parameters": [
  5141. {
  5142. "type": "integer",
  5143. "description": "所属机构ID",
  5144. "name": "areauserid",
  5145. "in": "query",
  5146. "required": true
  5147. },
  5148. {
  5149. "type": "integer",
  5150. "description": "现货品种ID",
  5151. "name": "deliverygoodsid",
  5152. "in": "query",
  5153. "required": true
  5154. }
  5155. ],
  5156. "responses": {
  5157. "200": {
  5158. "description": "OK",
  5159. "schema": {
  5160. "type": "array",
  5161. "items": {
  5162. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5163. }
  5164. }
  5165. },
  5166. "500": {
  5167. "description": "Internal Server Error",
  5168. "schema": {
  5169. "$ref": "#/definitions/app.Response"
  5170. }
  5171. }
  5172. }
  5173. }
  5174. },
  5175. "/Ermcp3/QueryGoodsGroup": {
  5176. "get": {
  5177. "security": [
  5178. {
  5179. "ApiKeyAuth": []
  5180. }
  5181. ],
  5182. "produces": [
  5183. "application/json"
  5184. ],
  5185. "tags": [
  5186. "企业风险管理v3(app)"
  5187. ],
  5188. "summary": "查询期货商品组",
  5189. "parameters": [
  5190. {
  5191. "type": "integer",
  5192. "description": "所属机构id",
  5193. "name": "areauserid",
  5194. "in": "query",
  5195. "required": true
  5196. },
  5197. {
  5198. "type": "integer",
  5199. "description": "排除套保品中已关联的商品组 1-排除",
  5200. "name": "excludecfg",
  5201. "in": "query"
  5202. }
  5203. ],
  5204. "responses": {
  5205. "200": {
  5206. "description": "OK",
  5207. "schema": {
  5208. "type": "array",
  5209. "items": {
  5210. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  5211. }
  5212. }
  5213. },
  5214. "500": {
  5215. "description": "Internal Server Error",
  5216. "schema": {
  5217. "$ref": "#/definitions/app.Response"
  5218. }
  5219. }
  5220. }
  5221. }
  5222. },
  5223. "/Ermcp3/QueryGoodsWrstandard": {
  5224. "get": {
  5225. "security": [
  5226. {
  5227. "ApiKeyAuth": []
  5228. }
  5229. ],
  5230. "produces": [
  5231. "application/json"
  5232. ],
  5233. "tags": [
  5234. "企业风险管理v3(app)"
  5235. ],
  5236. "summary": "查询商品品类",
  5237. "parameters": [
  5238. {
  5239. "type": "integer",
  5240. "description": "所属机构ID",
  5241. "name": "areauserid",
  5242. "in": "query",
  5243. "required": true
  5244. },
  5245. {
  5246. "type": "integer",
  5247. "description": "现货商品id",
  5248. "name": "deliverygoodsid",
  5249. "in": "query"
  5250. }
  5251. ],
  5252. "responses": {
  5253. "200": {
  5254. "description": "OK",
  5255. "schema": {
  5256. "type": "array",
  5257. "items": {
  5258. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5259. }
  5260. }
  5261. },
  5262. "500": {
  5263. "description": "Internal Server Error",
  5264. "schema": {
  5265. "$ref": "#/definitions/app.Response"
  5266. }
  5267. }
  5268. }
  5269. }
  5270. },
  5271. "/Ermcp3/QueryGoodsbrand": {
  5272. "get": {
  5273. "security": [
  5274. {
  5275. "ApiKeyAuth": []
  5276. }
  5277. ],
  5278. "produces": [
  5279. "application/json"
  5280. ],
  5281. "tags": [
  5282. "企业风险管理v3(app)"
  5283. ],
  5284. "summary": "查询商品品牌",
  5285. "parameters": [
  5286. {
  5287. "type": "integer",
  5288. "description": "所属机构ID",
  5289. "name": "areauserid",
  5290. "in": "query",
  5291. "required": true
  5292. }
  5293. ],
  5294. "responses": {
  5295. "200": {
  5296. "description": "OK",
  5297. "schema": {
  5298. "type": "array",
  5299. "items": {
  5300. "$ref": "#/definitions/models.Ermcp3Brand"
  5301. }
  5302. }
  5303. },
  5304. "500": {
  5305. "description": "Internal Server Error",
  5306. "schema": {
  5307. "$ref": "#/definitions/app.Response"
  5308. }
  5309. }
  5310. }
  5311. }
  5312. },
  5313. "/Ermcp3/QueryHedgePlan": {
  5314. "get": {
  5315. "security": [
  5316. {
  5317. "ApiKeyAuth": []
  5318. }
  5319. ],
  5320. "produces": [
  5321. "application/json"
  5322. ],
  5323. "tags": [
  5324. "企业风险管理v3(app)"
  5325. ],
  5326. "summary": "查询套保计划",
  5327. "parameters": [
  5328. {
  5329. "type": "integer",
  5330. "description": "用户ID",
  5331. "name": "userid",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5338. "name": "hedgeplanstatus",
  5339. "in": "query",
  5340. "required": true
  5341. }
  5342. ],
  5343. "responses": {
  5344. "200": {
  5345. "description": "OK",
  5346. "schema": {
  5347. "type": "array",
  5348. "items": {
  5349. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5350. }
  5351. }
  5352. },
  5353. "500": {
  5354. "description": "Internal Server Error",
  5355. "schema": {
  5356. "$ref": "#/definitions/app.Response"
  5357. }
  5358. }
  5359. }
  5360. }
  5361. },
  5362. "/Ermcp3/QueryMiddleGoodsDetail": {
  5363. "get": {
  5364. "security": [
  5365. {
  5366. "ApiKeyAuth": []
  5367. }
  5368. ],
  5369. "produces": [
  5370. "application/json"
  5371. ],
  5372. "tags": [
  5373. "企业风险管理v3(app)"
  5374. ],
  5375. "summary": "查询套保品种详情(套保品种/商品详情)",
  5376. "parameters": [
  5377. {
  5378. "type": "integer",
  5379. "description": "所属机构ID",
  5380. "name": "areauserid",
  5381. "in": "query",
  5382. "required": true
  5383. },
  5384. {
  5385. "type": "integer",
  5386. "description": "套保品种id",
  5387. "name": "middlegoodsid",
  5388. "in": "query"
  5389. }
  5390. ],
  5391. "responses": {
  5392. "200": {
  5393. "description": "OK",
  5394. "schema": {
  5395. "type": "array",
  5396. "items": {
  5397. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  5398. }
  5399. }
  5400. },
  5401. "500": {
  5402. "description": "Internal Server Error",
  5403. "schema": {
  5404. "$ref": "#/definitions/app.Response"
  5405. }
  5406. }
  5407. }
  5408. }
  5409. },
  5410. "/Ermcp3/QuerySpotContract": {
  5411. "get": {
  5412. "security": [
  5413. {
  5414. "ApiKeyAuth": []
  5415. }
  5416. ],
  5417. "produces": [
  5418. "application/json"
  5419. ],
  5420. "tags": [
  5421. "企业风险管理v3(app)"
  5422. ],
  5423. "summary": "查询现货合同",
  5424. "parameters": [
  5425. {
  5426. "type": "integer",
  5427. "description": "所属机构ID",
  5428. "name": "areauserid",
  5429. "in": "query",
  5430. "required": true
  5431. },
  5432. {
  5433. "type": "integer",
  5434. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  5435. "name": "querytype",
  5436. "in": "query",
  5437. "required": true
  5438. },
  5439. {
  5440. "type": "integer",
  5441. "description": "用户ID",
  5442. "name": "userid",
  5443. "in": "query"
  5444. },
  5445. {
  5446. "type": "integer",
  5447. "description": "用户类型 2-机构 7-企业成员",
  5448. "name": "usertype",
  5449. "in": "query"
  5450. },
  5451. {
  5452. "type": "string",
  5453. "description": "合同ID(SpotContractId)",
  5454. "name": "contractid",
  5455. "in": "query"
  5456. }
  5457. ],
  5458. "responses": {
  5459. "200": {
  5460. "description": "OK",
  5461. "schema": {
  5462. "type": "array",
  5463. "items": {
  5464. "$ref": "#/definitions/models.Ermcp3Contract"
  5465. }
  5466. }
  5467. },
  5468. "500": {
  5469. "description": "Internal Server Error",
  5470. "schema": {
  5471. "$ref": "#/definitions/app.Response"
  5472. }
  5473. }
  5474. }
  5475. }
  5476. },
  5477. "/Ermcp3/QuerySpotContractBS": {
  5478. "get": {
  5479. "security": [
  5480. {
  5481. "ApiKeyAuth": []
  5482. }
  5483. ],
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "企业风险管理v3(app)"
  5489. ],
  5490. "summary": "查询合同(采购/销售)",
  5491. "parameters": [
  5492. {
  5493. "type": "integer",
  5494. "description": "所属机构ID",
  5495. "name": "areauserid",
  5496. "in": "query",
  5497. "required": true
  5498. },
  5499. {
  5500. "type": "integer",
  5501. "description": "合同类型 1-采购, -1-销售",
  5502. "name": "contracttype",
  5503. "in": "query",
  5504. "required": true
  5505. },
  5506. {
  5507. "type": "integer",
  5508. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5509. "name": "querytype",
  5510. "in": "query",
  5511. "required": true
  5512. },
  5513. {
  5514. "type": "integer",
  5515. "description": "用户ID",
  5516. "name": "userid",
  5517. "in": "query"
  5518. },
  5519. {
  5520. "type": "integer",
  5521. "description": "用户类型 2-机构 7-企业成员",
  5522. "name": "usertype",
  5523. "in": "query"
  5524. },
  5525. {
  5526. "type": "string",
  5527. "description": "合同ID(SpotContractId)",
  5528. "name": "contractid",
  5529. "in": "query"
  5530. }
  5531. ],
  5532. "responses": {
  5533. "200": {
  5534. "description": "OK",
  5535. "schema": {
  5536. "type": "array",
  5537. "items": {
  5538. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5539. }
  5540. }
  5541. },
  5542. "500": {
  5543. "description": "Internal Server Error",
  5544. "schema": {
  5545. "$ref": "#/definitions/app.Response"
  5546. }
  5547. }
  5548. }
  5549. }
  5550. },
  5551. "/Ermcp3/QuerySpotGoodsPrice": {
  5552. "get": {
  5553. "security": [
  5554. {
  5555. "ApiKeyAuth": []
  5556. }
  5557. ],
  5558. "produces": [
  5559. "application/json"
  5560. ],
  5561. "tags": [
  5562. "企业风险管理v3(app)"
  5563. ],
  5564. "summary": "查询现货市价(现货市价)",
  5565. "parameters": [
  5566. {
  5567. "type": "integer",
  5568. "description": "用户ID",
  5569. "name": "userid",
  5570. "in": "query",
  5571. "required": true
  5572. }
  5573. ],
  5574. "responses": {
  5575. "200": {
  5576. "description": "OK",
  5577. "schema": {
  5578. "type": "array",
  5579. "items": {
  5580. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5581. }
  5582. }
  5583. },
  5584. "500": {
  5585. "description": "Internal Server Error",
  5586. "schema": {
  5587. "$ref": "#/definitions/app.Response"
  5588. }
  5589. }
  5590. }
  5591. }
  5592. },
  5593. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5594. "get": {
  5595. "security": [
  5596. {
  5597. "ApiKeyAuth": []
  5598. }
  5599. ],
  5600. "produces": [
  5601. "application/json"
  5602. ],
  5603. "tags": [
  5604. "企业风险管理v3(app)"
  5605. ],
  5606. "summary": "查询现货市价详情(现货市价/详情)",
  5607. "parameters": [
  5608. {
  5609. "type": "integer",
  5610. "description": "用户ID",
  5611. "name": "userid",
  5612. "in": "query",
  5613. "required": true
  5614. },
  5615. {
  5616. "type": "integer",
  5617. "description": "现货商品ID",
  5618. "name": "deliverygoodsid",
  5619. "in": "query",
  5620. "required": true
  5621. },
  5622. {
  5623. "type": "integer",
  5624. "description": "品牌ID",
  5625. "name": "brandid",
  5626. "in": "query"
  5627. },
  5628. {
  5629. "type": "integer",
  5630. "description": "品类ID",
  5631. "name": "wrstandardid",
  5632. "in": "query"
  5633. }
  5634. ],
  5635. "responses": {
  5636. "200": {
  5637. "description": "OK",
  5638. "schema": {
  5639. "type": "array",
  5640. "items": {
  5641. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5642. }
  5643. }
  5644. },
  5645. "500": {
  5646. "description": "Internal Server Error",
  5647. "schema": {
  5648. "$ref": "#/definitions/app.Response"
  5649. }
  5650. }
  5651. }
  5652. }
  5653. },
  5654. "/Erms2/QueryArbitrageStrategy": {
  5655. "get": {
  5656. "security": [
  5657. {
  5658. "ApiKeyAuth": []
  5659. }
  5660. ],
  5661. "produces": [
  5662. "application/json"
  5663. ],
  5664. "tags": [
  5665. "风险管理"
  5666. ],
  5667. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5668. "parameters": [
  5669. {
  5670. "type": "integer",
  5671. "description": "账户ID",
  5672. "name": "userid",
  5673. "in": "query",
  5674. "required": true
  5675. },
  5676. {
  5677. "type": "string",
  5678. "description": "商品组ID(品种ID)",
  5679. "name": "goodsgroupid",
  5680. "in": "query"
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5688. }
  5689. },
  5690. "500": {
  5691. "description": "Internal Server Error",
  5692. "schema": {
  5693. "$ref": "#/definitions/app.Response"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "/Erms2/QueryInnerTradeDetail": {
  5700. "get": {
  5701. "security": [
  5702. {
  5703. "ApiKeyAuth": []
  5704. }
  5705. ],
  5706. "produces": [
  5707. "application/json"
  5708. ],
  5709. "tags": [
  5710. "风险管理"
  5711. ],
  5712. "summary": "查询内部成交单信息",
  5713. "parameters": [
  5714. {
  5715. "type": "integer",
  5716. "description": "资金账户",
  5717. "name": "accountid",
  5718. "in": "query",
  5719. "required": true
  5720. }
  5721. ],
  5722. "responses": {
  5723. "200": {
  5724. "description": "OK",
  5725. "schema": {
  5726. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Erms2/QuerySpotContract": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "风险管理"
  5750. ],
  5751. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "策略申请ID",
  5756. "name": "asapplyid",
  5757. "in": "query",
  5758. "required": true
  5759. },
  5760. {
  5761. "type": "integer",
  5762. "description": "现货合同ID",
  5763. "name": "spotcontractid",
  5764. "in": "query"
  5765. }
  5766. ],
  5767. "responses": {
  5768. "200": {
  5769. "description": "OK",
  5770. "schema": {
  5771. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5772. }
  5773. },
  5774. "500": {
  5775. "description": "Internal Server Error",
  5776. "schema": {
  5777. "$ref": "#/definitions/app.Response"
  5778. }
  5779. }
  5780. }
  5781. }
  5782. },
  5783. "/Erms3/AddErms2ASApply": {
  5784. "post": {
  5785. "security": [
  5786. {
  5787. "ApiKeyAuth": []
  5788. }
  5789. ],
  5790. "produces": [
  5791. "application/json"
  5792. ],
  5793. "tags": [
  5794. "风险管理v3"
  5795. ],
  5796. "summary": "新增期现套利业务申请",
  5797. "parameters": [
  5798. {
  5799. "description": "申请参数",
  5800. "name": "jsonBody",
  5801. "in": "body",
  5802. "required": true,
  5803. "schema": {
  5804. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5805. }
  5806. }
  5807. ],
  5808. "responses": {
  5809. "200": {
  5810. "description": "OK",
  5811. "schema": {
  5812. "$ref": "#/definitions/app.Response"
  5813. }
  5814. },
  5815. "500": {
  5816. "description": "Internal Server Error",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. }
  5821. }
  5822. }
  5823. },
  5824. "/Erms3/AddErms2SpotTradeApply": {
  5825. "post": {
  5826. "security": [
  5827. {
  5828. "ApiKeyAuth": []
  5829. }
  5830. ],
  5831. "produces": [
  5832. "application/json"
  5833. ],
  5834. "tags": [
  5835. "风险管理v3"
  5836. ],
  5837. "summary": "新增现货贸易业务申请",
  5838. "parameters": [
  5839. {
  5840. "description": "申请参数",
  5841. "name": "jsonBody",
  5842. "in": "body",
  5843. "required": true,
  5844. "schema": {
  5845. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5846. }
  5847. }
  5848. ],
  5849. "responses": {
  5850. "200": {
  5851. "description": "OK",
  5852. "schema": {
  5853. "$ref": "#/definitions/app.Response"
  5854. }
  5855. },
  5856. "500": {
  5857. "description": "Internal Server Error",
  5858. "schema": {
  5859. "$ref": "#/definitions/app.Response"
  5860. }
  5861. }
  5862. }
  5863. }
  5864. },
  5865. "/Erms3/AddSpotContractApply": {
  5866. "post": {
  5867. "security": [
  5868. {
  5869. "ApiKeyAuth": []
  5870. }
  5871. ],
  5872. "produces": [
  5873. "application/json"
  5874. ],
  5875. "tags": [
  5876. "风险管理v3"
  5877. ],
  5878. "summary": "新增现货合同申请",
  5879. "parameters": [
  5880. {
  5881. "description": "申请参数",
  5882. "name": "jsonBody",
  5883. "in": "body",
  5884. "required": true,
  5885. "schema": {
  5886. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5887. }
  5888. }
  5889. ],
  5890. "responses": {
  5891. "200": {
  5892. "description": "OK",
  5893. "schema": {
  5894. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5895. }
  5896. },
  5897. "500": {
  5898. "description": "Internal Server Error",
  5899. "schema": {
  5900. "$ref": "#/definitions/app.Response"
  5901. }
  5902. }
  5903. }
  5904. }
  5905. },
  5906. "/Erms3/AddUserInfoApply": {
  5907. "post": {
  5908. "security": [
  5909. {
  5910. "ApiKeyAuth": []
  5911. }
  5912. ],
  5913. "produces": [
  5914. "application/json"
  5915. ],
  5916. "tags": [
  5917. "风险管理v3"
  5918. ],
  5919. "summary": "新增客户申请",
  5920. "parameters": [
  5921. {
  5922. "description": "用户信息",
  5923. "name": "jsonBody",
  5924. "in": "body",
  5925. "required": true,
  5926. "schema": {
  5927. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5928. }
  5929. }
  5930. ],
  5931. "responses": {
  5932. "200": {
  5933. "description": "OK",
  5934. "schema": {
  5935. "$ref": "#/definitions/app.Response"
  5936. }
  5937. },
  5938. "500": {
  5939. "description": "Internal Server Error",
  5940. "schema": {
  5941. "$ref": "#/definitions/app.Response"
  5942. }
  5943. }
  5944. }
  5945. }
  5946. },
  5947. "/Erms3/DeleteUserInfoApply": {
  5948. "get": {
  5949. "security": [
  5950. {
  5951. "ApiKeyAuth": []
  5952. }
  5953. ],
  5954. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5955. "produces": [
  5956. "application/json"
  5957. ],
  5958. "tags": [
  5959. "风险管理v3"
  5960. ],
  5961. "summary": "删除客户申请",
  5962. "parameters": [
  5963. {
  5964. "type": "integer",
  5965. "description": "用户ID",
  5966. "name": "userID",
  5967. "in": "query",
  5968. "required": true
  5969. }
  5970. ],
  5971. "responses": {
  5972. "200": {
  5973. "description": "OK",
  5974. "schema": {
  5975. "$ref": "#/definitions/app.Response"
  5976. }
  5977. },
  5978. "500": {
  5979. "description": "Internal Server Error",
  5980. "schema": {
  5981. "$ref": "#/definitions/app.Response"
  5982. }
  5983. }
  5984. }
  5985. }
  5986. },
  5987. "/Erms3/ModifyUserInfoApply": {
  5988. "post": {
  5989. "security": [
  5990. {
  5991. "ApiKeyAuth": []
  5992. }
  5993. ],
  5994. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5995. "produces": [
  5996. "application/json"
  5997. ],
  5998. "tags": [
  5999. "风险管理v3"
  6000. ],
  6001. "summary": "修改客户申请",
  6002. "parameters": [
  6003. {
  6004. "description": "用户信息",
  6005. "name": "jsonBody",
  6006. "in": "body",
  6007. "required": true,
  6008. "schema": {
  6009. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6010. }
  6011. }
  6012. ],
  6013. "responses": {
  6014. "200": {
  6015. "description": "OK",
  6016. "schema": {
  6017. "$ref": "#/definitions/app.Response"
  6018. }
  6019. },
  6020. "500": {
  6021. "description": "Internal Server Error",
  6022. "schema": {
  6023. "$ref": "#/definitions/app.Response"
  6024. }
  6025. }
  6026. }
  6027. }
  6028. },
  6029. "/Erms3/QueryBusinessInfo": {
  6030. "get": {
  6031. "security": [
  6032. {
  6033. "ApiKeyAuth": []
  6034. }
  6035. ],
  6036. "produces": [
  6037. "application/json"
  6038. ],
  6039. "tags": [
  6040. "风险管理v3"
  6041. ],
  6042. "summary": "查询业务表单数据",
  6043. "parameters": [
  6044. {
  6045. "type": "string",
  6046. "description": "资金账号ID列表,用逗号分隔",
  6047. "name": "accountids",
  6048. "in": "query",
  6049. "required": true
  6050. },
  6051. {
  6052. "type": "integer",
  6053. "description": "状态,0为未结束 1为已结束",
  6054. "name": "status",
  6055. "in": "query",
  6056. "required": true
  6057. }
  6058. ],
  6059. "responses": {
  6060. "200": {
  6061. "description": "OK",
  6062. "schema": {
  6063. "type": "array",
  6064. "items": {
  6065. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6066. }
  6067. }
  6068. },
  6069. "500": {
  6070. "description": "Internal Server Error",
  6071. "schema": {
  6072. "$ref": "#/definitions/app.Response"
  6073. }
  6074. }
  6075. }
  6076. }
  6077. },
  6078. "/Erms3/QueryPendingAuditContract": {
  6079. "get": {
  6080. "security": [
  6081. {
  6082. "ApiKeyAuth": []
  6083. }
  6084. ],
  6085. "produces": [
  6086. "application/json"
  6087. ],
  6088. "tags": [
  6089. "风险管理v3"
  6090. ],
  6091. "summary": "查询待审核合同",
  6092. "parameters": [
  6093. {
  6094. "type": "string",
  6095. "description": "资金账号ID列表,逗号隔开",
  6096. "name": "accountids",
  6097. "in": "query",
  6098. "required": true
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "合同类型 1-采购 -1-销售",
  6103. "name": "contracttype",
  6104. "in": "query",
  6105. "required": true
  6106. },
  6107. {
  6108. "type": "integer",
  6109. "description": "合同模式 1-普通 2-回购",
  6110. "name": "contractmode",
  6111. "in": "query",
  6112. "required": true
  6113. }
  6114. ],
  6115. "responses": {
  6116. "200": {
  6117. "description": "OK",
  6118. "schema": {
  6119. "type": "array",
  6120. "items": {
  6121. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6122. }
  6123. }
  6124. },
  6125. "500": {
  6126. "description": "Internal Server Error",
  6127. "schema": {
  6128. "$ref": "#/definitions/app.Response"
  6129. }
  6130. }
  6131. }
  6132. }
  6133. },
  6134. "/Erms3/QueryPendingBusiness": {
  6135. "get": {
  6136. "security": [
  6137. {
  6138. "ApiKeyAuth": []
  6139. }
  6140. ],
  6141. "produces": [
  6142. "application/json"
  6143. ],
  6144. "tags": [
  6145. "风险管理v3"
  6146. ],
  6147. "summary": "查询待审核基差贸易业务",
  6148. "parameters": [
  6149. {
  6150. "type": "string",
  6151. "description": "资金账号ID列表,逗号隔开",
  6152. "name": "accountids",
  6153. "in": "query",
  6154. "required": true
  6155. }
  6156. ],
  6157. "responses": {
  6158. "200": {
  6159. "description": "OK",
  6160. "schema": {
  6161. "type": "array",
  6162. "items": {
  6163. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6164. }
  6165. }
  6166. },
  6167. "500": {
  6168. "description": "Internal Server Error",
  6169. "schema": {
  6170. "$ref": "#/definitions/app.Response"
  6171. }
  6172. }
  6173. }
  6174. }
  6175. },
  6176. "/Erms3/QuerySpotContractAppleForm": {
  6177. "get": {
  6178. "security": [
  6179. {
  6180. "ApiKeyAuth": []
  6181. }
  6182. ],
  6183. "produces": [
  6184. "application/json"
  6185. ],
  6186. "tags": [
  6187. "风险管理v3"
  6188. ],
  6189. "summary": "查询合同申请表单数据",
  6190. "parameters": [
  6191. {
  6192. "type": "integer",
  6193. "description": "登录账号",
  6194. "name": "loginID",
  6195. "in": "query",
  6196. "required": true
  6197. }
  6198. ],
  6199. "responses": {
  6200. "200": {
  6201. "description": "OK",
  6202. "schema": {
  6203. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6204. }
  6205. },
  6206. "500": {
  6207. "description": "Internal Server Error",
  6208. "schema": {
  6209. "$ref": "#/definitions/app.Response"
  6210. }
  6211. }
  6212. }
  6213. }
  6214. },
  6215. "/Erms3/QuerySpotContractDetail": {
  6216. "get": {
  6217. "security": [
  6218. {
  6219. "ApiKeyAuth": []
  6220. }
  6221. ],
  6222. "produces": [
  6223. "application/json"
  6224. ],
  6225. "tags": [
  6226. "风险管理v3"
  6227. ],
  6228. "summary": "查询合同详细信息",
  6229. "parameters": [
  6230. {
  6231. "type": "string",
  6232. "description": "资金账号ID列表,用逗号分隔",
  6233. "name": "accountids",
  6234. "in": "query",
  6235. "required": true
  6236. },
  6237. {
  6238. "type": "integer",
  6239. "description": "合同类型,1为采购合同 -1为销售合同",
  6240. "name": "contracttype",
  6241. "in": "query",
  6242. "required": true
  6243. },
  6244. {
  6245. "type": "integer",
  6246. "description": "合同模式,1为普通合同 2为回购销售合同",
  6247. "name": "contractmode",
  6248. "in": "query",
  6249. "required": true
  6250. },
  6251. {
  6252. "type": "integer",
  6253. "description": "状态,0为履约中 1为已完成",
  6254. "name": "status",
  6255. "in": "query",
  6256. "required": true
  6257. }
  6258. ],
  6259. "responses": {
  6260. "200": {
  6261. "description": "OK",
  6262. "schema": {
  6263. "type": "array",
  6264. "items": {
  6265. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6266. }
  6267. }
  6268. },
  6269. "500": {
  6270. "description": "Internal Server Error",
  6271. "schema": {
  6272. "$ref": "#/definitions/app.Response"
  6273. }
  6274. }
  6275. }
  6276. }
  6277. },
  6278. "/Erms3/QueryUserInfoApplies": {
  6279. "get": {
  6280. "security": [
  6281. {
  6282. "ApiKeyAuth": []
  6283. }
  6284. ],
  6285. "produces": [
  6286. "application/json"
  6287. ],
  6288. "tags": [
  6289. "风险管理v3"
  6290. ],
  6291. "summary": "客户申请信息查询",
  6292. "parameters": [
  6293. {
  6294. "type": "integer",
  6295. "description": "页码",
  6296. "name": "page",
  6297. "in": "query"
  6298. },
  6299. {
  6300. "type": "integer",
  6301. "description": "每页条数",
  6302. "name": "pagesize",
  6303. "in": "query"
  6304. },
  6305. {
  6306. "type": "string",
  6307. "description": "客户名称,支持模糊查询",
  6308. "name": "userName",
  6309. "in": "query"
  6310. }
  6311. ],
  6312. "responses": {
  6313. "200": {
  6314. "description": "OK",
  6315. "schema": {
  6316. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6317. }
  6318. },
  6319. "500": {
  6320. "description": "Internal Server Error",
  6321. "schema": {
  6322. "$ref": "#/definitions/app.Response"
  6323. }
  6324. }
  6325. }
  6326. }
  6327. },
  6328. "/Erms3/QueryUserInfos": {
  6329. "get": {
  6330. "security": [
  6331. {
  6332. "ApiKeyAuth": []
  6333. }
  6334. ],
  6335. "produces": [
  6336. "application/json"
  6337. ],
  6338. "tags": [
  6339. "风险管理v3"
  6340. ],
  6341. "summary": "客户信息查询",
  6342. "parameters": [
  6343. {
  6344. "type": "integer",
  6345. "description": "页码",
  6346. "name": "page",
  6347. "in": "query"
  6348. },
  6349. {
  6350. "type": "integer",
  6351. "description": "每页条数",
  6352. "name": "pagesize",
  6353. "in": "query"
  6354. },
  6355. {
  6356. "type": "string",
  6357. "description": "客户名称,支持模糊查询",
  6358. "name": "userName",
  6359. "in": "query"
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/HSBY/GetHsbyMyCount": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "description": "说明: 不包括已完成的数量。",
  6386. "produces": [
  6387. "application/json"
  6388. ],
  6389. "tags": [
  6390. "定制【海商报业】"
  6391. ],
  6392. "summary": "获取我的订单与包裹数量",
  6393. "parameters": [
  6394. {
  6395. "type": "string",
  6396. "description": "资金账户列表,格式:1,2,3",
  6397. "name": "accountIDs",
  6398. "in": "query",
  6399. "required": true
  6400. }
  6401. ],
  6402. "responses": {
  6403. "200": {
  6404. "description": "OK",
  6405. "schema": {
  6406. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6407. }
  6408. },
  6409. "500": {
  6410. "description": "Internal Server Error",
  6411. "schema": {
  6412. "$ref": "#/definitions/app.Response"
  6413. }
  6414. }
  6415. }
  6416. }
  6417. },
  6418. "/HSBY/QueryClientFixedADConfigs": {
  6419. "get": {
  6420. "security": [
  6421. {
  6422. "ApiKeyAuth": []
  6423. }
  6424. ],
  6425. "produces": [
  6426. "application/json"
  6427. ],
  6428. "tags": [
  6429. "定制【海商报业】"
  6430. ],
  6431. "summary": "获取终端固定广告配置",
  6432. "responses": {
  6433. "200": {
  6434. "description": "OK",
  6435. "schema": {
  6436. "$ref": "#/definitions/models.Clientfixedadconfig"
  6437. }
  6438. },
  6439. "500": {
  6440. "description": "Internal Server Error",
  6441. "schema": {
  6442. "$ref": "#/definitions/app.Response"
  6443. }
  6444. }
  6445. }
  6446. }
  6447. },
  6448. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6449. "get": {
  6450. "security": [
  6451. {
  6452. "ApiKeyAuth": []
  6453. }
  6454. ],
  6455. "produces": [
  6456. "application/json"
  6457. ],
  6458. "tags": [
  6459. "定制【海商报业】"
  6460. ],
  6461. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6462. "parameters": [
  6463. {
  6464. "type": "integer",
  6465. "description": "页码",
  6466. "name": "page",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "integer",
  6471. "description": "每页条数",
  6472. "name": "pagesize",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "资金账户列表,格式:1,2,3",
  6478. "name": "accountIDs",
  6479. "in": "query",
  6480. "required": true
  6481. }
  6482. ],
  6483. "responses": {
  6484. "200": {
  6485. "description": "OK",
  6486. "schema": {
  6487. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6488. }
  6489. },
  6490. "500": {
  6491. "description": "Internal Server Error",
  6492. "schema": {
  6493. "$ref": "#/definitions/app.Response"
  6494. }
  6495. }
  6496. }
  6497. }
  6498. },
  6499. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6500. "get": {
  6501. "security": [
  6502. {
  6503. "ApiKeyAuth": []
  6504. }
  6505. ],
  6506. "description": "说明:查询结果已按委托价格和委托时间排序",
  6507. "produces": [
  6508. "application/json"
  6509. ],
  6510. "tags": [
  6511. "定制【海商报业】"
  6512. ],
  6513. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6514. "parameters": [
  6515. {
  6516. "type": "integer",
  6517. "description": "商品ID",
  6518. "name": "goodsID",
  6519. "in": "query",
  6520. "required": true
  6521. },
  6522. {
  6523. "type": "string",
  6524. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6525. "name": "accountIDs",
  6526. "in": "query"
  6527. },
  6528. {
  6529. "type": "integer",
  6530. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6531. "name": "buyOrSell",
  6532. "in": "query"
  6533. },
  6534. {
  6535. "type": "number",
  6536. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6537. "name": "price",
  6538. "in": "query"
  6539. },
  6540. {
  6541. "type": "integer",
  6542. "description": "档位,不传则默认为3档",
  6543. "name": "speed",
  6544. "in": "query"
  6545. }
  6546. ],
  6547. "responses": {
  6548. "200": {
  6549. "description": "OK",
  6550. "schema": {
  6551. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6552. }
  6553. },
  6554. "500": {
  6555. "description": "Internal Server Error",
  6556. "schema": {
  6557. "$ref": "#/definitions/app.Response"
  6558. }
  6559. }
  6560. }
  6561. }
  6562. },
  6563. "/HSBY/QueryHsbyListingGoodsDetail": {
  6564. "get": {
  6565. "security": [
  6566. {
  6567. "ApiKeyAuth": []
  6568. }
  6569. ],
  6570. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6571. "produces": [
  6572. "application/json"
  6573. ],
  6574. "tags": [
  6575. "定制【海商报业】"
  6576. ],
  6577. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6578. "parameters": [
  6579. {
  6580. "type": "integer",
  6581. "description": "商品ID",
  6582. "name": "goodsID",
  6583. "in": "query",
  6584. "required": true
  6585. },
  6586. {
  6587. "type": "integer",
  6588. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6589. "name": "accountID",
  6590. "in": "query"
  6591. }
  6592. ],
  6593. "responses": {
  6594. "200": {
  6595. "description": "OK",
  6596. "schema": {
  6597. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6598. }
  6599. },
  6600. "500": {
  6601. "description": "Internal Server Error",
  6602. "schema": {
  6603. "$ref": "#/definitions/app.Response"
  6604. }
  6605. }
  6606. }
  6607. }
  6608. },
  6609. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6610. "get": {
  6611. "security": [
  6612. {
  6613. "ApiKeyAuth": []
  6614. }
  6615. ],
  6616. "produces": [
  6617. "application/json"
  6618. ],
  6619. "tags": [
  6620. "定制【海商报业】"
  6621. ],
  6622. "summary": "查询三级市场(商城)商品信息详情",
  6623. "parameters": [
  6624. {
  6625. "type": "integer",
  6626. "description": "委托单号",
  6627. "name": "orderID",
  6628. "in": "query",
  6629. "required": true
  6630. },
  6631. {
  6632. "type": "integer",
  6633. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6634. "name": "accountID",
  6635. "in": "query"
  6636. }
  6637. ],
  6638. "responses": {
  6639. "200": {
  6640. "description": "OK",
  6641. "schema": {
  6642. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6643. }
  6644. },
  6645. "500": {
  6646. "description": "Internal Server Error",
  6647. "schema": {
  6648. "$ref": "#/definitions/app.Response"
  6649. }
  6650. }
  6651. }
  6652. }
  6653. },
  6654. "/HSBY/QueryHsbyMarketGoodses": {
  6655. "get": {
  6656. "security": [
  6657. {
  6658. "ApiKeyAuth": []
  6659. }
  6660. ],
  6661. "produces": [
  6662. "application/json"
  6663. ],
  6664. "tags": [
  6665. "定制【海商报业】"
  6666. ],
  6667. "summary": "查询特卖商品列表(三级商城)",
  6668. "parameters": [
  6669. {
  6670. "type": "integer",
  6671. "description": "页码",
  6672. "name": "page",
  6673. "in": "query"
  6674. },
  6675. {
  6676. "type": "integer",
  6677. "description": "每页条数",
  6678. "name": "pagesize",
  6679. "in": "query"
  6680. },
  6681. {
  6682. "type": "string",
  6683. "description": "市场ID列表,格式:1,2,3",
  6684. "name": "marketIDs",
  6685. "in": "query",
  6686. "required": true
  6687. },
  6688. {
  6689. "type": "integer",
  6690. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6691. "name": "accountID",
  6692. "in": "query",
  6693. "required": true
  6694. },
  6695. {
  6696. "type": "integer",
  6697. "description": "类别ID",
  6698. "name": "categoryID",
  6699. "in": "query"
  6700. },
  6701. {
  6702. "type": "string",
  6703. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6704. "name": "goodsIDs",
  6705. "in": "query"
  6706. },
  6707. {
  6708. "type": "integer",
  6709. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6710. "name": "couponTypeID",
  6711. "in": "query"
  6712. }
  6713. ],
  6714. "responses": {
  6715. "200": {
  6716. "description": "OK",
  6717. "schema": {
  6718. "$ref": "#/definitions/models.HsbyMarketGoods"
  6719. }
  6720. },
  6721. "500": {
  6722. "description": "Internal Server Error",
  6723. "schema": {
  6724. "$ref": "#/definitions/app.Response"
  6725. }
  6726. }
  6727. }
  6728. }
  6729. },
  6730. "/HSBY/QueryHsbyMarkets": {
  6731. "get": {
  6732. "security": [
  6733. {
  6734. "ApiKeyAuth": []
  6735. }
  6736. ],
  6737. "produces": [
  6738. "application/json"
  6739. ],
  6740. "tags": [
  6741. "定制【海商报业】"
  6742. ],
  6743. "summary": "查询海商报业相关市场信息",
  6744. "responses": {
  6745. "200": {
  6746. "description": "OK",
  6747. "schema": {
  6748. "$ref": "#/definitions/models.HsbyMarketInfo"
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "定制【海商报业】"
  6773. ],
  6774. "summary": "查询“我的订单”信息",
  6775. "parameters": [
  6776. {
  6777. "type": "string",
  6778. "description": "资金账户列表,格式:1,2,3",
  6779. "name": "accountIDs",
  6780. "in": "query",
  6781. "required": true
  6782. }
  6783. ],
  6784. "responses": {
  6785. "200": {
  6786. "description": "OK",
  6787. "schema": {
  6788. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6789. }
  6790. },
  6791. "500": {
  6792. "description": "Internal Server Error",
  6793. "schema": {
  6794. "$ref": "#/definitions/app.Response"
  6795. }
  6796. }
  6797. }
  6798. }
  6799. },
  6800. "/HSBY/QueryHsbyMyGoods": {
  6801. "get": {
  6802. "security": [
  6803. {
  6804. "ApiKeyAuth": []
  6805. }
  6806. ],
  6807. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6808. "produces": [
  6809. "application/json"
  6810. ],
  6811. "tags": [
  6812. "定制【海商报业】"
  6813. ],
  6814. "summary": "查询“我的商品”信息",
  6815. "parameters": [
  6816. {
  6817. "type": "string",
  6818. "description": "资金账户列表,格式:1,2,3",
  6819. "name": "accountIDs",
  6820. "in": "query",
  6821. "required": true
  6822. }
  6823. ],
  6824. "responses": {
  6825. "200": {
  6826. "description": "OK",
  6827. "schema": {
  6828. "$ref": "#/definitions/models.HsbyMyGoods"
  6829. }
  6830. },
  6831. "500": {
  6832. "description": "Internal Server Error",
  6833. "schema": {
  6834. "$ref": "#/definitions/app.Response"
  6835. }
  6836. }
  6837. }
  6838. }
  6839. },
  6840. "/HSBY/QueryHsbyMyPackages": {
  6841. "get": {
  6842. "security": [
  6843. {
  6844. "ApiKeyAuth": []
  6845. }
  6846. ],
  6847. "produces": [
  6848. "application/json"
  6849. ],
  6850. "tags": [
  6851. "定制【海商报业】"
  6852. ],
  6853. "summary": "查询我的包裹信息",
  6854. "parameters": [
  6855. {
  6856. "type": "string",
  6857. "description": "资金账户列表,格式:1,2,3",
  6858. "name": "accountIDs",
  6859. "in": "query",
  6860. "required": true
  6861. },
  6862. {
  6863. "type": "integer",
  6864. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6865. "name": "takeOrderStatus",
  6866. "in": "query"
  6867. }
  6868. ],
  6869. "responses": {
  6870. "200": {
  6871. "description": "OK",
  6872. "schema": {
  6873. "$ref": "#/definitions/models.HsbyMyPackage"
  6874. }
  6875. },
  6876. "500": {
  6877. "description": "Internal Server Error",
  6878. "schema": {
  6879. "$ref": "#/definitions/app.Response"
  6880. }
  6881. }
  6882. }
  6883. }
  6884. },
  6885. "/HSBY/QueryHsbyPreGoodsDetail": {
  6886. "get": {
  6887. "security": [
  6888. {
  6889. "ApiKeyAuth": []
  6890. }
  6891. ],
  6892. "produces": [
  6893. "application/json"
  6894. ],
  6895. "tags": [
  6896. "定制【海商报业】"
  6897. ],
  6898. "summary": "查询一级市场(预售)商品信息详情",
  6899. "parameters": [
  6900. {
  6901. "type": "integer",
  6902. "description": "商品ID",
  6903. "name": "goodsID",
  6904. "in": "query",
  6905. "required": true
  6906. },
  6907. {
  6908. "type": "integer",
  6909. "description": "资金账户,主要用于获取预售商品购买上限",
  6910. "name": "accountID",
  6911. "in": "query"
  6912. }
  6913. ],
  6914. "responses": {
  6915. "200": {
  6916. "description": "OK",
  6917. "schema": {
  6918. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6919. }
  6920. },
  6921. "500": {
  6922. "description": "Internal Server Error",
  6923. "schema": {
  6924. "$ref": "#/definitions/app.Response"
  6925. }
  6926. }
  6927. }
  6928. }
  6929. },
  6930. "/HSBY/QueryHsbyPreGoodses": {
  6931. "get": {
  6932. "security": [
  6933. {
  6934. "ApiKeyAuth": []
  6935. }
  6936. ],
  6937. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6938. "produces": [
  6939. "application/json"
  6940. ],
  6941. "tags": [
  6942. "定制【海商报业】"
  6943. ],
  6944. "summary": "查询新品上市商品列表(一级市场预售)",
  6945. "parameters": [
  6946. {
  6947. "type": "integer",
  6948. "description": "页码",
  6949. "name": "page",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "integer",
  6954. "description": "每页条数",
  6955. "name": "pagesize",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "string",
  6960. "description": "市场ID列表,格式:1,2,3",
  6961. "name": "marketIDs",
  6962. "in": "query",
  6963. "required": true
  6964. },
  6965. {
  6966. "type": "integer",
  6967. "description": "目的地(省)ID",
  6968. "name": "descProvinceID",
  6969. "in": "query"
  6970. },
  6971. {
  6972. "type": "integer",
  6973. "description": "目的地(市)ID",
  6974. "name": "descCityID",
  6975. "in": "query"
  6976. }
  6977. ],
  6978. "responses": {
  6979. "200": {
  6980. "description": "OK",
  6981. "schema": {
  6982. "$ref": "#/definitions/models.HsbyPreGoods"
  6983. }
  6984. },
  6985. "500": {
  6986. "description": "Internal Server Error",
  6987. "schema": {
  6988. "$ref": "#/definitions/app.Response"
  6989. }
  6990. }
  6991. }
  6992. }
  6993. },
  6994. "/HSBY/QueryHsbySellMyDetails": {
  6995. "get": {
  6996. "security": [
  6997. {
  6998. "ApiKeyAuth": []
  6999. }
  7000. ],
  7001. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7002. "produces": [
  7003. "application/json"
  7004. ],
  7005. "tags": [
  7006. "定制【海商报业】"
  7007. ],
  7008. "summary": "查询\"我的闲置\"单据信息",
  7009. "parameters": [
  7010. {
  7011. "type": "integer",
  7012. "description": "页码",
  7013. "name": "page",
  7014. "in": "query"
  7015. },
  7016. {
  7017. "type": "integer",
  7018. "description": "每页条数",
  7019. "name": "pagesize",
  7020. "in": "query"
  7021. },
  7022. {
  7023. "type": "string",
  7024. "description": "资金账户列表,格式:1,2,3",
  7025. "name": "accountIDs",
  7026. "in": "query",
  7027. "required": true
  7028. },
  7029. {
  7030. "type": "integer",
  7031. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7032. "name": "orderType",
  7033. "in": "query"
  7034. }
  7035. ],
  7036. "responses": {
  7037. "200": {
  7038. "description": "OK",
  7039. "schema": {
  7040. "$ref": "#/definitions/models.HsbySellMyDetail"
  7041. }
  7042. },
  7043. "500": {
  7044. "description": "Internal Server Error",
  7045. "schema": {
  7046. "$ref": "#/definitions/app.Response"
  7047. }
  7048. }
  7049. }
  7050. }
  7051. },
  7052. "/HSBY/QueryHsbyTopGoodses": {
  7053. "get": {
  7054. "security": [
  7055. {
  7056. "ApiKeyAuth": []
  7057. }
  7058. ],
  7059. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7060. "produces": [
  7061. "application/json"
  7062. ],
  7063. "tags": [
  7064. "定制【海商报业】"
  7065. ],
  7066. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7067. "parameters": [
  7068. {
  7069. "type": "integer",
  7070. "description": "页码",
  7071. "name": "page",
  7072. "in": "query"
  7073. },
  7074. {
  7075. "type": "integer",
  7076. "description": "每页条数",
  7077. "name": "pagesize",
  7078. "in": "query"
  7079. },
  7080. {
  7081. "type": "string",
  7082. "description": "市场ID列表,格式:1,2,3",
  7083. "name": "marketIDs",
  7084. "in": "query",
  7085. "required": true
  7086. },
  7087. {
  7088. "type": "integer",
  7089. "description": "目的地(省)ID",
  7090. "name": "descProvinceID",
  7091. "in": "query"
  7092. },
  7093. {
  7094. "type": "integer",
  7095. "description": "目的地(市)ID",
  7096. "name": "descCityID",
  7097. "in": "query"
  7098. }
  7099. ],
  7100. "responses": {
  7101. "200": {
  7102. "description": "OK",
  7103. "schema": {
  7104. "$ref": "#/definitions/models.HsbyTopGoods"
  7105. }
  7106. },
  7107. "500": {
  7108. "description": "Internal Server Error",
  7109. "schema": {
  7110. "$ref": "#/definitions/app.Response"
  7111. }
  7112. }
  7113. }
  7114. }
  7115. },
  7116. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7117. "get": {
  7118. "security": [
  7119. {
  7120. "ApiKeyAuth": []
  7121. }
  7122. ],
  7123. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7124. "produces": [
  7125. "application/json"
  7126. ],
  7127. "tags": [
  7128. "定制【海商报业】"
  7129. ],
  7130. "summary": "查询游客三级市场(商城)商品信息详情",
  7131. "parameters": [
  7132. {
  7133. "type": "integer",
  7134. "description": "商品ID",
  7135. "name": "goodsID",
  7136. "in": "query",
  7137. "required": true
  7138. }
  7139. ],
  7140. "responses": {
  7141. "200": {
  7142. "description": "OK",
  7143. "schema": {
  7144. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7145. }
  7146. },
  7147. "500": {
  7148. "description": "Internal Server Error",
  7149. "schema": {
  7150. "$ref": "#/definitions/app.Response"
  7151. }
  7152. }
  7153. }
  7154. }
  7155. },
  7156. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7157. "get": {
  7158. "security": [
  7159. {
  7160. "ApiKeyAuth": []
  7161. }
  7162. ],
  7163. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7164. "produces": [
  7165. "application/json"
  7166. ],
  7167. "tags": [
  7168. "定制【海商报业】"
  7169. ],
  7170. "summary": "查询游客特卖商品列表(三级商城)",
  7171. "parameters": [
  7172. {
  7173. "type": "integer",
  7174. "description": "页码",
  7175. "name": "page",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "integer",
  7180. "description": "每页条数",
  7181. "name": "pagesize",
  7182. "in": "query"
  7183. },
  7184. {
  7185. "type": "string",
  7186. "description": "市场ID列表,格式:1,2,3",
  7187. "name": "marketIDs",
  7188. "in": "query",
  7189. "required": true
  7190. },
  7191. {
  7192. "type": "integer",
  7193. "description": "类别ID",
  7194. "name": "categoryID",
  7195. "in": "query"
  7196. },
  7197. {
  7198. "type": "string",
  7199. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7200. "name": "goodsIDs",
  7201. "in": "query"
  7202. }
  7203. ],
  7204. "responses": {
  7205. "200": {
  7206. "description": "OK",
  7207. "schema": {
  7208. "$ref": "#/definitions/models.HsbyMarketGoods"
  7209. }
  7210. },
  7211. "500": {
  7212. "description": "Internal Server Error",
  7213. "schema": {
  7214. "$ref": "#/definitions/app.Response"
  7215. }
  7216. }
  7217. }
  7218. }
  7219. },
  7220. "/HSBY/QueryMyCollectionOrders": {
  7221. "get": {
  7222. "security": [
  7223. {
  7224. "ApiKeyAuth": []
  7225. }
  7226. ],
  7227. "produces": [
  7228. "application/json"
  7229. ],
  7230. "tags": [
  7231. "定制【海商报业】"
  7232. ],
  7233. "summary": "我的闲置中收款信息查询",
  7234. "parameters": [
  7235. {
  7236. "type": "integer",
  7237. "description": "页码",
  7238. "name": "page",
  7239. "in": "query"
  7240. },
  7241. {
  7242. "type": "integer",
  7243. "description": "每页条数",
  7244. "name": "pagesize",
  7245. "in": "query"
  7246. },
  7247. {
  7248. "type": "string",
  7249. "description": "资金账户,格式:1,2,3",
  7250. "name": "accountIDs",
  7251. "in": "query",
  7252. "required": true
  7253. }
  7254. ],
  7255. "responses": {
  7256. "200": {
  7257. "description": "OK",
  7258. "schema": {
  7259. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/HSBY/QueryMyCouponHolds": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "定制【海商报业】"
  7284. ],
  7285. "summary": "我的优惠卷持仓查询",
  7286. "parameters": [
  7287. {
  7288. "type": "string",
  7289. "description": "资金账户列表,格式:1,2,3",
  7290. "name": "accountIDs",
  7291. "in": "query",
  7292. "required": true
  7293. },
  7294. {
  7295. "type": "string",
  7296. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7297. "name": "holdStatus",
  7298. "in": "query"
  7299. }
  7300. ],
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "$ref": "#/definitions/models.MyCouponHold"
  7306. }
  7307. },
  7308. "500": {
  7309. "description": "Internal Server Error",
  7310. "schema": {
  7311. "$ref": "#/definitions/app.Response"
  7312. }
  7313. }
  7314. }
  7315. }
  7316. },
  7317. "/HSBY/QueryMyCoupons": {
  7318. "get": {
  7319. "security": [
  7320. {
  7321. "ApiKeyAuth": []
  7322. }
  7323. ],
  7324. "produces": [
  7325. "application/json"
  7326. ],
  7327. "tags": [
  7328. "定制【海商报业】"
  7329. ],
  7330. "summary": "我的优惠卷查询",
  7331. "parameters": [
  7332. {
  7333. "type": "string",
  7334. "description": "资金账户列表,格式:1,2,3",
  7335. "name": "accountIDs",
  7336. "in": "query",
  7337. "required": true
  7338. },
  7339. {
  7340. "type": "integer",
  7341. "description": "商品ID, 一般与sellUserID配套传入",
  7342. "name": "goodsID",
  7343. "in": "query"
  7344. },
  7345. {
  7346. "type": "integer",
  7347. "description": "卖方UserID",
  7348. "name": "sellUserID",
  7349. "in": "query"
  7350. }
  7351. ],
  7352. "responses": {
  7353. "200": {
  7354. "description": "OK",
  7355. "schema": {
  7356. "$ref": "#/definitions/models.MyCoupon"
  7357. }
  7358. },
  7359. "500": {
  7360. "description": "Internal Server Error",
  7361. "schema": {
  7362. "$ref": "#/definitions/app.Response"
  7363. }
  7364. }
  7365. }
  7366. }
  7367. },
  7368. "/HSBY/QueryMyPayOrders": {
  7369. "get": {
  7370. "security": [
  7371. {
  7372. "ApiKeyAuth": []
  7373. }
  7374. ],
  7375. "produces": [
  7376. "application/json"
  7377. ],
  7378. "tags": [
  7379. "定制【海商报业】"
  7380. ],
  7381. "summary": "获取我的订单中待付款信息",
  7382. "parameters": [
  7383. {
  7384. "type": "integer",
  7385. "description": "页码",
  7386. "name": "page",
  7387. "in": "query"
  7388. },
  7389. {
  7390. "type": "integer",
  7391. "description": "每页条数",
  7392. "name": "pagesize",
  7393. "in": "query"
  7394. },
  7395. {
  7396. "type": "string",
  7397. "description": "资金账户列表,格式:1,2,3",
  7398. "name": "accountIDs",
  7399. "in": "query",
  7400. "required": true
  7401. },
  7402. {
  7403. "type": "integer",
  7404. "description": "买方委托单号",
  7405. "name": "buyOrderID",
  7406. "in": "query"
  7407. },
  7408. {
  7409. "type": "integer",
  7410. "description": "卖方委托单号",
  7411. "name": "sellOrderID",
  7412. "in": "query"
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/app.Response"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/HSBY/QueryMyUsedCoupon": {
  7432. "get": {
  7433. "security": [
  7434. {
  7435. "ApiKeyAuth": []
  7436. }
  7437. ],
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "定制【海商报业】"
  7443. ],
  7444. "summary": "已使用优惠卷查询",
  7445. "parameters": [
  7446. {
  7447. "type": "string",
  7448. "description": "资金账户列表,格式:1,2,3",
  7449. "name": "accountIDs",
  7450. "in": "query",
  7451. "required": true
  7452. }
  7453. ],
  7454. "responses": {
  7455. "200": {
  7456. "description": "OK",
  7457. "schema": {
  7458. "$ref": "#/definitions/models.MyUsedCoupon"
  7459. }
  7460. },
  7461. "500": {
  7462. "description": "Internal Server Error",
  7463. "schema": {
  7464. "$ref": "#/definitions/app.Response"
  7465. }
  7466. }
  7467. }
  7468. }
  7469. },
  7470. "/HSBY/QueryProvincesAndCities": {
  7471. "get": {
  7472. "security": [
  7473. {
  7474. "ApiKeyAuth": []
  7475. }
  7476. ],
  7477. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7478. "produces": [
  7479. "application/json"
  7480. ],
  7481. "tags": [
  7482. "定制【海商报业】"
  7483. ],
  7484. "summary": "查询省市信息(不包括区)",
  7485. "parameters": [
  7486. {
  7487. "type": "integer",
  7488. "description": "省ID",
  7489. "name": "provinceID",
  7490. "in": "query"
  7491. }
  7492. ],
  7493. "responses": {
  7494. "200": {
  7495. "description": "OK",
  7496. "schema": {
  7497. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/HSBY/SetHsbyMyPackagesStatus": {
  7510. "post": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "定制【海商报业】"
  7521. ],
  7522. "summary": "设置我的包裹已收货状态",
  7523. "parameters": [
  7524. {
  7525. "type": "string",
  7526. "description": "提货单号",
  7527. "name": "takeOrderID",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "资金账号",
  7534. "name": "accountID",
  7535. "in": "query",
  7536. "required": true
  7537. }
  7538. ],
  7539. "responses": {
  7540. "200": {
  7541. "description": "OK",
  7542. "schema": {
  7543. "$ref": "#/definitions/app.Response"
  7544. }
  7545. },
  7546. "500": {
  7547. "description": "Internal Server Error",
  7548. "schema": {
  7549. "$ref": "#/definitions/app.Response"
  7550. }
  7551. }
  7552. }
  7553. }
  7554. },
  7555. "/Market/QueryGoodsesByLoginID": {
  7556. "get": {
  7557. "security": [
  7558. {
  7559. "ApiKeyAuth": []
  7560. }
  7561. ],
  7562. "produces": [
  7563. "application/json"
  7564. ],
  7565. "tags": [
  7566. "通用市场"
  7567. ],
  7568. "summary": "获取登录账号有权限的商品信息",
  7569. "parameters": [
  7570. {
  7571. "type": "integer",
  7572. "description": "登录账号",
  7573. "name": "loginID",
  7574. "in": "query",
  7575. "required": true
  7576. },
  7577. {
  7578. "type": "string",
  7579. "description": "市场ID列表,格式:1,2,3",
  7580. "name": "marketIDs",
  7581. "in": "query"
  7582. }
  7583. ],
  7584. "responses": {
  7585. "200": {
  7586. "description": "OK",
  7587. "schema": {
  7588. "$ref": "#/definitions/models.Goods"
  7589. }
  7590. },
  7591. "500": {
  7592. "description": "Internal Server Error",
  7593. "schema": {
  7594. "$ref": "#/definitions/app.Response"
  7595. }
  7596. }
  7597. }
  7598. }
  7599. },
  7600. "/Market/QueryMarketRun": {
  7601. "get": {
  7602. "security": [
  7603. {
  7604. "ApiKeyAuth": []
  7605. }
  7606. ],
  7607. "produces": [
  7608. "application/json"
  7609. ],
  7610. "tags": [
  7611. "通用市场"
  7612. ],
  7613. "summary": "查询市场运行信息",
  7614. "parameters": [
  7615. {
  7616. "type": "integer",
  7617. "description": "市场ID,不传返回所有",
  7618. "name": "marketID",
  7619. "in": "query"
  7620. }
  7621. ],
  7622. "responses": {
  7623. "200": {
  7624. "description": "OK",
  7625. "schema": {
  7626. "$ref": "#/definitions/models.Marketrun"
  7627. }
  7628. },
  7629. "500": {
  7630. "description": "Internal Server Error",
  7631. "schema": {
  7632. "$ref": "#/definitions/app.Response"
  7633. }
  7634. }
  7635. }
  7636. }
  7637. },
  7638. "/Market/QueryMarketsByLoginID": {
  7639. "get": {
  7640. "security": [
  7641. {
  7642. "ApiKeyAuth": []
  7643. }
  7644. ],
  7645. "produces": [
  7646. "application/json"
  7647. ],
  7648. "tags": [
  7649. "通用市场"
  7650. ],
  7651. "summary": "获取登录账号有权限的市场信息",
  7652. "parameters": [
  7653. {
  7654. "type": "integer",
  7655. "description": "登录账号",
  7656. "name": "loginID",
  7657. "in": "query",
  7658. "required": true
  7659. }
  7660. ],
  7661. "responses": {
  7662. "200": {
  7663. "description": "OK",
  7664. "schema": {
  7665. "$ref": "#/definitions/models.Market"
  7666. }
  7667. },
  7668. "500": {
  7669. "description": "Internal Server Error",
  7670. "schema": {
  7671. "$ref": "#/definitions/app.Response"
  7672. }
  7673. }
  7674. }
  7675. }
  7676. },
  7677. "/Order/QueryHisTradeDetail": {
  7678. "get": {
  7679. "security": [
  7680. {
  7681. "ApiKeyAuth": []
  7682. }
  7683. ],
  7684. "produces": [
  7685. "application/json"
  7686. ],
  7687. "tags": [
  7688. "通用单据"
  7689. ],
  7690. "summary": "历史成交单查询(合约市场)",
  7691. "parameters": [
  7692. {
  7693. "type": "string",
  7694. "description": "资金账户 - 格式:1,2,3",
  7695. "name": "accountID",
  7696. "in": "query",
  7697. "required": true
  7698. },
  7699. {
  7700. "type": "integer",
  7701. "description": "成交单号",
  7702. "name": "tradeID",
  7703. "in": "query"
  7704. },
  7705. {
  7706. "type": "integer",
  7707. "description": "委托单号",
  7708. "name": "orderID",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "string",
  7713. "description": "交易模式 - 格式:1,2,3",
  7714. "name": "tradeMode",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "integer",
  7719. "description": "委托单据类型",
  7720. "name": "buildType",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "string",
  7725. "description": "成交类别 - 格式:1,2,3",
  7726. "name": "tradeType",
  7727. "in": "query"
  7728. },
  7729. {
  7730. "type": "string",
  7731. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7732. "name": "startDate",
  7733. "in": "query"
  7734. },
  7735. {
  7736. "type": "string",
  7737. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7738. "name": "endDate",
  7739. "in": "query"
  7740. }
  7741. ],
  7742. "responses": {
  7743. "200": {
  7744. "description": "OK",
  7745. "schema": {
  7746. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7747. }
  7748. },
  7749. "500": {
  7750. "description": "Internal Server Error",
  7751. "schema": {
  7752. "$ref": "#/definitions/app.Response"
  7753. }
  7754. }
  7755. }
  7756. }
  7757. },
  7758. "/Order/QueryHisTradeOrderDetail": {
  7759. "get": {
  7760. "security": [
  7761. {
  7762. "ApiKeyAuth": []
  7763. }
  7764. ],
  7765. "produces": [
  7766. "application/json"
  7767. ],
  7768. "tags": [
  7769. "通用单据"
  7770. ],
  7771. "summary": "历史委托单查询请求(合约市场)",
  7772. "parameters": [
  7773. {
  7774. "type": "string",
  7775. "description": "资金账户 - 格式:1,2,3",
  7776. "name": "accountID",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "交易模式 - 格式:1,2,3",
  7783. "name": "tradeMode",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "委托状态 - 格式:1,2,3",
  7789. "name": "orderStatus",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "integer",
  7794. "description": "委托单号",
  7795. "name": "orderID",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "string",
  7800. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7801. "name": "startDate",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "string",
  7806. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7807. "name": "endDate",
  7808. "in": "query"
  7809. }
  7810. ],
  7811. "responses": {
  7812. "200": {
  7813. "description": "OK",
  7814. "schema": {
  7815. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7816. }
  7817. },
  7818. "500": {
  7819. "description": "Internal Server Error",
  7820. "schema": {
  7821. "$ref": "#/definitions/app.Response"
  7822. }
  7823. }
  7824. }
  7825. }
  7826. },
  7827. "/Order/QueryTradeDetail": {
  7828. "get": {
  7829. "security": [
  7830. {
  7831. "ApiKeyAuth": []
  7832. }
  7833. ],
  7834. "produces": [
  7835. "application/json"
  7836. ],
  7837. "tags": [
  7838. "通用单据"
  7839. ],
  7840. "summary": "成交单查询(合约市场)",
  7841. "parameters": [
  7842. {
  7843. "type": "string",
  7844. "description": "资金账户 - 格式:1,2,3",
  7845. "name": "accountID",
  7846. "in": "query",
  7847. "required": true
  7848. },
  7849. {
  7850. "type": "integer",
  7851. "description": "成交单号",
  7852. "name": "tradeID",
  7853. "in": "query"
  7854. },
  7855. {
  7856. "type": "integer",
  7857. "description": "委托单号",
  7858. "name": "orderID",
  7859. "in": "query"
  7860. },
  7861. {
  7862. "type": "string",
  7863. "description": "交易模式 - 格式:1,2,3",
  7864. "name": "tradeMode",
  7865. "in": "query"
  7866. },
  7867. {
  7868. "type": "integer",
  7869. "description": "委托单据类型",
  7870. "name": "buildType",
  7871. "in": "query"
  7872. },
  7873. {
  7874. "type": "string",
  7875. "description": "成交类别 - 格式:1,2,3",
  7876. "name": "tradeType",
  7877. "in": "query"
  7878. }
  7879. ],
  7880. "responses": {
  7881. "200": {
  7882. "description": "OK",
  7883. "schema": {
  7884. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7885. }
  7886. },
  7887. "500": {
  7888. "description": "Internal Server Error",
  7889. "schema": {
  7890. "$ref": "#/definitions/app.Response"
  7891. }
  7892. }
  7893. }
  7894. }
  7895. },
  7896. "/Order/QueryTradeOrderDetail": {
  7897. "get": {
  7898. "security": [
  7899. {
  7900. "ApiKeyAuth": []
  7901. }
  7902. ],
  7903. "produces": [
  7904. "application/json"
  7905. ],
  7906. "tags": [
  7907. "通用单据"
  7908. ],
  7909. "summary": "委托单查询请求(合约市场)",
  7910. "parameters": [
  7911. {
  7912. "type": "string",
  7913. "description": "资金账户 - 格式:1,2,3",
  7914. "name": "accountID",
  7915. "in": "query",
  7916. "required": true
  7917. },
  7918. {
  7919. "type": "string",
  7920. "description": "交易模式 - 格式:1,2,3",
  7921. "name": "tradeMode",
  7922. "in": "query"
  7923. },
  7924. {
  7925. "type": "string",
  7926. "description": "委托状态 - 格式:1,2,3",
  7927. "name": "orderStatus",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "委托单号",
  7933. "name": "orderID",
  7934. "in": "query"
  7935. }
  7936. ],
  7937. "responses": {
  7938. "200": {
  7939. "description": "OK",
  7940. "schema": {
  7941. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7942. }
  7943. },
  7944. "500": {
  7945. "description": "Internal Server Error",
  7946. "schema": {
  7947. "$ref": "#/definitions/app.Response"
  7948. }
  7949. }
  7950. }
  7951. }
  7952. },
  7953. "/Order/QueryTradePosition": {
  7954. "get": {
  7955. "security": [
  7956. {
  7957. "ApiKeyAuth": []
  7958. }
  7959. ],
  7960. "produces": [
  7961. "application/json"
  7962. ],
  7963. "tags": [
  7964. "通用单据"
  7965. ],
  7966. "summary": "持仓汇总查询(合约市场)",
  7967. "parameters": [
  7968. {
  7969. "type": "string",
  7970. "description": "资金账户 - 格式:1,2,3",
  7971. "name": "accountID",
  7972. "in": "query",
  7973. "required": true
  7974. },
  7975. {
  7976. "type": "string",
  7977. "description": "交易模式 - 格式:1,2,3",
  7978. "name": "tradeMode",
  7979. "in": "query"
  7980. }
  7981. ],
  7982. "responses": {
  7983. "200": {
  7984. "description": "OK",
  7985. "schema": {
  7986. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7987. }
  7988. },
  7989. "500": {
  7990. "description": "Internal Server Error",
  7991. "schema": {
  7992. "$ref": "#/definitions/app.Response"
  7993. }
  7994. }
  7995. }
  7996. }
  7997. },
  7998. "/Quote/QueryHistoryDatas": {
  7999. "get": {
  8000. "security": [
  8001. {
  8002. "ApiKeyAuth": []
  8003. }
  8004. ],
  8005. "produces": [
  8006. "application/json"
  8007. ],
  8008. "tags": [
  8009. "行情服务"
  8010. ],
  8011. "summary": "查询行情历史数据",
  8012. "parameters": [
  8013. {
  8014. "type": "integer",
  8015. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8016. "name": "cycleType",
  8017. "in": "query",
  8018. "required": true
  8019. },
  8020. {
  8021. "type": "string",
  8022. "description": "商品代码",
  8023. "name": "goodsCode",
  8024. "in": "query",
  8025. "required": true
  8026. },
  8027. {
  8028. "type": "string",
  8029. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8030. "name": "startTime",
  8031. "in": "query"
  8032. },
  8033. {
  8034. "type": "string",
  8035. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8036. "name": "endTime",
  8037. "in": "query"
  8038. },
  8039. {
  8040. "type": "integer",
  8041. "description": "条数",
  8042. "name": "count",
  8043. "in": "query"
  8044. },
  8045. {
  8046. "type": "boolean",
  8047. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8048. "name": "isAsc",
  8049. "in": "query"
  8050. }
  8051. ],
  8052. "responses": {
  8053. "200": {
  8054. "description": "OK",
  8055. "schema": {
  8056. "$ref": "#/definitions/quote.HistoryData"
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "Internal Server Error",
  8061. "schema": {
  8062. "$ref": "#/definitions/app.Response"
  8063. }
  8064. }
  8065. }
  8066. }
  8067. },
  8068. "/Quote/QueryHistoryTikDatas": {
  8069. "get": {
  8070. "security": [
  8071. {
  8072. "ApiKeyAuth": []
  8073. }
  8074. ],
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "行情服务"
  8080. ],
  8081. "summary": "查询行情Tik数据",
  8082. "parameters": [
  8083. {
  8084. "type": "string",
  8085. "description": "商品代码",
  8086. "name": "goodsCode",
  8087. "in": "query",
  8088. "required": true
  8089. },
  8090. {
  8091. "type": "string",
  8092. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8093. "name": "startTime",
  8094. "in": "query"
  8095. },
  8096. {
  8097. "type": "string",
  8098. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8099. "name": "endTime",
  8100. "in": "query"
  8101. },
  8102. {
  8103. "type": "integer",
  8104. "description": "条数",
  8105. "name": "count",
  8106. "in": "query"
  8107. },
  8108. {
  8109. "type": "boolean",
  8110. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8111. "name": "isAsc",
  8112. "in": "query"
  8113. }
  8114. ],
  8115. "responses": {
  8116. "200": {
  8117. "description": "OK",
  8118. "schema": {
  8119. "$ref": "#/definitions/quote.HistoryTikData"
  8120. }
  8121. },
  8122. "500": {
  8123. "description": "Internal Server Error",
  8124. "schema": {
  8125. "$ref": "#/definitions/app.Response"
  8126. }
  8127. }
  8128. }
  8129. }
  8130. },
  8131. "/Quote/QueryQuoteDay": {
  8132. "get": {
  8133. "security": [
  8134. {
  8135. "ApiKeyAuth": []
  8136. }
  8137. ],
  8138. "produces": [
  8139. "application/json"
  8140. ],
  8141. "tags": [
  8142. "行情服务"
  8143. ],
  8144. "summary": "获取商品盘面信息",
  8145. "parameters": [
  8146. {
  8147. "type": "string",
  8148. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8149. "name": "goodsCodes",
  8150. "in": "query",
  8151. "required": true
  8152. }
  8153. ],
  8154. "responses": {
  8155. "200": {
  8156. "description": "OK",
  8157. "schema": {
  8158. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8159. }
  8160. },
  8161. "500": {
  8162. "description": "Internal Server Error",
  8163. "schema": {
  8164. "$ref": "#/definitions/app.Response"
  8165. }
  8166. }
  8167. }
  8168. }
  8169. },
  8170. "/Quote/QueryTSData": {
  8171. "get": {
  8172. "security": [
  8173. {
  8174. "ApiKeyAuth": []
  8175. }
  8176. ],
  8177. "produces": [
  8178. "application/json"
  8179. ],
  8180. "tags": [
  8181. "行情服务"
  8182. ],
  8183. "summary": "分时图数据查询",
  8184. "parameters": [
  8185. {
  8186. "type": "string",
  8187. "description": "商品代码",
  8188. "name": "goodsCode",
  8189. "in": "query",
  8190. "required": true
  8191. }
  8192. ],
  8193. "responses": {
  8194. "200": {
  8195. "description": "OK",
  8196. "schema": {
  8197. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8198. }
  8199. },
  8200. "500": {
  8201. "description": "Internal Server Error",
  8202. "schema": {
  8203. "$ref": "#/definitions/app.Response"
  8204. }
  8205. }
  8206. }
  8207. }
  8208. },
  8209. "/SZDZ/QueryConvertConfig": {
  8210. "get": {
  8211. "security": [
  8212. {
  8213. "ApiKeyAuth": []
  8214. }
  8215. ],
  8216. "produces": [
  8217. "application/json"
  8218. ],
  8219. "tags": [
  8220. "定制【尚志大宗】"
  8221. ],
  8222. "summary": "查询交易系统转换设置",
  8223. "parameters": [
  8224. {
  8225. "type": "integer",
  8226. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8227. "name": "convertType",
  8228. "in": "query"
  8229. },
  8230. {
  8231. "type": "string",
  8232. "description": "外部商品代码[JD\\PD]",
  8233. "name": "outerGoodsCode",
  8234. "in": "query"
  8235. },
  8236. {
  8237. "type": "string",
  8238. "description": "内部商品ID列表[交易],格式:1,2,3",
  8239. "name": "innerGoodsIDs",
  8240. "in": "query"
  8241. }
  8242. ],
  8243. "responses": {
  8244. "200": {
  8245. "description": "OK",
  8246. "schema": {
  8247. "$ref": "#/definitions/models.Szdz3convertconfig"
  8248. }
  8249. },
  8250. "500": {
  8251. "description": "Internal Server Error",
  8252. "schema": {
  8253. "$ref": "#/definitions/app.Response"
  8254. }
  8255. }
  8256. }
  8257. }
  8258. },
  8259. "/SZDZ/QueryConvertLog": {
  8260. "get": {
  8261. "security": [
  8262. {
  8263. "ApiKeyAuth": []
  8264. }
  8265. ],
  8266. "produces": [
  8267. "application/json"
  8268. ],
  8269. "tags": [
  8270. "定制【尚志大宗】"
  8271. ],
  8272. "summary": "交易系统转换流水查询",
  8273. "parameters": [
  8274. {
  8275. "type": "string",
  8276. "description": "资金账户 - 格式:1,2,3",
  8277. "name": "accountID",
  8278. "in": "query",
  8279. "required": true
  8280. },
  8281. {
  8282. "type": "string",
  8283. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8284. "name": "startDate",
  8285. "in": "query"
  8286. },
  8287. {
  8288. "type": "string",
  8289. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8290. "name": "endDate",
  8291. "in": "query"
  8292. }
  8293. ],
  8294. "responses": {
  8295. "200": {
  8296. "description": "OK",
  8297. "schema": {
  8298. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8299. }
  8300. },
  8301. "500": {
  8302. "description": "Internal Server Error",
  8303. "schema": {
  8304. "$ref": "#/definitions/app.Response"
  8305. }
  8306. }
  8307. }
  8308. }
  8309. },
  8310. "/SZDZ/QueryGoodsPickup": {
  8311. "get": {
  8312. "security": [
  8313. {
  8314. "ApiKeyAuth": []
  8315. }
  8316. ],
  8317. "produces": [
  8318. "application/json"
  8319. ],
  8320. "tags": [
  8321. "定制【尚志大宗】"
  8322. ],
  8323. "summary": "商品提货单查询",
  8324. "parameters": [
  8325. {
  8326. "type": "string",
  8327. "description": "资金账户 - 格式:1,2,3",
  8328. "name": "accountID",
  8329. "in": "query",
  8330. "required": true
  8331. },
  8332. {
  8333. "type": "integer",
  8334. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8335. "name": "takeOrderStatus",
  8336. "in": "query"
  8337. }
  8338. ],
  8339. "responses": {
  8340. "200": {
  8341. "description": "OK",
  8342. "schema": {
  8343. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8344. }
  8345. },
  8346. "500": {
  8347. "description": "Internal Server Error",
  8348. "schema": {
  8349. "$ref": "#/definitions/app.Response"
  8350. }
  8351. }
  8352. }
  8353. }
  8354. },
  8355. "/SZDZ/QueryRecieptOrder": {
  8356. "get": {
  8357. "security": [
  8358. {
  8359. "ApiKeyAuth": []
  8360. }
  8361. ],
  8362. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8363. "produces": [
  8364. "application/json"
  8365. ],
  8366. "tags": [
  8367. "定制【尚志大宗】"
  8368. ],
  8369. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8370. "parameters": [
  8371. {
  8372. "type": "integer",
  8373. "description": "页码",
  8374. "name": "page",
  8375. "in": "query"
  8376. },
  8377. {
  8378. "type": "integer",
  8379. "description": "每页条数",
  8380. "name": "pagesize",
  8381. "in": "query"
  8382. },
  8383. {
  8384. "type": "integer",
  8385. "description": "商品ID",
  8386. "name": "goodsID",
  8387. "in": "query",
  8388. "required": true
  8389. },
  8390. {
  8391. "type": "string",
  8392. "description": "所属账户名称",
  8393. "name": "accountName",
  8394. "in": "query"
  8395. },
  8396. {
  8397. "type": "integer",
  8398. "description": "市场ID",
  8399. "name": "marketID",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "integer",
  8404. "description": "方向 - 0:买 1:卖",
  8405. "name": "buyorsell",
  8406. "in": "query",
  8407. "required": true
  8408. }
  8409. ],
  8410. "responses": {
  8411. "200": {
  8412. "description": "OK",
  8413. "schema": {
  8414. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8415. }
  8416. },
  8417. "500": {
  8418. "description": "Internal Server Error",
  8419. "schema": {
  8420. "$ref": "#/definitions/app.Response"
  8421. }
  8422. }
  8423. }
  8424. }
  8425. },
  8426. "/SZDZ/QuerySZDZTradePosition": {
  8427. "get": {
  8428. "security": [
  8429. {
  8430. "ApiKeyAuth": []
  8431. }
  8432. ],
  8433. "produces": [
  8434. "application/json"
  8435. ],
  8436. "tags": [
  8437. "定制【尚志大宗】"
  8438. ],
  8439. "summary": "持仓汇总查询(尚志大宗)",
  8440. "parameters": [
  8441. {
  8442. "type": "integer",
  8443. "description": "资金账户",
  8444. "name": "accountID",
  8445. "in": "query",
  8446. "required": true
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8454. }
  8455. },
  8456. "500": {
  8457. "description": "Internal Server Error",
  8458. "schema": {
  8459. "$ref": "#/definitions/app.Response"
  8460. }
  8461. }
  8462. }
  8463. }
  8464. },
  8465. "/SZDZ/SearchWhite": {
  8466. "get": {
  8467. "security": [
  8468. {
  8469. "ApiKeyAuth": []
  8470. }
  8471. ],
  8472. "produces": [
  8473. "application/json"
  8474. ],
  8475. "tags": [
  8476. "定制【尚志大宗】"
  8477. ],
  8478. "summary": "搜索白名单",
  8479. "parameters": [
  8480. {
  8481. "type": "integer",
  8482. "description": "用户ID",
  8483. "name": "userID",
  8484. "in": "query",
  8485. "required": true
  8486. }
  8487. ],
  8488. "responses": {
  8489. "200": {
  8490. "description": "OK",
  8491. "schema": {
  8492. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8493. }
  8494. },
  8495. "500": {
  8496. "description": "Internal Server Error",
  8497. "schema": {
  8498. "$ref": "#/definitions/app.Response"
  8499. }
  8500. }
  8501. }
  8502. }
  8503. },
  8504. "/Search/SearchGoodses": {
  8505. "get": {
  8506. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8507. "produces": [
  8508. "application/json"
  8509. ],
  8510. "tags": [
  8511. "检索服务"
  8512. ],
  8513. "summary": "检索商品信息",
  8514. "parameters": [
  8515. {
  8516. "type": "string",
  8517. "description": "检索内容",
  8518. "name": "content",
  8519. "in": "query",
  8520. "required": true
  8521. },
  8522. {
  8523. "type": "string",
  8524. "description": "交易模式,格式:1,2,3",
  8525. "name": "tradeModes",
  8526. "in": "query"
  8527. }
  8528. ],
  8529. "responses": {
  8530. "200": {
  8531. "description": "OK",
  8532. "schema": {
  8533. "$ref": "#/definitions/models.SearchGoods"
  8534. }
  8535. },
  8536. "500": {
  8537. "description": "Internal Server Error",
  8538. "schema": {
  8539. "$ref": "#/definitions/app.Response"
  8540. }
  8541. }
  8542. }
  8543. }
  8544. },
  8545. "/TaAccount/GetTaAccounts": {
  8546. "get": {
  8547. "security": [
  8548. {
  8549. "ApiKeyAuth": []
  8550. }
  8551. ],
  8552. "produces": [
  8553. "application/json"
  8554. ],
  8555. "tags": [
  8556. "资金账户"
  8557. ],
  8558. "summary": "获取资金账户信息",
  8559. "parameters": [
  8560. {
  8561. "type": "integer",
  8562. "description": "登录账户",
  8563. "name": "loginID",
  8564. "in": "query",
  8565. "required": true
  8566. },
  8567. {
  8568. "type": "integer",
  8569. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8570. "name": "taAccountType",
  8571. "in": "query"
  8572. }
  8573. ],
  8574. "responses": {
  8575. "200": {
  8576. "description": "OK",
  8577. "schema": {
  8578. "$ref": "#/definitions/models.Taaccount"
  8579. }
  8580. },
  8581. "500": {
  8582. "description": "Internal Server Error",
  8583. "schema": {
  8584. "$ref": "#/definitions/app.Response"
  8585. }
  8586. }
  8587. }
  8588. }
  8589. },
  8590. "/TaAccount/QueryAmountLog": {
  8591. "get": {
  8592. "security": [
  8593. {
  8594. "ApiKeyAuth": []
  8595. }
  8596. ],
  8597. "produces": [
  8598. "application/json"
  8599. ],
  8600. "tags": [
  8601. "资金账户"
  8602. ],
  8603. "summary": "资金流水查询(当前)",
  8604. "parameters": [
  8605. {
  8606. "type": "integer",
  8607. "description": "页码",
  8608. "name": "page",
  8609. "in": "query"
  8610. },
  8611. {
  8612. "type": "integer",
  8613. "description": "每页条数",
  8614. "name": "pagesize",
  8615. "in": "query"
  8616. },
  8617. {
  8618. "type": "string",
  8619. "description": "资金账户 - 格式:1,2,3",
  8620. "name": "accountID",
  8621. "in": "query",
  8622. "required": true
  8623. },
  8624. {
  8625. "type": "string",
  8626. "description": "资金操作类型 - 格式:1,2,3",
  8627. "name": "OperateType",
  8628. "in": "query"
  8629. }
  8630. ],
  8631. "responses": {
  8632. "200": {
  8633. "description": "OK",
  8634. "schema": {
  8635. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8636. }
  8637. },
  8638. "500": {
  8639. "description": "Internal Server Error",
  8640. "schema": {
  8641. "$ref": "#/definitions/app.Response"
  8642. }
  8643. }
  8644. }
  8645. }
  8646. },
  8647. "/TaAccount/QueryHisAmountLog": {
  8648. "get": {
  8649. "security": [
  8650. {
  8651. "ApiKeyAuth": []
  8652. }
  8653. ],
  8654. "produces": [
  8655. "application/json"
  8656. ],
  8657. "tags": [
  8658. "资金账户"
  8659. ],
  8660. "summary": "资金流水查询(历史)",
  8661. "parameters": [
  8662. {
  8663. "type": "integer",
  8664. "description": "页码",
  8665. "name": "page",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "integer",
  8670. "description": "每页条数",
  8671. "name": "pagesize",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "string",
  8676. "description": "资金账户 - 格式:1,2,3",
  8677. "name": "accountID",
  8678. "in": "query",
  8679. "required": true
  8680. },
  8681. {
  8682. "type": "string",
  8683. "description": "资金操作类型 - 格式:1,2,3",
  8684. "name": "OperateType",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "string",
  8689. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8690. "name": "startDate",
  8691. "in": "query"
  8692. },
  8693. {
  8694. "type": "string",
  8695. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8696. "name": "endDate",
  8697. "in": "query"
  8698. }
  8699. ],
  8700. "responses": {
  8701. "200": {
  8702. "description": "OK",
  8703. "schema": {
  8704. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8705. }
  8706. },
  8707. "500": {
  8708. "description": "Internal Server Error",
  8709. "schema": {
  8710. "$ref": "#/definitions/app.Response"
  8711. }
  8712. }
  8713. }
  8714. }
  8715. },
  8716. "/Trade/QueryRecieptOrder": {
  8717. "get": {
  8718. "security": [
  8719. {
  8720. "ApiKeyAuth": []
  8721. }
  8722. ],
  8723. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8724. "produces": [
  8725. "application/json"
  8726. ],
  8727. "tags": [
  8728. "通用交易"
  8729. ],
  8730. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8731. "parameters": [
  8732. {
  8733. "type": "integer",
  8734. "description": "页码",
  8735. "name": "page",
  8736. "in": "query"
  8737. },
  8738. {
  8739. "type": "integer",
  8740. "description": "每页条数",
  8741. "name": "pagesize",
  8742. "in": "query"
  8743. },
  8744. {
  8745. "type": "integer",
  8746. "description": "商品ID",
  8747. "name": "goodsID",
  8748. "in": "query",
  8749. "required": true
  8750. },
  8751. {
  8752. "type": "string",
  8753. "description": "所属账户名称",
  8754. "name": "accountName",
  8755. "in": "query"
  8756. },
  8757. {
  8758. "type": "integer",
  8759. "description": "市场ID",
  8760. "name": "marketID",
  8761. "in": "query"
  8762. },
  8763. {
  8764. "type": "integer",
  8765. "description": "方向 - 0:买 1:卖",
  8766. "name": "buyorsell",
  8767. "in": "query",
  8768. "required": true
  8769. }
  8770. ],
  8771. "responses": {
  8772. "200": {
  8773. "description": "OK",
  8774. "schema": {
  8775. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8776. }
  8777. },
  8778. "500": {
  8779. "description": "Internal Server Error",
  8780. "schema": {
  8781. "$ref": "#/definitions/app.Response"
  8782. }
  8783. }
  8784. }
  8785. }
  8786. },
  8787. "/User/AddMessageBoard": {
  8788. "post": {
  8789. "security": [
  8790. {
  8791. "ApiKeyAuth": []
  8792. }
  8793. ],
  8794. "produces": [
  8795. "application/json"
  8796. ],
  8797. "tags": [
  8798. "用户信息"
  8799. ],
  8800. "summary": "添加用户留言板信息",
  8801. "parameters": [
  8802. {
  8803. "type": "integer",
  8804. "description": "用户ID",
  8805. "name": "userID",
  8806. "in": "query",
  8807. "required": true
  8808. },
  8809. {
  8810. "type": "string",
  8811. "description": "留言信息",
  8812. "name": "message",
  8813. "in": "query",
  8814. "required": true
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "联系电话",
  8819. "name": "contactNum",
  8820. "in": "query",
  8821. "required": true
  8822. }
  8823. ],
  8824. "responses": {
  8825. "200": {
  8826. "description": "OK",
  8827. "schema": {
  8828. "$ref": "#/definitions/app.Response"
  8829. }
  8830. },
  8831. "500": {
  8832. "description": "Internal Server Error",
  8833. "schema": {
  8834. "$ref": "#/definitions/app.Response"
  8835. }
  8836. }
  8837. }
  8838. }
  8839. },
  8840. "/User/AddUserFavoriteGoods": {
  8841. "post": {
  8842. "security": [
  8843. {
  8844. "ApiKeyAuth": []
  8845. }
  8846. ],
  8847. "produces": [
  8848. "application/json"
  8849. ],
  8850. "tags": [
  8851. "用户信息"
  8852. ],
  8853. "summary": "添加用户商品收藏信息",
  8854. "parameters": [
  8855. {
  8856. "type": "integer",
  8857. "description": "用户ID",
  8858. "name": "userID",
  8859. "in": "query",
  8860. "required": true
  8861. },
  8862. {
  8863. "type": "integer",
  8864. "description": "商品ID",
  8865. "name": "goodsID",
  8866. "in": "query",
  8867. "required": true
  8868. }
  8869. ],
  8870. "responses": {
  8871. "200": {
  8872. "description": "OK",
  8873. "schema": {
  8874. "$ref": "#/definitions/app.Response"
  8875. }
  8876. },
  8877. "500": {
  8878. "description": "Internal Server Error",
  8879. "schema": {
  8880. "$ref": "#/definitions/app.Response"
  8881. }
  8882. }
  8883. }
  8884. }
  8885. },
  8886. "/User/GetLoginID": {
  8887. "get": {
  8888. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8889. "produces": [
  8890. "application/json"
  8891. ],
  8892. "tags": [
  8893. "用户信息"
  8894. ],
  8895. "summary": "获取登录ID",
  8896. "parameters": [
  8897. {
  8898. "type": "string",
  8899. "description": "登录代码",
  8900. "name": "username",
  8901. "in": "query",
  8902. "required": true
  8903. }
  8904. ],
  8905. "responses": {
  8906. "200": {
  8907. "description": "OK",
  8908. "schema": {
  8909. "$ref": "#/definitions/app.Response"
  8910. }
  8911. },
  8912. "500": {
  8913. "description": "Internal Server Error",
  8914. "schema": {
  8915. "$ref": "#/definitions/app.Response"
  8916. }
  8917. }
  8918. }
  8919. }
  8920. },
  8921. "/User/GetUserAccount": {
  8922. "get": {
  8923. "security": [
  8924. {
  8925. "ApiKeyAuth": []
  8926. }
  8927. ],
  8928. "produces": [
  8929. "application/json"
  8930. ],
  8931. "tags": [
  8932. "用户信息"
  8933. ],
  8934. "summary": "获取用户账号信息",
  8935. "parameters": [
  8936. {
  8937. "type": "integer",
  8938. "description": "用户ID",
  8939. "name": "userID",
  8940. "in": "query",
  8941. "required": true
  8942. }
  8943. ],
  8944. "responses": {
  8945. "200": {
  8946. "description": "OK",
  8947. "schema": {
  8948. "$ref": "#/definitions/models.Useraccount"
  8949. }
  8950. },
  8951. "500": {
  8952. "description": "Internal Server Error",
  8953. "schema": {
  8954. "$ref": "#/definitions/app.Response"
  8955. }
  8956. }
  8957. }
  8958. }
  8959. },
  8960. "/User/GetUserAuthStatus": {
  8961. "get": {
  8962. "security": [
  8963. {
  8964. "ApiKeyAuth": []
  8965. }
  8966. ],
  8967. "produces": [
  8968. "application/json"
  8969. ],
  8970. "tags": [
  8971. "用户信息"
  8972. ],
  8973. "summary": "获取用户实名认证状态",
  8974. "parameters": [
  8975. {
  8976. "type": "integer",
  8977. "description": "用户ID",
  8978. "name": "userID",
  8979. "in": "query",
  8980. "required": true
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "$ref": "#/definitions/app.Response"
  8988. }
  8989. },
  8990. "500": {
  8991. "description": "Internal Server Error",
  8992. "schema": {
  8993. "$ref": "#/definitions/app.Response"
  8994. }
  8995. }
  8996. }
  8997. }
  8998. },
  8999. "/User/LoginQuery": {
  9000. "get": {
  9001. "security": [
  9002. {
  9003. "ApiKeyAuth": []
  9004. }
  9005. ],
  9006. "produces": [
  9007. "application/json"
  9008. ],
  9009. "tags": [
  9010. "用户信息"
  9011. ],
  9012. "summary": "账户登录后信息查询",
  9013. "parameters": [
  9014. {
  9015. "type": "integer",
  9016. "description": "登录账号",
  9017. "name": "loginID",
  9018. "in": "query",
  9019. "required": true
  9020. }
  9021. ],
  9022. "responses": {
  9023. "200": {
  9024. "description": "OK",
  9025. "schema": {
  9026. "$ref": "#/definitions/user.LoginQueryRsp"
  9027. }
  9028. },
  9029. "500": {
  9030. "description": "Internal Server Error",
  9031. "schema": {
  9032. "$ref": "#/definitions/app.Response"
  9033. }
  9034. }
  9035. }
  9036. }
  9037. },
  9038. "/User/QueryMessageBoard": {
  9039. "get": {
  9040. "security": [
  9041. {
  9042. "ApiKeyAuth": []
  9043. }
  9044. ],
  9045. "produces": [
  9046. "application/json"
  9047. ],
  9048. "tags": [
  9049. "用户信息"
  9050. ],
  9051. "summary": "获取用户留言板信息",
  9052. "parameters": [
  9053. {
  9054. "type": "integer",
  9055. "description": "用户ID",
  9056. "name": "userID",
  9057. "in": "query",
  9058. "required": true
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "$ref": "#/definitions/models.Messageboard"
  9066. }
  9067. },
  9068. "500": {
  9069. "description": "Internal Server Error",
  9070. "schema": {
  9071. "$ref": "#/definitions/app.Response"
  9072. }
  9073. }
  9074. }
  9075. }
  9076. },
  9077. "/User/QueryUserFavoriteGoodses": {
  9078. "get": {
  9079. "security": [
  9080. {
  9081. "ApiKeyAuth": []
  9082. }
  9083. ],
  9084. "produces": [
  9085. "application/json"
  9086. ],
  9087. "tags": [
  9088. "用户信息"
  9089. ],
  9090. "summary": "获取用户商品收藏信息",
  9091. "parameters": [
  9092. {
  9093. "type": "integer",
  9094. "description": "用户ID",
  9095. "name": "userID",
  9096. "in": "query",
  9097. "required": true
  9098. }
  9099. ],
  9100. "responses": {
  9101. "200": {
  9102. "description": "OK",
  9103. "schema": {
  9104. "$ref": "#/definitions/models.Userfavoritegoods"
  9105. }
  9106. },
  9107. "500": {
  9108. "description": "Internal Server Error",
  9109. "schema": {
  9110. "$ref": "#/definitions/app.Response"
  9111. }
  9112. }
  9113. }
  9114. }
  9115. },
  9116. "/User/QueryUserInfo": {
  9117. "get": {
  9118. "security": [
  9119. {
  9120. "ApiKeyAuth": []
  9121. }
  9122. ],
  9123. "produces": [
  9124. "application/json"
  9125. ],
  9126. "tags": [
  9127. "用户信息"
  9128. ],
  9129. "summary": "获取用户信息",
  9130. "parameters": [
  9131. {
  9132. "type": "integer",
  9133. "description": "用户ID",
  9134. "name": "userID",
  9135. "in": "query",
  9136. "required": true
  9137. },
  9138. {
  9139. "type": "boolean",
  9140. "description": "是否解密",
  9141. "name": "isDecrypt",
  9142. "in": "query"
  9143. }
  9144. ],
  9145. "responses": {
  9146. "200": {
  9147. "description": "OK",
  9148. "schema": {
  9149. "$ref": "#/definitions/models.Userinfo"
  9150. }
  9151. },
  9152. "500": {
  9153. "description": "Internal Server Error",
  9154. "schema": {
  9155. "$ref": "#/definitions/app.Response"
  9156. }
  9157. }
  9158. }
  9159. }
  9160. },
  9161. "/User/QueryUserReferNum": {
  9162. "get": {
  9163. "produces": [
  9164. "application/json"
  9165. ],
  9166. "tags": [
  9167. "用户信息"
  9168. ],
  9169. "summary": "获取用户邀请码",
  9170. "parameters": [
  9171. {
  9172. "type": "integer",
  9173. "description": "用户ID",
  9174. "name": "userID",
  9175. "in": "query",
  9176. "required": true
  9177. }
  9178. ],
  9179. "responses": {
  9180. "200": {
  9181. "description": "OK",
  9182. "schema": {
  9183. "$ref": "#/definitions/app.Response"
  9184. }
  9185. },
  9186. "500": {
  9187. "description": "Internal Server Error",
  9188. "schema": {
  9189. "$ref": "#/definitions/app.Response"
  9190. }
  9191. }
  9192. }
  9193. }
  9194. },
  9195. "/User/RemoveUserFavoriteGoods": {
  9196. "post": {
  9197. "security": [
  9198. {
  9199. "ApiKeyAuth": []
  9200. }
  9201. ],
  9202. "produces": [
  9203. "application/json"
  9204. ],
  9205. "tags": [
  9206. "用户信息"
  9207. ],
  9208. "summary": "移除用户商品收藏信息",
  9209. "parameters": [
  9210. {
  9211. "type": "integer",
  9212. "description": "用户ID",
  9213. "name": "userID",
  9214. "in": "query",
  9215. "required": true
  9216. },
  9217. {
  9218. "type": "integer",
  9219. "description": "商品ID",
  9220. "name": "goodsID",
  9221. "in": "query",
  9222. "required": true
  9223. }
  9224. ],
  9225. "responses": {
  9226. "200": {
  9227. "description": "OK",
  9228. "schema": {
  9229. "$ref": "#/definitions/app.Response"
  9230. }
  9231. },
  9232. "500": {
  9233. "description": "Internal Server Error",
  9234. "schema": {
  9235. "$ref": "#/definitions/app.Response"
  9236. }
  9237. }
  9238. }
  9239. }
  9240. },
  9241. "/User/UpdateUserAccountStatus": {
  9242. "post": {
  9243. "security": [
  9244. {
  9245. "ApiKeyAuth": []
  9246. }
  9247. ],
  9248. "produces": [
  9249. "application/json"
  9250. ],
  9251. "tags": [
  9252. "用户信息"
  9253. ],
  9254. "summary": "更新用户状态",
  9255. "parameters": [
  9256. {
  9257. "type": "integer",
  9258. "description": "用户ID",
  9259. "name": "userID",
  9260. "in": "query",
  9261. "required": true
  9262. },
  9263. {
  9264. "type": "integer",
  9265. "description": "账户状态 - 4:正常 6:注销(停用)",
  9266. "name": "accountStatus",
  9267. "in": "query",
  9268. "required": true
  9269. }
  9270. ],
  9271. "responses": {
  9272. "200": {
  9273. "description": "OK",
  9274. "schema": {
  9275. "$ref": "#/definitions/app.Response"
  9276. }
  9277. },
  9278. "500": {
  9279. "description": "Internal Server Error",
  9280. "schema": {
  9281. "$ref": "#/definitions/app.Response"
  9282. }
  9283. }
  9284. }
  9285. }
  9286. },
  9287. "/WRTrade/GetAllDeliveryGoods": {
  9288. "get": {
  9289. "security": [
  9290. {
  9291. "ApiKeyAuth": []
  9292. },
  9293. {
  9294. "ApiKeyAuth": []
  9295. }
  9296. ],
  9297. "produces": [
  9298. "application/json",
  9299. "application/json"
  9300. ],
  9301. "tags": [
  9302. "仓单贸易",
  9303. "仓单贸易"
  9304. ],
  9305. "summary": "获取带仓单分类的种类信息",
  9306. "responses": {
  9307. "200": {
  9308. "description": "OK",
  9309. "schema": {
  9310. "$ref": "#/definitions/app.Response"
  9311. }
  9312. },
  9313. "500": {
  9314. "description": "Internal Server Error",
  9315. "schema": {
  9316. "$ref": "#/definitions/app.Response"
  9317. }
  9318. }
  9319. }
  9320. }
  9321. }
  9322. },
  9323. "definitions": {
  9324. "app.Response": {
  9325. "type": "object",
  9326. "properties": {
  9327. "code": {
  9328. "type": "integer"
  9329. },
  9330. "data": {
  9331. "type": "object"
  9332. },
  9333. "msg": {
  9334. "type": "string"
  9335. },
  9336. "page": {
  9337. "description": "页码",
  9338. "type": "integer"
  9339. },
  9340. "pagesize": {
  9341. "description": "每页条数",
  9342. "type": "integer"
  9343. },
  9344. "total": {
  9345. "description": "总条数",
  9346. "type": "integer"
  9347. }
  9348. }
  9349. },
  9350. "common.ClientMenu": {
  9351. "type": "object",
  9352. "properties": {
  9353. "children": {
  9354. "description": "子菜单列表",
  9355. "type": "array",
  9356. "items": {
  9357. "$ref": "#/definitions/common.ClientMenu"
  9358. }
  9359. },
  9360. "code": {
  9361. "description": "ID",
  9362. "type": "string"
  9363. },
  9364. "isshow": {
  9365. "description": "是否显示",
  9366. "type": "boolean"
  9367. },
  9368. "rulekey": {
  9369. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9370. "type": "string"
  9371. },
  9372. "sort": {
  9373. "description": "排序",
  9374. "type": "integer"
  9375. },
  9376. "title": {
  9377. "description": "标题",
  9378. "type": "string"
  9379. },
  9380. "type": {
  9381. "description": "类型,1:菜单 2:按钮",
  9382. "type": "integer"
  9383. }
  9384. }
  9385. },
  9386. "common.QueryImageConfigsRsp": {
  9387. "type": "object",
  9388. "required": [
  9389. "configid"
  9390. ],
  9391. "properties": {
  9392. "areauserid": {
  9393. "description": "所属机构ID",
  9394. "type": "integer"
  9395. },
  9396. "configid": {
  9397. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9398. "type": "integer"
  9399. },
  9400. "createdate": {
  9401. "description": "创建时间",
  9402. "type": "string"
  9403. },
  9404. "creatorid": {
  9405. "description": "创建人",
  9406. "type": "integer"
  9407. },
  9408. "imagepath": {
  9409. "description": "图片",
  9410. "type": "string"
  9411. },
  9412. "imagetype": {
  9413. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9414. "type": "integer"
  9415. },
  9416. "isshow": {
  9417. "description": "是否展示 - 0:不展示 1:展示",
  9418. "type": "integer"
  9419. },
  9420. "marketid": {
  9421. "description": "市场ID",
  9422. "type": "integer"
  9423. },
  9424. "modifierid": {
  9425. "description": "操作人",
  9426. "type": "integer"
  9427. },
  9428. "sort": {
  9429. "description": "排序",
  9430. "type": "integer"
  9431. },
  9432. "title": {
  9433. "description": "标题",
  9434. "type": "string"
  9435. },
  9436. "trademode": {
  9437. "description": "交易模式",
  9438. "type": "integer"
  9439. },
  9440. "updatedate": {
  9441. "description": "修改时间",
  9442. "type": "string"
  9443. },
  9444. "url": {
  9445. "description": "链接(地址或商品ID)",
  9446. "type": "string"
  9447. },
  9448. "urltype": {
  9449. "description": "链接类型 - 1:直接地址 2:商品ID",
  9450. "type": "integer"
  9451. }
  9452. }
  9453. },
  9454. "common.QueryNoticeRsp": {
  9455. "type": "object",
  9456. "required": [
  9457. "autoid"
  9458. ],
  9459. "properties": {
  9460. "auditoruserid": {
  9461. "description": "审核人",
  9462. "type": "integer"
  9463. },
  9464. "auditremark": {
  9465. "description": "审核备注",
  9466. "type": "string"
  9467. },
  9468. "audittime": {
  9469. "description": "审核日期",
  9470. "type": "string"
  9471. },
  9472. "autoid": {
  9473. "description": "自增ID",
  9474. "type": "integer"
  9475. },
  9476. "content": {
  9477. "description": "内容",
  9478. "type": "string"
  9479. },
  9480. "createtime": {
  9481. "description": "创建时间",
  9482. "type": "string"
  9483. },
  9484. "creatorid": {
  9485. "description": "建仓人",
  9486. "type": "integer"
  9487. },
  9488. "endtime": {
  9489. "description": "结束时间",
  9490. "type": "string"
  9491. },
  9492. "istop": {
  9493. "description": "是否置顶 - 0:不置顶 1:置顶",
  9494. "type": "integer"
  9495. },
  9496. "msgiconurl": {
  9497. "description": "消息图标Url",
  9498. "type": "string"
  9499. },
  9500. "msgtype": {
  9501. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9502. "type": "integer"
  9503. },
  9504. "publisher": {
  9505. "description": "消息发布者",
  9506. "type": "string"
  9507. },
  9508. "readed": {
  9509. "description": "是否已读",
  9510. "type": "boolean"
  9511. },
  9512. "scheduletime": {
  9513. "description": "计划发送时间",
  9514. "type": "string"
  9515. },
  9516. "sendtype": {
  9517. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9518. "type": "integer"
  9519. },
  9520. "sentstatus": {
  9521. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9522. "type": "integer"
  9523. },
  9524. "title": {
  9525. "description": "标题",
  9526. "type": "string"
  9527. },
  9528. "userid": {
  9529. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9530. "type": "integer"
  9531. }
  9532. }
  9533. },
  9534. "common.QueryProvincesAndCitiesRsp": {
  9535. "type": "object",
  9536. "properties": {
  9537. "cities": {
  9538. "description": "市",
  9539. "type": "array",
  9540. "items": {
  9541. "$ref": "#/definitions/models.Division"
  9542. }
  9543. },
  9544. "province": {
  9545. "description": "省",
  9546. "type": "object",
  9547. "$ref": "#/definitions/models.Division"
  9548. }
  9549. }
  9550. },
  9551. "common.QueryTableDefineRsp": {
  9552. "type": "object",
  9553. "required": [
  9554. "tablekey"
  9555. ],
  9556. "properties": {
  9557. "columns": {
  9558. "description": "列头信息数组",
  9559. "type": "array",
  9560. "items": {
  9561. "$ref": "#/definitions/models.Tablecolumnconfig"
  9562. }
  9563. },
  9564. "remark": {
  9565. "description": "Remark",
  9566. "type": "string"
  9567. },
  9568. "tabelmenu": {
  9569. "description": "列表菜单",
  9570. "type": "string"
  9571. },
  9572. "tablekey": {
  9573. "description": "列表Key",
  9574. "type": "string"
  9575. },
  9576. "tablename": {
  9577. "description": "列表名称",
  9578. "type": "string"
  9579. },
  9580. "tabletype": {
  9581. "description": "列表类型 - 1:管理端 2:终端",
  9582. "type": "integer"
  9583. }
  9584. }
  9585. },
  9586. "common.QueryTraderMenuRsp": {
  9587. "type": "object",
  9588. "properties": {
  9589. "OperationMenu": {
  9590. "description": "功能菜单",
  9591. "type": "array",
  9592. "items": {
  9593. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9594. }
  9595. },
  9596. "QuoteMenu": {
  9597. "description": "报价牌分类菜单",
  9598. "type": "array",
  9599. "items": {
  9600. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9601. }
  9602. }
  9603. }
  9604. },
  9605. "cptrade.Cptradepositioncancel": {
  9606. "type": "object",
  9607. "required": [
  9608. "cancelid"
  9609. ],
  9610. "properties": {
  9611. "accountid": {
  9612. "description": "申请人账户ID",
  9613. "type": "integer"
  9614. },
  9615. "applystatus": {
  9616. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9617. "type": "integer"
  9618. },
  9619. "applytime": {
  9620. "description": "申请时间",
  9621. "type": "string"
  9622. },
  9623. "cancelid": {
  9624. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9625. "type": "integer"
  9626. },
  9627. "cancelqty": {
  9628. "description": "注销数量",
  9629. "type": "integer"
  9630. },
  9631. "createtime": {
  9632. "description": "创建时间",
  9633. "type": "string"
  9634. },
  9635. "creatorid": {
  9636. "description": "创建人ID",
  9637. "type": "integer"
  9638. },
  9639. "creatorname": {
  9640. "description": "创建人",
  9641. "type": "string"
  9642. },
  9643. "goodscode": {
  9644. "description": "订单商品代码",
  9645. "type": "string"
  9646. },
  9647. "goodsid": {
  9648. "description": "商品ID",
  9649. "type": "integer"
  9650. },
  9651. "goodsname": {
  9652. "description": "订单商品名称",
  9653. "type": "string"
  9654. },
  9655. "goodunit": {
  9656. "description": "报价单位",
  9657. "type": "string"
  9658. },
  9659. "handlestatus": {
  9660. "description": "处理状态",
  9661. "type": "integer"
  9662. },
  9663. "marketid": {
  9664. "description": "市场ID",
  9665. "type": "integer"
  9666. },
  9667. "marketname": {
  9668. "description": "市场名称",
  9669. "type": "string"
  9670. },
  9671. "tradedate": {
  9672. "description": "交易日(yyyyMMdd)",
  9673. "type": "string"
  9674. },
  9675. "userid": {
  9676. "description": "申请人ID",
  9677. "type": "integer"
  9678. }
  9679. }
  9680. },
  9681. "cptrade.Cptradepresaleapply": {
  9682. "type": "object",
  9683. "required": [
  9684. "applyid"
  9685. ],
  9686. "properties": {
  9687. "accountid": {
  9688. "description": "申请人账户ID",
  9689. "type": "integer"
  9690. },
  9691. "applyid": {
  9692. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9693. "type": "integer"
  9694. },
  9695. "applyremark": {
  9696. "description": "申请备注",
  9697. "type": "string"
  9698. },
  9699. "applystatus": {
  9700. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9701. "type": "integer"
  9702. },
  9703. "applytime": {
  9704. "description": "申请时间",
  9705. "type": "string"
  9706. },
  9707. "attachmenturl": {
  9708. "description": "附件地址",
  9709. "type": "string"
  9710. },
  9711. "endtime": {
  9712. "description": "预售结束时间",
  9713. "type": "string"
  9714. },
  9715. "goodscode": {
  9716. "description": "商品代码",
  9717. "type": "string"
  9718. },
  9719. "goodsid": {
  9720. "description": "商品ID",
  9721. "type": "integer"
  9722. },
  9723. "goodsname": {
  9724. "description": "商品名称",
  9725. "type": "string"
  9726. },
  9727. "goodunit": {
  9728. "description": "报价单位",
  9729. "type": "string"
  9730. },
  9731. "handlestatus": {
  9732. "description": "处理状态",
  9733. "type": "integer"
  9734. },
  9735. "marketid": {
  9736. "description": "预售市场ID",
  9737. "type": "integer"
  9738. },
  9739. "marketname": {
  9740. "description": "预售市场名称",
  9741. "type": "string"
  9742. },
  9743. "presaleqty": {
  9744. "description": "预售数量",
  9745. "type": "integer"
  9746. },
  9747. "relatedgoodscode": {
  9748. "description": "关联交易合约代码",
  9749. "type": "string"
  9750. },
  9751. "relatedgoodsid": {
  9752. "description": "关联交易合约ID",
  9753. "type": "integer"
  9754. },
  9755. "relatedgoodsname": {
  9756. "description": "关联交易合约名称",
  9757. "type": "string"
  9758. },
  9759. "starttime": {
  9760. "description": "预售开始时间",
  9761. "type": "string"
  9762. },
  9763. "tradedate": {
  9764. "description": "交易日(yyyyMMdd)",
  9765. "type": "string"
  9766. },
  9767. "trademode": {
  9768. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9769. "type": "integer"
  9770. },
  9771. "userid": {
  9772. "description": "申请人ID",
  9773. "type": "integer"
  9774. }
  9775. }
  9776. },
  9777. "cptrade.Cptradeusergoodsdata": {
  9778. "type": "object",
  9779. "required": [
  9780. "accountid",
  9781. "goodsid"
  9782. ],
  9783. "properties": {
  9784. "EnabledQty": {
  9785. "description": "可用量",
  9786. "type": "integer"
  9787. },
  9788. "GoodsCode": {
  9789. "description": "订单商品代码",
  9790. "type": "string"
  9791. },
  9792. "GoodsName": {
  9793. "description": "订单商品名称",
  9794. "type": "string"
  9795. },
  9796. "WRStandardCode": {
  9797. "description": "仓单标准代码",
  9798. "type": "string"
  9799. },
  9800. "WRStandardName": {
  9801. "description": "仓单标准名称",
  9802. "type": "string"
  9803. },
  9804. "accountid": {
  9805. "description": "账户ID",
  9806. "type": "integer"
  9807. },
  9808. "cancelqty": {
  9809. "description": "注销量",
  9810. "type": "integer"
  9811. },
  9812. "curpresaleqty": {
  9813. "description": "当前预售量",
  9814. "type": "integer"
  9815. },
  9816. "deliveryqty": {
  9817. "description": "交割量",
  9818. "type": "integer"
  9819. },
  9820. "freezeamount": {
  9821. "description": "冻结金额",
  9822. "type": "number"
  9823. },
  9824. "goodsid": {
  9825. "description": "商品ID",
  9826. "type": "integer"
  9827. },
  9828. "goodunit": {
  9829. "description": "报价单位",
  9830. "type": "string"
  9831. },
  9832. "hasspotfreeze": {
  9833. "description": "是否有现货冻结 - 0:否 1:有",
  9834. "type": "integer"
  9835. },
  9836. "inqty": {
  9837. "description": "转入量(总数量)",
  9838. "type": "integer"
  9839. },
  9840. "marketid": {
  9841. "description": "市场ID",
  9842. "type": "integer"
  9843. },
  9844. "presaledamount": {
  9845. "description": "已预售总金额",
  9846. "type": "integer"
  9847. },
  9848. "presaledqty": {
  9849. "description": "已预售量",
  9850. "type": "integer"
  9851. },
  9852. "userid": {
  9853. "description": "用户ID",
  9854. "type": "integer"
  9855. },
  9856. "wrstandardid": {
  9857. "description": "仓单标准ID",
  9858. "type": "integer"
  9859. }
  9860. }
  9861. },
  9862. "cptrade.QueryCPTradeMyBidRsp": {
  9863. "type": "object",
  9864. "required": [
  9865. "accountid",
  9866. "goodsid",
  9867. "marketid",
  9868. "orderid",
  9869. "orderqty",
  9870. "ordertime",
  9871. "tradeprice",
  9872. "tradeqty"
  9873. ],
  9874. "properties": {
  9875. "accountid": {
  9876. "description": "账户ID[报价币种]",
  9877. "type": "integer"
  9878. },
  9879. "goodsid": {
  9880. "description": "商品ID",
  9881. "type": "integer"
  9882. },
  9883. "goodunit": {
  9884. "description": "报价单位",
  9885. "type": "string"
  9886. },
  9887. "marketid": {
  9888. "description": "市场ID",
  9889. "type": "integer"
  9890. },
  9891. "orderid": {
  9892. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9893. "type": "integer"
  9894. },
  9895. "orderprice": {
  9896. "description": "委托价格",
  9897. "type": "number"
  9898. },
  9899. "orderqty": {
  9900. "description": "委托数量",
  9901. "type": "integer"
  9902. },
  9903. "ordertime": {
  9904. "description": "委托时间",
  9905. "type": "string"
  9906. },
  9907. "ordertotalprice": {
  9908. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9909. "type": "number"
  9910. },
  9911. "ordertotalweight": {
  9912. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9913. "type": "integer"
  9914. },
  9915. "totaltotalprice": {
  9916. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9917. "type": "number"
  9918. },
  9919. "tradeprice": {
  9920. "description": "成交价格",
  9921. "type": "number"
  9922. },
  9923. "tradeqty": {
  9924. "description": "成交数量",
  9925. "type": "integer"
  9926. }
  9927. }
  9928. },
  9929. "cptrade.QueryCPTradeOrderDetailRsq": {
  9930. "type": "object",
  9931. "required": [
  9932. "accountid",
  9933. "buildtype",
  9934. "buyorsell",
  9935. "goodsid",
  9936. "marketid",
  9937. "memberuserid",
  9938. "operatetype",
  9939. "orderqty",
  9940. "ordertime",
  9941. "pricemode",
  9942. "strorderid",
  9943. "tradedate",
  9944. "validtype"
  9945. ],
  9946. "properties": {
  9947. "accountid": {
  9948. "description": "账户ID[报价币种]",
  9949. "type": "integer"
  9950. },
  9951. "buildtype": {
  9952. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9953. "type": "integer"
  9954. },
  9955. "buyorsell": {
  9956. "description": "买卖 - 0:买 1:卖",
  9957. "type": "integer"
  9958. },
  9959. "cancelorderid": {
  9960. "description": "撤单单号(撤单时填写)",
  9961. "type": "integer"
  9962. },
  9963. "cancelqty": {
  9964. "description": "撤单数量",
  9965. "type": "integer"
  9966. },
  9967. "clientordertime": {
  9968. "description": "客户端委托时间",
  9969. "type": "string"
  9970. },
  9971. "clientticket": {
  9972. "description": "客户端流水号",
  9973. "type": "string"
  9974. },
  9975. "clienttype": {
  9976. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9977. "type": "integer"
  9978. },
  9979. "closeexchagechargevalue": {
  9980. "description": "平仓交易所手续费设置值",
  9981. "type": "number"
  9982. },
  9983. "closefeealgorithm": {
  9984. "description": "平仓手续费收取方式 1:比率 2:固定",
  9985. "type": "integer"
  9986. },
  9987. "closefreezecharge": {
  9988. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9989. "type": "number"
  9990. },
  9991. "closememberchargevalue": {
  9992. "description": "平仓会员手续费设置值",
  9993. "type": "number"
  9994. },
  9995. "closeqty": {
  9996. "description": "平仓数量(先建后平操作 需要记录)",
  9997. "type": "integer"
  9998. },
  9999. "closetradeqty": {
  10000. "description": "平仓成交数量(先建后平操作,需要记录)",
  10001. "type": "integer"
  10002. },
  10003. "closeunfreezecharge": {
  10004. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10005. "type": "number"
  10006. },
  10007. "delistingtype": {
  10008. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10009. "type": "integer"
  10010. },
  10011. "freezecharge": {
  10012. "description": "冻结手续费",
  10013. "type": "number"
  10014. },
  10015. "freezemargin": {
  10016. "description": "冻结保证金(冻结交易金额)",
  10017. "type": "number"
  10018. },
  10019. "gcaccountid": {
  10020. "description": "账户ID[合约币种]",
  10021. "type": "integer"
  10022. },
  10023. "goodsid": {
  10024. "description": "商品ID",
  10025. "type": "integer"
  10026. },
  10027. "isconfirmexercise": {
  10028. "description": "是否确认行权- 0:否 1:是",
  10029. "type": "integer"
  10030. },
  10031. "ispreexercise": {
  10032. "description": "是否预申报- 0:否 1:是",
  10033. "type": "integer"
  10034. },
  10035. "listingselecttype": {
  10036. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10037. "type": "integer"
  10038. },
  10039. "marginalgorithm": {
  10040. "description": "保证金收取方式 1:比率 2:固定",
  10041. "type": "integer"
  10042. },
  10043. "marginvalue": {
  10044. "description": "即市保证金设置值",
  10045. "type": "number"
  10046. },
  10047. "marketid": {
  10048. "description": "市场ID",
  10049. "type": "integer"
  10050. },
  10051. "marketmaxsub": {
  10052. "description": "市价最大偏移范围",
  10053. "type": "number"
  10054. },
  10055. "memberuserid": {
  10056. "description": "所属会员UserID",
  10057. "type": "integer"
  10058. },
  10059. "openexchagechargevalue": {
  10060. "description": "建仓交易所手续费设置值",
  10061. "type": "number"
  10062. },
  10063. "openfeealgorithm": {
  10064. "description": "建仓手续费收取方式 1:比率 2:固定",
  10065. "type": "integer"
  10066. },
  10067. "openfreezecharge": {
  10068. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10069. "type": "number"
  10070. },
  10071. "openmemberchargevalue": {
  10072. "description": "建仓会员手续费设置值",
  10073. "type": "number"
  10074. },
  10075. "openqty": {
  10076. "description": "开仓数量(先建后平操作,需要记录)",
  10077. "type": "integer"
  10078. },
  10079. "opentradeqty": {
  10080. "description": "开仓成交数量(先建后平操作,需要记录)",
  10081. "type": "integer"
  10082. },
  10083. "openunfreezecharge": {
  10084. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10085. "type": "number"
  10086. },
  10087. "operatetype": {
  10088. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10089. "type": "integer"
  10090. },
  10091. "operatorid": {
  10092. "description": "登录账号(LoginID)",
  10093. "type": "integer"
  10094. },
  10095. "optiontype": {
  10096. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10097. "type": "integer"
  10098. },
  10099. "orderprice": {
  10100. "description": "委托价格",
  10101. "type": "number"
  10102. },
  10103. "orderqty": {
  10104. "description": "委托数量",
  10105. "type": "integer"
  10106. },
  10107. "ordersrc": {
  10108. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10109. "type": "integer"
  10110. },
  10111. "orderstatus": {
  10112. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10113. "type": "integer"
  10114. },
  10115. "ordertime": {
  10116. "description": "委托时间",
  10117. "type": "string"
  10118. },
  10119. "preexerciseprice": {
  10120. "description": "预申报价格",
  10121. "type": "number"
  10122. },
  10123. "premium": {
  10124. "description": "权利金",
  10125. "type": "number"
  10126. },
  10127. "preorderid": {
  10128. "description": "关联预埋单号(止盈止损单时填写)",
  10129. "type": "integer"
  10130. },
  10131. "pricemode": {
  10132. "description": "取价方式 - 1:市价 2: 限价",
  10133. "type": "integer"
  10134. },
  10135. "quoteid": {
  10136. "description": "报价单ID",
  10137. "type": "integer"
  10138. },
  10139. "relatedid": {
  10140. "description": "关联单号(交割单)",
  10141. "type": "integer"
  10142. },
  10143. "retcode": {
  10144. "description": "错误代码",
  10145. "type": "integer"
  10146. },
  10147. "sessionid": {
  10148. "description": "会话ID",
  10149. "type": "integer"
  10150. },
  10151. "strorderid": {
  10152. "description": "委托单号",
  10153. "type": "string"
  10154. },
  10155. "tradedate": {
  10156. "description": "交易日(yyyyMMdd)",
  10157. "type": "string"
  10158. },
  10159. "tradeproperty": {
  10160. "description": "交易属性",
  10161. "type": "integer"
  10162. },
  10163. "tradeqty": {
  10164. "description": "成交数量",
  10165. "type": "integer"
  10166. },
  10167. "unfreezecharge": {
  10168. "description": "解冻手续费",
  10169. "type": "number"
  10170. },
  10171. "unfreezemargin": {
  10172. "description": "解冻保证金",
  10173. "type": "number"
  10174. },
  10175. "updatetime": {
  10176. "description": "更新时间",
  10177. "type": "string"
  10178. },
  10179. "uuid": {
  10180. "description": "发起端唯一id",
  10181. "type": "string"
  10182. },
  10183. "validtime": {
  10184. "description": "有效期限",
  10185. "type": "string"
  10186. },
  10187. "validtype": {
  10188. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10189. "type": "integer"
  10190. },
  10191. "volumetype": {
  10192. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10193. "type": "integer"
  10194. }
  10195. }
  10196. },
  10197. "cptrade.QueryMyCPTradeGoodsRsp": {
  10198. "type": "object",
  10199. "required": [
  10200. "goodscode",
  10201. "goodsid",
  10202. "goodsname",
  10203. "marketid",
  10204. "relatedgoodscode",
  10205. "relatedgoodsname"
  10206. ],
  10207. "properties": {
  10208. "accountid": {
  10209. "description": "卖方账户ID",
  10210. "type": "integer"
  10211. },
  10212. "agreeunit": {
  10213. "description": "合约单位",
  10214. "type": "number"
  10215. },
  10216. "applyid": {
  10217. "description": "关联申请ID",
  10218. "type": "integer"
  10219. },
  10220. "attachmenturl": {
  10221. "description": "附件地址",
  10222. "type": "string"
  10223. },
  10224. "createtime": {
  10225. "description": "创建时间",
  10226. "type": "string"
  10227. },
  10228. "currencyid": {
  10229. "description": "报价货币ID",
  10230. "type": "integer"
  10231. },
  10232. "decimalplace": {
  10233. "description": "报价小数位",
  10234. "type": "integer"
  10235. },
  10236. "endtime": {
  10237. "description": "预售结束时间",
  10238. "type": "string"
  10239. },
  10240. "floorprice": {
  10241. "description": "底价[大宗式竞拍]",
  10242. "type": "number"
  10243. },
  10244. "goodscode": {
  10245. "description": "商品代码(预售)",
  10246. "type": "string"
  10247. },
  10248. "goodsdetail": {
  10249. "description": "详情[大宗]",
  10250. "type": "string"
  10251. },
  10252. "goodsid": {
  10253. "description": "商品ID(自增ID SEQ_GOODS)",
  10254. "type": "integer"
  10255. },
  10256. "goodsname": {
  10257. "description": "商品名称(预售)",
  10258. "type": "string"
  10259. },
  10260. "goodunit": {
  10261. "description": "报价单位",
  10262. "type": "string"
  10263. },
  10264. "goodunitid": {
  10265. "description": "报价单位ID",
  10266. "type": "integer"
  10267. },
  10268. "marketid": {
  10269. "description": "所属市场ID",
  10270. "type": "integer"
  10271. },
  10272. "marketname": {
  10273. "description": "预售市场名称",
  10274. "type": "string"
  10275. },
  10276. "presaledamount": {
  10277. "description": "已预售总金额(预售结束时更新)",
  10278. "type": "number"
  10279. },
  10280. "presaledqty": {
  10281. "description": "已预售量(预售结束时更新)",
  10282. "type": "integer"
  10283. },
  10284. "presalemode": {
  10285. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10286. "type": "integer"
  10287. },
  10288. "presaleqty": {
  10289. "description": "预售数量",
  10290. "type": "integer"
  10291. },
  10292. "refprice": {
  10293. "description": "参考价格[一口价]",
  10294. "type": "number"
  10295. },
  10296. "relatedgoodscode": {
  10297. "description": "商品代码(订单)",
  10298. "type": "string"
  10299. },
  10300. "relatedgoodsid": {
  10301. "description": "关联交易合约ID",
  10302. "type": "integer"
  10303. },
  10304. "relatedgoodsname": {
  10305. "description": "商品名称(订单)",
  10306. "type": "string"
  10307. },
  10308. "relatedmarketid": {
  10309. "description": "关联交易合约市场ID",
  10310. "type": "integer"
  10311. },
  10312. "sellstatus": {
  10313. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10314. "type": "integer"
  10315. },
  10316. "startprice": {
  10317. "description": "起拍价[大宗式竞拍]",
  10318. "type": "number"
  10319. },
  10320. "starttime": {
  10321. "description": "预售开始时间",
  10322. "type": "string"
  10323. },
  10324. "tradedate": {
  10325. "description": "交易日(yyyyMMdd)",
  10326. "type": "string"
  10327. },
  10328. "tradeprice": {
  10329. "description": "成交价[大宗]",
  10330. "type": "number"
  10331. },
  10332. "userid": {
  10333. "description": "卖方用户ID",
  10334. "type": "integer"
  10335. }
  10336. }
  10337. },
  10338. "cptrade.QueryPresaleGoodsExRsp": {
  10339. "type": "object",
  10340. "required": [
  10341. "goodsid"
  10342. ],
  10343. "properties": {
  10344. "attachmenturl": {
  10345. "description": "附件地址",
  10346. "type": "string"
  10347. },
  10348. "createtime": {
  10349. "description": "创建时间",
  10350. "type": "string"
  10351. },
  10352. "endtime": {
  10353. "description": "预售结束时间",
  10354. "type": "string"
  10355. },
  10356. "floorprice": {
  10357. "description": "底价[大宗式竞拍]",
  10358. "type": "number"
  10359. },
  10360. "goodsdetail": {
  10361. "description": "详情[大宗]",
  10362. "type": "string"
  10363. },
  10364. "goodsid": {
  10365. "description": "商品ID(预售)",
  10366. "type": "integer"
  10367. },
  10368. "goodunit": {
  10369. "description": "报价单位",
  10370. "type": "string"
  10371. },
  10372. "marketid": {
  10373. "description": "预售市场ID - 根据预售模式选择市场",
  10374. "type": "integer"
  10375. },
  10376. "presaledamount": {
  10377. "description": "已预售总金额(预售结束时更新)",
  10378. "type": "number"
  10379. },
  10380. "presaledqty": {
  10381. "description": "已预售量(预售结束时更新)",
  10382. "type": "integer"
  10383. },
  10384. "presalemode": {
  10385. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10386. "type": "integer"
  10387. },
  10388. "presaleqty": {
  10389. "description": "预售数量",
  10390. "type": "integer"
  10391. },
  10392. "refprice": {
  10393. "description": "参考价格[一口价]",
  10394. "type": "number"
  10395. },
  10396. "relatedgoodsid": {
  10397. "description": "关联交易合约ID",
  10398. "type": "integer"
  10399. },
  10400. "relatedmarketid": {
  10401. "description": "关联交易合约市场ID",
  10402. "type": "integer"
  10403. },
  10404. "sellstatus": {
  10405. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10406. "type": "integer"
  10407. },
  10408. "startprice": {
  10409. "description": "起拍价[大宗式竞拍]",
  10410. "type": "number"
  10411. },
  10412. "starttime": {
  10413. "description": "预售开始时间",
  10414. "type": "string"
  10415. },
  10416. "tradedate": {
  10417. "description": "交易日(yyyyMMdd)",
  10418. "type": "string"
  10419. },
  10420. "tradeprice": {
  10421. "description": "成交价[大宗]",
  10422. "type": "number"
  10423. }
  10424. }
  10425. },
  10426. "delivery.QueryDeliveryRelationRsp": {
  10427. "type": "object",
  10428. "required": [
  10429. "begindate",
  10430. "enddate",
  10431. "goodsid",
  10432. "mindeliveryqty",
  10433. "xdeliveryratio"
  10434. ],
  10435. "properties": {
  10436. "begindate": {
  10437. "description": "起始日期(yyyyMMdd)",
  10438. "type": "string"
  10439. },
  10440. "buytemplateid": {
  10441. "description": "买履约计划模板ID",
  10442. "type": "integer"
  10443. },
  10444. "deliverygoodscode": {
  10445. "description": "品种代码",
  10446. "type": "string"
  10447. },
  10448. "deliverygoodsid": {
  10449. "description": "交割商品",
  10450. "type": "integer"
  10451. },
  10452. "deliverygoodsname": {
  10453. "description": "品种名称",
  10454. "type": "string"
  10455. },
  10456. "deliverymode": {
  10457. "description": "交割方式 - 1:点选式 2:申报式",
  10458. "type": "integer"
  10459. },
  10460. "deliverypricerule": {
  10461. "description": "交割价规则- 1:行情价 2:建仓价",
  10462. "type": "integer"
  10463. },
  10464. "deliverytype": {
  10465. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10466. "type": "integer"
  10467. },
  10468. "enddate": {
  10469. "description": "结束日期(yyyyMMdd)",
  10470. "type": "string"
  10471. },
  10472. "goodscode": {
  10473. "description": "商品代码",
  10474. "type": "string"
  10475. },
  10476. "goodsid": {
  10477. "description": "交易合约ID",
  10478. "type": "integer"
  10479. },
  10480. "goodsname": {
  10481. "description": "商品名称",
  10482. "type": "string"
  10483. },
  10484. "marketid": {
  10485. "description": "市场ID",
  10486. "type": "integer"
  10487. },
  10488. "mindeliveryqty": {
  10489. "description": "最小交割系数(K)",
  10490. "type": "integer"
  10491. },
  10492. "p2deliveryprice": {
  10493. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10494. "type": "number"
  10495. },
  10496. "p2deliveryratio": {
  10497. "description": "P2合约系数(p)",
  10498. "type": "integer"
  10499. },
  10500. "p2goodsid": {
  10501. "description": "P2合约ID",
  10502. "type": "integer"
  10503. },
  10504. "p2pricemode": {
  10505. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10506. "type": "integer"
  10507. },
  10508. "pdeliveryprice": {
  10509. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10510. "type": "number"
  10511. },
  10512. "pdeliveryratio": {
  10513. "description": "P合约系数(n)",
  10514. "type": "integer"
  10515. },
  10516. "pgoodsid": {
  10517. "description": "P合约ID",
  10518. "type": "integer"
  10519. },
  10520. "ppricemode": {
  10521. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10522. "type": "integer"
  10523. },
  10524. "rratio": {
  10525. "description": "兑换系数(R)",
  10526. "type": "integer"
  10527. },
  10528. "rratio1": {
  10529. "description": "兑换系数(交易合约)(R1)",
  10530. "type": "integer"
  10531. },
  10532. "rratio2": {
  10533. "description": "兑换系数(仓单标准)(R2)",
  10534. "type": "integer"
  10535. },
  10536. "selltemplateid": {
  10537. "description": "卖履约计划模板ID",
  10538. "type": "integer"
  10539. },
  10540. "wrstandardid": {
  10541. "description": "仓单标准ID",
  10542. "type": "integer"
  10543. },
  10544. "xdeliveryratio": {
  10545. "description": "交易合约系数(m)",
  10546. "type": "integer"
  10547. }
  10548. }
  10549. },
  10550. "ermcp.ExposureDetailRsp": {
  10551. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10552. },
  10553. "ermcp.ExposureHedgePosDetailRsp": {
  10554. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10555. },
  10556. "ermcp.ExposureHedgePositionRsp": {
  10557. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10558. },
  10559. "ermcp.ExposureSpotDetailRsp": {
  10560. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10561. },
  10562. "ermcp.ExposureSpotRsp": {
  10563. "$ref": "#/definitions/models.AreaSpotModel"
  10564. },
  10565. "ermcp.HisExposureRsp": {
  10566. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10567. },
  10568. "ermcp.PendingAuditCntRsp": {
  10569. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10570. },
  10571. "ermcp.QryAreaStockApplyRsp": {
  10572. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10573. },
  10574. "ermcp.QryAvalidGPRsp": {
  10575. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10576. },
  10577. "ermcp.QryBusinessDjRsp": {
  10578. "type": "object",
  10579. "properties": {
  10580. "amount": {
  10581. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10582. "type": "number"
  10583. },
  10584. "applyid": {
  10585. "description": "申请人",
  10586. "type": "string"
  10587. },
  10588. "applyname": {
  10589. "description": "申请人名称",
  10590. "type": "string"
  10591. },
  10592. "applystatus": {
  10593. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10594. "type": "integer"
  10595. },
  10596. "applytime": {
  10597. "description": "申请时间",
  10598. "type": "string"
  10599. },
  10600. "attachurl": {
  10601. "description": "附件",
  10602. "type": "string"
  10603. },
  10604. "auditid": {
  10605. "description": "审核人ID",
  10606. "type": "string"
  10607. },
  10608. "auditname": {
  10609. "description": "审核人名称",
  10610. "type": "string"
  10611. },
  10612. "audittime": {
  10613. "description": "审核时间",
  10614. "type": "string"
  10615. },
  10616. "buyusername": {
  10617. "description": "采购方名称",
  10618. "type": "string"
  10619. },
  10620. "contractno": {
  10621. "description": "合同编号",
  10622. "type": "string"
  10623. },
  10624. "contractstatus": {
  10625. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10626. "type": "integer"
  10627. },
  10628. "contracttype": {
  10629. "description": "现货合同类型 - 1:采购 -1:销售",
  10630. "type": "integer"
  10631. },
  10632. "deliverygoodscode": {
  10633. "description": "现货品种代码",
  10634. "type": "string"
  10635. },
  10636. "deliverygoodsid": {
  10637. "description": "现货商品ID",
  10638. "type": "integer"
  10639. },
  10640. "deliverygoodsname": {
  10641. "description": "现货品种名称",
  10642. "type": "string"
  10643. },
  10644. "enumdicname": {
  10645. "description": "单位名称",
  10646. "type": "string"
  10647. },
  10648. "goodscode": {
  10649. "description": "点价合约",
  10650. "type": "string"
  10651. },
  10652. "goodsname": {
  10653. "description": "商品名称",
  10654. "type": "string"
  10655. },
  10656. "operateapplyid": {
  10657. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10658. "type": "string"
  10659. },
  10660. "operateapplytype": {
  10661. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10662. "type": "integer"
  10663. },
  10664. "pricedPrice": {
  10665. "description": "点价价格(非必填)",
  10666. "type": "number"
  10667. },
  10668. "pricedQty": {
  10669. "description": "点价数量(非必填)",
  10670. "type": "number"
  10671. },
  10672. "pricemove": {
  10673. "description": "升贴水",
  10674. "type": "number"
  10675. },
  10676. "pricetype": {
  10677. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10678. "type": "integer"
  10679. },
  10680. "relatedid": {
  10681. "description": "现货合同ID",
  10682. "type": "string"
  10683. },
  10684. "sellusername": {
  10685. "description": "销售方名字",
  10686. "type": "string"
  10687. },
  10688. "userid": {
  10689. "description": "用户ID",
  10690. "type": "integer"
  10691. },
  10692. "wrstandardcode": {
  10693. "description": "品类代码",
  10694. "type": "string"
  10695. },
  10696. "wrstandardid": {
  10697. "description": "品类id",
  10698. "type": "integer"
  10699. },
  10700. "wrstandardname": {
  10701. "description": "品类名称",
  10702. "type": "string"
  10703. }
  10704. }
  10705. },
  10706. "ermcp.QryBussinessFpRsp": {
  10707. "type": "object",
  10708. "properties": {
  10709. "applyid": {
  10710. "description": "申请人",
  10711. "type": "string"
  10712. },
  10713. "applyname": {
  10714. "description": "申请人名称",
  10715. "type": "string"
  10716. },
  10717. "applystatus": {
  10718. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10719. "type": "integer"
  10720. },
  10721. "applytime": {
  10722. "description": "申请时间",
  10723. "type": "string"
  10724. },
  10725. "attachurl": {
  10726. "description": "附件",
  10727. "type": "string"
  10728. },
  10729. "auditid": {
  10730. "description": "审核人ID",
  10731. "type": "string"
  10732. },
  10733. "auditname": {
  10734. "description": "审核人名称",
  10735. "type": "string"
  10736. },
  10737. "audittime": {
  10738. "description": "审核时间",
  10739. "type": "string"
  10740. },
  10741. "buyusername": {
  10742. "description": "采购方名称",
  10743. "type": "string"
  10744. },
  10745. "contractno": {
  10746. "description": "合同编号",
  10747. "type": "string"
  10748. },
  10749. "contractstatus": {
  10750. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10751. "type": "integer"
  10752. },
  10753. "contracttype": {
  10754. "description": "现货合同类型 - 1:采购 -1:销售",
  10755. "type": "integer"
  10756. },
  10757. "deliverygoodscode": {
  10758. "description": "现货品种代码",
  10759. "type": "string"
  10760. },
  10761. "deliverygoodsid": {
  10762. "description": "现货商品ID",
  10763. "type": "integer"
  10764. },
  10765. "deliverygoodsname": {
  10766. "description": "现货品种名称",
  10767. "type": "string"
  10768. },
  10769. "enumdicname": {
  10770. "description": "单位名称",
  10771. "type": "string"
  10772. },
  10773. "goodscode": {
  10774. "description": "点价合约",
  10775. "type": "string"
  10776. },
  10777. "goodsname": {
  10778. "description": "商品名称",
  10779. "type": "string"
  10780. },
  10781. "invoiceAmount": {
  10782. "description": "已开收票金额(销售为开票,采购为收票)",
  10783. "type": "number"
  10784. },
  10785. "operateapplyid": {
  10786. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10787. "type": "string"
  10788. },
  10789. "operateapplytype": {
  10790. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10791. "type": "integer"
  10792. },
  10793. "pricemove": {
  10794. "description": "升贴水",
  10795. "type": "number"
  10796. },
  10797. "pricetype": {
  10798. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10799. "type": "integer"
  10800. },
  10801. "relatedid": {
  10802. "description": "现货合同ID",
  10803. "type": "string"
  10804. },
  10805. "sellusername": {
  10806. "description": "销售方名字",
  10807. "type": "string"
  10808. },
  10809. "userid": {
  10810. "description": "用户ID",
  10811. "type": "integer"
  10812. },
  10813. "wrstandardcode": {
  10814. "description": "品类代码",
  10815. "type": "string"
  10816. },
  10817. "wrstandardid": {
  10818. "description": "品类id",
  10819. "type": "integer"
  10820. },
  10821. "wrstandardname": {
  10822. "description": "品类名称",
  10823. "type": "string"
  10824. }
  10825. }
  10826. },
  10827. "ermcp.QryBussinessJsExRsp": {
  10828. "type": "object",
  10829. "properties": {
  10830. "applyid": {
  10831. "description": "申请人",
  10832. "type": "string"
  10833. },
  10834. "applyname": {
  10835. "description": "申请人名称",
  10836. "type": "string"
  10837. },
  10838. "applystatus": {
  10839. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10840. "type": "integer"
  10841. },
  10842. "applytime": {
  10843. "description": "申请时间",
  10844. "type": "string"
  10845. },
  10846. "attachurl": {
  10847. "description": "附件",
  10848. "type": "string"
  10849. },
  10850. "auditid": {
  10851. "description": "审核人ID",
  10852. "type": "string"
  10853. },
  10854. "auditname": {
  10855. "description": "审核人名称",
  10856. "type": "string"
  10857. },
  10858. "audittime": {
  10859. "description": "审核时间",
  10860. "type": "string"
  10861. },
  10862. "buyusername": {
  10863. "description": "采购方名称",
  10864. "type": "string"
  10865. },
  10866. "contractno": {
  10867. "description": "合同编号",
  10868. "type": "string"
  10869. },
  10870. "contractstatus": {
  10871. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10872. "type": "integer"
  10873. },
  10874. "contracttype": {
  10875. "description": "现货合同类型 - 1:采购 -1:销售",
  10876. "type": "integer"
  10877. },
  10878. "deliverygoodscode": {
  10879. "description": "现货品种代码",
  10880. "type": "string"
  10881. },
  10882. "deliverygoodsid": {
  10883. "description": "现货商品ID",
  10884. "type": "integer"
  10885. },
  10886. "deliverygoodsname": {
  10887. "description": "现货品种名称",
  10888. "type": "string"
  10889. },
  10890. "enumdicname": {
  10891. "description": "单位名称",
  10892. "type": "string"
  10893. },
  10894. "goodscode": {
  10895. "description": "点价合约",
  10896. "type": "string"
  10897. },
  10898. "goodsname": {
  10899. "description": "商品名称",
  10900. "type": "string"
  10901. },
  10902. "operateapplyid": {
  10903. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10904. "type": "string"
  10905. },
  10906. "operateapplytype": {
  10907. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10908. "type": "integer"
  10909. },
  10910. "pricemove": {
  10911. "description": "升贴水",
  10912. "type": "number"
  10913. },
  10914. "pricetype": {
  10915. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10916. "type": "integer"
  10917. },
  10918. "reckontype": {
  10919. "description": "结算类型",
  10920. "type": "string"
  10921. },
  10922. "reckonvalue": {
  10923. "description": "值",
  10924. "type": "number"
  10925. },
  10926. "relatedid": {
  10927. "description": "现货合同ID",
  10928. "type": "string"
  10929. },
  10930. "sellusername": {
  10931. "description": "销售方名字",
  10932. "type": "string"
  10933. },
  10934. "userid": {
  10935. "description": "用户ID",
  10936. "type": "integer"
  10937. },
  10938. "wrstandardcode": {
  10939. "description": "品类代码",
  10940. "type": "string"
  10941. },
  10942. "wrstandardid": {
  10943. "description": "品类id",
  10944. "type": "integer"
  10945. },
  10946. "wrstandardname": {
  10947. "description": "品类名称",
  10948. "type": "string"
  10949. }
  10950. }
  10951. },
  10952. "ermcp.QryBussinessJsRsp": {
  10953. "type": "object",
  10954. "properties": {
  10955. "addmargin": {
  10956. "description": "追加保证金(非必填)",
  10957. "type": "number"
  10958. },
  10959. "applyid": {
  10960. "description": "申请人",
  10961. "type": "string"
  10962. },
  10963. "applyname": {
  10964. "description": "申请人名称",
  10965. "type": "string"
  10966. },
  10967. "applystatus": {
  10968. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10969. "type": "integer"
  10970. },
  10971. "applytime": {
  10972. "description": "申请时间",
  10973. "type": "string"
  10974. },
  10975. "attachurl": {
  10976. "description": "附件",
  10977. "type": "string"
  10978. },
  10979. "auditid": {
  10980. "description": "审核人ID",
  10981. "type": "string"
  10982. },
  10983. "auditname": {
  10984. "description": "审核人名称",
  10985. "type": "string"
  10986. },
  10987. "audittime": {
  10988. "description": "审核时间",
  10989. "type": "string"
  10990. },
  10991. "buyusername": {
  10992. "description": "采购方名称",
  10993. "type": "string"
  10994. },
  10995. "contractno": {
  10996. "description": "合同编号",
  10997. "type": "string"
  10998. },
  10999. "contractstatus": {
  11000. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11001. "type": "integer"
  11002. },
  11003. "contracttype": {
  11004. "description": "现货合同类型 - 1:采购 -1:销售",
  11005. "type": "integer"
  11006. },
  11007. "decmargin": {
  11008. "description": "减少保证金(非必填)",
  11009. "type": "number"
  11010. },
  11011. "deliverygoodscode": {
  11012. "description": "现货品种代码",
  11013. "type": "string"
  11014. },
  11015. "deliverygoodsid": {
  11016. "description": "现货商品ID",
  11017. "type": "integer"
  11018. },
  11019. "deliverygoodsname": {
  11020. "description": "现货品种名称",
  11021. "type": "string"
  11022. },
  11023. "enumdicname": {
  11024. "description": "单位名称",
  11025. "type": "string"
  11026. },
  11027. "goodscode": {
  11028. "description": "点价合约",
  11029. "type": "string"
  11030. },
  11031. "goodsname": {
  11032. "description": "商品名称",
  11033. "type": "string"
  11034. },
  11035. "operateapplyid": {
  11036. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11037. "type": "string"
  11038. },
  11039. "operateapplytype": {
  11040. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11041. "type": "integer"
  11042. },
  11043. "pricemove": {
  11044. "description": "升贴水",
  11045. "type": "number"
  11046. },
  11047. "pricetype": {
  11048. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11049. "type": "integer"
  11050. },
  11051. "reckonadjustamount": {
  11052. "description": "结算调整金额(非必填)",
  11053. "type": "number"
  11054. },
  11055. "reckonosamount": {
  11056. "description": "结算溢短金额(非必填)",
  11057. "type": "number"
  11058. },
  11059. "reckonotheramount": {
  11060. "description": "结算其他费用(非必填)",
  11061. "type": "number"
  11062. },
  11063. "reckonrealqty": {
  11064. "description": "结算实际数量(非必填)",
  11065. "type": "number"
  11066. },
  11067. "relatedid": {
  11068. "description": "现货合同ID",
  11069. "type": "string"
  11070. },
  11071. "sellusername": {
  11072. "description": "销售方名字",
  11073. "type": "string"
  11074. },
  11075. "userid": {
  11076. "description": "用户ID",
  11077. "type": "integer"
  11078. },
  11079. "wrstandardcode": {
  11080. "description": "品类代码",
  11081. "type": "string"
  11082. },
  11083. "wrstandardid": {
  11084. "description": "品类id",
  11085. "type": "integer"
  11086. },
  11087. "wrstandardname": {
  11088. "description": "品类名称",
  11089. "type": "string"
  11090. }
  11091. }
  11092. },
  11093. "ermcp.QryBussinessKxRsp": {
  11094. "type": "object",
  11095. "properties": {
  11096. "applyid": {
  11097. "description": "申请人",
  11098. "type": "string"
  11099. },
  11100. "applyname": {
  11101. "description": "申请人名称",
  11102. "type": "string"
  11103. },
  11104. "applystatus": {
  11105. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11106. "type": "integer"
  11107. },
  11108. "applytime": {
  11109. "description": "申请时间",
  11110. "type": "string"
  11111. },
  11112. "attachurl": {
  11113. "description": "附件",
  11114. "type": "string"
  11115. },
  11116. "auditid": {
  11117. "description": "审核人ID",
  11118. "type": "string"
  11119. },
  11120. "auditname": {
  11121. "description": "审核人名称",
  11122. "type": "string"
  11123. },
  11124. "audittime": {
  11125. "description": "审核时间",
  11126. "type": "string"
  11127. },
  11128. "buyusername": {
  11129. "description": "采购方名称",
  11130. "type": "string"
  11131. },
  11132. "contractno": {
  11133. "description": "合同编号",
  11134. "type": "string"
  11135. },
  11136. "contractstatus": {
  11137. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11138. "type": "integer"
  11139. },
  11140. "contracttype": {
  11141. "description": "现货合同类型 - 1:采购 -1:销售",
  11142. "type": "integer"
  11143. },
  11144. "deductamount": {
  11145. "description": "退款(非必填)",
  11146. "type": "number"
  11147. },
  11148. "deliverygoodscode": {
  11149. "description": "现货品种代码",
  11150. "type": "string"
  11151. },
  11152. "deliverygoodsid": {
  11153. "description": "现货商品ID",
  11154. "type": "integer"
  11155. },
  11156. "deliverygoodsname": {
  11157. "description": "现货品种名称",
  11158. "type": "string"
  11159. },
  11160. "enumdicname": {
  11161. "description": "单位名称",
  11162. "type": "string"
  11163. },
  11164. "goodscode": {
  11165. "description": "点价合约",
  11166. "type": "string"
  11167. },
  11168. "goodsname": {
  11169. "description": "商品名称",
  11170. "type": "string"
  11171. },
  11172. "kxtype": {
  11173. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11174. "type": "integer"
  11175. },
  11176. "operateapplyid": {
  11177. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11178. "type": "string"
  11179. },
  11180. "operateapplytype": {
  11181. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11182. "type": "integer"
  11183. },
  11184. "payamount": {
  11185. "description": "收付款(非必填)",
  11186. "type": "number"
  11187. },
  11188. "pricemove": {
  11189. "description": "升贴水",
  11190. "type": "number"
  11191. },
  11192. "pricetype": {
  11193. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11194. "type": "integer"
  11195. },
  11196. "relatedid": {
  11197. "description": "现货合同ID",
  11198. "type": "string"
  11199. },
  11200. "sellusername": {
  11201. "description": "销售方名字",
  11202. "type": "string"
  11203. },
  11204. "userid": {
  11205. "description": "用户ID",
  11206. "type": "integer"
  11207. },
  11208. "wrstandardcode": {
  11209. "description": "品类代码",
  11210. "type": "string"
  11211. },
  11212. "wrstandardid": {
  11213. "description": "品类id",
  11214. "type": "integer"
  11215. },
  11216. "wrstandardname": {
  11217. "description": "品类名称",
  11218. "type": "string"
  11219. }
  11220. }
  11221. },
  11222. "ermcp.QryErmcpRsp": {
  11223. "$ref": "#/definitions/models.ErmcpModel"
  11224. },
  11225. "ermcp.QryGGCovertCfgRsp": {
  11226. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11227. },
  11228. "ermcp.QryHedgePlanRsp": {
  11229. "$ref": "#/definitions/models.ErmcpHedgePlan"
  11230. },
  11231. "ermcp.QryMGChangeLogRsp": {
  11232. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11233. },
  11234. "ermcp.QryMiddleGoodsDetailRsp": {
  11235. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11236. },
  11237. "ermcp.QryMiddleGoodsRsp": {
  11238. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11239. },
  11240. "ermcp.QryOPLogRsp": {
  11241. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11242. },
  11243. "ermcp.QryReportDaySpotDetailRsp": {
  11244. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11245. },
  11246. "ermcp.QryReportExposureDayRsp": {
  11247. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  11248. },
  11249. "ermcp.QryReportFinanceDayRsp": {
  11250. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11251. },
  11252. "ermcp.QryReportFinanceKxRsp": {
  11253. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11254. },
  11255. "ermcp.QryReportFinanceMonRsp": {
  11256. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  11257. },
  11258. "ermcp.QryReportSpotDayRsp": {
  11259. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11260. },
  11261. "ermcp.QryReportSpotMonRsp": {
  11262. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  11263. },
  11264. "ermcp.QryReportSpotMonthDetailRsp": {
  11265. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11266. },
  11267. "ermcp.QrySpotContractRsp": {
  11268. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  11269. },
  11270. "ermcp.QryUserInfoRsp": {
  11271. "$ref": "#/definitions/models.ErmcpUserModel"
  11272. },
  11273. "ermcp.QryWarehouseRsp": {
  11274. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11275. },
  11276. "ermcp.QryWrStandardDetailRsp": {
  11277. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  11278. },
  11279. "ermcp.QryWrStandardRsp": {
  11280. "$ref": "#/definitions/models.ErmcpWrstandard"
  11281. },
  11282. "ermcp.QueryAreaStockApplySumRsp": {
  11283. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  11284. },
  11285. "ermcp.QueryErmcpTradePositionRsp": {
  11286. "type": "object",
  11287. "properties": {
  11288. "agreeunit": {
  11289. "description": "合约单位",
  11290. "type": "number"
  11291. },
  11292. "buyorsell": {
  11293. "description": "方向 - 0:买 1:卖",
  11294. "type": "integer"
  11295. },
  11296. "curpositionqty": {
  11297. "description": "持仓(总仓数量, 期末头寸)",
  11298. "type": "integer"
  11299. },
  11300. "curtdposition": {
  11301. "description": "今仓数量(期末今日头寸)",
  11302. "type": "integer"
  11303. },
  11304. "curtdpositionenabled": {
  11305. "description": "今仓可用",
  11306. "type": "integer"
  11307. },
  11308. "decimalplace": {
  11309. "description": "报价小数位",
  11310. "type": "integer"
  11311. },
  11312. "enableqty": {
  11313. "description": "可用(总仓可用)",
  11314. "type": "integer"
  11315. },
  11316. "exexchangename": {
  11317. "description": "外部交易所名称",
  11318. "type": "string"
  11319. },
  11320. "goodscode": {
  11321. "description": "商品代码(内部)",
  11322. "type": "string"
  11323. },
  11324. "goodsid": {
  11325. "description": "商品ID(自增ID SEQ_GOODS)",
  11326. "type": "integer"
  11327. },
  11328. "goodsname": {
  11329. "description": "商品名称",
  11330. "type": "string"
  11331. },
  11332. "last": {
  11333. "description": "现价",
  11334. "type": "number"
  11335. },
  11336. "marketid": {
  11337. "description": "所属市场ID",
  11338. "type": "integer"
  11339. },
  11340. "openaverageprice": {
  11341. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11342. "type": "number"
  11343. },
  11344. "opencost": {
  11345. "description": "开仓成本",
  11346. "type": "number"
  11347. },
  11348. "openpl": {
  11349. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11350. "type": "number"
  11351. },
  11352. "outgoodscode": {
  11353. "description": "商品代码(外部)",
  11354. "type": "string"
  11355. },
  11356. "positionaverageprice": {
  11357. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11358. "type": "number"
  11359. },
  11360. "positioncost": {
  11361. "description": "持仓成本",
  11362. "type": "number"
  11363. },
  11364. "positionpl": {
  11365. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11366. "type": "number"
  11367. },
  11368. "positionplrate": {
  11369. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11370. "type": "number"
  11371. },
  11372. "usedmargin": {
  11373. "description": "占用保证金",
  11374. "type": "number"
  11375. }
  11376. }
  11377. },
  11378. "ermcp.RealtimeExposurePositionRsp": {
  11379. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11380. },
  11381. "ermcp.RealtimeExposureRsp": {
  11382. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11383. },
  11384. "erms2.QueryArbitrageStrategyRsp": {
  11385. "type": "object",
  11386. "required": [
  11387. "asapplyid"
  11388. ],
  11389. "properties": {
  11390. "applybasis": {
  11391. "description": "申请基差",
  11392. "type": "number"
  11393. },
  11394. "asapplyid": {
  11395. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11396. "type": "string"
  11397. },
  11398. "asname": {
  11399. "description": "策略名称",
  11400. "type": "string"
  11401. },
  11402. "asno": {
  11403. "description": "策略编号",
  11404. "type": "string"
  11405. },
  11406. "basischangepl": {
  11407. "description": "基差变动损益[结算更新]",
  11408. "type": "number"
  11409. },
  11410. "biztype": {
  11411. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11412. "type": "integer"
  11413. },
  11414. "closetradedate": {
  11415. "description": "完结交易日(yyyyMMdd)",
  11416. "type": "string"
  11417. },
  11418. "curbasis": {
  11419. "description": "当前基差[结算更新]",
  11420. "type": "number"
  11421. },
  11422. "deliverygoodsid": {
  11423. "description": "现货品种ID",
  11424. "type": "integer"
  11425. },
  11426. "futureavgprice": {
  11427. "description": "期货建仓均价",
  11428. "type": "number"
  11429. },
  11430. "futurecloseamount": {
  11431. "description": "期货平仓金额",
  11432. "type": "number"
  11433. },
  11434. "futurecloseqty": {
  11435. "description": "期货平仓数量",
  11436. "type": "number"
  11437. },
  11438. "futureopenamount": {
  11439. "description": "期货开仓金额",
  11440. "type": "number"
  11441. },
  11442. "futureopenqty": {
  11443. "description": "期货开仓数量",
  11444. "type": "number"
  11445. },
  11446. "futurepl": {
  11447. "description": "期货总盈亏[结算更新]",
  11448. "type": "number"
  11449. },
  11450. "futureqty": {
  11451. "description": "期货持仓数量",
  11452. "type": "number"
  11453. },
  11454. "futurequote": {
  11455. "description": "期货额度",
  11456. "type": "number"
  11457. },
  11458. "goodsgroupid": {
  11459. "description": "期货品种ID",
  11460. "type": "integer"
  11461. },
  11462. "marketid": {
  11463. "description": "市场ID",
  11464. "type": "integer"
  11465. },
  11466. "netexposure": {
  11467. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11468. "type": "number"
  11469. },
  11470. "netexposurepl": {
  11471. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11472. "type": "number"
  11473. },
  11474. "netexposurerate": {
  11475. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11476. "type": "number"
  11477. },
  11478. "openbasis": {
  11479. "description": "建仓基差",
  11480. "type": "number"
  11481. },
  11482. "pricedspotqty": {
  11483. "description": "已定价现货数量",
  11484. "type": "number"
  11485. },
  11486. "pricedspotqtynotax": {
  11487. "description": "已定价现货不含税数量",
  11488. "type": "number"
  11489. },
  11490. "remark": {
  11491. "description": "备注",
  11492. "type": "string"
  11493. },
  11494. "spotavgprice": {
  11495. "description": "现货均价",
  11496. "type": "number"
  11497. },
  11498. "spotbuyamount": {
  11499. "description": "现货采购金额",
  11500. "type": "number"
  11501. },
  11502. "spotbuyqty": {
  11503. "description": "现货采购数量",
  11504. "type": "number"
  11505. },
  11506. "spotpl": {
  11507. "description": "现货总盈亏[结算更新]",
  11508. "type": "number"
  11509. },
  11510. "spotquota": {
  11511. "description": "现货额度",
  11512. "type": "number"
  11513. },
  11514. "spotsellamount": {
  11515. "description": "现货销售金额",
  11516. "type": "number"
  11517. },
  11518. "spotsellqty": {
  11519. "description": "现货销售数量",
  11520. "type": "number"
  11521. },
  11522. "spotusedquota": {
  11523. "description": "现货占用资金",
  11524. "type": "number"
  11525. },
  11526. "strategystatus": {
  11527. "description": "策略状态 - 0:未结束 1:已结束",
  11528. "type": "integer"
  11529. },
  11530. "totalpl": {
  11531. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11532. "type": "number"
  11533. },
  11534. "tradedate": {
  11535. "description": "交易日(yyyyMMdd)",
  11536. "type": "string"
  11537. },
  11538. "updatetime": {
  11539. "description": "更新时间",
  11540. "type": "string"
  11541. },
  11542. "usedquota": {
  11543. "description": "已占用资金",
  11544. "type": "number"
  11545. },
  11546. "userid": {
  11547. "description": "所属机构",
  11548. "type": "integer"
  11549. }
  11550. }
  11551. },
  11552. "erms2.QueryInnerTradeDetailRsp": {
  11553. "type": "object",
  11554. "required": [
  11555. "asapplyid",
  11556. "buyorsell",
  11557. "goodscode",
  11558. "goodsgroupid",
  11559. "goodsgroupname",
  11560. "goodsname",
  11561. "tradeid"
  11562. ],
  11563. "properties": {
  11564. "accountid": {
  11565. "description": "账号ID",
  11566. "type": "integer"
  11567. },
  11568. "agreeunit": {
  11569. "description": "合约单位",
  11570. "type": "number"
  11571. },
  11572. "asapplyid": {
  11573. "description": "策略申请ID",
  11574. "type": "integer"
  11575. },
  11576. "asname": {
  11577. "description": "策略名称",
  11578. "type": "string"
  11579. },
  11580. "asno": {
  11581. "description": "策略编号",
  11582. "type": "string"
  11583. },
  11584. "buyorsell": {
  11585. "description": "方向 - 0:买 1:卖",
  11586. "type": "integer"
  11587. },
  11588. "channelbuildtype": {
  11589. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11590. "type": "integer"
  11591. },
  11592. "closetype": {
  11593. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11594. "type": "integer"
  11595. },
  11596. "decimalplace": {
  11597. "description": "报价小数位",
  11598. "type": "integer"
  11599. },
  11600. "detailtype": {
  11601. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11602. "type": "integer"
  11603. },
  11604. "exexchangecode": {
  11605. "description": "外部交易所代码",
  11606. "type": "string"
  11607. },
  11608. "exexchangename": {
  11609. "description": "外部交易所名称",
  11610. "type": "string"
  11611. },
  11612. "goodscode": {
  11613. "description": "商品代码(合约)",
  11614. "type": "string"
  11615. },
  11616. "goodsgroupid": {
  11617. "description": "商品组ID(品种ID)",
  11618. "type": "integer"
  11619. },
  11620. "goodsgroupname": {
  11621. "description": "商品组名称(品种)",
  11622. "type": "string"
  11623. },
  11624. "goodsid": {
  11625. "description": "商品ID",
  11626. "type": "integer"
  11627. },
  11628. "goodsname": {
  11629. "description": "商品名称(合约)",
  11630. "type": "string"
  11631. },
  11632. "goodunit": {
  11633. "description": "报价单位",
  11634. "type": "string"
  11635. },
  11636. "marketid": {
  11637. "description": "市场ID",
  11638. "type": "integer"
  11639. },
  11640. "orderid": {
  11641. "description": "委托单号",
  11642. "type": "string"
  11643. },
  11644. "outgoodscode": {
  11645. "description": "商品代码(外部)",
  11646. "type": "string"
  11647. },
  11648. "relatedouttradeid": {
  11649. "description": "关联外部成交单ID",
  11650. "type": "string"
  11651. },
  11652. "remark": {
  11653. "description": "备注",
  11654. "type": "string"
  11655. },
  11656. "spotcontractid": {
  11657. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11658. "type": "integer"
  11659. },
  11660. "spotcontractno": {
  11661. "description": "现货合同编号",
  11662. "type": "string"
  11663. },
  11664. "tradeid": {
  11665. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11666. "type": "string"
  11667. },
  11668. "tradeprice": {
  11669. "description": "成交价格",
  11670. "type": "number"
  11671. },
  11672. "tradeqty": {
  11673. "description": "成交数量",
  11674. "type": "integer"
  11675. },
  11676. "tradetime": {
  11677. "description": "成交时间",
  11678. "type": "string"
  11679. },
  11680. "updatetime": {
  11681. "description": "更新时间",
  11682. "type": "string"
  11683. }
  11684. }
  11685. },
  11686. "erms2.QuerySpotContractRsp": {
  11687. "type": "object",
  11688. "required": [
  11689. "spotcontractid"
  11690. ],
  11691. "properties": {
  11692. "accountid": {
  11693. "description": "资金账户ID",
  11694. "type": "integer"
  11695. },
  11696. "areauserid": {
  11697. "description": "所属机构",
  11698. "type": "integer"
  11699. },
  11700. "closedate": {
  11701. "description": "终止日期",
  11702. "type": "string"
  11703. },
  11704. "closeremark": {
  11705. "description": "结束备注",
  11706. "type": "string"
  11707. },
  11708. "closetradedate": {
  11709. "description": "完结交易日(yyyyMMdd)",
  11710. "type": "string"
  11711. },
  11712. "closetype": {
  11713. "description": "终止类型 - 1:违约 2:提前终止",
  11714. "type": "integer"
  11715. },
  11716. "contractamount": {
  11717. "description": "合同金额",
  11718. "type": "number"
  11719. },
  11720. "contractattachment": {
  11721. "description": "合同附件",
  11722. "type": "string"
  11723. },
  11724. "contractno": {
  11725. "description": "现货合同编号",
  11726. "type": "string"
  11727. },
  11728. "contractqty": {
  11729. "description": "合同数量(数值) (用于计算)",
  11730. "type": "number"
  11731. },
  11732. "contractqtychar": {
  11733. "description": "合同数量\\已订价数量 (用于显示)",
  11734. "type": "string"
  11735. },
  11736. "contractstatus": {
  11737. "description": "合同状态 - 0:未结束 1:已结束",
  11738. "type": "integer"
  11739. },
  11740. "contracttype": {
  11741. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11742. "type": "integer"
  11743. },
  11744. "customeraccountid": {
  11745. "description": "客户资金账户ID",
  11746. "type": "integer"
  11747. },
  11748. "customeruserid": {
  11749. "description": "客户ID",
  11750. "type": "integer"
  11751. },
  11752. "deliverygoodsdesc": {
  11753. "description": "品种说明",
  11754. "type": "string"
  11755. },
  11756. "deliverygoodsid": {
  11757. "description": "现货品种ID",
  11758. "type": "integer"
  11759. },
  11760. "handlestatus": {
  11761. "description": "处理状态",
  11762. "type": "integer"
  11763. },
  11764. "invoiceatt": {
  11765. "description": "发票附件",
  11766. "type": "string"
  11767. },
  11768. "invoicedatetime": {
  11769. "description": "开收票更新时间",
  11770. "type": "string"
  11771. },
  11772. "invoiceopentime": {
  11773. "description": "开票时间",
  11774. "type": "string"
  11775. },
  11776. "invoiceremark": {
  11777. "description": "发票备注",
  11778. "type": "string"
  11779. },
  11780. "invoicestatus": {
  11781. "description": "开收票状态 - 0:未开票 1:已开票",
  11782. "type": "integer"
  11783. },
  11784. "lastdate": {
  11785. "description": "交货时间",
  11786. "type": "string"
  11787. },
  11788. "marketid": {
  11789. "description": "市场ID",
  11790. "type": "integer"
  11791. },
  11792. "paydatetime": {
  11793. "description": "收付款更新时间",
  11794. "type": "string"
  11795. },
  11796. "payremark": {
  11797. "description": "收付款备注",
  11798. "type": "string"
  11799. },
  11800. "paystatus": {
  11801. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11802. "type": "integer"
  11803. },
  11804. "positionqty": {
  11805. "description": "头寸数量 - 合同数量去小数部分",
  11806. "type": "integer"
  11807. },
  11808. "producttype": {
  11809. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11810. "type": "integer"
  11811. },
  11812. "relatedqty": {
  11813. "description": "已关联数量",
  11814. "type": "number"
  11815. },
  11816. "relatedstatus": {
  11817. "description": "关联完结状态 - 0:未结束 1:已结束",
  11818. "type": "integer"
  11819. },
  11820. "remark": {
  11821. "description": "备注",
  11822. "type": "string"
  11823. },
  11824. "signdate": {
  11825. "description": "签订日期",
  11826. "type": "string"
  11827. },
  11828. "spotcontractid": {
  11829. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11830. "type": "string"
  11831. },
  11832. "spotdatetime": {
  11833. "description": "收发货更新时间",
  11834. "type": "string"
  11835. },
  11836. "spotprice": {
  11837. "description": "价格",
  11838. "type": "number"
  11839. },
  11840. "spotremark": {
  11841. "description": "收发货备注",
  11842. "type": "string"
  11843. },
  11844. "spotstatus": {
  11845. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11846. "type": "integer"
  11847. },
  11848. "tradedate": {
  11849. "description": "交易日(yyyyMMdd)",
  11850. "type": "string"
  11851. },
  11852. "userid": {
  11853. "description": "业务员用户ID",
  11854. "type": "integer"
  11855. },
  11856. "warehouseid": {
  11857. "description": "仓库ID",
  11858. "type": "integer"
  11859. },
  11860. "wrfactortypeid": {
  11861. "description": "仓单要素类型ID",
  11862. "type": "integer"
  11863. },
  11864. "wrstandardid": {
  11865. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11866. "type": "integer"
  11867. }
  11868. }
  11869. },
  11870. "erms3.AddErms2ASApplyReq": {
  11871. "type": "object",
  11872. "required": [
  11873. "asapplyid"
  11874. ],
  11875. "properties": {
  11876. "applybasis": {
  11877. "description": "申请基差",
  11878. "type": "number"
  11879. },
  11880. "applystatus": {
  11881. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11882. "type": "integer"
  11883. },
  11884. "asapplyid": {
  11885. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11886. "type": "integer"
  11887. },
  11888. "asname": {
  11889. "description": "策略名称",
  11890. "type": "string"
  11891. },
  11892. "asno": {
  11893. "description": "策略编号",
  11894. "type": "string"
  11895. },
  11896. "auditid": {
  11897. "description": "审核人",
  11898. "type": "integer"
  11899. },
  11900. "auditremark": {
  11901. "description": "审核备注",
  11902. "type": "string"
  11903. },
  11904. "audittime": {
  11905. "description": "审核时间",
  11906. "type": "string"
  11907. },
  11908. "biztype": {
  11909. "description": "业务类型 - 1:正向套利 2:反向套利",
  11910. "type": "integer"
  11911. },
  11912. "createtime": {
  11913. "description": "创建时间",
  11914. "type": "string"
  11915. },
  11916. "creatorid": {
  11917. "description": "创建人",
  11918. "type": "integer"
  11919. },
  11920. "deliverygoodsid": {
  11921. "description": "现货品种ID",
  11922. "type": "integer"
  11923. },
  11924. "futurequote": {
  11925. "description": "期货额度",
  11926. "type": "number"
  11927. },
  11928. "goodsgroupid": {
  11929. "description": "期货品种ID",
  11930. "type": "integer"
  11931. },
  11932. "marketid": {
  11933. "description": "市场ID",
  11934. "type": "integer"
  11935. },
  11936. "remark": {
  11937. "description": "备注",
  11938. "type": "string"
  11939. },
  11940. "spotquota": {
  11941. "description": "现货额度",
  11942. "type": "number"
  11943. },
  11944. "tradedate": {
  11945. "description": "交易日(yyyyMMdd)",
  11946. "type": "string"
  11947. },
  11948. "userid": {
  11949. "description": "所属机构",
  11950. "type": "integer"
  11951. }
  11952. }
  11953. },
  11954. "erms3.AddErms2SpotTradeApplyReq": {
  11955. "type": "object",
  11956. "required": [
  11957. "spottradeid"
  11958. ],
  11959. "properties": {
  11960. "applyjsondetail": {
  11961. "description": "申请明细(JSON)",
  11962. "type": "string"
  11963. },
  11964. "applystatus": {
  11965. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11966. "type": "integer"
  11967. },
  11968. "areauserid": {
  11969. "description": "所属机构",
  11970. "type": "integer"
  11971. },
  11972. "auditid": {
  11973. "description": "审核人",
  11974. "type": "integer"
  11975. },
  11976. "auditremark": {
  11977. "description": "审核备注",
  11978. "type": "string"
  11979. },
  11980. "audittime": {
  11981. "description": "审核时间",
  11982. "type": "string"
  11983. },
  11984. "createtime": {
  11985. "description": "创建时间",
  11986. "type": "string"
  11987. },
  11988. "creatorid": {
  11989. "description": "创建人",
  11990. "type": "integer"
  11991. },
  11992. "deliverygoodsid": {
  11993. "description": "现货品种ID",
  11994. "type": "integer"
  11995. },
  11996. "futureaccountid": {
  11997. "description": "期货资金账户",
  11998. "type": "integer"
  11999. },
  12000. "goodsgroupid": {
  12001. "description": "期货品种",
  12002. "type": "integer"
  12003. },
  12004. "marketid": {
  12005. "description": "市场ID",
  12006. "type": "integer"
  12007. },
  12008. "remark": {
  12009. "description": "备注",
  12010. "type": "string"
  12011. },
  12012. "spotaccountid": {
  12013. "description": "现货资金账户",
  12014. "type": "integer"
  12015. },
  12016. "spottradeid": {
  12017. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12018. "type": "integer"
  12019. },
  12020. "spottradename": {
  12021. "description": "业务名称",
  12022. "type": "string"
  12023. },
  12024. "spottradeno": {
  12025. "description": "业务编号",
  12026. "type": "string"
  12027. },
  12028. "tradedate": {
  12029. "description": "交易日(yyyyMMdd)",
  12030. "type": "string"
  12031. },
  12032. "wrstandardid": {
  12033. "description": "仓单标准ID",
  12034. "type": "integer"
  12035. }
  12036. }
  12037. },
  12038. "erms3.AddSpotContractApplyReq": {
  12039. "type": "object",
  12040. "required": [
  12041. "accountid",
  12042. "areauserid",
  12043. "contractno",
  12044. "contracttype",
  12045. "customeraccountid",
  12046. "customeruserid",
  12047. "details",
  12048. "orimargin",
  12049. "signdate"
  12050. ],
  12051. "properties": {
  12052. "accountid": {
  12053. "description": "资金账户ID",
  12054. "type": "integer"
  12055. },
  12056. "areauserid": {
  12057. "description": "所属机构",
  12058. "type": "integer"
  12059. },
  12060. "contractattachment": {
  12061. "description": "合同附件",
  12062. "type": "string"
  12063. },
  12064. "contractno": {
  12065. "description": "现货合同编号",
  12066. "type": "string"
  12067. },
  12068. "contracttype": {
  12069. "description": "现货合同类型 - 1:采购 -1:销售",
  12070. "type": "integer"
  12071. },
  12072. "creatorid": {
  12073. "description": "申请人",
  12074. "type": "integer"
  12075. },
  12076. "customeraccountid": {
  12077. "description": "客户资金账户ID",
  12078. "type": "integer"
  12079. },
  12080. "customeruserid": {
  12081. "description": "客户ID",
  12082. "type": "integer"
  12083. },
  12084. "details": {
  12085. "description": "明细",
  12086. "type": "array",
  12087. "items": {
  12088. "$ref": "#/definitions/erms3.SoptContractDetail"
  12089. }
  12090. },
  12091. "orimargin": {
  12092. "description": "初始保证金",
  12093. "type": "number"
  12094. },
  12095. "remark": {
  12096. "description": "备注",
  12097. "type": "string"
  12098. },
  12099. "signdate": {
  12100. "description": "签订日期",
  12101. "type": "string"
  12102. }
  12103. }
  12104. },
  12105. "erms3.AddSpotContractApplyRsp": {
  12106. "type": "object",
  12107. "required": [
  12108. "contractno"
  12109. ],
  12110. "properties": {
  12111. "contractno": {
  12112. "description": "现货合同编号",
  12113. "type": "string"
  12114. },
  12115. "spotcontractid": {
  12116. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12117. "type": "integer"
  12118. }
  12119. }
  12120. },
  12121. "erms3.AddUserInfoApplyReq": {
  12122. "type": "object",
  12123. "required": [
  12124. "userid"
  12125. ],
  12126. "properties": {
  12127. "accountid": {
  12128. "description": "交易系统帐号Id (加密存储)",
  12129. "type": "integer"
  12130. },
  12131. "areacode": {
  12132. "description": "机构代码",
  12133. "type": "string"
  12134. },
  12135. "areaid": {
  12136. "description": "机构Id",
  12137. "type": "integer"
  12138. },
  12139. "attachment1": {
  12140. "description": "附件1",
  12141. "type": "string"
  12142. },
  12143. "attachment2": {
  12144. "description": "附件2",
  12145. "type": "string"
  12146. },
  12147. "attachment3": {
  12148. "description": "附件3",
  12149. "type": "string"
  12150. },
  12151. "attachment4": {
  12152. "description": "附件4",
  12153. "type": "string"
  12154. },
  12155. "attachment5": {
  12156. "description": "附件5",
  12157. "type": "string"
  12158. },
  12159. "auditedby": {
  12160. "description": "审核人",
  12161. "type": "string"
  12162. },
  12163. "auditime": {
  12164. "description": "审核时间",
  12165. "type": "string"
  12166. },
  12167. "auditsrc": {
  12168. "description": "审核来源 - 1:管理端 2:终端",
  12169. "type": "integer"
  12170. },
  12171. "bankaccount": {
  12172. "description": "银行帐号 (加密存储)",
  12173. "type": "string"
  12174. },
  12175. "bankaccountname": {
  12176. "description": "收款人名称",
  12177. "type": "string"
  12178. },
  12179. "bankcardbackphotourl": {
  12180. "description": "银行卡背面照地址",
  12181. "type": "string"
  12182. },
  12183. "bankcardfrontphotourl": {
  12184. "description": "银行卡正面照地址",
  12185. "type": "string"
  12186. },
  12187. "bankid": {
  12188. "description": "银行编码",
  12189. "type": "string"
  12190. },
  12191. "bankname": {
  12192. "description": "银行名称",
  12193. "type": "string"
  12194. },
  12195. "bankpictureurl": {
  12196. "description": "银行卡正面地址",
  12197. "type": "string"
  12198. },
  12199. "biznature": {
  12200. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12201. "type": "integer"
  12202. },
  12203. "bizscope": {
  12204. "description": "企业经营范围(企业)",
  12205. "type": "string"
  12206. },
  12207. "biztype": {
  12208. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12209. "type": "integer"
  12210. },
  12211. "brokerid": {
  12212. "description": "经纪人ID(加密存储)",
  12213. "type": "string"
  12214. },
  12215. "cardaddress": {
  12216. "description": "证件地址 (加密存储)",
  12217. "type": "string"
  12218. },
  12219. "cardbackphotourl": {
  12220. "description": "背面证件照地址",
  12221. "type": "string"
  12222. },
  12223. "cardfrontphotourl": {
  12224. "description": "正面证件照地址",
  12225. "type": "string"
  12226. },
  12227. "cardnum": {
  12228. "description": "证件号码 (加密存储)",
  12229. "type": "string"
  12230. },
  12231. "cardtype": {
  12232. "description": "证件类型",
  12233. "type": "integer"
  12234. },
  12235. "cityid": {
  12236. "description": "市",
  12237. "type": "integer"
  12238. },
  12239. "company": {
  12240. "description": "公司(个人)",
  12241. "type": "string"
  12242. },
  12243. "contactcardbackphotourl": {
  12244. "description": "联系人证件背面图片地址",
  12245. "type": "string"
  12246. },
  12247. "contactcardfrontphotourl": {
  12248. "description": "联系人证件正面图片地址",
  12249. "type": "string"
  12250. },
  12251. "contactname": {
  12252. "description": "联系人",
  12253. "type": "string"
  12254. },
  12255. "countryid": {
  12256. "description": "国家",
  12257. "type": "integer"
  12258. },
  12259. "createtime": {
  12260. "description": "开户申请时间",
  12261. "type": "string"
  12262. },
  12263. "cusbankid": {
  12264. "description": "签约类型",
  12265. "type": "string"
  12266. },
  12267. "cusbankname": {
  12268. "description": "签约类型名称",
  12269. "type": "string"
  12270. },
  12271. "customername": {
  12272. "description": "客户名称(企业名称)",
  12273. "type": "string"
  12274. },
  12275. "districtid": {
  12276. "description": "地区",
  12277. "type": "integer"
  12278. },
  12279. "email": {
  12280. "description": "Email地址(加密存储)",
  12281. "type": "string"
  12282. },
  12283. "halfbodyphotourl": {
  12284. "description": "半身照地址",
  12285. "type": "string"
  12286. },
  12287. "headurl": {
  12288. "description": "头像地址",
  12289. "type": "string"
  12290. },
  12291. "ipaddress": {
  12292. "description": "IP地址",
  12293. "type": "string"
  12294. },
  12295. "isvalidate": {
  12296. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12297. "type": "string"
  12298. },
  12299. "legalcardbackphotourl": {
  12300. "description": "法人身份证背面照地址",
  12301. "type": "string"
  12302. },
  12303. "legalcardfrontphotourl": {
  12304. "description": "法人身份证正面照地址",
  12305. "type": "string"
  12306. },
  12307. "legalpersonname": {
  12308. "description": "法人姓名(企业)",
  12309. "type": "string"
  12310. },
  12311. "logincode": {
  12312. "description": "登录帐号 (加密存储)",
  12313. "type": "string"
  12314. },
  12315. "memberareaid": {
  12316. "description": "所属会员ID",
  12317. "type": "integer"
  12318. },
  12319. "mobile2": {
  12320. "description": "手机号码[明文-尚志]",
  12321. "type": "string"
  12322. },
  12323. "mobilephone": {
  12324. "description": "手机号码 (加密存储)",
  12325. "type": "string"
  12326. },
  12327. "modifiedby": {
  12328. "description": "修改人帐号",
  12329. "type": "integer"
  12330. },
  12331. "modifiedtime": {
  12332. "description": "修改时间",
  12333. "type": "string"
  12334. },
  12335. "nickname": {
  12336. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12337. "type": "string"
  12338. },
  12339. "openmode": {
  12340. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12341. "type": "integer"
  12342. },
  12343. "otherurl": {
  12344. "description": "其它图片地址[使用分号分隔]",
  12345. "type": "string"
  12346. },
  12347. "postalcode": {
  12348. "description": "邮政编码",
  12349. "type": "string"
  12350. },
  12351. "provinceid": {
  12352. "description": "省",
  12353. "type": "integer"
  12354. },
  12355. "proxystatementurl": {
  12356. "description": "授权委托书",
  12357. "type": "string"
  12358. },
  12359. "qq": {
  12360. "description": "QQ(加密存储",
  12361. "type": "string"
  12362. },
  12363. "referral": {
  12364. "description": "推荐人编码",
  12365. "type": "string"
  12366. },
  12367. "remark": {
  12368. "description": "备注",
  12369. "type": "string"
  12370. },
  12371. "removebeforestatus": {
  12372. "description": "REMOVEBEFORESTATUS",
  12373. "type": "integer"
  12374. },
  12375. "sex": {
  12376. "description": "性别 - 0:女 1:男",
  12377. "type": "integer"
  12378. },
  12379. "signedstatus": {
  12380. "description": "账户一号签签约状态",
  12381. "type": "integer"
  12382. },
  12383. "signpdfurl": {
  12384. "description": "签约pdf文件",
  12385. "type": "string"
  12386. },
  12387. "subbranch": {
  12388. "description": "开户支行",
  12389. "type": "string"
  12390. },
  12391. "taxpayernum": {
  12392. "description": "纳税人识别号",
  12393. "type": "string"
  12394. },
  12395. "telphone": {
  12396. "description": "联系电话(加密存储)",
  12397. "type": "string"
  12398. },
  12399. "userid": {
  12400. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12401. "type": "integer"
  12402. },
  12403. "userinfotype": {
  12404. "description": "用户信息类型 - 1:个人 2:企业",
  12405. "type": "integer"
  12406. },
  12407. "username": {
  12408. "description": "用户姓名",
  12409. "type": "string"
  12410. },
  12411. "userstate": {
  12412. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12413. "type": "integer"
  12414. },
  12415. "usertype": {
  12416. "description": "用户类型 - 1:投资者 2:机构",
  12417. "type": "integer"
  12418. },
  12419. "videourl": {
  12420. "description": "视频地址",
  12421. "type": "string"
  12422. },
  12423. "wechat": {
  12424. "description": "微信号 (加密存储)",
  12425. "type": "string"
  12426. }
  12427. }
  12428. },
  12429. "erms3.CustomerInfo": {
  12430. "type": "object",
  12431. "required": [
  12432. "userid"
  12433. ],
  12434. "properties": {
  12435. "accountids": {
  12436. "description": "资金账户ID列表",
  12437. "type": "array",
  12438. "items": {
  12439. "type": "integer"
  12440. }
  12441. },
  12442. "customername": {
  12443. "description": "名称(企业名称)",
  12444. "type": "string"
  12445. },
  12446. "mobile": {
  12447. "description": "手机号码",
  12448. "type": "string"
  12449. },
  12450. "userid": {
  12451. "description": "用户ID",
  12452. "type": "integer"
  12453. }
  12454. }
  12455. },
  12456. "erms3.ModifyUserInfoApplyReq": {
  12457. "type": "object",
  12458. "required": [
  12459. "userid"
  12460. ],
  12461. "properties": {
  12462. "accountid": {
  12463. "description": "交易系统帐号Id (加密存储)",
  12464. "type": "integer"
  12465. },
  12466. "areacode": {
  12467. "description": "机构代码",
  12468. "type": "string"
  12469. },
  12470. "areaid": {
  12471. "description": "机构Id",
  12472. "type": "integer"
  12473. },
  12474. "attachment1": {
  12475. "description": "附件1",
  12476. "type": "string"
  12477. },
  12478. "attachment2": {
  12479. "description": "附件2",
  12480. "type": "string"
  12481. },
  12482. "attachment3": {
  12483. "description": "附件3",
  12484. "type": "string"
  12485. },
  12486. "attachment4": {
  12487. "description": "附件4",
  12488. "type": "string"
  12489. },
  12490. "attachment5": {
  12491. "description": "附件5",
  12492. "type": "string"
  12493. },
  12494. "auditedby": {
  12495. "description": "审核人",
  12496. "type": "string"
  12497. },
  12498. "auditime": {
  12499. "description": "审核时间",
  12500. "type": "string"
  12501. },
  12502. "auditsrc": {
  12503. "description": "审核来源 - 1:管理端 2:终端",
  12504. "type": "integer"
  12505. },
  12506. "bankaccount": {
  12507. "description": "银行帐号 (加密存储)",
  12508. "type": "string"
  12509. },
  12510. "bankaccountname": {
  12511. "description": "收款人名称",
  12512. "type": "string"
  12513. },
  12514. "bankcardbackphotourl": {
  12515. "description": "银行卡背面照地址",
  12516. "type": "string"
  12517. },
  12518. "bankcardfrontphotourl": {
  12519. "description": "银行卡正面照地址",
  12520. "type": "string"
  12521. },
  12522. "bankid": {
  12523. "description": "银行编码",
  12524. "type": "string"
  12525. },
  12526. "bankname": {
  12527. "description": "银行名称",
  12528. "type": "string"
  12529. },
  12530. "bankpictureurl": {
  12531. "description": "银行卡正面地址",
  12532. "type": "string"
  12533. },
  12534. "biznature": {
  12535. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12536. "type": "integer"
  12537. },
  12538. "bizscope": {
  12539. "description": "企业经营范围(企业)",
  12540. "type": "string"
  12541. },
  12542. "biztype": {
  12543. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12544. "type": "integer"
  12545. },
  12546. "brokerid": {
  12547. "description": "经纪人ID(加密存储)",
  12548. "type": "string"
  12549. },
  12550. "cardaddress": {
  12551. "description": "证件地址 (加密存储)",
  12552. "type": "string"
  12553. },
  12554. "cardbackphotourl": {
  12555. "description": "背面证件照地址",
  12556. "type": "string"
  12557. },
  12558. "cardfrontphotourl": {
  12559. "description": "正面证件照地址",
  12560. "type": "string"
  12561. },
  12562. "cardnum": {
  12563. "description": "证件号码 (加密存储)",
  12564. "type": "string"
  12565. },
  12566. "cardtype": {
  12567. "description": "证件类型",
  12568. "type": "integer"
  12569. },
  12570. "cityid": {
  12571. "description": "市",
  12572. "type": "integer"
  12573. },
  12574. "company": {
  12575. "description": "公司(个人)",
  12576. "type": "string"
  12577. },
  12578. "contactcardbackphotourl": {
  12579. "description": "联系人证件背面图片地址",
  12580. "type": "string"
  12581. },
  12582. "contactcardfrontphotourl": {
  12583. "description": "联系人证件正面图片地址",
  12584. "type": "string"
  12585. },
  12586. "contactname": {
  12587. "description": "联系人",
  12588. "type": "string"
  12589. },
  12590. "countryid": {
  12591. "description": "国家",
  12592. "type": "integer"
  12593. },
  12594. "createtime": {
  12595. "description": "开户申请时间",
  12596. "type": "string"
  12597. },
  12598. "cusbankid": {
  12599. "description": "签约类型",
  12600. "type": "string"
  12601. },
  12602. "cusbankname": {
  12603. "description": "签约类型名称",
  12604. "type": "string"
  12605. },
  12606. "customername": {
  12607. "description": "客户名称(企业名称)",
  12608. "type": "string"
  12609. },
  12610. "districtid": {
  12611. "description": "地区",
  12612. "type": "integer"
  12613. },
  12614. "email": {
  12615. "description": "Email地址(加密存储)",
  12616. "type": "string"
  12617. },
  12618. "halfbodyphotourl": {
  12619. "description": "半身照地址",
  12620. "type": "string"
  12621. },
  12622. "headurl": {
  12623. "description": "头像地址",
  12624. "type": "string"
  12625. },
  12626. "ipaddress": {
  12627. "description": "IP地址",
  12628. "type": "string"
  12629. },
  12630. "isvalidate": {
  12631. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12632. "type": "string"
  12633. },
  12634. "legalcardbackphotourl": {
  12635. "description": "法人身份证背面照地址",
  12636. "type": "string"
  12637. },
  12638. "legalcardfrontphotourl": {
  12639. "description": "法人身份证正面照地址",
  12640. "type": "string"
  12641. },
  12642. "legalpersonname": {
  12643. "description": "法人姓名(企业)",
  12644. "type": "string"
  12645. },
  12646. "logincode": {
  12647. "description": "登录帐号 (加密存储)",
  12648. "type": "string"
  12649. },
  12650. "memberareaid": {
  12651. "description": "所属会员ID",
  12652. "type": "integer"
  12653. },
  12654. "mobile2": {
  12655. "description": "手机号码[明文-尚志]",
  12656. "type": "string"
  12657. },
  12658. "mobilephone": {
  12659. "description": "手机号码 (加密存储)",
  12660. "type": "string"
  12661. },
  12662. "modifiedby": {
  12663. "description": "修改人帐号",
  12664. "type": "integer"
  12665. },
  12666. "modifiedtime": {
  12667. "description": "修改时间",
  12668. "type": "string"
  12669. },
  12670. "nickname": {
  12671. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12672. "type": "string"
  12673. },
  12674. "openmode": {
  12675. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12676. "type": "integer"
  12677. },
  12678. "otherurl": {
  12679. "description": "其它图片地址[使用分号分隔]",
  12680. "type": "string"
  12681. },
  12682. "postalcode": {
  12683. "description": "邮政编码",
  12684. "type": "string"
  12685. },
  12686. "provinceid": {
  12687. "description": "省",
  12688. "type": "integer"
  12689. },
  12690. "proxystatementurl": {
  12691. "description": "授权委托书",
  12692. "type": "string"
  12693. },
  12694. "qq": {
  12695. "description": "QQ(加密存储",
  12696. "type": "string"
  12697. },
  12698. "referral": {
  12699. "description": "推荐人编码",
  12700. "type": "string"
  12701. },
  12702. "remark": {
  12703. "description": "备注",
  12704. "type": "string"
  12705. },
  12706. "removebeforestatus": {
  12707. "description": "REMOVEBEFORESTATUS",
  12708. "type": "integer"
  12709. },
  12710. "sex": {
  12711. "description": "性别 - 0:女 1:男",
  12712. "type": "integer"
  12713. },
  12714. "signedstatus": {
  12715. "description": "账户一号签签约状态",
  12716. "type": "integer"
  12717. },
  12718. "signpdfurl": {
  12719. "description": "签约pdf文件",
  12720. "type": "string"
  12721. },
  12722. "subbranch": {
  12723. "description": "开户支行",
  12724. "type": "string"
  12725. },
  12726. "taxpayernum": {
  12727. "description": "纳税人识别号",
  12728. "type": "string"
  12729. },
  12730. "telphone": {
  12731. "description": "联系电话(加密存储)",
  12732. "type": "string"
  12733. },
  12734. "userid": {
  12735. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12736. "type": "integer"
  12737. },
  12738. "userinfotype": {
  12739. "description": "用户信息类型 - 1:个人 2:企业",
  12740. "type": "integer"
  12741. },
  12742. "username": {
  12743. "description": "用户姓名",
  12744. "type": "string"
  12745. },
  12746. "userstate": {
  12747. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12748. "type": "integer"
  12749. },
  12750. "usertype": {
  12751. "description": "用户类型 - 1:投资者 2:机构",
  12752. "type": "integer"
  12753. },
  12754. "videourl": {
  12755. "description": "视频地址",
  12756. "type": "string"
  12757. },
  12758. "wechat": {
  12759. "description": "微信号 (加密存储)",
  12760. "type": "string"
  12761. }
  12762. }
  12763. },
  12764. "erms3.QryAuditContractRsp": {
  12765. "type": "object",
  12766. "required": [
  12767. "matchcustomername",
  12768. "spotcontractid"
  12769. ],
  12770. "properties": {
  12771. "accountid": {
  12772. "description": "交易员ID",
  12773. "type": "string"
  12774. },
  12775. "applystatus": {
  12776. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12777. "type": "integer"
  12778. },
  12779. "curdeliveryqty": {
  12780. "description": "未交收量",
  12781. "type": "integer"
  12782. },
  12783. "customername": {
  12784. "description": "采购方ID",
  12785. "type": "string"
  12786. },
  12787. "deliverygoodsid": {
  12788. "description": "品种ID",
  12789. "type": "string"
  12790. },
  12791. "deliveryqty": {
  12792. "description": "交收量",
  12793. "type": "integer"
  12794. },
  12795. "enumdicname": {
  12796. "description": "单位名称",
  12797. "type": "string"
  12798. },
  12799. "matchaccountid": {
  12800. "description": "业务员ID",
  12801. "type": "string"
  12802. },
  12803. "matchcustomername": {
  12804. "description": "销售方ID",
  12805. "type": "string"
  12806. },
  12807. "pricedqty": {
  12808. "description": "定价量",
  12809. "type": "number"
  12810. },
  12811. "signdate": {
  12812. "description": "签订日期",
  12813. "type": "string"
  12814. },
  12815. "spotcontractid": {
  12816. "description": "合同ID",
  12817. "type": "string"
  12818. },
  12819. "totaldqty": {
  12820. "description": "合同量",
  12821. "type": "number"
  12822. },
  12823. "unpricedqty": {
  12824. "description": "未定价量",
  12825. "type": "number"
  12826. },
  12827. "wrstandardname": {
  12828. "description": "商品名称",
  12829. "type": "string"
  12830. }
  12831. }
  12832. },
  12833. "erms3.QryPendingBizRsp": {
  12834. "$ref": "#/definitions/models.PendingAuditBizModel"
  12835. },
  12836. "erms3.QueryBusinessInfoRsp": {
  12837. "type": "object",
  12838. "properties": {
  12839. "businessid": {
  12840. "description": "业务ID.",
  12841. "type": "integer"
  12842. },
  12843. "buyamount": {
  12844. "description": "采购额.",
  12845. "type": "number"
  12846. },
  12847. "buyqty": {
  12848. "description": "采购量.",
  12849. "type": "string"
  12850. },
  12851. "futurepl": {
  12852. "description": "期货盈亏.",
  12853. "type": "number"
  12854. },
  12855. "futureqty": {
  12856. "description": "期货敞口.",
  12857. "type": "string"
  12858. },
  12859. "goodsid": {
  12860. "description": "商品名称/商品代码.",
  12861. "type": "string"
  12862. },
  12863. "hedgingqty": {
  12864. "description": "套保量.",
  12865. "type": "string"
  12866. },
  12867. "sellamount": {
  12868. "description": "销售额.",
  12869. "type": "number"
  12870. },
  12871. "sellqty": {
  12872. "description": "销售量.",
  12873. "type": "string"
  12874. },
  12875. "spotmarketvalue": {
  12876. "description": "现货市值.",
  12877. "type": "number"
  12878. },
  12879. "spotpl": {
  12880. "description": "浮动权益.",
  12881. "type": "number"
  12882. },
  12883. "spotqty": {
  12884. "description": "现货量.",
  12885. "type": "string"
  12886. },
  12887. "statu": {
  12888. "description": "状态,0-未结束 1-已结束.",
  12889. "type": "integer"
  12890. },
  12891. "totalpl": {
  12892. "description": "总盈亏.",
  12893. "type": "number"
  12894. },
  12895. "totalqty": {
  12896. "description": "总敞口.",
  12897. "type": "string"
  12898. },
  12899. "type": {
  12900. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12901. "type": "integer"
  12902. }
  12903. }
  12904. },
  12905. "erms3.QuerySpotContractAppleFormRsp": {
  12906. "type": "object",
  12907. "properties": {
  12908. "goodses": {
  12909. "description": "合约列表",
  12910. "type": "array",
  12911. "items": {
  12912. "$ref": "#/definitions/models.GoodsIDAndName"
  12913. }
  12914. },
  12915. "oppositeusers": {
  12916. "description": "对方账号列表",
  12917. "type": "array",
  12918. "items": {
  12919. "$ref": "#/definitions/erms3.CustomerInfo"
  12920. }
  12921. },
  12922. "ouruser": {
  12923. "description": "我方账号",
  12924. "type": "object",
  12925. "$ref": "#/definitions/erms3.CustomerInfo"
  12926. },
  12927. "warehouseinfos": {
  12928. "description": "仓库信息列表",
  12929. "type": "array",
  12930. "items": {
  12931. "$ref": "#/definitions/models.Warehouseinfo"
  12932. }
  12933. },
  12934. "wrstandards": {
  12935. "description": "仓单标准列表",
  12936. "type": "array",
  12937. "items": {
  12938. "$ref": "#/definitions/models.WRStandardInfo"
  12939. }
  12940. }
  12941. }
  12942. },
  12943. "erms3.QuerySpotContractInfoRsp": {
  12944. "type": "object",
  12945. "properties": {
  12946. "accountid": {
  12947. "description": "表示交易员ID.",
  12948. "type": "integer"
  12949. },
  12950. "curdeliveryqty": {
  12951. "description": "表示未交收量.",
  12952. "type": "number"
  12953. },
  12954. "customername": {
  12955. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12956. "type": "string"
  12957. },
  12958. "deliverygoodsid": {
  12959. "description": "表示品种ID.",
  12960. "type": "string"
  12961. },
  12962. "deliveryqty": {
  12963. "description": "表示交收量.",
  12964. "type": "number"
  12965. },
  12966. "matchaccountid": {
  12967. "description": "表示业务员ID.",
  12968. "type": "integer"
  12969. },
  12970. "matchcustomername": {
  12971. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12972. "type": "string"
  12973. },
  12974. "priceqty": {
  12975. "description": "表示定价量.",
  12976. "type": "number"
  12977. },
  12978. "relatedbizid": {
  12979. "description": "表示业务ID.",
  12980. "type": "string"
  12981. },
  12982. "signdate": {
  12983. "description": "表示签订日期.",
  12984. "type": "string"
  12985. },
  12986. "spotcontractid": {
  12987. "description": "合同ID",
  12988. "type": "string"
  12989. },
  12990. "status": {
  12991. "description": "表示状态,0-履约中 1-已完成.",
  12992. "type": "integer"
  12993. },
  12994. "totalqty": {
  12995. "description": "表示合同量.",
  12996. "type": "number"
  12997. },
  12998. "unpricedqty": {
  12999. "description": "表示未定价量.",
  13000. "type": "number"
  13001. },
  13002. "wrstandardname": {
  13003. "description": "表示商品ID.",
  13004. "type": "string"
  13005. }
  13006. }
  13007. },
  13008. "erms3.QueryUserInfoAppliesRsp": {
  13009. "type": "object",
  13010. "required": [
  13011. "userid"
  13012. ],
  13013. "properties": {
  13014. "biznature": {
  13015. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13016. "type": "integer"
  13017. },
  13018. "contactname": {
  13019. "description": "联系人",
  13020. "type": "string"
  13021. },
  13022. "createtime": {
  13023. "description": "开户申请时间",
  13024. "type": "string"
  13025. },
  13026. "userid": {
  13027. "description": "用户ID(自增ID)",
  13028. "type": "integer"
  13029. },
  13030. "userinfotype": {
  13031. "description": "用户信息类型 - 1:个人 2:企业",
  13032. "type": "integer"
  13033. },
  13034. "username": {
  13035. "description": "用户姓名",
  13036. "type": "string"
  13037. },
  13038. "userstate": {
  13039. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13040. "type": "integer"
  13041. }
  13042. }
  13043. },
  13044. "erms3.QueryUserInfosRsp": {
  13045. "type": "object",
  13046. "required": [
  13047. "userid"
  13048. ],
  13049. "properties": {
  13050. "biznature": {
  13051. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13052. "type": "integer"
  13053. },
  13054. "contactname": {
  13055. "description": "联系人",
  13056. "type": "string"
  13057. },
  13058. "customername": {
  13059. "description": "客户名称(企业名称)",
  13060. "type": "string"
  13061. },
  13062. "userid": {
  13063. "description": "用户ID",
  13064. "type": "integer"
  13065. },
  13066. "userinfotype": {
  13067. "description": "用户信息类型 - 1:个人 2:企业",
  13068. "type": "integer"
  13069. },
  13070. "userstatus": {
  13071. "description": "用户状态 - 1:正常 2:注销",
  13072. "type": "integer"
  13073. }
  13074. }
  13075. },
  13076. "erms3.SoptContractDetail": {
  13077. "type": "object",
  13078. "required": [
  13079. "deliverygoodsid",
  13080. "producttype",
  13081. "unitname",
  13082. "warehouseid",
  13083. "wrstandardid",
  13084. "wrstandardname"
  13085. ],
  13086. "properties": {
  13087. "deliverygoodsdesc": {
  13088. "description": "现货品种说明",
  13089. "type": "string"
  13090. },
  13091. "deliverygoodsid": {
  13092. "description": "现货品种ID",
  13093. "type": "integer"
  13094. },
  13095. "deliverygoodsname": {
  13096. "description": "现货品种名称",
  13097. "type": "string"
  13098. },
  13099. "pointdesc": {
  13100. "description": "点价描述",
  13101. "type": "string"
  13102. },
  13103. "producttype": {
  13104. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13105. "type": "integer"
  13106. },
  13107. "producttypename": {
  13108. "description": "产品类型名称",
  13109. "type": "string"
  13110. },
  13111. "spotPointOrderVoList": {
  13112. "description": "点价列表",
  13113. "type": "array",
  13114. "items": {
  13115. "$ref": "#/definitions/erms3.SpotPointOrder"
  13116. }
  13117. },
  13118. "spotPriceOrderList": {
  13119. "description": "定价列表",
  13120. "type": "array",
  13121. "items": {
  13122. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13123. }
  13124. },
  13125. "unitname": {
  13126. "description": "单位名称",
  13127. "type": "string"
  13128. },
  13129. "warehouseid": {
  13130. "description": "仓库ID",
  13131. "type": "integer"
  13132. },
  13133. "warehousename": {
  13134. "description": "仓库名称",
  13135. "type": "string"
  13136. },
  13137. "wrstandardid": {
  13138. "description": "交易标的ID",
  13139. "type": "integer"
  13140. },
  13141. "wrstandardname": {
  13142. "description": "交易标的名称",
  13143. "type": "string"
  13144. }
  13145. }
  13146. },
  13147. "erms3.SpotPointOrder": {
  13148. "type": "object",
  13149. "required": [
  13150. "basic",
  13151. "goodsid",
  13152. "qty"
  13153. ],
  13154. "properties": {
  13155. "basic": {
  13156. "description": "基差",
  13157. "type": "number"
  13158. },
  13159. "deliveryenddate": {
  13160. "description": "交收结束日期",
  13161. "type": "string"
  13162. },
  13163. "deliverystartdate": {
  13164. "description": "交收开始日期",
  13165. "type": "string"
  13166. },
  13167. "enddate": {
  13168. "description": "点价结束日期",
  13169. "type": "string"
  13170. },
  13171. "goodsid": {
  13172. "description": "商品ID",
  13173. "type": "integer"
  13174. },
  13175. "goodsname": {
  13176. "description": "商品名称",
  13177. "type": "string"
  13178. },
  13179. "qty": {
  13180. "description": "数量",
  13181. "type": "number"
  13182. },
  13183. "startdate": {
  13184. "description": "点价开始日期",
  13185. "type": "string"
  13186. }
  13187. }
  13188. },
  13189. "erms3.SpotPriceOrder": {
  13190. "type": "object",
  13191. "required": [
  13192. "amount",
  13193. "price",
  13194. "qty"
  13195. ],
  13196. "properties": {
  13197. "amount": {
  13198. "description": "金额",
  13199. "type": "number"
  13200. },
  13201. "deliveryenddate": {
  13202. "description": "交收结束日期",
  13203. "type": "string"
  13204. },
  13205. "deliverystartdate": {
  13206. "description": "交收开始日期",
  13207. "type": "string"
  13208. },
  13209. "price": {
  13210. "description": "价格",
  13211. "type": "number"
  13212. },
  13213. "qty": {
  13214. "description": "数量",
  13215. "type": "number"
  13216. }
  13217. }
  13218. },
  13219. "hsby.GetHsbyMyCountRsp": {
  13220. "type": "object",
  13221. "properties": {
  13222. "myCouponCount": {
  13223. "description": "我的优惠卷数量",
  13224. "type": "integer"
  13225. },
  13226. "myOrderDetailListingCount": {
  13227. "description": "我的订单求购中数量",
  13228. "type": "integer"
  13229. },
  13230. "myOrderDetailPreCount": {
  13231. "description": "我的订单抢购中数量",
  13232. "type": "integer"
  13233. },
  13234. "myPackageUnReceiveCount": {
  13235. "description": "我的包裹待收货数量",
  13236. "type": "integer"
  13237. },
  13238. "myPackageUnSendCount": {
  13239. "description": "我的包裹待发货数量",
  13240. "type": "integer"
  13241. },
  13242. "myPayOrderCount": {
  13243. "description": "我的订单待付款数量",
  13244. "type": "integer"
  13245. }
  13246. }
  13247. },
  13248. "hsby.QueryProvincesAndCitiesRsp": {
  13249. "type": "object",
  13250. "properties": {
  13251. "cities": {
  13252. "description": "市",
  13253. "type": "array",
  13254. "items": {
  13255. "$ref": "#/definitions/models.Division"
  13256. }
  13257. },
  13258. "province": {
  13259. "description": "省",
  13260. "type": "object",
  13261. "$ref": "#/definitions/models.Division"
  13262. }
  13263. }
  13264. },
  13265. "models.AreaSpotModel": {
  13266. "type": "object",
  13267. "properties": {
  13268. "areauserid": {
  13269. "description": "所属机构",
  13270. "type": "integer"
  13271. },
  13272. "decreaseqty": {
  13273. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13274. "type": "number"
  13275. },
  13276. "increaseqty": {
  13277. "description": "增加数量=销售计划数量+采购已定价数量",
  13278. "type": "number"
  13279. },
  13280. "oritoalspotqty": {
  13281. "description": "昨日数量",
  13282. "type": "number"
  13283. },
  13284. "totalspotqty": {
  13285. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13286. "type": "number"
  13287. },
  13288. "updatetime": {
  13289. "description": "更新时间",
  13290. "type": "string"
  13291. },
  13292. "wrstandardcode": {
  13293. "description": "现货品种代码",
  13294. "type": "string"
  13295. },
  13296. "wrstandardid": {
  13297. "description": "现货商品ID",
  13298. "type": "integer"
  13299. },
  13300. "wrstandardname": {
  13301. "description": "现货品种",
  13302. "type": "string"
  13303. }
  13304. }
  13305. },
  13306. "models.Clientfixedadconfig": {
  13307. "type": "object",
  13308. "required": [
  13309. "adsort",
  13310. "adtype"
  13311. ],
  13312. "properties": {
  13313. "adsort": {
  13314. "description": "排序",
  13315. "type": "integer"
  13316. },
  13317. "adtype": {
  13318. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13319. "type": "integer"
  13320. },
  13321. "areauserid": {
  13322. "description": "所属机构ID",
  13323. "type": "integer"
  13324. },
  13325. "createdate": {
  13326. "description": "创建时间",
  13327. "type": "string"
  13328. },
  13329. "creatorid": {
  13330. "description": "创建人",
  13331. "type": "integer"
  13332. },
  13333. "imagepath": {
  13334. "description": "图片",
  13335. "type": "string"
  13336. },
  13337. "isshow": {
  13338. "description": "是否展示 - 0:不展示 1:展示",
  13339. "type": "integer"
  13340. },
  13341. "modifierid": {
  13342. "description": "操作人",
  13343. "type": "integer"
  13344. },
  13345. "recsize": {
  13346. "description": "推荐尺寸",
  13347. "type": "string"
  13348. },
  13349. "title": {
  13350. "description": "标题",
  13351. "type": "string"
  13352. },
  13353. "updatedate": {
  13354. "description": "更新时间",
  13355. "type": "string"
  13356. },
  13357. "urlcontent": {
  13358. "description": "链接(地址或商品ID)",
  13359. "type": "string"
  13360. },
  13361. "urltype": {
  13362. "description": "链接类型 - 1:直接地址 2:商品ID",
  13363. "type": "integer"
  13364. }
  13365. }
  13366. },
  13367. "models.Division": {
  13368. "type": "object",
  13369. "required": [
  13370. "autoid",
  13371. "divisioncode"
  13372. ],
  13373. "properties": {
  13374. "autoid": {
  13375. "description": "自增ID",
  13376. "type": "integer"
  13377. },
  13378. "divisioncode": {
  13379. "description": "行政代码",
  13380. "type": "string"
  13381. },
  13382. "divisionlevel": {
  13383. "description": "行政级别",
  13384. "type": "string"
  13385. },
  13386. "divisionname": {
  13387. "description": "行政名称",
  13388. "type": "string"
  13389. },
  13390. "modifierid": {
  13391. "description": "修改人",
  13392. "type": "integer"
  13393. },
  13394. "modifytime": {
  13395. "description": "修改时间",
  13396. "type": "string"
  13397. },
  13398. "parentcode": {
  13399. "description": "上级行政代码",
  13400. "type": "string"
  13401. },
  13402. "pathname": {
  13403. "description": "路径名称",
  13404. "type": "string"
  13405. },
  13406. "postcode": {
  13407. "description": "邮政编码",
  13408. "type": "string"
  13409. },
  13410. "separablename": {
  13411. "description": "可拆分的全称",
  13412. "type": "string"
  13413. },
  13414. "shortcode": {
  13415. "description": "地区简码",
  13416. "type": "string"
  13417. }
  13418. }
  13419. },
  13420. "models.Enumdicitem": {
  13421. "type": "object",
  13422. "required": [
  13423. "autoid",
  13424. "enumdiccode",
  13425. "enumdicid",
  13426. "enumitemname"
  13427. ],
  13428. "properties": {
  13429. "autoid": {
  13430. "description": "自增ID",
  13431. "type": "integer"
  13432. },
  13433. "bankmappedvalue": {
  13434. "description": "银行服务对应值",
  13435. "type": "string"
  13436. },
  13437. "enumdiccode": {
  13438. "description": "所属枚举代码",
  13439. "type": "string"
  13440. },
  13441. "enumdicid": {
  13442. "description": "所属枚举ID",
  13443. "type": "integer"
  13444. },
  13445. "enumdicname": {
  13446. "description": "枚举项名称",
  13447. "type": "string"
  13448. },
  13449. "enumitemname": {
  13450. "description": "枚举项值",
  13451. "type": "integer"
  13452. },
  13453. "enumitemstatus": {
  13454. "description": "枚举项状态 - 1.启用 2.不启用",
  13455. "type": "integer"
  13456. },
  13457. "enumitemvalue": {
  13458. "description": "通用值 - [币种通用简写]",
  13459. "type": "string"
  13460. },
  13461. "param1": {
  13462. "description": "参数1[币种:币种小数位]",
  13463. "type": "string"
  13464. },
  13465. "param2": {
  13466. "description": "参数1[币种:币种显示单位]",
  13467. "type": "string"
  13468. },
  13469. "remark": {
  13470. "description": "备注",
  13471. "type": "string"
  13472. }
  13473. }
  13474. },
  13475. "models.Ermcp3AreaSpot": {
  13476. "type": "object",
  13477. "properties": {
  13478. "areauserid": {
  13479. "description": "所属机构",
  13480. "type": "integer"
  13481. },
  13482. "decreaseqty": {
  13483. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13484. "type": "number"
  13485. },
  13486. "deliverygoodscode": {
  13487. "description": "现货品种代码",
  13488. "type": "string"
  13489. },
  13490. "deliverygoodsid": {
  13491. "description": "现货品种id",
  13492. "type": "integer"
  13493. },
  13494. "deliverygoodsname": {
  13495. "description": "现货品种名称",
  13496. "type": "string"
  13497. },
  13498. "enumdicname": {
  13499. "description": "单位名称",
  13500. "type": "string"
  13501. },
  13502. "goodsunitid": {
  13503. "description": "现货品种单位id",
  13504. "type": "integer"
  13505. },
  13506. "increaseqty": {
  13507. "description": "增加数量=销售计划数量+采购已定价数量",
  13508. "type": "number"
  13509. },
  13510. "oritoalspotqty": {
  13511. "description": "昨日数量",
  13512. "type": "number"
  13513. },
  13514. "totalspotqty": {
  13515. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13516. "type": "number"
  13517. },
  13518. "updatetime": {
  13519. "description": "更新时间",
  13520. "type": "string"
  13521. }
  13522. }
  13523. },
  13524. "models.Ermcp3AreaSpotDetail": {
  13525. "type": "object",
  13526. "properties": {
  13527. "contracttype": {
  13528. "description": "合同类型 1-采购 -1-销售",
  13529. "type": "integer"
  13530. },
  13531. "createtime": {
  13532. "description": "创建时间",
  13533. "type": "string"
  13534. },
  13535. "deliverygoodscode": {
  13536. "description": "现货品种代码",
  13537. "type": "string"
  13538. },
  13539. "deliverygoodsid": {
  13540. "description": "现货品种id",
  13541. "type": "integer"
  13542. },
  13543. "deliverygoodsname": {
  13544. "description": "现货品种名称",
  13545. "type": "string"
  13546. },
  13547. "enumdicname": {
  13548. "description": "现货商品单位名称",
  13549. "type": "string"
  13550. },
  13551. "logtype": {
  13552. "description": "记录类型 1-套保 2-现货合同",
  13553. "type": "integer"
  13554. },
  13555. "qty": {
  13556. "description": "数量",
  13557. "type": "number"
  13558. },
  13559. "recordname": {
  13560. "description": "类型名称",
  13561. "type": "string"
  13562. },
  13563. "relatedid": {
  13564. "description": "套保计划ID/现货合同ID",
  13565. "type": "string"
  13566. },
  13567. "relatedno": {
  13568. "description": "编号",
  13569. "type": "string"
  13570. },
  13571. "strtime": {
  13572. "description": "时间",
  13573. "type": "string"
  13574. }
  13575. }
  13576. },
  13577. "models.Ermcp3AreaStock": {
  13578. "type": "object",
  13579. "required": [
  13580. "userid"
  13581. ],
  13582. "properties": {
  13583. "brandname": {
  13584. "description": "品牌名称",
  13585. "type": "string"
  13586. },
  13587. "curstock": {
  13588. "description": "期末库存量(今日量)",
  13589. "type": "number"
  13590. },
  13591. "deliverygoodscode": {
  13592. "description": "现货品种代码",
  13593. "type": "string"
  13594. },
  13595. "deliverygoodsid": {
  13596. "description": "现货品种id",
  13597. "type": "integer"
  13598. },
  13599. "deliverygoodsname": {
  13600. "description": "现货品种名称",
  13601. "type": "string"
  13602. },
  13603. "enumdicname": {
  13604. "description": "单位名称",
  13605. "type": "string"
  13606. },
  13607. "goodsunitid": {
  13608. "description": "现货商品单位id",
  13609. "type": "integer"
  13610. },
  13611. "oristock": {
  13612. "description": "期初库存量(昨日量)",
  13613. "type": "number"
  13614. },
  13615. "spotgoodsbrandid": {
  13616. "description": "现货品牌ID",
  13617. "type": "integer"
  13618. },
  13619. "todaybuyinqty": {
  13620. "description": "今日采购入库量",
  13621. "type": "number"
  13622. },
  13623. "todayproduceinqty": {
  13624. "description": "今日生产入库量",
  13625. "type": "number"
  13626. },
  13627. "todayproduceoutqty": {
  13628. "description": "今日生产出库量",
  13629. "type": "number"
  13630. },
  13631. "todayselloutqty": {
  13632. "description": "今日销售出库量",
  13633. "type": "number"
  13634. },
  13635. "unitid": {
  13636. "description": "单位id",
  13637. "type": "integer"
  13638. },
  13639. "updatetime": {
  13640. "description": "更新时间",
  13641. "type": "string"
  13642. },
  13643. "userid": {
  13644. "description": "机构ID",
  13645. "type": "integer"
  13646. },
  13647. "username": {
  13648. "description": "机构名称",
  13649. "type": "string"
  13650. },
  13651. "warehousecode": {
  13652. "description": "仓库代码",
  13653. "type": "string"
  13654. },
  13655. "warehouseinfoid": {
  13656. "description": "仓库ID",
  13657. "type": "string"
  13658. },
  13659. "warehousename": {
  13660. "description": "仓库名称",
  13661. "type": "string"
  13662. },
  13663. "warehousetype": {
  13664. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13665. "type": "integer"
  13666. },
  13667. "wrstandardcode": {
  13668. "description": "品类代码",
  13669. "type": "string"
  13670. },
  13671. "wrstandardid": {
  13672. "description": "品类ID",
  13673. "type": "string"
  13674. },
  13675. "wrstandardname": {
  13676. "description": "品类名称",
  13677. "type": "string"
  13678. }
  13679. }
  13680. },
  13681. "models.Ermcp3AreaStockApply": {
  13682. "type": "object",
  13683. "properties": {
  13684. "applyid": {
  13685. "description": "申请人",
  13686. "type": "integer"
  13687. },
  13688. "applyname": {
  13689. "description": "申请人名称",
  13690. "type": "string"
  13691. },
  13692. "applyremark": {
  13693. "description": "申请备注",
  13694. "type": "string"
  13695. },
  13696. "applysrc": {
  13697. "description": "申请来源 - 1:管理端 2:终端",
  13698. "type": "integer"
  13699. },
  13700. "applystatus": {
  13701. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13702. "type": "integer"
  13703. },
  13704. "applytime": {
  13705. "description": "申请时间",
  13706. "type": "string"
  13707. },
  13708. "auditid": {
  13709. "description": "审核人",
  13710. "type": "integer"
  13711. },
  13712. "auditname": {
  13713. "description": "审核人名称",
  13714. "type": "string"
  13715. },
  13716. "auditremark": {
  13717. "description": "审核备注",
  13718. "type": "string"
  13719. },
  13720. "auditsrc": {
  13721. "description": "审核来源 - 1:管理端 2:终端",
  13722. "type": "integer"
  13723. },
  13724. "audittime": {
  13725. "description": "审核时间",
  13726. "type": "string"
  13727. },
  13728. "audittradedate": {
  13729. "description": "审核交易日(yyyyMMdd)",
  13730. "type": "string"
  13731. },
  13732. "brandname": {
  13733. "description": "品牌名称",
  13734. "type": "string"
  13735. },
  13736. "buynickname": {
  13737. "description": "采购方昵称",
  13738. "type": "string"
  13739. },
  13740. "buyuserid": {
  13741. "description": "采购方userid",
  13742. "type": "integer"
  13743. },
  13744. "buyusername": {
  13745. "description": "采购方名称",
  13746. "type": "string"
  13747. },
  13748. "contractno": {
  13749. "description": "合同编号",
  13750. "type": "string"
  13751. },
  13752. "contractqty": {
  13753. "description": "合同量",
  13754. "type": "number"
  13755. },
  13756. "contracttype": {
  13757. "description": "现货合同类型 - 1:采购 -1:销售",
  13758. "type": "integer"
  13759. },
  13760. "deliverygoodscode": {
  13761. "description": "现货品种代码",
  13762. "type": "string"
  13763. },
  13764. "deliverygoodsid": {
  13765. "description": "现货品种id",
  13766. "type": "integer"
  13767. },
  13768. "deliverygoodsname": {
  13769. "description": "现货品种名称",
  13770. "type": "string"
  13771. },
  13772. "detailjson": {
  13773. "description": "明细数据",
  13774. "type": "string"
  13775. },
  13776. "enumdicname": {
  13777. "description": "现货商品单位名称",
  13778. "type": "string"
  13779. },
  13780. "inoutapplyid": {
  13781. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13782. "type": "string"
  13783. },
  13784. "inouttype": {
  13785. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13786. "type": "integer"
  13787. },
  13788. "pricetype": {
  13789. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13790. "type": "integer"
  13791. },
  13792. "qty": {
  13793. "description": "数量",
  13794. "type": "number"
  13795. },
  13796. "sellnickname": {
  13797. "description": "销售方昵称",
  13798. "type": "string"
  13799. },
  13800. "selluserid": {
  13801. "description": "销售方userid",
  13802. "type": "integer"
  13803. },
  13804. "sellusername": {
  13805. "description": "销售方名称",
  13806. "type": "string"
  13807. },
  13808. "spotcontractid": {
  13809. "description": "关联现货合同ID",
  13810. "type": "string"
  13811. },
  13812. "spotgoodsbrandid": {
  13813. "description": "现货品牌ID",
  13814. "type": "integer"
  13815. },
  13816. "unitid": {
  13817. "description": "单位id",
  13818. "type": "integer"
  13819. },
  13820. "userid": {
  13821. "description": "机构ID",
  13822. "type": "integer"
  13823. },
  13824. "warehousecode": {
  13825. "description": "仓库代码",
  13826. "type": "string"
  13827. },
  13828. "warehouseinfoid": {
  13829. "description": "现货仓库ID",
  13830. "type": "string"
  13831. },
  13832. "warehousename": {
  13833. "description": "仓库名称",
  13834. "type": "string"
  13835. },
  13836. "warehousetype": {
  13837. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13838. "type": "integer"
  13839. },
  13840. "wrstandardcode": {
  13841. "description": "品类代码",
  13842. "type": "string"
  13843. },
  13844. "wrstandardid": {
  13845. "description": "品类ID",
  13846. "type": "integer"
  13847. },
  13848. "wrstandardname": {
  13849. "description": "品类名称",
  13850. "type": "string"
  13851. }
  13852. }
  13853. },
  13854. "models.Ermcp3AreaStockApplySum": {
  13855. "type": "object",
  13856. "properties": {
  13857. "brandname": {
  13858. "description": "品牌名称",
  13859. "type": "string"
  13860. },
  13861. "inouttype": {
  13862. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13863. "type": "integer"
  13864. },
  13865. "spotcontractid": {
  13866. "description": "关联现货合同ID",
  13867. "type": "string"
  13868. },
  13869. "spotgoodsbrandid": {
  13870. "description": "品牌id",
  13871. "type": "integer"
  13872. },
  13873. "totalqty": {
  13874. "description": "总数量",
  13875. "type": "number"
  13876. },
  13877. "wrstandardid": {
  13878. "description": "品类id",
  13879. "type": "integer"
  13880. },
  13881. "wrstandardname": {
  13882. "description": "品类名称",
  13883. "type": "string"
  13884. }
  13885. }
  13886. },
  13887. "models.Ermcp3AreaStockReport": {
  13888. "type": "object",
  13889. "properties": {
  13890. "brandname": {
  13891. "description": "品牌名称",
  13892. "type": "string"
  13893. },
  13894. "curstock": {
  13895. "description": "期末库存量",
  13896. "type": "number"
  13897. },
  13898. "deliverygoodscode": {
  13899. "description": "现货品种代码",
  13900. "type": "string"
  13901. },
  13902. "deliverygoodsid": {
  13903. "description": "现货品种id",
  13904. "type": "integer"
  13905. },
  13906. "deliverygoodsname": {
  13907. "description": "现货品种名称",
  13908. "type": "string"
  13909. },
  13910. "enumdicname": {
  13911. "description": "单位名称",
  13912. "type": "string"
  13913. },
  13914. "goodsunitid": {
  13915. "description": "现货单位id",
  13916. "type": "integer"
  13917. },
  13918. "oristock": {
  13919. "description": "期初库存量",
  13920. "type": "number"
  13921. },
  13922. "spotgoodsbrandid": {
  13923. "description": "现货品牌ID",
  13924. "type": "integer"
  13925. },
  13926. "todaybuyinqty": {
  13927. "description": "今日采购入库量",
  13928. "type": "number"
  13929. },
  13930. "todayproduceinqty": {
  13931. "description": "今日生产入库量",
  13932. "type": "number"
  13933. },
  13934. "todayproduceoutqty": {
  13935. "description": "今日生产出库量",
  13936. "type": "number"
  13937. },
  13938. "todayselloutqty": {
  13939. "description": "今日销售出库量",
  13940. "type": "number"
  13941. },
  13942. "unitid": {
  13943. "description": "品类单位id",
  13944. "type": "integer"
  13945. },
  13946. "updatetime": {
  13947. "description": "更新时间",
  13948. "type": "string"
  13949. },
  13950. "userid": {
  13951. "description": "机构ID",
  13952. "type": "integer"
  13953. },
  13954. "username": {
  13955. "description": "机构名称",
  13956. "type": "string"
  13957. },
  13958. "warehousecode": {
  13959. "description": "仓库代码",
  13960. "type": "string"
  13961. },
  13962. "warehouseinfoid": {
  13963. "description": "仓库ID",
  13964. "type": "string"
  13965. },
  13966. "warehousename": {
  13967. "description": "仓库名称",
  13968. "type": "string"
  13969. },
  13970. "warehousetype": {
  13971. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13972. "type": "integer"
  13973. },
  13974. "wrstandardcode": {
  13975. "description": "品类代码",
  13976. "type": "string"
  13977. },
  13978. "wrstandardid": {
  13979. "description": "品类ID",
  13980. "type": "integer"
  13981. },
  13982. "wrstandardname": {
  13983. "description": "品类名称",
  13984. "type": "string"
  13985. }
  13986. }
  13987. },
  13988. "models.Ermcp3Brand": {
  13989. "type": "object",
  13990. "properties": {
  13991. "areauserid": {
  13992. "description": "用户id",
  13993. "type": "integer"
  13994. },
  13995. "brandid": {
  13996. "description": "品牌id",
  13997. "type": "integer"
  13998. },
  13999. "brandname": {
  14000. "description": "品牌名称",
  14001. "type": "string"
  14002. },
  14003. "deliverygoodsid": {
  14004. "description": "品种ID",
  14005. "type": "integer"
  14006. }
  14007. }
  14008. },
  14009. "models.Ermcp3Contract": {
  14010. "type": "object",
  14011. "properties": {
  14012. "accountid": {
  14013. "description": "期货账户id",
  14014. "type": "string"
  14015. },
  14016. "amount": {
  14017. "description": "金额 [1:一口价、3:暂定价]",
  14018. "type": "number"
  14019. },
  14020. "attachment": {
  14021. "description": "附件",
  14022. "type": "string"
  14023. },
  14024. "auditremark": {
  14025. "description": "审核意见",
  14026. "type": "string"
  14027. },
  14028. "audittime": {
  14029. "description": "审核时间",
  14030. "type": "string"
  14031. },
  14032. "biztype": {
  14033. "description": "业务类型 1-套保 2-套利",
  14034. "type": "integer"
  14035. },
  14036. "brandname": {
  14037. "description": "品牌名称",
  14038. "type": "string"
  14039. },
  14040. "buynickname": {
  14041. "description": "销售方昵称",
  14042. "type": "string"
  14043. },
  14044. "buyuserid": {
  14045. "description": "采购方ID",
  14046. "type": "integer"
  14047. },
  14048. "buyusername": {
  14049. "description": "采购方名称",
  14050. "type": "string"
  14051. },
  14052. "contracctstatus": {
  14053. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14054. "type": "integer"
  14055. },
  14056. "contractmargin": {
  14057. "description": "合同保证金",
  14058. "type": "number"
  14059. },
  14060. "contractno": {
  14061. "description": "现货合同编号",
  14062. "type": "string"
  14063. },
  14064. "contracttype": {
  14065. "description": "现货合同类型 - 1:采购 -1:销售",
  14066. "type": "integer"
  14067. },
  14068. "convertfactor": {
  14069. "description": "标仓系数(品类)",
  14070. "type": "number"
  14071. },
  14072. "createtime": {
  14073. "description": "创建时间",
  14074. "type": "string"
  14075. },
  14076. "currencyid": {
  14077. "description": "币种id",
  14078. "type": "integer"
  14079. },
  14080. "currencyname": {
  14081. "description": "币种名称",
  14082. "type": "string"
  14083. },
  14084. "deliveryenddate": {
  14085. "description": "交收期(结束)",
  14086. "type": "string"
  14087. },
  14088. "deliverygoodscode": {
  14089. "description": "现货品种代码",
  14090. "type": "string"
  14091. },
  14092. "deliverygoodsid": {
  14093. "description": "现货品种ID",
  14094. "type": "integer"
  14095. },
  14096. "deliverygoodsname": {
  14097. "description": "现货品种名称",
  14098. "type": "string"
  14099. },
  14100. "deliverystartdate": {
  14101. "description": "交收期(开始)",
  14102. "type": "string"
  14103. },
  14104. "enddate": {
  14105. "description": "点价结束日期 [2:点价 3:暂定价]",
  14106. "type": "string"
  14107. },
  14108. "enumdicname": {
  14109. "description": "单位名称",
  14110. "type": "string"
  14111. },
  14112. "goodscode": {
  14113. "description": "点价合约代码",
  14114. "type": "string"
  14115. },
  14116. "goodsid": {
  14117. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14118. "type": "integer"
  14119. },
  14120. "goodsname": {
  14121. "description": "点价商品名称",
  14122. "type": "string"
  14123. },
  14124. "margin": {
  14125. "description": "当前保证金",
  14126. "type": "number"
  14127. },
  14128. "meruserid": {
  14129. "description": "跟单员id",
  14130. "type": "integer"
  14131. },
  14132. "meruserlogincode": {
  14133. "description": "跟单员登录代码",
  14134. "type": "string"
  14135. },
  14136. "price": {
  14137. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14138. "type": "number"
  14139. },
  14140. "pricemove": {
  14141. "description": "升贴水 [2:点价 3:暂定价]",
  14142. "type": "number"
  14143. },
  14144. "pricetype": {
  14145. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14146. "type": "integer"
  14147. },
  14148. "producttype": {
  14149. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14150. "type": "integer"
  14151. },
  14152. "qty": {
  14153. "description": "数量",
  14154. "type": "number"
  14155. },
  14156. "remark": {
  14157. "description": "备注",
  14158. "type": "string"
  14159. },
  14160. "saleuserid": {
  14161. "description": "业务员id",
  14162. "type": "integer"
  14163. },
  14164. "saleuserlogincode": {
  14165. "description": "业务员登录代码",
  14166. "type": "string"
  14167. },
  14168. "sellnickname": {
  14169. "description": "采购方昵称",
  14170. "type": "string"
  14171. },
  14172. "selluserid": {
  14173. "description": "销售方ID",
  14174. "type": "integer"
  14175. },
  14176. "sellusername": {
  14177. "description": "销售方名称",
  14178. "type": "string"
  14179. },
  14180. "spotcontractid": {
  14181. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14182. "type": "string"
  14183. },
  14184. "spotgoodsbrandid": {
  14185. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14186. "type": "integer"
  14187. },
  14188. "spotgoodsdesc": {
  14189. "description": "商品型号",
  14190. "type": "string"
  14191. },
  14192. "startdate": {
  14193. "description": "点价开始日期 [2:点价 3:暂定价]",
  14194. "type": "string"
  14195. },
  14196. "tradeuserid": {
  14197. "description": "交易员id",
  14198. "type": "integer"
  14199. },
  14200. "tradeuserlogincode": {
  14201. "description": "交易员登录代码",
  14202. "type": "string"
  14203. },
  14204. "tradeusername": {
  14205. "description": "交易员名称",
  14206. "type": "string"
  14207. },
  14208. "unitid": {
  14209. "description": "单位id(取品类上的单位id)",
  14210. "type": "integer"
  14211. },
  14212. "updatetime": {
  14213. "description": "更新时间",
  14214. "type": "string"
  14215. },
  14216. "userid": {
  14217. "description": "所属机构ID",
  14218. "type": "integer"
  14219. },
  14220. "wrstandardcode": {
  14221. "description": "品类代码",
  14222. "type": "string"
  14223. },
  14224. "wrstandardid": {
  14225. "description": "品类ID",
  14226. "type": "integer"
  14227. },
  14228. "wrstandardname": {
  14229. "description": "品类名称",
  14230. "type": "string"
  14231. }
  14232. }
  14233. },
  14234. "models.Ermcp3ExposureDetail": {
  14235. "type": "object",
  14236. "properties": {
  14237. "areauserid": {
  14238. "description": "机构ID",
  14239. "type": "integer"
  14240. },
  14241. "changeQty": {
  14242. "description": "套保变动量",
  14243. "type": "number"
  14244. },
  14245. "contracttype": {
  14246. "description": "现货合同类型 - 1:采购 -1:销售",
  14247. "type": "integer"
  14248. },
  14249. "convertfactor": {
  14250. "description": "标仓系数",
  14251. "type": "number"
  14252. },
  14253. "convertratio": {
  14254. "description": "套保系数",
  14255. "type": "number"
  14256. },
  14257. "createtime": {
  14258. "description": "时间",
  14259. "type": "string"
  14260. },
  14261. "deliverygoodscode": {
  14262. "description": "现货品种代码",
  14263. "type": "string"
  14264. },
  14265. "deliverygoodsid": {
  14266. "description": "现货品种id",
  14267. "type": "integer"
  14268. },
  14269. "deliverygoodsname": {
  14270. "description": "现货品种名称",
  14271. "type": "string"
  14272. },
  14273. "enumdicname": {
  14274. "description": "现货商品单位名称",
  14275. "type": "string"
  14276. },
  14277. "logtype": {
  14278. "description": "类型 - 1:套保计划 2:现货合同",
  14279. "type": "integer"
  14280. },
  14281. "middlegoodsId": {
  14282. "description": "套保商品id",
  14283. "type": "integer"
  14284. },
  14285. "middlegoodscode": {
  14286. "description": "套保商品代码",
  14287. "type": "string"
  14288. },
  14289. "middlegoodsname": {
  14290. "description": "套保商品名称",
  14291. "type": "string"
  14292. },
  14293. "qty": {
  14294. "description": "数量",
  14295. "type": "number"
  14296. },
  14297. "relateNo": {
  14298. "description": "现货合同/套保计划编号",
  14299. "type": "string"
  14300. }
  14301. }
  14302. },
  14303. "models.Ermcp3Goods": {
  14304. "type": "object",
  14305. "properties": {
  14306. "agreeunit": {
  14307. "description": "合约单位(合约乘数)",
  14308. "type": "number"
  14309. },
  14310. "enumdicname": {
  14311. "description": "单位名称",
  14312. "type": "string"
  14313. },
  14314. "exexchangecode": {
  14315. "description": "交易所代码",
  14316. "type": "string"
  14317. },
  14318. "goodscode": {
  14319. "description": "期货商品代码",
  14320. "type": "string"
  14321. },
  14322. "goodsid": {
  14323. "description": "期货商品id",
  14324. "type": "integer"
  14325. },
  14326. "goodsname": {
  14327. "description": "期货商品名称",
  14328. "type": "string"
  14329. }
  14330. }
  14331. },
  14332. "models.Ermcp3GoodsGroup": {
  14333. "type": "object",
  14334. "required": [
  14335. "areauserid"
  14336. ],
  14337. "properties": {
  14338. "agreeunit": {
  14339. "description": "合约单位",
  14340. "type": "number"
  14341. },
  14342. "areauserid": {
  14343. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14344. "type": "integer"
  14345. },
  14346. "canshort": {
  14347. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14348. "type": "integer"
  14349. },
  14350. "closepricemode": {
  14351. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14352. "type": "integer"
  14353. },
  14354. "createtime": {
  14355. "description": "创建时间",
  14356. "type": "string"
  14357. },
  14358. "creatorid": {
  14359. "description": "创建人",
  14360. "type": "integer"
  14361. },
  14362. "currencyid": {
  14363. "description": "报价货币ID",
  14364. "type": "integer"
  14365. },
  14366. "decimalplace": {
  14367. "description": "报价小数位",
  14368. "type": "integer"
  14369. },
  14370. "enumdicname": {
  14371. "description": "单位名称",
  14372. "type": "string"
  14373. },
  14374. "excludecfg": {
  14375. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14376. "type": "integer"
  14377. },
  14378. "exexchangeid": {
  14379. "description": "外部交易所ID[通道交易]",
  14380. "type": "integer"
  14381. },
  14382. "goodsgroupid": {
  14383. "description": "商品组ID(自增ID)",
  14384. "type": "integer"
  14385. },
  14386. "goodsgroupname": {
  14387. "description": "商品组名称",
  14388. "type": "string"
  14389. },
  14390. "goodsgroupstatus": {
  14391. "description": "商品组状态 - 1:正常 2:注销",
  14392. "type": "integer"
  14393. },
  14394. "goodunitid": {
  14395. "description": "报价单位ID",
  14396. "type": "integer"
  14397. },
  14398. "groupcategroyid": {
  14399. "description": "品种分类ID",
  14400. "type": "integer"
  14401. },
  14402. "innerdealmode": {
  14403. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14404. "type": "integer"
  14405. },
  14406. "marketid": {
  14407. "description": "所属市场ID",
  14408. "type": "integer"
  14409. },
  14410. "modifierid": {
  14411. "description": "修改人",
  14412. "type": "integer"
  14413. },
  14414. "modifytime": {
  14415. "description": "修改时间",
  14416. "type": "string"
  14417. },
  14418. "outerdealmode": {
  14419. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14420. "type": "integer"
  14421. },
  14422. "outergroupcode": {
  14423. "description": "外部商品组代码[通道交易]",
  14424. "type": "string"
  14425. },
  14426. "quoteminunit": {
  14427. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14428. "type": "integer"
  14429. },
  14430. "quotesourcegroupid": {
  14431. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14432. "type": "integer"
  14433. },
  14434. "syncgoodsqty": {
  14435. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14436. "type": "integer"
  14437. }
  14438. }
  14439. },
  14440. "models.Ermcp3GoodsGroupEx": {
  14441. "type": "object",
  14442. "properties": {
  14443. "convertratio": {
  14444. "description": "折算系数(品种系数)",
  14445. "type": "number"
  14446. },
  14447. "enumdicname": {
  14448. "description": "单位名称",
  14449. "type": "string"
  14450. },
  14451. "exexchangecode": {
  14452. "description": "交易所代码",
  14453. "type": "string"
  14454. },
  14455. "glist": {
  14456. "description": "合约列表",
  14457. "type": "array",
  14458. "items": {
  14459. "$ref": "#/definitions/models.Ermcp3Goods"
  14460. }
  14461. },
  14462. "goodsgroupid": {
  14463. "description": "商品组id",
  14464. "type": "integer"
  14465. },
  14466. "goodsgroupname": {
  14467. "description": "商品组名称",
  14468. "type": "string"
  14469. },
  14470. "goodsunitid": {
  14471. "description": "单位id",
  14472. "type": "integer"
  14473. },
  14474. "middlegoodsid": {
  14475. "description": "套保商品id",
  14476. "type": "integer"
  14477. }
  14478. }
  14479. },
  14480. "models.Ermcp3HedgePlan": {
  14481. "type": "object",
  14482. "properties": {
  14483. "accountid": {
  14484. "description": "资金账号",
  14485. "type": "integer"
  14486. },
  14487. "areauserid": {
  14488. "description": "用户ID",
  14489. "type": "integer"
  14490. },
  14491. "audittime": {
  14492. "description": "审核时间",
  14493. "type": "string"
  14494. },
  14495. "contracttype": {
  14496. "description": "计划类型 - 1:采购 -1:销售",
  14497. "type": "integer"
  14498. },
  14499. "convertfactor": {
  14500. "description": "标仓系数",
  14501. "type": "number"
  14502. },
  14503. "createtime": {
  14504. "description": "创建时间",
  14505. "type": "string"
  14506. },
  14507. "currencyid": {
  14508. "description": "币种id",
  14509. "type": "integer"
  14510. },
  14511. "currencyname": {
  14512. "description": "币种名称",
  14513. "type": "string"
  14514. },
  14515. "deliverygoodscode": {
  14516. "description": "现货品种代码",
  14517. "type": "string"
  14518. },
  14519. "deliverygoodsid": {
  14520. "description": "现货品种ID",
  14521. "type": "integer"
  14522. },
  14523. "deliverygoodsname": {
  14524. "description": "现货品种名称",
  14525. "type": "string"
  14526. },
  14527. "enumdicname": {
  14528. "description": "单位名称(现货商品)",
  14529. "type": "string"
  14530. },
  14531. "hedgeplanid": {
  14532. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14533. "type": "string"
  14534. },
  14535. "hedgeplanno": {
  14536. "description": "套保计划编号(名称)",
  14537. "type": "string"
  14538. },
  14539. "hedgeplanstatus": {
  14540. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14541. "type": "integer"
  14542. },
  14543. "planqty": {
  14544. "description": "计划数量",
  14545. "type": "number"
  14546. },
  14547. "plantime": {
  14548. "description": "计划时间",
  14549. "type": "string"
  14550. },
  14551. "producttype": {
  14552. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14553. "type": "integer"
  14554. },
  14555. "remark": {
  14556. "description": "备注",
  14557. "type": "string"
  14558. },
  14559. "spotgoodsdesc": {
  14560. "description": "商品型号",
  14561. "type": "string"
  14562. },
  14563. "taaccountname": {
  14564. "description": "资金账号名称",
  14565. "type": "string"
  14566. },
  14567. "tradeuserid": {
  14568. "description": "交易用户id",
  14569. "type": "integer"
  14570. },
  14571. "tradeusername": {
  14572. "description": "交易用户名称",
  14573. "type": "string"
  14574. },
  14575. "unitid": {
  14576. "description": "单位id(现货商品)",
  14577. "type": "integer"
  14578. },
  14579. "updatetime": {
  14580. "description": "更新时间",
  14581. "type": "string"
  14582. },
  14583. "wrstandardcode": {
  14584. "description": "品类代码",
  14585. "type": "string"
  14586. },
  14587. "wrstandardid": {
  14588. "description": "品类id",
  14589. "type": "integer"
  14590. },
  14591. "wrstandardname": {
  14592. "description": "品类名称",
  14593. "type": "string"
  14594. },
  14595. "wrunitid": {
  14596. "description": "品类单位id",
  14597. "type": "integer"
  14598. },
  14599. "wrunitidame": {
  14600. "description": "品类单位名称",
  14601. "type": "string"
  14602. }
  14603. }
  14604. },
  14605. "models.Ermcp3MiddleGoodsDetail2": {
  14606. "type": "object",
  14607. "properties": {
  14608. "convertratio": {
  14609. "description": "套保系数(折算系数)",
  14610. "type": "number"
  14611. },
  14612. "gplist": {
  14613. "description": "关联商品组列表",
  14614. "type": "array",
  14615. "items": {
  14616. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14617. }
  14618. },
  14619. "mg": {
  14620. "description": "套保商品信息",
  14621. "type": "object",
  14622. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14623. }
  14624. }
  14625. },
  14626. "models.Ermcp3MiddleGoodsDetailEx": {
  14627. "type": "object",
  14628. "properties": {
  14629. "dglist": {
  14630. "description": "关联的现货品种列表",
  14631. "type": "array",
  14632. "items": {
  14633. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14634. }
  14635. },
  14636. "gplist": {
  14637. "description": "关联商品组列表",
  14638. "type": "array",
  14639. "items": {
  14640. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14641. }
  14642. },
  14643. "mg": {
  14644. "description": "套保商品信息",
  14645. "type": "object",
  14646. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14647. }
  14648. }
  14649. },
  14650. "models.Ermcp3ReckonAreaSpotSub": {
  14651. "type": "object",
  14652. "required": [
  14653. "areauserid",
  14654. "reckondate"
  14655. ],
  14656. "properties": {
  14657. "accountid": {
  14658. "description": "期货账户ID",
  14659. "type": "integer"
  14660. },
  14661. "accountname": {
  14662. "description": "所属机构名称",
  14663. "type": "string"
  14664. },
  14665. "areauserid": {
  14666. "description": "账户所属机构",
  14667. "type": "integer"
  14668. },
  14669. "biztype": {
  14670. "description": "业务类型 1-套保 2-套利",
  14671. "type": "integer"
  14672. },
  14673. "brandname": {
  14674. "description": "品牌名称",
  14675. "type": "string"
  14676. },
  14677. "buycontractinqty": {
  14678. "description": "采购合同入库量",
  14679. "type": "number"
  14680. },
  14681. "buypricedamount": {
  14682. "description": "采购合同已定价金额",
  14683. "type": "number"
  14684. },
  14685. "buypricedqty": {
  14686. "description": "采购合同已定价数量",
  14687. "type": "number"
  14688. },
  14689. "buyreckonqty": {
  14690. "description": "采购合同交收量",
  14691. "type": "number"
  14692. },
  14693. "currencyid": {
  14694. "description": "币种id",
  14695. "type": "integer"
  14696. },
  14697. "currencyname": {
  14698. "description": "币种名称",
  14699. "type": "string"
  14700. },
  14701. "deliverygoodscode": {
  14702. "description": "现货商品代码",
  14703. "type": "string"
  14704. },
  14705. "deliverygoodsid": {
  14706. "description": "现货品种ID",
  14707. "type": "integer"
  14708. },
  14709. "deliverygoodsname": {
  14710. "description": "现货商品名称",
  14711. "type": "string"
  14712. },
  14713. "enumdicname": {
  14714. "description": "现货商品单位名称",
  14715. "type": "string"
  14716. },
  14717. "goodsunitid": {
  14718. "description": "现货商品单位id",
  14719. "type": "integer"
  14720. },
  14721. "oribuycontractinqty": {
  14722. "description": "期初采购合同入库量",
  14723. "type": "number"
  14724. },
  14725. "oribuypricedamount": {
  14726. "description": "期初采购合同已定价金额",
  14727. "type": "number"
  14728. },
  14729. "oribuypricedqty": {
  14730. "description": "期初采购合同已定价数量",
  14731. "type": "number"
  14732. },
  14733. "oribuyreckonqty": {
  14734. "description": "期初采购合同交收量",
  14735. "type": "number"
  14736. },
  14737. "oriproduceinqty": {
  14738. "description": "期初生产入库量",
  14739. "type": "number"
  14740. },
  14741. "oriproduceoutqty": {
  14742. "description": "期初生产出库量",
  14743. "type": "number"
  14744. },
  14745. "orisellcontractoutqty": {
  14746. "description": "期初销售合同出库量",
  14747. "type": "number"
  14748. },
  14749. "orisellpricedamount": {
  14750. "description": "期初销售合同已定价金额",
  14751. "type": "number"
  14752. },
  14753. "orisellpricedqty": {
  14754. "description": "期初销售合同已定价数量",
  14755. "type": "number"
  14756. },
  14757. "orisellreckonqty": {
  14758. "description": "期初销售合同交收量",
  14759. "type": "number"
  14760. },
  14761. "produceinqty": {
  14762. "description": "生产入库量",
  14763. "type": "number"
  14764. },
  14765. "produceoutqty": {
  14766. "description": "生产出库量",
  14767. "type": "number"
  14768. },
  14769. "reckondate": {
  14770. "description": "日照时期(yyyyMMdd)",
  14771. "type": "string"
  14772. },
  14773. "sellcontractoutqty": {
  14774. "description": "销售合同出库量",
  14775. "type": "number"
  14776. },
  14777. "sellpricedamount": {
  14778. "description": "销售合同已定价金额",
  14779. "type": "number"
  14780. },
  14781. "sellpricedqty": {
  14782. "description": "销售合同已定价数量",
  14783. "type": "number"
  14784. },
  14785. "sellreckonqty": {
  14786. "description": "销售合同交收量",
  14787. "type": "number"
  14788. },
  14789. "spotgoodsbrandid": {
  14790. "description": "现货品牌ID",
  14791. "type": "integer"
  14792. },
  14793. "todaybuyreckonqty": {
  14794. "description": "今日采购合同已确定数量",
  14795. "type": "number"
  14796. },
  14797. "todaysellreckonqty": {
  14798. "description": "今日销售合同已确定数量",
  14799. "type": "number"
  14800. },
  14801. "totalbuypricedqty": {
  14802. "description": "采购定价量 = 期末 - 期初",
  14803. "type": "number"
  14804. },
  14805. "totalsellpricedqty": {
  14806. "description": "销售定价量 = 期末 - 期初",
  14807. "type": "number"
  14808. },
  14809. "totalspotqty": {
  14810. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  14811. "type": "number"
  14812. },
  14813. "updatetime": {
  14814. "description": "更新时间",
  14815. "type": "string"
  14816. },
  14817. "wrfactortypeid": {
  14818. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14819. "type": "integer"
  14820. },
  14821. "wrstandardcode": {
  14822. "description": "品类代码",
  14823. "type": "string"
  14824. },
  14825. "wrstandardid": {
  14826. "description": "现货品类ID",
  14827. "type": "integer"
  14828. },
  14829. "wrstandardname": {
  14830. "description": "品类名称",
  14831. "type": "string"
  14832. }
  14833. }
  14834. },
  14835. "models.Ermcp3ReportAreaSpotPL": {
  14836. "type": "object",
  14837. "properties": {
  14838. "actualpl": {
  14839. "description": "实际损益",
  14840. "type": "number"
  14841. },
  14842. "areauserid": {
  14843. "description": "所属机构",
  14844. "type": "integer"
  14845. },
  14846. "biztype": {
  14847. "description": "业务类型 1-套保 2-套利",
  14848. "type": "integer"
  14849. },
  14850. "brandname": {
  14851. "description": "品牌名称",
  14852. "type": "string"
  14853. },
  14854. "curamount": {
  14855. "description": "期末额",
  14856. "type": "number"
  14857. },
  14858. "curaverageprice": {
  14859. "description": "期末均价",
  14860. "type": "number"
  14861. },
  14862. "curbuyamount": {
  14863. "description": "期末采购总额(采购额)",
  14864. "type": "number"
  14865. },
  14866. "curbuyqty": {
  14867. "description": "期末采购总量",
  14868. "type": "number"
  14869. },
  14870. "curmarketvalue": {
  14871. "description": "参考市值",
  14872. "type": "number"
  14873. },
  14874. "curqty": {
  14875. "description": "期末量",
  14876. "type": "number"
  14877. },
  14878. "currencyid": {
  14879. "description": "币种id",
  14880. "type": "integer"
  14881. },
  14882. "currencyname": {
  14883. "description": "币种名称",
  14884. "type": "string"
  14885. },
  14886. "cursellamount": {
  14887. "description": "期末销售总额(销售额)",
  14888. "type": "number"
  14889. },
  14890. "cursellqty": {
  14891. "description": "期末销售总量",
  14892. "type": "number"
  14893. },
  14894. "curspotprice": {
  14895. "description": "参考市价",
  14896. "type": "number"
  14897. },
  14898. "deliverygoodscode": {
  14899. "description": "现货品种代码",
  14900. "type": "string"
  14901. },
  14902. "deliverygoodsid": {
  14903. "description": "现货品种id",
  14904. "type": "integer"
  14905. },
  14906. "deliverygoodsname": {
  14907. "description": "现货品种名称",
  14908. "type": "string"
  14909. },
  14910. "enumdicname": {
  14911. "description": "现货商品单位名称",
  14912. "type": "string"
  14913. },
  14914. "floatpl": {
  14915. "description": "浮动损益",
  14916. "type": "number"
  14917. },
  14918. "gbenumdicname": {
  14919. "description": "品类单位名称",
  14920. "type": "string"
  14921. },
  14922. "gbunitid": {
  14923. "description": "现货单位id",
  14924. "type": "integer"
  14925. },
  14926. "modelname": {
  14927. "description": "品类名称",
  14928. "type": "string"
  14929. },
  14930. "oriamount": {
  14931. "description": "期初额",
  14932. "type": "number"
  14933. },
  14934. "oriaverageprice": {
  14935. "description": "期初均价",
  14936. "type": "number"
  14937. },
  14938. "oribuyamount": {
  14939. "description": "期初采购总额",
  14940. "type": "number"
  14941. },
  14942. "oribuyqty": {
  14943. "description": "期初采购总量",
  14944. "type": "number"
  14945. },
  14946. "oriqty": {
  14947. "description": "期初量",
  14948. "type": "number"
  14949. },
  14950. "orisellamount": {
  14951. "description": "期初销售总额",
  14952. "type": "number"
  14953. },
  14954. "orisellqty": {
  14955. "description": "期初销售总量",
  14956. "type": "number"
  14957. },
  14958. "spotgoodsbrandid": {
  14959. "description": "现货品牌ID",
  14960. "type": "integer"
  14961. },
  14962. "todaybuyamount": {
  14963. "description": "今日采购额",
  14964. "type": "number"
  14965. },
  14966. "todaybuyaverageprice": {
  14967. "description": "今日采购均价(采购均价)",
  14968. "type": "number"
  14969. },
  14970. "todaybuyqty": {
  14971. "description": "今日采购量(采购增量)",
  14972. "type": "number"
  14973. },
  14974. "todaysellamount": {
  14975. "description": "今日销售额",
  14976. "type": "number"
  14977. },
  14978. "todaysellaverageprice": {
  14979. "description": "今日销售均价(销售均价)",
  14980. "type": "number"
  14981. },
  14982. "todaysellqty": {
  14983. "description": "今日销售量(销售增量)",
  14984. "type": "number"
  14985. },
  14986. "unitid": {
  14987. "description": "品类单位id",
  14988. "type": "integer"
  14989. },
  14990. "updatetime": {
  14991. "description": "更新时间",
  14992. "type": "string"
  14993. },
  14994. "wrstandardcode": {
  14995. "description": "品类代码",
  14996. "type": "string"
  14997. },
  14998. "wrstandardid": {
  14999. "description": "品类ID",
  15000. "type": "integer"
  15001. },
  15002. "wrstandardname": {
  15003. "description": "品类名称",
  15004. "type": "string"
  15005. }
  15006. }
  15007. },
  15008. "models.Ermcp3ReportAreaSpotSub": {
  15009. "type": "object",
  15010. "required": [
  15011. "areauserid"
  15012. ],
  15013. "properties": {
  15014. "accountid": {
  15015. "description": "期货账户ID",
  15016. "type": "integer"
  15017. },
  15018. "accountname": {
  15019. "description": "所属机构名称",
  15020. "type": "string"
  15021. },
  15022. "areauserid": {
  15023. "description": "账户所属机构",
  15024. "type": "integer"
  15025. },
  15026. "biztype": {
  15027. "description": "业务类型 1-套保 2-套利",
  15028. "type": "integer"
  15029. },
  15030. "brandname": {
  15031. "description": "品牌名称",
  15032. "type": "string"
  15033. },
  15034. "buycontractinqty": {
  15035. "description": "采购合同入库量【期末】",
  15036. "type": "number"
  15037. },
  15038. "buypricedamount": {
  15039. "description": "采购合同已定价金额【期末】",
  15040. "type": "number"
  15041. },
  15042. "buypricedqty": {
  15043. "description": "采购合同已定价数量【期末】",
  15044. "type": "number"
  15045. },
  15046. "buyreckonqty": {
  15047. "description": "采购合同交收量【期末】",
  15048. "type": "number"
  15049. },
  15050. "currencyid": {
  15051. "description": "币种id",
  15052. "type": "integer"
  15053. },
  15054. "currencyname": {
  15055. "description": "币种名称",
  15056. "type": "string"
  15057. },
  15058. "cycletime": {
  15059. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15060. "type": "string"
  15061. },
  15062. "cycletype": {
  15063. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15064. "type": "integer"
  15065. },
  15066. "deliverygoodscode": {
  15067. "description": "现货商品代码",
  15068. "type": "string"
  15069. },
  15070. "deliverygoodsid": {
  15071. "description": "现货品种ID",
  15072. "type": "integer"
  15073. },
  15074. "deliverygoodsname": {
  15075. "description": "现货商品名称",
  15076. "type": "string"
  15077. },
  15078. "enumdicname": {
  15079. "description": "现货商品单位名称",
  15080. "type": "string"
  15081. },
  15082. "goodsunitid": {
  15083. "description": "现货商品单位id",
  15084. "type": "integer"
  15085. },
  15086. "oribuycontractinqty": {
  15087. "description": "期初采购合同入库量【期初】",
  15088. "type": "number"
  15089. },
  15090. "oribuypricedamount": {
  15091. "description": "期初采购合同已定价金额【期初】",
  15092. "type": "number"
  15093. },
  15094. "oribuypricedqty": {
  15095. "description": "期初采购合同已定价数量【期初】",
  15096. "type": "number"
  15097. },
  15098. "oribuyreckonqty": {
  15099. "description": "期初采购合同交收量【期初】",
  15100. "type": "number"
  15101. },
  15102. "oriproduceinqty": {
  15103. "description": "期初生产入库量【期初】",
  15104. "type": "number"
  15105. },
  15106. "oriproduceoutqty": {
  15107. "description": "期初生产出库量【期初】",
  15108. "type": "number"
  15109. },
  15110. "orisellcontractoutqty": {
  15111. "description": "期初销售合同出库量【期初】",
  15112. "type": "number"
  15113. },
  15114. "orisellpricedamount": {
  15115. "description": "期初销售合同已定价金额【期初】",
  15116. "type": "number"
  15117. },
  15118. "orisellpricedqty": {
  15119. "description": "期初销售合同已定价数量【期初】",
  15120. "type": "number"
  15121. },
  15122. "orisellreckonqty": {
  15123. "description": "期初销售合同交收量【期初】",
  15124. "type": "number"
  15125. },
  15126. "produceinqty": {
  15127. "description": "生产入库量【期末】",
  15128. "type": "number"
  15129. },
  15130. "produceoutqty": {
  15131. "description": "生产出库量【期末】",
  15132. "type": "number"
  15133. },
  15134. "sellcontractoutqty": {
  15135. "description": "销售合同出库量【期末】",
  15136. "type": "number"
  15137. },
  15138. "sellpricedamount": {
  15139. "description": "销售合同已定价金额【期末】",
  15140. "type": "number"
  15141. },
  15142. "sellpricedqty": {
  15143. "description": "销售合同已定价数量【期末】",
  15144. "type": "number"
  15145. },
  15146. "sellreckonqty": {
  15147. "description": "销售合同交收量【期末】",
  15148. "type": "number"
  15149. },
  15150. "spotgoodsbrandid": {
  15151. "description": "现货品牌ID",
  15152. "type": "integer"
  15153. },
  15154. "todaybuyreckonqty": {
  15155. "description": "今日采购合同已确定数量【汇总】",
  15156. "type": "number"
  15157. },
  15158. "todaysellreckonqty": {
  15159. "description": "今日销售合同已确定数量【汇总】",
  15160. "type": "number"
  15161. },
  15162. "totalbuypricedqty": {
  15163. "description": "采购定价量 = 期末 - 期初",
  15164. "type": "number"
  15165. },
  15166. "totalsellpricedqty": {
  15167. "description": "销售定价量 = 期末 - 期初",
  15168. "type": "number"
  15169. },
  15170. "totalspotqty": {
  15171. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  15172. "type": "number"
  15173. },
  15174. "updatetime": {
  15175. "description": "更新时间",
  15176. "type": "string"
  15177. },
  15178. "wrfactortypeid": {
  15179. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15180. "type": "integer"
  15181. },
  15182. "wrstandardcode": {
  15183. "description": "品类代码",
  15184. "type": "string"
  15185. },
  15186. "wrstandardid": {
  15187. "description": "品类ID",
  15188. "type": "integer"
  15189. },
  15190. "wrstandardname": {
  15191. "description": "品类名称",
  15192. "type": "string"
  15193. }
  15194. }
  15195. },
  15196. "models.Ermcp3ReportOPLog": {
  15197. "type": "object",
  15198. "properties": {
  15199. "applyid": {
  15200. "description": "操作人",
  15201. "type": "integer"
  15202. },
  15203. "applyname": {
  15204. "description": "操作人名称",
  15205. "type": "string"
  15206. },
  15207. "biztype": {
  15208. "description": "业务类型 - 1:套保计划 2:现货合同",
  15209. "type": "integer"
  15210. },
  15211. "brandname": {
  15212. "description": "品牌名称",
  15213. "type": "string"
  15214. },
  15215. "contracttype": {
  15216. "description": "现货合同类型 - 1:采购 -1:销售",
  15217. "type": "integer"
  15218. },
  15219. "deliverygoodscode": {
  15220. "description": "现货品种代码",
  15221. "type": "string"
  15222. },
  15223. "deliverygoodsid": {
  15224. "description": "现货品种id",
  15225. "type": "integer"
  15226. },
  15227. "deliverygoodsname": {
  15228. "description": "现货品种名称",
  15229. "type": "string"
  15230. },
  15231. "enumdicName": {
  15232. "description": "单位名称",
  15233. "type": "string"
  15234. },
  15235. "logdatetime": {
  15236. "description": "流水日期(时间)",
  15237. "type": "string"
  15238. },
  15239. "logid": {
  15240. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  15241. "type": "string"
  15242. },
  15243. "logtypename": {
  15244. "description": "合同类型(名称)",
  15245. "type": "string"
  15246. },
  15247. "logvalue": {
  15248. "description": "数值",
  15249. "type": "string"
  15250. },
  15251. "operatelogtype": {
  15252. "description": "操作流水类型 -",
  15253. "type": "integer"
  15254. },
  15255. "optypename": {
  15256. "description": "流水类型名称",
  15257. "type": "string"
  15258. },
  15259. "relatedid": {
  15260. "description": "现货合同ID\\套保计划",
  15261. "type": "string"
  15262. },
  15263. "relatedno": {
  15264. "description": "合同编号",
  15265. "type": "string"
  15266. },
  15267. "spotgoodsbrandid": {
  15268. "description": "品牌id",
  15269. "type": "integer"
  15270. },
  15271. "tradedate": {
  15272. "description": "交易日(yyyyMMdd)",
  15273. "type": "string"
  15274. },
  15275. "userid": {
  15276. "description": "机构ID",
  15277. "type": "integer"
  15278. },
  15279. "wrstandardcode": {
  15280. "description": "品类代码",
  15281. "type": "string"
  15282. },
  15283. "wrstandardid": {
  15284. "description": "品类id",
  15285. "type": "integer"
  15286. },
  15287. "wrstandardname": {
  15288. "description": "品类名称",
  15289. "type": "string"
  15290. }
  15291. }
  15292. },
  15293. "models.Ermcp3SellBuyContract": {
  15294. "type": "object",
  15295. "properties": {
  15296. "accountname": {
  15297. "description": "账户名称",
  15298. "type": "string"
  15299. },
  15300. "attachment": {
  15301. "description": "附件",
  15302. "type": "string"
  15303. },
  15304. "audittime": {
  15305. "description": "审核时间",
  15306. "type": "string"
  15307. },
  15308. "brandname": {
  15309. "description": "品牌名称",
  15310. "type": "string"
  15311. },
  15312. "contracctstatus": {
  15313. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15314. "type": "integer"
  15315. },
  15316. "contractmargin": {
  15317. "description": "合同保证金",
  15318. "type": "number"
  15319. },
  15320. "contractno": {
  15321. "description": "合同编号",
  15322. "type": "string"
  15323. },
  15324. "contracttype": {
  15325. "description": "合同类型 1-采购, -1-销售",
  15326. "type": "integer"
  15327. },
  15328. "convertfactor": {
  15329. "description": "标仓系数(品类)",
  15330. "type": "number"
  15331. },
  15332. "createtime": {
  15333. "description": "创建时间",
  15334. "type": "string"
  15335. },
  15336. "daikaiamount": {
  15337. "description": "应收(开)票额",
  15338. "type": "number"
  15339. },
  15340. "deliveryenddate": {
  15341. "description": "交割结束日",
  15342. "type": "string"
  15343. },
  15344. "deliverygoodscode": {
  15345. "description": "现货品种代码",
  15346. "type": "string"
  15347. },
  15348. "deliverygoodsid": {
  15349. "description": "现货商品ID",
  15350. "type": "integer"
  15351. },
  15352. "deliverygoodsname": {
  15353. "description": "现货品种名称",
  15354. "type": "string"
  15355. },
  15356. "deliverystartdate": {
  15357. "description": "交割开始日",
  15358. "type": "string"
  15359. },
  15360. "enddate": {
  15361. "description": "点价结束日",
  15362. "type": "string"
  15363. },
  15364. "enumdicname": {
  15365. "description": "单位名称",
  15366. "type": "string"
  15367. },
  15368. "goodscode": {
  15369. "description": "点价商品代码",
  15370. "type": "string"
  15371. },
  15372. "goodsid": {
  15373. "description": "点价商品ID",
  15374. "type": "integer"
  15375. },
  15376. "goodsname": {
  15377. "description": "点价商品名称",
  15378. "type": "string"
  15379. },
  15380. "invoiceamount": {
  15381. "description": "已开票额",
  15382. "type": "number"
  15383. },
  15384. "loanamount": {
  15385. "description": "贷款总额=已定价额+调整金额",
  15386. "type": "number"
  15387. },
  15388. "margin": {
  15389. "description": "保证金",
  15390. "type": "number"
  15391. },
  15392. "nickname": {
  15393. "description": "账户昵称",
  15394. "type": "string"
  15395. },
  15396. "payamount": {
  15397. "description": "已收付额(收款或付款)",
  15398. "type": "number"
  15399. },
  15400. "preinvoiceamount": {
  15401. "description": "预收(开)票额",
  15402. "type": "number"
  15403. },
  15404. "prepayamount": {
  15405. "description": "预收付额",
  15406. "type": "number"
  15407. },
  15408. "price": {
  15409. "description": "价格",
  15410. "type": "number"
  15411. },
  15412. "pricedamount": {
  15413. "description": "已定价额",
  15414. "type": "number"
  15415. },
  15416. "pricedavg": {
  15417. "description": "已点均价",
  15418. "type": "number"
  15419. },
  15420. "pricedqty": {
  15421. "description": "已定价量",
  15422. "type": "number"
  15423. },
  15424. "pricemove": {
  15425. "description": "升贴水",
  15426. "type": "number"
  15427. },
  15428. "pricetype": {
  15429. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15430. "type": "integer"
  15431. },
  15432. "producttype": {
  15433. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15434. "type": "integer"
  15435. },
  15436. "qty": {
  15437. "description": "合同量",
  15438. "type": "number"
  15439. },
  15440. "reckonadjustamount": {
  15441. "description": "调整金额",
  15442. "type": "number"
  15443. },
  15444. "reckonedamount": {
  15445. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15446. "type": "number"
  15447. },
  15448. "reckonotheramount": {
  15449. "description": "其它费用",
  15450. "type": "number"
  15451. },
  15452. "reckonrealqty": {
  15453. "description": "已确定量",
  15454. "type": "number"
  15455. },
  15456. "remark": {
  15457. "description": "备注",
  15458. "type": "string"
  15459. },
  15460. "spotcontractid": {
  15461. "description": "合同ID",
  15462. "type": "string"
  15463. },
  15464. "spotgoodsbrandid": {
  15465. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15466. "type": "integer"
  15467. },
  15468. "spotgoodsdesc": {
  15469. "description": "商品型号(商品规格)",
  15470. "type": "string"
  15471. },
  15472. "startdate": {
  15473. "description": "点价开始日",
  15474. "type": "string"
  15475. },
  15476. "totalamount": {
  15477. "description": "合计总额",
  15478. "type": "number"
  15479. },
  15480. "unpayamount": {
  15481. "description": "应收付款额(应支付或应收款)",
  15482. "type": "number"
  15483. },
  15484. "unpricedqty": {
  15485. "description": "未定价量",
  15486. "type": "number"
  15487. },
  15488. "unsureqty": {
  15489. "description": "未确定量",
  15490. "type": "number"
  15491. },
  15492. "userid": {
  15493. "description": "机构ID",
  15494. "type": "integer"
  15495. },
  15496. "wrstandardcode": {
  15497. "description": "品类代码",
  15498. "type": "string"
  15499. },
  15500. "wrstandardid": {
  15501. "description": "品类ID",
  15502. "type": "integer"
  15503. },
  15504. "wrstandardname": {
  15505. "description": "品类名称",
  15506. "type": "string"
  15507. }
  15508. }
  15509. },
  15510. "models.Ermcp3SpotGoodsPrice": {
  15511. "type": "object",
  15512. "properties": {
  15513. "areauserid": {
  15514. "description": "所属机构id",
  15515. "type": "integer"
  15516. },
  15517. "brandname": {
  15518. "description": "品牌名称",
  15519. "type": "string"
  15520. },
  15521. "currencyid": {
  15522. "description": "报价货币ID",
  15523. "type": "integer"
  15524. },
  15525. "deliverygoodscode": {
  15526. "description": "现货商品代码",
  15527. "type": "string"
  15528. },
  15529. "deliverygoodsid": {
  15530. "description": "现货商品id",
  15531. "type": "integer"
  15532. },
  15533. "deliverygoodsname": {
  15534. "description": "现货商品名称",
  15535. "type": "string"
  15536. },
  15537. "enumdicname": {
  15538. "description": "现货商品单位名称",
  15539. "type": "string"
  15540. },
  15541. "gbenumdicname": {
  15542. "description": "品类单位名称",
  15543. "type": "string"
  15544. },
  15545. "gmunitid": {
  15546. "description": "品类单位id",
  15547. "type": "integer"
  15548. },
  15549. "isvalid": {
  15550. "description": "是否有效 - 0:无效 1:有效",
  15551. "type": "integer"
  15552. },
  15553. "operateid": {
  15554. "description": "最后操作人",
  15555. "type": "integer"
  15556. },
  15557. "operatesrc": {
  15558. "description": "最后操作来源 - 1:管理端 2:终端",
  15559. "type": "integer"
  15560. },
  15561. "operatetime": {
  15562. "description": "最后操作时间",
  15563. "type": "string"
  15564. },
  15565. "operatorname": {
  15566. "description": "操作人名称",
  15567. "type": "string"
  15568. },
  15569. "spotgoodsbrandid": {
  15570. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15571. "type": "integer"
  15572. },
  15573. "spotgoodsprice": {
  15574. "description": "现货价格",
  15575. "type": "number"
  15576. },
  15577. "tradedate": {
  15578. "description": "交易日(yyyyMMdd)",
  15579. "type": "string"
  15580. },
  15581. "unitid": {
  15582. "description": "现货商品单位id",
  15583. "type": "integer"
  15584. },
  15585. "wrstandardcode": {
  15586. "description": "品类代码",
  15587. "type": "string"
  15588. },
  15589. "wrstandardid": {
  15590. "description": "现货品类ID(通用则为0)",
  15591. "type": "integer"
  15592. },
  15593. "wrstandardname": {
  15594. "description": "品类名称",
  15595. "type": "string"
  15596. }
  15597. }
  15598. },
  15599. "models.Ermcp3SpotGoodsPriceLog": {
  15600. "type": "object",
  15601. "properties": {
  15602. "areauserid": {
  15603. "description": "所属机构id",
  15604. "type": "integer"
  15605. },
  15606. "brandname": {
  15607. "description": "品牌名称",
  15608. "type": "string"
  15609. },
  15610. "currencyid": {
  15611. "description": "报价货币ID",
  15612. "type": "integer"
  15613. },
  15614. "deliverygoodscode": {
  15615. "description": "现货商品代码",
  15616. "type": "string"
  15617. },
  15618. "deliverygoodsid": {
  15619. "description": "现货商品id",
  15620. "type": "integer"
  15621. },
  15622. "deliverygoodsname": {
  15623. "description": "现货商品名称",
  15624. "type": "string"
  15625. },
  15626. "enumdicname": {
  15627. "description": "现货商品单位名称",
  15628. "type": "string"
  15629. },
  15630. "gbenumdicname": {
  15631. "description": "品类单位名称",
  15632. "type": "string"
  15633. },
  15634. "gmunitid": {
  15635. "description": "品类单位id",
  15636. "type": "integer"
  15637. },
  15638. "logid": {
  15639. "description": "日志id",
  15640. "type": "integer"
  15641. },
  15642. "operateid": {
  15643. "description": "最后操作人",
  15644. "type": "integer"
  15645. },
  15646. "operatesrc": {
  15647. "description": "最后操作来源 - 1:管理端 2:终端",
  15648. "type": "integer"
  15649. },
  15650. "operatetime": {
  15651. "description": "最后操作时间",
  15652. "type": "string"
  15653. },
  15654. "operatorname": {
  15655. "description": "操作人名称",
  15656. "type": "string"
  15657. },
  15658. "spotgoodsbrandid": {
  15659. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15660. "type": "integer"
  15661. },
  15662. "spotgoodsprice": {
  15663. "description": "现货价格",
  15664. "type": "number"
  15665. },
  15666. "tradedate": {
  15667. "description": "交易日(yyyyMMdd)",
  15668. "type": "string"
  15669. },
  15670. "unitid": {
  15671. "description": "现货商品单位id",
  15672. "type": "integer"
  15673. },
  15674. "wrstandardcode": {
  15675. "description": "品类代码",
  15676. "type": "string"
  15677. },
  15678. "wrstandardid": {
  15679. "description": "现货品类ID(通用则为0)",
  15680. "type": "integer"
  15681. },
  15682. "wrstandardname": {
  15683. "description": "品类名称",
  15684. "type": "string"
  15685. }
  15686. }
  15687. },
  15688. "models.Ermcp3Wrstandard": {
  15689. "type": "object",
  15690. "properties": {
  15691. "areauserid": {
  15692. "description": "所属机构",
  15693. "type": "integer"
  15694. },
  15695. "convertfactor": {
  15696. "description": "标仓系数",
  15697. "type": "number"
  15698. },
  15699. "createtime": {
  15700. "description": "创建时间",
  15701. "type": "string"
  15702. },
  15703. "creatorid": {
  15704. "description": "创建人",
  15705. "type": "integer"
  15706. },
  15707. "deliverygoodsid": {
  15708. "description": "现货品种ID",
  15709. "type": "integer"
  15710. },
  15711. "enumdicname": {
  15712. "description": "品类单位名称",
  15713. "type": "string"
  15714. },
  15715. "isvalid": {
  15716. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15717. "type": "integer"
  15718. },
  15719. "minivalue": {
  15720. "description": "最小变动值",
  15721. "type": "integer"
  15722. },
  15723. "minivaluedp": {
  15724. "description": "最小变动值小数位",
  15725. "type": "integer"
  15726. },
  15727. "realminivalue": {
  15728. "description": "实际最小变动值",
  15729. "type": "integer"
  15730. },
  15731. "realminivaluedp": {
  15732. "description": "实际最小变动值小数位",
  15733. "type": "integer"
  15734. },
  15735. "remark": {
  15736. "description": "备注",
  15737. "type": "string"
  15738. },
  15739. "unitid": {
  15740. "description": "品类单位ID",
  15741. "type": "integer"
  15742. },
  15743. "updatetime": {
  15744. "description": "更新时间",
  15745. "type": "string"
  15746. },
  15747. "wrstandardcode": {
  15748. "description": "品类代码",
  15749. "type": "string"
  15750. },
  15751. "wrstandardid": {
  15752. "description": "品类ID(SEQ_WRSTANDARD)",
  15753. "type": "integer"
  15754. },
  15755. "wrstandardname": {
  15756. "description": "品类名称",
  15757. "type": "string"
  15758. }
  15759. }
  15760. },
  15761. "models.ErmcpAreaSpotDetailModel": {
  15762. "type": "object",
  15763. "properties": {
  15764. "contracttype": {
  15765. "description": "合同类型 1-采购 -1-销售",
  15766. "type": "integer"
  15767. },
  15768. "createtime": {
  15769. "description": "创建时间",
  15770. "type": "string"
  15771. },
  15772. "enumdicname": {
  15773. "description": "现货商品单位名称",
  15774. "type": "string"
  15775. },
  15776. "logtype": {
  15777. "description": "记录类型 1-套保 2-现货合同",
  15778. "type": "integer"
  15779. },
  15780. "qty": {
  15781. "description": "数量",
  15782. "type": "number"
  15783. },
  15784. "recordname": {
  15785. "description": "类型名称",
  15786. "type": "string"
  15787. },
  15788. "relatedid": {
  15789. "description": "套保计划ID/现货合同ID",
  15790. "type": "string"
  15791. },
  15792. "relatedno": {
  15793. "description": "编号",
  15794. "type": "string"
  15795. },
  15796. "strtime": {
  15797. "description": "时间",
  15798. "type": "string"
  15799. },
  15800. "wrstandardcode": {
  15801. "description": "现货商品代码",
  15802. "type": "string"
  15803. },
  15804. "wrstandardname": {
  15805. "description": "现货商品名称",
  15806. "type": "string"
  15807. }
  15808. }
  15809. },
  15810. "models.ErmcpAreaStock": {
  15811. "type": "object",
  15812. "properties": {
  15813. "brandname": {
  15814. "description": "品牌名称",
  15815. "type": "string"
  15816. },
  15817. "curstock": {
  15818. "description": "期末库存量(今日量)",
  15819. "type": "number"
  15820. },
  15821. "deliverygoodsid": {
  15822. "description": "现货品种ID",
  15823. "type": "integer"
  15824. },
  15825. "enumdicname": {
  15826. "description": "单位名称",
  15827. "type": "string"
  15828. },
  15829. "modelname": {
  15830. "description": "型号名称",
  15831. "type": "string"
  15832. },
  15833. "oristock": {
  15834. "description": "期初库存量(昨日量)",
  15835. "type": "number"
  15836. },
  15837. "spotgoodsbrandid": {
  15838. "description": "现货品牌ID",
  15839. "type": "integer"
  15840. },
  15841. "spotgoodsmodelid": {
  15842. "description": "现货型号ID",
  15843. "type": "integer"
  15844. },
  15845. "todaybuyinqty": {
  15846. "description": "今日采购入库量",
  15847. "type": "number"
  15848. },
  15849. "todayproduceinqty": {
  15850. "description": "今日生产入库量",
  15851. "type": "number"
  15852. },
  15853. "todayproduceoutqty": {
  15854. "description": "今日生产出库量",
  15855. "type": "number"
  15856. },
  15857. "todayselloutqty": {
  15858. "description": "今日销售出库量",
  15859. "type": "number"
  15860. },
  15861. "unitid": {
  15862. "description": "单位id",
  15863. "type": "integer"
  15864. },
  15865. "updatetime": {
  15866. "description": "更新时间",
  15867. "type": "string"
  15868. },
  15869. "userid": {
  15870. "description": "机构ID",
  15871. "type": "integer"
  15872. },
  15873. "username": {
  15874. "description": "机构名称",
  15875. "type": "string"
  15876. },
  15877. "warehousecode": {
  15878. "description": "仓库代码",
  15879. "type": "string"
  15880. },
  15881. "warehouseinfoid": {
  15882. "description": "仓库ID",
  15883. "type": "string"
  15884. },
  15885. "warehousename": {
  15886. "description": "仓库名称",
  15887. "type": "string"
  15888. },
  15889. "warehousetype": {
  15890. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15891. "type": "integer"
  15892. },
  15893. "wrstandardcode": {
  15894. "description": "现货商品代码",
  15895. "type": "string"
  15896. },
  15897. "wrstandardid": {
  15898. "description": "现货商品ID",
  15899. "type": "string"
  15900. },
  15901. "wrstandardname": {
  15902. "description": "现货商品名称",
  15903. "type": "string"
  15904. }
  15905. }
  15906. },
  15907. "models.ErmcpAreaStockApply": {
  15908. "type": "object",
  15909. "properties": {
  15910. "applyid": {
  15911. "description": "申请人",
  15912. "type": "integer"
  15913. },
  15914. "applyname": {
  15915. "description": "申请人名称",
  15916. "type": "string"
  15917. },
  15918. "applyremark": {
  15919. "description": "申请备注",
  15920. "type": "string"
  15921. },
  15922. "applysrc": {
  15923. "description": "申请来源 - 1:管理端 2:终端",
  15924. "type": "integer"
  15925. },
  15926. "applystatus": {
  15927. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15928. "type": "integer"
  15929. },
  15930. "applytime": {
  15931. "description": "申请时间",
  15932. "type": "string"
  15933. },
  15934. "auditid": {
  15935. "description": "审核人",
  15936. "type": "integer"
  15937. },
  15938. "auditname": {
  15939. "description": "审核人名称",
  15940. "type": "string"
  15941. },
  15942. "auditremark": {
  15943. "description": "审核备注",
  15944. "type": "string"
  15945. },
  15946. "auditsrc": {
  15947. "description": "审核来源 - 1:管理端 2:终端",
  15948. "type": "integer"
  15949. },
  15950. "audittime": {
  15951. "description": "审核时间",
  15952. "type": "string"
  15953. },
  15954. "audittradedate": {
  15955. "description": "审核交易日(yyyyMMdd)",
  15956. "type": "string"
  15957. },
  15958. "brandname": {
  15959. "description": "品牌名称",
  15960. "type": "string"
  15961. },
  15962. "buyuserid": {
  15963. "description": "采购方userid",
  15964. "type": "integer"
  15965. },
  15966. "buyusername": {
  15967. "description": "采购方名称",
  15968. "type": "string"
  15969. },
  15970. "contractno": {
  15971. "description": "合同编号",
  15972. "type": "string"
  15973. },
  15974. "contractqty": {
  15975. "description": "合同量",
  15976. "type": "number"
  15977. },
  15978. "contracttype": {
  15979. "description": "现货合同类型 - 1:采购 -1:销售",
  15980. "type": "integer"
  15981. },
  15982. "deliverygoodsid": {
  15983. "description": "现货品种ID",
  15984. "type": "integer"
  15985. },
  15986. "enumdicname": {
  15987. "description": "现货商品单位名称",
  15988. "type": "string"
  15989. },
  15990. "inoutapplyid": {
  15991. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15992. "type": "string"
  15993. },
  15994. "inouttype": {
  15995. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15996. "type": "integer"
  15997. },
  15998. "modelname": {
  15999. "description": "型号名称",
  16000. "type": "string"
  16001. },
  16002. "pricetype": {
  16003. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16004. "type": "integer"
  16005. },
  16006. "qty": {
  16007. "description": "数量",
  16008. "type": "number"
  16009. },
  16010. "selluserid": {
  16011. "description": "销售方userid",
  16012. "type": "integer"
  16013. },
  16014. "sellusername": {
  16015. "description": "销售方名称",
  16016. "type": "string"
  16017. },
  16018. "spotcontractid": {
  16019. "description": "关联现货合同ID",
  16020. "type": "string"
  16021. },
  16022. "spotgoodsbrandid": {
  16023. "description": "现货品牌ID",
  16024. "type": "integer"
  16025. },
  16026. "spotgoodsmodelid": {
  16027. "description": "现货型号ID",
  16028. "type": "integer"
  16029. },
  16030. "unitid": {
  16031. "description": "单位id",
  16032. "type": "integer"
  16033. },
  16034. "userid": {
  16035. "description": "机构ID",
  16036. "type": "integer"
  16037. },
  16038. "warehousecode": {
  16039. "description": "仓库代码",
  16040. "type": "string"
  16041. },
  16042. "warehouseinfoid": {
  16043. "description": "现货仓库ID",
  16044. "type": "string"
  16045. },
  16046. "warehousename": {
  16047. "description": "仓库名称",
  16048. "type": "string"
  16049. },
  16050. "warehousetype": {
  16051. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16052. "type": "integer"
  16053. },
  16054. "wrstandardcode": {
  16055. "description": "现货商品代码",
  16056. "type": "string"
  16057. },
  16058. "wrstandardid": {
  16059. "description": "现货商品ID",
  16060. "type": "string"
  16061. },
  16062. "wrstandardname": {
  16063. "description": "现货商品名称",
  16064. "type": "string"
  16065. }
  16066. }
  16067. },
  16068. "models.ErmcpAreaStockApplySum": {
  16069. "type": "object",
  16070. "properties": {
  16071. "brandname": {
  16072. "description": "品牌名称",
  16073. "type": "string"
  16074. },
  16075. "inouttype": {
  16076. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  16077. "type": "integer"
  16078. },
  16079. "modelname": {
  16080. "description": "型号名称",
  16081. "type": "string"
  16082. },
  16083. "spotcontractid": {
  16084. "description": "关联现货合同ID",
  16085. "type": "string"
  16086. },
  16087. "spotgoodsbrandid": {
  16088. "description": "品牌id",
  16089. "type": "integer"
  16090. },
  16091. "spotgoodsmodelid": {
  16092. "description": "型号id",
  16093. "type": "integer"
  16094. },
  16095. "totalqty": {
  16096. "description": "总数量",
  16097. "type": "number"
  16098. }
  16099. }
  16100. },
  16101. "models.ErmcpAreaStockReport": {
  16102. "type": "object",
  16103. "properties": {
  16104. "brandname": {
  16105. "description": "品牌名称",
  16106. "type": "string"
  16107. },
  16108. "curstock": {
  16109. "description": "期末库存量",
  16110. "type": "number"
  16111. },
  16112. "deliverygoodsid": {
  16113. "description": "现货品种ID",
  16114. "type": "integer"
  16115. },
  16116. "enumdicname": {
  16117. "description": "单位名称",
  16118. "type": "string"
  16119. },
  16120. "modelname": {
  16121. "description": "型号名称",
  16122. "type": "string"
  16123. },
  16124. "oristock": {
  16125. "description": "期初库存量",
  16126. "type": "number"
  16127. },
  16128. "spotgoodsbrandid": {
  16129. "description": "现货品牌ID",
  16130. "type": "integer"
  16131. },
  16132. "spotgoodsmodelid": {
  16133. "description": "现货型号ID",
  16134. "type": "integer"
  16135. },
  16136. "todaybuyinqty": {
  16137. "description": "今日采购入库量",
  16138. "type": "number"
  16139. },
  16140. "todayproduceinqty": {
  16141. "description": "今日生产入库量",
  16142. "type": "number"
  16143. },
  16144. "todayproduceoutqty": {
  16145. "description": "今日生产出库量",
  16146. "type": "number"
  16147. },
  16148. "todayselloutqty": {
  16149. "description": "今日销售出库量",
  16150. "type": "number"
  16151. },
  16152. "unitid": {
  16153. "description": "单位id",
  16154. "type": "integer"
  16155. },
  16156. "updatetime": {
  16157. "description": "更新时间",
  16158. "type": "string"
  16159. },
  16160. "userid": {
  16161. "description": "机构ID",
  16162. "type": "integer"
  16163. },
  16164. "username": {
  16165. "description": "机构名称",
  16166. "type": "string"
  16167. },
  16168. "warehousecode": {
  16169. "description": "仓库代码",
  16170. "type": "string"
  16171. },
  16172. "warehouseinfoid": {
  16173. "description": "仓库ID",
  16174. "type": "string"
  16175. },
  16176. "warehousename": {
  16177. "description": "仓库名称",
  16178. "type": "string"
  16179. },
  16180. "warehousetype": {
  16181. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16182. "type": "integer"
  16183. },
  16184. "wrstandardcode": {
  16185. "description": "现货商品代码",
  16186. "type": "string"
  16187. },
  16188. "wrstandardid": {
  16189. "description": "现货商品ID",
  16190. "type": "string"
  16191. },
  16192. "wrstandardname": {
  16193. "description": "现货商品名称",
  16194. "type": "string"
  16195. }
  16196. }
  16197. },
  16198. "models.ErmcpAvalidGoodsGroupModel": {
  16199. "type": "object",
  16200. "properties": {
  16201. "goodsgroupid": {
  16202. "description": "期货品种id",
  16203. "type": "integer"
  16204. },
  16205. "goodsgroupname": {
  16206. "description": "期货品种名称",
  16207. "type": "string"
  16208. },
  16209. "goodunitid": {
  16210. "description": "品种单位id",
  16211. "type": "integer"
  16212. },
  16213. "goodunitname": {
  16214. "description": "品种单位名称",
  16215. "type": "string"
  16216. },
  16217. "outergroupcode": {
  16218. "description": "期货品种代码",
  16219. "type": "string"
  16220. }
  16221. }
  16222. },
  16223. "models.ErmcpBizGroupEx": {
  16224. "type": "object",
  16225. "properties": {
  16226. "acclist": {
  16227. "description": "账号列表",
  16228. "type": "array",
  16229. "items": {
  16230. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16231. }
  16232. },
  16233. "bizgroupid": {
  16234. "description": "业务分组id",
  16235. "type": "integer"
  16236. },
  16237. "biztype": {
  16238. "description": "业务类型 1-套保 2-套利",
  16239. "type": "integer"
  16240. },
  16241. "wrlist": {
  16242. "description": "现货商品表",
  16243. "type": "array",
  16244. "items": {
  16245. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16246. }
  16247. }
  16248. }
  16249. },
  16250. "models.ErmcpBizGroupSpotGoods": {
  16251. "type": "object",
  16252. "properties": {
  16253. "areauserid": {
  16254. "description": "所属机构id",
  16255. "type": "integer"
  16256. },
  16257. "bizgroupid": {
  16258. "description": "分组id",
  16259. "type": "integer"
  16260. },
  16261. "biztype": {
  16262. "description": "业务类型 1-套保 2-套利",
  16263. "type": "integer"
  16264. },
  16265. "deliverygoodscode": {
  16266. "description": "现货商品代码",
  16267. "type": "string"
  16268. },
  16269. "deliverygoodsid": {
  16270. "description": "现货商品id",
  16271. "type": "integer"
  16272. },
  16273. "deliverygoodsname": {
  16274. "description": "现货商品名称",
  16275. "type": "string"
  16276. },
  16277. "unitid": {
  16278. "description": "现货商品单位id",
  16279. "type": "integer"
  16280. }
  16281. }
  16282. },
  16283. "models.ErmcpBizGroupTaAccount": {
  16284. "type": "object",
  16285. "properties": {
  16286. "accountid": {
  16287. "description": "账号id",
  16288. "type": "integer"
  16289. },
  16290. "accountname": {
  16291. "description": "账号名称",
  16292. "type": "string"
  16293. },
  16294. "areauserid": {
  16295. "description": "所属机构id",
  16296. "type": "integer"
  16297. },
  16298. "bizgroupid": {
  16299. "description": "业务分组id",
  16300. "type": "integer"
  16301. },
  16302. "ismain": {
  16303. "description": "是否主账号 1-是 0-否",
  16304. "type": "integer"
  16305. }
  16306. }
  16307. },
  16308. "models.ErmcpDGFactoryItem": {
  16309. "type": "object",
  16310. "properties": {
  16311. "areauserid": {
  16312. "description": "用户id",
  16313. "type": "integer"
  16314. },
  16315. "deliverygoodsid": {
  16316. "description": "现货品种ID",
  16317. "type": "integer"
  16318. },
  16319. "dgfactoryitemid": {
  16320. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16321. "type": "integer"
  16322. },
  16323. "dgfactoryitemtypeid": {
  16324. "description": "要素项类型",
  16325. "type": "integer"
  16326. },
  16327. "dgfactoryitemvalue": {
  16328. "description": "要素项值(类型为仓库时填写仓库名称)",
  16329. "type": "string"
  16330. },
  16331. "isvalid": {
  16332. "description": "是否有效 - 0:无效 1:有效",
  16333. "type": "integer"
  16334. },
  16335. "orderindex": {
  16336. "description": "顺序",
  16337. "type": "integer"
  16338. },
  16339. "warehouseid": {
  16340. "description": "仓库ID(类型为仓库时填写)",
  16341. "type": "integer"
  16342. }
  16343. }
  16344. },
  16345. "models.ErmcpDeliveryGoods": {
  16346. "type": "object",
  16347. "properties": {
  16348. "agreeunit": {
  16349. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16350. "type": "integer"
  16351. },
  16352. "areauserid": {
  16353. "description": "所属机构",
  16354. "type": "integer"
  16355. },
  16356. "auditflag": {
  16357. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16358. "type": "integer"
  16359. },
  16360. "categoryid": {
  16361. "description": "类别ID(SEQ_WRCATEGORY)",
  16362. "type": "integer"
  16363. },
  16364. "deliverygoodscode": {
  16365. "description": "现货品种代码",
  16366. "type": "string"
  16367. },
  16368. "deliverygoodsid": {
  16369. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16370. "type": "integer"
  16371. },
  16372. "deliverygoodsname": {
  16373. "description": "现货品种名称",
  16374. "type": "string"
  16375. },
  16376. "deliverygoodstype": {
  16377. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16378. "type": "integer"
  16379. },
  16380. "dgstatus": {
  16381. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16382. "type": "integer"
  16383. },
  16384. "enumdicname": {
  16385. "description": "现货品种单位名称",
  16386. "type": "string"
  16387. },
  16388. "goodsunitid": {
  16389. "description": "现货品种单位ID",
  16390. "type": "integer"
  16391. },
  16392. "isvalid": {
  16393. "description": "是否有效 - 0:无效 1:有效",
  16394. "type": "integer"
  16395. },
  16396. "qtydecimalplace": {
  16397. "description": "成交量小数位",
  16398. "type": "integer"
  16399. },
  16400. "remark": {
  16401. "description": "备注",
  16402. "type": "string"
  16403. },
  16404. "standardqty": {
  16405. "description": "标准数量(库位数量) [标准品特有]",
  16406. "type": "integer"
  16407. },
  16408. "standardqtyrange": {
  16409. "description": "标准数量偏差范围 [标准品特有]",
  16410. "type": "integer"
  16411. }
  16412. }
  16413. },
  16414. "models.ErmcpDeliveryGoodsDetail2": {
  16415. "type": "object",
  16416. "properties": {
  16417. "convertratio": {
  16418. "description": "套保系数(折算系数)",
  16419. "type": "number"
  16420. },
  16421. "data": {
  16422. "description": "现货商品基本信息(交割品种)",
  16423. "type": "object",
  16424. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16425. },
  16426. "gblist": {
  16427. "description": "品牌列表",
  16428. "type": "array",
  16429. "items": {
  16430. "$ref": "#/definitions/models.Ermcp3Brand"
  16431. }
  16432. },
  16433. "gmlist": {
  16434. "description": "品类列表(仓单标准)",
  16435. "type": "array",
  16436. "items": {
  16437. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16438. }
  16439. }
  16440. }
  16441. },
  16442. "models.ErmcpDeliveryGoodsDetailEx": {
  16443. "type": "object",
  16444. "properties": {
  16445. "data": {
  16446. "description": "现货商品基本信息(交割品种)",
  16447. "type": "object",
  16448. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16449. },
  16450. "gblist": {
  16451. "description": "品牌列表",
  16452. "type": "array",
  16453. "items": {
  16454. "$ref": "#/definitions/models.Ermcp3Brand"
  16455. }
  16456. },
  16457. "gmlist": {
  16458. "description": "品类列表(仓单标准)",
  16459. "type": "array",
  16460. "items": {
  16461. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16462. }
  16463. },
  16464. "mgList": {
  16465. "description": "套保列表",
  16466. "type": "array",
  16467. "items": {
  16468. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16469. }
  16470. }
  16471. }
  16472. },
  16473. "models.ErmcpExposureDetailModel": {
  16474. "type": "object",
  16475. "properties": {
  16476. "areauserid": {
  16477. "description": "机构ID",
  16478. "type": "integer"
  16479. },
  16480. "changeQty": {
  16481. "description": "套保变动量",
  16482. "type": "number"
  16483. },
  16484. "contracttype": {
  16485. "description": "现货合同类型 - 1:采购 -1:销售",
  16486. "type": "integer"
  16487. },
  16488. "convertfactor": {
  16489. "description": "标仓系数",
  16490. "type": "number"
  16491. },
  16492. "convertratio": {
  16493. "description": "套保系数",
  16494. "type": "number"
  16495. },
  16496. "createtime": {
  16497. "description": "时间",
  16498. "type": "string"
  16499. },
  16500. "enumdicname": {
  16501. "description": "现货商品单位名称",
  16502. "type": "string"
  16503. },
  16504. "logtype": {
  16505. "description": "类型 - 1:套保计划 2:现货合同",
  16506. "type": "integer"
  16507. },
  16508. "middlegoodsId": {
  16509. "description": "套保商品id",
  16510. "type": "integer"
  16511. },
  16512. "middlegoodscode": {
  16513. "description": "套保商品代码",
  16514. "type": "string"
  16515. },
  16516. "middlegoodsname": {
  16517. "description": "套保商品名称",
  16518. "type": "string"
  16519. },
  16520. "qty": {
  16521. "description": "数量",
  16522. "type": "number"
  16523. },
  16524. "relateNo": {
  16525. "description": "现货合同/套保计划编号",
  16526. "type": "string"
  16527. },
  16528. "wrstandardcode": {
  16529. "description": "现货商品代码",
  16530. "type": "string"
  16531. },
  16532. "wrstandardid": {
  16533. "description": "现货商品ID",
  16534. "type": "integer"
  16535. },
  16536. "wrstandardname": {
  16537. "description": "现货商品名称",
  16538. "type": "string"
  16539. }
  16540. }
  16541. },
  16542. "models.ErmcpExposurePostion": {
  16543. "type": "object",
  16544. "properties": {
  16545. "agreeunit": {
  16546. "description": "合约单位",
  16547. "type": "string"
  16548. },
  16549. "areauserid": {
  16550. "description": "所属机构id",
  16551. "type": "integer"
  16552. },
  16553. "convertratio": {
  16554. "description": "期货品种系数(折算系数)",
  16555. "type": "number"
  16556. },
  16557. "curqty": {
  16558. "description": "当前持仓",
  16559. "type": "integer"
  16560. },
  16561. "diffhedgeqty": {
  16562. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16563. "type": "number"
  16564. },
  16565. "diffqty": {
  16566. "description": "持仓变动量=当前持仓-昨日持仓",
  16567. "type": "integer"
  16568. },
  16569. "goodscode": {
  16570. "description": "商品代码",
  16571. "type": "string"
  16572. },
  16573. "goodsid": {
  16574. "description": "商品id",
  16575. "type": "integer"
  16576. },
  16577. "goodsname": {
  16578. "description": "商品名称",
  16579. "type": "string"
  16580. },
  16581. "middlegoodsid": {
  16582. "description": "套保商品id",
  16583. "type": "integer"
  16584. },
  16585. "ydqty": {
  16586. "description": "昨日持仓",
  16587. "type": "integer"
  16588. }
  16589. }
  16590. },
  16591. "models.ErmcpFuturesCompany": {
  16592. "type": "object",
  16593. "properties": {
  16594. "brokerid": {
  16595. "description": "经纪公司代码",
  16596. "type": "string"
  16597. },
  16598. "channeladdress": {
  16599. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16600. "type": "string"
  16601. },
  16602. "channelid": {
  16603. "description": "对冲渠道ID",
  16604. "type": "string"
  16605. },
  16606. "createtime": {
  16607. "description": "创建时间",
  16608. "type": "string"
  16609. },
  16610. "creatorid": {
  16611. "description": "创建人",
  16612. "type": "string"
  16613. },
  16614. "fcid": {
  16615. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16616. "type": "integer"
  16617. },
  16618. "fcname": {
  16619. "description": "期货公司名称",
  16620. "type": "string"
  16621. },
  16622. "isvalid": {
  16623. "description": "是否有效 - 0:无效 1:有效",
  16624. "type": "integer"
  16625. },
  16626. "mhpaddress": {
  16627. "description": "MHP服务地址(IP:Port)",
  16628. "type": "string"
  16629. },
  16630. "riskrulegroupid": {
  16631. "description": "风控规则组ID",
  16632. "type": "string"
  16633. },
  16634. "tradefeetmpid": {
  16635. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16636. "type": "string"
  16637. },
  16638. "trademargintmpid": {
  16639. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16640. "type": "string"
  16641. },
  16642. "traderatetmpid": {
  16643. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16644. "type": "string"
  16645. },
  16646. "updatetime": {
  16647. "description": "更新时间",
  16648. "type": "string"
  16649. },
  16650. "updatorid": {
  16651. "description": "更新人",
  16652. "type": "string"
  16653. }
  16654. }
  16655. },
  16656. "models.ErmcpGGConvertCfg": {
  16657. "type": "object",
  16658. "properties": {
  16659. "convertratio": {
  16660. "description": "折算系数",
  16661. "type": "number"
  16662. },
  16663. "destgoodsgroupid": {
  16664. "description": "目标品种ID",
  16665. "type": "integer"
  16666. },
  16667. "dstcode": {
  16668. "description": "目录品种代码",
  16669. "type": "string"
  16670. },
  16671. "dstexchangecode": {
  16672. "description": "目标期货交易所",
  16673. "type": "string"
  16674. },
  16675. "dstname": {
  16676. "description": "目标品种名称",
  16677. "type": "string"
  16678. },
  16679. "dstunitid": {
  16680. "description": "目标品种单位ID",
  16681. "type": "integer"
  16682. },
  16683. "dstunitidname": {
  16684. "description": "目标品种单位名称",
  16685. "type": "string"
  16686. },
  16687. "modifytime": {
  16688. "description": "修改时间",
  16689. "type": "string"
  16690. },
  16691. "srccode": {
  16692. "description": "源品种代码",
  16693. "type": "string"
  16694. },
  16695. "srcexchangecode": {
  16696. "description": "源期货交易所",
  16697. "type": "string"
  16698. },
  16699. "srcgoodsgroupid": {
  16700. "description": "源品种ID",
  16701. "type": "integer"
  16702. },
  16703. "srcname": {
  16704. "description": "源品种名称",
  16705. "type": "string"
  16706. },
  16707. "srcunitid": {
  16708. "description": "源品种单位ID",
  16709. "type": "integer"
  16710. },
  16711. "srcunitidname": {
  16712. "description": "源品种单位名称",
  16713. "type": "string"
  16714. }
  16715. }
  16716. },
  16717. "models.ErmcpGoodsBrand": {
  16718. "type": "object",
  16719. "properties": {
  16720. "areauserid": {
  16721. "description": "所属机构",
  16722. "type": "integer"
  16723. },
  16724. "brandid": {
  16725. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16726. "type": "integer"
  16727. },
  16728. "brandname": {
  16729. "description": "品牌名称",
  16730. "type": "string"
  16731. },
  16732. "createtime": {
  16733. "description": "创建时间",
  16734. "type": "string"
  16735. },
  16736. "creatorid": {
  16737. "description": "创建人",
  16738. "type": "integer"
  16739. },
  16740. "creatorsrc": {
  16741. "description": "创建人来源 - 1:管理端 2:终端",
  16742. "type": "integer"
  16743. },
  16744. "deliverygoodsid": {
  16745. "description": "现货品种ID",
  16746. "type": "integer"
  16747. },
  16748. "isvalid": {
  16749. "description": "是否有效 - 0:无效 1:有效",
  16750. "type": "integer"
  16751. },
  16752. "updatetime": {
  16753. "description": "更新时间",
  16754. "type": "string"
  16755. },
  16756. "updatorid": {
  16757. "description": "更新人",
  16758. "type": "integer"
  16759. },
  16760. "updatorsrc": {
  16761. "description": "更新人来源 - 1:管理端 2:终端",
  16762. "type": "integer"
  16763. },
  16764. "wrstandardid": {
  16765. "description": "现货商品ID",
  16766. "type": "integer"
  16767. }
  16768. }
  16769. },
  16770. "models.ErmcpGoodsModel": {
  16771. "type": "object",
  16772. "properties": {
  16773. "areauserid": {
  16774. "description": "所属机构",
  16775. "type": "integer"
  16776. },
  16777. "convertfactor": {
  16778. "description": "标仓系数",
  16779. "type": "number"
  16780. },
  16781. "createtime": {
  16782. "description": "创建时间",
  16783. "type": "string"
  16784. },
  16785. "creatorid": {
  16786. "description": "创建人",
  16787. "type": "integer"
  16788. },
  16789. "creatorsrc": {
  16790. "description": "创建人来源 - 1:管理端 2:终端",
  16791. "type": "integer"
  16792. },
  16793. "deliverygoodsid": {
  16794. "description": "现货品种ID",
  16795. "type": "integer"
  16796. },
  16797. "isvalid": {
  16798. "description": "是否有效 - 0:无效 1:有效",
  16799. "type": "integer"
  16800. },
  16801. "modelid": {
  16802. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16803. "type": "integer"
  16804. },
  16805. "modelname": {
  16806. "description": "型号名称",
  16807. "type": "string"
  16808. },
  16809. "updatetime": {
  16810. "description": "更新时间",
  16811. "type": "string"
  16812. },
  16813. "updatorid": {
  16814. "description": "更新人",
  16815. "type": "integer"
  16816. },
  16817. "updatorsrc": {
  16818. "description": "更新人来源 - 1:管理端 2:终端",
  16819. "type": "integer"
  16820. },
  16821. "wrstandardid": {
  16822. "description": "现货商品ID",
  16823. "type": "integer"
  16824. }
  16825. }
  16826. },
  16827. "models.ErmcpHedgePlan": {
  16828. "type": "object",
  16829. "properties": {
  16830. "areauserid": {
  16831. "description": "用户ID",
  16832. "type": "integer"
  16833. },
  16834. "audittime": {
  16835. "description": "审核时间",
  16836. "type": "string"
  16837. },
  16838. "contracttype": {
  16839. "description": "计划类型 - 1:采购 -1:销售",
  16840. "type": "integer"
  16841. },
  16842. "convertfactor": {
  16843. "description": "标仓系数",
  16844. "type": "number"
  16845. },
  16846. "createtime": {
  16847. "description": "创建时间",
  16848. "type": "string"
  16849. },
  16850. "deliverygoodsid": {
  16851. "description": "现货品种ID",
  16852. "type": "integer"
  16853. },
  16854. "deliverygoodsname": {
  16855. "description": "现货品种名称",
  16856. "type": "string"
  16857. },
  16858. "enumdicname": {
  16859. "description": "单位名称",
  16860. "type": "string"
  16861. },
  16862. "hedgeplanid": {
  16863. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16864. "type": "string"
  16865. },
  16866. "hedgeplanno": {
  16867. "description": "套保计划编号(名称)",
  16868. "type": "string"
  16869. },
  16870. "hedgeplanstatus": {
  16871. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16872. "type": "integer"
  16873. },
  16874. "planqty": {
  16875. "description": "计划数量",
  16876. "type": "number"
  16877. },
  16878. "plantime": {
  16879. "description": "计划时间",
  16880. "type": "string"
  16881. },
  16882. "producttype": {
  16883. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16884. "type": "integer"
  16885. },
  16886. "remark": {
  16887. "description": "备注",
  16888. "type": "string"
  16889. },
  16890. "spotgoodsdesc": {
  16891. "description": "商品型号",
  16892. "type": "string"
  16893. },
  16894. "unitid": {
  16895. "description": "单位id",
  16896. "type": "integer"
  16897. },
  16898. "updatetime": {
  16899. "description": "更新时间",
  16900. "type": "string"
  16901. },
  16902. "wrstandardid": {
  16903. "description": "现货商品ID",
  16904. "type": "integer"
  16905. },
  16906. "wrstandardname": {
  16907. "description": "现货商品名称",
  16908. "type": "string"
  16909. }
  16910. }
  16911. },
  16912. "models.ErmcpHedgePosition": {
  16913. "type": "object",
  16914. "properties": {
  16915. "accountid": {
  16916. "description": "资金账号[外部母账户]",
  16917. "type": "integer"
  16918. },
  16919. "curbuyposition": {
  16920. "description": "期末买头寸",
  16921. "type": "integer"
  16922. },
  16923. "cursellposition": {
  16924. "description": "期末卖头寸",
  16925. "type": "integer"
  16926. },
  16927. "curtdbuyposition": {
  16928. "description": "期末今日买头寸",
  16929. "type": "integer"
  16930. },
  16931. "curtdsellposition": {
  16932. "description": "期末今日卖头寸",
  16933. "type": "integer"
  16934. },
  16935. "curydbuyposition": {
  16936. "description": "期末上日买头寸",
  16937. "type": "integer"
  16938. },
  16939. "curydsellposition": {
  16940. "description": "期末上日卖头寸",
  16941. "type": "integer"
  16942. },
  16943. "decreaseqty": {
  16944. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16945. "type": "integer"
  16946. },
  16947. "fretdbuyposition": {
  16948. "description": "冻结今日买头寸",
  16949. "type": "integer"
  16950. },
  16951. "fretdsellposition": {
  16952. "description": "冻结今日卖头寸",
  16953. "type": "integer"
  16954. },
  16955. "freydbuyposition": {
  16956. "description": "冻结上日买头寸",
  16957. "type": "integer"
  16958. },
  16959. "freydsellposition": {
  16960. "description": "冻结上日卖头寸",
  16961. "type": "integer"
  16962. },
  16963. "goodscode": {
  16964. "description": "商品代码",
  16965. "type": "string"
  16966. },
  16967. "goodsid": {
  16968. "description": "商品id",
  16969. "type": "integer"
  16970. },
  16971. "goodsname": {
  16972. "description": "商品名称",
  16973. "type": "string"
  16974. },
  16975. "hedgeaccountcode": {
  16976. "description": "对冲账号",
  16977. "type": "string"
  16978. },
  16979. "hedgegoodsid": {
  16980. "description": "对冲合约ID",
  16981. "type": "integer"
  16982. },
  16983. "increaseqty": {
  16984. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16985. "type": "integer"
  16986. },
  16987. "marketid": {
  16988. "description": "市场ID",
  16989. "type": "integer"
  16990. },
  16991. "relateduserid": {
  16992. "description": "关联用户id",
  16993. "type": "integer"
  16994. },
  16995. "totalcurqty": {
  16996. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16997. "type": "integer"
  16998. },
  16999. "totalydqty": {
  17000. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17001. "type": "integer"
  17002. },
  17003. "tradedate": {
  17004. "description": "交易日(yyyyMMdd)",
  17005. "type": "string"
  17006. },
  17007. "ydbuyposition": {
  17008. "description": "期初买头寸",
  17009. "type": "integer"
  17010. },
  17011. "ydsellposition": {
  17012. "description": "期初卖头寸",
  17013. "type": "integer"
  17014. }
  17015. }
  17016. },
  17017. "models.ErmcpHedgePositionDetail": {
  17018. "type": "object",
  17019. "properties": {
  17020. "buyorsell": {
  17021. "description": "买卖方向 0-买 1-卖",
  17022. "type": "integer"
  17023. },
  17024. "channelbuildtype": {
  17025. "description": "开平方向 1-建仓 2-平仓",
  17026. "type": "integer"
  17027. },
  17028. "goodscode": {
  17029. "description": "商品代码",
  17030. "type": "string"
  17031. },
  17032. "goodsname": {
  17033. "description": "商品名称",
  17034. "type": "string"
  17035. },
  17036. "hedgegoodsid": {
  17037. "description": "商品id",
  17038. "type": "integer"
  17039. },
  17040. "tradeqty": {
  17041. "description": "数量(成交数量)",
  17042. "type": "integer"
  17043. },
  17044. "tradetime": {
  17045. "description": "时间(成交时间)",
  17046. "type": "string"
  17047. }
  17048. }
  17049. },
  17050. "models.ErmcpHisExposure": {
  17051. "type": "object",
  17052. "properties": {
  17053. "needhedgeexposoure": {
  17054. "description": "应套保敞口",
  17055. "type": "number"
  17056. },
  17057. "reckondate": {
  17058. "description": "日照时期(yyyyMMdd)",
  17059. "type": "string"
  17060. },
  17061. "totalexposure": {
  17062. "description": "总敞口",
  17063. "type": "number"
  17064. }
  17065. }
  17066. },
  17067. "models.ErmcpHisExposureS": {
  17068. "type": "object",
  17069. "properties": {
  17070. "data": {
  17071. "description": "历史敞口",
  17072. "type": "array",
  17073. "items": {
  17074. "$ref": "#/definitions/models.ErmcpHisExposure"
  17075. }
  17076. },
  17077. "enumdicname": {
  17078. "description": "单位名称",
  17079. "type": "string"
  17080. },
  17081. "middlegoodscode": {
  17082. "description": "套保品种代码",
  17083. "type": "string"
  17084. },
  17085. "middlegoodsid": {
  17086. "description": "套保品种ID",
  17087. "type": "integer"
  17088. },
  17089. "middlegoodsname": {
  17090. "description": "套保品种名称",
  17091. "type": "string"
  17092. }
  17093. }
  17094. },
  17095. "models.ErmcpLoginTaAccount": {
  17096. "type": "object",
  17097. "properties": {
  17098. "accountid": {
  17099. "description": "账号id",
  17100. "type": "integer"
  17101. },
  17102. "accountname": {
  17103. "description": "账号名称",
  17104. "type": "string"
  17105. }
  17106. }
  17107. },
  17108. "models.ErmcpLoginUser": {
  17109. "type": "object",
  17110. "properties": {
  17111. "acclist": {
  17112. "description": "关联资金账号",
  17113. "type": "array",
  17114. "items": {
  17115. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17116. }
  17117. },
  17118. "accountname": {
  17119. "description": "用户名称",
  17120. "type": "string"
  17121. },
  17122. "clientroleid": {
  17123. "description": "角色id(usertype=2)",
  17124. "type": "integer"
  17125. },
  17126. "createtime": {
  17127. "description": "创建时间",
  17128. "type": "string"
  17129. },
  17130. "logincode": {
  17131. "description": "登录代码",
  17132. "type": "string"
  17133. },
  17134. "loginid": {
  17135. "description": "登录id(LOGINID)",
  17136. "type": "integer"
  17137. },
  17138. "loginname": {
  17139. "description": "登录名称(loginaccount表中的accountname字段)",
  17140. "type": "string"
  17141. },
  17142. "loginstatus": {
  17143. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17144. "type": "integer"
  17145. },
  17146. "memberuserid": {
  17147. "description": "所属会员id",
  17148. "type": "integer"
  17149. },
  17150. "mobile": {
  17151. "description": "手机号",
  17152. "type": "string"
  17153. },
  17154. "modifytime": {
  17155. "description": "修改时间",
  17156. "type": "string"
  17157. },
  17158. "password": {
  17159. "description": "密码(不可解密)",
  17160. "type": "string"
  17161. },
  17162. "rolename": {
  17163. "description": "角色名称",
  17164. "type": "string"
  17165. },
  17166. "rolestatus": {
  17167. "description": "角色状态 1-启用 2-停用",
  17168. "type": "integer"
  17169. },
  17170. "roletype": {
  17171. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17172. "type": "string"
  17173. },
  17174. "userid": {
  17175. "description": "用户id",
  17176. "type": "integer"
  17177. },
  17178. "usertype": {
  17179. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17180. "type": "integer"
  17181. }
  17182. }
  17183. },
  17184. "models.ErmcpLoginUserEx": {
  17185. "type": "object",
  17186. "properties": {
  17187. "accountstatus": {
  17188. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17189. "type": "integer"
  17190. },
  17191. "mobile": {
  17192. "description": "手机号",
  17193. "type": "string"
  17194. },
  17195. "querytype": {
  17196. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17197. "type": "integer"
  17198. },
  17199. "roleid": {
  17200. "description": "角色id(交易账户-\u003e用户id)",
  17201. "type": "integer"
  17202. },
  17203. "rolename": {
  17204. "description": "角色名称(交易账户-\u003e用户名称)",
  17205. "type": "string"
  17206. },
  17207. "userlist": {
  17208. "description": "用户列表",
  17209. "type": "array",
  17210. "items": {
  17211. "$ref": "#/definitions/models.ErmcpLoginUser"
  17212. }
  17213. },
  17214. "usertype": {
  17215. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17216. "type": "integer"
  17217. }
  17218. }
  17219. },
  17220. "models.ErmcpMiddleGoodsChangeLog": {
  17221. "type": "object",
  17222. "properties": {
  17223. "aftervalue": {
  17224. "description": "变更后",
  17225. "type": "number"
  17226. },
  17227. "applyid": {
  17228. "description": "操作人",
  17229. "type": "integer"
  17230. },
  17231. "applyname": {
  17232. "description": "操作人名称",
  17233. "type": "string"
  17234. },
  17235. "applysrc": {
  17236. "description": "操作来源 - 1:管理端 2:终端",
  17237. "type": "integer"
  17238. },
  17239. "beforevalue": {
  17240. "description": "变更前",
  17241. "type": "number"
  17242. },
  17243. "changelogtype": {
  17244. "description": "变更流水类型 - 1:套保比率变更",
  17245. "type": "integer"
  17246. },
  17247. "handlestatus": {
  17248. "description": "处理状态",
  17249. "type": "integer"
  17250. },
  17251. "logdatetime": {
  17252. "description": "流水日期",
  17253. "type": "string"
  17254. },
  17255. "logid": {
  17256. "description": "流水ID",
  17257. "type": "integer"
  17258. },
  17259. "logremark": {
  17260. "description": "流水备注",
  17261. "type": "string"
  17262. },
  17263. "middlegoodsid": {
  17264. "description": "套保品种ID",
  17265. "type": "integer"
  17266. },
  17267. "tradedate": {
  17268. "description": "交易日(yyyyMMdd)",
  17269. "type": "string"
  17270. },
  17271. "updatetime": {
  17272. "description": "更新时间",
  17273. "type": "string"
  17274. }
  17275. }
  17276. },
  17277. "models.ErmcpMiddleGoodsDetail": {
  17278. "type": "object",
  17279. "properties": {
  17280. "cvList": {
  17281. "description": "期货品种折算列表",
  17282. "type": "array",
  17283. "items": {
  17284. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17285. }
  17286. },
  17287. "mg": {
  17288. "description": "套保品种基本信息",
  17289. "type": "object",
  17290. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17291. },
  17292. "wrcList": {
  17293. "description": "现货品种列表(现货商品折算配置)",
  17294. "type": "array",
  17295. "items": {
  17296. "$ref": "#/definitions/models.WRSConverTDetail"
  17297. }
  17298. }
  17299. }
  17300. },
  17301. "models.ErmcpMiddleGoodsModel": {
  17302. "type": "object",
  17303. "properties": {
  17304. "areauserid": {
  17305. "description": "机构用户ID",
  17306. "type": "integer"
  17307. },
  17308. "createtime": {
  17309. "description": "修改时间",
  17310. "type": "string"
  17311. },
  17312. "enumdicname": {
  17313. "description": "单位名称",
  17314. "type": "string"
  17315. },
  17316. "evaluateratio": {
  17317. "description": "估价系数",
  17318. "type": "number"
  17319. },
  17320. "goodsgroupid": {
  17321. "description": "关联期货品种ID",
  17322. "type": "integer"
  17323. },
  17324. "goodsunitid": {
  17325. "description": "单位ID",
  17326. "type": "integer"
  17327. },
  17328. "isvalid": {
  17329. "description": "状态 0-无效(停用) 1-有效(正常)",
  17330. "type": "integer"
  17331. },
  17332. "middlegoodscode": {
  17333. "description": "套保品种代码",
  17334. "type": "string"
  17335. },
  17336. "middlegoodsid": {
  17337. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17338. "type": "integer"
  17339. },
  17340. "middlegoodsname": {
  17341. "description": "套保品种名称",
  17342. "type": "string"
  17343. },
  17344. "modifytime": {
  17345. "description": "修改时间",
  17346. "type": "string"
  17347. },
  17348. "needhedgeratio": {
  17349. "description": "套保比率",
  17350. "type": "number"
  17351. },
  17352. "qtydecimalplace": {
  17353. "description": "数量小数位",
  17354. "type": "integer"
  17355. },
  17356. "relatedgoodsid": {
  17357. "description": "关联交易商品ID",
  17358. "type": "integer"
  17359. },
  17360. "relatedgoodstype": {
  17361. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17362. "type": "integer"
  17363. },
  17364. "remark": {
  17365. "description": "备注",
  17366. "type": "string"
  17367. }
  17368. }
  17369. },
  17370. "models.ErmcpModel": {
  17371. "type": "object",
  17372. "properties": {
  17373. "accountname": {
  17374. "description": "账户名称",
  17375. "type": "string"
  17376. },
  17377. "attachment": {
  17378. "description": "附件",
  17379. "type": "string"
  17380. },
  17381. "audittime": {
  17382. "description": "审核时间",
  17383. "type": "string"
  17384. },
  17385. "brandname": {
  17386. "description": "品牌名称",
  17387. "type": "string"
  17388. },
  17389. "contracctstatus": {
  17390. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17391. "type": "integer"
  17392. },
  17393. "contractmargin": {
  17394. "description": "合同保证金",
  17395. "type": "number"
  17396. },
  17397. "contractno": {
  17398. "description": "合同编号",
  17399. "type": "string"
  17400. },
  17401. "contracttype": {
  17402. "description": "合同类型 1-采购, -1-销售",
  17403. "type": "integer"
  17404. },
  17405. "convertfactor": {
  17406. "description": "标仓系数",
  17407. "type": "number"
  17408. },
  17409. "createtime": {
  17410. "description": "创建时间",
  17411. "type": "string"
  17412. },
  17413. "daikaiamount": {
  17414. "description": "应收(开)票额",
  17415. "type": "number"
  17416. },
  17417. "deliveryenddate": {
  17418. "description": "交割结束日",
  17419. "type": "string"
  17420. },
  17421. "deliverygoodscode": {
  17422. "description": "现货品种代码",
  17423. "type": "string"
  17424. },
  17425. "deliverygoodsid": {
  17426. "description": "现货商品ID",
  17427. "type": "integer"
  17428. },
  17429. "deliverygoodsname": {
  17430. "description": "现货品种名称",
  17431. "type": "string"
  17432. },
  17433. "deliverystartdate": {
  17434. "description": "交割开始日",
  17435. "type": "string"
  17436. },
  17437. "enddate": {
  17438. "description": "点价结束日",
  17439. "type": "string"
  17440. },
  17441. "enumdicname": {
  17442. "description": "单位名称",
  17443. "type": "string"
  17444. },
  17445. "goodscode": {
  17446. "description": "点价商品代码",
  17447. "type": "string"
  17448. },
  17449. "goodsid": {
  17450. "description": "点价商品ID",
  17451. "type": "integer"
  17452. },
  17453. "goodsname": {
  17454. "description": "点价商品名称",
  17455. "type": "string"
  17456. },
  17457. "invoiceamount": {
  17458. "description": "已开票额",
  17459. "type": "number"
  17460. },
  17461. "loanamount": {
  17462. "description": "贷款总额=已定价额+调整金额",
  17463. "type": "number"
  17464. },
  17465. "margin": {
  17466. "description": "保证金",
  17467. "type": "number"
  17468. },
  17469. "modelname": {
  17470. "description": "型号名称",
  17471. "type": "string"
  17472. },
  17473. "payamount": {
  17474. "description": "已收付额(收款或付款)",
  17475. "type": "number"
  17476. },
  17477. "preinvoiceamount": {
  17478. "description": "预收(开)票额",
  17479. "type": "number"
  17480. },
  17481. "prepayamount": {
  17482. "description": "预收付额",
  17483. "type": "number"
  17484. },
  17485. "price": {
  17486. "description": "价格",
  17487. "type": "number"
  17488. },
  17489. "pricedamount": {
  17490. "description": "已定价额",
  17491. "type": "number"
  17492. },
  17493. "pricedavg": {
  17494. "description": "已点均价",
  17495. "type": "number"
  17496. },
  17497. "pricedqty": {
  17498. "description": "已定价量",
  17499. "type": "number"
  17500. },
  17501. "pricemove": {
  17502. "description": "升贴水",
  17503. "type": "number"
  17504. },
  17505. "pricetype": {
  17506. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17507. "type": "integer"
  17508. },
  17509. "producttype": {
  17510. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17511. "type": "integer"
  17512. },
  17513. "qty": {
  17514. "description": "合同量",
  17515. "type": "number"
  17516. },
  17517. "reckonadjustamount": {
  17518. "description": "调整金额",
  17519. "type": "number"
  17520. },
  17521. "reckonedamount": {
  17522. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17523. "type": "number"
  17524. },
  17525. "reckonotheramount": {
  17526. "description": "其它费用",
  17527. "type": "number"
  17528. },
  17529. "reckonrealqty": {
  17530. "description": "已确定量",
  17531. "type": "number"
  17532. },
  17533. "remark": {
  17534. "description": "备注",
  17535. "type": "string"
  17536. },
  17537. "spotcontractid": {
  17538. "description": "合同ID",
  17539. "type": "string"
  17540. },
  17541. "spotgoodsbrandid": {
  17542. "description": "现货品牌ID",
  17543. "type": "integer"
  17544. },
  17545. "spotgoodsdesc": {
  17546. "description": "商品型号(商品规格)",
  17547. "type": "string"
  17548. },
  17549. "spotgoodsmodelid": {
  17550. "description": "现货型号ID",
  17551. "type": "integer"
  17552. },
  17553. "startdate": {
  17554. "description": "点价开始日",
  17555. "type": "string"
  17556. },
  17557. "totalamount": {
  17558. "description": "合计总额",
  17559. "type": "number"
  17560. },
  17561. "unpayamount": {
  17562. "description": "应收付款额(应支付或应收款)",
  17563. "type": "number"
  17564. },
  17565. "unpricedqty": {
  17566. "description": "未定价量",
  17567. "type": "number"
  17568. },
  17569. "unsureqty": {
  17570. "description": "未确定量",
  17571. "type": "number"
  17572. },
  17573. "userid": {
  17574. "description": "用户ID",
  17575. "type": "integer"
  17576. },
  17577. "wrstandardcode": {
  17578. "description": "现货商品代码",
  17579. "type": "string"
  17580. },
  17581. "wrstandardid": {
  17582. "description": "现货商品ID",
  17583. "type": "integer"
  17584. },
  17585. "wrstandardname": {
  17586. "description": "现货商品名称",
  17587. "type": "string"
  17588. }
  17589. }
  17590. },
  17591. "models.ErmcpOPLogModel": {
  17592. "type": "object",
  17593. "properties": {
  17594. "aftervalue": {
  17595. "description": "变更后",
  17596. "type": "number"
  17597. },
  17598. "applyid": {
  17599. "description": "操作人ID",
  17600. "type": "string"
  17601. },
  17602. "applyname": {
  17603. "description": "操作人名称",
  17604. "type": "string"
  17605. },
  17606. "beforevalue": {
  17607. "description": "变更前",
  17608. "type": "number"
  17609. },
  17610. "biztype": {
  17611. "description": "业务类型 - 1:套保计划 2:现货合同",
  17612. "type": "integer"
  17613. },
  17614. "contracttype": {
  17615. "description": "现货合同类型 - 1:采购 -1:销售",
  17616. "type": "integer"
  17617. },
  17618. "logvalue": {
  17619. "description": "数值",
  17620. "type": "number"
  17621. },
  17622. "operatelogtype": {
  17623. "description": "操作流水类型",
  17624. "type": "integer"
  17625. },
  17626. "operatelogtypedesc": {
  17627. "description": "操作流水类型名称",
  17628. "type": "string"
  17629. },
  17630. "relatedid": {
  17631. "description": "现货合同ID\\套保计划",
  17632. "type": "string"
  17633. },
  17634. "updatetime": {
  17635. "description": "更新时间",
  17636. "type": "string"
  17637. }
  17638. }
  17639. },
  17640. "models.ErmcpPendingAudit": {
  17641. "type": "object",
  17642. "properties": {
  17643. "areastockqty": {
  17644. "description": "待审核数量: 库存申请",
  17645. "type": "integer"
  17646. },
  17647. "businessdjqty": {
  17648. "description": "待审核数量: 点价",
  17649. "type": "integer"
  17650. },
  17651. "businessfpqty": {
  17652. "description": "待审核数量: 发票",
  17653. "type": "integer"
  17654. },
  17655. "businessjsqty": {
  17656. "description": "待审核数量: 结算",
  17657. "type": "integer"
  17658. },
  17659. "businesskxqty": {
  17660. "description": "待审核数量: 款项",
  17661. "type": "integer"
  17662. },
  17663. "hedgeplanqty": {
  17664. "description": "待审核数量: 套保计划",
  17665. "type": "integer"
  17666. },
  17667. "spotcontractqty": {
  17668. "description": "待审核数量: 现货合同",
  17669. "type": "integer"
  17670. },
  17671. "userqty": {
  17672. "description": "待审核数量: 用户",
  17673. "type": "integer"
  17674. }
  17675. }
  17676. },
  17677. "models.ErmcpRealExposureModel": {
  17678. "type": "object",
  17679. "properties": {
  17680. "AreaUserID": {
  17681. "description": "所属机构",
  17682. "type": "integer"
  17683. },
  17684. "BuyFutureQty": {
  17685. "description": "买入期货数量",
  17686. "type": "number"
  17687. },
  17688. "BuyPlanQty": {
  17689. "description": "采购计划数量",
  17690. "type": "number"
  17691. },
  17692. "BuyPricedQty": {
  17693. "description": "采购合同已定价数量",
  17694. "type": "number"
  17695. },
  17696. "MiddleGoodsCode": {
  17697. "description": "套保品种代码",
  17698. "type": "string"
  17699. },
  17700. "MiddleGoodsHedgeRatio": {
  17701. "description": "应套保比例",
  17702. "type": "number"
  17703. },
  17704. "MiddleGoodsID": {
  17705. "description": "套保品种",
  17706. "type": "integer"
  17707. },
  17708. "MiddleGoodsName": {
  17709. "description": "套保品种名称",
  17710. "type": "string"
  17711. },
  17712. "NeedHedgeExposoure": {
  17713. "description": "应套保敞口",
  17714. "type": "number"
  17715. },
  17716. "NeedHedgeRatio": {
  17717. "description": "应套保敞口比例",
  17718. "type": "number"
  17719. },
  17720. "OriBuyFutureQty": {
  17721. "description": "期初买入期货数量",
  17722. "type": "number"
  17723. },
  17724. "OriBuyPlanQty": {
  17725. "description": "期初采购计划数量",
  17726. "type": "number"
  17727. },
  17728. "OriBuyPricedQty": {
  17729. "description": "期初采购合同已定价数量",
  17730. "type": "number"
  17731. },
  17732. "OriSellFutureQty": {
  17733. "description": "期初卖出期货数量",
  17734. "type": "number"
  17735. },
  17736. "OriSellPlanQty": {
  17737. "description": "期初销售计划数量",
  17738. "type": "number"
  17739. },
  17740. "OriSellPricedQty": {
  17741. "description": "期初销售合同已定价数量",
  17742. "type": "number"
  17743. },
  17744. "SellFutureQty": {
  17745. "description": "卖出期货数量",
  17746. "type": "number"
  17747. },
  17748. "SellPlanQty": {
  17749. "description": "销售计划数量",
  17750. "type": "number"
  17751. },
  17752. "SellPricedQty": {
  17753. "description": "销售合同已定价数量",
  17754. "type": "number"
  17755. },
  17756. "TotalExposure": {
  17757. "description": "总敞口",
  17758. "type": "number"
  17759. },
  17760. "TotalFutureQty": {
  17761. "description": "期货数量",
  17762. "type": "number"
  17763. },
  17764. "TotalHedgeRatio": {
  17765. "description": "敞口比例",
  17766. "type": "number"
  17767. },
  17768. "TotalNeedHedgeQty": {
  17769. "description": "期货应套保量",
  17770. "type": "number"
  17771. },
  17772. "TotalSpotQty": {
  17773. "description": "现货数量",
  17774. "type": "number"
  17775. },
  17776. "diffFutuQty": {
  17777. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17778. "type": "number"
  17779. },
  17780. "diffSpotQty": {
  17781. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17782. "type": "number"
  17783. },
  17784. "enumdicname": {
  17785. "description": "单位名称",
  17786. "type": "string"
  17787. },
  17788. "oriTotalFutuQty": {
  17789. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17790. "type": "number"
  17791. },
  17792. "oriTotalSpotQty": {
  17793. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17794. "type": "number"
  17795. }
  17796. }
  17797. },
  17798. "models.ErmcpReportAreaSpotPL": {
  17799. "type": "object",
  17800. "properties": {
  17801. "actualpl": {
  17802. "description": "实际损益",
  17803. "type": "number"
  17804. },
  17805. "areauserid": {
  17806. "description": "所属机构",
  17807. "type": "integer"
  17808. },
  17809. "brandname": {
  17810. "description": "品牌名称",
  17811. "type": "string"
  17812. },
  17813. "curamount": {
  17814. "description": "期末额",
  17815. "type": "number"
  17816. },
  17817. "curaverageprice": {
  17818. "description": "期末均价",
  17819. "type": "number"
  17820. },
  17821. "curbuyamount": {
  17822. "description": "期末采购总额(采购额)",
  17823. "type": "number"
  17824. },
  17825. "curbuyqty": {
  17826. "description": "期末采购总量",
  17827. "type": "number"
  17828. },
  17829. "curmarketvalue": {
  17830. "description": "参考市值",
  17831. "type": "number"
  17832. },
  17833. "curqty": {
  17834. "description": "期末量",
  17835. "type": "number"
  17836. },
  17837. "cursellamount": {
  17838. "description": "期末销售总额(销售额)",
  17839. "type": "number"
  17840. },
  17841. "cursellqty": {
  17842. "description": "期末销售总量",
  17843. "type": "number"
  17844. },
  17845. "curspotprice": {
  17846. "description": "参考市价",
  17847. "type": "number"
  17848. },
  17849. "enumdicname": {
  17850. "description": "现货商品单位名称",
  17851. "type": "string"
  17852. },
  17853. "floatpl": {
  17854. "description": "浮动损益",
  17855. "type": "number"
  17856. },
  17857. "gbenumdicname": {
  17858. "description": "品类单位名称",
  17859. "type": "string"
  17860. },
  17861. "gbunitid": {
  17862. "description": "品类单位id",
  17863. "type": "integer"
  17864. },
  17865. "modelname": {
  17866. "description": "品类名称",
  17867. "type": "string"
  17868. },
  17869. "oriamount": {
  17870. "description": "期初额",
  17871. "type": "number"
  17872. },
  17873. "oriaverageprice": {
  17874. "description": "期初均价",
  17875. "type": "number"
  17876. },
  17877. "oribuyamount": {
  17878. "description": "期初采购总额",
  17879. "type": "number"
  17880. },
  17881. "oribuyqty": {
  17882. "description": "期初采购总量",
  17883. "type": "number"
  17884. },
  17885. "oriqty": {
  17886. "description": "期初量",
  17887. "type": "number"
  17888. },
  17889. "orisellamount": {
  17890. "description": "期初销售总额",
  17891. "type": "number"
  17892. },
  17893. "orisellqty": {
  17894. "description": "期初销售总量",
  17895. "type": "number"
  17896. },
  17897. "spotgoodsbrandid": {
  17898. "description": "现货品牌ID",
  17899. "type": "integer"
  17900. },
  17901. "spotgoodsmodelid": {
  17902. "description": "现货品类ID",
  17903. "type": "integer"
  17904. },
  17905. "todaybuyamount": {
  17906. "description": "今日采购额",
  17907. "type": "number"
  17908. },
  17909. "todaybuyaverageprice": {
  17910. "description": "今日采购均价(采购均价)",
  17911. "type": "number"
  17912. },
  17913. "todaybuyqty": {
  17914. "description": "今日采购量(采购增量)",
  17915. "type": "number"
  17916. },
  17917. "todaysellamount": {
  17918. "description": "今日销售额",
  17919. "type": "number"
  17920. },
  17921. "todaysellaverageprice": {
  17922. "description": "今日销售均价(销售均价)",
  17923. "type": "number"
  17924. },
  17925. "todaysellqty": {
  17926. "description": "今日销售量(销售增量)",
  17927. "type": "number"
  17928. },
  17929. "unitid": {
  17930. "description": "现货商品单位id",
  17931. "type": "integer"
  17932. },
  17933. "updatetime": {
  17934. "description": "更新时间",
  17935. "type": "string"
  17936. },
  17937. "wrstandardcode": {
  17938. "description": "现货商品代码",
  17939. "type": "string"
  17940. },
  17941. "wrstandardid": {
  17942. "description": "现货商品ID",
  17943. "type": "integer"
  17944. },
  17945. "wrstandardname": {
  17946. "description": "现货商品名称",
  17947. "type": "string"
  17948. }
  17949. }
  17950. },
  17951. "models.ErmcpReportDayExposure": {
  17952. "type": "object",
  17953. "properties": {
  17954. "areauserid": {
  17955. "description": "所属机构",
  17956. "type": "integer"
  17957. },
  17958. "buyfutureqty": {
  17959. "description": "买入期货数量",
  17960. "type": "number"
  17961. },
  17962. "buyplanqty": {
  17963. "description": "采购计划数量",
  17964. "type": "number"
  17965. },
  17966. "buypricedqty": {
  17967. "description": "采购合同已定价数量",
  17968. "type": "number"
  17969. },
  17970. "diffFutuQty": {
  17971. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17972. "type": "number"
  17973. },
  17974. "diffSpotQty": {
  17975. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17976. "type": "number"
  17977. },
  17978. "enumdicname": {
  17979. "description": "单位名称",
  17980. "type": "string"
  17981. },
  17982. "middlegoodscode": {
  17983. "description": "套保品种代码",
  17984. "type": "string"
  17985. },
  17986. "middlegoodshedgeratio": {
  17987. "description": "应套保比例",
  17988. "type": "number"
  17989. },
  17990. "middlegoodsid": {
  17991. "description": "套保品种ID",
  17992. "type": "integer"
  17993. },
  17994. "middlegoodsname": {
  17995. "description": "套保品种名称",
  17996. "type": "string"
  17997. },
  17998. "needhedgeexposoure": {
  17999. "description": "应套保敞口",
  18000. "type": "number"
  18001. },
  18002. "needhedgeratio": {
  18003. "description": "应套保敞口比例",
  18004. "type": "number"
  18005. },
  18006. "oriTotalFutuQty": {
  18007. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18008. "type": "number"
  18009. },
  18010. "oriTotalSpotQty": {
  18011. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18012. "type": "number"
  18013. },
  18014. "oribuyfutureqty": {
  18015. "description": "期初买入期货数量",
  18016. "type": "number"
  18017. },
  18018. "oribuyplanqty": {
  18019. "description": "期初采购计划数量",
  18020. "type": "number"
  18021. },
  18022. "oribuypricedqty": {
  18023. "description": "期初采购合同已定价数量",
  18024. "type": "number"
  18025. },
  18026. "orisellfutureqty": {
  18027. "description": "期初卖出期货数量",
  18028. "type": "number"
  18029. },
  18030. "orisellplanqty": {
  18031. "description": "期初销售计划数量",
  18032. "type": "number"
  18033. },
  18034. "orisellpricedqty": {
  18035. "description": "期初销售合同已定价数量",
  18036. "type": "number"
  18037. },
  18038. "reckondate": {
  18039. "description": "日照时期(yyyyMMdd)",
  18040. "type": "string"
  18041. },
  18042. "sellfutureqty": {
  18043. "description": "卖出期货数量",
  18044. "type": "number"
  18045. },
  18046. "sellplanqty": {
  18047. "description": "销售计划数量",
  18048. "type": "number"
  18049. },
  18050. "sellpricedqty": {
  18051. "description": "销售合同已定价数量",
  18052. "type": "number"
  18053. },
  18054. "totalexposure": {
  18055. "description": "总敞口",
  18056. "type": "number"
  18057. },
  18058. "totalfutureqty": {
  18059. "description": "期货数量",
  18060. "type": "number"
  18061. },
  18062. "totalhedgeratio": {
  18063. "description": "敞口比例",
  18064. "type": "number"
  18065. },
  18066. "totalneedhedgeqty": {
  18067. "description": "期货应套保量",
  18068. "type": "number"
  18069. },
  18070. "totalspotqty": {
  18071. "description": "现货数量",
  18072. "type": "number"
  18073. }
  18074. }
  18075. },
  18076. "models.ErmcpReportDayFR": {
  18077. "type": "object",
  18078. "properties": {
  18079. "areauserid": {
  18080. "description": "所属机构",
  18081. "type": "integer"
  18082. },
  18083. "collectinvoiceamount": {
  18084. "description": "今日开票金额",
  18085. "type": "number"
  18086. },
  18087. "collectinvoicecount": {
  18088. "description": "今日开票笔数",
  18089. "type": "integer"
  18090. },
  18091. "collectmoneyamount": {
  18092. "description": "今日收款金额",
  18093. "type": "number"
  18094. },
  18095. "collectmoneycount": {
  18096. "description": "今日收款笔数",
  18097. "type": "integer"
  18098. },
  18099. "payinvoiceamount": {
  18100. "description": "今日收票金额",
  18101. "type": "number"
  18102. },
  18103. "payinvoicecount": {
  18104. "description": "今日收票笔数",
  18105. "type": "integer"
  18106. },
  18107. "paymoneyamount": {
  18108. "description": "今日付款金额",
  18109. "type": "number"
  18110. },
  18111. "paymoneycount": {
  18112. "description": "今日付款笔数",
  18113. "type": "integer"
  18114. },
  18115. "reckondate": {
  18116. "description": "日照时期(yyyyMMdd)",
  18117. "type": "string"
  18118. },
  18119. "updatetime": {
  18120. "description": "更新时间",
  18121. "type": "string"
  18122. }
  18123. }
  18124. },
  18125. "models.ErmcpReportDaySpot": {
  18126. "type": "object",
  18127. "properties": {
  18128. "areauserid": {
  18129. "description": "所属机构T",
  18130. "type": "integer"
  18131. },
  18132. "buyinqty": {
  18133. "description": "采购入库量",
  18134. "type": "number"
  18135. },
  18136. "enumdicname": {
  18137. "description": "现货商品单位名称",
  18138. "type": "string"
  18139. },
  18140. "reckondate": {
  18141. "description": "日照时期(yyyyMMdd)",
  18142. "type": "string"
  18143. },
  18144. "selloutqty": {
  18145. "description": "销售出库量",
  18146. "type": "number"
  18147. },
  18148. "todaybuyreckonqty": {
  18149. "description": "采购确定量",
  18150. "type": "number"
  18151. },
  18152. "todaysellreckonqty": {
  18153. "description": "销售确定量",
  18154. "type": "number"
  18155. },
  18156. "totalbuypricedqty": {
  18157. "description": "采购定价量 = 期末 - 期初",
  18158. "type": "number"
  18159. },
  18160. "totalsellpricedqty": {
  18161. "description": "销售定价量 = 期末 - 期初",
  18162. "type": "number"
  18163. },
  18164. "wrstandardcode": {
  18165. "description": "现货商品代码",
  18166. "type": "string"
  18167. },
  18168. "wrstandardid": {
  18169. "description": "现货商品ID",
  18170. "type": "integer"
  18171. },
  18172. "wrstandardname": {
  18173. "description": "现货商品名称",
  18174. "type": "string"
  18175. }
  18176. }
  18177. },
  18178. "models.ErmcpReportMonSpot": {
  18179. "type": "object",
  18180. "properties": {
  18181. "areauserid": {
  18182. "description": "所属机构T",
  18183. "type": "integer"
  18184. },
  18185. "buyinqty": {
  18186. "description": "采购入库量",
  18187. "type": "number"
  18188. },
  18189. "cycletime": {
  18190. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18191. "type": "string"
  18192. },
  18193. "cycletype": {
  18194. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18195. "type": "integer"
  18196. },
  18197. "enumdicname": {
  18198. "description": "现货商品单位名称",
  18199. "type": "string"
  18200. },
  18201. "selloutqty": {
  18202. "description": "销售出库量",
  18203. "type": "number"
  18204. },
  18205. "todaybuyreckonqty": {
  18206. "description": "采购确定量",
  18207. "type": "number"
  18208. },
  18209. "todaysellreckonqty": {
  18210. "description": "销售确定量",
  18211. "type": "number"
  18212. },
  18213. "totalbuypricedqty": {
  18214. "description": "采购定价量 = 期末 - 期初",
  18215. "type": "number"
  18216. },
  18217. "totalsellpricedqty": {
  18218. "description": "销售定价量 = 期末 - 期初",
  18219. "type": "number"
  18220. },
  18221. "wrstandardcode": {
  18222. "description": "现货商品代码",
  18223. "type": "string"
  18224. },
  18225. "wrstandardid": {
  18226. "description": "现货商品ID",
  18227. "type": "integer"
  18228. },
  18229. "wrstandardname": {
  18230. "description": "现货商品名称",
  18231. "type": "string"
  18232. }
  18233. }
  18234. },
  18235. "models.ErmcpReportMonthFR": {
  18236. "type": "object",
  18237. "properties": {
  18238. "areauserid": {
  18239. "description": "所属机构【原值】",
  18240. "type": "integer"
  18241. },
  18242. "collectinvoiceamount": {
  18243. "description": "今日开票金额【汇总】",
  18244. "type": "number"
  18245. },
  18246. "collectinvoicecount": {
  18247. "description": "今日开票笔数【汇总】",
  18248. "type": "integer"
  18249. },
  18250. "collectmoneyamount": {
  18251. "description": "今日收款金额【汇总】",
  18252. "type": "number"
  18253. },
  18254. "collectmoneycount": {
  18255. "description": "今日收款笔数 【汇总】",
  18256. "type": "integer"
  18257. },
  18258. "cycletime": {
  18259. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18260. "type": "string"
  18261. },
  18262. "cycletype": {
  18263. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18264. "type": "integer"
  18265. },
  18266. "dayFr": {
  18267. "description": "日报表明细",
  18268. "type": "array",
  18269. "items": {
  18270. "$ref": "#/definitions/models.ErmcpReportDayFR"
  18271. }
  18272. },
  18273. "payinvoiceamount": {
  18274. "description": "今日收票金额【汇总】",
  18275. "type": "number"
  18276. },
  18277. "payinvoicecount": {
  18278. "description": "今日收票笔数【汇总】",
  18279. "type": "integer"
  18280. },
  18281. "paymoneyamount": {
  18282. "description": "今日付款金额【汇总】",
  18283. "type": "number"
  18284. },
  18285. "paymoneycount": {
  18286. "description": "今日付款笔数【汇总】",
  18287. "type": "integer"
  18288. },
  18289. "updatetime": {
  18290. "description": "更新时间",
  18291. "type": "string"
  18292. }
  18293. }
  18294. },
  18295. "models.ErmcpReportOPLog": {
  18296. "type": "object",
  18297. "properties": {
  18298. "applyid": {
  18299. "description": "操作人",
  18300. "type": "integer"
  18301. },
  18302. "applyname": {
  18303. "description": "操作人名称",
  18304. "type": "string"
  18305. },
  18306. "biztype": {
  18307. "description": "业务类型 - 1:套保计划 2:现货合同",
  18308. "type": "integer"
  18309. },
  18310. "brandname": {
  18311. "description": "品牌名称",
  18312. "type": "string"
  18313. },
  18314. "contracttype": {
  18315. "description": "现货合同类型 - 1:采购 -1:销售",
  18316. "type": "integer"
  18317. },
  18318. "enumdicName": {
  18319. "description": "单位名称",
  18320. "type": "string"
  18321. },
  18322. "logdatetime": {
  18323. "description": "流水日期(时间)",
  18324. "type": "string"
  18325. },
  18326. "logid": {
  18327. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  18328. "type": "string"
  18329. },
  18330. "logtypename": {
  18331. "description": "合同类型(名称)",
  18332. "type": "string"
  18333. },
  18334. "logvalue": {
  18335. "description": "数值",
  18336. "type": "string"
  18337. },
  18338. "modelname": {
  18339. "description": "型号名称",
  18340. "type": "string"
  18341. },
  18342. "operatelogtype": {
  18343. "description": "操作流水类型 -",
  18344. "type": "integer"
  18345. },
  18346. "optypename": {
  18347. "description": "流水类型名称",
  18348. "type": "string"
  18349. },
  18350. "relatedid": {
  18351. "description": "现货合同ID\\套保计划",
  18352. "type": "string"
  18353. },
  18354. "relatedno": {
  18355. "description": "合同编号",
  18356. "type": "string"
  18357. },
  18358. "tradedate": {
  18359. "description": "交易日(yyyyMMdd)",
  18360. "type": "string"
  18361. },
  18362. "userid": {
  18363. "description": "机构ID",
  18364. "type": "integer"
  18365. },
  18366. "wrstandardcode": {
  18367. "description": "现货商品代码",
  18368. "type": "string"
  18369. },
  18370. "wrstandardid": {
  18371. "description": "现货商品ID",
  18372. "type": "integer"
  18373. },
  18374. "wrstandardname": {
  18375. "description": "现货商品名称",
  18376. "type": "string"
  18377. }
  18378. }
  18379. },
  18380. "models.ErmcpRole": {
  18381. "type": "object",
  18382. "properties": {
  18383. "areauserid": {
  18384. "description": "所属机构",
  18385. "type": "integer"
  18386. },
  18387. "autoid": {
  18388. "description": "角色ID(自增ID)",
  18389. "type": "integer"
  18390. },
  18391. "modifierid": {
  18392. "description": "修改人(创建人)",
  18393. "type": "integer"
  18394. },
  18395. "modifiername": {
  18396. "description": "修改人名称",
  18397. "type": "string"
  18398. },
  18399. "modifytime": {
  18400. "description": "修改时间(创建时间)",
  18401. "type": "string"
  18402. },
  18403. "rolename": {
  18404. "description": "角色名称",
  18405. "type": "string"
  18406. },
  18407. "rolestatus": {
  18408. "description": "角色状态 - 1:启用 2:停用",
  18409. "type": "integer"
  18410. },
  18411. "roletype": {
  18412. "description": "角色类型 - 1- 管理端 2- 交易端",
  18413. "type": "integer"
  18414. }
  18415. }
  18416. },
  18417. "models.ErmcpRoleMenu": {
  18418. "type": "object",
  18419. "properties": {
  18420. "iconame": {
  18421. "description": "菜单图标",
  18422. "type": "string"
  18423. },
  18424. "menutype": {
  18425. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18426. "type": "integer"
  18427. },
  18428. "parentcode": {
  18429. "description": "上级资源代码",
  18430. "type": "string"
  18431. },
  18432. "remark": {
  18433. "description": "菜单备注",
  18434. "type": "string"
  18435. },
  18436. "resourcecode": {
  18437. "description": "菜单代码",
  18438. "type": "string"
  18439. },
  18440. "resourcelevel": {
  18441. "description": "级别",
  18442. "type": "integer"
  18443. },
  18444. "resourcename": {
  18445. "description": "菜单名称",
  18446. "type": "string"
  18447. },
  18448. "roleid": {
  18449. "description": "角色id",
  18450. "type": "integer"
  18451. },
  18452. "sort": {
  18453. "description": "排序",
  18454. "type": "integer"
  18455. },
  18456. "url": {
  18457. "description": "URL",
  18458. "type": "string"
  18459. },
  18460. "userid": {
  18461. "description": "用户id",
  18462. "type": "integer"
  18463. }
  18464. }
  18465. },
  18466. "models.ErmcpRoleMenuEx": {
  18467. "type": "object",
  18468. "properties": {
  18469. "menu": {
  18470. "description": "父级菜单",
  18471. "type": "object",
  18472. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18473. },
  18474. "subMenu": {
  18475. "description": "子级菜单",
  18476. "type": "array",
  18477. "items": {
  18478. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18479. }
  18480. }
  18481. }
  18482. },
  18483. "models.ErmcpSpotContractModel": {
  18484. "type": "object",
  18485. "properties": {
  18486. "amount": {
  18487. "description": "金额 [1:一口价、3:暂定价]",
  18488. "type": "number"
  18489. },
  18490. "attachment": {
  18491. "description": "附件",
  18492. "type": "string"
  18493. },
  18494. "auditremark": {
  18495. "description": "审核意见",
  18496. "type": "string"
  18497. },
  18498. "audittime": {
  18499. "description": "审核时间",
  18500. "type": "string"
  18501. },
  18502. "brandname": {
  18503. "description": "品牌名称",
  18504. "type": "string"
  18505. },
  18506. "buyuserid": {
  18507. "description": "采购方ID",
  18508. "type": "integer"
  18509. },
  18510. "buyusername": {
  18511. "description": "采购方名称",
  18512. "type": "string"
  18513. },
  18514. "contracctstatus": {
  18515. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18516. "type": "integer"
  18517. },
  18518. "contractmargin": {
  18519. "description": "合同保证金",
  18520. "type": "number"
  18521. },
  18522. "contractno": {
  18523. "description": "现货合同编号",
  18524. "type": "string"
  18525. },
  18526. "contracttype": {
  18527. "description": "现货合同类型 - 1:采购 -1:销售",
  18528. "type": "integer"
  18529. },
  18530. "convertfactor": {
  18531. "description": "标仓系数",
  18532. "type": "number"
  18533. },
  18534. "createtime": {
  18535. "description": "创建时间",
  18536. "type": "string"
  18537. },
  18538. "deliveryenddate": {
  18539. "description": "交收期(结束)",
  18540. "type": "string"
  18541. },
  18542. "deliverygoodscode": {
  18543. "description": "现货品种代码",
  18544. "type": "string"
  18545. },
  18546. "deliverygoodsid": {
  18547. "description": "现货品种ID",
  18548. "type": "integer"
  18549. },
  18550. "deliverygoodsname": {
  18551. "description": "现货品种名称",
  18552. "type": "string"
  18553. },
  18554. "deliverystartdate": {
  18555. "description": "交收期(开始)",
  18556. "type": "string"
  18557. },
  18558. "enddate": {
  18559. "description": "点价结束日期 [2:点价 3:暂定价]",
  18560. "type": "string"
  18561. },
  18562. "enumdicname": {
  18563. "description": "单位名称",
  18564. "type": "string"
  18565. },
  18566. "goodscode": {
  18567. "description": "点价合约代码",
  18568. "type": "string"
  18569. },
  18570. "goodsid": {
  18571. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18572. "type": "integer"
  18573. },
  18574. "goodsname": {
  18575. "description": "点价商品名称",
  18576. "type": "string"
  18577. },
  18578. "margin": {
  18579. "description": "当前保证金",
  18580. "type": "number"
  18581. },
  18582. "modelname": {
  18583. "description": "型号名称",
  18584. "type": "string"
  18585. },
  18586. "price": {
  18587. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18588. "type": "number"
  18589. },
  18590. "pricemove": {
  18591. "description": "升贴水 [2:点价 3:暂定价]",
  18592. "type": "number"
  18593. },
  18594. "pricetype": {
  18595. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18596. "type": "integer"
  18597. },
  18598. "producttype": {
  18599. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18600. "type": "integer"
  18601. },
  18602. "qty": {
  18603. "description": "数量",
  18604. "type": "number"
  18605. },
  18606. "remark": {
  18607. "description": "备注",
  18608. "type": "string"
  18609. },
  18610. "selluserid": {
  18611. "description": "销售方ID",
  18612. "type": "integer"
  18613. },
  18614. "sellusername": {
  18615. "description": "销售方名称",
  18616. "type": "string"
  18617. },
  18618. "spotcontractid": {
  18619. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18620. "type": "string"
  18621. },
  18622. "spotgoodsbrandid": {
  18623. "description": "现货品牌ID",
  18624. "type": "integer"
  18625. },
  18626. "spotgoodsdesc": {
  18627. "description": "商品型号",
  18628. "type": "string"
  18629. },
  18630. "spotgoodsmodelid": {
  18631. "description": "现货型号ID",
  18632. "type": "integer"
  18633. },
  18634. "startdate": {
  18635. "description": "点价开始日期 [2:点价 3:暂定价]",
  18636. "type": "string"
  18637. },
  18638. "updatetime": {
  18639. "description": "更新时间",
  18640. "type": "string"
  18641. },
  18642. "userid": {
  18643. "description": "机构ID",
  18644. "type": "integer"
  18645. },
  18646. "wrstandardcode": {
  18647. "description": "现货商品代码",
  18648. "type": "string"
  18649. },
  18650. "wrstandardid": {
  18651. "description": "现货商品ID",
  18652. "type": "integer"
  18653. },
  18654. "wrstandardname": {
  18655. "description": "现货商品名称",
  18656. "type": "string"
  18657. }
  18658. }
  18659. },
  18660. "models.ErmcpSpotGoodsPrice": {
  18661. "type": "object",
  18662. "properties": {
  18663. "areauserid": {
  18664. "description": "所属机构id",
  18665. "type": "integer"
  18666. },
  18667. "brandname": {
  18668. "description": "品牌名称",
  18669. "type": "string"
  18670. },
  18671. "currencyid": {
  18672. "description": "报价货币ID",
  18673. "type": "integer"
  18674. },
  18675. "enumdicname": {
  18676. "description": "现货商品单位名称",
  18677. "type": "string"
  18678. },
  18679. "gbenumdicname": {
  18680. "description": "品类单位名称",
  18681. "type": "string"
  18682. },
  18683. "gmunitid": {
  18684. "description": "品类单位id",
  18685. "type": "integer"
  18686. },
  18687. "isvalid": {
  18688. "description": "是否有效 - 0:无效 1:有效",
  18689. "type": "integer"
  18690. },
  18691. "modelname": {
  18692. "description": "品类名称",
  18693. "type": "string"
  18694. },
  18695. "operateid": {
  18696. "description": "最后操作人",
  18697. "type": "integer"
  18698. },
  18699. "operatesrc": {
  18700. "description": "最后操作来源 - 1:管理端 2:终端",
  18701. "type": "integer"
  18702. },
  18703. "operatetime": {
  18704. "description": "最后操作时间",
  18705. "type": "string"
  18706. },
  18707. "operatorname": {
  18708. "description": "操作人名称",
  18709. "type": "string"
  18710. },
  18711. "spotgoodsbrandid": {
  18712. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18713. "type": "integer"
  18714. },
  18715. "spotgoodsmodelid": {
  18716. "description": "现货品类ID(通用则为0)",
  18717. "type": "integer"
  18718. },
  18719. "spotgoodsprice": {
  18720. "description": "现货价格",
  18721. "type": "number"
  18722. },
  18723. "tradedate": {
  18724. "description": "交易日(yyyyMMdd)",
  18725. "type": "string"
  18726. },
  18727. "unitid": {
  18728. "description": "现货商品单位id",
  18729. "type": "integer"
  18730. },
  18731. "wrstandardcode": {
  18732. "description": "现货商品代码",
  18733. "type": "string"
  18734. },
  18735. "wrstandardid": {
  18736. "description": "现货商品ID",
  18737. "type": "integer"
  18738. },
  18739. "wrstandardname": {
  18740. "description": "现货商品名称",
  18741. "type": "string"
  18742. }
  18743. }
  18744. },
  18745. "models.ErmcpSpotGoodsPriceLog": {
  18746. "type": "object",
  18747. "properties": {
  18748. "areauserid": {
  18749. "description": "所属机构id",
  18750. "type": "integer"
  18751. },
  18752. "brandname": {
  18753. "description": "品牌名称",
  18754. "type": "string"
  18755. },
  18756. "currencyid": {
  18757. "description": "报价货币ID",
  18758. "type": "integer"
  18759. },
  18760. "enumdicname": {
  18761. "description": "现货商品单位名称",
  18762. "type": "string"
  18763. },
  18764. "gbenumdicname": {
  18765. "description": "品类单位名称",
  18766. "type": "string"
  18767. },
  18768. "gmunitid": {
  18769. "description": "品类单位id",
  18770. "type": "integer"
  18771. },
  18772. "logid": {
  18773. "description": "日志id",
  18774. "type": "integer"
  18775. },
  18776. "modelname": {
  18777. "description": "品类名称",
  18778. "type": "string"
  18779. },
  18780. "operateid": {
  18781. "description": "最后操作人",
  18782. "type": "integer"
  18783. },
  18784. "operatesrc": {
  18785. "description": "最后操作来源 - 1:管理端 2:终端",
  18786. "type": "integer"
  18787. },
  18788. "operatetime": {
  18789. "description": "最后操作时间",
  18790. "type": "string"
  18791. },
  18792. "operatorname": {
  18793. "description": "操作人名称",
  18794. "type": "string"
  18795. },
  18796. "spotgoodsbrandid": {
  18797. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18798. "type": "integer"
  18799. },
  18800. "spotgoodsmodelid": {
  18801. "description": "现货品类ID(通用则为0)",
  18802. "type": "integer"
  18803. },
  18804. "spotgoodsprice": {
  18805. "description": "现货价格",
  18806. "type": "number"
  18807. },
  18808. "tradedate": {
  18809. "description": "交易日(yyyyMMdd)",
  18810. "type": "string"
  18811. },
  18812. "unitid": {
  18813. "description": "现货商品单位id",
  18814. "type": "integer"
  18815. },
  18816. "wrstandardcode": {
  18817. "description": "现货商品代码",
  18818. "type": "string"
  18819. },
  18820. "wrstandardid": {
  18821. "description": "现货商品ID",
  18822. "type": "integer"
  18823. },
  18824. "wrstandardname": {
  18825. "description": "现货商品名称",
  18826. "type": "string"
  18827. }
  18828. }
  18829. },
  18830. "models.ErmcpTaAccount": {
  18831. "type": "object",
  18832. "properties": {
  18833. "accountid": {
  18834. "description": "账户id",
  18835. "type": "integer"
  18836. },
  18837. "accountname": {
  18838. "description": "账户名称",
  18839. "type": "string"
  18840. },
  18841. "currencyid": {
  18842. "description": "币种id",
  18843. "type": "integer"
  18844. },
  18845. "hedgeaccountcode": {
  18846. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18847. "type": "string"
  18848. },
  18849. "ismain": {
  18850. "description": "是否主账户 0-否 1-是",
  18851. "type": "integer"
  18852. },
  18853. "parentaccountid": {
  18854. "description": "父账户id",
  18855. "type": "integer"
  18856. },
  18857. "relateduserid": {
  18858. "description": "关联userid",
  18859. "type": "integer"
  18860. },
  18861. "tradestatus": {
  18862. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18863. "type": "integer"
  18864. },
  18865. "userid": {
  18866. "description": "用户id",
  18867. "type": "integer"
  18868. }
  18869. }
  18870. },
  18871. "models.ErmcpTaAccountEx": {
  18872. "type": "object",
  18873. "properties": {
  18874. "mainAcc": {
  18875. "description": "主账号",
  18876. "type": "object",
  18877. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18878. },
  18879. "subacclist": {
  18880. "description": "子账号列表",
  18881. "type": "array",
  18882. "items": {
  18883. "$ref": "#/definitions/models.ErmcpTaAccount"
  18884. }
  18885. }
  18886. }
  18887. },
  18888. "models.ErmcpTaAccountInfo": {
  18889. "type": "object",
  18890. "properties": {
  18891. "accountid": {
  18892. "description": "资金账户ID",
  18893. "type": "integer"
  18894. },
  18895. "accountname": {
  18896. "description": "账户名称",
  18897. "type": "string"
  18898. },
  18899. "balance": {
  18900. "description": "期初余额",
  18901. "type": "number"
  18902. },
  18903. "capitalbalance": {
  18904. "description": "本金余额[外部子账户实际出入金余额]",
  18905. "type": "number"
  18906. },
  18907. "closepl": {
  18908. "description": "今日平仓盈亏",
  18909. "type": "number"
  18910. },
  18911. "creditdecrease": {
  18912. "description": "今日授信减少",
  18913. "type": "number"
  18914. },
  18915. "creditincrease": {
  18916. "description": "今日授信增加",
  18917. "type": "number"
  18918. },
  18919. "curdebt": {
  18920. "description": "期末欠款",
  18921. "type": "number"
  18922. },
  18923. "currencyid": {
  18924. "description": "货币ID",
  18925. "type": "integer"
  18926. },
  18927. "currentbalance": {
  18928. "description": "期末余额",
  18929. "type": "number"
  18930. },
  18931. "freezecharge": {
  18932. "description": "手续费冻结",
  18933. "type": "number"
  18934. },
  18935. "freezemargin": {
  18936. "description": "冻结保证金",
  18937. "type": "number"
  18938. },
  18939. "fromaccountid": {
  18940. "description": "所属上级账户",
  18941. "type": "integer"
  18942. },
  18943. "inamount": {
  18944. "description": "今日入金金额(包括三方入金)",
  18945. "type": "number"
  18946. },
  18947. "ismain": {
  18948. "description": "是否母账号 0:不是母账户 1:是母账户",
  18949. "type": "integer"
  18950. },
  18951. "mortgagecredit": {
  18952. "description": "授信金额",
  18953. "type": "number"
  18954. },
  18955. "oridebt": {
  18956. "description": "期初欠款",
  18957. "type": "number"
  18958. },
  18959. "orifreezecharge": {
  18960. "description": "期初手续费冻结",
  18961. "type": "number"
  18962. },
  18963. "orifreezemargin": {
  18964. "description": "期初冻结保证金",
  18965. "type": "number"
  18966. },
  18967. "orimortgagecredit": {
  18968. "description": "期初授信金额",
  18969. "type": "number"
  18970. },
  18971. "oriothercredit": {
  18972. "description": "期初其它授信金额",
  18973. "type": "number"
  18974. },
  18975. "oriotherfreezemargin": {
  18976. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18977. "type": "number"
  18978. },
  18979. "orioutamountfreeze": {
  18980. "description": "期初出金冻结",
  18981. "type": "number"
  18982. },
  18983. "oriusedmargin": {
  18984. "description": "期初占用保证金",
  18985. "type": "number"
  18986. },
  18987. "othercredit": {
  18988. "description": "其它授信金额",
  18989. "type": "number"
  18990. },
  18991. "othercreditdecrease": {
  18992. "description": "今日其它授信减少",
  18993. "type": "number"
  18994. },
  18995. "othercreditincrease": {
  18996. "description": "今日其它授信增加",
  18997. "type": "number"
  18998. },
  18999. "otherfreezemargin": {
  19000. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19001. "type": "number"
  19002. },
  19003. "outamount": {
  19004. "description": "今日出金金额(包括三方出金)",
  19005. "type": "number"
  19006. },
  19007. "outamountfreeze": {
  19008. "description": "出金冻结",
  19009. "type": "number"
  19010. },
  19011. "outthreshold": {
  19012. "description": "出金阈值",
  19013. "type": "number"
  19014. },
  19015. "parentaccountid": {
  19016. "description": "所属根账号",
  19017. "type": "integer"
  19018. },
  19019. "paycharge": {
  19020. "description": "今日手续费支出",
  19021. "type": "number"
  19022. },
  19023. "relateduserid": {
  19024. "description": "关联用户",
  19025. "type": "integer"
  19026. },
  19027. "signstatus": {
  19028. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19029. "type": "integer"
  19030. },
  19031. "sublevelpath": {
  19032. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19033. "type": "string"
  19034. },
  19035. "taaccounttype": {
  19036. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19037. "type": "integer"
  19038. },
  19039. "thirdinamount": {
  19040. "description": "今日三方入金",
  19041. "type": "number"
  19042. },
  19043. "thirdoutamount": {
  19044. "description": "今日三方出金",
  19045. "type": "number"
  19046. },
  19047. "tradestatus": {
  19048. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19049. "type": "integer"
  19050. },
  19051. "transferamount": {
  19052. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19053. "type": "number"
  19054. },
  19055. "usedmargin": {
  19056. "description": "占用保证金",
  19057. "type": "number"
  19058. },
  19059. "userid": {
  19060. "description": "用户ID",
  19061. "type": "integer"
  19062. }
  19063. }
  19064. },
  19065. "models.ErmcpTaAccountM": {
  19066. "type": "object",
  19067. "properties": {
  19068. "accountid": {
  19069. "description": "账户id",
  19070. "type": "integer"
  19071. },
  19072. "accountname": {
  19073. "description": "账户名称",
  19074. "type": "string"
  19075. },
  19076. "currencyid": {
  19077. "description": "币种id",
  19078. "type": "integer"
  19079. },
  19080. "fcid": {
  19081. "description": "期货公司id",
  19082. "type": "integer"
  19083. },
  19084. "fcname": {
  19085. "description": "期货公司代码",
  19086. "type": "string"
  19087. },
  19088. "hedgeaccountcode": {
  19089. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19090. "type": "string"
  19091. },
  19092. "ismain": {
  19093. "description": "是否主账户 0-否 1-是",
  19094. "type": "integer"
  19095. },
  19096. "parentaccountid": {
  19097. "description": "父账户id",
  19098. "type": "integer"
  19099. },
  19100. "relateduserid": {
  19101. "description": "关联userid",
  19102. "type": "integer"
  19103. },
  19104. "tradestatus": {
  19105. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19106. "type": "integer"
  19107. },
  19108. "userid": {
  19109. "description": "用户id",
  19110. "type": "integer"
  19111. }
  19112. }
  19113. },
  19114. "models.ErmcpTradeConfigTMP": {
  19115. "type": "object",
  19116. "properties": {
  19117. "areauserid": {
  19118. "description": "所属机构",
  19119. "type": "integer"
  19120. },
  19121. "basiccurrencyid": {
  19122. "description": "基本币种ID[汇率] - 目标币种",
  19123. "type": "integer"
  19124. },
  19125. "mainaccountid": {
  19126. "description": "主账户ID",
  19127. "type": "integer"
  19128. },
  19129. "modifierid": {
  19130. "description": "修改人",
  19131. "type": "integer"
  19132. },
  19133. "remark": {
  19134. "description": "备注",
  19135. "type": "string"
  19136. },
  19137. "tradeconfigtmpid": {
  19138. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19139. "type": "integer"
  19140. },
  19141. "tradeconfigtmpname": {
  19142. "description": "交易配置模板名称",
  19143. "type": "string"
  19144. },
  19145. "tradeconfigtmptype": {
  19146. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19147. "type": "integer"
  19148. },
  19149. "updatetime": {
  19150. "description": "更新时间",
  19151. "type": "string"
  19152. }
  19153. }
  19154. },
  19155. "models.ErmcpUserModel": {
  19156. "type": "object",
  19157. "properties": {
  19158. "address": {
  19159. "description": "通讯地址",
  19160. "type": "string"
  19161. },
  19162. "attachment1": {
  19163. "description": "附件1",
  19164. "type": "string"
  19165. },
  19166. "audittime": {
  19167. "description": "审核时间",
  19168. "type": "string"
  19169. },
  19170. "cardbackphotourl": {
  19171. "description": "证件反面图片地址",
  19172. "type": "string"
  19173. },
  19174. "cardfrontphotourl": {
  19175. "description": "证件正面图片地址",
  19176. "type": "string"
  19177. },
  19178. "cardnum": {
  19179. "description": "证件号码",
  19180. "type": "string"
  19181. },
  19182. "cardtype": {
  19183. "description": "证件类型",
  19184. "type": "integer"
  19185. },
  19186. "cardtypename": {
  19187. "description": "证件类型名称",
  19188. "type": "string"
  19189. },
  19190. "cityid": {
  19191. "description": "市",
  19192. "type": "integer"
  19193. },
  19194. "contactname": {
  19195. "description": "联系人",
  19196. "type": "string"
  19197. },
  19198. "countryid": {
  19199. "description": "国家",
  19200. "type": "integer"
  19201. },
  19202. "createtime": {
  19203. "description": "创建时间",
  19204. "type": "string"
  19205. },
  19206. "customername": {
  19207. "description": "企业名称",
  19208. "type": "string"
  19209. },
  19210. "districtid": {
  19211. "description": "区域",
  19212. "type": "integer"
  19213. },
  19214. "email": {
  19215. "description": "邮件",
  19216. "type": "string"
  19217. },
  19218. "legalpersonname": {
  19219. "description": "法人姓名(企业)",
  19220. "type": "string"
  19221. },
  19222. "memberuserid": {
  19223. "description": "所属机构ID",
  19224. "type": "integer"
  19225. },
  19226. "mobile": {
  19227. "description": "手机号码",
  19228. "type": "string"
  19229. },
  19230. "modifytime": {
  19231. "description": "修改时间",
  19232. "type": "string"
  19233. },
  19234. "nickname": {
  19235. "description": "昵称",
  19236. "type": "string"
  19237. },
  19238. "provinceid": {
  19239. "description": "省",
  19240. "type": "integer"
  19241. },
  19242. "remark": {
  19243. "description": "备注",
  19244. "type": "string"
  19245. },
  19246. "status": {
  19247. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19248. "type": "integer"
  19249. },
  19250. "statusdesc": {
  19251. "description": "账户状态中文描述",
  19252. "type": "string"
  19253. },
  19254. "taxpayernum": {
  19255. "description": "纳税人识别号",
  19256. "type": "string"
  19257. },
  19258. "telphone": {
  19259. "description": "联系电话",
  19260. "type": "string"
  19261. },
  19262. "userid": {
  19263. "description": "用户ID",
  19264. "type": "integer"
  19265. },
  19266. "userinfotype": {
  19267. "description": "客户类型",
  19268. "type": "string"
  19269. }
  19270. }
  19271. },
  19272. "models.ErmcpWareHouseInfo": {
  19273. "type": "object",
  19274. "properties": {
  19275. "address": {
  19276. "description": "详细地址",
  19277. "type": "string"
  19278. },
  19279. "areauserid": {
  19280. "description": "所属机构",
  19281. "type": "integer"
  19282. },
  19283. "autoid": {
  19284. "description": "自增ID(仓库ID)",
  19285. "type": "integer"
  19286. },
  19287. "cityid": {
  19288. "description": "市",
  19289. "type": "integer"
  19290. },
  19291. "contactname": {
  19292. "description": "联系人",
  19293. "type": "string"
  19294. },
  19295. "contactnum": {
  19296. "description": "联系电话",
  19297. "type": "string"
  19298. },
  19299. "countryid": {
  19300. "description": "国家",
  19301. "type": "integer"
  19302. },
  19303. "createtime": {
  19304. "description": "创建时间",
  19305. "type": "string"
  19306. },
  19307. "districtid": {
  19308. "description": "区",
  19309. "type": "integer"
  19310. },
  19311. "hasvideo": {
  19312. "description": "是否有视频 - 0:无 1:有",
  19313. "type": "integer"
  19314. },
  19315. "provinceid": {
  19316. "description": "省",
  19317. "type": "integer"
  19318. },
  19319. "remark": {
  19320. "description": "审核备注",
  19321. "type": "string"
  19322. },
  19323. "videourl": {
  19324. "description": "视频地址",
  19325. "type": "string"
  19326. },
  19327. "warehousecode": {
  19328. "description": "仓库代码",
  19329. "type": "string"
  19330. },
  19331. "warehousename": {
  19332. "description": "仓库名称",
  19333. "type": "string"
  19334. },
  19335. "warehousestatus": {
  19336. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19337. "type": "integer"
  19338. },
  19339. "warehousetype": {
  19340. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19341. "type": "integer"
  19342. }
  19343. }
  19344. },
  19345. "models.ErmcpWrstandDetail": {
  19346. "type": "object",
  19347. "properties": {
  19348. "gbList": {
  19349. "description": "品牌列表",
  19350. "type": "array",
  19351. "items": {
  19352. "$ref": "#/definitions/models.GoodsBrand"
  19353. }
  19354. },
  19355. "goodsList": {
  19356. "description": "关联交易商品列表",
  19357. "type": "array",
  19358. "items": {
  19359. "$ref": "#/definitions/models.RelatedGoodsEx"
  19360. }
  19361. },
  19362. "gtList": {
  19363. "description": "型号列表",
  19364. "type": "array",
  19365. "items": {
  19366. "$ref": "#/definitions/models.GoodsTypeModel"
  19367. }
  19368. },
  19369. "wrd": {
  19370. "description": "基本信息",
  19371. "type": "object",
  19372. "$ref": "#/definitions/models.ErmcpWrstandard"
  19373. },
  19374. "wrsList": {
  19375. "description": "套保信息列表",
  19376. "type": "array",
  19377. "items": {
  19378. "$ref": "#/definitions/models.WRSConverTDetail"
  19379. }
  19380. }
  19381. }
  19382. },
  19383. "models.ErmcpWrstandard": {
  19384. "type": "object",
  19385. "properties": {
  19386. "areauserid": {
  19387. "description": "所属机构",
  19388. "type": "integer"
  19389. },
  19390. "createtime": {
  19391. "description": "创建时间",
  19392. "type": "string"
  19393. },
  19394. "creatorid": {
  19395. "description": "创建人",
  19396. "type": "integer"
  19397. },
  19398. "deliverygoodsid": {
  19399. "description": "品种ID",
  19400. "type": "integer"
  19401. },
  19402. "enumdicname": {
  19403. "description": "单位名称",
  19404. "type": "string"
  19405. },
  19406. "isvalid": {
  19407. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19408. "type": "integer"
  19409. },
  19410. "minivalue": {
  19411. "description": "最小变动值",
  19412. "type": "integer"
  19413. },
  19414. "minivaluedp": {
  19415. "description": "最小变动值小数位",
  19416. "type": "integer"
  19417. },
  19418. "realminivalue": {
  19419. "description": "实际最小变动值",
  19420. "type": "integer"
  19421. },
  19422. "realminivaluedp": {
  19423. "description": "实际最小变动值小数位",
  19424. "type": "integer"
  19425. },
  19426. "remark": {
  19427. "description": "备注",
  19428. "type": "string"
  19429. },
  19430. "unitid": {
  19431. "description": "单位ID",
  19432. "type": "integer"
  19433. },
  19434. "updatetime": {
  19435. "description": "更新时间",
  19436. "type": "string"
  19437. },
  19438. "wrstandardcode": {
  19439. "description": "现货商品代码",
  19440. "type": "string"
  19441. },
  19442. "wrstandardid": {
  19443. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19444. "type": "integer"
  19445. },
  19446. "wrstandardname": {
  19447. "description": "现货商品名称",
  19448. "type": "string"
  19449. }
  19450. }
  19451. },
  19452. "models.Externalexchange": {
  19453. "type": "object",
  19454. "required": [
  19455. "autoid"
  19456. ],
  19457. "properties": {
  19458. "autoid": {
  19459. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19460. "type": "integer"
  19461. },
  19462. "exchangefullname": {
  19463. "description": "外部交易所全称",
  19464. "type": "string"
  19465. },
  19466. "exexchangecode": {
  19467. "description": "外部交易所代码",
  19468. "type": "string"
  19469. },
  19470. "exexchangename": {
  19471. "description": "外部交易所名称(简称)",
  19472. "type": "string"
  19473. },
  19474. "ismarketprice": {
  19475. "description": "是否支持市价 - 0:不支持 1:支持",
  19476. "type": "integer"
  19477. },
  19478. "quotegear": {
  19479. "description": "行情档位(1-10)",
  19480. "type": "integer"
  19481. },
  19482. "showbrokerflag": {
  19483. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19484. "type": "integer"
  19485. },
  19486. "updatetime": {
  19487. "description": "更新时间",
  19488. "type": "string"
  19489. }
  19490. }
  19491. },
  19492. "models.Funcmenulist": {
  19493. "type": "object",
  19494. "required": [
  19495. "resourcecode"
  19496. ],
  19497. "properties": {
  19498. "iconame": {
  19499. "description": "菜单图标",
  19500. "type": "string"
  19501. },
  19502. "menutype": {
  19503. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19504. "type": "integer"
  19505. },
  19506. "parentcode": {
  19507. "description": "上级资源代码",
  19508. "type": "string"
  19509. },
  19510. "remark": {
  19511. "description": "备注",
  19512. "type": "string"
  19513. },
  19514. "resourcecode": {
  19515. "description": "资源代码",
  19516. "type": "string"
  19517. },
  19518. "resourcelevel": {
  19519. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19520. "type": "integer"
  19521. },
  19522. "resourcename": {
  19523. "description": "资源名",
  19524. "type": "string"
  19525. },
  19526. "sort": {
  19527. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19528. "type": "integer"
  19529. },
  19530. "url": {
  19531. "description": "URL",
  19532. "type": "string"
  19533. }
  19534. }
  19535. },
  19536. "models.Goods": {
  19537. "type": "object",
  19538. "required": [
  19539. "goodscode",
  19540. "goodsid",
  19541. "goodsname",
  19542. "marketid"
  19543. ],
  19544. "properties": {
  19545. "agreeunit": {
  19546. "description": "合约单位",
  19547. "type": "number"
  19548. },
  19549. "auditaccountid": {
  19550. "description": "审核操作员账号",
  19551. "type": "integer"
  19552. },
  19553. "audittime": {
  19554. "description": "审核时间",
  19555. "type": "string"
  19556. },
  19557. "cancelaccountid": {
  19558. "description": "注销操作员账号",
  19559. "type": "integer"
  19560. },
  19561. "canceltime": {
  19562. "description": "注销时间",
  19563. "type": "string"
  19564. },
  19565. "closepricemode": {
  19566. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19567. "type": "integer"
  19568. },
  19569. "closepriceparam": {
  19570. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19571. "type": "number"
  19572. },
  19573. "createtime": {
  19574. "description": "创建时间",
  19575. "type": "string"
  19576. },
  19577. "creatorid": {
  19578. "description": "创建人",
  19579. "type": "integer"
  19580. },
  19581. "currencyid": {
  19582. "description": "报价货币ID",
  19583. "type": "integer"
  19584. },
  19585. "cutmode": {
  19586. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19587. "type": "integer"
  19588. },
  19589. "decimalplace": {
  19590. "description": "报价小数位",
  19591. "type": "integer"
  19592. },
  19593. "delistingdate": {
  19594. "description": "商品退市时间(状态:退市) -- 已作废",
  19595. "type": "string"
  19596. },
  19597. "delistingmode": {
  19598. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19599. "type": "integer"
  19600. },
  19601. "deliveryflag": {
  19602. "description": "交割标志 - 0:不可交割 1:可交割",
  19603. "type": "integer"
  19604. },
  19605. "forceclosemode": {
  19606. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19607. "type": "integer"
  19608. },
  19609. "forceclosevalue": {
  19610. "description": "定期强平参数 [收益权]",
  19611. "type": "integer"
  19612. },
  19613. "goodscode": {
  19614. "description": "商品代码(内部)",
  19615. "type": "string"
  19616. },
  19617. "goodscurrencyid": {
  19618. "description": "合约货币ID",
  19619. "type": "integer"
  19620. },
  19621. "goodsgroupid": {
  19622. "description": "所属商品组ID",
  19623. "type": "integer"
  19624. },
  19625. "goodsid": {
  19626. "description": "商品ID(自增ID SEQ_GOODS)",
  19627. "type": "integer"
  19628. },
  19629. "goodsname": {
  19630. "description": "商品名称",
  19631. "type": "string"
  19632. },
  19633. "goodsquotetype": {
  19634. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19635. "type": "integer"
  19636. },
  19637. "goodsstatus": {
  19638. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19639. "type": "integer"
  19640. },
  19641. "goodstradetype": {
  19642. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19643. "type": "integer"
  19644. },
  19645. "goodunitid": {
  19646. "description": "报价单位ID",
  19647. "type": "integer"
  19648. },
  19649. "hasquoter": {
  19650. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19651. "type": "integer"
  19652. },
  19653. "hqprotecttime": {
  19654. "description": "行情保护时间(秒)",
  19655. "type": "integer"
  19656. },
  19657. "innerdealmode": {
  19658. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19659. "type": "integer"
  19660. },
  19661. "isbuylimited": {
  19662. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19663. "type": "integer"
  19664. },
  19665. "lasttradedate": {
  19666. "description": "最后交易日期(状态:待退市)",
  19667. "type": "string"
  19668. },
  19669. "listingdate": {
  19670. "description": "交易开始日期",
  19671. "type": "string"
  19672. },
  19673. "marketid": {
  19674. "description": "所属市场ID",
  19675. "type": "integer"
  19676. },
  19677. "modifierid": {
  19678. "description": "修改人",
  19679. "type": "integer"
  19680. },
  19681. "modifystatus": {
  19682. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19683. "type": "integer"
  19684. },
  19685. "modifytime": {
  19686. "description": "修改时间",
  19687. "type": "string"
  19688. },
  19689. "outerdealmode": {
  19690. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19691. "type": "integer"
  19692. },
  19693. "outgoodscode": {
  19694. "description": "商品代码(外部)",
  19695. "type": "string"
  19696. },
  19697. "qtydecimalplace": {
  19698. "description": "成交量小数位",
  19699. "type": "integer"
  19700. },
  19701. "quotegear": {
  19702. "description": "行情档位(1-10)",
  19703. "type": "integer"
  19704. },
  19705. "quoteminunit": {
  19706. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19707. "type": "integer"
  19708. },
  19709. "quoteshowtype": {
  19710. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19711. "type": "integer"
  19712. },
  19713. "quoteshowtypeinterval": {
  19714. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19715. "type": "integer"
  19716. },
  19717. "remark": {
  19718. "description": "备注",
  19719. "type": "string"
  19720. }
  19721. }
  19722. },
  19723. "models.GoodsBrand": {
  19724. "type": "object",
  19725. "properties": {
  19726. "brandid": {
  19727. "description": "品牌ID",
  19728. "type": "integer"
  19729. },
  19730. "brandname": {
  19731. "description": "品牌名称",
  19732. "type": "string"
  19733. },
  19734. "isvalid": {
  19735. "description": "是否有效 - 0:无效 1:有效",
  19736. "type": "integer"
  19737. }
  19738. }
  19739. },
  19740. "models.GoodsIDAndName": {
  19741. "type": "object",
  19742. "required": [
  19743. "goodscode",
  19744. "goodsid",
  19745. "goodsname",
  19746. "marketid"
  19747. ],
  19748. "properties": {
  19749. "goodscode": {
  19750. "description": "商品代码(内部)",
  19751. "type": "string"
  19752. },
  19753. "goodsid": {
  19754. "description": "商品ID(自增ID SEQ_GOODS)",
  19755. "type": "integer"
  19756. },
  19757. "goodsname": {
  19758. "description": "商品名称",
  19759. "type": "string"
  19760. },
  19761. "marketid": {
  19762. "description": "所属市场ID",
  19763. "type": "integer"
  19764. }
  19765. }
  19766. },
  19767. "models.GoodsTypeModel": {
  19768. "type": "object",
  19769. "properties": {
  19770. "convertfactor": {
  19771. "description": "标仓系数",
  19772. "type": "number"
  19773. },
  19774. "modelid": {
  19775. "description": "型号ID",
  19776. "type": "integer"
  19777. },
  19778. "modelname": {
  19779. "description": "型号名称",
  19780. "type": "string"
  19781. },
  19782. "updatetime": {
  19783. "description": "更新时间",
  19784. "type": "string"
  19785. }
  19786. }
  19787. },
  19788. "models.Goodsgroup": {
  19789. "type": "object",
  19790. "required": [
  19791. "goodsgroupid",
  19792. "goodsgroupname",
  19793. "goodsgroupstatus",
  19794. "marketid"
  19795. ],
  19796. "properties": {
  19797. "agreeunit": {
  19798. "description": "合约单位",
  19799. "type": "number"
  19800. },
  19801. "canshort": {
  19802. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19803. "type": "integer"
  19804. },
  19805. "closepricemode": {
  19806. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19807. "type": "integer"
  19808. },
  19809. "closepriceparam": {
  19810. "description": "强平最新价浮动比例 - 方式为2时使用",
  19811. "type": "number"
  19812. },
  19813. "createtime": {
  19814. "description": "创建时间",
  19815. "type": "string"
  19816. },
  19817. "creatorid": {
  19818. "description": "创建人",
  19819. "type": "integer"
  19820. },
  19821. "currencyid": {
  19822. "description": "报价货币ID",
  19823. "type": "integer"
  19824. },
  19825. "decimalplace": {
  19826. "description": "报价小数位",
  19827. "type": "integer"
  19828. },
  19829. "exercisetype": {
  19830. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19831. "type": "integer"
  19832. },
  19833. "exexchangeid": {
  19834. "description": "外部交易所ID[通道交易]",
  19835. "type": "integer"
  19836. },
  19837. "goodsgroupid": {
  19838. "description": "商品组ID(自增ID)",
  19839. "type": "integer"
  19840. },
  19841. "goodsgroupname": {
  19842. "description": "商品组名称",
  19843. "type": "string"
  19844. },
  19845. "goodsgroupstatus": {
  19846. "description": "商品组状态 - 1:正常 2:注销",
  19847. "type": "integer"
  19848. },
  19849. "goodunitid": {
  19850. "description": "报价单位ID",
  19851. "type": "integer"
  19852. },
  19853. "innerdealmode": {
  19854. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19855. "type": "integer"
  19856. },
  19857. "isbuylimited": {
  19858. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19859. "type": "integer"
  19860. },
  19861. "marketid": {
  19862. "description": "所属市场ID",
  19863. "type": "integer"
  19864. },
  19865. "modifierid": {
  19866. "description": "修改人",
  19867. "type": "integer"
  19868. },
  19869. "modifytime": {
  19870. "description": "修改时间",
  19871. "type": "string"
  19872. },
  19873. "outerdealmode": {
  19874. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19875. "type": "integer"
  19876. },
  19877. "outergroupcode": {
  19878. "description": "外部商品组代码[通道交易]",
  19879. "type": "string"
  19880. },
  19881. "premiumdecimalplace": {
  19882. "description": "权利金小数位[场外期权]",
  19883. "type": "integer"
  19884. },
  19885. "premiumspreadalgorithm": {
  19886. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19887. "type": "integer"
  19888. },
  19889. "premiumspreadvalue": {
  19890. "description": "权利金点差值[场外期权]",
  19891. "type": "number"
  19892. },
  19893. "qtydecimalplace": {
  19894. "description": "成交量小数位",
  19895. "type": "integer"
  19896. },
  19897. "quotegear": {
  19898. "description": "行情档位(1-10)",
  19899. "type": "integer"
  19900. },
  19901. "quoteminunit": {
  19902. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19903. "type": "integer"
  19904. },
  19905. "quoterid": {
  19906. "description": "报价商ID[场外期权]",
  19907. "type": "integer"
  19908. },
  19909. "quotesourcegroupid": {
  19910. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19911. "type": "integer"
  19912. },
  19913. "syncgoodsqty": {
  19914. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19915. "type": "integer"
  19916. }
  19917. }
  19918. },
  19919. "models.Goodssortbypreposition": {
  19920. "type": "object",
  19921. "required": [
  19922. "goodscode",
  19923. "tradedate"
  19924. ],
  19925. "properties": {
  19926. "goodscode": {
  19927. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19928. "type": "string"
  19929. },
  19930. "goodsgroupcode": {
  19931. "description": "品种代码",
  19932. "type": "string"
  19933. },
  19934. "prepositionqty": {
  19935. "description": "昨持仓量",
  19936. "type": "integer"
  19937. },
  19938. "sortindex": {
  19939. "description": "排序",
  19940. "type": "integer"
  19941. },
  19942. "tradedate": {
  19943. "description": "交易日",
  19944. "type": "string"
  19945. },
  19946. "updatetime": {
  19947. "description": "更新时间",
  19948. "type": "string"
  19949. }
  19950. }
  19951. },
  19952. "models.Hedgeinnerholderdetail": {
  19953. "type": "object",
  19954. "required": [
  19955. "buyorsell",
  19956. "tradeid"
  19957. ],
  19958. "properties": {
  19959. "accountid": {
  19960. "description": "账号ID",
  19961. "type": "integer"
  19962. },
  19963. "buyorsell": {
  19964. "description": "方向 - 0:买 1:卖",
  19965. "type": "integer"
  19966. },
  19967. "freezeqty": {
  19968. "description": "冻结数量 - 按单平使用",
  19969. "type": "integer"
  19970. },
  19971. "goodsid": {
  19972. "description": "商品ID",
  19973. "type": "integer"
  19974. },
  19975. "holderamount": {
  19976. "description": "持仓金额 [商品币种]",
  19977. "type": "number"
  19978. },
  19979. "holderdays": {
  19980. "description": "剩余冻结天数",
  19981. "type": "integer"
  19982. },
  19983. "holderprice": {
  19984. "description": "持仓价格",
  19985. "type": "number"
  19986. },
  19987. "holderqty": {
  19988. "description": "持仓数量",
  19989. "type": "integer"
  19990. },
  19991. "marketid": {
  19992. "description": "市场ID",
  19993. "type": "integer"
  19994. },
  19995. "openprice": {
  19996. "description": "建仓价格",
  19997. "type": "number"
  19998. },
  19999. "openqty": {
  20000. "description": "建仓数量",
  20001. "type": "integer"
  20002. },
  20003. "parentaccountid": {
  20004. "description": "所属母账户",
  20005. "type": "integer"
  20006. },
  20007. "releaseamount": {
  20008. "description": "释放持仓金额[商品币种]",
  20009. "type": "number"
  20010. },
  20011. "tradeamount": {
  20012. "description": "成交金额[账户]",
  20013. "type": "number"
  20014. },
  20015. "tradedate": {
  20016. "description": "交易日(yyyyMMdd)",
  20017. "type": "string"
  20018. },
  20019. "tradeid": {
  20020. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20021. "type": "string"
  20022. },
  20023. "tradetime": {
  20024. "description": "交易时间",
  20025. "type": "string"
  20026. }
  20027. }
  20028. },
  20029. "models.Hedgemarketopenlog": {
  20030. "type": "object",
  20031. "required": [
  20032. "accountid"
  20033. ],
  20034. "properties": {
  20035. "accountid": {
  20036. "description": "资金账号[外部母账户]",
  20037. "type": "integer"
  20038. },
  20039. "fcname": {
  20040. "description": "期货公司名称",
  20041. "type": "string"
  20042. },
  20043. "handlestatus": {
  20044. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20045. "type": "integer"
  20046. },
  20047. "marketid": {
  20048. "description": "市场ID",
  20049. "type": "integer"
  20050. },
  20051. "status": {
  20052. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20053. "type": "integer"
  20054. },
  20055. "tradedate": {
  20056. "description": "交易日(yyyyMMdd)",
  20057. "type": "string"
  20058. },
  20059. "updatetime": {
  20060. "description": "更新时间",
  20061. "type": "string"
  20062. }
  20063. }
  20064. },
  20065. "models.HsbyBuyMyPayOrder": {
  20066. "type": "object",
  20067. "required": [
  20068. "goodscode",
  20069. "goodsname",
  20070. "tradeid",
  20071. "trademode"
  20072. ],
  20073. "properties": {
  20074. "agreeunit": {
  20075. "description": "合约单位",
  20076. "type": "number"
  20077. },
  20078. "buyaccountid": {
  20079. "description": "买方账号ID[报价币种]",
  20080. "type": "integer"
  20081. },
  20082. "buyorderid": {
  20083. "description": "买方委托单号",
  20084. "type": "string"
  20085. },
  20086. "createtime": {
  20087. "description": "创建时间",
  20088. "type": "string"
  20089. },
  20090. "currencysign": {
  20091. "description": "货币符号",
  20092. "type": "string"
  20093. },
  20094. "decimalplace": {
  20095. "description": "报价小数位",
  20096. "type": "integer"
  20097. },
  20098. "goodscode": {
  20099. "description": "商品代码(内部)",
  20100. "type": "string"
  20101. },
  20102. "goodsid": {
  20103. "description": "商品ID",
  20104. "type": "integer"
  20105. },
  20106. "goodsname": {
  20107. "description": "商品名称",
  20108. "type": "string"
  20109. },
  20110. "marketid": {
  20111. "description": "市场ID",
  20112. "type": "integer"
  20113. },
  20114. "offamount": {
  20115. "description": "优惠金额",
  20116. "type": "number"
  20117. },
  20118. "originalamount": {
  20119. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20120. "type": "number"
  20121. },
  20122. "payamount": {
  20123. "description": "支付金额 = TradeAmount + TradeCharge",
  20124. "type": "number"
  20125. },
  20126. "payflag": {
  20127. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20128. "type": "integer"
  20129. },
  20130. "paylimitedtime": {
  20131. "description": "支付期限",
  20132. "type": "string"
  20133. },
  20134. "paytime": {
  20135. "description": "付款时间",
  20136. "type": "string"
  20137. },
  20138. "picurls1": {
  20139. "description": "预售商品介绍图片[多张用逗号分隔]",
  20140. "type": "string"
  20141. },
  20142. "picurls2": {
  20143. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20144. "type": "string"
  20145. },
  20146. "sellaccountid": {
  20147. "description": "卖方账号ID[报价币种]",
  20148. "type": "integer"
  20149. },
  20150. "sellorderid": {
  20151. "description": "卖方委托单号",
  20152. "type": "string"
  20153. },
  20154. "tradeamount": {
  20155. "description": "成交金额",
  20156. "type": "number"
  20157. },
  20158. "tradecharge": {
  20159. "description": "成交手续费(买方)",
  20160. "type": "number"
  20161. },
  20162. "tradedate": {
  20163. "description": "交易日(yyyyMMdd)",
  20164. "type": "string"
  20165. },
  20166. "tradeid": {
  20167. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20168. "type": "string"
  20169. },
  20170. "trademode": {
  20171. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20172. "type": "integer"
  20173. },
  20174. "tradeprice": {
  20175. "description": "成交价格",
  20176. "type": "number"
  20177. },
  20178. "tradeqty": {
  20179. "description": "成交数量",
  20180. "type": "integer"
  20181. },
  20182. "vendorname1": {
  20183. "description": "预售商品供应商名称",
  20184. "type": "string"
  20185. },
  20186. "vendorname2": {
  20187. "description": "挂牌商品供应商名称",
  20188. "type": "string"
  20189. }
  20190. }
  20191. },
  20192. "models.HsbyBuyMyTradeDetail": {
  20193. "type": "object",
  20194. "required": [
  20195. "accountid",
  20196. "buyorsell",
  20197. "goodscode",
  20198. "goodsid",
  20199. "goodsname",
  20200. "marketid",
  20201. "orderid",
  20202. "qty",
  20203. "time",
  20204. "trademode"
  20205. ],
  20206. "properties": {
  20207. "accountid": {
  20208. "description": "账户ID[报价币种]",
  20209. "type": "integer"
  20210. },
  20211. "agreeunit": {
  20212. "description": "合约单位",
  20213. "type": "number"
  20214. },
  20215. "amount": {
  20216. "description": "金额 = 价格 * 数量 * 合约单位",
  20217. "type": "number"
  20218. },
  20219. "buyorsell": {
  20220. "description": "买卖 - 0:买 1:卖",
  20221. "type": "integer"
  20222. },
  20223. "currencysign": {
  20224. "description": "货币符号",
  20225. "type": "string"
  20226. },
  20227. "decimalplace": {
  20228. "description": "报价小数位",
  20229. "type": "integer"
  20230. },
  20231. "goodscode": {
  20232. "description": "商品代码(内部)",
  20233. "type": "string"
  20234. },
  20235. "goodsid": {
  20236. "description": "商品ID",
  20237. "type": "integer"
  20238. },
  20239. "goodsname": {
  20240. "description": "商品名称",
  20241. "type": "string"
  20242. },
  20243. "marketid": {
  20244. "description": "市场ID",
  20245. "type": "integer"
  20246. },
  20247. "orderamount": {
  20248. "description": "委托金额",
  20249. "type": "number"
  20250. },
  20251. "orderid": {
  20252. "description": "单号(成交单号)",
  20253. "type": "string"
  20254. },
  20255. "picurls1": {
  20256. "description": "预售商品介绍图片[多张用逗号分隔]",
  20257. "type": "string"
  20258. },
  20259. "picurls2": {
  20260. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20261. "type": "string"
  20262. },
  20263. "price": {
  20264. "description": "价格",
  20265. "type": "number"
  20266. },
  20267. "qty": {
  20268. "description": "数量",
  20269. "type": "integer"
  20270. },
  20271. "time": {
  20272. "description": "时间",
  20273. "type": "string"
  20274. },
  20275. "trademode": {
  20276. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20277. "type": "integer"
  20278. },
  20279. "vendorname1": {
  20280. "description": "预售商品供应商名称",
  20281. "type": "string"
  20282. },
  20283. "vendorname2": {
  20284. "description": "挂牌商品供应商名称",
  20285. "type": "string"
  20286. }
  20287. }
  20288. },
  20289. "models.HsbyGoodsOrderDetail": {
  20290. "type": "object",
  20291. "required": [
  20292. "buyorsell",
  20293. "orderid",
  20294. "ordertime"
  20295. ],
  20296. "properties": {
  20297. "buyorsell": {
  20298. "description": "买卖 - 0:买 1:卖",
  20299. "type": "integer"
  20300. },
  20301. "currencysign": {
  20302. "description": "货币符号",
  20303. "type": "string"
  20304. },
  20305. "customername": {
  20306. "description": "客户名称(企业名称),已脱敏",
  20307. "type": "string"
  20308. },
  20309. "enableqty": {
  20310. "description": "可用数量",
  20311. "type": "integer"
  20312. },
  20313. "goodunit": {
  20314. "description": "报价单位",
  20315. "type": "string"
  20316. },
  20317. "orderid": {
  20318. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20319. "type": "string"
  20320. },
  20321. "orderprice": {
  20322. "description": "委托价格",
  20323. "type": "number"
  20324. },
  20325. "ordertime": {
  20326. "description": "委托时间",
  20327. "type": "string"
  20328. }
  20329. }
  20330. },
  20331. "models.HsbyListingGoodsDetail": {
  20332. "type": "object",
  20333. "required": [
  20334. "goodscode",
  20335. "goodsid",
  20336. "goodsname",
  20337. "marketid",
  20338. "trademode"
  20339. ],
  20340. "properties": {
  20341. "agreeunit": {
  20342. "description": "合约单位",
  20343. "type": "number"
  20344. },
  20345. "buymaxqty": {
  20346. "description": "购买上限 [71] - 0为不限",
  20347. "type": "integer"
  20348. },
  20349. "currency": {
  20350. "description": "货币",
  20351. "type": "string"
  20352. },
  20353. "currencysign": {
  20354. "description": "货币符号",
  20355. "type": "string"
  20356. },
  20357. "decimalplace": {
  20358. "description": "报价小数位",
  20359. "type": "integer"
  20360. },
  20361. "desccityid": {
  20362. "description": "目的地(市)ID",
  20363. "type": "integer"
  20364. },
  20365. "descprovinceid": {
  20366. "description": "目的地(省)ID",
  20367. "type": "integer"
  20368. },
  20369. "goodscode": {
  20370. "description": "商品代码(内部)",
  20371. "type": "string"
  20372. },
  20373. "goodsdesc": {
  20374. "description": "商品详情",
  20375. "type": "string"
  20376. },
  20377. "goodsid": {
  20378. "description": "商品ID(自增ID SEQ_GOODS)",
  20379. "type": "integer"
  20380. },
  20381. "goodsname": {
  20382. "description": "商品名称",
  20383. "type": "string"
  20384. },
  20385. "goodsprice": {
  20386. "description": "商品价格",
  20387. "type": "number"
  20388. },
  20389. "hotindex": {
  20390. "description": "景点热度",
  20391. "type": "integer"
  20392. },
  20393. "last": {
  20394. "description": "现价",
  20395. "type": "number"
  20396. },
  20397. "limitdown": {
  20398. "description": "跌停价",
  20399. "type": "number"
  20400. },
  20401. "limitup": {
  20402. "description": "涨停价",
  20403. "type": "number"
  20404. },
  20405. "lotsize": {
  20406. "description": "手数最小变动单位",
  20407. "type": "integer"
  20408. },
  20409. "marketid": {
  20410. "description": "所属市场ID",
  20411. "type": "integer"
  20412. },
  20413. "picurls": {
  20414. "description": "介绍图片[多张用逗号分隔]",
  20415. "type": "string"
  20416. },
  20417. "quoteminunit": {
  20418. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20419. "type": "integer"
  20420. },
  20421. "stepvalue": {
  20422. "description": "价格最小变动单位",
  20423. "type": "number"
  20424. },
  20425. "trademode": {
  20426. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20427. "type": "integer"
  20428. },
  20429. "vendorattr": {
  20430. "description": "供应商附件(多张,逗号分隔)",
  20431. "type": "string"
  20432. },
  20433. "vendorname": {
  20434. "description": "供应商名称",
  20435. "type": "string"
  20436. },
  20437. "vendorphone": {
  20438. "description": "供应商客服电话",
  20439. "type": "string"
  20440. },
  20441. "videourls": {
  20442. "description": "介绍视频[多张用逗号分隔]",
  20443. "type": "string"
  20444. }
  20445. }
  20446. },
  20447. "models.HsbyMarketGoods": {
  20448. "type": "object",
  20449. "required": [
  20450. "accountid",
  20451. "buyorsell",
  20452. "goodscode",
  20453. "goodsid",
  20454. "goodsname",
  20455. "marketid",
  20456. "orderid",
  20457. "trademode"
  20458. ],
  20459. "properties": {
  20460. "accountid": {
  20461. "description": "账户ID[报价币种]",
  20462. "type": "integer"
  20463. },
  20464. "agreeunit": {
  20465. "description": "合约单位",
  20466. "type": "number"
  20467. },
  20468. "buyorsell": {
  20469. "description": "买卖 - 0:买 1:卖",
  20470. "type": "integer"
  20471. },
  20472. "categoryid": {
  20473. "description": "类别ID(WRCATEGORY)",
  20474. "type": "integer"
  20475. },
  20476. "currency": {
  20477. "description": "货币",
  20478. "type": "string"
  20479. },
  20480. "currencysign": {
  20481. "description": "货币符号",
  20482. "type": "string"
  20483. },
  20484. "customername": {
  20485. "description": "卖家名称",
  20486. "type": "string"
  20487. },
  20488. "decimalplace": {
  20489. "description": "报价小数位",
  20490. "type": "integer"
  20491. },
  20492. "goodscode": {
  20493. "description": "商品代码(内部)",
  20494. "type": "string"
  20495. },
  20496. "goodsid": {
  20497. "description": "商品ID",
  20498. "type": "integer"
  20499. },
  20500. "goodsname": {
  20501. "description": "商品名称",
  20502. "type": "string"
  20503. },
  20504. "goodsprice": {
  20505. "description": "商品价格",
  20506. "type": "number"
  20507. },
  20508. "hascoupon": {
  20509. "description": "是否可用优惠卷",
  20510. "type": "boolean"
  20511. },
  20512. "hotindex": {
  20513. "description": "景点热度",
  20514. "type": "integer"
  20515. },
  20516. "marketid": {
  20517. "description": "市场ID",
  20518. "type": "integer"
  20519. },
  20520. "orderid": {
  20521. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20522. "type": "string"
  20523. },
  20524. "orderprice": {
  20525. "description": "委托价格",
  20526. "type": "number"
  20527. },
  20528. "orderstatus": {
  20529. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20530. "type": "integer"
  20531. },
  20532. "picurls": {
  20533. "description": "介绍图片[多张用逗号分隔]",
  20534. "type": "string"
  20535. },
  20536. "quoteminunit": {
  20537. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20538. "type": "integer"
  20539. },
  20540. "sellUserID": {
  20541. "description": "卖方UserID",
  20542. "type": "integer"
  20543. },
  20544. "trademode": {
  20545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20546. "type": "integer"
  20547. },
  20548. "videourls": {
  20549. "description": "介绍视频[多张用逗号分隔]",
  20550. "type": "string"
  20551. }
  20552. }
  20553. },
  20554. "models.HsbyMarketGoodsDetail": {
  20555. "type": "object",
  20556. "required": [
  20557. "accountid",
  20558. "buyorsell",
  20559. "goodscode",
  20560. "goodsid",
  20561. "goodsname",
  20562. "marketid",
  20563. "orderid",
  20564. "orderqty",
  20565. "trademode"
  20566. ],
  20567. "properties": {
  20568. "accountid": {
  20569. "description": "账户ID[报价币种]",
  20570. "type": "integer"
  20571. },
  20572. "agreeunit": {
  20573. "description": "合约单位",
  20574. "type": "number"
  20575. },
  20576. "buymaxqty": {
  20577. "description": "购买上限 [71] - 0为不限",
  20578. "type": "integer"
  20579. },
  20580. "buyorsell": {
  20581. "description": "买卖 - 0:买 1:卖",
  20582. "type": "integer"
  20583. },
  20584. "cancelqty": {
  20585. "description": "撤单数量",
  20586. "type": "integer"
  20587. },
  20588. "categoryid": {
  20589. "description": "类别ID(WRCATEGORY)",
  20590. "type": "integer"
  20591. },
  20592. "currency": {
  20593. "description": "货币",
  20594. "type": "string"
  20595. },
  20596. "currencysign": {
  20597. "description": "货币符号",
  20598. "type": "string"
  20599. },
  20600. "customername": {
  20601. "description": "卖家名称",
  20602. "type": "string"
  20603. },
  20604. "decimalplace": {
  20605. "description": "报价小数位",
  20606. "type": "integer"
  20607. },
  20608. "goodscode": {
  20609. "description": "商品代码(内部)",
  20610. "type": "string"
  20611. },
  20612. "goodsdesc": {
  20613. "description": "商品详情",
  20614. "type": "string"
  20615. },
  20616. "goodsid": {
  20617. "description": "商品ID",
  20618. "type": "integer"
  20619. },
  20620. "goodsname": {
  20621. "description": "商品名称",
  20622. "type": "string"
  20623. },
  20624. "goodsprice": {
  20625. "description": "商品价格",
  20626. "type": "number"
  20627. },
  20628. "hotindex": {
  20629. "description": "景点热度",
  20630. "type": "integer"
  20631. },
  20632. "lotsize": {
  20633. "description": "手数最小变动单位",
  20634. "type": "integer"
  20635. },
  20636. "marketid": {
  20637. "description": "市场ID",
  20638. "type": "integer"
  20639. },
  20640. "orderid": {
  20641. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20642. "type": "string"
  20643. },
  20644. "orderprice": {
  20645. "description": "委托价格",
  20646. "type": "number"
  20647. },
  20648. "orderqty": {
  20649. "description": "委托数量",
  20650. "type": "integer"
  20651. },
  20652. "orderstatus": {
  20653. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20654. "type": "integer"
  20655. },
  20656. "picurls": {
  20657. "description": "介绍图片[多张用逗号分隔]",
  20658. "type": "string"
  20659. },
  20660. "quoteminunit": {
  20661. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20662. "type": "integer"
  20663. },
  20664. "sellUserID": {
  20665. "description": "卖方UserID",
  20666. "type": "integer"
  20667. },
  20668. "trademode": {
  20669. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20670. "type": "integer"
  20671. },
  20672. "tradeqty": {
  20673. "description": "成交数量",
  20674. "type": "integer"
  20675. },
  20676. "vendorattr": {
  20677. "description": "供应商附件(多张,逗号分隔)",
  20678. "type": "string"
  20679. },
  20680. "vendorname": {
  20681. "description": "供应商名称",
  20682. "type": "string"
  20683. },
  20684. "vendorphone": {
  20685. "description": "供应商客服电话",
  20686. "type": "string"
  20687. },
  20688. "videourls": {
  20689. "description": "介绍视频[多张用逗号分隔]",
  20690. "type": "string"
  20691. }
  20692. }
  20693. },
  20694. "models.HsbyMarketInfo": {
  20695. "type": "object",
  20696. "required": [
  20697. "marketid",
  20698. "marketstatus",
  20699. "trademode"
  20700. ],
  20701. "properties": {
  20702. "marketid": {
  20703. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20704. "type": "integer"
  20705. },
  20706. "marketname": {
  20707. "description": "市场名称",
  20708. "type": "string"
  20709. },
  20710. "marketstatus": {
  20711. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20712. "type": "integer"
  20713. },
  20714. "trademode": {
  20715. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20716. "type": "integer"
  20717. }
  20718. }
  20719. },
  20720. "models.HsbyMyGoods": {
  20721. "type": "object",
  20722. "required": [
  20723. "accountid",
  20724. "goodscode",
  20725. "goodsid",
  20726. "goodsname",
  20727. "marketid",
  20728. "trademode"
  20729. ],
  20730. "properties": {
  20731. "accountid": {
  20732. "description": "账号Id",
  20733. "type": "integer"
  20734. },
  20735. "agreeunit": {
  20736. "description": "合约单位",
  20737. "type": "number"
  20738. },
  20739. "buyaverageprice": {
  20740. "description": "持仓均价",
  20741. "type": "number"
  20742. },
  20743. "buycurholderamount": {
  20744. "description": "买当前持仓总金额[商品币种]",
  20745. "type": "number"
  20746. },
  20747. "buycurpositionqty": {
  20748. "description": "买当前持仓总数量",
  20749. "type": "integer"
  20750. },
  20751. "buymaxqty": {
  20752. "description": "购买上限 [71] - 0为不限",
  20753. "type": "integer"
  20754. },
  20755. "currencysign": {
  20756. "description": "货币符号",
  20757. "type": "string"
  20758. },
  20759. "decimalplace": {
  20760. "description": "报价小数位",
  20761. "type": "integer"
  20762. },
  20763. "enableqty": {
  20764. "description": "可用数量",
  20765. "type": "integer"
  20766. },
  20767. "goodscode": {
  20768. "description": "商品代码(内部)",
  20769. "type": "string"
  20770. },
  20771. "goodsid": {
  20772. "description": "商品Id",
  20773. "type": "integer"
  20774. },
  20775. "goodsname": {
  20776. "description": "商品名称",
  20777. "type": "string"
  20778. },
  20779. "goodsprice": {
  20780. "description": "商品价格",
  20781. "type": "number"
  20782. },
  20783. "goodsstatus": {
  20784. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20785. "type": "integer"
  20786. },
  20787. "last": {
  20788. "description": "现价(仅使用于挂牌点选)",
  20789. "type": "number"
  20790. },
  20791. "limitdown": {
  20792. "description": "跌停价(仅使用于挂牌点选)",
  20793. "type": "number"
  20794. },
  20795. "limitup": {
  20796. "description": "涨停价(仅使用于挂牌点选)",
  20797. "type": "number"
  20798. },
  20799. "lotsize": {
  20800. "description": "手数最小变动单位",
  20801. "type": "integer"
  20802. },
  20803. "marketid": {
  20804. "description": "所属市场ID",
  20805. "type": "integer"
  20806. },
  20807. "picurls": {
  20808. "description": "介绍图片[多张用逗号分隔]",
  20809. "type": "string"
  20810. },
  20811. "quoteminunit": {
  20812. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20813. "type": "integer"
  20814. },
  20815. "stepvalue": {
  20816. "description": "价格最小变动单位",
  20817. "type": "number"
  20818. },
  20819. "trademode": {
  20820. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20821. "type": "integer"
  20822. }
  20823. }
  20824. },
  20825. "models.HsbyMyPackage": {
  20826. "type": "object",
  20827. "required": [
  20828. "goodscode",
  20829. "goodsname",
  20830. "takeorderid",
  20831. "trademode"
  20832. ],
  20833. "properties": {
  20834. "accountid": {
  20835. "description": "账户ID",
  20836. "type": "integer"
  20837. },
  20838. "address": {
  20839. "description": "提货人详细地址",
  20840. "type": "string"
  20841. },
  20842. "agreeunit": {
  20843. "description": "合约单位",
  20844. "type": "number"
  20845. },
  20846. "amount": {
  20847. "description": "提货金额",
  20848. "type": "number"
  20849. },
  20850. "auditer": {
  20851. "description": "审核人",
  20852. "type": "integer"
  20853. },
  20854. "audittime": {
  20855. "description": "审核时间",
  20856. "type": "string"
  20857. },
  20858. "averageprice": {
  20859. "description": "均价",
  20860. "type": "number"
  20861. },
  20862. "cardnum": {
  20863. "description": "提货人证件号码",
  20864. "type": "string"
  20865. },
  20866. "cardtypeid": {
  20867. "description": "提货人证件类型",
  20868. "type": "integer"
  20869. },
  20870. "checkremark": {
  20871. "description": "审核备注",
  20872. "type": "string"
  20873. },
  20874. "currencysign": {
  20875. "description": "货币符号",
  20876. "type": "string"
  20877. },
  20878. "decimalplace": {
  20879. "description": "报价小数位",
  20880. "type": "integer"
  20881. },
  20882. "goodscode": {
  20883. "description": "商品代码(内部)",
  20884. "type": "string"
  20885. },
  20886. "goodsid": {
  20887. "description": "商品ID",
  20888. "type": "integer"
  20889. },
  20890. "goodsname": {
  20891. "description": "商品名称",
  20892. "type": "string"
  20893. },
  20894. "handlestatus": {
  20895. "description": "处理状态",
  20896. "type": "integer"
  20897. },
  20898. "marketid": {
  20899. "description": "市场ID",
  20900. "type": "integer"
  20901. },
  20902. "phonenum": {
  20903. "description": "提货人联系方式",
  20904. "type": "string"
  20905. },
  20906. "picurls": {
  20907. "description": "介绍图片[多张用逗号分隔]",
  20908. "type": "string"
  20909. },
  20910. "qty": {
  20911. "description": "提货数量",
  20912. "type": "number"
  20913. },
  20914. "recivername": {
  20915. "description": "提货人姓名",
  20916. "type": "string"
  20917. },
  20918. "reqtime": {
  20919. "description": "更新时间",
  20920. "type": "string"
  20921. },
  20922. "takemode": {
  20923. "description": "提货方式 - 2:自提 3:配送",
  20924. "type": "integer"
  20925. },
  20926. "takeorderid": {
  20927. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20928. "type": "string"
  20929. },
  20930. "takeorderstatus": {
  20931. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20932. "type": "integer"
  20933. },
  20934. "takeremark": {
  20935. "description": "提货备注",
  20936. "type": "string"
  20937. },
  20938. "tradedate": {
  20939. "description": "交易日(yyyyMMdd)",
  20940. "type": "string"
  20941. },
  20942. "trademode": {
  20943. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20944. "type": "integer"
  20945. },
  20946. "userid": {
  20947. "description": "用户ID",
  20948. "type": "integer"
  20949. },
  20950. "vendorname": {
  20951. "description": "供应商名称",
  20952. "type": "string"
  20953. }
  20954. }
  20955. },
  20956. "models.HsbyPreGoods": {
  20957. "type": "object",
  20958. "required": [
  20959. "goodscode",
  20960. "goodsid",
  20961. "goodsname",
  20962. "marketid",
  20963. "trademode"
  20964. ],
  20965. "properties": {
  20966. "agreeunit": {
  20967. "description": "合约单位",
  20968. "type": "number"
  20969. },
  20970. "currency": {
  20971. "description": "货币",
  20972. "type": "string"
  20973. },
  20974. "currencysign": {
  20975. "description": "货币符号",
  20976. "type": "string"
  20977. },
  20978. "decimalplace": {
  20979. "description": "报价小数位",
  20980. "type": "integer"
  20981. },
  20982. "desccityid": {
  20983. "description": "目的地(市)",
  20984. "type": "integer"
  20985. },
  20986. "descprovinceid": {
  20987. "description": "目的地(省)",
  20988. "type": "integer"
  20989. },
  20990. "enableqty": {
  20991. "description": "剩余数量",
  20992. "type": "integer"
  20993. },
  20994. "goodscode": {
  20995. "description": "商品代码(内部)",
  20996. "type": "string"
  20997. },
  20998. "goodsid": {
  20999. "description": "商品ID(自增ID SEQ_GOODS)",
  21000. "type": "integer"
  21001. },
  21002. "goodsname": {
  21003. "description": "商品名称",
  21004. "type": "string"
  21005. },
  21006. "goodsstatus": {
  21007. "description": "商品状态- 2:未上市 3:上市",
  21008. "type": "integer"
  21009. },
  21010. "lasttradedate": {
  21011. "description": "最后交易日期(状态:待退市)",
  21012. "type": "string"
  21013. },
  21014. "listingdate": {
  21015. "description": "交易开始日期",
  21016. "type": "string"
  21017. },
  21018. "marketid": {
  21019. "description": "所属市场ID",
  21020. "type": "integer"
  21021. },
  21022. "picurls": {
  21023. "description": "介绍图片[多张用逗号分隔]",
  21024. "type": "string"
  21025. },
  21026. "presaledqty": {
  21027. "description": "已预售量(预售结束时更新)",
  21028. "type": "integer"
  21029. },
  21030. "presaleqty": {
  21031. "description": "预售数量",
  21032. "type": "integer"
  21033. },
  21034. "quoteminunit": {
  21035. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21036. "type": "integer"
  21037. },
  21038. "refprice": {
  21039. "description": "参考价格[一口价]",
  21040. "type": "number"
  21041. },
  21042. "relatedgoodsid": {
  21043. "description": "关联交易合约ID",
  21044. "type": "integer"
  21045. },
  21046. "trademode": {
  21047. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21048. "type": "integer"
  21049. },
  21050. "videourls": {
  21051. "description": "介绍视频[多张用逗号分隔]",
  21052. "type": "string"
  21053. }
  21054. }
  21055. },
  21056. "models.HsbyPreGoodsDetail": {
  21057. "type": "object",
  21058. "required": [
  21059. "goodscode",
  21060. "goodsid",
  21061. "goodsname",
  21062. "marketid",
  21063. "trademode"
  21064. ],
  21065. "properties": {
  21066. "agreeunit": {
  21067. "description": "合约单位",
  21068. "type": "number"
  21069. },
  21070. "buymaxqty": {
  21071. "description": "购买上限 [71] - 0为不限",
  21072. "type": "integer"
  21073. },
  21074. "currency": {
  21075. "description": "货币",
  21076. "type": "string"
  21077. },
  21078. "currencysign": {
  21079. "description": "货币符号",
  21080. "type": "string"
  21081. },
  21082. "customername": {
  21083. "description": "发行单位",
  21084. "type": "string"
  21085. },
  21086. "decimalplace": {
  21087. "description": "报价小数位",
  21088. "type": "integer"
  21089. },
  21090. "desccityid": {
  21091. "description": "目的地(市)ID",
  21092. "type": "integer"
  21093. },
  21094. "descprovinceid": {
  21095. "description": "目的地(省)ID",
  21096. "type": "integer"
  21097. },
  21098. "enableqty": {
  21099. "description": "剩余数量",
  21100. "type": "integer"
  21101. },
  21102. "goodscode": {
  21103. "description": "商品代码(内部)",
  21104. "type": "string"
  21105. },
  21106. "goodsdesc": {
  21107. "description": "商品详情",
  21108. "type": "string"
  21109. },
  21110. "goodsid": {
  21111. "description": "商品ID(自增ID SEQ_GOODS)",
  21112. "type": "integer"
  21113. },
  21114. "goodsname": {
  21115. "description": "商品名称",
  21116. "type": "string"
  21117. },
  21118. "goodsstatus": {
  21119. "description": "商品状态- 2:未上市 3:上市",
  21120. "type": "integer"
  21121. },
  21122. "goodunit": {
  21123. "description": "报价单位",
  21124. "type": "string"
  21125. },
  21126. "lasttradedate": {
  21127. "description": "最后交易日期(状态:待退市)",
  21128. "type": "string"
  21129. },
  21130. "listingdate": {
  21131. "description": "交易开始日期",
  21132. "type": "string"
  21133. },
  21134. "lotsize": {
  21135. "description": "手数最小变动单位",
  21136. "type": "integer"
  21137. },
  21138. "marketid": {
  21139. "description": "所属市场ID",
  21140. "type": "integer"
  21141. },
  21142. "picurls": {
  21143. "description": "介绍图片[多张用逗号分隔]",
  21144. "type": "string"
  21145. },
  21146. "presaledqty": {
  21147. "description": "已预售量(预售结束时更新)",
  21148. "type": "integer"
  21149. },
  21150. "presaleqty": {
  21151. "description": "预售数量",
  21152. "type": "integer"
  21153. },
  21154. "quoteminunit": {
  21155. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21156. "type": "integer"
  21157. },
  21158. "refprice": {
  21159. "description": "参考价格[一口价]",
  21160. "type": "number"
  21161. },
  21162. "relatedgoodsid": {
  21163. "description": "关联交易合约ID",
  21164. "type": "integer"
  21165. },
  21166. "stepvalue": {
  21167. "description": "价格最小变动单位",
  21168. "type": "number"
  21169. },
  21170. "trademode": {
  21171. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21172. "type": "integer"
  21173. },
  21174. "vendorattr": {
  21175. "description": "供应商附件(多张,逗号分隔)",
  21176. "type": "string"
  21177. },
  21178. "vendorname": {
  21179. "description": "供应商名称",
  21180. "type": "string"
  21181. },
  21182. "vendorphone": {
  21183. "description": "供应商客服电话",
  21184. "type": "string"
  21185. },
  21186. "videourls": {
  21187. "description": "介绍视频[多张用逗号分隔]",
  21188. "type": "string"
  21189. }
  21190. }
  21191. },
  21192. "models.HsbySellCollectionOrder": {
  21193. "type": "object",
  21194. "required": [
  21195. "goodscode",
  21196. "goodsname",
  21197. "tradeid",
  21198. "trademode"
  21199. ],
  21200. "properties": {
  21201. "agreeunit": {
  21202. "description": "合约单位",
  21203. "type": "number"
  21204. },
  21205. "buyaccountid": {
  21206. "description": "买方账号ID[报价币种]",
  21207. "type": "integer"
  21208. },
  21209. "buyorderid": {
  21210. "description": "买方委托单号",
  21211. "type": "string"
  21212. },
  21213. "createtime": {
  21214. "description": "创建时间",
  21215. "type": "string"
  21216. },
  21217. "currencysign": {
  21218. "description": "货币符号",
  21219. "type": "string"
  21220. },
  21221. "decimalplace": {
  21222. "description": "报价小数位",
  21223. "type": "integer"
  21224. },
  21225. "goodscode": {
  21226. "description": "商品代码(内部)",
  21227. "type": "string"
  21228. },
  21229. "goodsid": {
  21230. "description": "商品ID",
  21231. "type": "integer"
  21232. },
  21233. "goodsname": {
  21234. "description": "商品名称",
  21235. "type": "string"
  21236. },
  21237. "marketid": {
  21238. "description": "市场ID",
  21239. "type": "integer"
  21240. },
  21241. "offamount": {
  21242. "description": "优惠金额",
  21243. "type": "number"
  21244. },
  21245. "payamount": {
  21246. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21247. "type": "number"
  21248. },
  21249. "payflag": {
  21250. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21251. "type": "integer"
  21252. },
  21253. "paylimitedtime": {
  21254. "description": "支付期限",
  21255. "type": "string"
  21256. },
  21257. "paytime": {
  21258. "description": "付款时间",
  21259. "type": "string"
  21260. },
  21261. "picurls": {
  21262. "description": "商品介绍图片[多张用逗号分隔]",
  21263. "type": "string"
  21264. },
  21265. "sellaccountid": {
  21266. "description": "卖方账号ID[报价币种]",
  21267. "type": "integer"
  21268. },
  21269. "sellorderid": {
  21270. "description": "卖方委托单号",
  21271. "type": "string"
  21272. },
  21273. "tradeamount": {
  21274. "description": "成交金额",
  21275. "type": "number"
  21276. },
  21277. "tradecharge": {
  21278. "description": "成交手续费(买方)",
  21279. "type": "number"
  21280. },
  21281. "tradedate": {
  21282. "description": "交易日(yyyyMMdd)",
  21283. "type": "string"
  21284. },
  21285. "tradeid": {
  21286. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21287. "type": "string"
  21288. },
  21289. "trademode": {
  21290. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21291. "type": "integer"
  21292. },
  21293. "tradeprice": {
  21294. "description": "成交价格",
  21295. "type": "number"
  21296. },
  21297. "tradeqty": {
  21298. "description": "成交数量",
  21299. "type": "integer"
  21300. }
  21301. }
  21302. },
  21303. "models.HsbySellMyDetail": {
  21304. "type": "object",
  21305. "required": [
  21306. "accountid",
  21307. "buyorsell",
  21308. "goodscode",
  21309. "goodsid",
  21310. "goodsname",
  21311. "marketid",
  21312. "orderid",
  21313. "time",
  21314. "trademode"
  21315. ],
  21316. "properties": {
  21317. "accountid": {
  21318. "description": "账户ID[报价币种]",
  21319. "type": "integer"
  21320. },
  21321. "agreeunit": {
  21322. "description": "合约单位",
  21323. "type": "number"
  21324. },
  21325. "buyorsell": {
  21326. "description": "买卖 - 0:买 1:卖",
  21327. "type": "integer"
  21328. },
  21329. "currencysign": {
  21330. "description": "货币符号",
  21331. "type": "string"
  21332. },
  21333. "decimalplace": {
  21334. "description": "报价小数位",
  21335. "type": "integer"
  21336. },
  21337. "goodscode": {
  21338. "description": "商品代码(内部)",
  21339. "type": "string"
  21340. },
  21341. "goodsid": {
  21342. "description": "商品ID",
  21343. "type": "integer"
  21344. },
  21345. "goodsname": {
  21346. "description": "商品名称",
  21347. "type": "string"
  21348. },
  21349. "marketid": {
  21350. "description": "市场ID",
  21351. "type": "integer"
  21352. },
  21353. "orderid": {
  21354. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21355. "type": "string"
  21356. },
  21357. "ordertype": {
  21358. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21359. "type": "integer"
  21360. },
  21361. "picurls": {
  21362. "description": "介绍图片[多张用逗号分隔]",
  21363. "type": "string"
  21364. },
  21365. "price": {
  21366. "description": "价格",
  21367. "type": "number"
  21368. },
  21369. "qty": {
  21370. "description": "数量",
  21371. "type": "integer"
  21372. },
  21373. "time": {
  21374. "description": "时间",
  21375. "type": "string"
  21376. },
  21377. "trademode": {
  21378. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21379. "type": "integer"
  21380. },
  21381. "vendorname": {
  21382. "description": "供应商名称",
  21383. "type": "string"
  21384. }
  21385. }
  21386. },
  21387. "models.HsbyTopGoods": {
  21388. "type": "object",
  21389. "required": [
  21390. "goodscode",
  21391. "goodsid",
  21392. "goodsname",
  21393. "marketid",
  21394. "trademode"
  21395. ],
  21396. "properties": {
  21397. "agreeunit": {
  21398. "description": "合约单位",
  21399. "type": "number"
  21400. },
  21401. "currency": {
  21402. "description": "货币",
  21403. "type": "string"
  21404. },
  21405. "currencysign": {
  21406. "description": "货币符号",
  21407. "type": "string"
  21408. },
  21409. "decimalplace": {
  21410. "description": "报价小数位",
  21411. "type": "integer"
  21412. },
  21413. "desccityid": {
  21414. "description": "目的地(市)",
  21415. "type": "integer"
  21416. },
  21417. "descprovinceid": {
  21418. "description": "目的地(省)",
  21419. "type": "integer"
  21420. },
  21421. "goodscode": {
  21422. "description": "商品代码(内部)",
  21423. "type": "string"
  21424. },
  21425. "goodsid": {
  21426. "description": "商品ID(自增ID SEQ_GOODS)",
  21427. "type": "integer"
  21428. },
  21429. "goodsname": {
  21430. "description": "商品名称",
  21431. "type": "string"
  21432. },
  21433. "hotindex": {
  21434. "description": "景点热度",
  21435. "type": "integer"
  21436. },
  21437. "last": {
  21438. "description": "现价",
  21439. "type": "number"
  21440. },
  21441. "marketid": {
  21442. "description": "所属市场ID",
  21443. "type": "integer"
  21444. },
  21445. "picurls": {
  21446. "description": "介绍图片[多张用逗号分隔]",
  21447. "type": "string"
  21448. },
  21449. "quoteminunit": {
  21450. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21451. "type": "integer"
  21452. },
  21453. "trademode": {
  21454. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21455. "type": "integer"
  21456. },
  21457. "videourls": {
  21458. "description": "介绍视频[多张用逗号分隔]",
  21459. "type": "string"
  21460. }
  21461. }
  21462. },
  21463. "models.HybsMyBuyOrderDetail": {
  21464. "type": "object",
  21465. "required": [
  21466. "accountid",
  21467. "buyorsell",
  21468. "goodscode",
  21469. "goodsid",
  21470. "goodsname",
  21471. "marketid",
  21472. "orderid",
  21473. "orderqty",
  21474. "ordertime",
  21475. "trademode"
  21476. ],
  21477. "properties": {
  21478. "accountid": {
  21479. "description": "账户ID[报价币种]",
  21480. "type": "integer"
  21481. },
  21482. "agreeunit": {
  21483. "description": "合约单位",
  21484. "type": "number"
  21485. },
  21486. "buyorsell": {
  21487. "description": "买卖 - 0:买 1:卖",
  21488. "type": "integer"
  21489. },
  21490. "cancelqty": {
  21491. "description": "撤单数量",
  21492. "type": "integer"
  21493. },
  21494. "currencysign": {
  21495. "description": "货币符号",
  21496. "type": "string"
  21497. },
  21498. "decimalplace": {
  21499. "description": "报价小数位",
  21500. "type": "integer"
  21501. },
  21502. "goodscode": {
  21503. "description": "商品代码(内部)",
  21504. "type": "string"
  21505. },
  21506. "goodsid": {
  21507. "description": "商品ID",
  21508. "type": "integer"
  21509. },
  21510. "goodsname": {
  21511. "description": "商品名称",
  21512. "type": "string"
  21513. },
  21514. "listingselecttype": {
  21515. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21516. "type": "integer"
  21517. },
  21518. "marketid": {
  21519. "description": "市场ID",
  21520. "type": "integer"
  21521. },
  21522. "mybuystatus": {
  21523. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21524. "type": "integer"
  21525. },
  21526. "orderamount": {
  21527. "description": "委托金额",
  21528. "type": "number"
  21529. },
  21530. "orderid": {
  21531. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21532. "type": "string"
  21533. },
  21534. "orderprice": {
  21535. "description": "委托价格",
  21536. "type": "number"
  21537. },
  21538. "orderqty": {
  21539. "description": "委托数量",
  21540. "type": "integer"
  21541. },
  21542. "orderstatus": {
  21543. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21544. "type": "integer"
  21545. },
  21546. "ordertime": {
  21547. "description": "委托时间",
  21548. "type": "string"
  21549. },
  21550. "picurls1": {
  21551. "description": "预售商品介绍图片[多张用逗号分隔]",
  21552. "type": "string"
  21553. },
  21554. "picurls2": {
  21555. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21556. "type": "string"
  21557. },
  21558. "trademode": {
  21559. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21560. "type": "integer"
  21561. },
  21562. "tradeqty": {
  21563. "description": "成交数量",
  21564. "type": "integer"
  21565. },
  21566. "vendorname1": {
  21567. "description": "预售商品供应商名称",
  21568. "type": "string"
  21569. },
  21570. "vendorname2": {
  21571. "description": "挂牌商品供应商名称",
  21572. "type": "string"
  21573. }
  21574. }
  21575. },
  21576. "models.Loginaccount": {
  21577. "type": "object",
  21578. "required": [
  21579. "loginid"
  21580. ],
  21581. "properties": {
  21582. "canoutin": {
  21583. "description": "是否可出入金 - 0:不可 1:可",
  21584. "type": "integer"
  21585. },
  21586. "clientroleid": {
  21587. "description": "终端角色ID",
  21588. "type": "integer"
  21589. },
  21590. "haslogined": {
  21591. "description": "是否已登录 - 0:未登录 1:已登录",
  21592. "type": "integer"
  21593. },
  21594. "hasupdatedpwd": {
  21595. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21596. "type": "integer"
  21597. },
  21598. "lastloginip": {
  21599. "description": "最新登录地址",
  21600. "type": "string"
  21601. },
  21602. "lastloginmode": {
  21603. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21604. "type": "integer"
  21605. },
  21606. "lastloginremark": {
  21607. "description": "最新登录描述",
  21608. "type": "string"
  21609. },
  21610. "lastlogintime": {
  21611. "description": "最新登录时间",
  21612. "type": "string"
  21613. },
  21614. "logincode": {
  21615. "description": "登录代码",
  21616. "type": "string"
  21617. },
  21618. "loginfailnum": {
  21619. "description": "连续登录失败次数(登录成功时清零)",
  21620. "type": "integer"
  21621. },
  21622. "loginid": {
  21623. "description": "登陆账号",
  21624. "type": "integer"
  21625. },
  21626. "loginport": {
  21627. "description": "最新登录端口",
  21628. "type": "integer"
  21629. },
  21630. "loginstatus": {
  21631. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21632. "type": "integer"
  21633. },
  21634. "loginusertype": {
  21635. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21636. "type": "integer"
  21637. },
  21638. "modifierid": {
  21639. "description": "修改人",
  21640. "type": "integer"
  21641. },
  21642. "modifytime": {
  21643. "description": "修改时间",
  21644. "type": "string"
  21645. },
  21646. "pwdwrongcount": {
  21647. "description": "密码错误次数",
  21648. "type": "integer"
  21649. },
  21650. "taaccountrighttype": {
  21651. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21652. "type": "integer"
  21653. },
  21654. "unfreezetime": {
  21655. "description": "账户解冻时间",
  21656. "type": "string"
  21657. },
  21658. "userid": {
  21659. "description": "用户ID",
  21660. "type": "integer"
  21661. }
  21662. }
  21663. },
  21664. "models.MainAccountInfo": {
  21665. "type": "object",
  21666. "properties": {
  21667. "accountid": {
  21668. "description": "账号id",
  21669. "type": "integer"
  21670. },
  21671. "accountname": {
  21672. "description": "账号名称(taaccount表中的名称)",
  21673. "type": "string"
  21674. },
  21675. "appid": {
  21676. "description": "AppID",
  21677. "type": "string"
  21678. },
  21679. "authcode": {
  21680. "description": "授权码",
  21681. "type": "string"
  21682. },
  21683. "brokerid": {
  21684. "description": "经纪商id",
  21685. "type": "string"
  21686. },
  21687. "fcid": {
  21688. "description": "期货公司id",
  21689. "type": "integer"
  21690. },
  21691. "fcname": {
  21692. "description": "期货公司代码",
  21693. "type": "string"
  21694. },
  21695. "hedgeaccountcode": {
  21696. "description": "外部账号代码(主账号登录代码)",
  21697. "type": "string"
  21698. },
  21699. "hedgeaccountpwd": {
  21700. "description": "密码",
  21701. "type": "string"
  21702. },
  21703. "ismain": {
  21704. "description": "是否主账号",
  21705. "type": "integer"
  21706. },
  21707. "relateduserid": {
  21708. "description": "关联用户id",
  21709. "type": "integer"
  21710. },
  21711. "userid": {
  21712. "description": "关联用户id",
  21713. "type": "integer"
  21714. }
  21715. }
  21716. },
  21717. "models.Market": {
  21718. "type": "object",
  21719. "required": [
  21720. "marketid",
  21721. "marketstatus",
  21722. "openmethod",
  21723. "reckonpricealgorithm",
  21724. "trademode",
  21725. "tradeproperty"
  21726. ],
  21727. "properties": {
  21728. "auctionwrtype": {
  21729. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21730. "type": "integer"
  21731. },
  21732. "canacceptquote": {
  21733. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21734. "type": "integer"
  21735. },
  21736. "cangoodsexercise": {
  21737. "description": "[期权]是否可现货行权- 0:否 1:是",
  21738. "type": "integer"
  21739. },
  21740. "cangoodsexercisetype": {
  21741. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21742. "type": "integer"
  21743. },
  21744. "canmanualquotestrike": {
  21745. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21746. "type": "integer"
  21747. },
  21748. "canmutistage": {
  21749. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21750. "type": "integer"
  21751. },
  21752. "canpreexercise": {
  21753. "description": "[期权]是否可预申报- 0:否 1:是",
  21754. "type": "integer"
  21755. },
  21756. "clearinterval": {
  21757. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21758. "type": "integer"
  21759. },
  21760. "contracttmp": {
  21761. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21762. "type": "string"
  21763. },
  21764. "exchareaid": {
  21765. "description": "所属交易所,可以没有",
  21766. "type": "integer"
  21767. },
  21768. "goodstype": {
  21769. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21770. "type": "integer"
  21771. },
  21772. "hasrebate": {
  21773. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21774. "type": "integer"
  21775. },
  21776. "hastradecredit": {
  21777. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21778. "type": "integer"
  21779. },
  21780. "haswr": {
  21781. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21782. "type": "integer"
  21783. },
  21784. "isdeductmargin": {
  21785. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21786. "type": "integer"
  21787. },
  21788. "isrecordsource": {
  21789. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21790. "type": "integer"
  21791. },
  21792. "isreleasemargin": {
  21793. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21794. "type": "integer"
  21795. },
  21796. "marginformula": {
  21797. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21798. "type": "integer"
  21799. },
  21800. "marginformula2": {
  21801. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21802. "type": "integer"
  21803. },
  21804. "marketid": {
  21805. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21806. "type": "integer"
  21807. },
  21808. "marketname": {
  21809. "description": "市场名称",
  21810. "type": "string"
  21811. },
  21812. "marketserviceid": {
  21813. "description": "市场服务ID",
  21814. "type": "integer"
  21815. },
  21816. "marketstatus": {
  21817. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21818. "type": "integer"
  21819. },
  21820. "markettype": {
  21821. "description": "市场类型- 1:非交易服务 2:交易服务",
  21822. "type": "integer"
  21823. },
  21824. "matchermode": {
  21825. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21826. "type": "integer"
  21827. },
  21828. "openmethod": {
  21829. "description": "开盘模式 - 0 自动 1手动",
  21830. "type": "integer"
  21831. },
  21832. "otcuserid": {
  21833. "description": "场外期权做市商[场外期权]",
  21834. "type": "integer"
  21835. },
  21836. "outersynctime": {
  21837. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21838. "type": "string"
  21839. },
  21840. "pendingflag": {
  21841. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21842. "type": "integer"
  21843. },
  21844. "pendingtime": {
  21845. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21846. "type": "string"
  21847. },
  21848. "performancetempid": {
  21849. "description": "履约计划模板ID - 作废",
  21850. "type": "integer"
  21851. },
  21852. "premiumquotemode": {
  21853. "description": "权利金报价方式 - 1:自动 2:手动",
  21854. "type": "integer"
  21855. },
  21856. "rebateratio": {
  21857. "description": "返利比率[竞价式]",
  21858. "type": "number"
  21859. },
  21860. "reckonorder": {
  21861. "description": "结算顺序",
  21862. "type": "integer"
  21863. },
  21864. "reckonpricealgorithm": {
  21865. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21866. "type": "integer"
  21867. },
  21868. "reckonpriceparam": {
  21869. "description": "结算价参数",
  21870. "type": "integer"
  21871. },
  21872. "reckontime": {
  21873. "description": "结算时间[通道交易-对冲](HH:mm)",
  21874. "type": "string"
  21875. },
  21876. "roleprioritytype": {
  21877. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21878. "type": "integer"
  21879. },
  21880. "selllistingauditflag": {
  21881. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21882. "type": "integer"
  21883. },
  21884. "trademarkettype": {
  21885. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21886. "type": "integer"
  21887. },
  21888. "trademode": {
  21889. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21890. "type": "integer"
  21891. },
  21892. "tradeproperty": {
  21893. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21894. "type": "integer"
  21895. },
  21896. "tradetype": {
  21897. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21898. "type": "integer"
  21899. }
  21900. }
  21901. },
  21902. "models.Marketrun": {
  21903. "type": "object",
  21904. "required": [
  21905. "marketid",
  21906. "nexttradedate",
  21907. "reckonflag",
  21908. "runstatus",
  21909. "tradedate",
  21910. "tradedate2"
  21911. ],
  21912. "properties": {
  21913. "afternexttradedate": {
  21914. "description": "下下交易日",
  21915. "type": "string"
  21916. },
  21917. "clearquoteflag": {
  21918. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21919. "type": "integer"
  21920. },
  21921. "lastreckondate": {
  21922. "description": "最新交易日(结算成功)",
  21923. "type": "string"
  21924. },
  21925. "machinedate": {
  21926. "description": "机器时间",
  21927. "type": "string"
  21928. },
  21929. "manualflag": {
  21930. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21931. "type": "integer"
  21932. },
  21933. "marketid": {
  21934. "description": "市场ID",
  21935. "type": "integer"
  21936. },
  21937. "nexttradedate": {
  21938. "description": "下一交易日",
  21939. "type": "string"
  21940. },
  21941. "pretradedate": {
  21942. "description": "上一交易日",
  21943. "type": "string"
  21944. },
  21945. "reckonflag": {
  21946. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21947. "type": "integer"
  21948. },
  21949. "runstatus": {
  21950. "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.今日免清算",
  21951. "type": "integer"
  21952. },
  21953. "sectionid": {
  21954. "description": "时间段号[多时段时用]",
  21955. "type": "integer"
  21956. },
  21957. "tradedate": {
  21958. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21959. "type": "string"
  21960. },
  21961. "tradedate2": {
  21962. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21963. "type": "string"
  21964. },
  21965. "updatetime": {
  21966. "description": "更新时间",
  21967. "type": "string"
  21968. }
  21969. }
  21970. },
  21971. "models.Messageboard": {
  21972. "type": "object",
  21973. "required": [
  21974. "messageboardid"
  21975. ],
  21976. "properties": {
  21977. "contactnum": {
  21978. "description": "联系电话",
  21979. "type": "string"
  21980. },
  21981. "createtime": {
  21982. "description": "创建时间",
  21983. "type": "string"
  21984. },
  21985. "message": {
  21986. "description": "留言信息",
  21987. "type": "string"
  21988. },
  21989. "messageboardid": {
  21990. "description": "留言簿ID(SEQ_MessageBoard)",
  21991. "type": "integer"
  21992. },
  21993. "userid": {
  21994. "description": "用户ID",
  21995. "type": "integer"
  21996. }
  21997. }
  21998. },
  21999. "models.MyCoupon": {
  22000. "type": "object",
  22001. "required": [
  22002. "accountid",
  22003. "coupontypeid"
  22004. ],
  22005. "properties": {
  22006. "accountid": {
  22007. "description": "资金账户ID",
  22008. "type": "integer"
  22009. },
  22010. "areauserid": {
  22011. "description": "所属机构",
  22012. "type": "integer"
  22013. },
  22014. "conditionvalue": {
  22015. "description": "条件阈值(可为0)",
  22016. "type": "number"
  22017. },
  22018. "couponcategroy": {
  22019. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22020. "type": "integer"
  22021. },
  22022. "couponname": {
  22023. "description": "优惠券名称",
  22024. "type": "string"
  22025. },
  22026. "coupontypeid": {
  22027. "description": "优惠券类型ID",
  22028. "type": "string"
  22029. },
  22030. "couponvalue": {
  22031. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22032. "type": "number"
  22033. },
  22034. "curfreezeqty": {
  22035. "description": "期末冻结数量",
  22036. "type": "integer"
  22037. },
  22038. "curqty": {
  22039. "description": "期末数量",
  22040. "type": "integer"
  22041. },
  22042. "isgeneral": {
  22043. "description": "是否通用券 - 0:否 1:是",
  22044. "type": "integer"
  22045. },
  22046. "isunusable": {
  22047. "description": "是否不可用",
  22048. "type": "boolean"
  22049. },
  22050. "limitedflag": {
  22051. "description": "是否指定商品 - 0:不限 1:限制",
  22052. "type": "integer"
  22053. },
  22054. "limitedgoodsids": {
  22055. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22056. "type": "string"
  22057. },
  22058. "orifreezeqty": {
  22059. "description": "期初冻结数量",
  22060. "type": "integer"
  22061. },
  22062. "oriqty": {
  22063. "description": "期初数量",
  22064. "type": "integer"
  22065. },
  22066. "reasontype": {
  22067. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22068. "type": "integer"
  22069. },
  22070. "todaydecrease": {
  22071. "description": "今日减少",
  22072. "type": "integer"
  22073. },
  22074. "todayincrease": {
  22075. "description": "今日增加",
  22076. "type": "integer"
  22077. },
  22078. "userid": {
  22079. "description": "用户ID",
  22080. "type": "integer"
  22081. },
  22082. "userscope": {
  22083. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22084. "type": "string"
  22085. }
  22086. }
  22087. },
  22088. "models.MyCouponHold": {
  22089. "type": "object",
  22090. "required": [
  22091. "couponholdid"
  22092. ],
  22093. "properties": {
  22094. "accountid": {
  22095. "description": "资金账户ID",
  22096. "type": "integer"
  22097. },
  22098. "conditionvalue": {
  22099. "description": "条件阈值(可为0)",
  22100. "type": "number"
  22101. },
  22102. "couponcategroy": {
  22103. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22104. "type": "integer"
  22105. },
  22106. "couponholdid": {
  22107. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22108. "type": "string"
  22109. },
  22110. "couponname": {
  22111. "description": "优惠券名称",
  22112. "type": "string"
  22113. },
  22114. "coupontypeid": {
  22115. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22116. "type": "string"
  22117. },
  22118. "couponvalue": {
  22119. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22120. "type": "number"
  22121. },
  22122. "createtime": {
  22123. "description": "创建时间",
  22124. "type": "string"
  22125. },
  22126. "enddate": {
  22127. "description": "结束日期",
  22128. "type": "string"
  22129. },
  22130. "giveapplyid": {
  22131. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22132. "type": "integer"
  22133. },
  22134. "holdstatus": {
  22135. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22136. "type": "integer"
  22137. },
  22138. "isgeneral": {
  22139. "description": "是否通用券 - 0:否 1:是",
  22140. "type": "integer"
  22141. },
  22142. "limitedflag": {
  22143. "description": "是否指定商品 - 0:不限 1:限制",
  22144. "type": "integer"
  22145. },
  22146. "limitedgoodsids": {
  22147. "description": "指定商品IDs[逗号分隔]",
  22148. "type": "string"
  22149. },
  22150. "qty": {
  22151. "description": "数量(按1平铺)",
  22152. "type": "integer"
  22153. },
  22154. "startdate": {
  22155. "description": "开始日期",
  22156. "type": "string"
  22157. },
  22158. "userid": {
  22159. "description": "用户ID",
  22160. "type": "integer"
  22161. },
  22162. "userscope": {
  22163. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22164. "type": "string"
  22165. }
  22166. }
  22167. },
  22168. "models.MyUsedCoupon": {
  22169. "type": "object",
  22170. "required": [
  22171. "coupontypeid",
  22172. "orderid"
  22173. ],
  22174. "properties": {
  22175. "accountid": {
  22176. "description": "资金账户ID(买方)",
  22177. "type": "integer"
  22178. },
  22179. "conditionvalue": {
  22180. "description": "条件阈值(可为0)",
  22181. "type": "number"
  22182. },
  22183. "couponcategroy": {
  22184. "description": "种类 - 1:现金券 2:折扣券",
  22185. "type": "integer"
  22186. },
  22187. "couponname": {
  22188. "description": "优惠券名称",
  22189. "type": "string"
  22190. },
  22191. "coupontypeid": {
  22192. "description": "优惠券类型ID(买方)",
  22193. "type": "string"
  22194. },
  22195. "couponvalue": {
  22196. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22197. "type": "number"
  22198. },
  22199. "createtime": {
  22200. "description": "创建时间",
  22201. "type": "string"
  22202. },
  22203. "goodsid": {
  22204. "description": "商品ID",
  22205. "type": "integer"
  22206. },
  22207. "handlestatus": {
  22208. "description": "处理状态",
  22209. "type": "integer"
  22210. },
  22211. "marketid": {
  22212. "description": "市场ID",
  22213. "type": "integer"
  22214. },
  22215. "offamount": {
  22216. "description": "优惠金额",
  22217. "type": "number"
  22218. },
  22219. "orderid": {
  22220. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22221. "type": "string"
  22222. },
  22223. "sellaccountid": {
  22224. "description": "资金账户ID(卖方)",
  22225. "type": "integer"
  22226. },
  22227. "tradeamount": {
  22228. "description": "成交金额",
  22229. "type": "number"
  22230. },
  22231. "tradeid": {
  22232. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22233. "type": "string"
  22234. },
  22235. "usedqty": {
  22236. "description": "使用数量",
  22237. "type": "integer"
  22238. }
  22239. }
  22240. },
  22241. "models.OperationPrimaryMenu": {
  22242. "type": "object",
  22243. "properties": {
  22244. "Children": {
  22245. "description": "二级功能菜单",
  22246. "type": "array",
  22247. "items": {
  22248. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22249. }
  22250. },
  22251. "Key": {
  22252. "description": "菜单KEY",
  22253. "type": "string"
  22254. },
  22255. "Label": {
  22256. "description": "菜单标题",
  22257. "type": "string"
  22258. }
  22259. }
  22260. },
  22261. "models.OperationSecondaryMenu": {
  22262. "type": "object",
  22263. "properties": {
  22264. "Key": {
  22265. "description": "菜单KEY",
  22266. "type": "string"
  22267. },
  22268. "Label": {
  22269. "description": "菜单标题",
  22270. "type": "string"
  22271. },
  22272. "TabList": {
  22273. "description": "三级功能菜单",
  22274. "type": "array",
  22275. "items": {
  22276. "$ref": "#/definitions/models.OperationTabMenu"
  22277. }
  22278. }
  22279. }
  22280. },
  22281. "models.OperationTabMenu": {
  22282. "type": "object",
  22283. "properties": {
  22284. "Key": {
  22285. "description": "菜单KEY",
  22286. "type": "string"
  22287. },
  22288. "Label": {
  22289. "description": "菜单标题",
  22290. "type": "string"
  22291. }
  22292. }
  22293. },
  22294. "models.PendingAuditBizModel": {
  22295. "type": "object",
  22296. "properties": {
  22297. "accountid": {
  22298. "description": "现货账户",
  22299. "type": "string"
  22300. },
  22301. "areaname": {
  22302. "description": "所属部门",
  22303. "type": "string"
  22304. },
  22305. "bizid": {
  22306. "description": "业务ID",
  22307. "type": "string"
  22308. },
  22309. "bizname": {
  22310. "description": "业务名称",
  22311. "type": "string"
  22312. },
  22313. "status": {
  22314. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22315. "type": "integer"
  22316. },
  22317. "type": {
  22318. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22319. "type": "integer"
  22320. }
  22321. }
  22322. },
  22323. "models.QueryErrorInfosRsp": {
  22324. "type": "object",
  22325. "required": [
  22326. "errorid"
  22327. ],
  22328. "properties": {
  22329. "description": {
  22330. "description": "异常描述",
  22331. "type": "string"
  22332. },
  22333. "errorcode": {
  22334. "description": "异常代码",
  22335. "type": "string"
  22336. },
  22337. "errorid": {
  22338. "description": "异常ID",
  22339. "type": "integer"
  22340. },
  22341. "modulecode": {
  22342. "description": "所属模块",
  22343. "type": "string"
  22344. },
  22345. "operatecode": {
  22346. "description": "所属操作",
  22347. "type": "string"
  22348. },
  22349. "rownumber": {
  22350. "description": "行号",
  22351. "type": "string"
  22352. }
  22353. }
  22354. },
  22355. "models.QueryHedgeOrderDetailRsp": {
  22356. "type": "object",
  22357. "properties": {
  22358. "accountid": {
  22359. "description": "账户ID",
  22360. "type": "integer"
  22361. },
  22362. "buyorsell": {
  22363. "description": "买卖 - 0:买 1:卖",
  22364. "type": "integer"
  22365. },
  22366. "cancellogincode": {
  22367. "description": "撤单人",
  22368. "type": "string"
  22369. },
  22370. "channelbuildtype": {
  22371. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  22372. "type": "integer"
  22373. },
  22374. "channelinnerorderstatus": {
  22375. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  22376. "type": "integer"
  22377. },
  22378. "channeloperatetype": {
  22379. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  22380. "type": "integer"
  22381. },
  22382. "closetype": {
  22383. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22384. "type": "integer"
  22385. },
  22386. "curexchangerate": {
  22387. "description": "当前汇率",
  22388. "type": "number"
  22389. },
  22390. "exchangefullname": {
  22391. "description": "外部交易所全称",
  22392. "type": "string"
  22393. },
  22394. "goodscode": {
  22395. "description": "商品代码(内部)",
  22396. "type": "string"
  22397. },
  22398. "goodsid": {
  22399. "description": "商品ID",
  22400. "type": "integer"
  22401. },
  22402. "goodsname": {
  22403. "description": "商品名称",
  22404. "type": "string"
  22405. },
  22406. "marketid": {
  22407. "description": "市场ID",
  22408. "type": "integer"
  22409. },
  22410. "openfreezemargin": {
  22411. "description": "冻结保证金(冻结交易金额)",
  22412. "type": "number"
  22413. },
  22414. "orderid": {
  22415. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22416. "type": "string"
  22417. },
  22418. "orderlogincode": {
  22419. "description": "委托人",
  22420. "type": "string"
  22421. },
  22422. "orderprice": {
  22423. "description": "委托价格(账户)",
  22424. "type": "number"
  22425. },
  22426. "orderqty": {
  22427. "description": "委托数量",
  22428. "type": "integer"
  22429. },
  22430. "ordertime": {
  22431. "description": "委托时间",
  22432. "type": "string"
  22433. },
  22434. "pricemode": {
  22435. "description": "取价方式 - 1:市价 2: 限价",
  22436. "type": "integer"
  22437. },
  22438. "tradedate": {
  22439. "description": "交易日(yyyyMMdd)",
  22440. "type": "string"
  22441. },
  22442. "tradeqty": {
  22443. "description": "成交数量",
  22444. "type": "integer"
  22445. }
  22446. }
  22447. },
  22448. "models.QueryHedgeTradeDetailRsp": {
  22449. "type": "object",
  22450. "properties": {
  22451. "accountid": {
  22452. "description": "账号ID",
  22453. "type": "integer"
  22454. },
  22455. "buyorsell": {
  22456. "description": "方向 - 0:买 1:卖",
  22457. "type": "integer"
  22458. },
  22459. "channelbuildtype": {
  22460. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22461. "type": "integer"
  22462. },
  22463. "closecharge": {
  22464. "description": "平仓手续费(账户)",
  22465. "type": "number"
  22466. },
  22467. "closecharge2": {
  22468. "description": "平仓手续费(商品)",
  22469. "type": "number"
  22470. },
  22471. "closepl": {
  22472. "description": "平仓盈亏(账户)",
  22473. "type": "number"
  22474. },
  22475. "closepl2": {
  22476. "description": "平仓盈亏(商品)",
  22477. "type": "number"
  22478. },
  22479. "closepl3": {
  22480. "description": "平仓盈亏(账户)(逐笔)",
  22481. "type": "number"
  22482. },
  22483. "closepl4": {
  22484. "description": "平仓盈亏(商品)(逐笔)",
  22485. "type": "number"
  22486. },
  22487. "closetype": {
  22488. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22489. "type": "integer"
  22490. },
  22491. "curexchangerate": {
  22492. "description": "当前汇率",
  22493. "type": "number"
  22494. },
  22495. "exchangefullname": {
  22496. "description": "外部交易所全称",
  22497. "type": "string"
  22498. },
  22499. "goodscode": {
  22500. "description": "商品代码(内部)",
  22501. "type": "string"
  22502. },
  22503. "goodsid": {
  22504. "description": "商品ID",
  22505. "type": "integer"
  22506. },
  22507. "goodsname": {
  22508. "description": "商品名称",
  22509. "type": "string"
  22510. },
  22511. "marketid": {
  22512. "description": "市场ID",
  22513. "type": "integer"
  22514. },
  22515. "opencharge": {
  22516. "description": "建仓手续费(账户)",
  22517. "type": "number"
  22518. },
  22519. "opencharge2": {
  22520. "description": "建仓手续费(商品)",
  22521. "type": "number"
  22522. },
  22523. "orderid": {
  22524. "description": "委托单号",
  22525. "type": "string"
  22526. },
  22527. "orderlogincode": {
  22528. "description": "委托人",
  22529. "type": "string"
  22530. },
  22531. "tradeamount": {
  22532. "description": "成交金额(账户)",
  22533. "type": "number"
  22534. },
  22535. "tradedate": {
  22536. "description": "交易日(yyyyMMdd)",
  22537. "type": "string"
  22538. },
  22539. "tradeid": {
  22540. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22541. "type": "string"
  22542. },
  22543. "tradeprice": {
  22544. "description": "成交价格",
  22545. "type": "number"
  22546. },
  22547. "tradeqty": {
  22548. "description": "成交数量",
  22549. "type": "integer"
  22550. },
  22551. "tradetime": {
  22552. "description": "成交时间",
  22553. "type": "string"
  22554. },
  22555. "tradetype": {
  22556. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22557. "type": "integer"
  22558. }
  22559. }
  22560. },
  22561. "models.QuotePrimaryMenu": {
  22562. "type": "object",
  22563. "properties": {
  22564. "Index": {
  22565. "description": "序号",
  22566. "type": "integer"
  22567. },
  22568. "Key": {
  22569. "description": "键名",
  22570. "type": "string"
  22571. },
  22572. "Name": {
  22573. "description": "菜单名称",
  22574. "type": "string"
  22575. },
  22576. "SubMenus": {
  22577. "description": "子菜单",
  22578. "type": "array",
  22579. "items": {
  22580. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  22581. }
  22582. },
  22583. "SubTitleType": {
  22584. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  22585. "type": "integer"
  22586. },
  22587. "TradeModes": {
  22588. "description": "包含市场交易类型",
  22589. "type": "string"
  22590. }
  22591. }
  22592. },
  22593. "models.QuoteSecondaryMenu": {
  22594. "type": "object",
  22595. "properties": {
  22596. "ExExchangeCode": {
  22597. "description": "外部交易所代码",
  22598. "type": "string"
  22599. },
  22600. "ExExchangeID": {
  22601. "description": "外部交易所ID",
  22602. "type": "integer"
  22603. },
  22604. "GoodsGroupIDs": {
  22605. "description": "商品组ID列表",
  22606. "type": "array",
  22607. "items": {
  22608. "type": "integer"
  22609. }
  22610. },
  22611. "Index": {
  22612. "description": "序号",
  22613. "type": "integer"
  22614. },
  22615. "MarketID": {
  22616. "description": "市场ID",
  22617. "type": "integer"
  22618. },
  22619. "MenuTitle": {
  22620. "description": "菜单标题(市场名称或外部交易所名称)",
  22621. "type": "string"
  22622. },
  22623. "TradeMode": {
  22624. "description": "交易模式",
  22625. "type": "integer"
  22626. }
  22627. }
  22628. },
  22629. "models.RelatedGoodsEx": {
  22630. "type": "object",
  22631. "properties": {
  22632. "goodscode": {
  22633. "description": "商品代码",
  22634. "type": "string"
  22635. },
  22636. "goodsid": {
  22637. "description": "商品id",
  22638. "type": "integer"
  22639. },
  22640. "goodsname": {
  22641. "description": "商品名称",
  22642. "type": "string"
  22643. }
  22644. }
  22645. },
  22646. "models.SearchGoods": {
  22647. "type": "object",
  22648. "required": [
  22649. "goodscode",
  22650. "goodsid",
  22651. "goodsname",
  22652. "marketid",
  22653. "trademode"
  22654. ],
  22655. "properties": {
  22656. "goodscode": {
  22657. "description": "商品代码(内部)",
  22658. "type": "string"
  22659. },
  22660. "goodsid": {
  22661. "description": "商品ID(自增ID SEQ_GOODS)",
  22662. "type": "integer"
  22663. },
  22664. "goodsname": {
  22665. "description": "商品名称",
  22666. "type": "string"
  22667. },
  22668. "marketid": {
  22669. "description": "所属市场ID",
  22670. "type": "integer"
  22671. },
  22672. "marketname": {
  22673. "description": "市场名称",
  22674. "type": "string"
  22675. },
  22676. "trademode": {
  22677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22678. "type": "integer"
  22679. }
  22680. }
  22681. },
  22682. "models.Systemparam": {
  22683. "type": "object",
  22684. "required": [
  22685. "paramcode"
  22686. ],
  22687. "properties": {
  22688. "loginid": {
  22689. "description": "更新用户账号,登录账号",
  22690. "type": "string"
  22691. },
  22692. "modifyflag": {
  22693. "description": "修改标志0 不允许修改 1 允许修改",
  22694. "type": "integer"
  22695. },
  22696. "paramcode": {
  22697. "description": "参数代码",
  22698. "type": "string"
  22699. },
  22700. "paramname": {
  22701. "description": "参数名",
  22702. "type": "string"
  22703. },
  22704. "paramtype": {
  22705. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22706. "type": "integer"
  22707. },
  22708. "paramvalue": {
  22709. "description": "参数值",
  22710. "type": "string"
  22711. },
  22712. "paramvalue2": {
  22713. "description": "参数值(CLOB)",
  22714. "type": "string"
  22715. },
  22716. "regexpress": {
  22717. "description": "正则表达式",
  22718. "type": "string"
  22719. },
  22720. "remark": {
  22721. "description": "备注",
  22722. "type": "string"
  22723. },
  22724. "serverip": {
  22725. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22726. "type": "string"
  22727. },
  22728. "showflag": {
  22729. "description": "是否显示0 不显示 1 显示",
  22730. "type": "integer"
  22731. },
  22732. "updatetime": {
  22733. "description": "更新时间",
  22734. "type": "string"
  22735. },
  22736. "userid": {
  22737. "description": "更新用户ID",
  22738. "type": "integer"
  22739. }
  22740. }
  22741. },
  22742. "models.Szdz3convertconfig": {
  22743. "type": "object",
  22744. "required": [
  22745. "converttype",
  22746. "innergoodsid",
  22747. "outergoodscode"
  22748. ],
  22749. "properties": {
  22750. "canin": {
  22751. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22752. "type": "integer"
  22753. },
  22754. "canout": {
  22755. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22756. "type": "integer"
  22757. },
  22758. "converttype": {
  22759. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22760. "type": "integer"
  22761. },
  22762. "createtime": {
  22763. "description": "创建时间",
  22764. "type": "string"
  22765. },
  22766. "creatorid": {
  22767. "description": "创建人",
  22768. "type": "integer"
  22769. },
  22770. "daymaxvalue": {
  22771. "description": "当日最大转入限制",
  22772. "type": "number"
  22773. },
  22774. "freezedays": {
  22775. "description": "冻结天数 [5:花生米转交易]",
  22776. "type": "integer"
  22777. },
  22778. "innergoodsid": {
  22779. "description": "内部商品ID[交易]",
  22780. "type": "integer"
  22781. },
  22782. "inratio": {
  22783. "description": "目标值",
  22784. "type": "integer"
  22785. },
  22786. "modifierid": {
  22787. "description": "修改人",
  22788. "type": "integer"
  22789. },
  22790. "modifytime": {
  22791. "description": "修改时间",
  22792. "type": "string"
  22793. },
  22794. "outergoodscode": {
  22795. "description": "外部商品代码[JD\\PD]",
  22796. "type": "string"
  22797. },
  22798. "outratio": {
  22799. "description": "源值",
  22800. "type": "integer"
  22801. },
  22802. "pddecimalplace": {
  22803. "description": "PD小数位",
  22804. "type": "integer"
  22805. },
  22806. "timemaxvalue": {
  22807. "description": "单次最大转入限制",
  22808. "type": "number"
  22809. },
  22810. "timeminvalue": {
  22811. "description": "单次最小转入限制",
  22812. "type": "number"
  22813. }
  22814. }
  22815. },
  22816. "models.Szdz3searchwhitelist": {
  22817. "type": "object",
  22818. "required": [
  22819. "userid"
  22820. ],
  22821. "properties": {
  22822. "createtime": {
  22823. "description": "创建时间",
  22824. "type": "string"
  22825. },
  22826. "creatorid": {
  22827. "description": "创建人",
  22828. "type": "integer"
  22829. },
  22830. "modifierid": {
  22831. "description": "修改人",
  22832. "type": "integer"
  22833. },
  22834. "modifytime": {
  22835. "description": "修改时间",
  22836. "type": "string"
  22837. },
  22838. "userid": {
  22839. "description": "用户ID",
  22840. "type": "integer"
  22841. }
  22842. }
  22843. },
  22844. "models.Taaccount": {
  22845. "type": "object",
  22846. "required": [
  22847. "accountid",
  22848. "userid"
  22849. ],
  22850. "properties": {
  22851. "accountflag": {
  22852. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22853. "type": "integer"
  22854. },
  22855. "accountid": {
  22856. "description": "资金账户ID",
  22857. "type": "integer"
  22858. },
  22859. "accountname": {
  22860. "description": "账户名称",
  22861. "type": "string"
  22862. },
  22863. "balance": {
  22864. "description": "期初余额",
  22865. "type": "number"
  22866. },
  22867. "capitalbalance": {
  22868. "description": "本金余额[外部子账户实际出入金余额]",
  22869. "type": "number"
  22870. },
  22871. "changeflag": {
  22872. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22873. "type": "integer"
  22874. },
  22875. "changetime": {
  22876. "description": "账户状态变更时间",
  22877. "type": "string"
  22878. },
  22879. "closepl": {
  22880. "description": "今日平仓盈亏",
  22881. "type": "number"
  22882. },
  22883. "creditdecrease": {
  22884. "description": "今日授信减少",
  22885. "type": "number"
  22886. },
  22887. "creditincrease": {
  22888. "description": "今日授信增加",
  22889. "type": "number"
  22890. },
  22891. "currencyid": {
  22892. "description": "货币ID",
  22893. "type": "integer"
  22894. },
  22895. "currentbalance": {
  22896. "description": "期末余额",
  22897. "type": "number"
  22898. },
  22899. "freezecharge": {
  22900. "description": "手续费冻结",
  22901. "type": "number"
  22902. },
  22903. "freezemargin": {
  22904. "description": "冻结保证金",
  22905. "type": "number"
  22906. },
  22907. "fromaccountid": {
  22908. "description": "所属上级账户",
  22909. "type": "integer"
  22910. },
  22911. "inamount": {
  22912. "description": "今日入金金额(包括三方入金)",
  22913. "type": "number"
  22914. },
  22915. "ismain": {
  22916. "description": "是否母账号 0:不是母账户 1:是母账户",
  22917. "type": "integer"
  22918. },
  22919. "ismarketaccount": {
  22920. "description": "是否机构接单账号 0:不是 1:是",
  22921. "type": "integer"
  22922. },
  22923. "isreckonaccount": {
  22924. "description": "是否机构分润账号 0:不是 1:是",
  22925. "type": "integer"
  22926. },
  22927. "mortgagecredit": {
  22928. "description": "授信金额",
  22929. "type": "number"
  22930. },
  22931. "orifreezecharge": {
  22932. "description": "期初手续费冻结",
  22933. "type": "number"
  22934. },
  22935. "orifreezemargin": {
  22936. "description": "期初冻结保证金",
  22937. "type": "number"
  22938. },
  22939. "orimortgagecredit": {
  22940. "description": "期初授信金额",
  22941. "type": "number"
  22942. },
  22943. "oriothercredit": {
  22944. "description": "期初其它授信金额",
  22945. "type": "number"
  22946. },
  22947. "oriotherfreezemargin": {
  22948. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22949. "type": "number"
  22950. },
  22951. "orioutamountfreeze": {
  22952. "description": "期初出金冻结",
  22953. "type": "number"
  22954. },
  22955. "oriusedmargin": {
  22956. "description": "期初占用保证金",
  22957. "type": "number"
  22958. },
  22959. "othercredit": {
  22960. "description": "其它授信金额",
  22961. "type": "number"
  22962. },
  22963. "othercreditdecrease": {
  22964. "description": "今日其它授信减少",
  22965. "type": "number"
  22966. },
  22967. "othercreditincrease": {
  22968. "description": "今日其它授信增加",
  22969. "type": "number"
  22970. },
  22971. "otherfreezemargin": {
  22972. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22973. "type": "number"
  22974. },
  22975. "otherincome": {
  22976. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22977. "type": "number"
  22978. },
  22979. "otherpay": {
  22980. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22981. "type": "number"
  22982. },
  22983. "outamount": {
  22984. "description": "今日出金金额(包括三方出金)",
  22985. "type": "number"
  22986. },
  22987. "outamountfreeze": {
  22988. "description": "出金冻结",
  22989. "type": "number"
  22990. },
  22991. "outthreshold": {
  22992. "description": "出金阈值",
  22993. "type": "number"
  22994. },
  22995. "parentaccountid": {
  22996. "description": "所属根账号",
  22997. "type": "integer"
  22998. },
  22999. "paycharge": {
  23000. "description": "今日手续费支出",
  23001. "type": "number"
  23002. },
  23003. "relatedaccountstatus": {
  23004. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  23005. "type": "integer"
  23006. },
  23007. "relateduserid": {
  23008. "description": "关联用户",
  23009. "type": "integer"
  23010. },
  23011. "serivcegroup": {
  23012. "description": "服务分组",
  23013. "type": "integer"
  23014. },
  23015. "signstatus": {
  23016. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  23017. "type": "integer"
  23018. },
  23019. "sublevelpath": {
  23020. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  23021. "type": "string"
  23022. },
  23023. "taaccounttype": {
  23024. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  23025. "type": "integer"
  23026. },
  23027. "thirdinamount": {
  23028. "description": "今日三方入金",
  23029. "type": "number"
  23030. },
  23031. "thirdoutamount": {
  23032. "description": "今日三方出金",
  23033. "type": "number"
  23034. },
  23035. "tradestatus": {
  23036. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  23037. "type": "integer"
  23038. },
  23039. "tradestatuschangetime": {
  23040. "description": "激活时间",
  23041. "type": "string"
  23042. },
  23043. "transferamount": {
  23044. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23045. "type": "number"
  23046. },
  23047. "usedmargin": {
  23048. "description": "占用保证金",
  23049. "type": "number"
  23050. },
  23051. "userid": {
  23052. "description": "用户ID",
  23053. "type": "integer"
  23054. }
  23055. }
  23056. },
  23057. "models.Tablecolumnconfig": {
  23058. "type": "object",
  23059. "required": [
  23060. "autoid"
  23061. ],
  23062. "properties": {
  23063. "aligntype": {
  23064. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  23065. "type": "integer"
  23066. },
  23067. "autoid": {
  23068. "description": "AutoID",
  23069. "type": "integer"
  23070. },
  23071. "columnfield": {
  23072. "description": "列字段",
  23073. "type": "string"
  23074. },
  23075. "columntitle": {
  23076. "description": "列Title",
  23077. "type": "string"
  23078. },
  23079. "columnwidth": {
  23080. "description": "列宽",
  23081. "type": "string"
  23082. },
  23083. "formatterstring": {
  23084. "description": "格式化字符",
  23085. "type": "string"
  23086. },
  23087. "formattertype": {
  23088. "description": "格式化类型",
  23089. "type": "string"
  23090. },
  23091. "groupname": {
  23092. "description": "表头分组名称",
  23093. "type": "string"
  23094. },
  23095. "isshow": {
  23096. "description": "是否显示 - 0:不显示 1:显示",
  23097. "type": "integer"
  23098. },
  23099. "needsummary": {
  23100. "description": "是否需要汇总 - 0:不需要 1:需要",
  23101. "type": "integer"
  23102. },
  23103. "orderindex": {
  23104. "description": "顺序",
  23105. "type": "integer"
  23106. },
  23107. "remark": {
  23108. "description": "备注",
  23109. "type": "string"
  23110. },
  23111. "summarytype": {
  23112. "description": "汇总类型 - 1:加总 2:最后一个",
  23113. "type": "integer"
  23114. },
  23115. "tablekey": {
  23116. "description": "列表Key",
  23117. "type": "string"
  23118. }
  23119. }
  23120. },
  23121. "models.Useraccount": {
  23122. "type": "object",
  23123. "required": [
  23124. "userid"
  23125. ],
  23126. "properties": {
  23127. "accountname": {
  23128. "description": "账户名称(机构名称)",
  23129. "type": "string"
  23130. },
  23131. "accountstatus": {
  23132. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23133. "type": "integer"
  23134. },
  23135. "auditremark": {
  23136. "description": "审核备注",
  23137. "type": "string"
  23138. },
  23139. "audittime": {
  23140. "description": "审核时间",
  23141. "type": "string"
  23142. },
  23143. "audituserid": {
  23144. "description": "审核人",
  23145. "type": "integer"
  23146. },
  23147. "broker": {
  23148. "description": "所属经纪人ID",
  23149. "type": "integer"
  23150. },
  23151. "canceltime": {
  23152. "description": "销户时间",
  23153. "type": "string"
  23154. },
  23155. "canceluserid": {
  23156. "description": "销户人",
  23157. "type": "integer"
  23158. },
  23159. "createtime": {
  23160. "description": "创建时间",
  23161. "type": "string"
  23162. },
  23163. "creatorid": {
  23164. "description": "创建人",
  23165. "type": "integer"
  23166. },
  23167. "hasauth": {
  23168. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23169. "type": "integer"
  23170. },
  23171. "isanonymous": {
  23172. "description": "是否匿名下单 - 0:否 1:是",
  23173. "type": "integer"
  23174. },
  23175. "maxinvestornum": {
  23176. "description": "最大用户数(经纪会员下投资者个数)",
  23177. "type": "integer"
  23178. },
  23179. "memberuserid": {
  23180. "description": "所属会员ID",
  23181. "type": "integer"
  23182. },
  23183. "modifierid": {
  23184. "description": "修改人",
  23185. "type": "integer"
  23186. },
  23187. "modifyremark": {
  23188. "description": "变更备注",
  23189. "type": "string"
  23190. },
  23191. "modifystatus": {
  23192. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23193. "type": "integer"
  23194. },
  23195. "modifytime": {
  23196. "description": "修改时间",
  23197. "type": "string"
  23198. },
  23199. "parentuserid": {
  23200. "description": "所属机构ID",
  23201. "type": "integer"
  23202. },
  23203. "reckonaccountid": {
  23204. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23205. "type": "integer"
  23206. },
  23207. "refercount": {
  23208. "description": "推荐总人数",
  23209. "type": "integer"
  23210. },
  23211. "refereeuserid": {
  23212. "description": "推荐人ID",
  23213. "type": "integer"
  23214. },
  23215. "refernum": {
  23216. "description": "推荐码",
  23217. "type": "string"
  23218. },
  23219. "subarealevelpath": {
  23220. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23221. "type": "string"
  23222. },
  23223. "userid": {
  23224. "description": "用户ID",
  23225. "type": "integer"
  23226. },
  23227. "usertype": {
  23228. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23229. "type": "integer"
  23230. }
  23231. }
  23232. },
  23233. "models.Userfavoritegoods": {
  23234. "type": "object",
  23235. "required": [
  23236. "goodsid"
  23237. ],
  23238. "properties": {
  23239. "goodsid": {
  23240. "description": "商品ID",
  23241. "type": "integer"
  23242. }
  23243. }
  23244. },
  23245. "models.Userinfo": {
  23246. "type": "object",
  23247. "required": [
  23248. "userid"
  23249. ],
  23250. "properties": {
  23251. "address": {
  23252. "description": "地址",
  23253. "type": "string"
  23254. },
  23255. "attachment1": {
  23256. "description": "附件1",
  23257. "type": "string"
  23258. },
  23259. "attachment2": {
  23260. "description": "附件2",
  23261. "type": "string"
  23262. },
  23263. "bankaccount": {
  23264. "description": "银行帐号 (加密存储)",
  23265. "type": "string"
  23266. },
  23267. "bankaccountname": {
  23268. "description": "收款人名称",
  23269. "type": "string"
  23270. },
  23271. "bankcardfrontphotourl": {
  23272. "description": "银行卡正面照地址",
  23273. "type": "string"
  23274. },
  23275. "bankid": {
  23276. "description": "银行编码",
  23277. "type": "string"
  23278. },
  23279. "bankname": {
  23280. "description": "银行名称",
  23281. "type": "string"
  23282. },
  23283. "biznature": {
  23284. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23285. "type": "integer"
  23286. },
  23287. "bizscope": {
  23288. "description": "企业经营范围(企业)",
  23289. "type": "string"
  23290. },
  23291. "cardbackphotourl": {
  23292. "description": "证件背面图片地址",
  23293. "type": "string"
  23294. },
  23295. "cardfrontphotourl": {
  23296. "description": "证件正面图片地址",
  23297. "type": "string"
  23298. },
  23299. "cardnum": {
  23300. "description": "证件号码(加密存储)",
  23301. "type": "string"
  23302. },
  23303. "cardtypeid": {
  23304. "description": "证件类型ID",
  23305. "type": "integer"
  23306. },
  23307. "cityid": {
  23308. "description": "市",
  23309. "type": "integer"
  23310. },
  23311. "company": {
  23312. "description": "公司(个人)",
  23313. "type": "string"
  23314. },
  23315. "contactname": {
  23316. "description": "联系人",
  23317. "type": "string"
  23318. },
  23319. "countryid": {
  23320. "description": "国家",
  23321. "type": "integer"
  23322. },
  23323. "createtime": {
  23324. "description": "创建时间",
  23325. "type": "string"
  23326. },
  23327. "creatorid": {
  23328. "description": "创建人",
  23329. "type": "integer"
  23330. },
  23331. "customername": {
  23332. "description": "客户名称(企业名称)",
  23333. "type": "string"
  23334. },
  23335. "districtid": {
  23336. "description": "地区",
  23337. "type": "integer"
  23338. },
  23339. "email": {
  23340. "description": "邮件(加密存储)",
  23341. "type": "string"
  23342. },
  23343. "fax": {
  23344. "description": "传真(加密存储)",
  23345. "type": "string"
  23346. },
  23347. "halfbodyphotourl": {
  23348. "description": "半身照地址",
  23349. "type": "string"
  23350. },
  23351. "hasencrypt": {
  23352. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23353. "type": "integer"
  23354. },
  23355. "headurl": {
  23356. "description": "头像地址",
  23357. "type": "string"
  23358. },
  23359. "legalcardbackphotourl": {
  23360. "description": "法人身份证背面照地址",
  23361. "type": "string"
  23362. },
  23363. "legalcardfrontphotourl": {
  23364. "description": "法人身份证正面照地址",
  23365. "type": "string"
  23366. },
  23367. "legalpersonname": {
  23368. "description": "法人姓名(企业)",
  23369. "type": "string"
  23370. },
  23371. "mobile": {
  23372. "description": "手机号码(加密存储)",
  23373. "type": "string"
  23374. },
  23375. "mobile2": {
  23376. "description": "手机号码[明文-尚志]",
  23377. "type": "string"
  23378. },
  23379. "modifierid": {
  23380. "description": "修改人",
  23381. "type": "integer"
  23382. },
  23383. "modifiertime": {
  23384. "description": "修改时间",
  23385. "type": "string"
  23386. },
  23387. "needinvoice": {
  23388. "description": "是否需要发票 - 0:不需要 1:需要",
  23389. "type": "integer"
  23390. },
  23391. "nickname": {
  23392. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  23393. "type": "string"
  23394. },
  23395. "openmode": {
  23396. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  23397. "type": "integer"
  23398. },
  23399. "otherurl": {
  23400. "description": "其它图片地址[使用分号分隔]",
  23401. "type": "string"
  23402. },
  23403. "postalcode": {
  23404. "description": "邮政编码",
  23405. "type": "string"
  23406. },
  23407. "provinceid": {
  23408. "description": "省",
  23409. "type": "integer"
  23410. },
  23411. "qq": {
  23412. "description": "QQ(加密存储",
  23413. "type": "string"
  23414. },
  23415. "remark": {
  23416. "description": "备注",
  23417. "type": "string"
  23418. },
  23419. "sex": {
  23420. "description": "用户性别 0: 女 1: 男",
  23421. "type": "integer"
  23422. },
  23423. "signpdfurl": {
  23424. "description": "签约pdf文件",
  23425. "type": "string"
  23426. },
  23427. "telphone": {
  23428. "description": "联系电话(加密存储)",
  23429. "type": "string"
  23430. },
  23431. "userid": {
  23432. "description": "用户ID",
  23433. "type": "integer"
  23434. },
  23435. "userinfotype": {
  23436. "description": "用户信息类型 - 1:个人 2:企业",
  23437. "type": "integer"
  23438. },
  23439. "userstatus": {
  23440. "description": "用户状态 - 1:正常 2:注销",
  23441. "type": "integer"
  23442. },
  23443. "usertype": {
  23444. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23445. "type": "integer"
  23446. },
  23447. "wechat": {
  23448. "description": "微信(加密存储)",
  23449. "type": "string"
  23450. },
  23451. "wskhinfo": {
  23452. "description": "开户申请信息(JSON)",
  23453. "type": "string"
  23454. }
  23455. }
  23456. },
  23457. "models.WRSConverTDetail": {
  23458. "type": "object",
  23459. "properties": {
  23460. "convertratio": {
  23461. "description": "套保系数",
  23462. "type": "number"
  23463. },
  23464. "deliverygoodscode": {
  23465. "description": "现货商品代码",
  23466. "type": "string"
  23467. },
  23468. "deliverygoodsid": {
  23469. "description": "现货品种ID",
  23470. "type": "integer"
  23471. },
  23472. "deliverygoodsname": {
  23473. "description": "现货商品名称",
  23474. "type": "string"
  23475. },
  23476. "enumdicname": {
  23477. "description": "单位名称",
  23478. "type": "string"
  23479. },
  23480. "goodsunitid": {
  23481. "description": "套保品种单位id",
  23482. "type": "integer"
  23483. },
  23484. "middlegoodscode": {
  23485. "description": "套保品种代码",
  23486. "type": "string"
  23487. },
  23488. "middlegoodsid": {
  23489. "description": "套保品种ID",
  23490. "type": "integer"
  23491. },
  23492. "middlegoodsname": {
  23493. "description": "套保品种名称",
  23494. "type": "string"
  23495. },
  23496. "modifytime": {
  23497. "description": "修改时间",
  23498. "type": "string"
  23499. },
  23500. "wrstandardid": {
  23501. "description": "品类ID",
  23502. "type": "integer"
  23503. }
  23504. }
  23505. },
  23506. "models.WRStandardInfo": {
  23507. "type": "object",
  23508. "required": [
  23509. "wrstandardid"
  23510. ],
  23511. "properties": {
  23512. "areauserid": {
  23513. "description": "所属机构",
  23514. "type": "integer"
  23515. },
  23516. "convertfactor": {
  23517. "description": "标仓系数",
  23518. "type": "number"
  23519. },
  23520. "createtime": {
  23521. "description": "创建时间",
  23522. "type": "string"
  23523. },
  23524. "creatorid": {
  23525. "description": "创建人",
  23526. "type": "integer"
  23527. },
  23528. "deliverygoodsid": {
  23529. "description": "品种ID",
  23530. "type": "integer"
  23531. },
  23532. "deliverygoodsname": {
  23533. "description": "交割商品名称",
  23534. "type": "string"
  23535. },
  23536. "factoryitemjson": {
  23537. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  23538. "type": "string"
  23539. },
  23540. "isvalid": {
  23541. "description": "是否有效 - 0:无效 1:有效",
  23542. "type": "integer"
  23543. },
  23544. "minivalue": {
  23545. "description": "最小变动值",
  23546. "type": "integer"
  23547. },
  23548. "minivaluedp": {
  23549. "description": "最小变动值小数位",
  23550. "type": "integer"
  23551. },
  23552. "realminivalue": {
  23553. "description": "实际最小变动值",
  23554. "type": "integer"
  23555. },
  23556. "realminivaluedp": {
  23557. "description": "实际最小变动值小数位",
  23558. "type": "integer"
  23559. },
  23560. "remark": {
  23561. "description": "备注",
  23562. "type": "string"
  23563. },
  23564. "unitid": {
  23565. "description": "单位ID",
  23566. "type": "integer"
  23567. },
  23568. "unitname": {
  23569. "description": "单位",
  23570. "type": "string"
  23571. },
  23572. "updatetime": {
  23573. "description": "更新时间",
  23574. "type": "string"
  23575. },
  23576. "updatorid": {
  23577. "description": "更新人",
  23578. "type": "integer"
  23579. },
  23580. "wrsstatus": {
  23581. "description": "状态 - 作废 - 0:未激活 1:正常",
  23582. "type": "integer"
  23583. },
  23584. "wrstandardcode": {
  23585. "description": "现货品类代码",
  23586. "type": "string"
  23587. },
  23588. "wrstandardid": {
  23589. "description": "现货品类ID(SEQ_WRSTANDARD)",
  23590. "type": "integer"
  23591. },
  23592. "wrstandardname": {
  23593. "description": "现货品类名称",
  23594. "type": "string"
  23595. }
  23596. }
  23597. },
  23598. "models.Warehouseinfo": {
  23599. "type": "object",
  23600. "required": [
  23601. "autoid",
  23602. "warehousecode"
  23603. ],
  23604. "properties": {
  23605. "address": {
  23606. "description": "详细地址",
  23607. "type": "string"
  23608. },
  23609. "areauserid": {
  23610. "description": "所属机构",
  23611. "type": "integer"
  23612. },
  23613. "autoid": {
  23614. "description": "自增ID",
  23615. "type": "integer"
  23616. },
  23617. "cityid": {
  23618. "description": "市",
  23619. "type": "integer"
  23620. },
  23621. "contactname": {
  23622. "description": "联系人",
  23623. "type": "string"
  23624. },
  23625. "contactnum": {
  23626. "description": "联系电话",
  23627. "type": "string"
  23628. },
  23629. "countryid": {
  23630. "description": "国家",
  23631. "type": "integer"
  23632. },
  23633. "createtime": {
  23634. "description": "创建时间",
  23635. "type": "string"
  23636. },
  23637. "districtid": {
  23638. "description": "区",
  23639. "type": "integer"
  23640. },
  23641. "hasvideo": {
  23642. "description": "是否有视频 - 0:无 1:有",
  23643. "type": "integer"
  23644. },
  23645. "provinceid": {
  23646. "description": "省",
  23647. "type": "integer"
  23648. },
  23649. "remark": {
  23650. "description": "审核备注",
  23651. "type": "string"
  23652. },
  23653. "videourl": {
  23654. "description": "视频地址",
  23655. "type": "string"
  23656. },
  23657. "warehousecode": {
  23658. "description": "仓库代码",
  23659. "type": "string"
  23660. },
  23661. "warehousename": {
  23662. "description": "仓库名称",
  23663. "type": "string"
  23664. },
  23665. "warehousestatus": {
  23666. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23667. "type": "integer"
  23668. },
  23669. "warehousetype": {
  23670. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23671. "type": "integer"
  23672. }
  23673. }
  23674. },
  23675. "order.QueryHisTradeDetailRsp": {
  23676. "type": "object",
  23677. "required": [
  23678. "accountid",
  23679. "buyorsell",
  23680. "goodsid",
  23681. "histradedate",
  23682. "marketid",
  23683. "memberuserid",
  23684. "orderid",
  23685. "tradeamount",
  23686. "tradedate",
  23687. "tradeid",
  23688. "tradeprice",
  23689. "tradeqty",
  23690. "tradetime"
  23691. ],
  23692. "properties": {
  23693. "accountid": {
  23694. "description": "账户ID[报价币种]",
  23695. "type": "integer"
  23696. },
  23697. "buildtype": {
  23698. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23699. "type": "integer"
  23700. },
  23701. "buyorsell": {
  23702. "description": "方向 - 0:买 1:卖",
  23703. "type": "integer"
  23704. },
  23705. "charge": {
  23706. "description": "手续费",
  23707. "type": "number"
  23708. },
  23709. "closecharge": {
  23710. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23711. "type": "number"
  23712. },
  23713. "closeexchagechargevalue": {
  23714. "description": "平仓交易所手续费设置值",
  23715. "type": "number"
  23716. },
  23717. "closefeealgorithm": {
  23718. "description": "平仓手续费收取方式 1:比率 2:固定",
  23719. "type": "integer"
  23720. },
  23721. "closememberchargevalue": {
  23722. "description": "平仓会员手续费设置值",
  23723. "type": "number"
  23724. },
  23725. "closepl": {
  23726. "description": "平仓盈亏",
  23727. "type": "number"
  23728. },
  23729. "closepl2": {
  23730. "description": "平仓盈亏[逐笔]",
  23731. "type": "number"
  23732. },
  23733. "closeqty": {
  23734. "description": "平仓数量(先建后平操作 需要记录)",
  23735. "type": "integer"
  23736. },
  23737. "creditamount": {
  23738. "description": "授信金额",
  23739. "type": "number"
  23740. },
  23741. "gcaccountid": {
  23742. "description": "账户ID[合约币种]",
  23743. "type": "integer"
  23744. },
  23745. "goodscode": {
  23746. "description": "商品代码",
  23747. "type": "string"
  23748. },
  23749. "goodsid": {
  23750. "description": "商品ID",
  23751. "type": "integer"
  23752. },
  23753. "goodsname": {
  23754. "description": "商品名称",
  23755. "type": "string"
  23756. },
  23757. "histradedate": {
  23758. "description": "历史交易日",
  23759. "type": "string"
  23760. },
  23761. "intclosepl": {
  23762. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23763. "type": "integer"
  23764. },
  23765. "isconfirmexercise": {
  23766. "description": "是否确认行权- 0:否 1:是",
  23767. "type": "integer"
  23768. },
  23769. "ismain": {
  23770. "description": "是否主单 - 0:不是 1:是",
  23771. "type": "integer"
  23772. },
  23773. "ispreexercise": {
  23774. "description": "是否预申报- 0:否 1:是",
  23775. "type": "integer"
  23776. },
  23777. "isreckoned": {
  23778. "description": "是否结算 - 0:未结算 1:已结算",
  23779. "type": "integer"
  23780. },
  23781. "isvaliddata": {
  23782. "description": "是否有效 - 0:无效 1:有效",
  23783. "type": "integer"
  23784. },
  23785. "listingselecttype": {
  23786. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23787. "type": "integer"
  23788. },
  23789. "marketid": {
  23790. "description": "市场ID",
  23791. "type": "integer"
  23792. },
  23793. "marketname": {
  23794. "description": "市场名称",
  23795. "type": "string"
  23796. },
  23797. "matchaccountid": {
  23798. "description": "对手账号id",
  23799. "type": "integer"
  23800. },
  23801. "memberuserid": {
  23802. "description": "会员id 个人投资者 需要填写",
  23803. "type": "integer"
  23804. },
  23805. "opencharge": {
  23806. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23807. "type": "number"
  23808. },
  23809. "openexchagechargevalue": {
  23810. "description": "建仓交易所手续费设置值",
  23811. "type": "number"
  23812. },
  23813. "openfeealgorithm": {
  23814. "description": "建仓手续费收取方式 1:比率 2:固定",
  23815. "type": "integer"
  23816. },
  23817. "openmemberchargevalue": {
  23818. "description": "建仓会员手续费设置值",
  23819. "type": "number"
  23820. },
  23821. "openqty": {
  23822. "description": "开仓数量(先建后平操作 需要记录)",
  23823. "type": "integer"
  23824. },
  23825. "optiontype": {
  23826. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23827. "type": "integer"
  23828. },
  23829. "orderid": {
  23830. "description": "委托单号",
  23831. "type": "string"
  23832. },
  23833. "performanceplanid": {
  23834. "description": "履约计划ID[期权]",
  23835. "type": "integer"
  23836. },
  23837. "performancestatus": {
  23838. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23839. "type": "integer"
  23840. },
  23841. "preexerciseprice": {
  23842. "description": "预申报价格",
  23843. "type": "number"
  23844. },
  23845. "premium": {
  23846. "description": "权利金 - [持仓单的权利金]",
  23847. "type": "number"
  23848. },
  23849. "relatedouttradeid": {
  23850. "description": "关联外部成交单ID",
  23851. "type": "integer"
  23852. },
  23853. "status": {
  23854. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23855. "type": "integer"
  23856. },
  23857. "tradeamount": {
  23858. "description": "成交金额[账户币种,用于所有权]",
  23859. "type": "number"
  23860. },
  23861. "tradedate": {
  23862. "description": "交易日(yyyyMMdd)",
  23863. "type": "string"
  23864. },
  23865. "tradeid": {
  23866. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23867. "type": "string"
  23868. },
  23869. "trademode": {
  23870. "description": "交易模式",
  23871. "type": "integer"
  23872. },
  23873. "tradeprice": {
  23874. "description": "成交价格",
  23875. "type": "number"
  23876. },
  23877. "tradeproperty": {
  23878. "description": "交易属性",
  23879. "type": "integer"
  23880. },
  23881. "tradeqty": {
  23882. "description": "成交数量",
  23883. "type": "integer"
  23884. },
  23885. "tradetime": {
  23886. "description": "成交时间",
  23887. "type": "string"
  23888. },
  23889. "tradetype": {
  23890. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23891. "type": "integer"
  23892. }
  23893. }
  23894. },
  23895. "order.QueryHisTradeOrderDetailRsp": {
  23896. "type": "object",
  23897. "required": [
  23898. "accountid",
  23899. "buildtype",
  23900. "buyorsell",
  23901. "goodsid",
  23902. "histradedate",
  23903. "marketid",
  23904. "memberuserid",
  23905. "operatetype",
  23906. "orderid",
  23907. "orderqty",
  23908. "ordertime",
  23909. "pricemode",
  23910. "tradedate",
  23911. "validtype"
  23912. ],
  23913. "properties": {
  23914. "accountid": {
  23915. "description": "账户ID[报价币种]",
  23916. "type": "integer"
  23917. },
  23918. "buildtype": {
  23919. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23920. "type": "integer"
  23921. },
  23922. "buyorsell": {
  23923. "description": "买卖 - 0:买 1:卖",
  23924. "type": "integer"
  23925. },
  23926. "cancelorderid": {
  23927. "description": "撤单单号(撤单时填写)",
  23928. "type": "string"
  23929. },
  23930. "cancelqty": {
  23931. "description": "撤单数量",
  23932. "type": "integer"
  23933. },
  23934. "clientordertime": {
  23935. "description": "客户端委托时间",
  23936. "type": "string"
  23937. },
  23938. "clientticket": {
  23939. "description": "客户端流水号",
  23940. "type": "string"
  23941. },
  23942. "clienttype": {
  23943. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23944. "type": "integer"
  23945. },
  23946. "closeexchagechargevalue": {
  23947. "description": "平仓交易所手续费设置值",
  23948. "type": "number"
  23949. },
  23950. "closefeealgorithm": {
  23951. "description": "平仓手续费收取方式 1:比率 2:固定",
  23952. "type": "integer"
  23953. },
  23954. "closefreezecharge": {
  23955. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23956. "type": "number"
  23957. },
  23958. "closememberchargevalue": {
  23959. "description": "平仓会员手续费设置值",
  23960. "type": "number"
  23961. },
  23962. "closeqty": {
  23963. "description": "平仓数量(先建后平操作 需要记录)",
  23964. "type": "integer"
  23965. },
  23966. "closetradeqty": {
  23967. "description": "平仓成交数量(先建后平操作,需要记录)",
  23968. "type": "integer"
  23969. },
  23970. "closeunfreezecharge": {
  23971. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23972. "type": "number"
  23973. },
  23974. "delistingtype": {
  23975. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23976. "type": "integer"
  23977. },
  23978. "freezecharge": {
  23979. "description": "冻结手续费",
  23980. "type": "number"
  23981. },
  23982. "freezemargin": {
  23983. "description": "冻结保证金(冻结交易金额)",
  23984. "type": "number"
  23985. },
  23986. "gcaccountid": {
  23987. "description": "账户ID[合约币种]",
  23988. "type": "integer"
  23989. },
  23990. "goodscode": {
  23991. "description": "商品代码",
  23992. "type": "string"
  23993. },
  23994. "goodsid": {
  23995. "description": "商品ID",
  23996. "type": "integer"
  23997. },
  23998. "goodsname": {
  23999. "description": "商品名称",
  24000. "type": "string"
  24001. },
  24002. "histradedate": {
  24003. "description": "历史交易日",
  24004. "type": "string"
  24005. },
  24006. "isconfirmexercise": {
  24007. "description": "是否确认行权- 0:否 1:是",
  24008. "type": "integer"
  24009. },
  24010. "ispreexercise": {
  24011. "description": "是否预申报- 0:否 1:是",
  24012. "type": "integer"
  24013. },
  24014. "isvaliddata": {
  24015. "description": "是否有效 - 0:无效 1:有效",
  24016. "type": "integer"
  24017. },
  24018. "listingselecttype": {
  24019. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24020. "type": "integer"
  24021. },
  24022. "marginalgorithm": {
  24023. "description": "保证金收取方式 1:比率 2:固定",
  24024. "type": "integer"
  24025. },
  24026. "marginvalue": {
  24027. "description": "即市保证金设置值",
  24028. "type": "number"
  24029. },
  24030. "marketid": {
  24031. "description": "市场ID",
  24032. "type": "integer"
  24033. },
  24034. "marketmaxsub": {
  24035. "description": "市价最大偏移范围",
  24036. "type": "number"
  24037. },
  24038. "marketname": {
  24039. "description": "市场名称",
  24040. "type": "string"
  24041. },
  24042. "memberuserid": {
  24043. "description": "所属会员UserID",
  24044. "type": "integer"
  24045. },
  24046. "openexchagechargevalue": {
  24047. "description": "建仓交易所手续费设置值",
  24048. "type": "number"
  24049. },
  24050. "openfeealgorithm": {
  24051. "description": "建仓手续费收取方式 1:比率 2:固定",
  24052. "type": "integer"
  24053. },
  24054. "openfreezecharge": {
  24055. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24056. "type": "number"
  24057. },
  24058. "openmemberchargevalue": {
  24059. "description": "建仓会员手续费设置值",
  24060. "type": "number"
  24061. },
  24062. "openqty": {
  24063. "description": "开仓数量(先建后平操作,需要记录)",
  24064. "type": "integer"
  24065. },
  24066. "opentradeqty": {
  24067. "description": "开仓成交数量(先建后平操作,需要记录)",
  24068. "type": "integer"
  24069. },
  24070. "openunfreezecharge": {
  24071. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24072. "type": "number"
  24073. },
  24074. "operatetype": {
  24075. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24076. "type": "integer"
  24077. },
  24078. "operatorid": {
  24079. "description": "登录账号(LoginID)",
  24080. "type": "integer"
  24081. },
  24082. "optiontype": {
  24083. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24084. "type": "integer"
  24085. },
  24086. "orderid": {
  24087. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24088. "type": "string"
  24089. },
  24090. "orderprice": {
  24091. "description": "委托价格",
  24092. "type": "number"
  24093. },
  24094. "orderqty": {
  24095. "description": "委托数量",
  24096. "type": "integer"
  24097. },
  24098. "ordersrc": {
  24099. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24100. "type": "integer"
  24101. },
  24102. "orderstatus": {
  24103. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24104. "type": "integer"
  24105. },
  24106. "ordertime": {
  24107. "description": "委托时间",
  24108. "type": "string"
  24109. },
  24110. "preexerciseprice": {
  24111. "description": "预申报价格",
  24112. "type": "number"
  24113. },
  24114. "premium": {
  24115. "description": "权利金",
  24116. "type": "number"
  24117. },
  24118. "preorderid": {
  24119. "description": "关联预埋单号(止盈止损单时填写)",
  24120. "type": "string"
  24121. },
  24122. "pricemode": {
  24123. "description": "取价方式 - 1:市价 2: 限价",
  24124. "type": "integer"
  24125. },
  24126. "quoteid": {
  24127. "description": "报价单ID",
  24128. "type": "integer"
  24129. },
  24130. "relatedid": {
  24131. "description": "关联单号(交割单)",
  24132. "type": "string"
  24133. },
  24134. "retcode": {
  24135. "description": "错误代码",
  24136. "type": "integer"
  24137. },
  24138. "sessionid": {
  24139. "description": "会话ID",
  24140. "type": "integer"
  24141. },
  24142. "tradedate": {
  24143. "description": "交易日(yyyyMMdd)",
  24144. "type": "string"
  24145. },
  24146. "trademode": {
  24147. "description": "交易模式",
  24148. "type": "integer"
  24149. },
  24150. "tradeproperty": {
  24151. "description": "交易属性",
  24152. "type": "integer"
  24153. },
  24154. "tradeqty": {
  24155. "description": "成交数量",
  24156. "type": "integer"
  24157. },
  24158. "unfreezecharge": {
  24159. "description": "解冻手续费",
  24160. "type": "number"
  24161. },
  24162. "unfreezemargin": {
  24163. "description": "解冻保证金",
  24164. "type": "number"
  24165. },
  24166. "updatetime": {
  24167. "description": "更新时间",
  24168. "type": "string"
  24169. },
  24170. "uuid": {
  24171. "description": "发起端唯一id",
  24172. "type": "string"
  24173. },
  24174. "validtime": {
  24175. "description": "有效期限",
  24176. "type": "string"
  24177. },
  24178. "validtype": {
  24179. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24180. "type": "integer"
  24181. },
  24182. "volumetype": {
  24183. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24184. "type": "integer"
  24185. }
  24186. }
  24187. },
  24188. "order.QueryTradeDetailRsp": {
  24189. "type": "object",
  24190. "required": [
  24191. "accountid",
  24192. "buyorsell",
  24193. "goodsid",
  24194. "marketid",
  24195. "memberuserid",
  24196. "orderid",
  24197. "tradeamount",
  24198. "tradedate",
  24199. "tradeid",
  24200. "tradeprice",
  24201. "tradeqty",
  24202. "tradetime"
  24203. ],
  24204. "properties": {
  24205. "accountid": {
  24206. "description": "账户ID[报价币种]",
  24207. "type": "integer"
  24208. },
  24209. "buildtype": {
  24210. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24211. "type": "integer"
  24212. },
  24213. "buyorsell": {
  24214. "description": "方向 - 0:买 1:卖",
  24215. "type": "integer"
  24216. },
  24217. "charge": {
  24218. "description": "手续费",
  24219. "type": "number"
  24220. },
  24221. "closecharge": {
  24222. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24223. "type": "number"
  24224. },
  24225. "closeexchagechargevalue": {
  24226. "description": "平仓交易所手续费设置值",
  24227. "type": "number"
  24228. },
  24229. "closefeealgorithm": {
  24230. "description": "平仓手续费收取方式 1:比率 2:固定",
  24231. "type": "integer"
  24232. },
  24233. "closememberchargevalue": {
  24234. "description": "平仓会员手续费设置值",
  24235. "type": "number"
  24236. },
  24237. "closepl": {
  24238. "description": "平仓盈亏",
  24239. "type": "number"
  24240. },
  24241. "closepl2": {
  24242. "description": "平仓盈亏[逐笔]",
  24243. "type": "number"
  24244. },
  24245. "closeqty": {
  24246. "description": "平仓数量(先建后平操作 需要记录)",
  24247. "type": "integer"
  24248. },
  24249. "creditamount": {
  24250. "description": "授信金额",
  24251. "type": "number"
  24252. },
  24253. "gcaccountid": {
  24254. "description": "账户ID[合约币种]",
  24255. "type": "integer"
  24256. },
  24257. "goodscode": {
  24258. "description": "商品代码",
  24259. "type": "string"
  24260. },
  24261. "goodsid": {
  24262. "description": "商品ID",
  24263. "type": "integer"
  24264. },
  24265. "goodsname": {
  24266. "description": "商品名称",
  24267. "type": "string"
  24268. },
  24269. "intclosepl": {
  24270. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24271. "type": "integer"
  24272. },
  24273. "isconfirmexercise": {
  24274. "description": "是否确认行权- 0:否 1:是",
  24275. "type": "integer"
  24276. },
  24277. "ismain": {
  24278. "description": "是否主单 - 0:不是 1:是",
  24279. "type": "integer"
  24280. },
  24281. "ispreexercise": {
  24282. "description": "是否预申报- 0:否 1:是",
  24283. "type": "integer"
  24284. },
  24285. "isreckoned": {
  24286. "description": "是否结算 - 0:未结算 1:已结算",
  24287. "type": "integer"
  24288. },
  24289. "listingselecttype": {
  24290. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24291. "type": "integer"
  24292. },
  24293. "marketid": {
  24294. "description": "市场ID",
  24295. "type": "integer"
  24296. },
  24297. "marketname": {
  24298. "description": "市场名称",
  24299. "type": "string"
  24300. },
  24301. "matchaccountid": {
  24302. "description": "对手账号id",
  24303. "type": "integer"
  24304. },
  24305. "memberuserid": {
  24306. "description": "会员id 个人投资者 需要填写",
  24307. "type": "integer"
  24308. },
  24309. "opencharge": {
  24310. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24311. "type": "number"
  24312. },
  24313. "openexchagechargevalue": {
  24314. "description": "建仓交易所手续费设置值",
  24315. "type": "number"
  24316. },
  24317. "openfeealgorithm": {
  24318. "description": "建仓手续费收取方式 1:比率 2:固定",
  24319. "type": "integer"
  24320. },
  24321. "openmemberchargevalue": {
  24322. "description": "建仓会员手续费设置值",
  24323. "type": "number"
  24324. },
  24325. "openqty": {
  24326. "description": "开仓数量(先建后平操作 需要记录)",
  24327. "type": "integer"
  24328. },
  24329. "optiontype": {
  24330. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24331. "type": "integer"
  24332. },
  24333. "orderid": {
  24334. "description": "委托单号",
  24335. "type": "string"
  24336. },
  24337. "performanceplanid": {
  24338. "description": "履约计划ID[期权]",
  24339. "type": "integer"
  24340. },
  24341. "performancestatus": {
  24342. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24343. "type": "integer"
  24344. },
  24345. "preexerciseprice": {
  24346. "description": "预申报价格",
  24347. "type": "number"
  24348. },
  24349. "premium": {
  24350. "description": "权利金 - [持仓单的权利金]",
  24351. "type": "number"
  24352. },
  24353. "relatedouttradeid": {
  24354. "description": "关联外部成交单ID",
  24355. "type": "integer"
  24356. },
  24357. "status": {
  24358. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24359. "type": "integer"
  24360. },
  24361. "tradeamount": {
  24362. "description": "成交金额[账户币种,用于所有权]",
  24363. "type": "number"
  24364. },
  24365. "tradedate": {
  24366. "description": "交易日(yyyyMMdd)",
  24367. "type": "string"
  24368. },
  24369. "tradeid": {
  24370. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24371. "type": "string"
  24372. },
  24373. "trademode": {
  24374. "description": "交易模式",
  24375. "type": "integer"
  24376. },
  24377. "tradeprice": {
  24378. "description": "成交价格",
  24379. "type": "number"
  24380. },
  24381. "tradeproperty": {
  24382. "description": "交易属性",
  24383. "type": "integer"
  24384. },
  24385. "tradeqty": {
  24386. "description": "成交数量",
  24387. "type": "integer"
  24388. },
  24389. "tradetime": {
  24390. "description": "成交时间",
  24391. "type": "string"
  24392. },
  24393. "tradetype": {
  24394. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24395. "type": "integer"
  24396. }
  24397. }
  24398. },
  24399. "order.QueryTradeOrderDetailRsp": {
  24400. "type": "object",
  24401. "required": [
  24402. "accountid",
  24403. "buildtype",
  24404. "buyorsell",
  24405. "goodsid",
  24406. "marketid",
  24407. "operatetype",
  24408. "orderqty",
  24409. "ordertime",
  24410. "pricemode",
  24411. "tradedate",
  24412. "validtype"
  24413. ],
  24414. "properties": {
  24415. "accountid": {
  24416. "description": "账户ID[报价币种]",
  24417. "type": "integer"
  24418. },
  24419. "buildtype": {
  24420. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24421. "type": "integer"
  24422. },
  24423. "buyorsell": {
  24424. "description": "买卖 - 0:买 1:卖",
  24425. "type": "integer"
  24426. },
  24427. "cancelorderid": {
  24428. "description": "撤单单号(撤单时填写)",
  24429. "type": "string"
  24430. },
  24431. "cancelqty": {
  24432. "description": "撤单数量",
  24433. "type": "integer"
  24434. },
  24435. "clienttype": {
  24436. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24437. "type": "integer"
  24438. },
  24439. "closefreezecharge": {
  24440. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24441. "type": "number"
  24442. },
  24443. "closeqty": {
  24444. "description": "平仓数量(先建后平操作 需要记录)",
  24445. "type": "integer"
  24446. },
  24447. "closetradeqty": {
  24448. "description": "平仓成交数量(先建后平操作,需要记录)",
  24449. "type": "integer"
  24450. },
  24451. "closeunfreezecharge": {
  24452. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24453. "type": "number"
  24454. },
  24455. "delistingtype": {
  24456. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24457. "type": "integer"
  24458. },
  24459. "enableqty": {
  24460. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  24461. "type": "integer"
  24462. },
  24463. "freezecharge": {
  24464. "description": "冻结手续费",
  24465. "type": "number"
  24466. },
  24467. "freezemargin": {
  24468. "description": "冻结保证金(冻结交易金额)",
  24469. "type": "number"
  24470. },
  24471. "goodscode": {
  24472. "description": "商品代码",
  24473. "type": "string"
  24474. },
  24475. "goodsid": {
  24476. "description": "商品ID",
  24477. "type": "integer"
  24478. },
  24479. "goodsname": {
  24480. "description": "商品名称",
  24481. "type": "string"
  24482. },
  24483. "listingselecttype": {
  24484. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24485. "type": "integer"
  24486. },
  24487. "marketid": {
  24488. "description": "市场ID",
  24489. "type": "integer"
  24490. },
  24491. "marketname": {
  24492. "description": "市场名称",
  24493. "type": "string"
  24494. },
  24495. "openfreezecharge": {
  24496. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24497. "type": "number"
  24498. },
  24499. "openqty": {
  24500. "description": "开仓数量(先建后平操作,需要记录)",
  24501. "type": "integer"
  24502. },
  24503. "opentradeqty": {
  24504. "description": "开仓成交数量(先建后平操作,需要记录)",
  24505. "type": "integer"
  24506. },
  24507. "openunfreezecharge": {
  24508. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24509. "type": "number"
  24510. },
  24511. "operatetype": {
  24512. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24513. "type": "integer"
  24514. },
  24515. "operatorid": {
  24516. "description": "登录账号(LoginID)",
  24517. "type": "integer"
  24518. },
  24519. "orderid": {
  24520. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24521. "type": "string"
  24522. },
  24523. "orderprice": {
  24524. "description": "委托价格",
  24525. "type": "number"
  24526. },
  24527. "orderqty": {
  24528. "description": "委托数量",
  24529. "type": "integer"
  24530. },
  24531. "ordersrc": {
  24532. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24533. "type": "integer"
  24534. },
  24535. "orderstatus": {
  24536. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24537. "type": "integer"
  24538. },
  24539. "ordertime": {
  24540. "description": "委托时间",
  24541. "type": "string"
  24542. },
  24543. "preorderid": {
  24544. "description": "关联预埋单号(止盈止损单时填写)",
  24545. "type": "string"
  24546. },
  24547. "pricemode": {
  24548. "description": "取价方式 - 1:市价 2: 限价",
  24549. "type": "integer"
  24550. },
  24551. "relatedid": {
  24552. "description": "关联单号(交割单)",
  24553. "type": "string"
  24554. },
  24555. "tradedate": {
  24556. "description": "交易日(yyyyMMdd)",
  24557. "type": "string"
  24558. },
  24559. "trademode": {
  24560. "description": "交易模式",
  24561. "type": "integer"
  24562. },
  24563. "tradeqty": {
  24564. "description": "成交数量",
  24565. "type": "integer"
  24566. },
  24567. "unfreezecharge": {
  24568. "description": "解冻手续费",
  24569. "type": "number"
  24570. },
  24571. "unfreezemargin": {
  24572. "description": "解冻保证金",
  24573. "type": "number"
  24574. },
  24575. "validtime": {
  24576. "description": "有效期限",
  24577. "type": "string"
  24578. },
  24579. "validtype": {
  24580. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24581. "type": "integer"
  24582. },
  24583. "volumetype": {
  24584. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24585. "type": "integer"
  24586. }
  24587. }
  24588. },
  24589. "order.QueryTradePositionRsp": {
  24590. "type": "object",
  24591. "required": [
  24592. "goodsid"
  24593. ],
  24594. "properties": {
  24595. "accountid": {
  24596. "description": "资金账户",
  24597. "type": "integer"
  24598. },
  24599. "agreeunit": {
  24600. "description": "合约单位",
  24601. "type": "number"
  24602. },
  24603. "averageprice": {
  24604. "description": "持仓均价",
  24605. "type": "number"
  24606. },
  24607. "buyorsell": {
  24608. "description": "方向 - 0:买 1:卖",
  24609. "type": "integer"
  24610. },
  24611. "closetotalqty": {
  24612. "description": "平仓总数量",
  24613. "type": "integer"
  24614. },
  24615. "curholderamount": {
  24616. "description": "当前持仓总金额[商品币种]",
  24617. "type": "number"
  24618. },
  24619. "curpositionqty": {
  24620. "description": "当前持仓总数量",
  24621. "type": "integer"
  24622. },
  24623. "currencyid": {
  24624. "description": "报价货币ID",
  24625. "type": "integer"
  24626. },
  24627. "curtdposition": {
  24628. "description": "期末今日头寸",
  24629. "type": "integer"
  24630. },
  24631. "decimalplace": {
  24632. "description": "报价小数位",
  24633. "type": "integer"
  24634. },
  24635. "enableqty": {
  24636. "description": "可用量",
  24637. "type": "integer"
  24638. },
  24639. "fretdposition": {
  24640. "description": "冻结今日头寸",
  24641. "type": "integer"
  24642. },
  24643. "frozenqty": {
  24644. "description": "持仓冻结数量",
  24645. "type": "integer"
  24646. },
  24647. "goodscode": {
  24648. "description": "商品代码",
  24649. "type": "string"
  24650. },
  24651. "goodsid": {
  24652. "description": "商品Id",
  24653. "type": "integer"
  24654. },
  24655. "goodsname": {
  24656. "description": "商品名称",
  24657. "type": "string"
  24658. },
  24659. "goodunit": {
  24660. "description": "报价单位",
  24661. "type": "string"
  24662. },
  24663. "goodunitid": {
  24664. "description": "报价单位ID",
  24665. "type": "integer"
  24666. },
  24667. "holderamount": {
  24668. "description": "期初持仓总金额[商品币种]",
  24669. "type": "number"
  24670. },
  24671. "marketid": {
  24672. "description": "所属市场ID",
  24673. "type": "integer"
  24674. },
  24675. "openreqqty": {
  24676. "description": "开仓申请数量(用于比较最大持仓数量)",
  24677. "type": "integer"
  24678. },
  24679. "opentotalqty": {
  24680. "description": "开仓总数量",
  24681. "type": "integer"
  24682. },
  24683. "otherfrozenqty": {
  24684. "description": "持仓其他冻结数量(交割冻结)",
  24685. "type": "integer"
  24686. },
  24687. "positionqty": {
  24688. "description": "期初持仓数量",
  24689. "type": "integer"
  24690. },
  24691. "tnqty": {
  24692. "description": "T+N冻结总量",
  24693. "type": "integer"
  24694. },
  24695. "tnusedqty": {
  24696. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24697. "type": "integer"
  24698. },
  24699. "trademode": {
  24700. "description": "交易模式",
  24701. "type": "integer"
  24702. },
  24703. "usedmargin": {
  24704. "description": "占用保证金[商品币种]",
  24705. "type": "number"
  24706. }
  24707. }
  24708. },
  24709. "quote.HistoryData": {
  24710. "type": "object",
  24711. "properties": {
  24712. "c": {
  24713. "description": "收盘价",
  24714. "type": "number"
  24715. },
  24716. "f": {
  24717. "description": "是否补充数据",
  24718. "type": "boolean"
  24719. },
  24720. "h": {
  24721. "description": "最高价",
  24722. "type": "number"
  24723. },
  24724. "hv": {
  24725. "description": "持仓量",
  24726. "type": "integer"
  24727. },
  24728. "l": {
  24729. "description": "最低价",
  24730. "type": "number"
  24731. },
  24732. "o": {
  24733. "description": "开盘价",
  24734. "type": "number"
  24735. },
  24736. "s": {
  24737. "description": "结算价,日线周期(包括)以上才有",
  24738. "type": "number"
  24739. },
  24740. "ts": {
  24741. "description": "时间",
  24742. "type": "string"
  24743. },
  24744. "tt": {
  24745. "description": "总金额",
  24746. "type": "number"
  24747. },
  24748. "tv": {
  24749. "description": "总量",
  24750. "type": "integer"
  24751. }
  24752. }
  24753. },
  24754. "quote.HistoryTikData": {
  24755. "type": "object",
  24756. "properties": {
  24757. "AV": {
  24758. "description": "卖量",
  24759. "type": "integer"
  24760. },
  24761. "Ask": {
  24762. "description": "卖价",
  24763. "type": "number"
  24764. },
  24765. "BV": {
  24766. "description": "买量",
  24767. "type": "integer"
  24768. },
  24769. "Bid": {
  24770. "description": "买价",
  24771. "type": "number"
  24772. },
  24773. "HI": {
  24774. "description": "单笔持仓",
  24775. "type": "integer"
  24776. },
  24777. "HV": {
  24778. "description": "持仓量",
  24779. "type": "integer"
  24780. },
  24781. "PE": {
  24782. "description": "现价",
  24783. "type": "number"
  24784. },
  24785. "TDR": {
  24786. "description": "交易方向,0:买 1:卖",
  24787. "type": "integer"
  24788. },
  24789. "TK": {
  24790. "description": "交易类型",
  24791. "type": "integer"
  24792. },
  24793. "TS": {
  24794. "description": "行情时间文本",
  24795. "type": "string"
  24796. },
  24797. "TT": {
  24798. "description": "现金额",
  24799. "type": "number"
  24800. },
  24801. "Vol": {
  24802. "description": "现量",
  24803. "type": "integer"
  24804. }
  24805. }
  24806. },
  24807. "quote.QueryQuoteDayRsp": {
  24808. "type": "object",
  24809. "properties": {
  24810. "ask": {
  24811. "description": "卖1",
  24812. "type": "number"
  24813. },
  24814. "ask10": {
  24815. "description": "卖10",
  24816. "type": "number"
  24817. },
  24818. "ask2": {
  24819. "description": "卖2",
  24820. "type": "number"
  24821. },
  24822. "ask3": {
  24823. "description": "卖3",
  24824. "type": "number"
  24825. },
  24826. "ask4": {
  24827. "description": "卖4",
  24828. "type": "number"
  24829. },
  24830. "ask5": {
  24831. "description": "卖5",
  24832. "type": "number"
  24833. },
  24834. "ask6": {
  24835. "description": "卖6",
  24836. "type": "number"
  24837. },
  24838. "ask7": {
  24839. "description": "卖7",
  24840. "type": "number"
  24841. },
  24842. "ask8": {
  24843. "description": "卖8",
  24844. "type": "number"
  24845. },
  24846. "ask9": {
  24847. "description": "卖9",
  24848. "type": "number"
  24849. },
  24850. "askorderid": {
  24851. "description": "卖单号1",
  24852. "type": "integer"
  24853. },
  24854. "askorderid2": {
  24855. "description": "卖单号2",
  24856. "type": "integer"
  24857. },
  24858. "askorderid3": {
  24859. "description": "卖单号3",
  24860. "type": "integer"
  24861. },
  24862. "askorderid4": {
  24863. "description": "卖单号4",
  24864. "type": "integer"
  24865. },
  24866. "askorderid5": {
  24867. "description": "卖单号5",
  24868. "type": "integer"
  24869. },
  24870. "askordervolume": {
  24871. "description": "卖单量1",
  24872. "type": "integer"
  24873. },
  24874. "askordervolume10": {
  24875. "description": "卖单量10",
  24876. "type": "integer"
  24877. },
  24878. "askordervolume2": {
  24879. "description": "卖单量2",
  24880. "type": "integer"
  24881. },
  24882. "askordervolume3": {
  24883. "description": "卖单量3",
  24884. "type": "integer"
  24885. },
  24886. "askordervolume4": {
  24887. "description": "卖单量4",
  24888. "type": "integer"
  24889. },
  24890. "askordervolume5": {
  24891. "description": "卖单量5",
  24892. "type": "integer"
  24893. },
  24894. "askordervolume6": {
  24895. "description": "卖单量6",
  24896. "type": "integer"
  24897. },
  24898. "askordervolume7": {
  24899. "description": "卖单量7",
  24900. "type": "integer"
  24901. },
  24902. "askordervolume8": {
  24903. "description": "卖单量8",
  24904. "type": "integer"
  24905. },
  24906. "askordervolume9": {
  24907. "description": "卖单量9",
  24908. "type": "integer"
  24909. },
  24910. "askqueueinfo": {
  24911. "description": "大利市卖港股用",
  24912. "type": "string"
  24913. },
  24914. "askvolume": {
  24915. "description": "卖量1",
  24916. "type": "integer"
  24917. },
  24918. "askvolume10": {
  24919. "description": "卖量10",
  24920. "type": "integer"
  24921. },
  24922. "askvolume2": {
  24923. "description": "卖量2",
  24924. "type": "integer"
  24925. },
  24926. "askvolume3": {
  24927. "description": "卖量3",
  24928. "type": "integer"
  24929. },
  24930. "askvolume4": {
  24931. "description": "卖量4",
  24932. "type": "integer"
  24933. },
  24934. "askvolume5": {
  24935. "description": "卖量5",
  24936. "type": "integer"
  24937. },
  24938. "askvolume6": {
  24939. "description": "卖量6",
  24940. "type": "integer"
  24941. },
  24942. "askvolume7": {
  24943. "description": "卖量7",
  24944. "type": "integer"
  24945. },
  24946. "askvolume8": {
  24947. "description": "卖量8",
  24948. "type": "integer"
  24949. },
  24950. "askvolume9": {
  24951. "description": "卖量9",
  24952. "type": "integer"
  24953. },
  24954. "averageprice": {
  24955. "description": "均价",
  24956. "type": "number"
  24957. },
  24958. "bid": {
  24959. "description": "买1",
  24960. "type": "number"
  24961. },
  24962. "bid10": {
  24963. "description": "买10",
  24964. "type": "number"
  24965. },
  24966. "bid2": {
  24967. "description": "买2",
  24968. "type": "number"
  24969. },
  24970. "bid3": {
  24971. "description": "买3",
  24972. "type": "number"
  24973. },
  24974. "bid4": {
  24975. "description": "买4",
  24976. "type": "number"
  24977. },
  24978. "bid5": {
  24979. "description": "买5",
  24980. "type": "number"
  24981. },
  24982. "bid6": {
  24983. "description": "买6",
  24984. "type": "number"
  24985. },
  24986. "bid7": {
  24987. "description": "买7",
  24988. "type": "number"
  24989. },
  24990. "bid8": {
  24991. "description": "买8",
  24992. "type": "number"
  24993. },
  24994. "bid9": {
  24995. "description": "买9",
  24996. "type": "number"
  24997. },
  24998. "bidorderid": {
  24999. "description": "买单号1",
  25000. "type": "integer"
  25001. },
  25002. "bidorderid2": {
  25003. "description": "买单号2",
  25004. "type": "integer"
  25005. },
  25006. "bidorderid3": {
  25007. "description": "买单号3",
  25008. "type": "integer"
  25009. },
  25010. "bidorderid4": {
  25011. "description": "买单号4",
  25012. "type": "integer"
  25013. },
  25014. "bidorderid5": {
  25015. "description": "买单号5",
  25016. "type": "integer"
  25017. },
  25018. "bidordervolume": {
  25019. "description": "买单量1",
  25020. "type": "integer"
  25021. },
  25022. "bidordervolume10": {
  25023. "description": "买单量10",
  25024. "type": "integer"
  25025. },
  25026. "bidordervolume2": {
  25027. "description": "买单量2",
  25028. "type": "integer"
  25029. },
  25030. "bidordervolume3": {
  25031. "description": "买单量3",
  25032. "type": "integer"
  25033. },
  25034. "bidordervolume4": {
  25035. "description": "买单量4",
  25036. "type": "integer"
  25037. },
  25038. "bidordervolume5": {
  25039. "description": "买单量5",
  25040. "type": "integer"
  25041. },
  25042. "bidordervolume6": {
  25043. "description": "买单量6",
  25044. "type": "integer"
  25045. },
  25046. "bidordervolume7": {
  25047. "description": "买单量7",
  25048. "type": "integer"
  25049. },
  25050. "bidordervolume8": {
  25051. "description": "买单量8",
  25052. "type": "integer"
  25053. },
  25054. "bidordervolume9": {
  25055. "description": "买单量9",
  25056. "type": "integer"
  25057. },
  25058. "bidqueueinfo": {
  25059. "description": "大利市买港股用",
  25060. "type": "string"
  25061. },
  25062. "bidvolume": {
  25063. "description": "买量1",
  25064. "type": "integer"
  25065. },
  25066. "bidvolume10": {
  25067. "description": "买量10",
  25068. "type": "integer"
  25069. },
  25070. "bidvolume2": {
  25071. "description": "买量2",
  25072. "type": "integer"
  25073. },
  25074. "bidvolume3": {
  25075. "description": "买量3",
  25076. "type": "integer"
  25077. },
  25078. "bidvolume4": {
  25079. "description": "买量4",
  25080. "type": "integer"
  25081. },
  25082. "bidvolume5": {
  25083. "description": "买量5",
  25084. "type": "integer"
  25085. },
  25086. "bidvolume6": {
  25087. "description": "买量6",
  25088. "type": "integer"
  25089. },
  25090. "bidvolume7": {
  25091. "description": "买量7",
  25092. "type": "integer"
  25093. },
  25094. "bidvolume8": {
  25095. "description": "买量8",
  25096. "type": "integer"
  25097. },
  25098. "bidvolume9": {
  25099. "description": "买量9",
  25100. "type": "integer"
  25101. },
  25102. "calloptionpremiums": {
  25103. "description": "认购期权1",
  25104. "type": "integer"
  25105. },
  25106. "calloptionpremiums2": {
  25107. "description": "认购期权2",
  25108. "type": "integer"
  25109. },
  25110. "calloptionpremiums3": {
  25111. "description": "认购期权3",
  25112. "type": "integer"
  25113. },
  25114. "calloptionpremiums4": {
  25115. "description": "认购期权4",
  25116. "type": "integer"
  25117. },
  25118. "calloptionpremiums5": {
  25119. "description": "认购期权5",
  25120. "type": "integer"
  25121. },
  25122. "cleartime": {
  25123. "description": "清盘时间",
  25124. "type": "integer"
  25125. },
  25126. "exchangecode": {
  25127. "description": "交易所代码",
  25128. "type": "integer"
  25129. },
  25130. "exchangedate": {
  25131. "description": "交易日",
  25132. "type": "integer"
  25133. },
  25134. "goodscode": {
  25135. "description": "商品代码",
  25136. "type": "string"
  25137. },
  25138. "grepmarketprice": {
  25139. "description": "暗盘价 港股专用",
  25140. "type": "number"
  25141. },
  25142. "highest": {
  25143. "description": "最高价",
  25144. "type": "number"
  25145. },
  25146. "holdincrement": {
  25147. "description": "单笔持仓",
  25148. "type": "integer"
  25149. },
  25150. "holdvolume": {
  25151. "description": "持仓",
  25152. "type": "integer"
  25153. },
  25154. "iep": {
  25155. "description": "平衡价 港股专用",
  25156. "type": "number"
  25157. },
  25158. "iev": {
  25159. "description": "平衡量 港股专用",
  25160. "type": "number"
  25161. },
  25162. "inventory": {
  25163. "description": "库存",
  25164. "type": "integer"
  25165. },
  25166. "iscleared": {
  25167. "description": "是否清盘标志",
  25168. "type": "integer"
  25169. },
  25170. "issettled": {
  25171. "description": "是否结算标志",
  25172. "type": "integer"
  25173. },
  25174. "last": {
  25175. "description": "最新价",
  25176. "type": "number"
  25177. },
  25178. "lastlot": {
  25179. "description": "最新成交手数",
  25180. "type": "integer"
  25181. },
  25182. "lasttime": {
  25183. "description": "行情时间(只有现价变化行情时间才变化)",
  25184. "type": "string"
  25185. },
  25186. "lastturnover": {
  25187. "description": "最新成交金额",
  25188. "type": "number"
  25189. },
  25190. "lastvolume": {
  25191. "description": "最新成交量",
  25192. "type": "integer"
  25193. },
  25194. "limitdown": {
  25195. "description": "跌停价",
  25196. "type": "number"
  25197. },
  25198. "limitup": {
  25199. "description": "涨停价",
  25200. "type": "number"
  25201. },
  25202. "lowest": {
  25203. "description": "最低价",
  25204. "type": "number"
  25205. },
  25206. "nontotalholdervolume": {
  25207. "description": "非交易持仓量",
  25208. "type": "integer"
  25209. },
  25210. "nontotallot": {
  25211. "description": "非交易总手数",
  25212. "type": "integer"
  25213. },
  25214. "nontotalturnover": {
  25215. "description": "非交易总金额",
  25216. "type": "integer"
  25217. },
  25218. "nontotalvolume": {
  25219. "description": "非交易总量",
  25220. "type": "integer"
  25221. },
  25222. "opened": {
  25223. "description": "开盘价",
  25224. "type": "number"
  25225. },
  25226. "opentime": {
  25227. "description": "开盘时间",
  25228. "type": "string"
  25229. },
  25230. "orderid": {
  25231. "description": "序号",
  25232. "type": "integer"
  25233. },
  25234. "preclose": {
  25235. "description": "昨收",
  25236. "type": "number"
  25237. },
  25238. "preholdvolume": {
  25239. "description": "昨持仓",
  25240. "type": "integer"
  25241. },
  25242. "presettle": {
  25243. "description": "昨结价",
  25244. "type": "number"
  25245. },
  25246. "publictradetype": {
  25247. "description": "公共交易标志类型 港股专用",
  25248. "type": "string"
  25249. },
  25250. "putoptionpremiums": {
  25251. "description": "认沽期权1",
  25252. "type": "integer"
  25253. },
  25254. "putoptionpremiums2": {
  25255. "description": "认沽期权2",
  25256. "type": "integer"
  25257. },
  25258. "putoptionpremiums3": {
  25259. "description": "认沽期权3",
  25260. "type": "integer"
  25261. },
  25262. "putoptionpremiums4": {
  25263. "description": "认沽期权4",
  25264. "type": "integer"
  25265. },
  25266. "putoptionpremiums5": {
  25267. "description": "认沽期权5",
  25268. "type": "integer"
  25269. },
  25270. "settle": {
  25271. "description": "结算价",
  25272. "type": "number"
  25273. },
  25274. "strikeprice": {
  25275. "description": "发行价",
  25276. "type": "number"
  25277. },
  25278. "totalaskvolume": {
  25279. "description": "内盘",
  25280. "type": "integer"
  25281. },
  25282. "totalbidvolume": {
  25283. "description": "外盘",
  25284. "type": "integer"
  25285. },
  25286. "totallot": {
  25287. "description": "总手数",
  25288. "type": "integer"
  25289. },
  25290. "totalturnover": {
  25291. "description": "总金额",
  25292. "type": "number"
  25293. },
  25294. "totalvolume": {
  25295. "description": "总量",
  25296. "type": "integer"
  25297. },
  25298. "utclasttime": {
  25299. "description": "utc的行情时间",
  25300. "type": "string"
  25301. }
  25302. }
  25303. },
  25304. "quote.QueryTSDataRsp": {
  25305. "type": "object",
  25306. "properties": {
  25307. "Count": {
  25308. "description": "交易日应有数据个数",
  25309. "type": "integer"
  25310. },
  25311. "decimalPlace": {
  25312. "description": "小数位",
  25313. "type": "integer"
  25314. },
  25315. "endTime": {
  25316. "description": "结束时间",
  25317. "type": "string"
  25318. },
  25319. "goodsCode": {
  25320. "description": "商品代码",
  25321. "type": "string"
  25322. },
  25323. "historyDatas": {
  25324. "description": "历史数据",
  25325. "type": "array",
  25326. "items": {
  25327. "$ref": "#/definitions/quote.HistoryData"
  25328. }
  25329. },
  25330. "outGoodsCode": {
  25331. "description": "外部商品代码",
  25332. "type": "string"
  25333. },
  25334. "preSettle": {
  25335. "description": "昨结价",
  25336. "type": "number"
  25337. },
  25338. "runSteps": {
  25339. "description": "交易日开休市计划",
  25340. "type": "array",
  25341. "items": {
  25342. "$ref": "#/definitions/quote.TSDataRunStep"
  25343. }
  25344. },
  25345. "startTime": {
  25346. "description": "开始时间",
  25347. "type": "string"
  25348. },
  25349. "tradeDate": {
  25350. "description": "交易日",
  25351. "type": "string"
  25352. }
  25353. }
  25354. },
  25355. "quote.TSDataRunStep": {
  25356. "type": "object",
  25357. "properties": {
  25358. "end": {
  25359. "description": "真实结束时间",
  25360. "type": "string"
  25361. },
  25362. "endflag": {
  25363. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  25364. "type": "integer"
  25365. },
  25366. "endtime": {
  25367. "description": "结束时间(HH:mm)",
  25368. "type": "string"
  25369. },
  25370. "endweekday": {
  25371. "description": "结束周几",
  25372. "type": "integer"
  25373. },
  25374. "groupid": {
  25375. "description": "分组ID",
  25376. "type": "integer"
  25377. },
  25378. "runstep": {
  25379. "description": "运行阶段 - 2:连续交易",
  25380. "type": "integer"
  25381. },
  25382. "sectionid": {
  25383. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  25384. "type": "integer"
  25385. },
  25386. "start": {
  25387. "description": "真实开始时间",
  25388. "type": "string"
  25389. },
  25390. "startflag": {
  25391. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  25392. "type": "integer"
  25393. },
  25394. "starttime": {
  25395. "description": "起始时间(HH:mm)",
  25396. "type": "string"
  25397. },
  25398. "startweekday": {
  25399. "description": "起始周几",
  25400. "type": "integer"
  25401. },
  25402. "tradeweekday": {
  25403. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  25404. "type": "integer"
  25405. }
  25406. }
  25407. },
  25408. "szdz.QueryConvertLogRsp": {
  25409. "type": "object",
  25410. "required": [
  25411. "logid"
  25412. ],
  25413. "properties": {
  25414. "accountid": {
  25415. "description": "资金账户ID",
  25416. "type": "integer"
  25417. },
  25418. "clientticket": {
  25419. "description": "客户端流水号",
  25420. "type": "string"
  25421. },
  25422. "converttype": {
  25423. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  25424. "type": "integer"
  25425. },
  25426. "createtime": {
  25427. "description": "记账时间",
  25428. "type": "string"
  25429. },
  25430. "daymaxvalue": {
  25431. "description": "配置当日最大转入限制",
  25432. "type": "number"
  25433. },
  25434. "daymaxvalue2": {
  25435. "description": "配置当日最大转入限制(转入)",
  25436. "type": "number"
  25437. },
  25438. "goodscode": {
  25439. "description": "商品代码",
  25440. "type": "string"
  25441. },
  25442. "goodsname": {
  25443. "description": "商品名称",
  25444. "type": "string"
  25445. },
  25446. "handlestatus": {
  25447. "description": "处理状态",
  25448. "type": "integer"
  25449. },
  25450. "innergoodsid": {
  25451. "description": "内部商品ID",
  25452. "type": "integer"
  25453. },
  25454. "inratio": {
  25455. "description": "配置转入比值",
  25456. "type": "integer"
  25457. },
  25458. "invalue": {
  25459. "description": "目标值",
  25460. "type": "number"
  25461. },
  25462. "logid": {
  25463. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25464. "type": "integer"
  25465. },
  25466. "mobile": {
  25467. "description": "手机号码(加密存储)",
  25468. "type": "string"
  25469. },
  25470. "outergoodscode": {
  25471. "description": "外部商品代码[JD\\PD]",
  25472. "type": "string"
  25473. },
  25474. "outratio": {
  25475. "description": "配置转出比值",
  25476. "type": "integer"
  25477. },
  25478. "outvalue": {
  25479. "description": "源值",
  25480. "type": "number"
  25481. },
  25482. "pddecimalplace": {
  25483. "description": "PD小数位",
  25484. "type": "integer"
  25485. },
  25486. "qty": {
  25487. "description": "数量",
  25488. "type": "string"
  25489. },
  25490. "remark": {
  25491. "description": "备注",
  25492. "type": "string"
  25493. },
  25494. "sessionid": {
  25495. "description": "会话ID",
  25496. "type": "integer"
  25497. },
  25498. "timemaxvalue": {
  25499. "description": "配置单次最大转入限制",
  25500. "type": "number"
  25501. },
  25502. "timemaxvalue2": {
  25503. "description": "配置单次最大转入限制(转入)",
  25504. "type": "number"
  25505. },
  25506. "timeminvalue": {
  25507. "description": "配置单次最小数量限制",
  25508. "type": "number"
  25509. },
  25510. "timeminvalue2": {
  25511. "description": "配置单次最小数量限制(转入)",
  25512. "type": "number"
  25513. },
  25514. "tradedate": {
  25515. "description": "交易日(yyyyMMdd)",
  25516. "type": "string"
  25517. },
  25518. "userid": {
  25519. "description": "用户ID",
  25520. "type": "integer"
  25521. }
  25522. }
  25523. },
  25524. "szdz.QueryGoodsPickupRsp": {
  25525. "type": "object",
  25526. "required": [
  25527. "takeorderid"
  25528. ],
  25529. "properties": {
  25530. "accountid": {
  25531. "description": "账户ID",
  25532. "type": "integer"
  25533. },
  25534. "address": {
  25535. "description": "提货人详细地址",
  25536. "type": "string"
  25537. },
  25538. "auditer": {
  25539. "description": "审核人",
  25540. "type": "integer"
  25541. },
  25542. "audittime": {
  25543. "description": "审核时间",
  25544. "type": "string"
  25545. },
  25546. "cardnum": {
  25547. "description": "提货人证件号码",
  25548. "type": "string"
  25549. },
  25550. "cardtypeid": {
  25551. "description": "提货人证件类型",
  25552. "type": "integer"
  25553. },
  25554. "checkremark": {
  25555. "description": "审核备注",
  25556. "type": "string"
  25557. },
  25558. "goodscode": {
  25559. "description": "商品代码",
  25560. "type": "string"
  25561. },
  25562. "goodsid": {
  25563. "description": "商品ID",
  25564. "type": "integer"
  25565. },
  25566. "goodsname": {
  25567. "description": "商品名称",
  25568. "type": "string"
  25569. },
  25570. "handlestatus": {
  25571. "description": "处理状态",
  25572. "type": "integer"
  25573. },
  25574. "marketid": {
  25575. "description": "市场ID",
  25576. "type": "integer"
  25577. },
  25578. "phonenum": {
  25579. "description": "提货人联系方式",
  25580. "type": "string"
  25581. },
  25582. "qty": {
  25583. "description": "提货数量",
  25584. "type": "number"
  25585. },
  25586. "recivername": {
  25587. "description": "提货人姓名",
  25588. "type": "string"
  25589. },
  25590. "reqtime": {
  25591. "description": "更新时间",
  25592. "type": "string"
  25593. },
  25594. "takemode": {
  25595. "description": "提货方式 - 2:自提 3:配送",
  25596. "type": "integer"
  25597. },
  25598. "takeorderid": {
  25599. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25600. "type": "string"
  25601. },
  25602. "takeorderstatus": {
  25603. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25604. "type": "integer"
  25605. },
  25606. "takeremark": {
  25607. "description": "提货备注",
  25608. "type": "string"
  25609. },
  25610. "tradedate": {
  25611. "description": "交易日(yyyyMMdd)",
  25612. "type": "string"
  25613. },
  25614. "userid": {
  25615. "description": "用户ID",
  25616. "type": "integer"
  25617. }
  25618. }
  25619. },
  25620. "szdz.QueryRecieptOrderRsp": {
  25621. "type": "object",
  25622. "required": [
  25623. "ordertime"
  25624. ],
  25625. "properties": {
  25626. "accountName": {
  25627. "description": "所属账号名称(已脱敏)",
  25628. "type": "string"
  25629. },
  25630. "accountid": {
  25631. "description": "资金账号",
  25632. "type": "integer"
  25633. },
  25634. "buyorsell": {
  25635. "description": "方向 - 0:买 1:卖",
  25636. "type": "integer"
  25637. },
  25638. "enableqty": {
  25639. "description": "可摘数量",
  25640. "type": "integer"
  25641. },
  25642. "goodscode": {
  25643. "description": "商品代码",
  25644. "type": "string"
  25645. },
  25646. "goodsid": {
  25647. "description": "商品ID",
  25648. "type": "integer"
  25649. },
  25650. "goodsname": {
  25651. "description": "商品名称",
  25652. "type": "string"
  25653. },
  25654. "orderid": {
  25655. "description": "委托单号",
  25656. "type": "string"
  25657. },
  25658. "orderprice": {
  25659. "description": "委托价格",
  25660. "type": "number"
  25661. },
  25662. "ordertime": {
  25663. "description": "委托时间",
  25664. "type": "string"
  25665. },
  25666. "tradedate": {
  25667. "description": "交易日(yyyyMMdd)",
  25668. "type": "string"
  25669. }
  25670. }
  25671. },
  25672. "szdz.QuerySZDZTradePositionRsp": {
  25673. "type": "object",
  25674. "properties": {
  25675. "accountid": {
  25676. "description": "账号Id",
  25677. "type": "integer"
  25678. },
  25679. "agreeunit": {
  25680. "description": "合约单位",
  25681. "type": "number"
  25682. },
  25683. "averageprice": {
  25684. "description": "持仓均价",
  25685. "type": "number"
  25686. },
  25687. "buyorsell": {
  25688. "description": "方向 - 0:买 1:卖",
  25689. "type": "integer"
  25690. },
  25691. "closetotalqty": {
  25692. "description": "平仓总数量",
  25693. "type": "integer"
  25694. },
  25695. "curholderamount": {
  25696. "description": "当前持仓总金额",
  25697. "type": "number"
  25698. },
  25699. "curpositionqty": {
  25700. "description": "当前持仓总数量",
  25701. "type": "integer"
  25702. },
  25703. "currencyid": {
  25704. "description": "报价货币ID",
  25705. "type": "integer"
  25706. },
  25707. "curtdposition": {
  25708. "description": "期末今日头寸",
  25709. "type": "integer"
  25710. },
  25711. "decimalplace": {
  25712. "description": "报价小数位",
  25713. "type": "integer"
  25714. },
  25715. "enableqty": {
  25716. "description": "可用量",
  25717. "type": "integer"
  25718. },
  25719. "fretdposition": {
  25720. "description": "冻结今日头寸",
  25721. "type": "integer"
  25722. },
  25723. "frozenqty": {
  25724. "description": "持仓冻结数量",
  25725. "type": "integer"
  25726. },
  25727. "goodscode": {
  25728. "description": "商品代码(内部)",
  25729. "type": "string"
  25730. },
  25731. "goodsid": {
  25732. "description": "商品Id",
  25733. "type": "integer"
  25734. },
  25735. "goodsname": {
  25736. "description": "商品名称",
  25737. "type": "string"
  25738. },
  25739. "goodunit": {
  25740. "description": "报价单位",
  25741. "type": "string"
  25742. },
  25743. "goodunitid": {
  25744. "description": "报价单位ID",
  25745. "type": "integer"
  25746. },
  25747. "holderamount": {
  25748. "description": "期初持仓总金额",
  25749. "type": "number"
  25750. },
  25751. "marketid": {
  25752. "description": "市场ID",
  25753. "type": "integer"
  25754. },
  25755. "openreqqty": {
  25756. "description": "开仓申请数量",
  25757. "type": "integer"
  25758. },
  25759. "opentotalqty": {
  25760. "description": "开仓总数量",
  25761. "type": "integer"
  25762. },
  25763. "otherfrozenqty": {
  25764. "description": "持仓其他冻结数量(交割冻结)",
  25765. "type": "integer"
  25766. },
  25767. "positionqty": {
  25768. "description": "期初持仓数量",
  25769. "type": "integer"
  25770. },
  25771. "szdz3freezqty": {
  25772. "description": "尚志大宗转换冻结总数量",
  25773. "type": "integer"
  25774. },
  25775. "tnqty": {
  25776. "description": "T+N冻结总量",
  25777. "type": "integer"
  25778. },
  25779. "tnusedqty": {
  25780. "description": "T+N使用量",
  25781. "type": "integer"
  25782. },
  25783. "trademode": {
  25784. "description": "交易模式",
  25785. "type": "integer"
  25786. },
  25787. "usedmargin": {
  25788. "description": "占用保证金",
  25789. "type": "number"
  25790. }
  25791. }
  25792. },
  25793. "taaccount.QueryAmountLogRsp": {
  25794. "type": "object",
  25795. "required": [
  25796. "accountid",
  25797. "amount",
  25798. "amountadjusttype",
  25799. "autoid",
  25800. "balance",
  25801. "createtime",
  25802. "currentbalance",
  25803. "operatetype"
  25804. ],
  25805. "properties": {
  25806. "OPERATETYPENAME": {
  25807. "description": "资金操作类型名称",
  25808. "type": "string"
  25809. },
  25810. "accountid": {
  25811. "description": "资金账户ID",
  25812. "type": "integer"
  25813. },
  25814. "agoodscode": {
  25815. "description": "竞拍商品代码",
  25816. "type": "string"
  25817. },
  25818. "agoodsname": {
  25819. "description": "竞拍商品名称",
  25820. "type": "string"
  25821. },
  25822. "amount": {
  25823. "description": "资金金额",
  25824. "type": "number"
  25825. },
  25826. "amountadjusttype": {
  25827. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25828. "type": "integer"
  25829. },
  25830. "autoid": {
  25831. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25832. "type": "integer"
  25833. },
  25834. "balance": {
  25835. "description": "期初余额",
  25836. "type": "number"
  25837. },
  25838. "businesscode": {
  25839. "description": "业务编号",
  25840. "type": "integer"
  25841. },
  25842. "createtime": {
  25843. "description": "发生时间",
  25844. "type": "string"
  25845. },
  25846. "currencyid": {
  25847. "description": "币种ID",
  25848. "type": "integer"
  25849. },
  25850. "currentbalance": {
  25851. "description": "期末余额(变动后金额)",
  25852. "type": "number"
  25853. },
  25854. "dgoodscode": {
  25855. "description": "交割商品代码",
  25856. "type": "string"
  25857. },
  25858. "dgoodsname": {
  25859. "description": "交割商品名称",
  25860. "type": "string"
  25861. },
  25862. "goodscode": {
  25863. "description": "商品代码",
  25864. "type": "string"
  25865. },
  25866. "goodsid": {
  25867. "description": "商品ID",
  25868. "type": "integer"
  25869. },
  25870. "goodsname": {
  25871. "description": "商品名称",
  25872. "type": "string"
  25873. },
  25874. "marketid": {
  25875. "description": "市场ID",
  25876. "type": "integer"
  25877. },
  25878. "marketname": {
  25879. "description": "市场名称",
  25880. "type": "string"
  25881. },
  25882. "moneyticket": {
  25883. "description": "资金流水号:银行端流水号",
  25884. "type": "integer"
  25885. },
  25886. "operatetype": {
  25887. "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:营销收款",
  25888. "type": "integer"
  25889. },
  25890. "relationorderid": {
  25891. "description": "关联单号",
  25892. "type": "string"
  25893. },
  25894. "remark": {
  25895. "description": "备注",
  25896. "type": "string"
  25897. },
  25898. "trademode": {
  25899. "description": "交易模式",
  25900. "type": "integer"
  25901. }
  25902. }
  25903. },
  25904. "taaccount.QueryHisAmountLogRsp": {
  25905. "type": "object",
  25906. "required": [
  25907. "accountid",
  25908. "amount",
  25909. "amountadjusttype",
  25910. "autoid",
  25911. "balance",
  25912. "createtime",
  25913. "currentbalance",
  25914. "histradedate",
  25915. "operatetype"
  25916. ],
  25917. "properties": {
  25918. "OPERATETYPENAME": {
  25919. "description": "资金操作类型名称",
  25920. "type": "string"
  25921. },
  25922. "accountid": {
  25923. "description": "资金账户ID",
  25924. "type": "integer"
  25925. },
  25926. "agoodscode": {
  25927. "description": "竞拍商品代码",
  25928. "type": "string"
  25929. },
  25930. "agoodsname": {
  25931. "description": "竞拍商品名称",
  25932. "type": "string"
  25933. },
  25934. "amount": {
  25935. "description": "资金金额",
  25936. "type": "number"
  25937. },
  25938. "amountadjusttype": {
  25939. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25940. "type": "integer"
  25941. },
  25942. "autoid": {
  25943. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25944. "type": "integer"
  25945. },
  25946. "balance": {
  25947. "description": "期初余额",
  25948. "type": "number"
  25949. },
  25950. "businesscode": {
  25951. "description": "业务编号",
  25952. "type": "integer"
  25953. },
  25954. "createtime": {
  25955. "description": "发生时间",
  25956. "type": "string"
  25957. },
  25958. "currencyid": {
  25959. "description": "币种ID",
  25960. "type": "integer"
  25961. },
  25962. "currentbalance": {
  25963. "description": "期末余额(变动后金额)",
  25964. "type": "number"
  25965. },
  25966. "dgoodscode": {
  25967. "description": "交割商品代码",
  25968. "type": "string"
  25969. },
  25970. "dgoodsname": {
  25971. "description": "交割商品名称",
  25972. "type": "string"
  25973. },
  25974. "goodscode": {
  25975. "description": "商品代码",
  25976. "type": "string"
  25977. },
  25978. "goodsid": {
  25979. "description": "商品ID",
  25980. "type": "integer"
  25981. },
  25982. "goodsname": {
  25983. "description": "商品名称",
  25984. "type": "string"
  25985. },
  25986. "histradedate": {
  25987. "description": "历史交易日",
  25988. "type": "string"
  25989. },
  25990. "isvaliddata": {
  25991. "description": "是否有效 - 0:无效 1:有效",
  25992. "type": "integer"
  25993. },
  25994. "marketid": {
  25995. "description": "市场ID",
  25996. "type": "integer"
  25997. },
  25998. "marketname": {
  25999. "description": "市场名称",
  26000. "type": "string"
  26001. },
  26002. "moneyticket": {
  26003. "description": "资金流水号:银行端流水号",
  26004. "type": "integer"
  26005. },
  26006. "operatetype": {
  26007. "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:营销收款",
  26008. "type": "integer"
  26009. },
  26010. "relationorderid": {
  26011. "description": "关联单号",
  26012. "type": "string"
  26013. },
  26014. "remark": {
  26015. "description": "备注",
  26016. "type": "string"
  26017. },
  26018. "trademode": {
  26019. "description": "交易模式",
  26020. "type": "integer"
  26021. }
  26022. }
  26023. },
  26024. "trade.QueryRecieptOrderRsp": {
  26025. "type": "object",
  26026. "required": [
  26027. "ordertime"
  26028. ],
  26029. "properties": {
  26030. "accountName": {
  26031. "description": "所属账号名称(已脱敏)",
  26032. "type": "string"
  26033. },
  26034. "accountid": {
  26035. "description": "资金账号",
  26036. "type": "integer"
  26037. },
  26038. "buyorsell": {
  26039. "description": "方向 - 0:买 1:卖",
  26040. "type": "integer"
  26041. },
  26042. "enableqty": {
  26043. "description": "可摘数量",
  26044. "type": "integer"
  26045. },
  26046. "goodscode": {
  26047. "description": "商品代码",
  26048. "type": "string"
  26049. },
  26050. "goodsid": {
  26051. "description": "商品ID",
  26052. "type": "integer"
  26053. },
  26054. "goodsname": {
  26055. "description": "商品名称",
  26056. "type": "string"
  26057. },
  26058. "orderid": {
  26059. "description": "委托单号",
  26060. "type": "string"
  26061. },
  26062. "orderprice": {
  26063. "description": "委托价格",
  26064. "type": "number"
  26065. },
  26066. "ordertime": {
  26067. "description": "委托时间",
  26068. "type": "string"
  26069. },
  26070. "tradedate": {
  26071. "description": "交易日(yyyyMMdd)",
  26072. "type": "string"
  26073. }
  26074. }
  26075. },
  26076. "user.LoginQueryRsp": {
  26077. "type": "object",
  26078. "properties": {
  26079. "externalExchanges": {
  26080. "description": "外部交易所",
  26081. "type": "array",
  26082. "items": {
  26083. "$ref": "#/definitions/models.Externalexchange"
  26084. }
  26085. },
  26086. "goodsgroups": {
  26087. "description": "商品组",
  26088. "type": "array",
  26089. "items": {
  26090. "$ref": "#/definitions/models.Goodsgroup"
  26091. }
  26092. },
  26093. "loginAccount": {
  26094. "description": "登录账号",
  26095. "type": "object",
  26096. "$ref": "#/definitions/models.Loginaccount"
  26097. },
  26098. "markets": {
  26099. "description": "市场",
  26100. "type": "array",
  26101. "items": {
  26102. "$ref": "#/definitions/models.Market"
  26103. }
  26104. },
  26105. "systemParams": {
  26106. "description": "系统参数",
  26107. "type": "array",
  26108. "items": {
  26109. "$ref": "#/definitions/models.Systemparam"
  26110. }
  26111. },
  26112. "userAccount": {
  26113. "description": "用户账号",
  26114. "type": "object",
  26115. "$ref": "#/definitions/models.Useraccount"
  26116. },
  26117. "userInfo": {
  26118. "description": "用户信息",
  26119. "type": "object",
  26120. "$ref": "#/definitions/models.Userinfo"
  26121. },
  26122. "username": {
  26123. "description": "用户姓名",
  26124. "type": "string"
  26125. }
  26126. }
  26127. }
  26128. },
  26129. "securityDefinitions": {
  26130. "ApiKeyAuth": {
  26131. "type": "apiKey",
  26132. "name": "Authorization",
  26133. "in": "header"
  26134. }
  26135. }
  26136. }`
  26137. type swaggerInfo struct {
  26138. Version string
  26139. Host string
  26140. BasePath string
  26141. Schemes []string
  26142. Title string
  26143. Description string
  26144. }
  26145. // SwaggerInfo holds exported Swagger Info so clients can modify it
  26146. var SwaggerInfo = swaggerInfo{
  26147. Version: "1.0",
  26148. Host: "",
  26149. BasePath: "/api",
  26150. Schemes: []string{},
  26151. Title: "MTP2.0 查询服务 API",
  26152. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  26153. }
  26154. type s struct{}
  26155. func (s *s) ReadDoc() string {
  26156. sInfo := SwaggerInfo
  26157. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  26158. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  26159. "marshal": func(v interface{}) string {
  26160. a, _ := json.Marshal(v)
  26161. return string(a)
  26162. },
  26163. }).Parse(doc)
  26164. if err != nil {
  26165. return doc
  26166. }
  26167. var tpl bytes.Buffer
  26168. if err := t.Execute(&tpl, sInfo); err != nil {
  26169. return doc
  26170. }
  26171. return tpl.String()
  26172. }
  26173. func init() {
  26174. swag.Register(swag.Name, &s{})
  26175. }