docs.go 938 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143
  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. }
  14596. },
  14597. "models.Ermcp3MiddleGoodsDetail2": {
  14598. "type": "object",
  14599. "properties": {
  14600. "convertratio": {
  14601. "description": "套保系数(折算系数)",
  14602. "type": "number"
  14603. },
  14604. "gplist": {
  14605. "description": "关联商品组列表",
  14606. "type": "array",
  14607. "items": {
  14608. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14609. }
  14610. },
  14611. "mg": {
  14612. "description": "套保商品信息",
  14613. "type": "object",
  14614. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14615. }
  14616. }
  14617. },
  14618. "models.Ermcp3MiddleGoodsDetailEx": {
  14619. "type": "object",
  14620. "properties": {
  14621. "dglist": {
  14622. "description": "关联的现货品种列表",
  14623. "type": "array",
  14624. "items": {
  14625. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14626. }
  14627. },
  14628. "gplist": {
  14629. "description": "关联商品组列表",
  14630. "type": "array",
  14631. "items": {
  14632. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14633. }
  14634. },
  14635. "mg": {
  14636. "description": "套保商品信息",
  14637. "type": "object",
  14638. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14639. }
  14640. }
  14641. },
  14642. "models.Ermcp3ReckonAreaSpotSub": {
  14643. "type": "object",
  14644. "required": [
  14645. "areauserid",
  14646. "reckondate"
  14647. ],
  14648. "properties": {
  14649. "accountid": {
  14650. "description": "期货账户ID",
  14651. "type": "integer"
  14652. },
  14653. "accountname": {
  14654. "description": "所属机构名称",
  14655. "type": "string"
  14656. },
  14657. "areauserid": {
  14658. "description": "账户所属机构",
  14659. "type": "integer"
  14660. },
  14661. "brandname": {
  14662. "description": "品牌名称",
  14663. "type": "string"
  14664. },
  14665. "buycontractinqty": {
  14666. "description": "采购合同入库量",
  14667. "type": "number"
  14668. },
  14669. "buypricedamount": {
  14670. "description": "采购合同已定价金额",
  14671. "type": "number"
  14672. },
  14673. "buypricedqty": {
  14674. "description": "采购合同已定价数量",
  14675. "type": "number"
  14676. },
  14677. "buyreckonqty": {
  14678. "description": "采购合同交收量",
  14679. "type": "number"
  14680. },
  14681. "deliverygoodscode": {
  14682. "description": "现货商品代码",
  14683. "type": "string"
  14684. },
  14685. "deliverygoodsid": {
  14686. "description": "现货品种ID",
  14687. "type": "integer"
  14688. },
  14689. "deliverygoodsname": {
  14690. "description": "现货商品名称",
  14691. "type": "string"
  14692. },
  14693. "enumdicname": {
  14694. "description": "现货商品单位名称",
  14695. "type": "string"
  14696. },
  14697. "goodsunitid": {
  14698. "description": "现货商品单位id",
  14699. "type": "integer"
  14700. },
  14701. "oribuycontractinqty": {
  14702. "description": "期初采购合同入库量",
  14703. "type": "number"
  14704. },
  14705. "oribuypricedamount": {
  14706. "description": "期初采购合同已定价金额",
  14707. "type": "number"
  14708. },
  14709. "oribuypricedqty": {
  14710. "description": "期初采购合同已定价数量",
  14711. "type": "number"
  14712. },
  14713. "oribuyreckonqty": {
  14714. "description": "期初采购合同交收量",
  14715. "type": "number"
  14716. },
  14717. "oriproduceinqty": {
  14718. "description": "期初生产入库量",
  14719. "type": "number"
  14720. },
  14721. "oriproduceoutqty": {
  14722. "description": "期初生产出库量",
  14723. "type": "number"
  14724. },
  14725. "orisellcontractoutqty": {
  14726. "description": "期初销售合同出库量",
  14727. "type": "number"
  14728. },
  14729. "orisellpricedamount": {
  14730. "description": "期初销售合同已定价金额",
  14731. "type": "number"
  14732. },
  14733. "orisellpricedqty": {
  14734. "description": "期初销售合同已定价数量",
  14735. "type": "number"
  14736. },
  14737. "orisellreckonqty": {
  14738. "description": "期初销售合同交收量",
  14739. "type": "number"
  14740. },
  14741. "produceinqty": {
  14742. "description": "生产入库量",
  14743. "type": "number"
  14744. },
  14745. "produceoutqty": {
  14746. "description": "生产出库量",
  14747. "type": "number"
  14748. },
  14749. "reckondate": {
  14750. "description": "日照时期(yyyyMMdd)",
  14751. "type": "string"
  14752. },
  14753. "sellcontractoutqty": {
  14754. "description": "销售合同出库量",
  14755. "type": "number"
  14756. },
  14757. "sellpricedamount": {
  14758. "description": "销售合同已定价金额",
  14759. "type": "number"
  14760. },
  14761. "sellpricedqty": {
  14762. "description": "销售合同已定价数量",
  14763. "type": "number"
  14764. },
  14765. "sellreckonqty": {
  14766. "description": "销售合同交收量",
  14767. "type": "number"
  14768. },
  14769. "spotgoodsbrandid": {
  14770. "description": "现货品牌ID",
  14771. "type": "integer"
  14772. },
  14773. "todaybuyreckonqty": {
  14774. "description": "今日采购合同已确定数量",
  14775. "type": "number"
  14776. },
  14777. "todaysellreckonqty": {
  14778. "description": "今日销售合同已确定数量",
  14779. "type": "number"
  14780. },
  14781. "totalbuypricedqty": {
  14782. "description": "采购定价量 = 期末 - 期初",
  14783. "type": "number"
  14784. },
  14785. "totalsellpricedqty": {
  14786. "description": "销售定价量 = 期末 - 期初",
  14787. "type": "number"
  14788. },
  14789. "totalspotqty": {
  14790. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  14791. "type": "number"
  14792. },
  14793. "updatetime": {
  14794. "description": "更新时间",
  14795. "type": "string"
  14796. },
  14797. "wrfactortypeid": {
  14798. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14799. "type": "integer"
  14800. },
  14801. "wrstandardcode": {
  14802. "description": "品类代码",
  14803. "type": "string"
  14804. },
  14805. "wrstandardid": {
  14806. "description": "现货品类ID",
  14807. "type": "integer"
  14808. },
  14809. "wrstandardname": {
  14810. "description": "品类名称",
  14811. "type": "string"
  14812. }
  14813. }
  14814. },
  14815. "models.Ermcp3ReportAreaSpotPL": {
  14816. "type": "object",
  14817. "properties": {
  14818. "actualpl": {
  14819. "description": "实际损益",
  14820. "type": "number"
  14821. },
  14822. "areauserid": {
  14823. "description": "所属机构",
  14824. "type": "integer"
  14825. },
  14826. "brandname": {
  14827. "description": "品牌名称",
  14828. "type": "string"
  14829. },
  14830. "curamount": {
  14831. "description": "期末额",
  14832. "type": "number"
  14833. },
  14834. "curaverageprice": {
  14835. "description": "期末均价",
  14836. "type": "number"
  14837. },
  14838. "curbuyamount": {
  14839. "description": "期末采购总额(采购额)",
  14840. "type": "number"
  14841. },
  14842. "curbuyqty": {
  14843. "description": "期末采购总量",
  14844. "type": "number"
  14845. },
  14846. "curmarketvalue": {
  14847. "description": "参考市值",
  14848. "type": "number"
  14849. },
  14850. "curqty": {
  14851. "description": "期末量",
  14852. "type": "number"
  14853. },
  14854. "cursellamount": {
  14855. "description": "期末销售总额(销售额)",
  14856. "type": "number"
  14857. },
  14858. "cursellqty": {
  14859. "description": "期末销售总量",
  14860. "type": "number"
  14861. },
  14862. "curspotprice": {
  14863. "description": "参考市价",
  14864. "type": "number"
  14865. },
  14866. "deliverygoodscode": {
  14867. "description": "现货品种代码",
  14868. "type": "string"
  14869. },
  14870. "deliverygoodsid": {
  14871. "description": "现货品种id",
  14872. "type": "integer"
  14873. },
  14874. "deliverygoodsname": {
  14875. "description": "现货品种名称",
  14876. "type": "string"
  14877. },
  14878. "enumdicname": {
  14879. "description": "现货商品单位名称",
  14880. "type": "string"
  14881. },
  14882. "floatpl": {
  14883. "description": "浮动损益",
  14884. "type": "number"
  14885. },
  14886. "gbenumdicname": {
  14887. "description": "品类单位名称",
  14888. "type": "string"
  14889. },
  14890. "gbunitid": {
  14891. "description": "现货单位id",
  14892. "type": "integer"
  14893. },
  14894. "modelname": {
  14895. "description": "品类名称",
  14896. "type": "string"
  14897. },
  14898. "oriamount": {
  14899. "description": "期初额",
  14900. "type": "number"
  14901. },
  14902. "oriaverageprice": {
  14903. "description": "期初均价",
  14904. "type": "number"
  14905. },
  14906. "oribuyamount": {
  14907. "description": "期初采购总额",
  14908. "type": "number"
  14909. },
  14910. "oribuyqty": {
  14911. "description": "期初采购总量",
  14912. "type": "number"
  14913. },
  14914. "oriqty": {
  14915. "description": "期初量",
  14916. "type": "number"
  14917. },
  14918. "orisellamount": {
  14919. "description": "期初销售总额",
  14920. "type": "number"
  14921. },
  14922. "orisellqty": {
  14923. "description": "期初销售总量",
  14924. "type": "number"
  14925. },
  14926. "spotgoodsbrandid": {
  14927. "description": "现货品牌ID",
  14928. "type": "integer"
  14929. },
  14930. "todaybuyamount": {
  14931. "description": "今日采购额",
  14932. "type": "number"
  14933. },
  14934. "todaybuyaverageprice": {
  14935. "description": "今日采购均价(采购均价)",
  14936. "type": "number"
  14937. },
  14938. "todaybuyqty": {
  14939. "description": "今日采购量(采购增量)",
  14940. "type": "number"
  14941. },
  14942. "todaysellamount": {
  14943. "description": "今日销售额",
  14944. "type": "number"
  14945. },
  14946. "todaysellaverageprice": {
  14947. "description": "今日销售均价(销售均价)",
  14948. "type": "number"
  14949. },
  14950. "todaysellqty": {
  14951. "description": "今日销售量(销售增量)",
  14952. "type": "number"
  14953. },
  14954. "unitid": {
  14955. "description": "品类单位id",
  14956. "type": "integer"
  14957. },
  14958. "updatetime": {
  14959. "description": "更新时间",
  14960. "type": "string"
  14961. },
  14962. "wrstandardcode": {
  14963. "description": "品类代码",
  14964. "type": "string"
  14965. },
  14966. "wrstandardid": {
  14967. "description": "品类ID",
  14968. "type": "integer"
  14969. },
  14970. "wrstandardname": {
  14971. "description": "品类名称",
  14972. "type": "string"
  14973. }
  14974. }
  14975. },
  14976. "models.Ermcp3ReportAreaSpotSub": {
  14977. "type": "object",
  14978. "required": [
  14979. "areauserid"
  14980. ],
  14981. "properties": {
  14982. "accountid": {
  14983. "description": "期货账户ID",
  14984. "type": "integer"
  14985. },
  14986. "accountname": {
  14987. "description": "所属机构名称",
  14988. "type": "string"
  14989. },
  14990. "areauserid": {
  14991. "description": "账户所属机构",
  14992. "type": "integer"
  14993. },
  14994. "brandname": {
  14995. "description": "品牌名称",
  14996. "type": "string"
  14997. },
  14998. "buycontractinqty": {
  14999. "description": "采购合同入库量【期末】",
  15000. "type": "number"
  15001. },
  15002. "buypricedamount": {
  15003. "description": "采购合同已定价金额【期末】",
  15004. "type": "number"
  15005. },
  15006. "buypricedqty": {
  15007. "description": "采购合同已定价数量【期末】",
  15008. "type": "number"
  15009. },
  15010. "buyreckonqty": {
  15011. "description": "采购合同交收量【期末】",
  15012. "type": "number"
  15013. },
  15014. "cycletime": {
  15015. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15016. "type": "string"
  15017. },
  15018. "cycletype": {
  15019. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15020. "type": "integer"
  15021. },
  15022. "deliverygoodscode": {
  15023. "description": "现货商品代码",
  15024. "type": "string"
  15025. },
  15026. "deliverygoodsid": {
  15027. "description": "现货品种ID",
  15028. "type": "integer"
  15029. },
  15030. "deliverygoodsname": {
  15031. "description": "现货商品名称",
  15032. "type": "string"
  15033. },
  15034. "enumdicname": {
  15035. "description": "现货商品单位名称",
  15036. "type": "string"
  15037. },
  15038. "goodsunitid": {
  15039. "description": "现货商品单位id",
  15040. "type": "integer"
  15041. },
  15042. "oribuycontractinqty": {
  15043. "description": "期初采购合同入库量【期初】",
  15044. "type": "number"
  15045. },
  15046. "oribuypricedamount": {
  15047. "description": "期初采购合同已定价金额【期初】",
  15048. "type": "number"
  15049. },
  15050. "oribuypricedqty": {
  15051. "description": "期初采购合同已定价数量【期初】",
  15052. "type": "number"
  15053. },
  15054. "oribuyreckonqty": {
  15055. "description": "期初采购合同交收量【期初】",
  15056. "type": "number"
  15057. },
  15058. "oriproduceinqty": {
  15059. "description": "期初生产入库量【期初】",
  15060. "type": "number"
  15061. },
  15062. "oriproduceoutqty": {
  15063. "description": "期初生产出库量【期初】",
  15064. "type": "number"
  15065. },
  15066. "orisellcontractoutqty": {
  15067. "description": "期初销售合同出库量【期初】",
  15068. "type": "number"
  15069. },
  15070. "orisellpricedamount": {
  15071. "description": "期初销售合同已定价金额【期初】",
  15072. "type": "number"
  15073. },
  15074. "orisellpricedqty": {
  15075. "description": "期初销售合同已定价数量【期初】",
  15076. "type": "number"
  15077. },
  15078. "orisellreckonqty": {
  15079. "description": "期初销售合同交收量【期初】",
  15080. "type": "number"
  15081. },
  15082. "produceinqty": {
  15083. "description": "生产入库量【期末】",
  15084. "type": "number"
  15085. },
  15086. "produceoutqty": {
  15087. "description": "生产出库量【期末】",
  15088. "type": "number"
  15089. },
  15090. "sellcontractoutqty": {
  15091. "description": "销售合同出库量【期末】",
  15092. "type": "number"
  15093. },
  15094. "sellpricedamount": {
  15095. "description": "销售合同已定价金额【期末】",
  15096. "type": "number"
  15097. },
  15098. "sellpricedqty": {
  15099. "description": "销售合同已定价数量【期末】",
  15100. "type": "number"
  15101. },
  15102. "sellreckonqty": {
  15103. "description": "销售合同交收量【期末】",
  15104. "type": "number"
  15105. },
  15106. "spotgoodsbrandid": {
  15107. "description": "现货品牌ID",
  15108. "type": "integer"
  15109. },
  15110. "todaybuyreckonqty": {
  15111. "description": "今日采购合同已确定数量【汇总】",
  15112. "type": "number"
  15113. },
  15114. "todaysellreckonqty": {
  15115. "description": "今日销售合同已确定数量【汇总】",
  15116. "type": "number"
  15117. },
  15118. "totalbuypricedqty": {
  15119. "description": "采购定价量 = 期末 - 期初",
  15120. "type": "number"
  15121. },
  15122. "totalsellpricedqty": {
  15123. "description": "销售定价量 = 期末 - 期初",
  15124. "type": "number"
  15125. },
  15126. "totalspotqty": {
  15127. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  15128. "type": "number"
  15129. },
  15130. "updatetime": {
  15131. "description": "更新时间",
  15132. "type": "string"
  15133. },
  15134. "wrfactortypeid": {
  15135. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15136. "type": "integer"
  15137. },
  15138. "wrstandardcode": {
  15139. "description": "品类代码",
  15140. "type": "string"
  15141. },
  15142. "wrstandardid": {
  15143. "description": "品类ID",
  15144. "type": "integer"
  15145. },
  15146. "wrstandardname": {
  15147. "description": "品类名称",
  15148. "type": "string"
  15149. }
  15150. }
  15151. },
  15152. "models.Ermcp3ReportOPLog": {
  15153. "type": "object",
  15154. "properties": {
  15155. "applyid": {
  15156. "description": "操作人",
  15157. "type": "integer"
  15158. },
  15159. "applyname": {
  15160. "description": "操作人名称",
  15161. "type": "string"
  15162. },
  15163. "biztype": {
  15164. "description": "业务类型 - 1:套保计划 2:现货合同",
  15165. "type": "integer"
  15166. },
  15167. "brandname": {
  15168. "description": "品牌名称",
  15169. "type": "string"
  15170. },
  15171. "contracttype": {
  15172. "description": "现货合同类型 - 1:采购 -1:销售",
  15173. "type": "integer"
  15174. },
  15175. "deliverygoodscode": {
  15176. "description": "现货品种代码",
  15177. "type": "string"
  15178. },
  15179. "deliverygoodsid": {
  15180. "description": "现货品种id",
  15181. "type": "integer"
  15182. },
  15183. "deliverygoodsname": {
  15184. "description": "现货品种名称",
  15185. "type": "string"
  15186. },
  15187. "enumdicName": {
  15188. "description": "单位名称",
  15189. "type": "string"
  15190. },
  15191. "logdatetime": {
  15192. "description": "流水日期(时间)",
  15193. "type": "string"
  15194. },
  15195. "logid": {
  15196. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  15197. "type": "string"
  15198. },
  15199. "logtypename": {
  15200. "description": "合同类型(名称)",
  15201. "type": "string"
  15202. },
  15203. "logvalue": {
  15204. "description": "数值",
  15205. "type": "string"
  15206. },
  15207. "operatelogtype": {
  15208. "description": "操作流水类型 -",
  15209. "type": "integer"
  15210. },
  15211. "optypename": {
  15212. "description": "流水类型名称",
  15213. "type": "string"
  15214. },
  15215. "relatedid": {
  15216. "description": "现货合同ID\\套保计划",
  15217. "type": "string"
  15218. },
  15219. "relatedno": {
  15220. "description": "合同编号",
  15221. "type": "string"
  15222. },
  15223. "spotgoodsbrandid": {
  15224. "description": "品牌id",
  15225. "type": "integer"
  15226. },
  15227. "tradedate": {
  15228. "description": "交易日(yyyyMMdd)",
  15229. "type": "string"
  15230. },
  15231. "userid": {
  15232. "description": "机构ID",
  15233. "type": "integer"
  15234. },
  15235. "wrstandardcode": {
  15236. "description": "品类代码",
  15237. "type": "string"
  15238. },
  15239. "wrstandardid": {
  15240. "description": "品类id",
  15241. "type": "integer"
  15242. },
  15243. "wrstandardname": {
  15244. "description": "品类名称",
  15245. "type": "string"
  15246. }
  15247. }
  15248. },
  15249. "models.Ermcp3SellBuyContract": {
  15250. "type": "object",
  15251. "properties": {
  15252. "accountname": {
  15253. "description": "账户名称",
  15254. "type": "string"
  15255. },
  15256. "attachment": {
  15257. "description": "附件",
  15258. "type": "string"
  15259. },
  15260. "audittime": {
  15261. "description": "审核时间",
  15262. "type": "string"
  15263. },
  15264. "brandname": {
  15265. "description": "品牌名称",
  15266. "type": "string"
  15267. },
  15268. "contracctstatus": {
  15269. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15270. "type": "integer"
  15271. },
  15272. "contractmargin": {
  15273. "description": "合同保证金",
  15274. "type": "number"
  15275. },
  15276. "contractno": {
  15277. "description": "合同编号",
  15278. "type": "string"
  15279. },
  15280. "contracttype": {
  15281. "description": "合同类型 1-采购, -1-销售",
  15282. "type": "integer"
  15283. },
  15284. "convertfactor": {
  15285. "description": "标仓系数(品类)",
  15286. "type": "number"
  15287. },
  15288. "createtime": {
  15289. "description": "创建时间",
  15290. "type": "string"
  15291. },
  15292. "daikaiamount": {
  15293. "description": "应收(开)票额",
  15294. "type": "number"
  15295. },
  15296. "deliveryenddate": {
  15297. "description": "交割结束日",
  15298. "type": "string"
  15299. },
  15300. "deliverygoodscode": {
  15301. "description": "现货品种代码",
  15302. "type": "string"
  15303. },
  15304. "deliverygoodsid": {
  15305. "description": "现货商品ID",
  15306. "type": "integer"
  15307. },
  15308. "deliverygoodsname": {
  15309. "description": "现货品种名称",
  15310. "type": "string"
  15311. },
  15312. "deliverystartdate": {
  15313. "description": "交割开始日",
  15314. "type": "string"
  15315. },
  15316. "enddate": {
  15317. "description": "点价结束日",
  15318. "type": "string"
  15319. },
  15320. "enumdicname": {
  15321. "description": "单位名称",
  15322. "type": "string"
  15323. },
  15324. "goodscode": {
  15325. "description": "点价商品代码",
  15326. "type": "string"
  15327. },
  15328. "goodsid": {
  15329. "description": "点价商品ID",
  15330. "type": "integer"
  15331. },
  15332. "goodsname": {
  15333. "description": "点价商品名称",
  15334. "type": "string"
  15335. },
  15336. "invoiceamount": {
  15337. "description": "已开票额",
  15338. "type": "number"
  15339. },
  15340. "loanamount": {
  15341. "description": "贷款总额=已定价额+调整金额",
  15342. "type": "number"
  15343. },
  15344. "margin": {
  15345. "description": "保证金",
  15346. "type": "number"
  15347. },
  15348. "nickname": {
  15349. "description": "账户昵称",
  15350. "type": "string"
  15351. },
  15352. "payamount": {
  15353. "description": "已收付额(收款或付款)",
  15354. "type": "number"
  15355. },
  15356. "preinvoiceamount": {
  15357. "description": "预收(开)票额",
  15358. "type": "number"
  15359. },
  15360. "prepayamount": {
  15361. "description": "预收付额",
  15362. "type": "number"
  15363. },
  15364. "price": {
  15365. "description": "价格",
  15366. "type": "number"
  15367. },
  15368. "pricedamount": {
  15369. "description": "已定价额",
  15370. "type": "number"
  15371. },
  15372. "pricedavg": {
  15373. "description": "已点均价",
  15374. "type": "number"
  15375. },
  15376. "pricedqty": {
  15377. "description": "已定价量",
  15378. "type": "number"
  15379. },
  15380. "pricemove": {
  15381. "description": "升贴水",
  15382. "type": "number"
  15383. },
  15384. "pricetype": {
  15385. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15386. "type": "integer"
  15387. },
  15388. "producttype": {
  15389. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15390. "type": "integer"
  15391. },
  15392. "qty": {
  15393. "description": "合同量",
  15394. "type": "number"
  15395. },
  15396. "reckonadjustamount": {
  15397. "description": "调整金额",
  15398. "type": "number"
  15399. },
  15400. "reckonedamount": {
  15401. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15402. "type": "number"
  15403. },
  15404. "reckonotheramount": {
  15405. "description": "其它费用",
  15406. "type": "number"
  15407. },
  15408. "reckonrealqty": {
  15409. "description": "已确定量",
  15410. "type": "number"
  15411. },
  15412. "remark": {
  15413. "description": "备注",
  15414. "type": "string"
  15415. },
  15416. "spotcontractid": {
  15417. "description": "合同ID",
  15418. "type": "string"
  15419. },
  15420. "spotgoodsbrandid": {
  15421. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15422. "type": "integer"
  15423. },
  15424. "spotgoodsdesc": {
  15425. "description": "商品型号(商品规格)",
  15426. "type": "string"
  15427. },
  15428. "startdate": {
  15429. "description": "点价开始日",
  15430. "type": "string"
  15431. },
  15432. "totalamount": {
  15433. "description": "合计总额",
  15434. "type": "number"
  15435. },
  15436. "unpayamount": {
  15437. "description": "应收付款额(应支付或应收款)",
  15438. "type": "number"
  15439. },
  15440. "unpricedqty": {
  15441. "description": "未定价量",
  15442. "type": "number"
  15443. },
  15444. "unsureqty": {
  15445. "description": "未确定量",
  15446. "type": "number"
  15447. },
  15448. "userid": {
  15449. "description": "机构ID",
  15450. "type": "integer"
  15451. },
  15452. "wrstandardcode": {
  15453. "description": "品类代码",
  15454. "type": "string"
  15455. },
  15456. "wrstandardid": {
  15457. "description": "品类ID",
  15458. "type": "integer"
  15459. },
  15460. "wrstandardname": {
  15461. "description": "品类名称",
  15462. "type": "string"
  15463. }
  15464. }
  15465. },
  15466. "models.Ermcp3SpotGoodsPrice": {
  15467. "type": "object",
  15468. "properties": {
  15469. "areauserid": {
  15470. "description": "所属机构id",
  15471. "type": "integer"
  15472. },
  15473. "brandname": {
  15474. "description": "品牌名称",
  15475. "type": "string"
  15476. },
  15477. "currencyid": {
  15478. "description": "报价货币ID",
  15479. "type": "integer"
  15480. },
  15481. "deliverygoodscode": {
  15482. "description": "现货商品代码",
  15483. "type": "string"
  15484. },
  15485. "deliverygoodsid": {
  15486. "description": "现货商品id",
  15487. "type": "integer"
  15488. },
  15489. "deliverygoodsname": {
  15490. "description": "现货商品名称",
  15491. "type": "string"
  15492. },
  15493. "enumdicname": {
  15494. "description": "现货商品单位名称",
  15495. "type": "string"
  15496. },
  15497. "gbenumdicname": {
  15498. "description": "品类单位名称",
  15499. "type": "string"
  15500. },
  15501. "gmunitid": {
  15502. "description": "品类单位id",
  15503. "type": "integer"
  15504. },
  15505. "isvalid": {
  15506. "description": "是否有效 - 0:无效 1:有效",
  15507. "type": "integer"
  15508. },
  15509. "operateid": {
  15510. "description": "最后操作人",
  15511. "type": "integer"
  15512. },
  15513. "operatesrc": {
  15514. "description": "最后操作来源 - 1:管理端 2:终端",
  15515. "type": "integer"
  15516. },
  15517. "operatetime": {
  15518. "description": "最后操作时间",
  15519. "type": "string"
  15520. },
  15521. "operatorname": {
  15522. "description": "操作人名称",
  15523. "type": "string"
  15524. },
  15525. "spotgoodsbrandid": {
  15526. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15527. "type": "integer"
  15528. },
  15529. "spotgoodsprice": {
  15530. "description": "现货价格",
  15531. "type": "number"
  15532. },
  15533. "tradedate": {
  15534. "description": "交易日(yyyyMMdd)",
  15535. "type": "string"
  15536. },
  15537. "unitid": {
  15538. "description": "现货商品单位id",
  15539. "type": "integer"
  15540. },
  15541. "wrstandardcode": {
  15542. "description": "品类代码",
  15543. "type": "string"
  15544. },
  15545. "wrstandardid": {
  15546. "description": "现货品类ID(通用则为0)",
  15547. "type": "integer"
  15548. },
  15549. "wrstandardname": {
  15550. "description": "品类名称",
  15551. "type": "string"
  15552. }
  15553. }
  15554. },
  15555. "models.Ermcp3SpotGoodsPriceLog": {
  15556. "type": "object",
  15557. "properties": {
  15558. "areauserid": {
  15559. "description": "所属机构id",
  15560. "type": "integer"
  15561. },
  15562. "brandname": {
  15563. "description": "品牌名称",
  15564. "type": "string"
  15565. },
  15566. "currencyid": {
  15567. "description": "报价货币ID",
  15568. "type": "integer"
  15569. },
  15570. "deliverygoodscode": {
  15571. "description": "现货商品代码",
  15572. "type": "string"
  15573. },
  15574. "deliverygoodsid": {
  15575. "description": "现货商品id",
  15576. "type": "integer"
  15577. },
  15578. "deliverygoodsname": {
  15579. "description": "现货商品名称",
  15580. "type": "string"
  15581. },
  15582. "enumdicname": {
  15583. "description": "现货商品单位名称",
  15584. "type": "string"
  15585. },
  15586. "gbenumdicname": {
  15587. "description": "品类单位名称",
  15588. "type": "string"
  15589. },
  15590. "gmunitid": {
  15591. "description": "品类单位id",
  15592. "type": "integer"
  15593. },
  15594. "logid": {
  15595. "description": "日志id",
  15596. "type": "integer"
  15597. },
  15598. "operateid": {
  15599. "description": "最后操作人",
  15600. "type": "integer"
  15601. },
  15602. "operatesrc": {
  15603. "description": "最后操作来源 - 1:管理端 2:终端",
  15604. "type": "integer"
  15605. },
  15606. "operatetime": {
  15607. "description": "最后操作时间",
  15608. "type": "string"
  15609. },
  15610. "operatorname": {
  15611. "description": "操作人名称",
  15612. "type": "string"
  15613. },
  15614. "spotgoodsbrandid": {
  15615. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15616. "type": "integer"
  15617. },
  15618. "spotgoodsprice": {
  15619. "description": "现货价格",
  15620. "type": "number"
  15621. },
  15622. "tradedate": {
  15623. "description": "交易日(yyyyMMdd)",
  15624. "type": "string"
  15625. },
  15626. "unitid": {
  15627. "description": "现货商品单位id",
  15628. "type": "integer"
  15629. },
  15630. "wrstandardcode": {
  15631. "description": "品类代码",
  15632. "type": "string"
  15633. },
  15634. "wrstandardid": {
  15635. "description": "现货品类ID(通用则为0)",
  15636. "type": "integer"
  15637. },
  15638. "wrstandardname": {
  15639. "description": "品类名称",
  15640. "type": "string"
  15641. }
  15642. }
  15643. },
  15644. "models.Ermcp3Wrstandard": {
  15645. "type": "object",
  15646. "properties": {
  15647. "areauserid": {
  15648. "description": "所属机构",
  15649. "type": "integer"
  15650. },
  15651. "convertfactor": {
  15652. "description": "标仓系数",
  15653. "type": "number"
  15654. },
  15655. "createtime": {
  15656. "description": "创建时间",
  15657. "type": "string"
  15658. },
  15659. "creatorid": {
  15660. "description": "创建人",
  15661. "type": "integer"
  15662. },
  15663. "deliverygoodsid": {
  15664. "description": "现货品种ID",
  15665. "type": "integer"
  15666. },
  15667. "enumdicname": {
  15668. "description": "品类单位名称",
  15669. "type": "string"
  15670. },
  15671. "isvalid": {
  15672. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15673. "type": "integer"
  15674. },
  15675. "minivalue": {
  15676. "description": "最小变动值",
  15677. "type": "integer"
  15678. },
  15679. "minivaluedp": {
  15680. "description": "最小变动值小数位",
  15681. "type": "integer"
  15682. },
  15683. "realminivalue": {
  15684. "description": "实际最小变动值",
  15685. "type": "integer"
  15686. },
  15687. "realminivaluedp": {
  15688. "description": "实际最小变动值小数位",
  15689. "type": "integer"
  15690. },
  15691. "remark": {
  15692. "description": "备注",
  15693. "type": "string"
  15694. },
  15695. "unitid": {
  15696. "description": "品类单位ID",
  15697. "type": "integer"
  15698. },
  15699. "updatetime": {
  15700. "description": "更新时间",
  15701. "type": "string"
  15702. },
  15703. "wrstandardcode": {
  15704. "description": "品类代码",
  15705. "type": "string"
  15706. },
  15707. "wrstandardid": {
  15708. "description": "品类ID(SEQ_WRSTANDARD)",
  15709. "type": "integer"
  15710. },
  15711. "wrstandardname": {
  15712. "description": "品类名称",
  15713. "type": "string"
  15714. }
  15715. }
  15716. },
  15717. "models.ErmcpAreaSpotDetailModel": {
  15718. "type": "object",
  15719. "properties": {
  15720. "contracttype": {
  15721. "description": "合同类型 1-采购 -1-销售",
  15722. "type": "integer"
  15723. },
  15724. "createtime": {
  15725. "description": "创建时间",
  15726. "type": "string"
  15727. },
  15728. "enumdicname": {
  15729. "description": "现货商品单位名称",
  15730. "type": "string"
  15731. },
  15732. "logtype": {
  15733. "description": "记录类型 1-套保 2-现货合同",
  15734. "type": "integer"
  15735. },
  15736. "qty": {
  15737. "description": "数量",
  15738. "type": "number"
  15739. },
  15740. "recordname": {
  15741. "description": "类型名称",
  15742. "type": "string"
  15743. },
  15744. "relatedid": {
  15745. "description": "套保计划ID/现货合同ID",
  15746. "type": "string"
  15747. },
  15748. "relatedno": {
  15749. "description": "编号",
  15750. "type": "string"
  15751. },
  15752. "strtime": {
  15753. "description": "时间",
  15754. "type": "string"
  15755. },
  15756. "wrstandardcode": {
  15757. "description": "现货商品代码",
  15758. "type": "string"
  15759. },
  15760. "wrstandardname": {
  15761. "description": "现货商品名称",
  15762. "type": "string"
  15763. }
  15764. }
  15765. },
  15766. "models.ErmcpAreaStock": {
  15767. "type": "object",
  15768. "properties": {
  15769. "brandname": {
  15770. "description": "品牌名称",
  15771. "type": "string"
  15772. },
  15773. "curstock": {
  15774. "description": "期末库存量(今日量)",
  15775. "type": "number"
  15776. },
  15777. "deliverygoodsid": {
  15778. "description": "现货品种ID",
  15779. "type": "integer"
  15780. },
  15781. "enumdicname": {
  15782. "description": "单位名称",
  15783. "type": "string"
  15784. },
  15785. "modelname": {
  15786. "description": "型号名称",
  15787. "type": "string"
  15788. },
  15789. "oristock": {
  15790. "description": "期初库存量(昨日量)",
  15791. "type": "number"
  15792. },
  15793. "spotgoodsbrandid": {
  15794. "description": "现货品牌ID",
  15795. "type": "integer"
  15796. },
  15797. "spotgoodsmodelid": {
  15798. "description": "现货型号ID",
  15799. "type": "integer"
  15800. },
  15801. "todaybuyinqty": {
  15802. "description": "今日采购入库量",
  15803. "type": "number"
  15804. },
  15805. "todayproduceinqty": {
  15806. "description": "今日生产入库量",
  15807. "type": "number"
  15808. },
  15809. "todayproduceoutqty": {
  15810. "description": "今日生产出库量",
  15811. "type": "number"
  15812. },
  15813. "todayselloutqty": {
  15814. "description": "今日销售出库量",
  15815. "type": "number"
  15816. },
  15817. "unitid": {
  15818. "description": "单位id",
  15819. "type": "integer"
  15820. },
  15821. "updatetime": {
  15822. "description": "更新时间",
  15823. "type": "string"
  15824. },
  15825. "userid": {
  15826. "description": "机构ID",
  15827. "type": "integer"
  15828. },
  15829. "username": {
  15830. "description": "机构名称",
  15831. "type": "string"
  15832. },
  15833. "warehousecode": {
  15834. "description": "仓库代码",
  15835. "type": "string"
  15836. },
  15837. "warehouseinfoid": {
  15838. "description": "仓库ID",
  15839. "type": "string"
  15840. },
  15841. "warehousename": {
  15842. "description": "仓库名称",
  15843. "type": "string"
  15844. },
  15845. "warehousetype": {
  15846. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15847. "type": "integer"
  15848. },
  15849. "wrstandardcode": {
  15850. "description": "现货商品代码",
  15851. "type": "string"
  15852. },
  15853. "wrstandardid": {
  15854. "description": "现货商品ID",
  15855. "type": "string"
  15856. },
  15857. "wrstandardname": {
  15858. "description": "现货商品名称",
  15859. "type": "string"
  15860. }
  15861. }
  15862. },
  15863. "models.ErmcpAreaStockApply": {
  15864. "type": "object",
  15865. "properties": {
  15866. "applyid": {
  15867. "description": "申请人",
  15868. "type": "integer"
  15869. },
  15870. "applyname": {
  15871. "description": "申请人名称",
  15872. "type": "string"
  15873. },
  15874. "applyremark": {
  15875. "description": "申请备注",
  15876. "type": "string"
  15877. },
  15878. "applysrc": {
  15879. "description": "申请来源 - 1:管理端 2:终端",
  15880. "type": "integer"
  15881. },
  15882. "applystatus": {
  15883. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15884. "type": "integer"
  15885. },
  15886. "applytime": {
  15887. "description": "申请时间",
  15888. "type": "string"
  15889. },
  15890. "auditid": {
  15891. "description": "审核人",
  15892. "type": "integer"
  15893. },
  15894. "auditname": {
  15895. "description": "审核人名称",
  15896. "type": "string"
  15897. },
  15898. "auditremark": {
  15899. "description": "审核备注",
  15900. "type": "string"
  15901. },
  15902. "auditsrc": {
  15903. "description": "审核来源 - 1:管理端 2:终端",
  15904. "type": "integer"
  15905. },
  15906. "audittime": {
  15907. "description": "审核时间",
  15908. "type": "string"
  15909. },
  15910. "audittradedate": {
  15911. "description": "审核交易日(yyyyMMdd)",
  15912. "type": "string"
  15913. },
  15914. "brandname": {
  15915. "description": "品牌名称",
  15916. "type": "string"
  15917. },
  15918. "buyuserid": {
  15919. "description": "采购方userid",
  15920. "type": "integer"
  15921. },
  15922. "buyusername": {
  15923. "description": "采购方名称",
  15924. "type": "string"
  15925. },
  15926. "contractno": {
  15927. "description": "合同编号",
  15928. "type": "string"
  15929. },
  15930. "contractqty": {
  15931. "description": "合同量",
  15932. "type": "number"
  15933. },
  15934. "contracttype": {
  15935. "description": "现货合同类型 - 1:采购 -1:销售",
  15936. "type": "integer"
  15937. },
  15938. "deliverygoodsid": {
  15939. "description": "现货品种ID",
  15940. "type": "integer"
  15941. },
  15942. "enumdicname": {
  15943. "description": "现货商品单位名称",
  15944. "type": "string"
  15945. },
  15946. "inoutapplyid": {
  15947. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15948. "type": "string"
  15949. },
  15950. "inouttype": {
  15951. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15952. "type": "integer"
  15953. },
  15954. "modelname": {
  15955. "description": "型号名称",
  15956. "type": "string"
  15957. },
  15958. "pricetype": {
  15959. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15960. "type": "integer"
  15961. },
  15962. "qty": {
  15963. "description": "数量",
  15964. "type": "number"
  15965. },
  15966. "selluserid": {
  15967. "description": "销售方userid",
  15968. "type": "integer"
  15969. },
  15970. "sellusername": {
  15971. "description": "销售方名称",
  15972. "type": "string"
  15973. },
  15974. "spotcontractid": {
  15975. "description": "关联现货合同ID",
  15976. "type": "string"
  15977. },
  15978. "spotgoodsbrandid": {
  15979. "description": "现货品牌ID",
  15980. "type": "integer"
  15981. },
  15982. "spotgoodsmodelid": {
  15983. "description": "现货型号ID",
  15984. "type": "integer"
  15985. },
  15986. "unitid": {
  15987. "description": "单位id",
  15988. "type": "integer"
  15989. },
  15990. "userid": {
  15991. "description": "机构ID",
  15992. "type": "integer"
  15993. },
  15994. "warehousecode": {
  15995. "description": "仓库代码",
  15996. "type": "string"
  15997. },
  15998. "warehouseinfoid": {
  15999. "description": "现货仓库ID",
  16000. "type": "string"
  16001. },
  16002. "warehousename": {
  16003. "description": "仓库名称",
  16004. "type": "string"
  16005. },
  16006. "warehousetype": {
  16007. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16008. "type": "integer"
  16009. },
  16010. "wrstandardcode": {
  16011. "description": "现货商品代码",
  16012. "type": "string"
  16013. },
  16014. "wrstandardid": {
  16015. "description": "现货商品ID",
  16016. "type": "string"
  16017. },
  16018. "wrstandardname": {
  16019. "description": "现货商品名称",
  16020. "type": "string"
  16021. }
  16022. }
  16023. },
  16024. "models.ErmcpAreaStockApplySum": {
  16025. "type": "object",
  16026. "properties": {
  16027. "brandname": {
  16028. "description": "品牌名称",
  16029. "type": "string"
  16030. },
  16031. "inouttype": {
  16032. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  16033. "type": "integer"
  16034. },
  16035. "modelname": {
  16036. "description": "型号名称",
  16037. "type": "string"
  16038. },
  16039. "spotcontractid": {
  16040. "description": "关联现货合同ID",
  16041. "type": "string"
  16042. },
  16043. "spotgoodsbrandid": {
  16044. "description": "品牌id",
  16045. "type": "integer"
  16046. },
  16047. "spotgoodsmodelid": {
  16048. "description": "型号id",
  16049. "type": "integer"
  16050. },
  16051. "totalqty": {
  16052. "description": "总数量",
  16053. "type": "number"
  16054. }
  16055. }
  16056. },
  16057. "models.ErmcpAreaStockReport": {
  16058. "type": "object",
  16059. "properties": {
  16060. "brandname": {
  16061. "description": "品牌名称",
  16062. "type": "string"
  16063. },
  16064. "curstock": {
  16065. "description": "期末库存量",
  16066. "type": "number"
  16067. },
  16068. "deliverygoodsid": {
  16069. "description": "现货品种ID",
  16070. "type": "integer"
  16071. },
  16072. "enumdicname": {
  16073. "description": "单位名称",
  16074. "type": "string"
  16075. },
  16076. "modelname": {
  16077. "description": "型号名称",
  16078. "type": "string"
  16079. },
  16080. "oristock": {
  16081. "description": "期初库存量",
  16082. "type": "number"
  16083. },
  16084. "spotgoodsbrandid": {
  16085. "description": "现货品牌ID",
  16086. "type": "integer"
  16087. },
  16088. "spotgoodsmodelid": {
  16089. "description": "现货型号ID",
  16090. "type": "integer"
  16091. },
  16092. "todaybuyinqty": {
  16093. "description": "今日采购入库量",
  16094. "type": "number"
  16095. },
  16096. "todayproduceinqty": {
  16097. "description": "今日生产入库量",
  16098. "type": "number"
  16099. },
  16100. "todayproduceoutqty": {
  16101. "description": "今日生产出库量",
  16102. "type": "number"
  16103. },
  16104. "todayselloutqty": {
  16105. "description": "今日销售出库量",
  16106. "type": "number"
  16107. },
  16108. "unitid": {
  16109. "description": "单位id",
  16110. "type": "integer"
  16111. },
  16112. "updatetime": {
  16113. "description": "更新时间",
  16114. "type": "string"
  16115. },
  16116. "userid": {
  16117. "description": "机构ID",
  16118. "type": "integer"
  16119. },
  16120. "username": {
  16121. "description": "机构名称",
  16122. "type": "string"
  16123. },
  16124. "warehousecode": {
  16125. "description": "仓库代码",
  16126. "type": "string"
  16127. },
  16128. "warehouseinfoid": {
  16129. "description": "仓库ID",
  16130. "type": "string"
  16131. },
  16132. "warehousename": {
  16133. "description": "仓库名称",
  16134. "type": "string"
  16135. },
  16136. "warehousetype": {
  16137. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16138. "type": "integer"
  16139. },
  16140. "wrstandardcode": {
  16141. "description": "现货商品代码",
  16142. "type": "string"
  16143. },
  16144. "wrstandardid": {
  16145. "description": "现货商品ID",
  16146. "type": "string"
  16147. },
  16148. "wrstandardname": {
  16149. "description": "现货商品名称",
  16150. "type": "string"
  16151. }
  16152. }
  16153. },
  16154. "models.ErmcpAvalidGoodsGroupModel": {
  16155. "type": "object",
  16156. "properties": {
  16157. "goodsgroupid": {
  16158. "description": "期货品种id",
  16159. "type": "integer"
  16160. },
  16161. "goodsgroupname": {
  16162. "description": "期货品种名称",
  16163. "type": "string"
  16164. },
  16165. "goodunitid": {
  16166. "description": "品种单位id",
  16167. "type": "integer"
  16168. },
  16169. "goodunitname": {
  16170. "description": "品种单位名称",
  16171. "type": "string"
  16172. },
  16173. "outergroupcode": {
  16174. "description": "期货品种代码",
  16175. "type": "string"
  16176. }
  16177. }
  16178. },
  16179. "models.ErmcpBizGroupEx": {
  16180. "type": "object",
  16181. "properties": {
  16182. "acclist": {
  16183. "description": "账号列表",
  16184. "type": "array",
  16185. "items": {
  16186. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16187. }
  16188. },
  16189. "bizgroupid": {
  16190. "description": "业务分组id",
  16191. "type": "integer"
  16192. },
  16193. "biztype": {
  16194. "description": "业务类型 1-套保 2-套利",
  16195. "type": "integer"
  16196. },
  16197. "wrlist": {
  16198. "description": "现货商品表",
  16199. "type": "array",
  16200. "items": {
  16201. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16202. }
  16203. }
  16204. }
  16205. },
  16206. "models.ErmcpBizGroupSpotGoods": {
  16207. "type": "object",
  16208. "properties": {
  16209. "areauserid": {
  16210. "description": "所属机构id",
  16211. "type": "integer"
  16212. },
  16213. "bizgroupid": {
  16214. "description": "分组id",
  16215. "type": "integer"
  16216. },
  16217. "biztype": {
  16218. "description": "业务类型 1-套保 2-套利",
  16219. "type": "integer"
  16220. },
  16221. "deliverygoodscode": {
  16222. "description": "现货商品代码",
  16223. "type": "string"
  16224. },
  16225. "deliverygoodsid": {
  16226. "description": "现货商品id",
  16227. "type": "integer"
  16228. },
  16229. "deliverygoodsname": {
  16230. "description": "现货商品名称",
  16231. "type": "string"
  16232. },
  16233. "unitid": {
  16234. "description": "现货商品单位id",
  16235. "type": "integer"
  16236. }
  16237. }
  16238. },
  16239. "models.ErmcpBizGroupTaAccount": {
  16240. "type": "object",
  16241. "properties": {
  16242. "accountid": {
  16243. "description": "账号id",
  16244. "type": "integer"
  16245. },
  16246. "accountname": {
  16247. "description": "账号名称",
  16248. "type": "string"
  16249. },
  16250. "areauserid": {
  16251. "description": "所属机构id",
  16252. "type": "integer"
  16253. },
  16254. "bizgroupid": {
  16255. "description": "业务分组id",
  16256. "type": "integer"
  16257. },
  16258. "ismain": {
  16259. "description": "是否主账号 1-是 0-否",
  16260. "type": "integer"
  16261. }
  16262. }
  16263. },
  16264. "models.ErmcpDGFactoryItem": {
  16265. "type": "object",
  16266. "properties": {
  16267. "areauserid": {
  16268. "description": "用户id",
  16269. "type": "integer"
  16270. },
  16271. "deliverygoodsid": {
  16272. "description": "现货品种ID",
  16273. "type": "integer"
  16274. },
  16275. "dgfactoryitemid": {
  16276. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16277. "type": "integer"
  16278. },
  16279. "dgfactoryitemtypeid": {
  16280. "description": "要素项类型",
  16281. "type": "integer"
  16282. },
  16283. "dgfactoryitemvalue": {
  16284. "description": "要素项值(类型为仓库时填写仓库名称)",
  16285. "type": "string"
  16286. },
  16287. "isvalid": {
  16288. "description": "是否有效 - 0:无效 1:有效",
  16289. "type": "integer"
  16290. },
  16291. "orderindex": {
  16292. "description": "顺序",
  16293. "type": "integer"
  16294. },
  16295. "warehouseid": {
  16296. "description": "仓库ID(类型为仓库时填写)",
  16297. "type": "integer"
  16298. }
  16299. }
  16300. },
  16301. "models.ErmcpDeliveryGoods": {
  16302. "type": "object",
  16303. "properties": {
  16304. "agreeunit": {
  16305. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16306. "type": "integer"
  16307. },
  16308. "areauserid": {
  16309. "description": "所属机构",
  16310. "type": "integer"
  16311. },
  16312. "auditflag": {
  16313. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16314. "type": "integer"
  16315. },
  16316. "categoryid": {
  16317. "description": "类别ID(SEQ_WRCATEGORY)",
  16318. "type": "integer"
  16319. },
  16320. "deliverygoodscode": {
  16321. "description": "现货品种代码",
  16322. "type": "string"
  16323. },
  16324. "deliverygoodsid": {
  16325. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16326. "type": "integer"
  16327. },
  16328. "deliverygoodsname": {
  16329. "description": "现货品种名称",
  16330. "type": "string"
  16331. },
  16332. "deliverygoodstype": {
  16333. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16334. "type": "integer"
  16335. },
  16336. "dgstatus": {
  16337. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16338. "type": "integer"
  16339. },
  16340. "enumdicname": {
  16341. "description": "现货品种单位名称",
  16342. "type": "string"
  16343. },
  16344. "goodsunitid": {
  16345. "description": "现货品种单位ID",
  16346. "type": "integer"
  16347. },
  16348. "isvalid": {
  16349. "description": "是否有效 - 0:无效 1:有效",
  16350. "type": "integer"
  16351. },
  16352. "qtydecimalplace": {
  16353. "description": "成交量小数位",
  16354. "type": "integer"
  16355. },
  16356. "remark": {
  16357. "description": "备注",
  16358. "type": "string"
  16359. },
  16360. "standardqty": {
  16361. "description": "标准数量(库位数量) [标准品特有]",
  16362. "type": "integer"
  16363. },
  16364. "standardqtyrange": {
  16365. "description": "标准数量偏差范围 [标准品特有]",
  16366. "type": "integer"
  16367. }
  16368. }
  16369. },
  16370. "models.ErmcpDeliveryGoodsDetail2": {
  16371. "type": "object",
  16372. "properties": {
  16373. "convertratio": {
  16374. "description": "套保系数(折算系数)",
  16375. "type": "number"
  16376. },
  16377. "data": {
  16378. "description": "现货商品基本信息(交割品种)",
  16379. "type": "object",
  16380. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16381. },
  16382. "gblist": {
  16383. "description": "品牌列表",
  16384. "type": "array",
  16385. "items": {
  16386. "$ref": "#/definitions/models.Ermcp3Brand"
  16387. }
  16388. },
  16389. "gmlist": {
  16390. "description": "品类列表(仓单标准)",
  16391. "type": "array",
  16392. "items": {
  16393. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16394. }
  16395. }
  16396. }
  16397. },
  16398. "models.ErmcpDeliveryGoodsDetailEx": {
  16399. "type": "object",
  16400. "properties": {
  16401. "data": {
  16402. "description": "现货商品基本信息(交割品种)",
  16403. "type": "object",
  16404. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16405. },
  16406. "gblist": {
  16407. "description": "品牌列表",
  16408. "type": "array",
  16409. "items": {
  16410. "$ref": "#/definitions/models.Ermcp3Brand"
  16411. }
  16412. },
  16413. "gmlist": {
  16414. "description": "品类列表(仓单标准)",
  16415. "type": "array",
  16416. "items": {
  16417. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16418. }
  16419. },
  16420. "mgList": {
  16421. "description": "套保列表",
  16422. "type": "array",
  16423. "items": {
  16424. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16425. }
  16426. }
  16427. }
  16428. },
  16429. "models.ErmcpExposureDetailModel": {
  16430. "type": "object",
  16431. "properties": {
  16432. "areauserid": {
  16433. "description": "机构ID",
  16434. "type": "integer"
  16435. },
  16436. "changeQty": {
  16437. "description": "套保变动量",
  16438. "type": "number"
  16439. },
  16440. "contracttype": {
  16441. "description": "现货合同类型 - 1:采购 -1:销售",
  16442. "type": "integer"
  16443. },
  16444. "convertfactor": {
  16445. "description": "标仓系数",
  16446. "type": "number"
  16447. },
  16448. "convertratio": {
  16449. "description": "套保系数",
  16450. "type": "number"
  16451. },
  16452. "createtime": {
  16453. "description": "时间",
  16454. "type": "string"
  16455. },
  16456. "enumdicname": {
  16457. "description": "现货商品单位名称",
  16458. "type": "string"
  16459. },
  16460. "logtype": {
  16461. "description": "类型 - 1:套保计划 2:现货合同",
  16462. "type": "integer"
  16463. },
  16464. "middlegoodsId": {
  16465. "description": "套保商品id",
  16466. "type": "integer"
  16467. },
  16468. "middlegoodscode": {
  16469. "description": "套保商品代码",
  16470. "type": "string"
  16471. },
  16472. "middlegoodsname": {
  16473. "description": "套保商品名称",
  16474. "type": "string"
  16475. },
  16476. "qty": {
  16477. "description": "数量",
  16478. "type": "number"
  16479. },
  16480. "relateNo": {
  16481. "description": "现货合同/套保计划编号",
  16482. "type": "string"
  16483. },
  16484. "wrstandardcode": {
  16485. "description": "现货商品代码",
  16486. "type": "string"
  16487. },
  16488. "wrstandardid": {
  16489. "description": "现货商品ID",
  16490. "type": "integer"
  16491. },
  16492. "wrstandardname": {
  16493. "description": "现货商品名称",
  16494. "type": "string"
  16495. }
  16496. }
  16497. },
  16498. "models.ErmcpExposurePostion": {
  16499. "type": "object",
  16500. "properties": {
  16501. "agreeunit": {
  16502. "description": "合约单位",
  16503. "type": "string"
  16504. },
  16505. "areauserid": {
  16506. "description": "所属机构id",
  16507. "type": "integer"
  16508. },
  16509. "convertratio": {
  16510. "description": "期货品种系数(折算系数)",
  16511. "type": "number"
  16512. },
  16513. "curqty": {
  16514. "description": "当前持仓",
  16515. "type": "integer"
  16516. },
  16517. "diffhedgeqty": {
  16518. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16519. "type": "number"
  16520. },
  16521. "diffqty": {
  16522. "description": "持仓变动量=当前持仓-昨日持仓",
  16523. "type": "integer"
  16524. },
  16525. "goodscode": {
  16526. "description": "商品代码",
  16527. "type": "string"
  16528. },
  16529. "goodsid": {
  16530. "description": "商品id",
  16531. "type": "integer"
  16532. },
  16533. "goodsname": {
  16534. "description": "商品名称",
  16535. "type": "string"
  16536. },
  16537. "middlegoodsid": {
  16538. "description": "套保商品id",
  16539. "type": "integer"
  16540. },
  16541. "ydqty": {
  16542. "description": "昨日持仓",
  16543. "type": "integer"
  16544. }
  16545. }
  16546. },
  16547. "models.ErmcpFuturesCompany": {
  16548. "type": "object",
  16549. "properties": {
  16550. "brokerid": {
  16551. "description": "经纪公司代码",
  16552. "type": "string"
  16553. },
  16554. "channeladdress": {
  16555. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16556. "type": "string"
  16557. },
  16558. "channelid": {
  16559. "description": "对冲渠道ID",
  16560. "type": "string"
  16561. },
  16562. "createtime": {
  16563. "description": "创建时间",
  16564. "type": "string"
  16565. },
  16566. "creatorid": {
  16567. "description": "创建人",
  16568. "type": "string"
  16569. },
  16570. "fcid": {
  16571. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16572. "type": "integer"
  16573. },
  16574. "fcname": {
  16575. "description": "期货公司名称",
  16576. "type": "string"
  16577. },
  16578. "isvalid": {
  16579. "description": "是否有效 - 0:无效 1:有效",
  16580. "type": "integer"
  16581. },
  16582. "mhpaddress": {
  16583. "description": "MHP服务地址(IP:Port)",
  16584. "type": "string"
  16585. },
  16586. "riskrulegroupid": {
  16587. "description": "风控规则组ID",
  16588. "type": "string"
  16589. },
  16590. "tradefeetmpid": {
  16591. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16592. "type": "string"
  16593. },
  16594. "trademargintmpid": {
  16595. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16596. "type": "string"
  16597. },
  16598. "traderatetmpid": {
  16599. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16600. "type": "string"
  16601. },
  16602. "updatetime": {
  16603. "description": "更新时间",
  16604. "type": "string"
  16605. },
  16606. "updatorid": {
  16607. "description": "更新人",
  16608. "type": "string"
  16609. }
  16610. }
  16611. },
  16612. "models.ErmcpGGConvertCfg": {
  16613. "type": "object",
  16614. "properties": {
  16615. "convertratio": {
  16616. "description": "折算系数",
  16617. "type": "number"
  16618. },
  16619. "destgoodsgroupid": {
  16620. "description": "目标品种ID",
  16621. "type": "integer"
  16622. },
  16623. "dstcode": {
  16624. "description": "目录品种代码",
  16625. "type": "string"
  16626. },
  16627. "dstexchangecode": {
  16628. "description": "目标期货交易所",
  16629. "type": "string"
  16630. },
  16631. "dstname": {
  16632. "description": "目标品种名称",
  16633. "type": "string"
  16634. },
  16635. "dstunitid": {
  16636. "description": "目标品种单位ID",
  16637. "type": "integer"
  16638. },
  16639. "dstunitidname": {
  16640. "description": "目标品种单位名称",
  16641. "type": "string"
  16642. },
  16643. "modifytime": {
  16644. "description": "修改时间",
  16645. "type": "string"
  16646. },
  16647. "srccode": {
  16648. "description": "源品种代码",
  16649. "type": "string"
  16650. },
  16651. "srcexchangecode": {
  16652. "description": "源期货交易所",
  16653. "type": "string"
  16654. },
  16655. "srcgoodsgroupid": {
  16656. "description": "源品种ID",
  16657. "type": "integer"
  16658. },
  16659. "srcname": {
  16660. "description": "源品种名称",
  16661. "type": "string"
  16662. },
  16663. "srcunitid": {
  16664. "description": "源品种单位ID",
  16665. "type": "integer"
  16666. },
  16667. "srcunitidname": {
  16668. "description": "源品种单位名称",
  16669. "type": "string"
  16670. }
  16671. }
  16672. },
  16673. "models.ErmcpGoodsBrand": {
  16674. "type": "object",
  16675. "properties": {
  16676. "areauserid": {
  16677. "description": "所属机构",
  16678. "type": "integer"
  16679. },
  16680. "brandid": {
  16681. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16682. "type": "integer"
  16683. },
  16684. "brandname": {
  16685. "description": "品牌名称",
  16686. "type": "string"
  16687. },
  16688. "createtime": {
  16689. "description": "创建时间",
  16690. "type": "string"
  16691. },
  16692. "creatorid": {
  16693. "description": "创建人",
  16694. "type": "integer"
  16695. },
  16696. "creatorsrc": {
  16697. "description": "创建人来源 - 1:管理端 2:终端",
  16698. "type": "integer"
  16699. },
  16700. "deliverygoodsid": {
  16701. "description": "现货品种ID",
  16702. "type": "integer"
  16703. },
  16704. "isvalid": {
  16705. "description": "是否有效 - 0:无效 1:有效",
  16706. "type": "integer"
  16707. },
  16708. "updatetime": {
  16709. "description": "更新时间",
  16710. "type": "string"
  16711. },
  16712. "updatorid": {
  16713. "description": "更新人",
  16714. "type": "integer"
  16715. },
  16716. "updatorsrc": {
  16717. "description": "更新人来源 - 1:管理端 2:终端",
  16718. "type": "integer"
  16719. },
  16720. "wrstandardid": {
  16721. "description": "现货商品ID",
  16722. "type": "integer"
  16723. }
  16724. }
  16725. },
  16726. "models.ErmcpGoodsModel": {
  16727. "type": "object",
  16728. "properties": {
  16729. "areauserid": {
  16730. "description": "所属机构",
  16731. "type": "integer"
  16732. },
  16733. "convertfactor": {
  16734. "description": "标仓系数",
  16735. "type": "number"
  16736. },
  16737. "createtime": {
  16738. "description": "创建时间",
  16739. "type": "string"
  16740. },
  16741. "creatorid": {
  16742. "description": "创建人",
  16743. "type": "integer"
  16744. },
  16745. "creatorsrc": {
  16746. "description": "创建人来源 - 1:管理端 2:终端",
  16747. "type": "integer"
  16748. },
  16749. "deliverygoodsid": {
  16750. "description": "现货品种ID",
  16751. "type": "integer"
  16752. },
  16753. "isvalid": {
  16754. "description": "是否有效 - 0:无效 1:有效",
  16755. "type": "integer"
  16756. },
  16757. "modelid": {
  16758. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16759. "type": "integer"
  16760. },
  16761. "modelname": {
  16762. "description": "型号名称",
  16763. "type": "string"
  16764. },
  16765. "updatetime": {
  16766. "description": "更新时间",
  16767. "type": "string"
  16768. },
  16769. "updatorid": {
  16770. "description": "更新人",
  16771. "type": "integer"
  16772. },
  16773. "updatorsrc": {
  16774. "description": "更新人来源 - 1:管理端 2:终端",
  16775. "type": "integer"
  16776. },
  16777. "wrstandardid": {
  16778. "description": "现货商品ID",
  16779. "type": "integer"
  16780. }
  16781. }
  16782. },
  16783. "models.ErmcpHedgePlan": {
  16784. "type": "object",
  16785. "properties": {
  16786. "areauserid": {
  16787. "description": "用户ID",
  16788. "type": "integer"
  16789. },
  16790. "audittime": {
  16791. "description": "审核时间",
  16792. "type": "string"
  16793. },
  16794. "contracttype": {
  16795. "description": "计划类型 - 1:采购 -1:销售",
  16796. "type": "integer"
  16797. },
  16798. "convertfactor": {
  16799. "description": "标仓系数",
  16800. "type": "number"
  16801. },
  16802. "createtime": {
  16803. "description": "创建时间",
  16804. "type": "string"
  16805. },
  16806. "deliverygoodsid": {
  16807. "description": "现货品种ID",
  16808. "type": "integer"
  16809. },
  16810. "deliverygoodsname": {
  16811. "description": "现货品种名称",
  16812. "type": "string"
  16813. },
  16814. "enumdicname": {
  16815. "description": "单位名称",
  16816. "type": "string"
  16817. },
  16818. "hedgeplanid": {
  16819. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16820. "type": "string"
  16821. },
  16822. "hedgeplanno": {
  16823. "description": "套保计划编号(名称)",
  16824. "type": "string"
  16825. },
  16826. "hedgeplanstatus": {
  16827. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16828. "type": "integer"
  16829. },
  16830. "planqty": {
  16831. "description": "计划数量",
  16832. "type": "number"
  16833. },
  16834. "plantime": {
  16835. "description": "计划时间",
  16836. "type": "string"
  16837. },
  16838. "producttype": {
  16839. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16840. "type": "integer"
  16841. },
  16842. "remark": {
  16843. "description": "备注",
  16844. "type": "string"
  16845. },
  16846. "spotgoodsdesc": {
  16847. "description": "商品型号",
  16848. "type": "string"
  16849. },
  16850. "unitid": {
  16851. "description": "单位id",
  16852. "type": "integer"
  16853. },
  16854. "updatetime": {
  16855. "description": "更新时间",
  16856. "type": "string"
  16857. },
  16858. "wrstandardid": {
  16859. "description": "现货商品ID",
  16860. "type": "integer"
  16861. },
  16862. "wrstandardname": {
  16863. "description": "现货商品名称",
  16864. "type": "string"
  16865. }
  16866. }
  16867. },
  16868. "models.ErmcpHedgePosition": {
  16869. "type": "object",
  16870. "properties": {
  16871. "accountid": {
  16872. "description": "资金账号[外部母账户]",
  16873. "type": "integer"
  16874. },
  16875. "curbuyposition": {
  16876. "description": "期末买头寸",
  16877. "type": "integer"
  16878. },
  16879. "cursellposition": {
  16880. "description": "期末卖头寸",
  16881. "type": "integer"
  16882. },
  16883. "curtdbuyposition": {
  16884. "description": "期末今日买头寸",
  16885. "type": "integer"
  16886. },
  16887. "curtdsellposition": {
  16888. "description": "期末今日卖头寸",
  16889. "type": "integer"
  16890. },
  16891. "curydbuyposition": {
  16892. "description": "期末上日买头寸",
  16893. "type": "integer"
  16894. },
  16895. "curydsellposition": {
  16896. "description": "期末上日卖头寸",
  16897. "type": "integer"
  16898. },
  16899. "decreaseqty": {
  16900. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16901. "type": "integer"
  16902. },
  16903. "fretdbuyposition": {
  16904. "description": "冻结今日买头寸",
  16905. "type": "integer"
  16906. },
  16907. "fretdsellposition": {
  16908. "description": "冻结今日卖头寸",
  16909. "type": "integer"
  16910. },
  16911. "freydbuyposition": {
  16912. "description": "冻结上日买头寸",
  16913. "type": "integer"
  16914. },
  16915. "freydsellposition": {
  16916. "description": "冻结上日卖头寸",
  16917. "type": "integer"
  16918. },
  16919. "goodscode": {
  16920. "description": "商品代码",
  16921. "type": "string"
  16922. },
  16923. "goodsid": {
  16924. "description": "商品id",
  16925. "type": "integer"
  16926. },
  16927. "goodsname": {
  16928. "description": "商品名称",
  16929. "type": "string"
  16930. },
  16931. "hedgeaccountcode": {
  16932. "description": "对冲账号",
  16933. "type": "string"
  16934. },
  16935. "hedgegoodsid": {
  16936. "description": "对冲合约ID",
  16937. "type": "integer"
  16938. },
  16939. "increaseqty": {
  16940. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16941. "type": "integer"
  16942. },
  16943. "marketid": {
  16944. "description": "市场ID",
  16945. "type": "integer"
  16946. },
  16947. "relateduserid": {
  16948. "description": "关联用户id",
  16949. "type": "integer"
  16950. },
  16951. "totalcurqty": {
  16952. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16953. "type": "integer"
  16954. },
  16955. "totalydqty": {
  16956. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16957. "type": "integer"
  16958. },
  16959. "tradedate": {
  16960. "description": "交易日(yyyyMMdd)",
  16961. "type": "string"
  16962. },
  16963. "ydbuyposition": {
  16964. "description": "期初买头寸",
  16965. "type": "integer"
  16966. },
  16967. "ydsellposition": {
  16968. "description": "期初卖头寸",
  16969. "type": "integer"
  16970. }
  16971. }
  16972. },
  16973. "models.ErmcpHedgePositionDetail": {
  16974. "type": "object",
  16975. "properties": {
  16976. "buyorsell": {
  16977. "description": "买卖方向 0-买 1-卖",
  16978. "type": "integer"
  16979. },
  16980. "channelbuildtype": {
  16981. "description": "开平方向 1-建仓 2-平仓",
  16982. "type": "integer"
  16983. },
  16984. "goodscode": {
  16985. "description": "商品代码",
  16986. "type": "string"
  16987. },
  16988. "goodsname": {
  16989. "description": "商品名称",
  16990. "type": "string"
  16991. },
  16992. "hedgegoodsid": {
  16993. "description": "商品id",
  16994. "type": "integer"
  16995. },
  16996. "tradeqty": {
  16997. "description": "数量(成交数量)",
  16998. "type": "integer"
  16999. },
  17000. "tradetime": {
  17001. "description": "时间(成交时间)",
  17002. "type": "string"
  17003. }
  17004. }
  17005. },
  17006. "models.ErmcpHisExposure": {
  17007. "type": "object",
  17008. "properties": {
  17009. "needhedgeexposoure": {
  17010. "description": "应套保敞口",
  17011. "type": "number"
  17012. },
  17013. "reckondate": {
  17014. "description": "日照时期(yyyyMMdd)",
  17015. "type": "string"
  17016. },
  17017. "totalexposure": {
  17018. "description": "总敞口",
  17019. "type": "number"
  17020. }
  17021. }
  17022. },
  17023. "models.ErmcpHisExposureS": {
  17024. "type": "object",
  17025. "properties": {
  17026. "data": {
  17027. "description": "历史敞口",
  17028. "type": "array",
  17029. "items": {
  17030. "$ref": "#/definitions/models.ErmcpHisExposure"
  17031. }
  17032. },
  17033. "enumdicname": {
  17034. "description": "单位名称",
  17035. "type": "string"
  17036. },
  17037. "middlegoodscode": {
  17038. "description": "套保品种代码",
  17039. "type": "string"
  17040. },
  17041. "middlegoodsid": {
  17042. "description": "套保品种ID",
  17043. "type": "integer"
  17044. },
  17045. "middlegoodsname": {
  17046. "description": "套保品种名称",
  17047. "type": "string"
  17048. }
  17049. }
  17050. },
  17051. "models.ErmcpLoginTaAccount": {
  17052. "type": "object",
  17053. "properties": {
  17054. "accountid": {
  17055. "description": "账号id",
  17056. "type": "integer"
  17057. },
  17058. "accountname": {
  17059. "description": "账号名称",
  17060. "type": "string"
  17061. }
  17062. }
  17063. },
  17064. "models.ErmcpLoginUser": {
  17065. "type": "object",
  17066. "properties": {
  17067. "acclist": {
  17068. "description": "关联资金账号",
  17069. "type": "array",
  17070. "items": {
  17071. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17072. }
  17073. },
  17074. "accountname": {
  17075. "description": "用户名称",
  17076. "type": "string"
  17077. },
  17078. "clientroleid": {
  17079. "description": "角色id(usertype=2)",
  17080. "type": "integer"
  17081. },
  17082. "createtime": {
  17083. "description": "创建时间",
  17084. "type": "string"
  17085. },
  17086. "logincode": {
  17087. "description": "登录代码",
  17088. "type": "string"
  17089. },
  17090. "loginid": {
  17091. "description": "登录id(LOGINID)",
  17092. "type": "integer"
  17093. },
  17094. "loginname": {
  17095. "description": "登录名称(loginaccount表中的accountname字段)",
  17096. "type": "string"
  17097. },
  17098. "loginstatus": {
  17099. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17100. "type": "integer"
  17101. },
  17102. "memberuserid": {
  17103. "description": "所属会员id",
  17104. "type": "integer"
  17105. },
  17106. "mobile": {
  17107. "description": "手机号",
  17108. "type": "string"
  17109. },
  17110. "modifytime": {
  17111. "description": "修改时间",
  17112. "type": "string"
  17113. },
  17114. "password": {
  17115. "description": "密码(不可解密)",
  17116. "type": "string"
  17117. },
  17118. "rolename": {
  17119. "description": "角色名称",
  17120. "type": "string"
  17121. },
  17122. "rolestatus": {
  17123. "description": "角色状态 1-启用 2-停用",
  17124. "type": "integer"
  17125. },
  17126. "roletype": {
  17127. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17128. "type": "string"
  17129. },
  17130. "userid": {
  17131. "description": "用户id",
  17132. "type": "integer"
  17133. },
  17134. "usertype": {
  17135. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17136. "type": "integer"
  17137. }
  17138. }
  17139. },
  17140. "models.ErmcpLoginUserEx": {
  17141. "type": "object",
  17142. "properties": {
  17143. "accountstatus": {
  17144. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17145. "type": "integer"
  17146. },
  17147. "mobile": {
  17148. "description": "手机号",
  17149. "type": "string"
  17150. },
  17151. "querytype": {
  17152. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17153. "type": "integer"
  17154. },
  17155. "roleid": {
  17156. "description": "角色id(交易账户-\u003e用户id)",
  17157. "type": "integer"
  17158. },
  17159. "rolename": {
  17160. "description": "角色名称(交易账户-\u003e用户名称)",
  17161. "type": "string"
  17162. },
  17163. "userlist": {
  17164. "description": "用户列表",
  17165. "type": "array",
  17166. "items": {
  17167. "$ref": "#/definitions/models.ErmcpLoginUser"
  17168. }
  17169. },
  17170. "usertype": {
  17171. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17172. "type": "integer"
  17173. }
  17174. }
  17175. },
  17176. "models.ErmcpMiddleGoodsChangeLog": {
  17177. "type": "object",
  17178. "properties": {
  17179. "aftervalue": {
  17180. "description": "变更后",
  17181. "type": "number"
  17182. },
  17183. "applyid": {
  17184. "description": "操作人",
  17185. "type": "integer"
  17186. },
  17187. "applyname": {
  17188. "description": "操作人名称",
  17189. "type": "string"
  17190. },
  17191. "applysrc": {
  17192. "description": "操作来源 - 1:管理端 2:终端",
  17193. "type": "integer"
  17194. },
  17195. "beforevalue": {
  17196. "description": "变更前",
  17197. "type": "number"
  17198. },
  17199. "changelogtype": {
  17200. "description": "变更流水类型 - 1:套保比率变更",
  17201. "type": "integer"
  17202. },
  17203. "handlestatus": {
  17204. "description": "处理状态",
  17205. "type": "integer"
  17206. },
  17207. "logdatetime": {
  17208. "description": "流水日期",
  17209. "type": "string"
  17210. },
  17211. "logid": {
  17212. "description": "流水ID",
  17213. "type": "integer"
  17214. },
  17215. "logremark": {
  17216. "description": "流水备注",
  17217. "type": "string"
  17218. },
  17219. "middlegoodsid": {
  17220. "description": "套保品种ID",
  17221. "type": "integer"
  17222. },
  17223. "tradedate": {
  17224. "description": "交易日(yyyyMMdd)",
  17225. "type": "string"
  17226. },
  17227. "updatetime": {
  17228. "description": "更新时间",
  17229. "type": "string"
  17230. }
  17231. }
  17232. },
  17233. "models.ErmcpMiddleGoodsDetail": {
  17234. "type": "object",
  17235. "properties": {
  17236. "cvList": {
  17237. "description": "期货品种折算列表",
  17238. "type": "array",
  17239. "items": {
  17240. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17241. }
  17242. },
  17243. "mg": {
  17244. "description": "套保品种基本信息",
  17245. "type": "object",
  17246. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17247. },
  17248. "wrcList": {
  17249. "description": "现货品种列表(现货商品折算配置)",
  17250. "type": "array",
  17251. "items": {
  17252. "$ref": "#/definitions/models.WRSConverTDetail"
  17253. }
  17254. }
  17255. }
  17256. },
  17257. "models.ErmcpMiddleGoodsModel": {
  17258. "type": "object",
  17259. "properties": {
  17260. "areauserid": {
  17261. "description": "机构用户ID",
  17262. "type": "integer"
  17263. },
  17264. "createtime": {
  17265. "description": "修改时间",
  17266. "type": "string"
  17267. },
  17268. "enumdicname": {
  17269. "description": "单位名称",
  17270. "type": "string"
  17271. },
  17272. "evaluateratio": {
  17273. "description": "估价系数",
  17274. "type": "number"
  17275. },
  17276. "goodsgroupid": {
  17277. "description": "关联期货品种ID",
  17278. "type": "integer"
  17279. },
  17280. "goodsunitid": {
  17281. "description": "单位ID",
  17282. "type": "integer"
  17283. },
  17284. "isvalid": {
  17285. "description": "状态 0-无效(停用) 1-有效(正常)",
  17286. "type": "integer"
  17287. },
  17288. "middlegoodscode": {
  17289. "description": "套保品种代码",
  17290. "type": "string"
  17291. },
  17292. "middlegoodsid": {
  17293. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17294. "type": "integer"
  17295. },
  17296. "middlegoodsname": {
  17297. "description": "套保品种名称",
  17298. "type": "string"
  17299. },
  17300. "modifytime": {
  17301. "description": "修改时间",
  17302. "type": "string"
  17303. },
  17304. "needhedgeratio": {
  17305. "description": "套保比率",
  17306. "type": "number"
  17307. },
  17308. "qtydecimalplace": {
  17309. "description": "数量小数位",
  17310. "type": "integer"
  17311. },
  17312. "relatedgoodsid": {
  17313. "description": "关联交易商品ID",
  17314. "type": "integer"
  17315. },
  17316. "relatedgoodstype": {
  17317. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17318. "type": "integer"
  17319. },
  17320. "remark": {
  17321. "description": "备注",
  17322. "type": "string"
  17323. }
  17324. }
  17325. },
  17326. "models.ErmcpModel": {
  17327. "type": "object",
  17328. "properties": {
  17329. "accountname": {
  17330. "description": "账户名称",
  17331. "type": "string"
  17332. },
  17333. "attachment": {
  17334. "description": "附件",
  17335. "type": "string"
  17336. },
  17337. "audittime": {
  17338. "description": "审核时间",
  17339. "type": "string"
  17340. },
  17341. "brandname": {
  17342. "description": "品牌名称",
  17343. "type": "string"
  17344. },
  17345. "contracctstatus": {
  17346. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17347. "type": "integer"
  17348. },
  17349. "contractmargin": {
  17350. "description": "合同保证金",
  17351. "type": "number"
  17352. },
  17353. "contractno": {
  17354. "description": "合同编号",
  17355. "type": "string"
  17356. },
  17357. "contracttype": {
  17358. "description": "合同类型 1-采购, -1-销售",
  17359. "type": "integer"
  17360. },
  17361. "convertfactor": {
  17362. "description": "标仓系数",
  17363. "type": "number"
  17364. },
  17365. "createtime": {
  17366. "description": "创建时间",
  17367. "type": "string"
  17368. },
  17369. "daikaiamount": {
  17370. "description": "应收(开)票额",
  17371. "type": "number"
  17372. },
  17373. "deliveryenddate": {
  17374. "description": "交割结束日",
  17375. "type": "string"
  17376. },
  17377. "deliverygoodscode": {
  17378. "description": "现货品种代码",
  17379. "type": "string"
  17380. },
  17381. "deliverygoodsid": {
  17382. "description": "现货商品ID",
  17383. "type": "integer"
  17384. },
  17385. "deliverygoodsname": {
  17386. "description": "现货品种名称",
  17387. "type": "string"
  17388. },
  17389. "deliverystartdate": {
  17390. "description": "交割开始日",
  17391. "type": "string"
  17392. },
  17393. "enddate": {
  17394. "description": "点价结束日",
  17395. "type": "string"
  17396. },
  17397. "enumdicname": {
  17398. "description": "单位名称",
  17399. "type": "string"
  17400. },
  17401. "goodscode": {
  17402. "description": "点价商品代码",
  17403. "type": "string"
  17404. },
  17405. "goodsid": {
  17406. "description": "点价商品ID",
  17407. "type": "integer"
  17408. },
  17409. "goodsname": {
  17410. "description": "点价商品名称",
  17411. "type": "string"
  17412. },
  17413. "invoiceamount": {
  17414. "description": "已开票额",
  17415. "type": "number"
  17416. },
  17417. "loanamount": {
  17418. "description": "贷款总额=已定价额+调整金额",
  17419. "type": "number"
  17420. },
  17421. "margin": {
  17422. "description": "保证金",
  17423. "type": "number"
  17424. },
  17425. "modelname": {
  17426. "description": "型号名称",
  17427. "type": "string"
  17428. },
  17429. "payamount": {
  17430. "description": "已收付额(收款或付款)",
  17431. "type": "number"
  17432. },
  17433. "preinvoiceamount": {
  17434. "description": "预收(开)票额",
  17435. "type": "number"
  17436. },
  17437. "prepayamount": {
  17438. "description": "预收付额",
  17439. "type": "number"
  17440. },
  17441. "price": {
  17442. "description": "价格",
  17443. "type": "number"
  17444. },
  17445. "pricedamount": {
  17446. "description": "已定价额",
  17447. "type": "number"
  17448. },
  17449. "pricedavg": {
  17450. "description": "已点均价",
  17451. "type": "number"
  17452. },
  17453. "pricedqty": {
  17454. "description": "已定价量",
  17455. "type": "number"
  17456. },
  17457. "pricemove": {
  17458. "description": "升贴水",
  17459. "type": "number"
  17460. },
  17461. "pricetype": {
  17462. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17463. "type": "integer"
  17464. },
  17465. "producttype": {
  17466. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17467. "type": "integer"
  17468. },
  17469. "qty": {
  17470. "description": "合同量",
  17471. "type": "number"
  17472. },
  17473. "reckonadjustamount": {
  17474. "description": "调整金额",
  17475. "type": "number"
  17476. },
  17477. "reckonedamount": {
  17478. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17479. "type": "number"
  17480. },
  17481. "reckonotheramount": {
  17482. "description": "其它费用",
  17483. "type": "number"
  17484. },
  17485. "reckonrealqty": {
  17486. "description": "已确定量",
  17487. "type": "number"
  17488. },
  17489. "remark": {
  17490. "description": "备注",
  17491. "type": "string"
  17492. },
  17493. "spotcontractid": {
  17494. "description": "合同ID",
  17495. "type": "string"
  17496. },
  17497. "spotgoodsbrandid": {
  17498. "description": "现货品牌ID",
  17499. "type": "integer"
  17500. },
  17501. "spotgoodsdesc": {
  17502. "description": "商品型号(商品规格)",
  17503. "type": "string"
  17504. },
  17505. "spotgoodsmodelid": {
  17506. "description": "现货型号ID",
  17507. "type": "integer"
  17508. },
  17509. "startdate": {
  17510. "description": "点价开始日",
  17511. "type": "string"
  17512. },
  17513. "totalamount": {
  17514. "description": "合计总额",
  17515. "type": "number"
  17516. },
  17517. "unpayamount": {
  17518. "description": "应收付款额(应支付或应收款)",
  17519. "type": "number"
  17520. },
  17521. "unpricedqty": {
  17522. "description": "未定价量",
  17523. "type": "number"
  17524. },
  17525. "unsureqty": {
  17526. "description": "未确定量",
  17527. "type": "number"
  17528. },
  17529. "userid": {
  17530. "description": "用户ID",
  17531. "type": "integer"
  17532. },
  17533. "wrstandardcode": {
  17534. "description": "现货商品代码",
  17535. "type": "string"
  17536. },
  17537. "wrstandardid": {
  17538. "description": "现货商品ID",
  17539. "type": "integer"
  17540. },
  17541. "wrstandardname": {
  17542. "description": "现货商品名称",
  17543. "type": "string"
  17544. }
  17545. }
  17546. },
  17547. "models.ErmcpOPLogModel": {
  17548. "type": "object",
  17549. "properties": {
  17550. "aftervalue": {
  17551. "description": "变更后",
  17552. "type": "number"
  17553. },
  17554. "applyid": {
  17555. "description": "操作人ID",
  17556. "type": "string"
  17557. },
  17558. "applyname": {
  17559. "description": "操作人名称",
  17560. "type": "string"
  17561. },
  17562. "beforevalue": {
  17563. "description": "变更前",
  17564. "type": "number"
  17565. },
  17566. "biztype": {
  17567. "description": "业务类型 - 1:套保计划 2:现货合同",
  17568. "type": "integer"
  17569. },
  17570. "contracttype": {
  17571. "description": "现货合同类型 - 1:采购 -1:销售",
  17572. "type": "integer"
  17573. },
  17574. "logvalue": {
  17575. "description": "数值",
  17576. "type": "number"
  17577. },
  17578. "operatelogtype": {
  17579. "description": "操作流水类型",
  17580. "type": "integer"
  17581. },
  17582. "operatelogtypedesc": {
  17583. "description": "操作流水类型名称",
  17584. "type": "string"
  17585. },
  17586. "relatedid": {
  17587. "description": "现货合同ID\\套保计划",
  17588. "type": "string"
  17589. },
  17590. "updatetime": {
  17591. "description": "更新时间",
  17592. "type": "string"
  17593. }
  17594. }
  17595. },
  17596. "models.ErmcpPendingAudit": {
  17597. "type": "object",
  17598. "properties": {
  17599. "areastockqty": {
  17600. "description": "待审核数量: 库存申请",
  17601. "type": "integer"
  17602. },
  17603. "businessdjqty": {
  17604. "description": "待审核数量: 点价",
  17605. "type": "integer"
  17606. },
  17607. "businessfpqty": {
  17608. "description": "待审核数量: 发票",
  17609. "type": "integer"
  17610. },
  17611. "businessjsqty": {
  17612. "description": "待审核数量: 结算",
  17613. "type": "integer"
  17614. },
  17615. "businesskxqty": {
  17616. "description": "待审核数量: 款项",
  17617. "type": "integer"
  17618. },
  17619. "hedgeplanqty": {
  17620. "description": "待审核数量: 套保计划",
  17621. "type": "integer"
  17622. },
  17623. "spotcontractqty": {
  17624. "description": "待审核数量: 现货合同",
  17625. "type": "integer"
  17626. },
  17627. "userqty": {
  17628. "description": "待审核数量: 用户",
  17629. "type": "integer"
  17630. }
  17631. }
  17632. },
  17633. "models.ErmcpRealExposureModel": {
  17634. "type": "object",
  17635. "properties": {
  17636. "AreaUserID": {
  17637. "description": "所属机构",
  17638. "type": "integer"
  17639. },
  17640. "BuyFutureQty": {
  17641. "description": "买入期货数量",
  17642. "type": "number"
  17643. },
  17644. "BuyPlanQty": {
  17645. "description": "采购计划数量",
  17646. "type": "number"
  17647. },
  17648. "BuyPricedQty": {
  17649. "description": "采购合同已定价数量",
  17650. "type": "number"
  17651. },
  17652. "MiddleGoodsCode": {
  17653. "description": "套保品种代码",
  17654. "type": "string"
  17655. },
  17656. "MiddleGoodsHedgeRatio": {
  17657. "description": "应套保比例",
  17658. "type": "number"
  17659. },
  17660. "MiddleGoodsID": {
  17661. "description": "套保品种",
  17662. "type": "integer"
  17663. },
  17664. "MiddleGoodsName": {
  17665. "description": "套保品种名称",
  17666. "type": "string"
  17667. },
  17668. "NeedHedgeExposoure": {
  17669. "description": "应套保敞口",
  17670. "type": "number"
  17671. },
  17672. "NeedHedgeRatio": {
  17673. "description": "应套保敞口比例",
  17674. "type": "number"
  17675. },
  17676. "OriBuyFutureQty": {
  17677. "description": "期初买入期货数量",
  17678. "type": "number"
  17679. },
  17680. "OriBuyPlanQty": {
  17681. "description": "期初采购计划数量",
  17682. "type": "number"
  17683. },
  17684. "OriBuyPricedQty": {
  17685. "description": "期初采购合同已定价数量",
  17686. "type": "number"
  17687. },
  17688. "OriSellFutureQty": {
  17689. "description": "期初卖出期货数量",
  17690. "type": "number"
  17691. },
  17692. "OriSellPlanQty": {
  17693. "description": "期初销售计划数量",
  17694. "type": "number"
  17695. },
  17696. "OriSellPricedQty": {
  17697. "description": "期初销售合同已定价数量",
  17698. "type": "number"
  17699. },
  17700. "SellFutureQty": {
  17701. "description": "卖出期货数量",
  17702. "type": "number"
  17703. },
  17704. "SellPlanQty": {
  17705. "description": "销售计划数量",
  17706. "type": "number"
  17707. },
  17708. "SellPricedQty": {
  17709. "description": "销售合同已定价数量",
  17710. "type": "number"
  17711. },
  17712. "TotalExposure": {
  17713. "description": "总敞口",
  17714. "type": "number"
  17715. },
  17716. "TotalFutureQty": {
  17717. "description": "期货数量",
  17718. "type": "number"
  17719. },
  17720. "TotalHedgeRatio": {
  17721. "description": "敞口比例",
  17722. "type": "number"
  17723. },
  17724. "TotalNeedHedgeQty": {
  17725. "description": "期货应套保量",
  17726. "type": "number"
  17727. },
  17728. "TotalSpotQty": {
  17729. "description": "现货数量",
  17730. "type": "number"
  17731. },
  17732. "diffFutuQty": {
  17733. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17734. "type": "number"
  17735. },
  17736. "diffSpotQty": {
  17737. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17738. "type": "number"
  17739. },
  17740. "enumdicname": {
  17741. "description": "单位名称",
  17742. "type": "string"
  17743. },
  17744. "oriTotalFutuQty": {
  17745. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17746. "type": "number"
  17747. },
  17748. "oriTotalSpotQty": {
  17749. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17750. "type": "number"
  17751. }
  17752. }
  17753. },
  17754. "models.ErmcpReportAreaSpotPL": {
  17755. "type": "object",
  17756. "properties": {
  17757. "actualpl": {
  17758. "description": "实际损益",
  17759. "type": "number"
  17760. },
  17761. "areauserid": {
  17762. "description": "所属机构",
  17763. "type": "integer"
  17764. },
  17765. "brandname": {
  17766. "description": "品牌名称",
  17767. "type": "string"
  17768. },
  17769. "curamount": {
  17770. "description": "期末额",
  17771. "type": "number"
  17772. },
  17773. "curaverageprice": {
  17774. "description": "期末均价",
  17775. "type": "number"
  17776. },
  17777. "curbuyamount": {
  17778. "description": "期末采购总额(采购额)",
  17779. "type": "number"
  17780. },
  17781. "curbuyqty": {
  17782. "description": "期末采购总量",
  17783. "type": "number"
  17784. },
  17785. "curmarketvalue": {
  17786. "description": "参考市值",
  17787. "type": "number"
  17788. },
  17789. "curqty": {
  17790. "description": "期末量",
  17791. "type": "number"
  17792. },
  17793. "cursellamount": {
  17794. "description": "期末销售总额(销售额)",
  17795. "type": "number"
  17796. },
  17797. "cursellqty": {
  17798. "description": "期末销售总量",
  17799. "type": "number"
  17800. },
  17801. "curspotprice": {
  17802. "description": "参考市价",
  17803. "type": "number"
  17804. },
  17805. "enumdicname": {
  17806. "description": "现货商品单位名称",
  17807. "type": "string"
  17808. },
  17809. "floatpl": {
  17810. "description": "浮动损益",
  17811. "type": "number"
  17812. },
  17813. "gbenumdicname": {
  17814. "description": "品类单位名称",
  17815. "type": "string"
  17816. },
  17817. "gbunitid": {
  17818. "description": "品类单位id",
  17819. "type": "integer"
  17820. },
  17821. "modelname": {
  17822. "description": "品类名称",
  17823. "type": "string"
  17824. },
  17825. "oriamount": {
  17826. "description": "期初额",
  17827. "type": "number"
  17828. },
  17829. "oriaverageprice": {
  17830. "description": "期初均价",
  17831. "type": "number"
  17832. },
  17833. "oribuyamount": {
  17834. "description": "期初采购总额",
  17835. "type": "number"
  17836. },
  17837. "oribuyqty": {
  17838. "description": "期初采购总量",
  17839. "type": "number"
  17840. },
  17841. "oriqty": {
  17842. "description": "期初量",
  17843. "type": "number"
  17844. },
  17845. "orisellamount": {
  17846. "description": "期初销售总额",
  17847. "type": "number"
  17848. },
  17849. "orisellqty": {
  17850. "description": "期初销售总量",
  17851. "type": "number"
  17852. },
  17853. "spotgoodsbrandid": {
  17854. "description": "现货品牌ID",
  17855. "type": "integer"
  17856. },
  17857. "spotgoodsmodelid": {
  17858. "description": "现货品类ID",
  17859. "type": "integer"
  17860. },
  17861. "todaybuyamount": {
  17862. "description": "今日采购额",
  17863. "type": "number"
  17864. },
  17865. "todaybuyaverageprice": {
  17866. "description": "今日采购均价(采购均价)",
  17867. "type": "number"
  17868. },
  17869. "todaybuyqty": {
  17870. "description": "今日采购量(采购增量)",
  17871. "type": "number"
  17872. },
  17873. "todaysellamount": {
  17874. "description": "今日销售额",
  17875. "type": "number"
  17876. },
  17877. "todaysellaverageprice": {
  17878. "description": "今日销售均价(销售均价)",
  17879. "type": "number"
  17880. },
  17881. "todaysellqty": {
  17882. "description": "今日销售量(销售增量)",
  17883. "type": "number"
  17884. },
  17885. "unitid": {
  17886. "description": "现货商品单位id",
  17887. "type": "integer"
  17888. },
  17889. "updatetime": {
  17890. "description": "更新时间",
  17891. "type": "string"
  17892. },
  17893. "wrstandardcode": {
  17894. "description": "现货商品代码",
  17895. "type": "string"
  17896. },
  17897. "wrstandardid": {
  17898. "description": "现货商品ID",
  17899. "type": "integer"
  17900. },
  17901. "wrstandardname": {
  17902. "description": "现货商品名称",
  17903. "type": "string"
  17904. }
  17905. }
  17906. },
  17907. "models.ErmcpReportDayExposure": {
  17908. "type": "object",
  17909. "properties": {
  17910. "areauserid": {
  17911. "description": "所属机构",
  17912. "type": "integer"
  17913. },
  17914. "buyfutureqty": {
  17915. "description": "买入期货数量",
  17916. "type": "number"
  17917. },
  17918. "buyplanqty": {
  17919. "description": "采购计划数量",
  17920. "type": "number"
  17921. },
  17922. "buypricedqty": {
  17923. "description": "采购合同已定价数量",
  17924. "type": "number"
  17925. },
  17926. "diffFutuQty": {
  17927. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17928. "type": "number"
  17929. },
  17930. "diffSpotQty": {
  17931. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17932. "type": "number"
  17933. },
  17934. "enumdicname": {
  17935. "description": "单位名称",
  17936. "type": "string"
  17937. },
  17938. "middlegoodscode": {
  17939. "description": "套保品种代码",
  17940. "type": "string"
  17941. },
  17942. "middlegoodshedgeratio": {
  17943. "description": "应套保比例",
  17944. "type": "number"
  17945. },
  17946. "middlegoodsid": {
  17947. "description": "套保品种ID",
  17948. "type": "integer"
  17949. },
  17950. "middlegoodsname": {
  17951. "description": "套保品种名称",
  17952. "type": "string"
  17953. },
  17954. "needhedgeexposoure": {
  17955. "description": "应套保敞口",
  17956. "type": "number"
  17957. },
  17958. "needhedgeratio": {
  17959. "description": "应套保敞口比例",
  17960. "type": "number"
  17961. },
  17962. "oriTotalFutuQty": {
  17963. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17964. "type": "number"
  17965. },
  17966. "oriTotalSpotQty": {
  17967. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17968. "type": "number"
  17969. },
  17970. "oribuyfutureqty": {
  17971. "description": "期初买入期货数量",
  17972. "type": "number"
  17973. },
  17974. "oribuyplanqty": {
  17975. "description": "期初采购计划数量",
  17976. "type": "number"
  17977. },
  17978. "oribuypricedqty": {
  17979. "description": "期初采购合同已定价数量",
  17980. "type": "number"
  17981. },
  17982. "orisellfutureqty": {
  17983. "description": "期初卖出期货数量",
  17984. "type": "number"
  17985. },
  17986. "orisellplanqty": {
  17987. "description": "期初销售计划数量",
  17988. "type": "number"
  17989. },
  17990. "orisellpricedqty": {
  17991. "description": "期初销售合同已定价数量",
  17992. "type": "number"
  17993. },
  17994. "reckondate": {
  17995. "description": "日照时期(yyyyMMdd)",
  17996. "type": "string"
  17997. },
  17998. "sellfutureqty": {
  17999. "description": "卖出期货数量",
  18000. "type": "number"
  18001. },
  18002. "sellplanqty": {
  18003. "description": "销售计划数量",
  18004. "type": "number"
  18005. },
  18006. "sellpricedqty": {
  18007. "description": "销售合同已定价数量",
  18008. "type": "number"
  18009. },
  18010. "totalexposure": {
  18011. "description": "总敞口",
  18012. "type": "number"
  18013. },
  18014. "totalfutureqty": {
  18015. "description": "期货数量",
  18016. "type": "number"
  18017. },
  18018. "totalhedgeratio": {
  18019. "description": "敞口比例",
  18020. "type": "number"
  18021. },
  18022. "totalneedhedgeqty": {
  18023. "description": "期货应套保量",
  18024. "type": "number"
  18025. },
  18026. "totalspotqty": {
  18027. "description": "现货数量",
  18028. "type": "number"
  18029. }
  18030. }
  18031. },
  18032. "models.ErmcpReportDayFR": {
  18033. "type": "object",
  18034. "properties": {
  18035. "areauserid": {
  18036. "description": "所属机构",
  18037. "type": "integer"
  18038. },
  18039. "collectinvoiceamount": {
  18040. "description": "今日开票金额",
  18041. "type": "number"
  18042. },
  18043. "collectinvoicecount": {
  18044. "description": "今日开票笔数",
  18045. "type": "integer"
  18046. },
  18047. "collectmoneyamount": {
  18048. "description": "今日收款金额",
  18049. "type": "number"
  18050. },
  18051. "collectmoneycount": {
  18052. "description": "今日收款笔数",
  18053. "type": "integer"
  18054. },
  18055. "payinvoiceamount": {
  18056. "description": "今日收票金额",
  18057. "type": "number"
  18058. },
  18059. "payinvoicecount": {
  18060. "description": "今日收票笔数",
  18061. "type": "integer"
  18062. },
  18063. "paymoneyamount": {
  18064. "description": "今日付款金额",
  18065. "type": "number"
  18066. },
  18067. "paymoneycount": {
  18068. "description": "今日付款笔数",
  18069. "type": "integer"
  18070. },
  18071. "reckondate": {
  18072. "description": "日照时期(yyyyMMdd)",
  18073. "type": "string"
  18074. },
  18075. "updatetime": {
  18076. "description": "更新时间",
  18077. "type": "string"
  18078. }
  18079. }
  18080. },
  18081. "models.ErmcpReportDaySpot": {
  18082. "type": "object",
  18083. "properties": {
  18084. "areauserid": {
  18085. "description": "所属机构T",
  18086. "type": "integer"
  18087. },
  18088. "buyinqty": {
  18089. "description": "采购入库量",
  18090. "type": "number"
  18091. },
  18092. "enumdicname": {
  18093. "description": "现货商品单位名称",
  18094. "type": "string"
  18095. },
  18096. "reckondate": {
  18097. "description": "日照时期(yyyyMMdd)",
  18098. "type": "string"
  18099. },
  18100. "selloutqty": {
  18101. "description": "销售出库量",
  18102. "type": "number"
  18103. },
  18104. "todaybuyreckonqty": {
  18105. "description": "采购确定量",
  18106. "type": "number"
  18107. },
  18108. "todaysellreckonqty": {
  18109. "description": "销售确定量",
  18110. "type": "number"
  18111. },
  18112. "totalbuypricedqty": {
  18113. "description": "采购定价量 = 期末 - 期初",
  18114. "type": "number"
  18115. },
  18116. "totalsellpricedqty": {
  18117. "description": "销售定价量 = 期末 - 期初",
  18118. "type": "number"
  18119. },
  18120. "wrstandardcode": {
  18121. "description": "现货商品代码",
  18122. "type": "string"
  18123. },
  18124. "wrstandardid": {
  18125. "description": "现货商品ID",
  18126. "type": "integer"
  18127. },
  18128. "wrstandardname": {
  18129. "description": "现货商品名称",
  18130. "type": "string"
  18131. }
  18132. }
  18133. },
  18134. "models.ErmcpReportMonSpot": {
  18135. "type": "object",
  18136. "properties": {
  18137. "areauserid": {
  18138. "description": "所属机构T",
  18139. "type": "integer"
  18140. },
  18141. "buyinqty": {
  18142. "description": "采购入库量",
  18143. "type": "number"
  18144. },
  18145. "cycletime": {
  18146. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18147. "type": "string"
  18148. },
  18149. "cycletype": {
  18150. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18151. "type": "integer"
  18152. },
  18153. "enumdicname": {
  18154. "description": "现货商品单位名称",
  18155. "type": "string"
  18156. },
  18157. "selloutqty": {
  18158. "description": "销售出库量",
  18159. "type": "number"
  18160. },
  18161. "todaybuyreckonqty": {
  18162. "description": "采购确定量",
  18163. "type": "number"
  18164. },
  18165. "todaysellreckonqty": {
  18166. "description": "销售确定量",
  18167. "type": "number"
  18168. },
  18169. "totalbuypricedqty": {
  18170. "description": "采购定价量 = 期末 - 期初",
  18171. "type": "number"
  18172. },
  18173. "totalsellpricedqty": {
  18174. "description": "销售定价量 = 期末 - 期初",
  18175. "type": "number"
  18176. },
  18177. "wrstandardcode": {
  18178. "description": "现货商品代码",
  18179. "type": "string"
  18180. },
  18181. "wrstandardid": {
  18182. "description": "现货商品ID",
  18183. "type": "integer"
  18184. },
  18185. "wrstandardname": {
  18186. "description": "现货商品名称",
  18187. "type": "string"
  18188. }
  18189. }
  18190. },
  18191. "models.ErmcpReportMonthFR": {
  18192. "type": "object",
  18193. "properties": {
  18194. "areauserid": {
  18195. "description": "所属机构【原值】",
  18196. "type": "integer"
  18197. },
  18198. "collectinvoiceamount": {
  18199. "description": "今日开票金额【汇总】",
  18200. "type": "number"
  18201. },
  18202. "collectinvoicecount": {
  18203. "description": "今日开票笔数【汇总】",
  18204. "type": "integer"
  18205. },
  18206. "collectmoneyamount": {
  18207. "description": "今日收款金额【汇总】",
  18208. "type": "number"
  18209. },
  18210. "collectmoneycount": {
  18211. "description": "今日收款笔数 【汇总】",
  18212. "type": "integer"
  18213. },
  18214. "cycletime": {
  18215. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18216. "type": "string"
  18217. },
  18218. "cycletype": {
  18219. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18220. "type": "integer"
  18221. },
  18222. "dayFr": {
  18223. "description": "日报表明细",
  18224. "type": "array",
  18225. "items": {
  18226. "$ref": "#/definitions/models.ErmcpReportDayFR"
  18227. }
  18228. },
  18229. "payinvoiceamount": {
  18230. "description": "今日收票金额【汇总】",
  18231. "type": "number"
  18232. },
  18233. "payinvoicecount": {
  18234. "description": "今日收票笔数【汇总】",
  18235. "type": "integer"
  18236. },
  18237. "paymoneyamount": {
  18238. "description": "今日付款金额【汇总】",
  18239. "type": "number"
  18240. },
  18241. "paymoneycount": {
  18242. "description": "今日付款笔数【汇总】",
  18243. "type": "integer"
  18244. },
  18245. "updatetime": {
  18246. "description": "更新时间",
  18247. "type": "string"
  18248. }
  18249. }
  18250. },
  18251. "models.ErmcpReportOPLog": {
  18252. "type": "object",
  18253. "properties": {
  18254. "applyid": {
  18255. "description": "操作人",
  18256. "type": "integer"
  18257. },
  18258. "applyname": {
  18259. "description": "操作人名称",
  18260. "type": "string"
  18261. },
  18262. "biztype": {
  18263. "description": "业务类型 - 1:套保计划 2:现货合同",
  18264. "type": "integer"
  18265. },
  18266. "brandname": {
  18267. "description": "品牌名称",
  18268. "type": "string"
  18269. },
  18270. "contracttype": {
  18271. "description": "现货合同类型 - 1:采购 -1:销售",
  18272. "type": "integer"
  18273. },
  18274. "enumdicName": {
  18275. "description": "单位名称",
  18276. "type": "string"
  18277. },
  18278. "logdatetime": {
  18279. "description": "流水日期(时间)",
  18280. "type": "string"
  18281. },
  18282. "logid": {
  18283. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  18284. "type": "string"
  18285. },
  18286. "logtypename": {
  18287. "description": "合同类型(名称)",
  18288. "type": "string"
  18289. },
  18290. "logvalue": {
  18291. "description": "数值",
  18292. "type": "string"
  18293. },
  18294. "modelname": {
  18295. "description": "型号名称",
  18296. "type": "string"
  18297. },
  18298. "operatelogtype": {
  18299. "description": "操作流水类型 -",
  18300. "type": "integer"
  18301. },
  18302. "optypename": {
  18303. "description": "流水类型名称",
  18304. "type": "string"
  18305. },
  18306. "relatedid": {
  18307. "description": "现货合同ID\\套保计划",
  18308. "type": "string"
  18309. },
  18310. "relatedno": {
  18311. "description": "合同编号",
  18312. "type": "string"
  18313. },
  18314. "tradedate": {
  18315. "description": "交易日(yyyyMMdd)",
  18316. "type": "string"
  18317. },
  18318. "userid": {
  18319. "description": "机构ID",
  18320. "type": "integer"
  18321. },
  18322. "wrstandardcode": {
  18323. "description": "现货商品代码",
  18324. "type": "string"
  18325. },
  18326. "wrstandardid": {
  18327. "description": "现货商品ID",
  18328. "type": "integer"
  18329. },
  18330. "wrstandardname": {
  18331. "description": "现货商品名称",
  18332. "type": "string"
  18333. }
  18334. }
  18335. },
  18336. "models.ErmcpRole": {
  18337. "type": "object",
  18338. "properties": {
  18339. "areauserid": {
  18340. "description": "所属机构",
  18341. "type": "integer"
  18342. },
  18343. "autoid": {
  18344. "description": "角色ID(自增ID)",
  18345. "type": "integer"
  18346. },
  18347. "modifierid": {
  18348. "description": "修改人(创建人)",
  18349. "type": "integer"
  18350. },
  18351. "modifiername": {
  18352. "description": "修改人名称",
  18353. "type": "string"
  18354. },
  18355. "modifytime": {
  18356. "description": "修改时间(创建时间)",
  18357. "type": "string"
  18358. },
  18359. "rolename": {
  18360. "description": "角色名称",
  18361. "type": "string"
  18362. },
  18363. "rolestatus": {
  18364. "description": "角色状态 - 1:启用 2:停用",
  18365. "type": "integer"
  18366. },
  18367. "roletype": {
  18368. "description": "角色类型 - 1- 管理端 2- 交易端",
  18369. "type": "integer"
  18370. }
  18371. }
  18372. },
  18373. "models.ErmcpRoleMenu": {
  18374. "type": "object",
  18375. "properties": {
  18376. "iconame": {
  18377. "description": "菜单图标",
  18378. "type": "string"
  18379. },
  18380. "menutype": {
  18381. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18382. "type": "integer"
  18383. },
  18384. "parentcode": {
  18385. "description": "上级资源代码",
  18386. "type": "string"
  18387. },
  18388. "remark": {
  18389. "description": "菜单备注",
  18390. "type": "string"
  18391. },
  18392. "resourcecode": {
  18393. "description": "菜单代码",
  18394. "type": "string"
  18395. },
  18396. "resourcelevel": {
  18397. "description": "级别",
  18398. "type": "integer"
  18399. },
  18400. "resourcename": {
  18401. "description": "菜单名称",
  18402. "type": "string"
  18403. },
  18404. "roleid": {
  18405. "description": "角色id",
  18406. "type": "integer"
  18407. },
  18408. "sort": {
  18409. "description": "排序",
  18410. "type": "integer"
  18411. },
  18412. "url": {
  18413. "description": "URL",
  18414. "type": "string"
  18415. },
  18416. "userid": {
  18417. "description": "用户id",
  18418. "type": "integer"
  18419. }
  18420. }
  18421. },
  18422. "models.ErmcpRoleMenuEx": {
  18423. "type": "object",
  18424. "properties": {
  18425. "menu": {
  18426. "description": "父级菜单",
  18427. "type": "object",
  18428. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18429. },
  18430. "subMenu": {
  18431. "description": "子级菜单",
  18432. "type": "array",
  18433. "items": {
  18434. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18435. }
  18436. }
  18437. }
  18438. },
  18439. "models.ErmcpSpotContractModel": {
  18440. "type": "object",
  18441. "properties": {
  18442. "amount": {
  18443. "description": "金额 [1:一口价、3:暂定价]",
  18444. "type": "number"
  18445. },
  18446. "attachment": {
  18447. "description": "附件",
  18448. "type": "string"
  18449. },
  18450. "auditremark": {
  18451. "description": "审核意见",
  18452. "type": "string"
  18453. },
  18454. "audittime": {
  18455. "description": "审核时间",
  18456. "type": "string"
  18457. },
  18458. "brandname": {
  18459. "description": "品牌名称",
  18460. "type": "string"
  18461. },
  18462. "buyuserid": {
  18463. "description": "采购方ID",
  18464. "type": "integer"
  18465. },
  18466. "buyusername": {
  18467. "description": "采购方名称",
  18468. "type": "string"
  18469. },
  18470. "contracctstatus": {
  18471. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18472. "type": "integer"
  18473. },
  18474. "contractmargin": {
  18475. "description": "合同保证金",
  18476. "type": "number"
  18477. },
  18478. "contractno": {
  18479. "description": "现货合同编号",
  18480. "type": "string"
  18481. },
  18482. "contracttype": {
  18483. "description": "现货合同类型 - 1:采购 -1:销售",
  18484. "type": "integer"
  18485. },
  18486. "convertfactor": {
  18487. "description": "标仓系数",
  18488. "type": "number"
  18489. },
  18490. "createtime": {
  18491. "description": "创建时间",
  18492. "type": "string"
  18493. },
  18494. "deliveryenddate": {
  18495. "description": "交收期(结束)",
  18496. "type": "string"
  18497. },
  18498. "deliverygoodscode": {
  18499. "description": "现货品种代码",
  18500. "type": "string"
  18501. },
  18502. "deliverygoodsid": {
  18503. "description": "现货品种ID",
  18504. "type": "integer"
  18505. },
  18506. "deliverygoodsname": {
  18507. "description": "现货品种名称",
  18508. "type": "string"
  18509. },
  18510. "deliverystartdate": {
  18511. "description": "交收期(开始)",
  18512. "type": "string"
  18513. },
  18514. "enddate": {
  18515. "description": "点价结束日期 [2:点价 3:暂定价]",
  18516. "type": "string"
  18517. },
  18518. "enumdicname": {
  18519. "description": "单位名称",
  18520. "type": "string"
  18521. },
  18522. "goodscode": {
  18523. "description": "点价合约代码",
  18524. "type": "string"
  18525. },
  18526. "goodsid": {
  18527. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18528. "type": "integer"
  18529. },
  18530. "goodsname": {
  18531. "description": "点价商品名称",
  18532. "type": "string"
  18533. },
  18534. "margin": {
  18535. "description": "当前保证金",
  18536. "type": "number"
  18537. },
  18538. "modelname": {
  18539. "description": "型号名称",
  18540. "type": "string"
  18541. },
  18542. "price": {
  18543. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18544. "type": "number"
  18545. },
  18546. "pricemove": {
  18547. "description": "升贴水 [2:点价 3:暂定价]",
  18548. "type": "number"
  18549. },
  18550. "pricetype": {
  18551. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18552. "type": "integer"
  18553. },
  18554. "producttype": {
  18555. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18556. "type": "integer"
  18557. },
  18558. "qty": {
  18559. "description": "数量",
  18560. "type": "number"
  18561. },
  18562. "remark": {
  18563. "description": "备注",
  18564. "type": "string"
  18565. },
  18566. "selluserid": {
  18567. "description": "销售方ID",
  18568. "type": "integer"
  18569. },
  18570. "sellusername": {
  18571. "description": "销售方名称",
  18572. "type": "string"
  18573. },
  18574. "spotcontractid": {
  18575. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18576. "type": "string"
  18577. },
  18578. "spotgoodsbrandid": {
  18579. "description": "现货品牌ID",
  18580. "type": "integer"
  18581. },
  18582. "spotgoodsdesc": {
  18583. "description": "商品型号",
  18584. "type": "string"
  18585. },
  18586. "spotgoodsmodelid": {
  18587. "description": "现货型号ID",
  18588. "type": "integer"
  18589. },
  18590. "startdate": {
  18591. "description": "点价开始日期 [2:点价 3:暂定价]",
  18592. "type": "string"
  18593. },
  18594. "updatetime": {
  18595. "description": "更新时间",
  18596. "type": "string"
  18597. },
  18598. "userid": {
  18599. "description": "机构ID",
  18600. "type": "integer"
  18601. },
  18602. "wrstandardcode": {
  18603. "description": "现货商品代码",
  18604. "type": "string"
  18605. },
  18606. "wrstandardid": {
  18607. "description": "现货商品ID",
  18608. "type": "integer"
  18609. },
  18610. "wrstandardname": {
  18611. "description": "现货商品名称",
  18612. "type": "string"
  18613. }
  18614. }
  18615. },
  18616. "models.ErmcpSpotGoodsPrice": {
  18617. "type": "object",
  18618. "properties": {
  18619. "areauserid": {
  18620. "description": "所属机构id",
  18621. "type": "integer"
  18622. },
  18623. "brandname": {
  18624. "description": "品牌名称",
  18625. "type": "string"
  18626. },
  18627. "currencyid": {
  18628. "description": "报价货币ID",
  18629. "type": "integer"
  18630. },
  18631. "enumdicname": {
  18632. "description": "现货商品单位名称",
  18633. "type": "string"
  18634. },
  18635. "gbenumdicname": {
  18636. "description": "品类单位名称",
  18637. "type": "string"
  18638. },
  18639. "gmunitid": {
  18640. "description": "品类单位id",
  18641. "type": "integer"
  18642. },
  18643. "isvalid": {
  18644. "description": "是否有效 - 0:无效 1:有效",
  18645. "type": "integer"
  18646. },
  18647. "modelname": {
  18648. "description": "品类名称",
  18649. "type": "string"
  18650. },
  18651. "operateid": {
  18652. "description": "最后操作人",
  18653. "type": "integer"
  18654. },
  18655. "operatesrc": {
  18656. "description": "最后操作来源 - 1:管理端 2:终端",
  18657. "type": "integer"
  18658. },
  18659. "operatetime": {
  18660. "description": "最后操作时间",
  18661. "type": "string"
  18662. },
  18663. "operatorname": {
  18664. "description": "操作人名称",
  18665. "type": "string"
  18666. },
  18667. "spotgoodsbrandid": {
  18668. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18669. "type": "integer"
  18670. },
  18671. "spotgoodsmodelid": {
  18672. "description": "现货品类ID(通用则为0)",
  18673. "type": "integer"
  18674. },
  18675. "spotgoodsprice": {
  18676. "description": "现货价格",
  18677. "type": "number"
  18678. },
  18679. "tradedate": {
  18680. "description": "交易日(yyyyMMdd)",
  18681. "type": "string"
  18682. },
  18683. "unitid": {
  18684. "description": "现货商品单位id",
  18685. "type": "integer"
  18686. },
  18687. "wrstandardcode": {
  18688. "description": "现货商品代码",
  18689. "type": "string"
  18690. },
  18691. "wrstandardid": {
  18692. "description": "现货商品ID",
  18693. "type": "integer"
  18694. },
  18695. "wrstandardname": {
  18696. "description": "现货商品名称",
  18697. "type": "string"
  18698. }
  18699. }
  18700. },
  18701. "models.ErmcpSpotGoodsPriceLog": {
  18702. "type": "object",
  18703. "properties": {
  18704. "areauserid": {
  18705. "description": "所属机构id",
  18706. "type": "integer"
  18707. },
  18708. "brandname": {
  18709. "description": "品牌名称",
  18710. "type": "string"
  18711. },
  18712. "currencyid": {
  18713. "description": "报价货币ID",
  18714. "type": "integer"
  18715. },
  18716. "enumdicname": {
  18717. "description": "现货商品单位名称",
  18718. "type": "string"
  18719. },
  18720. "gbenumdicname": {
  18721. "description": "品类单位名称",
  18722. "type": "string"
  18723. },
  18724. "gmunitid": {
  18725. "description": "品类单位id",
  18726. "type": "integer"
  18727. },
  18728. "logid": {
  18729. "description": "日志id",
  18730. "type": "integer"
  18731. },
  18732. "modelname": {
  18733. "description": "品类名称",
  18734. "type": "string"
  18735. },
  18736. "operateid": {
  18737. "description": "最后操作人",
  18738. "type": "integer"
  18739. },
  18740. "operatesrc": {
  18741. "description": "最后操作来源 - 1:管理端 2:终端",
  18742. "type": "integer"
  18743. },
  18744. "operatetime": {
  18745. "description": "最后操作时间",
  18746. "type": "string"
  18747. },
  18748. "operatorname": {
  18749. "description": "操作人名称",
  18750. "type": "string"
  18751. },
  18752. "spotgoodsbrandid": {
  18753. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18754. "type": "integer"
  18755. },
  18756. "spotgoodsmodelid": {
  18757. "description": "现货品类ID(通用则为0)",
  18758. "type": "integer"
  18759. },
  18760. "spotgoodsprice": {
  18761. "description": "现货价格",
  18762. "type": "number"
  18763. },
  18764. "tradedate": {
  18765. "description": "交易日(yyyyMMdd)",
  18766. "type": "string"
  18767. },
  18768. "unitid": {
  18769. "description": "现货商品单位id",
  18770. "type": "integer"
  18771. },
  18772. "wrstandardcode": {
  18773. "description": "现货商品代码",
  18774. "type": "string"
  18775. },
  18776. "wrstandardid": {
  18777. "description": "现货商品ID",
  18778. "type": "integer"
  18779. },
  18780. "wrstandardname": {
  18781. "description": "现货商品名称",
  18782. "type": "string"
  18783. }
  18784. }
  18785. },
  18786. "models.ErmcpTaAccount": {
  18787. "type": "object",
  18788. "properties": {
  18789. "accountid": {
  18790. "description": "账户id",
  18791. "type": "integer"
  18792. },
  18793. "accountname": {
  18794. "description": "账户名称",
  18795. "type": "string"
  18796. },
  18797. "currencyid": {
  18798. "description": "币种id",
  18799. "type": "integer"
  18800. },
  18801. "hedgeaccountcode": {
  18802. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18803. "type": "string"
  18804. },
  18805. "ismain": {
  18806. "description": "是否主账户 0-否 1-是",
  18807. "type": "integer"
  18808. },
  18809. "parentaccountid": {
  18810. "description": "父账户id",
  18811. "type": "integer"
  18812. },
  18813. "relateduserid": {
  18814. "description": "关联userid",
  18815. "type": "integer"
  18816. },
  18817. "tradestatus": {
  18818. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18819. "type": "integer"
  18820. },
  18821. "userid": {
  18822. "description": "用户id",
  18823. "type": "integer"
  18824. }
  18825. }
  18826. },
  18827. "models.ErmcpTaAccountEx": {
  18828. "type": "object",
  18829. "properties": {
  18830. "mainAcc": {
  18831. "description": "主账号",
  18832. "type": "object",
  18833. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18834. },
  18835. "subacclist": {
  18836. "description": "子账号列表",
  18837. "type": "array",
  18838. "items": {
  18839. "$ref": "#/definitions/models.ErmcpTaAccount"
  18840. }
  18841. }
  18842. }
  18843. },
  18844. "models.ErmcpTaAccountInfo": {
  18845. "type": "object",
  18846. "properties": {
  18847. "accountid": {
  18848. "description": "资金账户ID",
  18849. "type": "integer"
  18850. },
  18851. "accountname": {
  18852. "description": "账户名称",
  18853. "type": "string"
  18854. },
  18855. "balance": {
  18856. "description": "期初余额",
  18857. "type": "number"
  18858. },
  18859. "capitalbalance": {
  18860. "description": "本金余额[外部子账户实际出入金余额]",
  18861. "type": "number"
  18862. },
  18863. "closepl": {
  18864. "description": "今日平仓盈亏",
  18865. "type": "number"
  18866. },
  18867. "creditdecrease": {
  18868. "description": "今日授信减少",
  18869. "type": "number"
  18870. },
  18871. "creditincrease": {
  18872. "description": "今日授信增加",
  18873. "type": "number"
  18874. },
  18875. "curdebt": {
  18876. "description": "期末欠款",
  18877. "type": "number"
  18878. },
  18879. "currencyid": {
  18880. "description": "货币ID",
  18881. "type": "integer"
  18882. },
  18883. "currentbalance": {
  18884. "description": "期末余额",
  18885. "type": "number"
  18886. },
  18887. "freezecharge": {
  18888. "description": "手续费冻结",
  18889. "type": "number"
  18890. },
  18891. "freezemargin": {
  18892. "description": "冻结保证金",
  18893. "type": "number"
  18894. },
  18895. "fromaccountid": {
  18896. "description": "所属上级账户",
  18897. "type": "integer"
  18898. },
  18899. "inamount": {
  18900. "description": "今日入金金额(包括三方入金)",
  18901. "type": "number"
  18902. },
  18903. "ismain": {
  18904. "description": "是否母账号 0:不是母账户 1:是母账户",
  18905. "type": "integer"
  18906. },
  18907. "mortgagecredit": {
  18908. "description": "授信金额",
  18909. "type": "number"
  18910. },
  18911. "oridebt": {
  18912. "description": "期初欠款",
  18913. "type": "number"
  18914. },
  18915. "orifreezecharge": {
  18916. "description": "期初手续费冻结",
  18917. "type": "number"
  18918. },
  18919. "orifreezemargin": {
  18920. "description": "期初冻结保证金",
  18921. "type": "number"
  18922. },
  18923. "orimortgagecredit": {
  18924. "description": "期初授信金额",
  18925. "type": "number"
  18926. },
  18927. "oriothercredit": {
  18928. "description": "期初其它授信金额",
  18929. "type": "number"
  18930. },
  18931. "oriotherfreezemargin": {
  18932. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18933. "type": "number"
  18934. },
  18935. "orioutamountfreeze": {
  18936. "description": "期初出金冻结",
  18937. "type": "number"
  18938. },
  18939. "oriusedmargin": {
  18940. "description": "期初占用保证金",
  18941. "type": "number"
  18942. },
  18943. "othercredit": {
  18944. "description": "其它授信金额",
  18945. "type": "number"
  18946. },
  18947. "othercreditdecrease": {
  18948. "description": "今日其它授信减少",
  18949. "type": "number"
  18950. },
  18951. "othercreditincrease": {
  18952. "description": "今日其它授信增加",
  18953. "type": "number"
  18954. },
  18955. "otherfreezemargin": {
  18956. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18957. "type": "number"
  18958. },
  18959. "outamount": {
  18960. "description": "今日出金金额(包括三方出金)",
  18961. "type": "number"
  18962. },
  18963. "outamountfreeze": {
  18964. "description": "出金冻结",
  18965. "type": "number"
  18966. },
  18967. "outthreshold": {
  18968. "description": "出金阈值",
  18969. "type": "number"
  18970. },
  18971. "parentaccountid": {
  18972. "description": "所属根账号",
  18973. "type": "integer"
  18974. },
  18975. "paycharge": {
  18976. "description": "今日手续费支出",
  18977. "type": "number"
  18978. },
  18979. "relateduserid": {
  18980. "description": "关联用户",
  18981. "type": "integer"
  18982. },
  18983. "signstatus": {
  18984. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18985. "type": "integer"
  18986. },
  18987. "sublevelpath": {
  18988. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18989. "type": "string"
  18990. },
  18991. "taaccounttype": {
  18992. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18993. "type": "integer"
  18994. },
  18995. "thirdinamount": {
  18996. "description": "今日三方入金",
  18997. "type": "number"
  18998. },
  18999. "thirdoutamount": {
  19000. "description": "今日三方出金",
  19001. "type": "number"
  19002. },
  19003. "tradestatus": {
  19004. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19005. "type": "integer"
  19006. },
  19007. "transferamount": {
  19008. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19009. "type": "number"
  19010. },
  19011. "usedmargin": {
  19012. "description": "占用保证金",
  19013. "type": "number"
  19014. },
  19015. "userid": {
  19016. "description": "用户ID",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "models.ErmcpTaAccountM": {
  19022. "type": "object",
  19023. "properties": {
  19024. "accountid": {
  19025. "description": "账户id",
  19026. "type": "integer"
  19027. },
  19028. "accountname": {
  19029. "description": "账户名称",
  19030. "type": "string"
  19031. },
  19032. "currencyid": {
  19033. "description": "币种id",
  19034. "type": "integer"
  19035. },
  19036. "fcid": {
  19037. "description": "期货公司id",
  19038. "type": "integer"
  19039. },
  19040. "fcname": {
  19041. "description": "期货公司代码",
  19042. "type": "string"
  19043. },
  19044. "hedgeaccountcode": {
  19045. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19046. "type": "string"
  19047. },
  19048. "ismain": {
  19049. "description": "是否主账户 0-否 1-是",
  19050. "type": "integer"
  19051. },
  19052. "parentaccountid": {
  19053. "description": "父账户id",
  19054. "type": "integer"
  19055. },
  19056. "relateduserid": {
  19057. "description": "关联userid",
  19058. "type": "integer"
  19059. },
  19060. "tradestatus": {
  19061. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19062. "type": "integer"
  19063. },
  19064. "userid": {
  19065. "description": "用户id",
  19066. "type": "integer"
  19067. }
  19068. }
  19069. },
  19070. "models.ErmcpTradeConfigTMP": {
  19071. "type": "object",
  19072. "properties": {
  19073. "areauserid": {
  19074. "description": "所属机构",
  19075. "type": "integer"
  19076. },
  19077. "basiccurrencyid": {
  19078. "description": "基本币种ID[汇率] - 目标币种",
  19079. "type": "integer"
  19080. },
  19081. "mainaccountid": {
  19082. "description": "主账户ID",
  19083. "type": "integer"
  19084. },
  19085. "modifierid": {
  19086. "description": "修改人",
  19087. "type": "integer"
  19088. },
  19089. "remark": {
  19090. "description": "备注",
  19091. "type": "string"
  19092. },
  19093. "tradeconfigtmpid": {
  19094. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19095. "type": "integer"
  19096. },
  19097. "tradeconfigtmpname": {
  19098. "description": "交易配置模板名称",
  19099. "type": "string"
  19100. },
  19101. "tradeconfigtmptype": {
  19102. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19103. "type": "integer"
  19104. },
  19105. "updatetime": {
  19106. "description": "更新时间",
  19107. "type": "string"
  19108. }
  19109. }
  19110. },
  19111. "models.ErmcpUserModel": {
  19112. "type": "object",
  19113. "properties": {
  19114. "address": {
  19115. "description": "通讯地址",
  19116. "type": "string"
  19117. },
  19118. "attachment1": {
  19119. "description": "附件1",
  19120. "type": "string"
  19121. },
  19122. "audittime": {
  19123. "description": "审核时间",
  19124. "type": "string"
  19125. },
  19126. "cardbackphotourl": {
  19127. "description": "证件反面图片地址",
  19128. "type": "string"
  19129. },
  19130. "cardfrontphotourl": {
  19131. "description": "证件正面图片地址",
  19132. "type": "string"
  19133. },
  19134. "cardnum": {
  19135. "description": "证件号码",
  19136. "type": "string"
  19137. },
  19138. "cardtype": {
  19139. "description": "证件类型",
  19140. "type": "integer"
  19141. },
  19142. "cardtypename": {
  19143. "description": "证件类型名称",
  19144. "type": "string"
  19145. },
  19146. "cityid": {
  19147. "description": "市",
  19148. "type": "integer"
  19149. },
  19150. "contactname": {
  19151. "description": "联系人",
  19152. "type": "string"
  19153. },
  19154. "countryid": {
  19155. "description": "国家",
  19156. "type": "integer"
  19157. },
  19158. "createtime": {
  19159. "description": "创建时间",
  19160. "type": "string"
  19161. },
  19162. "customername": {
  19163. "description": "企业名称",
  19164. "type": "string"
  19165. },
  19166. "districtid": {
  19167. "description": "区域",
  19168. "type": "integer"
  19169. },
  19170. "email": {
  19171. "description": "邮件",
  19172. "type": "string"
  19173. },
  19174. "legalpersonname": {
  19175. "description": "法人姓名(企业)",
  19176. "type": "string"
  19177. },
  19178. "memberuserid": {
  19179. "description": "所属机构ID",
  19180. "type": "integer"
  19181. },
  19182. "mobile": {
  19183. "description": "手机号码",
  19184. "type": "string"
  19185. },
  19186. "modifytime": {
  19187. "description": "修改时间",
  19188. "type": "string"
  19189. },
  19190. "nickname": {
  19191. "description": "昵称",
  19192. "type": "string"
  19193. },
  19194. "provinceid": {
  19195. "description": "省",
  19196. "type": "integer"
  19197. },
  19198. "remark": {
  19199. "description": "备注",
  19200. "type": "string"
  19201. },
  19202. "status": {
  19203. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19204. "type": "integer"
  19205. },
  19206. "statusdesc": {
  19207. "description": "账户状态中文描述",
  19208. "type": "string"
  19209. },
  19210. "taxpayernum": {
  19211. "description": "纳税人识别号",
  19212. "type": "string"
  19213. },
  19214. "telphone": {
  19215. "description": "联系电话",
  19216. "type": "string"
  19217. },
  19218. "userid": {
  19219. "description": "用户ID",
  19220. "type": "integer"
  19221. },
  19222. "userinfotype": {
  19223. "description": "客户类型",
  19224. "type": "string"
  19225. }
  19226. }
  19227. },
  19228. "models.ErmcpWareHouseInfo": {
  19229. "type": "object",
  19230. "properties": {
  19231. "address": {
  19232. "description": "详细地址",
  19233. "type": "string"
  19234. },
  19235. "areauserid": {
  19236. "description": "所属机构",
  19237. "type": "integer"
  19238. },
  19239. "autoid": {
  19240. "description": "自增ID(仓库ID)",
  19241. "type": "integer"
  19242. },
  19243. "cityid": {
  19244. "description": "市",
  19245. "type": "integer"
  19246. },
  19247. "contactname": {
  19248. "description": "联系人",
  19249. "type": "string"
  19250. },
  19251. "contactnum": {
  19252. "description": "联系电话",
  19253. "type": "string"
  19254. },
  19255. "countryid": {
  19256. "description": "国家",
  19257. "type": "integer"
  19258. },
  19259. "createtime": {
  19260. "description": "创建时间",
  19261. "type": "string"
  19262. },
  19263. "districtid": {
  19264. "description": "区",
  19265. "type": "integer"
  19266. },
  19267. "hasvideo": {
  19268. "description": "是否有视频 - 0:无 1:有",
  19269. "type": "integer"
  19270. },
  19271. "provinceid": {
  19272. "description": "省",
  19273. "type": "integer"
  19274. },
  19275. "remark": {
  19276. "description": "审核备注",
  19277. "type": "string"
  19278. },
  19279. "videourl": {
  19280. "description": "视频地址",
  19281. "type": "string"
  19282. },
  19283. "warehousecode": {
  19284. "description": "仓库代码",
  19285. "type": "string"
  19286. },
  19287. "warehousename": {
  19288. "description": "仓库名称",
  19289. "type": "string"
  19290. },
  19291. "warehousestatus": {
  19292. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19293. "type": "integer"
  19294. },
  19295. "warehousetype": {
  19296. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19297. "type": "integer"
  19298. }
  19299. }
  19300. },
  19301. "models.ErmcpWrstandDetail": {
  19302. "type": "object",
  19303. "properties": {
  19304. "gbList": {
  19305. "description": "品牌列表",
  19306. "type": "array",
  19307. "items": {
  19308. "$ref": "#/definitions/models.GoodsBrand"
  19309. }
  19310. },
  19311. "goodsList": {
  19312. "description": "关联交易商品列表",
  19313. "type": "array",
  19314. "items": {
  19315. "$ref": "#/definitions/models.RelatedGoodsEx"
  19316. }
  19317. },
  19318. "gtList": {
  19319. "description": "型号列表",
  19320. "type": "array",
  19321. "items": {
  19322. "$ref": "#/definitions/models.GoodsTypeModel"
  19323. }
  19324. },
  19325. "wrd": {
  19326. "description": "基本信息",
  19327. "type": "object",
  19328. "$ref": "#/definitions/models.ErmcpWrstandard"
  19329. },
  19330. "wrsList": {
  19331. "description": "套保信息列表",
  19332. "type": "array",
  19333. "items": {
  19334. "$ref": "#/definitions/models.WRSConverTDetail"
  19335. }
  19336. }
  19337. }
  19338. },
  19339. "models.ErmcpWrstandard": {
  19340. "type": "object",
  19341. "properties": {
  19342. "areauserid": {
  19343. "description": "所属机构",
  19344. "type": "integer"
  19345. },
  19346. "createtime": {
  19347. "description": "创建时间",
  19348. "type": "string"
  19349. },
  19350. "creatorid": {
  19351. "description": "创建人",
  19352. "type": "integer"
  19353. },
  19354. "deliverygoodsid": {
  19355. "description": "品种ID",
  19356. "type": "integer"
  19357. },
  19358. "enumdicname": {
  19359. "description": "单位名称",
  19360. "type": "string"
  19361. },
  19362. "isvalid": {
  19363. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19364. "type": "integer"
  19365. },
  19366. "minivalue": {
  19367. "description": "最小变动值",
  19368. "type": "integer"
  19369. },
  19370. "minivaluedp": {
  19371. "description": "最小变动值小数位",
  19372. "type": "integer"
  19373. },
  19374. "realminivalue": {
  19375. "description": "实际最小变动值",
  19376. "type": "integer"
  19377. },
  19378. "realminivaluedp": {
  19379. "description": "实际最小变动值小数位",
  19380. "type": "integer"
  19381. },
  19382. "remark": {
  19383. "description": "备注",
  19384. "type": "string"
  19385. },
  19386. "unitid": {
  19387. "description": "单位ID",
  19388. "type": "integer"
  19389. },
  19390. "updatetime": {
  19391. "description": "更新时间",
  19392. "type": "string"
  19393. },
  19394. "wrstandardcode": {
  19395. "description": "现货商品代码",
  19396. "type": "string"
  19397. },
  19398. "wrstandardid": {
  19399. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19400. "type": "integer"
  19401. },
  19402. "wrstandardname": {
  19403. "description": "现货商品名称",
  19404. "type": "string"
  19405. }
  19406. }
  19407. },
  19408. "models.Externalexchange": {
  19409. "type": "object",
  19410. "required": [
  19411. "autoid"
  19412. ],
  19413. "properties": {
  19414. "autoid": {
  19415. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19416. "type": "integer"
  19417. },
  19418. "exchangefullname": {
  19419. "description": "外部交易所全称",
  19420. "type": "string"
  19421. },
  19422. "exexchangecode": {
  19423. "description": "外部交易所代码",
  19424. "type": "string"
  19425. },
  19426. "exexchangename": {
  19427. "description": "外部交易所名称(简称)",
  19428. "type": "string"
  19429. },
  19430. "ismarketprice": {
  19431. "description": "是否支持市价 - 0:不支持 1:支持",
  19432. "type": "integer"
  19433. },
  19434. "quotegear": {
  19435. "description": "行情档位(1-10)",
  19436. "type": "integer"
  19437. },
  19438. "showbrokerflag": {
  19439. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19440. "type": "integer"
  19441. },
  19442. "updatetime": {
  19443. "description": "更新时间",
  19444. "type": "string"
  19445. }
  19446. }
  19447. },
  19448. "models.Funcmenulist": {
  19449. "type": "object",
  19450. "required": [
  19451. "resourcecode"
  19452. ],
  19453. "properties": {
  19454. "iconame": {
  19455. "description": "菜单图标",
  19456. "type": "string"
  19457. },
  19458. "menutype": {
  19459. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19460. "type": "integer"
  19461. },
  19462. "parentcode": {
  19463. "description": "上级资源代码",
  19464. "type": "string"
  19465. },
  19466. "remark": {
  19467. "description": "备注",
  19468. "type": "string"
  19469. },
  19470. "resourcecode": {
  19471. "description": "资源代码",
  19472. "type": "string"
  19473. },
  19474. "resourcelevel": {
  19475. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19476. "type": "integer"
  19477. },
  19478. "resourcename": {
  19479. "description": "资源名",
  19480. "type": "string"
  19481. },
  19482. "sort": {
  19483. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19484. "type": "integer"
  19485. },
  19486. "url": {
  19487. "description": "URL",
  19488. "type": "string"
  19489. }
  19490. }
  19491. },
  19492. "models.Goods": {
  19493. "type": "object",
  19494. "required": [
  19495. "goodscode",
  19496. "goodsid",
  19497. "goodsname",
  19498. "marketid"
  19499. ],
  19500. "properties": {
  19501. "agreeunit": {
  19502. "description": "合约单位",
  19503. "type": "number"
  19504. },
  19505. "auditaccountid": {
  19506. "description": "审核操作员账号",
  19507. "type": "integer"
  19508. },
  19509. "audittime": {
  19510. "description": "审核时间",
  19511. "type": "string"
  19512. },
  19513. "cancelaccountid": {
  19514. "description": "注销操作员账号",
  19515. "type": "integer"
  19516. },
  19517. "canceltime": {
  19518. "description": "注销时间",
  19519. "type": "string"
  19520. },
  19521. "closepricemode": {
  19522. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19523. "type": "integer"
  19524. },
  19525. "closepriceparam": {
  19526. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19527. "type": "number"
  19528. },
  19529. "createtime": {
  19530. "description": "创建时间",
  19531. "type": "string"
  19532. },
  19533. "creatorid": {
  19534. "description": "创建人",
  19535. "type": "integer"
  19536. },
  19537. "currencyid": {
  19538. "description": "报价货币ID",
  19539. "type": "integer"
  19540. },
  19541. "cutmode": {
  19542. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19543. "type": "integer"
  19544. },
  19545. "decimalplace": {
  19546. "description": "报价小数位",
  19547. "type": "integer"
  19548. },
  19549. "delistingdate": {
  19550. "description": "商品退市时间(状态:退市) -- 已作废",
  19551. "type": "string"
  19552. },
  19553. "delistingmode": {
  19554. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19555. "type": "integer"
  19556. },
  19557. "deliveryflag": {
  19558. "description": "交割标志 - 0:不可交割 1:可交割",
  19559. "type": "integer"
  19560. },
  19561. "forceclosemode": {
  19562. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19563. "type": "integer"
  19564. },
  19565. "forceclosevalue": {
  19566. "description": "定期强平参数 [收益权]",
  19567. "type": "integer"
  19568. },
  19569. "goodscode": {
  19570. "description": "商品代码(内部)",
  19571. "type": "string"
  19572. },
  19573. "goodscurrencyid": {
  19574. "description": "合约货币ID",
  19575. "type": "integer"
  19576. },
  19577. "goodsgroupid": {
  19578. "description": "所属商品组ID",
  19579. "type": "integer"
  19580. },
  19581. "goodsid": {
  19582. "description": "商品ID(自增ID SEQ_GOODS)",
  19583. "type": "integer"
  19584. },
  19585. "goodsname": {
  19586. "description": "商品名称",
  19587. "type": "string"
  19588. },
  19589. "goodsquotetype": {
  19590. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19591. "type": "integer"
  19592. },
  19593. "goodsstatus": {
  19594. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19595. "type": "integer"
  19596. },
  19597. "goodstradetype": {
  19598. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19599. "type": "integer"
  19600. },
  19601. "goodunitid": {
  19602. "description": "报价单位ID",
  19603. "type": "integer"
  19604. },
  19605. "hasquoter": {
  19606. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19607. "type": "integer"
  19608. },
  19609. "hqprotecttime": {
  19610. "description": "行情保护时间(秒)",
  19611. "type": "integer"
  19612. },
  19613. "innerdealmode": {
  19614. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19615. "type": "integer"
  19616. },
  19617. "isbuylimited": {
  19618. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19619. "type": "integer"
  19620. },
  19621. "lasttradedate": {
  19622. "description": "最后交易日期(状态:待退市)",
  19623. "type": "string"
  19624. },
  19625. "listingdate": {
  19626. "description": "交易开始日期",
  19627. "type": "string"
  19628. },
  19629. "marketid": {
  19630. "description": "所属市场ID",
  19631. "type": "integer"
  19632. },
  19633. "modifierid": {
  19634. "description": "修改人",
  19635. "type": "integer"
  19636. },
  19637. "modifystatus": {
  19638. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19639. "type": "integer"
  19640. },
  19641. "modifytime": {
  19642. "description": "修改时间",
  19643. "type": "string"
  19644. },
  19645. "outerdealmode": {
  19646. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19647. "type": "integer"
  19648. },
  19649. "outgoodscode": {
  19650. "description": "商品代码(外部)",
  19651. "type": "string"
  19652. },
  19653. "qtydecimalplace": {
  19654. "description": "成交量小数位",
  19655. "type": "integer"
  19656. },
  19657. "quotegear": {
  19658. "description": "行情档位(1-10)",
  19659. "type": "integer"
  19660. },
  19661. "quoteminunit": {
  19662. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19663. "type": "integer"
  19664. },
  19665. "quoteshowtype": {
  19666. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19667. "type": "integer"
  19668. },
  19669. "quoteshowtypeinterval": {
  19670. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19671. "type": "integer"
  19672. },
  19673. "remark": {
  19674. "description": "备注",
  19675. "type": "string"
  19676. }
  19677. }
  19678. },
  19679. "models.GoodsBrand": {
  19680. "type": "object",
  19681. "properties": {
  19682. "brandid": {
  19683. "description": "品牌ID",
  19684. "type": "integer"
  19685. },
  19686. "brandname": {
  19687. "description": "品牌名称",
  19688. "type": "string"
  19689. },
  19690. "isvalid": {
  19691. "description": "是否有效 - 0:无效 1:有效",
  19692. "type": "integer"
  19693. }
  19694. }
  19695. },
  19696. "models.GoodsIDAndName": {
  19697. "type": "object",
  19698. "required": [
  19699. "goodscode",
  19700. "goodsid",
  19701. "goodsname",
  19702. "marketid"
  19703. ],
  19704. "properties": {
  19705. "goodscode": {
  19706. "description": "商品代码(内部)",
  19707. "type": "string"
  19708. },
  19709. "goodsid": {
  19710. "description": "商品ID(自增ID SEQ_GOODS)",
  19711. "type": "integer"
  19712. },
  19713. "goodsname": {
  19714. "description": "商品名称",
  19715. "type": "string"
  19716. },
  19717. "marketid": {
  19718. "description": "所属市场ID",
  19719. "type": "integer"
  19720. }
  19721. }
  19722. },
  19723. "models.GoodsTypeModel": {
  19724. "type": "object",
  19725. "properties": {
  19726. "convertfactor": {
  19727. "description": "标仓系数",
  19728. "type": "number"
  19729. },
  19730. "modelid": {
  19731. "description": "型号ID",
  19732. "type": "integer"
  19733. },
  19734. "modelname": {
  19735. "description": "型号名称",
  19736. "type": "string"
  19737. },
  19738. "updatetime": {
  19739. "description": "更新时间",
  19740. "type": "string"
  19741. }
  19742. }
  19743. },
  19744. "models.Goodsgroup": {
  19745. "type": "object",
  19746. "required": [
  19747. "goodsgroupid",
  19748. "goodsgroupname",
  19749. "goodsgroupstatus",
  19750. "marketid"
  19751. ],
  19752. "properties": {
  19753. "agreeunit": {
  19754. "description": "合约单位",
  19755. "type": "number"
  19756. },
  19757. "canshort": {
  19758. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19759. "type": "integer"
  19760. },
  19761. "closepricemode": {
  19762. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19763. "type": "integer"
  19764. },
  19765. "closepriceparam": {
  19766. "description": "强平最新价浮动比例 - 方式为2时使用",
  19767. "type": "number"
  19768. },
  19769. "createtime": {
  19770. "description": "创建时间",
  19771. "type": "string"
  19772. },
  19773. "creatorid": {
  19774. "description": "创建人",
  19775. "type": "integer"
  19776. },
  19777. "currencyid": {
  19778. "description": "报价货币ID",
  19779. "type": "integer"
  19780. },
  19781. "decimalplace": {
  19782. "description": "报价小数位",
  19783. "type": "integer"
  19784. },
  19785. "exercisetype": {
  19786. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19787. "type": "integer"
  19788. },
  19789. "exexchangeid": {
  19790. "description": "外部交易所ID[通道交易]",
  19791. "type": "integer"
  19792. },
  19793. "goodsgroupid": {
  19794. "description": "商品组ID(自增ID)",
  19795. "type": "integer"
  19796. },
  19797. "goodsgroupname": {
  19798. "description": "商品组名称",
  19799. "type": "string"
  19800. },
  19801. "goodsgroupstatus": {
  19802. "description": "商品组状态 - 1:正常 2:注销",
  19803. "type": "integer"
  19804. },
  19805. "goodunitid": {
  19806. "description": "报价单位ID",
  19807. "type": "integer"
  19808. },
  19809. "innerdealmode": {
  19810. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19811. "type": "integer"
  19812. },
  19813. "isbuylimited": {
  19814. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19815. "type": "integer"
  19816. },
  19817. "marketid": {
  19818. "description": "所属市场ID",
  19819. "type": "integer"
  19820. },
  19821. "modifierid": {
  19822. "description": "修改人",
  19823. "type": "integer"
  19824. },
  19825. "modifytime": {
  19826. "description": "修改时间",
  19827. "type": "string"
  19828. },
  19829. "outerdealmode": {
  19830. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19831. "type": "integer"
  19832. },
  19833. "outergroupcode": {
  19834. "description": "外部商品组代码[通道交易]",
  19835. "type": "string"
  19836. },
  19837. "premiumdecimalplace": {
  19838. "description": "权利金小数位[场外期权]",
  19839. "type": "integer"
  19840. },
  19841. "premiumspreadalgorithm": {
  19842. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19843. "type": "integer"
  19844. },
  19845. "premiumspreadvalue": {
  19846. "description": "权利金点差值[场外期权]",
  19847. "type": "number"
  19848. },
  19849. "qtydecimalplace": {
  19850. "description": "成交量小数位",
  19851. "type": "integer"
  19852. },
  19853. "quotegear": {
  19854. "description": "行情档位(1-10)",
  19855. "type": "integer"
  19856. },
  19857. "quoteminunit": {
  19858. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19859. "type": "integer"
  19860. },
  19861. "quoterid": {
  19862. "description": "报价商ID[场外期权]",
  19863. "type": "integer"
  19864. },
  19865. "quotesourcegroupid": {
  19866. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19867. "type": "integer"
  19868. },
  19869. "syncgoodsqty": {
  19870. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19871. "type": "integer"
  19872. }
  19873. }
  19874. },
  19875. "models.Goodssortbypreposition": {
  19876. "type": "object",
  19877. "required": [
  19878. "goodscode",
  19879. "tradedate"
  19880. ],
  19881. "properties": {
  19882. "goodscode": {
  19883. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19884. "type": "string"
  19885. },
  19886. "goodsgroupcode": {
  19887. "description": "品种代码",
  19888. "type": "string"
  19889. },
  19890. "prepositionqty": {
  19891. "description": "昨持仓量",
  19892. "type": "integer"
  19893. },
  19894. "sortindex": {
  19895. "description": "排序",
  19896. "type": "integer"
  19897. },
  19898. "tradedate": {
  19899. "description": "交易日",
  19900. "type": "string"
  19901. },
  19902. "updatetime": {
  19903. "description": "更新时间",
  19904. "type": "string"
  19905. }
  19906. }
  19907. },
  19908. "models.Hedgeinnerholderdetail": {
  19909. "type": "object",
  19910. "required": [
  19911. "buyorsell",
  19912. "tradeid"
  19913. ],
  19914. "properties": {
  19915. "accountid": {
  19916. "description": "账号ID",
  19917. "type": "integer"
  19918. },
  19919. "buyorsell": {
  19920. "description": "方向 - 0:买 1:卖",
  19921. "type": "integer"
  19922. },
  19923. "freezeqty": {
  19924. "description": "冻结数量 - 按单平使用",
  19925. "type": "integer"
  19926. },
  19927. "goodsid": {
  19928. "description": "商品ID",
  19929. "type": "integer"
  19930. },
  19931. "holderamount": {
  19932. "description": "持仓金额 [商品币种]",
  19933. "type": "number"
  19934. },
  19935. "holderdays": {
  19936. "description": "剩余冻结天数",
  19937. "type": "integer"
  19938. },
  19939. "holderprice": {
  19940. "description": "持仓价格",
  19941. "type": "number"
  19942. },
  19943. "holderqty": {
  19944. "description": "持仓数量",
  19945. "type": "integer"
  19946. },
  19947. "marketid": {
  19948. "description": "市场ID",
  19949. "type": "integer"
  19950. },
  19951. "openprice": {
  19952. "description": "建仓价格",
  19953. "type": "number"
  19954. },
  19955. "openqty": {
  19956. "description": "建仓数量",
  19957. "type": "integer"
  19958. },
  19959. "parentaccountid": {
  19960. "description": "所属母账户",
  19961. "type": "integer"
  19962. },
  19963. "releaseamount": {
  19964. "description": "释放持仓金额[商品币种]",
  19965. "type": "number"
  19966. },
  19967. "tradeamount": {
  19968. "description": "成交金额[账户]",
  19969. "type": "number"
  19970. },
  19971. "tradedate": {
  19972. "description": "交易日(yyyyMMdd)",
  19973. "type": "string"
  19974. },
  19975. "tradeid": {
  19976. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19977. "type": "string"
  19978. },
  19979. "tradetime": {
  19980. "description": "交易时间",
  19981. "type": "string"
  19982. }
  19983. }
  19984. },
  19985. "models.Hedgemarketopenlog": {
  19986. "type": "object",
  19987. "required": [
  19988. "accountid"
  19989. ],
  19990. "properties": {
  19991. "accountid": {
  19992. "description": "资金账号[外部母账户]",
  19993. "type": "integer"
  19994. },
  19995. "fcname": {
  19996. "description": "期货公司名称",
  19997. "type": "string"
  19998. },
  19999. "handlestatus": {
  20000. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20001. "type": "integer"
  20002. },
  20003. "marketid": {
  20004. "description": "市场ID",
  20005. "type": "integer"
  20006. },
  20007. "status": {
  20008. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20009. "type": "integer"
  20010. },
  20011. "tradedate": {
  20012. "description": "交易日(yyyyMMdd)",
  20013. "type": "string"
  20014. },
  20015. "updatetime": {
  20016. "description": "更新时间",
  20017. "type": "string"
  20018. }
  20019. }
  20020. },
  20021. "models.HsbyBuyMyPayOrder": {
  20022. "type": "object",
  20023. "required": [
  20024. "goodscode",
  20025. "goodsname",
  20026. "tradeid",
  20027. "trademode"
  20028. ],
  20029. "properties": {
  20030. "agreeunit": {
  20031. "description": "合约单位",
  20032. "type": "number"
  20033. },
  20034. "buyaccountid": {
  20035. "description": "买方账号ID[报价币种]",
  20036. "type": "integer"
  20037. },
  20038. "buyorderid": {
  20039. "description": "买方委托单号",
  20040. "type": "string"
  20041. },
  20042. "createtime": {
  20043. "description": "创建时间",
  20044. "type": "string"
  20045. },
  20046. "currencysign": {
  20047. "description": "货币符号",
  20048. "type": "string"
  20049. },
  20050. "decimalplace": {
  20051. "description": "报价小数位",
  20052. "type": "integer"
  20053. },
  20054. "goodscode": {
  20055. "description": "商品代码(内部)",
  20056. "type": "string"
  20057. },
  20058. "goodsid": {
  20059. "description": "商品ID",
  20060. "type": "integer"
  20061. },
  20062. "goodsname": {
  20063. "description": "商品名称",
  20064. "type": "string"
  20065. },
  20066. "marketid": {
  20067. "description": "市场ID",
  20068. "type": "integer"
  20069. },
  20070. "offamount": {
  20071. "description": "优惠金额",
  20072. "type": "number"
  20073. },
  20074. "originalamount": {
  20075. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20076. "type": "number"
  20077. },
  20078. "payamount": {
  20079. "description": "支付金额 = TradeAmount + TradeCharge",
  20080. "type": "number"
  20081. },
  20082. "payflag": {
  20083. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20084. "type": "integer"
  20085. },
  20086. "paylimitedtime": {
  20087. "description": "支付期限",
  20088. "type": "string"
  20089. },
  20090. "paytime": {
  20091. "description": "付款时间",
  20092. "type": "string"
  20093. },
  20094. "picurls1": {
  20095. "description": "预售商品介绍图片[多张用逗号分隔]",
  20096. "type": "string"
  20097. },
  20098. "picurls2": {
  20099. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20100. "type": "string"
  20101. },
  20102. "sellaccountid": {
  20103. "description": "卖方账号ID[报价币种]",
  20104. "type": "integer"
  20105. },
  20106. "sellorderid": {
  20107. "description": "卖方委托单号",
  20108. "type": "string"
  20109. },
  20110. "tradeamount": {
  20111. "description": "成交金额",
  20112. "type": "number"
  20113. },
  20114. "tradecharge": {
  20115. "description": "成交手续费(买方)",
  20116. "type": "number"
  20117. },
  20118. "tradedate": {
  20119. "description": "交易日(yyyyMMdd)",
  20120. "type": "string"
  20121. },
  20122. "tradeid": {
  20123. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20124. "type": "string"
  20125. },
  20126. "trademode": {
  20127. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20128. "type": "integer"
  20129. },
  20130. "tradeprice": {
  20131. "description": "成交价格",
  20132. "type": "number"
  20133. },
  20134. "tradeqty": {
  20135. "description": "成交数量",
  20136. "type": "integer"
  20137. },
  20138. "vendorname1": {
  20139. "description": "预售商品供应商名称",
  20140. "type": "string"
  20141. },
  20142. "vendorname2": {
  20143. "description": "挂牌商品供应商名称",
  20144. "type": "string"
  20145. }
  20146. }
  20147. },
  20148. "models.HsbyBuyMyTradeDetail": {
  20149. "type": "object",
  20150. "required": [
  20151. "accountid",
  20152. "buyorsell",
  20153. "goodscode",
  20154. "goodsid",
  20155. "goodsname",
  20156. "marketid",
  20157. "orderid",
  20158. "qty",
  20159. "time",
  20160. "trademode"
  20161. ],
  20162. "properties": {
  20163. "accountid": {
  20164. "description": "账户ID[报价币种]",
  20165. "type": "integer"
  20166. },
  20167. "agreeunit": {
  20168. "description": "合约单位",
  20169. "type": "number"
  20170. },
  20171. "amount": {
  20172. "description": "金额 = 价格 * 数量 * 合约单位",
  20173. "type": "number"
  20174. },
  20175. "buyorsell": {
  20176. "description": "买卖 - 0:买 1:卖",
  20177. "type": "integer"
  20178. },
  20179. "currencysign": {
  20180. "description": "货币符号",
  20181. "type": "string"
  20182. },
  20183. "decimalplace": {
  20184. "description": "报价小数位",
  20185. "type": "integer"
  20186. },
  20187. "goodscode": {
  20188. "description": "商品代码(内部)",
  20189. "type": "string"
  20190. },
  20191. "goodsid": {
  20192. "description": "商品ID",
  20193. "type": "integer"
  20194. },
  20195. "goodsname": {
  20196. "description": "商品名称",
  20197. "type": "string"
  20198. },
  20199. "marketid": {
  20200. "description": "市场ID",
  20201. "type": "integer"
  20202. },
  20203. "orderamount": {
  20204. "description": "委托金额",
  20205. "type": "number"
  20206. },
  20207. "orderid": {
  20208. "description": "单号(成交单号)",
  20209. "type": "string"
  20210. },
  20211. "picurls1": {
  20212. "description": "预售商品介绍图片[多张用逗号分隔]",
  20213. "type": "string"
  20214. },
  20215. "picurls2": {
  20216. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20217. "type": "string"
  20218. },
  20219. "price": {
  20220. "description": "价格",
  20221. "type": "number"
  20222. },
  20223. "qty": {
  20224. "description": "数量",
  20225. "type": "integer"
  20226. },
  20227. "time": {
  20228. "description": "时间",
  20229. "type": "string"
  20230. },
  20231. "trademode": {
  20232. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20233. "type": "integer"
  20234. },
  20235. "vendorname1": {
  20236. "description": "预售商品供应商名称",
  20237. "type": "string"
  20238. },
  20239. "vendorname2": {
  20240. "description": "挂牌商品供应商名称",
  20241. "type": "string"
  20242. }
  20243. }
  20244. },
  20245. "models.HsbyGoodsOrderDetail": {
  20246. "type": "object",
  20247. "required": [
  20248. "buyorsell",
  20249. "orderid",
  20250. "ordertime"
  20251. ],
  20252. "properties": {
  20253. "buyorsell": {
  20254. "description": "买卖 - 0:买 1:卖",
  20255. "type": "integer"
  20256. },
  20257. "currencysign": {
  20258. "description": "货币符号",
  20259. "type": "string"
  20260. },
  20261. "customername": {
  20262. "description": "客户名称(企业名称),已脱敏",
  20263. "type": "string"
  20264. },
  20265. "enableqty": {
  20266. "description": "可用数量",
  20267. "type": "integer"
  20268. },
  20269. "goodunit": {
  20270. "description": "报价单位",
  20271. "type": "string"
  20272. },
  20273. "orderid": {
  20274. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20275. "type": "string"
  20276. },
  20277. "orderprice": {
  20278. "description": "委托价格",
  20279. "type": "number"
  20280. },
  20281. "ordertime": {
  20282. "description": "委托时间",
  20283. "type": "string"
  20284. }
  20285. }
  20286. },
  20287. "models.HsbyListingGoodsDetail": {
  20288. "type": "object",
  20289. "required": [
  20290. "goodscode",
  20291. "goodsid",
  20292. "goodsname",
  20293. "marketid",
  20294. "trademode"
  20295. ],
  20296. "properties": {
  20297. "agreeunit": {
  20298. "description": "合约单位",
  20299. "type": "number"
  20300. },
  20301. "buymaxqty": {
  20302. "description": "购买上限 [71] - 0为不限",
  20303. "type": "integer"
  20304. },
  20305. "currency": {
  20306. "description": "货币",
  20307. "type": "string"
  20308. },
  20309. "currencysign": {
  20310. "description": "货币符号",
  20311. "type": "string"
  20312. },
  20313. "decimalplace": {
  20314. "description": "报价小数位",
  20315. "type": "integer"
  20316. },
  20317. "desccityid": {
  20318. "description": "目的地(市)ID",
  20319. "type": "integer"
  20320. },
  20321. "descprovinceid": {
  20322. "description": "目的地(省)ID",
  20323. "type": "integer"
  20324. },
  20325. "goodscode": {
  20326. "description": "商品代码(内部)",
  20327. "type": "string"
  20328. },
  20329. "goodsdesc": {
  20330. "description": "商品详情",
  20331. "type": "string"
  20332. },
  20333. "goodsid": {
  20334. "description": "商品ID(自增ID SEQ_GOODS)",
  20335. "type": "integer"
  20336. },
  20337. "goodsname": {
  20338. "description": "商品名称",
  20339. "type": "string"
  20340. },
  20341. "goodsprice": {
  20342. "description": "商品价格",
  20343. "type": "number"
  20344. },
  20345. "hotindex": {
  20346. "description": "景点热度",
  20347. "type": "integer"
  20348. },
  20349. "last": {
  20350. "description": "现价",
  20351. "type": "number"
  20352. },
  20353. "limitdown": {
  20354. "description": "跌停价",
  20355. "type": "number"
  20356. },
  20357. "limitup": {
  20358. "description": "涨停价",
  20359. "type": "number"
  20360. },
  20361. "lotsize": {
  20362. "description": "手数最小变动单位",
  20363. "type": "integer"
  20364. },
  20365. "marketid": {
  20366. "description": "所属市场ID",
  20367. "type": "integer"
  20368. },
  20369. "picurls": {
  20370. "description": "介绍图片[多张用逗号分隔]",
  20371. "type": "string"
  20372. },
  20373. "quoteminunit": {
  20374. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20375. "type": "integer"
  20376. },
  20377. "stepvalue": {
  20378. "description": "价格最小变动单位",
  20379. "type": "number"
  20380. },
  20381. "trademode": {
  20382. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20383. "type": "integer"
  20384. },
  20385. "vendorattr": {
  20386. "description": "供应商附件(多张,逗号分隔)",
  20387. "type": "string"
  20388. },
  20389. "vendorname": {
  20390. "description": "供应商名称",
  20391. "type": "string"
  20392. },
  20393. "vendorphone": {
  20394. "description": "供应商客服电话",
  20395. "type": "string"
  20396. },
  20397. "videourls": {
  20398. "description": "介绍视频[多张用逗号分隔]",
  20399. "type": "string"
  20400. }
  20401. }
  20402. },
  20403. "models.HsbyMarketGoods": {
  20404. "type": "object",
  20405. "required": [
  20406. "accountid",
  20407. "buyorsell",
  20408. "goodscode",
  20409. "goodsid",
  20410. "goodsname",
  20411. "marketid",
  20412. "orderid",
  20413. "trademode"
  20414. ],
  20415. "properties": {
  20416. "accountid": {
  20417. "description": "账户ID[报价币种]",
  20418. "type": "integer"
  20419. },
  20420. "agreeunit": {
  20421. "description": "合约单位",
  20422. "type": "number"
  20423. },
  20424. "buyorsell": {
  20425. "description": "买卖 - 0:买 1:卖",
  20426. "type": "integer"
  20427. },
  20428. "categoryid": {
  20429. "description": "类别ID(WRCATEGORY)",
  20430. "type": "integer"
  20431. },
  20432. "currency": {
  20433. "description": "货币",
  20434. "type": "string"
  20435. },
  20436. "currencysign": {
  20437. "description": "货币符号",
  20438. "type": "string"
  20439. },
  20440. "customername": {
  20441. "description": "卖家名称",
  20442. "type": "string"
  20443. },
  20444. "decimalplace": {
  20445. "description": "报价小数位",
  20446. "type": "integer"
  20447. },
  20448. "goodscode": {
  20449. "description": "商品代码(内部)",
  20450. "type": "string"
  20451. },
  20452. "goodsid": {
  20453. "description": "商品ID",
  20454. "type": "integer"
  20455. },
  20456. "goodsname": {
  20457. "description": "商品名称",
  20458. "type": "string"
  20459. },
  20460. "goodsprice": {
  20461. "description": "商品价格",
  20462. "type": "number"
  20463. },
  20464. "hascoupon": {
  20465. "description": "是否可用优惠卷",
  20466. "type": "boolean"
  20467. },
  20468. "hotindex": {
  20469. "description": "景点热度",
  20470. "type": "integer"
  20471. },
  20472. "marketid": {
  20473. "description": "市场ID",
  20474. "type": "integer"
  20475. },
  20476. "orderid": {
  20477. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20478. "type": "string"
  20479. },
  20480. "orderprice": {
  20481. "description": "委托价格",
  20482. "type": "number"
  20483. },
  20484. "orderstatus": {
  20485. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20486. "type": "integer"
  20487. },
  20488. "picurls": {
  20489. "description": "介绍图片[多张用逗号分隔]",
  20490. "type": "string"
  20491. },
  20492. "quoteminunit": {
  20493. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20494. "type": "integer"
  20495. },
  20496. "sellUserID": {
  20497. "description": "卖方UserID",
  20498. "type": "integer"
  20499. },
  20500. "trademode": {
  20501. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20502. "type": "integer"
  20503. },
  20504. "videourls": {
  20505. "description": "介绍视频[多张用逗号分隔]",
  20506. "type": "string"
  20507. }
  20508. }
  20509. },
  20510. "models.HsbyMarketGoodsDetail": {
  20511. "type": "object",
  20512. "required": [
  20513. "accountid",
  20514. "buyorsell",
  20515. "goodscode",
  20516. "goodsid",
  20517. "goodsname",
  20518. "marketid",
  20519. "orderid",
  20520. "orderqty",
  20521. "trademode"
  20522. ],
  20523. "properties": {
  20524. "accountid": {
  20525. "description": "账户ID[报价币种]",
  20526. "type": "integer"
  20527. },
  20528. "agreeunit": {
  20529. "description": "合约单位",
  20530. "type": "number"
  20531. },
  20532. "buymaxqty": {
  20533. "description": "购买上限 [71] - 0为不限",
  20534. "type": "integer"
  20535. },
  20536. "buyorsell": {
  20537. "description": "买卖 - 0:买 1:卖",
  20538. "type": "integer"
  20539. },
  20540. "cancelqty": {
  20541. "description": "撤单数量",
  20542. "type": "integer"
  20543. },
  20544. "categoryid": {
  20545. "description": "类别ID(WRCATEGORY)",
  20546. "type": "integer"
  20547. },
  20548. "currency": {
  20549. "description": "货币",
  20550. "type": "string"
  20551. },
  20552. "currencysign": {
  20553. "description": "货币符号",
  20554. "type": "string"
  20555. },
  20556. "customername": {
  20557. "description": "卖家名称",
  20558. "type": "string"
  20559. },
  20560. "decimalplace": {
  20561. "description": "报价小数位",
  20562. "type": "integer"
  20563. },
  20564. "goodscode": {
  20565. "description": "商品代码(内部)",
  20566. "type": "string"
  20567. },
  20568. "goodsdesc": {
  20569. "description": "商品详情",
  20570. "type": "string"
  20571. },
  20572. "goodsid": {
  20573. "description": "商品ID",
  20574. "type": "integer"
  20575. },
  20576. "goodsname": {
  20577. "description": "商品名称",
  20578. "type": "string"
  20579. },
  20580. "goodsprice": {
  20581. "description": "商品价格",
  20582. "type": "number"
  20583. },
  20584. "hotindex": {
  20585. "description": "景点热度",
  20586. "type": "integer"
  20587. },
  20588. "lotsize": {
  20589. "description": "手数最小变动单位",
  20590. "type": "integer"
  20591. },
  20592. "marketid": {
  20593. "description": "市场ID",
  20594. "type": "integer"
  20595. },
  20596. "orderid": {
  20597. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20598. "type": "string"
  20599. },
  20600. "orderprice": {
  20601. "description": "委托价格",
  20602. "type": "number"
  20603. },
  20604. "orderqty": {
  20605. "description": "委托数量",
  20606. "type": "integer"
  20607. },
  20608. "orderstatus": {
  20609. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20610. "type": "integer"
  20611. },
  20612. "picurls": {
  20613. "description": "介绍图片[多张用逗号分隔]",
  20614. "type": "string"
  20615. },
  20616. "quoteminunit": {
  20617. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20618. "type": "integer"
  20619. },
  20620. "sellUserID": {
  20621. "description": "卖方UserID",
  20622. "type": "integer"
  20623. },
  20624. "trademode": {
  20625. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20626. "type": "integer"
  20627. },
  20628. "tradeqty": {
  20629. "description": "成交数量",
  20630. "type": "integer"
  20631. },
  20632. "vendorattr": {
  20633. "description": "供应商附件(多张,逗号分隔)",
  20634. "type": "string"
  20635. },
  20636. "vendorname": {
  20637. "description": "供应商名称",
  20638. "type": "string"
  20639. },
  20640. "vendorphone": {
  20641. "description": "供应商客服电话",
  20642. "type": "string"
  20643. },
  20644. "videourls": {
  20645. "description": "介绍视频[多张用逗号分隔]",
  20646. "type": "string"
  20647. }
  20648. }
  20649. },
  20650. "models.HsbyMarketInfo": {
  20651. "type": "object",
  20652. "required": [
  20653. "marketid",
  20654. "marketstatus",
  20655. "trademode"
  20656. ],
  20657. "properties": {
  20658. "marketid": {
  20659. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20660. "type": "integer"
  20661. },
  20662. "marketname": {
  20663. "description": "市场名称",
  20664. "type": "string"
  20665. },
  20666. "marketstatus": {
  20667. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20668. "type": "integer"
  20669. },
  20670. "trademode": {
  20671. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20672. "type": "integer"
  20673. }
  20674. }
  20675. },
  20676. "models.HsbyMyGoods": {
  20677. "type": "object",
  20678. "required": [
  20679. "accountid",
  20680. "goodscode",
  20681. "goodsid",
  20682. "goodsname",
  20683. "marketid",
  20684. "trademode"
  20685. ],
  20686. "properties": {
  20687. "accountid": {
  20688. "description": "账号Id",
  20689. "type": "integer"
  20690. },
  20691. "agreeunit": {
  20692. "description": "合约单位",
  20693. "type": "number"
  20694. },
  20695. "buyaverageprice": {
  20696. "description": "持仓均价",
  20697. "type": "number"
  20698. },
  20699. "buycurholderamount": {
  20700. "description": "买当前持仓总金额[商品币种]",
  20701. "type": "number"
  20702. },
  20703. "buycurpositionqty": {
  20704. "description": "买当前持仓总数量",
  20705. "type": "integer"
  20706. },
  20707. "buymaxqty": {
  20708. "description": "购买上限 [71] - 0为不限",
  20709. "type": "integer"
  20710. },
  20711. "currencysign": {
  20712. "description": "货币符号",
  20713. "type": "string"
  20714. },
  20715. "decimalplace": {
  20716. "description": "报价小数位",
  20717. "type": "integer"
  20718. },
  20719. "enableqty": {
  20720. "description": "可用数量",
  20721. "type": "integer"
  20722. },
  20723. "goodscode": {
  20724. "description": "商品代码(内部)",
  20725. "type": "string"
  20726. },
  20727. "goodsid": {
  20728. "description": "商品Id",
  20729. "type": "integer"
  20730. },
  20731. "goodsname": {
  20732. "description": "商品名称",
  20733. "type": "string"
  20734. },
  20735. "goodsprice": {
  20736. "description": "商品价格",
  20737. "type": "number"
  20738. },
  20739. "goodsstatus": {
  20740. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20741. "type": "integer"
  20742. },
  20743. "last": {
  20744. "description": "现价(仅使用于挂牌点选)",
  20745. "type": "number"
  20746. },
  20747. "limitdown": {
  20748. "description": "跌停价(仅使用于挂牌点选)",
  20749. "type": "number"
  20750. },
  20751. "limitup": {
  20752. "description": "涨停价(仅使用于挂牌点选)",
  20753. "type": "number"
  20754. },
  20755. "lotsize": {
  20756. "description": "手数最小变动单位",
  20757. "type": "integer"
  20758. },
  20759. "marketid": {
  20760. "description": "所属市场ID",
  20761. "type": "integer"
  20762. },
  20763. "picurls": {
  20764. "description": "介绍图片[多张用逗号分隔]",
  20765. "type": "string"
  20766. },
  20767. "quoteminunit": {
  20768. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20769. "type": "integer"
  20770. },
  20771. "stepvalue": {
  20772. "description": "价格最小变动单位",
  20773. "type": "number"
  20774. },
  20775. "trademode": {
  20776. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20777. "type": "integer"
  20778. }
  20779. }
  20780. },
  20781. "models.HsbyMyPackage": {
  20782. "type": "object",
  20783. "required": [
  20784. "goodscode",
  20785. "goodsname",
  20786. "takeorderid",
  20787. "trademode"
  20788. ],
  20789. "properties": {
  20790. "accountid": {
  20791. "description": "账户ID",
  20792. "type": "integer"
  20793. },
  20794. "address": {
  20795. "description": "提货人详细地址",
  20796. "type": "string"
  20797. },
  20798. "agreeunit": {
  20799. "description": "合约单位",
  20800. "type": "number"
  20801. },
  20802. "amount": {
  20803. "description": "提货金额",
  20804. "type": "number"
  20805. },
  20806. "auditer": {
  20807. "description": "审核人",
  20808. "type": "integer"
  20809. },
  20810. "audittime": {
  20811. "description": "审核时间",
  20812. "type": "string"
  20813. },
  20814. "averageprice": {
  20815. "description": "均价",
  20816. "type": "number"
  20817. },
  20818. "cardnum": {
  20819. "description": "提货人证件号码",
  20820. "type": "string"
  20821. },
  20822. "cardtypeid": {
  20823. "description": "提货人证件类型",
  20824. "type": "integer"
  20825. },
  20826. "checkremark": {
  20827. "description": "审核备注",
  20828. "type": "string"
  20829. },
  20830. "currencysign": {
  20831. "description": "货币符号",
  20832. "type": "string"
  20833. },
  20834. "decimalplace": {
  20835. "description": "报价小数位",
  20836. "type": "integer"
  20837. },
  20838. "goodscode": {
  20839. "description": "商品代码(内部)",
  20840. "type": "string"
  20841. },
  20842. "goodsid": {
  20843. "description": "商品ID",
  20844. "type": "integer"
  20845. },
  20846. "goodsname": {
  20847. "description": "商品名称",
  20848. "type": "string"
  20849. },
  20850. "handlestatus": {
  20851. "description": "处理状态",
  20852. "type": "integer"
  20853. },
  20854. "marketid": {
  20855. "description": "市场ID",
  20856. "type": "integer"
  20857. },
  20858. "phonenum": {
  20859. "description": "提货人联系方式",
  20860. "type": "string"
  20861. },
  20862. "picurls": {
  20863. "description": "介绍图片[多张用逗号分隔]",
  20864. "type": "string"
  20865. },
  20866. "qty": {
  20867. "description": "提货数量",
  20868. "type": "number"
  20869. },
  20870. "recivername": {
  20871. "description": "提货人姓名",
  20872. "type": "string"
  20873. },
  20874. "reqtime": {
  20875. "description": "更新时间",
  20876. "type": "string"
  20877. },
  20878. "takemode": {
  20879. "description": "提货方式 - 2:自提 3:配送",
  20880. "type": "integer"
  20881. },
  20882. "takeorderid": {
  20883. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20884. "type": "string"
  20885. },
  20886. "takeorderstatus": {
  20887. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20888. "type": "integer"
  20889. },
  20890. "takeremark": {
  20891. "description": "提货备注",
  20892. "type": "string"
  20893. },
  20894. "tradedate": {
  20895. "description": "交易日(yyyyMMdd)",
  20896. "type": "string"
  20897. },
  20898. "trademode": {
  20899. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20900. "type": "integer"
  20901. },
  20902. "userid": {
  20903. "description": "用户ID",
  20904. "type": "integer"
  20905. },
  20906. "vendorname": {
  20907. "description": "供应商名称",
  20908. "type": "string"
  20909. }
  20910. }
  20911. },
  20912. "models.HsbyPreGoods": {
  20913. "type": "object",
  20914. "required": [
  20915. "goodscode",
  20916. "goodsid",
  20917. "goodsname",
  20918. "marketid",
  20919. "trademode"
  20920. ],
  20921. "properties": {
  20922. "agreeunit": {
  20923. "description": "合约单位",
  20924. "type": "number"
  20925. },
  20926. "currency": {
  20927. "description": "货币",
  20928. "type": "string"
  20929. },
  20930. "currencysign": {
  20931. "description": "货币符号",
  20932. "type": "string"
  20933. },
  20934. "decimalplace": {
  20935. "description": "报价小数位",
  20936. "type": "integer"
  20937. },
  20938. "desccityid": {
  20939. "description": "目的地(市)",
  20940. "type": "integer"
  20941. },
  20942. "descprovinceid": {
  20943. "description": "目的地(省)",
  20944. "type": "integer"
  20945. },
  20946. "enableqty": {
  20947. "description": "剩余数量",
  20948. "type": "integer"
  20949. },
  20950. "goodscode": {
  20951. "description": "商品代码(内部)",
  20952. "type": "string"
  20953. },
  20954. "goodsid": {
  20955. "description": "商品ID(自增ID SEQ_GOODS)",
  20956. "type": "integer"
  20957. },
  20958. "goodsname": {
  20959. "description": "商品名称",
  20960. "type": "string"
  20961. },
  20962. "goodsstatus": {
  20963. "description": "商品状态- 2:未上市 3:上市",
  20964. "type": "integer"
  20965. },
  20966. "lasttradedate": {
  20967. "description": "最后交易日期(状态:待退市)",
  20968. "type": "string"
  20969. },
  20970. "listingdate": {
  20971. "description": "交易开始日期",
  20972. "type": "string"
  20973. },
  20974. "marketid": {
  20975. "description": "所属市场ID",
  20976. "type": "integer"
  20977. },
  20978. "picurls": {
  20979. "description": "介绍图片[多张用逗号分隔]",
  20980. "type": "string"
  20981. },
  20982. "presaledqty": {
  20983. "description": "已预售量(预售结束时更新)",
  20984. "type": "integer"
  20985. },
  20986. "presaleqty": {
  20987. "description": "预售数量",
  20988. "type": "integer"
  20989. },
  20990. "quoteminunit": {
  20991. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20992. "type": "integer"
  20993. },
  20994. "refprice": {
  20995. "description": "参考价格[一口价]",
  20996. "type": "number"
  20997. },
  20998. "relatedgoodsid": {
  20999. "description": "关联交易合约ID",
  21000. "type": "integer"
  21001. },
  21002. "trademode": {
  21003. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21004. "type": "integer"
  21005. },
  21006. "videourls": {
  21007. "description": "介绍视频[多张用逗号分隔]",
  21008. "type": "string"
  21009. }
  21010. }
  21011. },
  21012. "models.HsbyPreGoodsDetail": {
  21013. "type": "object",
  21014. "required": [
  21015. "goodscode",
  21016. "goodsid",
  21017. "goodsname",
  21018. "marketid",
  21019. "trademode"
  21020. ],
  21021. "properties": {
  21022. "agreeunit": {
  21023. "description": "合约单位",
  21024. "type": "number"
  21025. },
  21026. "buymaxqty": {
  21027. "description": "购买上限 [71] - 0为不限",
  21028. "type": "integer"
  21029. },
  21030. "currency": {
  21031. "description": "货币",
  21032. "type": "string"
  21033. },
  21034. "currencysign": {
  21035. "description": "货币符号",
  21036. "type": "string"
  21037. },
  21038. "customername": {
  21039. "description": "发行单位",
  21040. "type": "string"
  21041. },
  21042. "decimalplace": {
  21043. "description": "报价小数位",
  21044. "type": "integer"
  21045. },
  21046. "desccityid": {
  21047. "description": "目的地(市)ID",
  21048. "type": "integer"
  21049. },
  21050. "descprovinceid": {
  21051. "description": "目的地(省)ID",
  21052. "type": "integer"
  21053. },
  21054. "enableqty": {
  21055. "description": "剩余数量",
  21056. "type": "integer"
  21057. },
  21058. "goodscode": {
  21059. "description": "商品代码(内部)",
  21060. "type": "string"
  21061. },
  21062. "goodsdesc": {
  21063. "description": "商品详情",
  21064. "type": "string"
  21065. },
  21066. "goodsid": {
  21067. "description": "商品ID(自增ID SEQ_GOODS)",
  21068. "type": "integer"
  21069. },
  21070. "goodsname": {
  21071. "description": "商品名称",
  21072. "type": "string"
  21073. },
  21074. "goodsstatus": {
  21075. "description": "商品状态- 2:未上市 3:上市",
  21076. "type": "integer"
  21077. },
  21078. "goodunit": {
  21079. "description": "报价单位",
  21080. "type": "string"
  21081. },
  21082. "lasttradedate": {
  21083. "description": "最后交易日期(状态:待退市)",
  21084. "type": "string"
  21085. },
  21086. "listingdate": {
  21087. "description": "交易开始日期",
  21088. "type": "string"
  21089. },
  21090. "lotsize": {
  21091. "description": "手数最小变动单位",
  21092. "type": "integer"
  21093. },
  21094. "marketid": {
  21095. "description": "所属市场ID",
  21096. "type": "integer"
  21097. },
  21098. "picurls": {
  21099. "description": "介绍图片[多张用逗号分隔]",
  21100. "type": "string"
  21101. },
  21102. "presaledqty": {
  21103. "description": "已预售量(预售结束时更新)",
  21104. "type": "integer"
  21105. },
  21106. "presaleqty": {
  21107. "description": "预售数量",
  21108. "type": "integer"
  21109. },
  21110. "quoteminunit": {
  21111. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21112. "type": "integer"
  21113. },
  21114. "refprice": {
  21115. "description": "参考价格[一口价]",
  21116. "type": "number"
  21117. },
  21118. "relatedgoodsid": {
  21119. "description": "关联交易合约ID",
  21120. "type": "integer"
  21121. },
  21122. "stepvalue": {
  21123. "description": "价格最小变动单位",
  21124. "type": "number"
  21125. },
  21126. "trademode": {
  21127. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21128. "type": "integer"
  21129. },
  21130. "vendorattr": {
  21131. "description": "供应商附件(多张,逗号分隔)",
  21132. "type": "string"
  21133. },
  21134. "vendorname": {
  21135. "description": "供应商名称",
  21136. "type": "string"
  21137. },
  21138. "vendorphone": {
  21139. "description": "供应商客服电话",
  21140. "type": "string"
  21141. },
  21142. "videourls": {
  21143. "description": "介绍视频[多张用逗号分隔]",
  21144. "type": "string"
  21145. }
  21146. }
  21147. },
  21148. "models.HsbySellCollectionOrder": {
  21149. "type": "object",
  21150. "required": [
  21151. "goodscode",
  21152. "goodsname",
  21153. "tradeid",
  21154. "trademode"
  21155. ],
  21156. "properties": {
  21157. "agreeunit": {
  21158. "description": "合约单位",
  21159. "type": "number"
  21160. },
  21161. "buyaccountid": {
  21162. "description": "买方账号ID[报价币种]",
  21163. "type": "integer"
  21164. },
  21165. "buyorderid": {
  21166. "description": "买方委托单号",
  21167. "type": "string"
  21168. },
  21169. "createtime": {
  21170. "description": "创建时间",
  21171. "type": "string"
  21172. },
  21173. "currencysign": {
  21174. "description": "货币符号",
  21175. "type": "string"
  21176. },
  21177. "decimalplace": {
  21178. "description": "报价小数位",
  21179. "type": "integer"
  21180. },
  21181. "goodscode": {
  21182. "description": "商品代码(内部)",
  21183. "type": "string"
  21184. },
  21185. "goodsid": {
  21186. "description": "商品ID",
  21187. "type": "integer"
  21188. },
  21189. "goodsname": {
  21190. "description": "商品名称",
  21191. "type": "string"
  21192. },
  21193. "marketid": {
  21194. "description": "市场ID",
  21195. "type": "integer"
  21196. },
  21197. "offamount": {
  21198. "description": "优惠金额",
  21199. "type": "number"
  21200. },
  21201. "payamount": {
  21202. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21203. "type": "number"
  21204. },
  21205. "payflag": {
  21206. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21207. "type": "integer"
  21208. },
  21209. "paylimitedtime": {
  21210. "description": "支付期限",
  21211. "type": "string"
  21212. },
  21213. "paytime": {
  21214. "description": "付款时间",
  21215. "type": "string"
  21216. },
  21217. "picurls": {
  21218. "description": "商品介绍图片[多张用逗号分隔]",
  21219. "type": "string"
  21220. },
  21221. "sellaccountid": {
  21222. "description": "卖方账号ID[报价币种]",
  21223. "type": "integer"
  21224. },
  21225. "sellorderid": {
  21226. "description": "卖方委托单号",
  21227. "type": "string"
  21228. },
  21229. "tradeamount": {
  21230. "description": "成交金额",
  21231. "type": "number"
  21232. },
  21233. "tradecharge": {
  21234. "description": "成交手续费(买方)",
  21235. "type": "number"
  21236. },
  21237. "tradedate": {
  21238. "description": "交易日(yyyyMMdd)",
  21239. "type": "string"
  21240. },
  21241. "tradeid": {
  21242. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21243. "type": "string"
  21244. },
  21245. "trademode": {
  21246. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21247. "type": "integer"
  21248. },
  21249. "tradeprice": {
  21250. "description": "成交价格",
  21251. "type": "number"
  21252. },
  21253. "tradeqty": {
  21254. "description": "成交数量",
  21255. "type": "integer"
  21256. }
  21257. }
  21258. },
  21259. "models.HsbySellMyDetail": {
  21260. "type": "object",
  21261. "required": [
  21262. "accountid",
  21263. "buyorsell",
  21264. "goodscode",
  21265. "goodsid",
  21266. "goodsname",
  21267. "marketid",
  21268. "orderid",
  21269. "time",
  21270. "trademode"
  21271. ],
  21272. "properties": {
  21273. "accountid": {
  21274. "description": "账户ID[报价币种]",
  21275. "type": "integer"
  21276. },
  21277. "agreeunit": {
  21278. "description": "合约单位",
  21279. "type": "number"
  21280. },
  21281. "buyorsell": {
  21282. "description": "买卖 - 0:买 1:卖",
  21283. "type": "integer"
  21284. },
  21285. "currencysign": {
  21286. "description": "货币符号",
  21287. "type": "string"
  21288. },
  21289. "decimalplace": {
  21290. "description": "报价小数位",
  21291. "type": "integer"
  21292. },
  21293. "goodscode": {
  21294. "description": "商品代码(内部)",
  21295. "type": "string"
  21296. },
  21297. "goodsid": {
  21298. "description": "商品ID",
  21299. "type": "integer"
  21300. },
  21301. "goodsname": {
  21302. "description": "商品名称",
  21303. "type": "string"
  21304. },
  21305. "marketid": {
  21306. "description": "市场ID",
  21307. "type": "integer"
  21308. },
  21309. "orderid": {
  21310. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21311. "type": "string"
  21312. },
  21313. "ordertype": {
  21314. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21315. "type": "integer"
  21316. },
  21317. "picurls": {
  21318. "description": "介绍图片[多张用逗号分隔]",
  21319. "type": "string"
  21320. },
  21321. "price": {
  21322. "description": "价格",
  21323. "type": "number"
  21324. },
  21325. "qty": {
  21326. "description": "数量",
  21327. "type": "integer"
  21328. },
  21329. "time": {
  21330. "description": "时间",
  21331. "type": "string"
  21332. },
  21333. "trademode": {
  21334. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21335. "type": "integer"
  21336. },
  21337. "vendorname": {
  21338. "description": "供应商名称",
  21339. "type": "string"
  21340. }
  21341. }
  21342. },
  21343. "models.HsbyTopGoods": {
  21344. "type": "object",
  21345. "required": [
  21346. "goodscode",
  21347. "goodsid",
  21348. "goodsname",
  21349. "marketid",
  21350. "trademode"
  21351. ],
  21352. "properties": {
  21353. "agreeunit": {
  21354. "description": "合约单位",
  21355. "type": "number"
  21356. },
  21357. "currency": {
  21358. "description": "货币",
  21359. "type": "string"
  21360. },
  21361. "currencysign": {
  21362. "description": "货币符号",
  21363. "type": "string"
  21364. },
  21365. "decimalplace": {
  21366. "description": "报价小数位",
  21367. "type": "integer"
  21368. },
  21369. "desccityid": {
  21370. "description": "目的地(市)",
  21371. "type": "integer"
  21372. },
  21373. "descprovinceid": {
  21374. "description": "目的地(省)",
  21375. "type": "integer"
  21376. },
  21377. "goodscode": {
  21378. "description": "商品代码(内部)",
  21379. "type": "string"
  21380. },
  21381. "goodsid": {
  21382. "description": "商品ID(自增ID SEQ_GOODS)",
  21383. "type": "integer"
  21384. },
  21385. "goodsname": {
  21386. "description": "商品名称",
  21387. "type": "string"
  21388. },
  21389. "hotindex": {
  21390. "description": "景点热度",
  21391. "type": "integer"
  21392. },
  21393. "last": {
  21394. "description": "现价",
  21395. "type": "number"
  21396. },
  21397. "marketid": {
  21398. "description": "所属市场ID",
  21399. "type": "integer"
  21400. },
  21401. "picurls": {
  21402. "description": "介绍图片[多张用逗号分隔]",
  21403. "type": "string"
  21404. },
  21405. "quoteminunit": {
  21406. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21407. "type": "integer"
  21408. },
  21409. "trademode": {
  21410. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21411. "type": "integer"
  21412. },
  21413. "videourls": {
  21414. "description": "介绍视频[多张用逗号分隔]",
  21415. "type": "string"
  21416. }
  21417. }
  21418. },
  21419. "models.HybsMyBuyOrderDetail": {
  21420. "type": "object",
  21421. "required": [
  21422. "accountid",
  21423. "buyorsell",
  21424. "goodscode",
  21425. "goodsid",
  21426. "goodsname",
  21427. "marketid",
  21428. "orderid",
  21429. "orderqty",
  21430. "ordertime",
  21431. "trademode"
  21432. ],
  21433. "properties": {
  21434. "accountid": {
  21435. "description": "账户ID[报价币种]",
  21436. "type": "integer"
  21437. },
  21438. "agreeunit": {
  21439. "description": "合约单位",
  21440. "type": "number"
  21441. },
  21442. "buyorsell": {
  21443. "description": "买卖 - 0:买 1:卖",
  21444. "type": "integer"
  21445. },
  21446. "cancelqty": {
  21447. "description": "撤单数量",
  21448. "type": "integer"
  21449. },
  21450. "currencysign": {
  21451. "description": "货币符号",
  21452. "type": "string"
  21453. },
  21454. "decimalplace": {
  21455. "description": "报价小数位",
  21456. "type": "integer"
  21457. },
  21458. "goodscode": {
  21459. "description": "商品代码(内部)",
  21460. "type": "string"
  21461. },
  21462. "goodsid": {
  21463. "description": "商品ID",
  21464. "type": "integer"
  21465. },
  21466. "goodsname": {
  21467. "description": "商品名称",
  21468. "type": "string"
  21469. },
  21470. "listingselecttype": {
  21471. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21472. "type": "integer"
  21473. },
  21474. "marketid": {
  21475. "description": "市场ID",
  21476. "type": "integer"
  21477. },
  21478. "mybuystatus": {
  21479. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21480. "type": "integer"
  21481. },
  21482. "orderamount": {
  21483. "description": "委托金额",
  21484. "type": "number"
  21485. },
  21486. "orderid": {
  21487. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21488. "type": "string"
  21489. },
  21490. "orderprice": {
  21491. "description": "委托价格",
  21492. "type": "number"
  21493. },
  21494. "orderqty": {
  21495. "description": "委托数量",
  21496. "type": "integer"
  21497. },
  21498. "orderstatus": {
  21499. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21500. "type": "integer"
  21501. },
  21502. "ordertime": {
  21503. "description": "委托时间",
  21504. "type": "string"
  21505. },
  21506. "picurls1": {
  21507. "description": "预售商品介绍图片[多张用逗号分隔]",
  21508. "type": "string"
  21509. },
  21510. "picurls2": {
  21511. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21512. "type": "string"
  21513. },
  21514. "trademode": {
  21515. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21516. "type": "integer"
  21517. },
  21518. "tradeqty": {
  21519. "description": "成交数量",
  21520. "type": "integer"
  21521. },
  21522. "vendorname1": {
  21523. "description": "预售商品供应商名称",
  21524. "type": "string"
  21525. },
  21526. "vendorname2": {
  21527. "description": "挂牌商品供应商名称",
  21528. "type": "string"
  21529. }
  21530. }
  21531. },
  21532. "models.Loginaccount": {
  21533. "type": "object",
  21534. "required": [
  21535. "loginid"
  21536. ],
  21537. "properties": {
  21538. "canoutin": {
  21539. "description": "是否可出入金 - 0:不可 1:可",
  21540. "type": "integer"
  21541. },
  21542. "clientroleid": {
  21543. "description": "终端角色ID",
  21544. "type": "integer"
  21545. },
  21546. "haslogined": {
  21547. "description": "是否已登录 - 0:未登录 1:已登录",
  21548. "type": "integer"
  21549. },
  21550. "hasupdatedpwd": {
  21551. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21552. "type": "integer"
  21553. },
  21554. "lastloginip": {
  21555. "description": "最新登录地址",
  21556. "type": "string"
  21557. },
  21558. "lastloginmode": {
  21559. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21560. "type": "integer"
  21561. },
  21562. "lastloginremark": {
  21563. "description": "最新登录描述",
  21564. "type": "string"
  21565. },
  21566. "lastlogintime": {
  21567. "description": "最新登录时间",
  21568. "type": "string"
  21569. },
  21570. "logincode": {
  21571. "description": "登录代码",
  21572. "type": "string"
  21573. },
  21574. "loginfailnum": {
  21575. "description": "连续登录失败次数(登录成功时清零)",
  21576. "type": "integer"
  21577. },
  21578. "loginid": {
  21579. "description": "登陆账号",
  21580. "type": "integer"
  21581. },
  21582. "loginport": {
  21583. "description": "最新登录端口",
  21584. "type": "integer"
  21585. },
  21586. "loginstatus": {
  21587. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21588. "type": "integer"
  21589. },
  21590. "loginusertype": {
  21591. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21592. "type": "integer"
  21593. },
  21594. "modifierid": {
  21595. "description": "修改人",
  21596. "type": "integer"
  21597. },
  21598. "modifytime": {
  21599. "description": "修改时间",
  21600. "type": "string"
  21601. },
  21602. "pwdwrongcount": {
  21603. "description": "密码错误次数",
  21604. "type": "integer"
  21605. },
  21606. "taaccountrighttype": {
  21607. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21608. "type": "integer"
  21609. },
  21610. "unfreezetime": {
  21611. "description": "账户解冻时间",
  21612. "type": "string"
  21613. },
  21614. "userid": {
  21615. "description": "用户ID",
  21616. "type": "integer"
  21617. }
  21618. }
  21619. },
  21620. "models.MainAccountInfo": {
  21621. "type": "object",
  21622. "properties": {
  21623. "accountid": {
  21624. "description": "账号id",
  21625. "type": "integer"
  21626. },
  21627. "accountname": {
  21628. "description": "账号名称(taaccount表中的名称)",
  21629. "type": "string"
  21630. },
  21631. "appid": {
  21632. "description": "AppID",
  21633. "type": "string"
  21634. },
  21635. "authcode": {
  21636. "description": "授权码",
  21637. "type": "string"
  21638. },
  21639. "brokerid": {
  21640. "description": "经纪商id",
  21641. "type": "string"
  21642. },
  21643. "fcid": {
  21644. "description": "期货公司id",
  21645. "type": "integer"
  21646. },
  21647. "fcname": {
  21648. "description": "期货公司代码",
  21649. "type": "string"
  21650. },
  21651. "hedgeaccountcode": {
  21652. "description": "外部账号代码(主账号登录代码)",
  21653. "type": "string"
  21654. },
  21655. "hedgeaccountpwd": {
  21656. "description": "密码",
  21657. "type": "string"
  21658. },
  21659. "ismain": {
  21660. "description": "是否主账号",
  21661. "type": "integer"
  21662. },
  21663. "relateduserid": {
  21664. "description": "关联用户id",
  21665. "type": "integer"
  21666. },
  21667. "userid": {
  21668. "description": "关联用户id",
  21669. "type": "integer"
  21670. }
  21671. }
  21672. },
  21673. "models.Market": {
  21674. "type": "object",
  21675. "required": [
  21676. "marketid",
  21677. "marketstatus",
  21678. "openmethod",
  21679. "reckonpricealgorithm",
  21680. "trademode",
  21681. "tradeproperty"
  21682. ],
  21683. "properties": {
  21684. "auctionwrtype": {
  21685. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21686. "type": "integer"
  21687. },
  21688. "canacceptquote": {
  21689. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21690. "type": "integer"
  21691. },
  21692. "cangoodsexercise": {
  21693. "description": "[期权]是否可现货行权- 0:否 1:是",
  21694. "type": "integer"
  21695. },
  21696. "cangoodsexercisetype": {
  21697. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21698. "type": "integer"
  21699. },
  21700. "canmanualquotestrike": {
  21701. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21702. "type": "integer"
  21703. },
  21704. "canmutistage": {
  21705. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21706. "type": "integer"
  21707. },
  21708. "canpreexercise": {
  21709. "description": "[期权]是否可预申报- 0:否 1:是",
  21710. "type": "integer"
  21711. },
  21712. "clearinterval": {
  21713. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21714. "type": "integer"
  21715. },
  21716. "contracttmp": {
  21717. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21718. "type": "string"
  21719. },
  21720. "exchareaid": {
  21721. "description": "所属交易所,可以没有",
  21722. "type": "integer"
  21723. },
  21724. "goodstype": {
  21725. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21726. "type": "integer"
  21727. },
  21728. "hasrebate": {
  21729. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21730. "type": "integer"
  21731. },
  21732. "hastradecredit": {
  21733. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21734. "type": "integer"
  21735. },
  21736. "haswr": {
  21737. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21738. "type": "integer"
  21739. },
  21740. "isdeductmargin": {
  21741. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21742. "type": "integer"
  21743. },
  21744. "isrecordsource": {
  21745. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21746. "type": "integer"
  21747. },
  21748. "isreleasemargin": {
  21749. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21750. "type": "integer"
  21751. },
  21752. "marginformula": {
  21753. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21754. "type": "integer"
  21755. },
  21756. "marginformula2": {
  21757. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21758. "type": "integer"
  21759. },
  21760. "marketid": {
  21761. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21762. "type": "integer"
  21763. },
  21764. "marketname": {
  21765. "description": "市场名称",
  21766. "type": "string"
  21767. },
  21768. "marketserviceid": {
  21769. "description": "市场服务ID",
  21770. "type": "integer"
  21771. },
  21772. "marketstatus": {
  21773. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21774. "type": "integer"
  21775. },
  21776. "markettype": {
  21777. "description": "市场类型- 1:非交易服务 2:交易服务",
  21778. "type": "integer"
  21779. },
  21780. "matchermode": {
  21781. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21782. "type": "integer"
  21783. },
  21784. "openmethod": {
  21785. "description": "开盘模式 - 0 自动 1手动",
  21786. "type": "integer"
  21787. },
  21788. "otcuserid": {
  21789. "description": "场外期权做市商[场外期权]",
  21790. "type": "integer"
  21791. },
  21792. "outersynctime": {
  21793. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21794. "type": "string"
  21795. },
  21796. "pendingflag": {
  21797. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21798. "type": "integer"
  21799. },
  21800. "pendingtime": {
  21801. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21802. "type": "string"
  21803. },
  21804. "performancetempid": {
  21805. "description": "履约计划模板ID - 作废",
  21806. "type": "integer"
  21807. },
  21808. "premiumquotemode": {
  21809. "description": "权利金报价方式 - 1:自动 2:手动",
  21810. "type": "integer"
  21811. },
  21812. "rebateratio": {
  21813. "description": "返利比率[竞价式]",
  21814. "type": "number"
  21815. },
  21816. "reckonorder": {
  21817. "description": "结算顺序",
  21818. "type": "integer"
  21819. },
  21820. "reckonpricealgorithm": {
  21821. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21822. "type": "integer"
  21823. },
  21824. "reckonpriceparam": {
  21825. "description": "结算价参数",
  21826. "type": "integer"
  21827. },
  21828. "reckontime": {
  21829. "description": "结算时间[通道交易-对冲](HH:mm)",
  21830. "type": "string"
  21831. },
  21832. "roleprioritytype": {
  21833. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21834. "type": "integer"
  21835. },
  21836. "selllistingauditflag": {
  21837. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21838. "type": "integer"
  21839. },
  21840. "trademarkettype": {
  21841. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21842. "type": "integer"
  21843. },
  21844. "trademode": {
  21845. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21846. "type": "integer"
  21847. },
  21848. "tradeproperty": {
  21849. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21850. "type": "integer"
  21851. },
  21852. "tradetype": {
  21853. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21854. "type": "integer"
  21855. }
  21856. }
  21857. },
  21858. "models.Marketrun": {
  21859. "type": "object",
  21860. "required": [
  21861. "marketid",
  21862. "nexttradedate",
  21863. "reckonflag",
  21864. "runstatus",
  21865. "tradedate",
  21866. "tradedate2"
  21867. ],
  21868. "properties": {
  21869. "afternexttradedate": {
  21870. "description": "下下交易日",
  21871. "type": "string"
  21872. },
  21873. "clearquoteflag": {
  21874. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21875. "type": "integer"
  21876. },
  21877. "lastreckondate": {
  21878. "description": "最新交易日(结算成功)",
  21879. "type": "string"
  21880. },
  21881. "machinedate": {
  21882. "description": "机器时间",
  21883. "type": "string"
  21884. },
  21885. "manualflag": {
  21886. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21887. "type": "integer"
  21888. },
  21889. "marketid": {
  21890. "description": "市场ID",
  21891. "type": "integer"
  21892. },
  21893. "nexttradedate": {
  21894. "description": "下一交易日",
  21895. "type": "string"
  21896. },
  21897. "pretradedate": {
  21898. "description": "上一交易日",
  21899. "type": "string"
  21900. },
  21901. "reckonflag": {
  21902. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21903. "type": "integer"
  21904. },
  21905. "runstatus": {
  21906. "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.今日免清算",
  21907. "type": "integer"
  21908. },
  21909. "sectionid": {
  21910. "description": "时间段号[多时段时用]",
  21911. "type": "integer"
  21912. },
  21913. "tradedate": {
  21914. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21915. "type": "string"
  21916. },
  21917. "tradedate2": {
  21918. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21919. "type": "string"
  21920. },
  21921. "updatetime": {
  21922. "description": "更新时间",
  21923. "type": "string"
  21924. }
  21925. }
  21926. },
  21927. "models.Messageboard": {
  21928. "type": "object",
  21929. "required": [
  21930. "messageboardid"
  21931. ],
  21932. "properties": {
  21933. "contactnum": {
  21934. "description": "联系电话",
  21935. "type": "string"
  21936. },
  21937. "createtime": {
  21938. "description": "创建时间",
  21939. "type": "string"
  21940. },
  21941. "message": {
  21942. "description": "留言信息",
  21943. "type": "string"
  21944. },
  21945. "messageboardid": {
  21946. "description": "留言簿ID(SEQ_MessageBoard)",
  21947. "type": "integer"
  21948. },
  21949. "userid": {
  21950. "description": "用户ID",
  21951. "type": "integer"
  21952. }
  21953. }
  21954. },
  21955. "models.MyCoupon": {
  21956. "type": "object",
  21957. "required": [
  21958. "accountid",
  21959. "coupontypeid"
  21960. ],
  21961. "properties": {
  21962. "accountid": {
  21963. "description": "资金账户ID",
  21964. "type": "integer"
  21965. },
  21966. "areauserid": {
  21967. "description": "所属机构",
  21968. "type": "integer"
  21969. },
  21970. "conditionvalue": {
  21971. "description": "条件阈值(可为0)",
  21972. "type": "number"
  21973. },
  21974. "couponcategroy": {
  21975. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21976. "type": "integer"
  21977. },
  21978. "couponname": {
  21979. "description": "优惠券名称",
  21980. "type": "string"
  21981. },
  21982. "coupontypeid": {
  21983. "description": "优惠券类型ID",
  21984. "type": "string"
  21985. },
  21986. "couponvalue": {
  21987. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21988. "type": "number"
  21989. },
  21990. "curfreezeqty": {
  21991. "description": "期末冻结数量",
  21992. "type": "integer"
  21993. },
  21994. "curqty": {
  21995. "description": "期末数量",
  21996. "type": "integer"
  21997. },
  21998. "isgeneral": {
  21999. "description": "是否通用券 - 0:否 1:是",
  22000. "type": "integer"
  22001. },
  22002. "isunusable": {
  22003. "description": "是否不可用",
  22004. "type": "boolean"
  22005. },
  22006. "limitedflag": {
  22007. "description": "是否指定商品 - 0:不限 1:限制",
  22008. "type": "integer"
  22009. },
  22010. "limitedgoodsids": {
  22011. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22012. "type": "string"
  22013. },
  22014. "orifreezeqty": {
  22015. "description": "期初冻结数量",
  22016. "type": "integer"
  22017. },
  22018. "oriqty": {
  22019. "description": "期初数量",
  22020. "type": "integer"
  22021. },
  22022. "reasontype": {
  22023. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22024. "type": "integer"
  22025. },
  22026. "todaydecrease": {
  22027. "description": "今日减少",
  22028. "type": "integer"
  22029. },
  22030. "todayincrease": {
  22031. "description": "今日增加",
  22032. "type": "integer"
  22033. },
  22034. "userid": {
  22035. "description": "用户ID",
  22036. "type": "integer"
  22037. },
  22038. "userscope": {
  22039. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22040. "type": "string"
  22041. }
  22042. }
  22043. },
  22044. "models.MyCouponHold": {
  22045. "type": "object",
  22046. "required": [
  22047. "couponholdid"
  22048. ],
  22049. "properties": {
  22050. "accountid": {
  22051. "description": "资金账户ID",
  22052. "type": "integer"
  22053. },
  22054. "conditionvalue": {
  22055. "description": "条件阈值(可为0)",
  22056. "type": "number"
  22057. },
  22058. "couponcategroy": {
  22059. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22060. "type": "integer"
  22061. },
  22062. "couponholdid": {
  22063. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22064. "type": "string"
  22065. },
  22066. "couponname": {
  22067. "description": "优惠券名称",
  22068. "type": "string"
  22069. },
  22070. "coupontypeid": {
  22071. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22072. "type": "string"
  22073. },
  22074. "couponvalue": {
  22075. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22076. "type": "number"
  22077. },
  22078. "createtime": {
  22079. "description": "创建时间",
  22080. "type": "string"
  22081. },
  22082. "enddate": {
  22083. "description": "结束日期",
  22084. "type": "string"
  22085. },
  22086. "giveapplyid": {
  22087. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22088. "type": "integer"
  22089. },
  22090. "holdstatus": {
  22091. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22092. "type": "integer"
  22093. },
  22094. "isgeneral": {
  22095. "description": "是否通用券 - 0:否 1:是",
  22096. "type": "integer"
  22097. },
  22098. "limitedflag": {
  22099. "description": "是否指定商品 - 0:不限 1:限制",
  22100. "type": "integer"
  22101. },
  22102. "limitedgoodsids": {
  22103. "description": "指定商品IDs[逗号分隔]",
  22104. "type": "string"
  22105. },
  22106. "qty": {
  22107. "description": "数量(按1平铺)",
  22108. "type": "integer"
  22109. },
  22110. "startdate": {
  22111. "description": "开始日期",
  22112. "type": "string"
  22113. },
  22114. "userid": {
  22115. "description": "用户ID",
  22116. "type": "integer"
  22117. },
  22118. "userscope": {
  22119. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22120. "type": "string"
  22121. }
  22122. }
  22123. },
  22124. "models.MyUsedCoupon": {
  22125. "type": "object",
  22126. "required": [
  22127. "coupontypeid",
  22128. "orderid"
  22129. ],
  22130. "properties": {
  22131. "accountid": {
  22132. "description": "资金账户ID(买方)",
  22133. "type": "integer"
  22134. },
  22135. "conditionvalue": {
  22136. "description": "条件阈值(可为0)",
  22137. "type": "number"
  22138. },
  22139. "couponcategroy": {
  22140. "description": "种类 - 1:现金券 2:折扣券",
  22141. "type": "integer"
  22142. },
  22143. "couponname": {
  22144. "description": "优惠券名称",
  22145. "type": "string"
  22146. },
  22147. "coupontypeid": {
  22148. "description": "优惠券类型ID(买方)",
  22149. "type": "string"
  22150. },
  22151. "couponvalue": {
  22152. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22153. "type": "number"
  22154. },
  22155. "createtime": {
  22156. "description": "创建时间",
  22157. "type": "string"
  22158. },
  22159. "goodsid": {
  22160. "description": "商品ID",
  22161. "type": "integer"
  22162. },
  22163. "handlestatus": {
  22164. "description": "处理状态",
  22165. "type": "integer"
  22166. },
  22167. "marketid": {
  22168. "description": "市场ID",
  22169. "type": "integer"
  22170. },
  22171. "offamount": {
  22172. "description": "优惠金额",
  22173. "type": "number"
  22174. },
  22175. "orderid": {
  22176. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22177. "type": "string"
  22178. },
  22179. "sellaccountid": {
  22180. "description": "资金账户ID(卖方)",
  22181. "type": "integer"
  22182. },
  22183. "tradeamount": {
  22184. "description": "成交金额",
  22185. "type": "number"
  22186. },
  22187. "tradeid": {
  22188. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22189. "type": "string"
  22190. },
  22191. "usedqty": {
  22192. "description": "使用数量",
  22193. "type": "integer"
  22194. }
  22195. }
  22196. },
  22197. "models.OperationPrimaryMenu": {
  22198. "type": "object",
  22199. "properties": {
  22200. "Children": {
  22201. "description": "二级功能菜单",
  22202. "type": "array",
  22203. "items": {
  22204. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22205. }
  22206. },
  22207. "Key": {
  22208. "description": "菜单KEY",
  22209. "type": "string"
  22210. },
  22211. "Label": {
  22212. "description": "菜单标题",
  22213. "type": "string"
  22214. }
  22215. }
  22216. },
  22217. "models.OperationSecondaryMenu": {
  22218. "type": "object",
  22219. "properties": {
  22220. "Key": {
  22221. "description": "菜单KEY",
  22222. "type": "string"
  22223. },
  22224. "Label": {
  22225. "description": "菜单标题",
  22226. "type": "string"
  22227. },
  22228. "TabList": {
  22229. "description": "三级功能菜单",
  22230. "type": "array",
  22231. "items": {
  22232. "$ref": "#/definitions/models.OperationTabMenu"
  22233. }
  22234. }
  22235. }
  22236. },
  22237. "models.OperationTabMenu": {
  22238. "type": "object",
  22239. "properties": {
  22240. "Key": {
  22241. "description": "菜单KEY",
  22242. "type": "string"
  22243. },
  22244. "Label": {
  22245. "description": "菜单标题",
  22246. "type": "string"
  22247. }
  22248. }
  22249. },
  22250. "models.PendingAuditBizModel": {
  22251. "type": "object",
  22252. "properties": {
  22253. "accountid": {
  22254. "description": "现货账户",
  22255. "type": "string"
  22256. },
  22257. "areaname": {
  22258. "description": "所属部门",
  22259. "type": "string"
  22260. },
  22261. "bizid": {
  22262. "description": "业务ID",
  22263. "type": "string"
  22264. },
  22265. "bizname": {
  22266. "description": "业务名称",
  22267. "type": "string"
  22268. },
  22269. "status": {
  22270. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22271. "type": "integer"
  22272. },
  22273. "type": {
  22274. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22275. "type": "integer"
  22276. }
  22277. }
  22278. },
  22279. "models.QueryErrorInfosRsp": {
  22280. "type": "object",
  22281. "required": [
  22282. "errorid"
  22283. ],
  22284. "properties": {
  22285. "description": {
  22286. "description": "异常描述",
  22287. "type": "string"
  22288. },
  22289. "errorcode": {
  22290. "description": "异常代码",
  22291. "type": "string"
  22292. },
  22293. "errorid": {
  22294. "description": "异常ID",
  22295. "type": "integer"
  22296. },
  22297. "modulecode": {
  22298. "description": "所属模块",
  22299. "type": "string"
  22300. },
  22301. "operatecode": {
  22302. "description": "所属操作",
  22303. "type": "string"
  22304. },
  22305. "rownumber": {
  22306. "description": "行号",
  22307. "type": "string"
  22308. }
  22309. }
  22310. },
  22311. "models.QueryHedgeOrderDetailRsp": {
  22312. "type": "object",
  22313. "properties": {
  22314. "accountid": {
  22315. "description": "账户ID",
  22316. "type": "integer"
  22317. },
  22318. "buyorsell": {
  22319. "description": "买卖 - 0:买 1:卖",
  22320. "type": "integer"
  22321. },
  22322. "cancellogincode": {
  22323. "description": "撤单人",
  22324. "type": "string"
  22325. },
  22326. "channelbuildtype": {
  22327. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  22328. "type": "integer"
  22329. },
  22330. "channelinnerorderstatus": {
  22331. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  22332. "type": "integer"
  22333. },
  22334. "channeloperatetype": {
  22335. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  22336. "type": "integer"
  22337. },
  22338. "closetype": {
  22339. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22340. "type": "integer"
  22341. },
  22342. "curexchangerate": {
  22343. "description": "当前汇率",
  22344. "type": "number"
  22345. },
  22346. "exchangefullname": {
  22347. "description": "外部交易所全称",
  22348. "type": "string"
  22349. },
  22350. "goodscode": {
  22351. "description": "商品代码(内部)",
  22352. "type": "string"
  22353. },
  22354. "goodsid": {
  22355. "description": "商品ID",
  22356. "type": "integer"
  22357. },
  22358. "goodsname": {
  22359. "description": "商品名称",
  22360. "type": "string"
  22361. },
  22362. "marketid": {
  22363. "description": "市场ID",
  22364. "type": "integer"
  22365. },
  22366. "openfreezemargin": {
  22367. "description": "冻结保证金(冻结交易金额)",
  22368. "type": "number"
  22369. },
  22370. "orderid": {
  22371. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22372. "type": "string"
  22373. },
  22374. "orderlogincode": {
  22375. "description": "委托人",
  22376. "type": "string"
  22377. },
  22378. "orderprice": {
  22379. "description": "委托价格(账户)",
  22380. "type": "number"
  22381. },
  22382. "orderqty": {
  22383. "description": "委托数量",
  22384. "type": "integer"
  22385. },
  22386. "ordertime": {
  22387. "description": "委托时间",
  22388. "type": "string"
  22389. },
  22390. "pricemode": {
  22391. "description": "取价方式 - 1:市价 2: 限价",
  22392. "type": "integer"
  22393. },
  22394. "tradedate": {
  22395. "description": "交易日(yyyyMMdd)",
  22396. "type": "string"
  22397. },
  22398. "tradeqty": {
  22399. "description": "成交数量",
  22400. "type": "integer"
  22401. }
  22402. }
  22403. },
  22404. "models.QueryHedgeTradeDetailRsp": {
  22405. "type": "object",
  22406. "properties": {
  22407. "accountid": {
  22408. "description": "账号ID",
  22409. "type": "integer"
  22410. },
  22411. "buyorsell": {
  22412. "description": "方向 - 0:买 1:卖",
  22413. "type": "integer"
  22414. },
  22415. "channelbuildtype": {
  22416. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22417. "type": "integer"
  22418. },
  22419. "closecharge": {
  22420. "description": "平仓手续费(账户)",
  22421. "type": "number"
  22422. },
  22423. "closecharge2": {
  22424. "description": "平仓手续费(商品)",
  22425. "type": "number"
  22426. },
  22427. "closepl": {
  22428. "description": "平仓盈亏(账户)",
  22429. "type": "number"
  22430. },
  22431. "closepl2": {
  22432. "description": "平仓盈亏(商品)",
  22433. "type": "number"
  22434. },
  22435. "closepl3": {
  22436. "description": "平仓盈亏(账户)(逐笔)",
  22437. "type": "number"
  22438. },
  22439. "closepl4": {
  22440. "description": "平仓盈亏(商品)(逐笔)",
  22441. "type": "number"
  22442. },
  22443. "closetype": {
  22444. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22445. "type": "integer"
  22446. },
  22447. "curexchangerate": {
  22448. "description": "当前汇率",
  22449. "type": "number"
  22450. },
  22451. "exchangefullname": {
  22452. "description": "外部交易所全称",
  22453. "type": "string"
  22454. },
  22455. "goodscode": {
  22456. "description": "商品代码(内部)",
  22457. "type": "string"
  22458. },
  22459. "goodsid": {
  22460. "description": "商品ID",
  22461. "type": "integer"
  22462. },
  22463. "goodsname": {
  22464. "description": "商品名称",
  22465. "type": "string"
  22466. },
  22467. "marketid": {
  22468. "description": "市场ID",
  22469. "type": "integer"
  22470. },
  22471. "opencharge": {
  22472. "description": "建仓手续费(账户)",
  22473. "type": "number"
  22474. },
  22475. "opencharge2": {
  22476. "description": "建仓手续费(商品)",
  22477. "type": "number"
  22478. },
  22479. "orderid": {
  22480. "description": "委托单号",
  22481. "type": "string"
  22482. },
  22483. "orderlogincode": {
  22484. "description": "委托人",
  22485. "type": "string"
  22486. },
  22487. "tradeamount": {
  22488. "description": "成交金额(账户)",
  22489. "type": "number"
  22490. },
  22491. "tradedate": {
  22492. "description": "交易日(yyyyMMdd)",
  22493. "type": "string"
  22494. },
  22495. "tradeid": {
  22496. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22497. "type": "string"
  22498. },
  22499. "tradeprice": {
  22500. "description": "成交价格",
  22501. "type": "number"
  22502. },
  22503. "tradeqty": {
  22504. "description": "成交数量",
  22505. "type": "integer"
  22506. },
  22507. "tradetime": {
  22508. "description": "成交时间",
  22509. "type": "string"
  22510. },
  22511. "tradetype": {
  22512. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22513. "type": "integer"
  22514. }
  22515. }
  22516. },
  22517. "models.QuotePrimaryMenu": {
  22518. "type": "object",
  22519. "properties": {
  22520. "Index": {
  22521. "description": "序号",
  22522. "type": "integer"
  22523. },
  22524. "Key": {
  22525. "description": "键名",
  22526. "type": "string"
  22527. },
  22528. "Name": {
  22529. "description": "菜单名称",
  22530. "type": "string"
  22531. },
  22532. "SubMenus": {
  22533. "description": "子菜单",
  22534. "type": "array",
  22535. "items": {
  22536. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  22537. }
  22538. },
  22539. "SubTitleType": {
  22540. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  22541. "type": "integer"
  22542. },
  22543. "TradeModes": {
  22544. "description": "包含市场交易类型",
  22545. "type": "string"
  22546. }
  22547. }
  22548. },
  22549. "models.QuoteSecondaryMenu": {
  22550. "type": "object",
  22551. "properties": {
  22552. "ExExchangeCode": {
  22553. "description": "外部交易所代码",
  22554. "type": "string"
  22555. },
  22556. "ExExchangeID": {
  22557. "description": "外部交易所ID",
  22558. "type": "integer"
  22559. },
  22560. "GoodsGroupIDs": {
  22561. "description": "商品组ID列表",
  22562. "type": "array",
  22563. "items": {
  22564. "type": "integer"
  22565. }
  22566. },
  22567. "Index": {
  22568. "description": "序号",
  22569. "type": "integer"
  22570. },
  22571. "MarketID": {
  22572. "description": "市场ID",
  22573. "type": "integer"
  22574. },
  22575. "MenuTitle": {
  22576. "description": "菜单标题(市场名称或外部交易所名称)",
  22577. "type": "string"
  22578. },
  22579. "TradeMode": {
  22580. "description": "交易模式",
  22581. "type": "integer"
  22582. }
  22583. }
  22584. },
  22585. "models.RelatedGoodsEx": {
  22586. "type": "object",
  22587. "properties": {
  22588. "goodscode": {
  22589. "description": "商品代码",
  22590. "type": "string"
  22591. },
  22592. "goodsid": {
  22593. "description": "商品id",
  22594. "type": "integer"
  22595. },
  22596. "goodsname": {
  22597. "description": "商品名称",
  22598. "type": "string"
  22599. }
  22600. }
  22601. },
  22602. "models.SearchGoods": {
  22603. "type": "object",
  22604. "required": [
  22605. "goodscode",
  22606. "goodsid",
  22607. "goodsname",
  22608. "marketid",
  22609. "trademode"
  22610. ],
  22611. "properties": {
  22612. "goodscode": {
  22613. "description": "商品代码(内部)",
  22614. "type": "string"
  22615. },
  22616. "goodsid": {
  22617. "description": "商品ID(自增ID SEQ_GOODS)",
  22618. "type": "integer"
  22619. },
  22620. "goodsname": {
  22621. "description": "商品名称",
  22622. "type": "string"
  22623. },
  22624. "marketid": {
  22625. "description": "所属市场ID",
  22626. "type": "integer"
  22627. },
  22628. "marketname": {
  22629. "description": "市场名称",
  22630. "type": "string"
  22631. },
  22632. "trademode": {
  22633. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22634. "type": "integer"
  22635. }
  22636. }
  22637. },
  22638. "models.Systemparam": {
  22639. "type": "object",
  22640. "required": [
  22641. "paramcode"
  22642. ],
  22643. "properties": {
  22644. "loginid": {
  22645. "description": "更新用户账号,登录账号",
  22646. "type": "string"
  22647. },
  22648. "modifyflag": {
  22649. "description": "修改标志0 不允许修改 1 允许修改",
  22650. "type": "integer"
  22651. },
  22652. "paramcode": {
  22653. "description": "参数代码",
  22654. "type": "string"
  22655. },
  22656. "paramname": {
  22657. "description": "参数名",
  22658. "type": "string"
  22659. },
  22660. "paramtype": {
  22661. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22662. "type": "integer"
  22663. },
  22664. "paramvalue": {
  22665. "description": "参数值",
  22666. "type": "string"
  22667. },
  22668. "paramvalue2": {
  22669. "description": "参数值(CLOB)",
  22670. "type": "string"
  22671. },
  22672. "regexpress": {
  22673. "description": "正则表达式",
  22674. "type": "string"
  22675. },
  22676. "remark": {
  22677. "description": "备注",
  22678. "type": "string"
  22679. },
  22680. "serverip": {
  22681. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22682. "type": "string"
  22683. },
  22684. "showflag": {
  22685. "description": "是否显示0 不显示 1 显示",
  22686. "type": "integer"
  22687. },
  22688. "updatetime": {
  22689. "description": "更新时间",
  22690. "type": "string"
  22691. },
  22692. "userid": {
  22693. "description": "更新用户ID",
  22694. "type": "integer"
  22695. }
  22696. }
  22697. },
  22698. "models.Szdz3convertconfig": {
  22699. "type": "object",
  22700. "required": [
  22701. "converttype",
  22702. "innergoodsid",
  22703. "outergoodscode"
  22704. ],
  22705. "properties": {
  22706. "canin": {
  22707. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22708. "type": "integer"
  22709. },
  22710. "canout": {
  22711. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22712. "type": "integer"
  22713. },
  22714. "converttype": {
  22715. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22716. "type": "integer"
  22717. },
  22718. "createtime": {
  22719. "description": "创建时间",
  22720. "type": "string"
  22721. },
  22722. "creatorid": {
  22723. "description": "创建人",
  22724. "type": "integer"
  22725. },
  22726. "daymaxvalue": {
  22727. "description": "当日最大转入限制",
  22728. "type": "number"
  22729. },
  22730. "freezedays": {
  22731. "description": "冻结天数 [5:花生米转交易]",
  22732. "type": "integer"
  22733. },
  22734. "innergoodsid": {
  22735. "description": "内部商品ID[交易]",
  22736. "type": "integer"
  22737. },
  22738. "inratio": {
  22739. "description": "目标值",
  22740. "type": "integer"
  22741. },
  22742. "modifierid": {
  22743. "description": "修改人",
  22744. "type": "integer"
  22745. },
  22746. "modifytime": {
  22747. "description": "修改时间",
  22748. "type": "string"
  22749. },
  22750. "outergoodscode": {
  22751. "description": "外部商品代码[JD\\PD]",
  22752. "type": "string"
  22753. },
  22754. "outratio": {
  22755. "description": "源值",
  22756. "type": "integer"
  22757. },
  22758. "pddecimalplace": {
  22759. "description": "PD小数位",
  22760. "type": "integer"
  22761. },
  22762. "timemaxvalue": {
  22763. "description": "单次最大转入限制",
  22764. "type": "number"
  22765. },
  22766. "timeminvalue": {
  22767. "description": "单次最小转入限制",
  22768. "type": "number"
  22769. }
  22770. }
  22771. },
  22772. "models.Szdz3searchwhitelist": {
  22773. "type": "object",
  22774. "required": [
  22775. "userid"
  22776. ],
  22777. "properties": {
  22778. "createtime": {
  22779. "description": "创建时间",
  22780. "type": "string"
  22781. },
  22782. "creatorid": {
  22783. "description": "创建人",
  22784. "type": "integer"
  22785. },
  22786. "modifierid": {
  22787. "description": "修改人",
  22788. "type": "integer"
  22789. },
  22790. "modifytime": {
  22791. "description": "修改时间",
  22792. "type": "string"
  22793. },
  22794. "userid": {
  22795. "description": "用户ID",
  22796. "type": "integer"
  22797. }
  22798. }
  22799. },
  22800. "models.Taaccount": {
  22801. "type": "object",
  22802. "required": [
  22803. "accountid",
  22804. "userid"
  22805. ],
  22806. "properties": {
  22807. "accountflag": {
  22808. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22809. "type": "integer"
  22810. },
  22811. "accountid": {
  22812. "description": "资金账户ID",
  22813. "type": "integer"
  22814. },
  22815. "accountname": {
  22816. "description": "账户名称",
  22817. "type": "string"
  22818. },
  22819. "balance": {
  22820. "description": "期初余额",
  22821. "type": "number"
  22822. },
  22823. "capitalbalance": {
  22824. "description": "本金余额[外部子账户实际出入金余额]",
  22825. "type": "number"
  22826. },
  22827. "changeflag": {
  22828. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22829. "type": "integer"
  22830. },
  22831. "changetime": {
  22832. "description": "账户状态变更时间",
  22833. "type": "string"
  22834. },
  22835. "closepl": {
  22836. "description": "今日平仓盈亏",
  22837. "type": "number"
  22838. },
  22839. "creditdecrease": {
  22840. "description": "今日授信减少",
  22841. "type": "number"
  22842. },
  22843. "creditincrease": {
  22844. "description": "今日授信增加",
  22845. "type": "number"
  22846. },
  22847. "currencyid": {
  22848. "description": "货币ID",
  22849. "type": "integer"
  22850. },
  22851. "currentbalance": {
  22852. "description": "期末余额",
  22853. "type": "number"
  22854. },
  22855. "freezecharge": {
  22856. "description": "手续费冻结",
  22857. "type": "number"
  22858. },
  22859. "freezemargin": {
  22860. "description": "冻结保证金",
  22861. "type": "number"
  22862. },
  22863. "fromaccountid": {
  22864. "description": "所属上级账户",
  22865. "type": "integer"
  22866. },
  22867. "inamount": {
  22868. "description": "今日入金金额(包括三方入金)",
  22869. "type": "number"
  22870. },
  22871. "ismain": {
  22872. "description": "是否母账号 0:不是母账户 1:是母账户",
  22873. "type": "integer"
  22874. },
  22875. "ismarketaccount": {
  22876. "description": "是否机构接单账号 0:不是 1:是",
  22877. "type": "integer"
  22878. },
  22879. "isreckonaccount": {
  22880. "description": "是否机构分润账号 0:不是 1:是",
  22881. "type": "integer"
  22882. },
  22883. "mortgagecredit": {
  22884. "description": "授信金额",
  22885. "type": "number"
  22886. },
  22887. "orifreezecharge": {
  22888. "description": "期初手续费冻结",
  22889. "type": "number"
  22890. },
  22891. "orifreezemargin": {
  22892. "description": "期初冻结保证金",
  22893. "type": "number"
  22894. },
  22895. "orimortgagecredit": {
  22896. "description": "期初授信金额",
  22897. "type": "number"
  22898. },
  22899. "oriothercredit": {
  22900. "description": "期初其它授信金额",
  22901. "type": "number"
  22902. },
  22903. "oriotherfreezemargin": {
  22904. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22905. "type": "number"
  22906. },
  22907. "orioutamountfreeze": {
  22908. "description": "期初出金冻结",
  22909. "type": "number"
  22910. },
  22911. "oriusedmargin": {
  22912. "description": "期初占用保证金",
  22913. "type": "number"
  22914. },
  22915. "othercredit": {
  22916. "description": "其它授信金额",
  22917. "type": "number"
  22918. },
  22919. "othercreditdecrease": {
  22920. "description": "今日其它授信减少",
  22921. "type": "number"
  22922. },
  22923. "othercreditincrease": {
  22924. "description": "今日其它授信增加",
  22925. "type": "number"
  22926. },
  22927. "otherfreezemargin": {
  22928. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22929. "type": "number"
  22930. },
  22931. "otherincome": {
  22932. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22933. "type": "number"
  22934. },
  22935. "otherpay": {
  22936. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22937. "type": "number"
  22938. },
  22939. "outamount": {
  22940. "description": "今日出金金额(包括三方出金)",
  22941. "type": "number"
  22942. },
  22943. "outamountfreeze": {
  22944. "description": "出金冻结",
  22945. "type": "number"
  22946. },
  22947. "outthreshold": {
  22948. "description": "出金阈值",
  22949. "type": "number"
  22950. },
  22951. "parentaccountid": {
  22952. "description": "所属根账号",
  22953. "type": "integer"
  22954. },
  22955. "paycharge": {
  22956. "description": "今日手续费支出",
  22957. "type": "number"
  22958. },
  22959. "relatedaccountstatus": {
  22960. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22961. "type": "integer"
  22962. },
  22963. "relateduserid": {
  22964. "description": "关联用户",
  22965. "type": "integer"
  22966. },
  22967. "serivcegroup": {
  22968. "description": "服务分组",
  22969. "type": "integer"
  22970. },
  22971. "signstatus": {
  22972. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22973. "type": "integer"
  22974. },
  22975. "sublevelpath": {
  22976. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22977. "type": "string"
  22978. },
  22979. "taaccounttype": {
  22980. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22981. "type": "integer"
  22982. },
  22983. "thirdinamount": {
  22984. "description": "今日三方入金",
  22985. "type": "number"
  22986. },
  22987. "thirdoutamount": {
  22988. "description": "今日三方出金",
  22989. "type": "number"
  22990. },
  22991. "tradestatus": {
  22992. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22993. "type": "integer"
  22994. },
  22995. "tradestatuschangetime": {
  22996. "description": "激活时间",
  22997. "type": "string"
  22998. },
  22999. "transferamount": {
  23000. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  23001. "type": "number"
  23002. },
  23003. "usedmargin": {
  23004. "description": "占用保证金",
  23005. "type": "number"
  23006. },
  23007. "userid": {
  23008. "description": "用户ID",
  23009. "type": "integer"
  23010. }
  23011. }
  23012. },
  23013. "models.Tablecolumnconfig": {
  23014. "type": "object",
  23015. "required": [
  23016. "autoid"
  23017. ],
  23018. "properties": {
  23019. "aligntype": {
  23020. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  23021. "type": "integer"
  23022. },
  23023. "autoid": {
  23024. "description": "AutoID",
  23025. "type": "integer"
  23026. },
  23027. "columnfield": {
  23028. "description": "列字段",
  23029. "type": "string"
  23030. },
  23031. "columntitle": {
  23032. "description": "列Title",
  23033. "type": "string"
  23034. },
  23035. "columnwidth": {
  23036. "description": "列宽",
  23037. "type": "string"
  23038. },
  23039. "formatterstring": {
  23040. "description": "格式化字符",
  23041. "type": "string"
  23042. },
  23043. "formattertype": {
  23044. "description": "格式化类型",
  23045. "type": "string"
  23046. },
  23047. "groupname": {
  23048. "description": "表头分组名称",
  23049. "type": "string"
  23050. },
  23051. "isshow": {
  23052. "description": "是否显示 - 0:不显示 1:显示",
  23053. "type": "integer"
  23054. },
  23055. "needsummary": {
  23056. "description": "是否需要汇总 - 0:不需要 1:需要",
  23057. "type": "integer"
  23058. },
  23059. "orderindex": {
  23060. "description": "顺序",
  23061. "type": "integer"
  23062. },
  23063. "remark": {
  23064. "description": "备注",
  23065. "type": "string"
  23066. },
  23067. "summarytype": {
  23068. "description": "汇总类型 - 1:加总 2:最后一个",
  23069. "type": "integer"
  23070. },
  23071. "tablekey": {
  23072. "description": "列表Key",
  23073. "type": "string"
  23074. }
  23075. }
  23076. },
  23077. "models.Useraccount": {
  23078. "type": "object",
  23079. "required": [
  23080. "userid"
  23081. ],
  23082. "properties": {
  23083. "accountname": {
  23084. "description": "账户名称(机构名称)",
  23085. "type": "string"
  23086. },
  23087. "accountstatus": {
  23088. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23089. "type": "integer"
  23090. },
  23091. "auditremark": {
  23092. "description": "审核备注",
  23093. "type": "string"
  23094. },
  23095. "audittime": {
  23096. "description": "审核时间",
  23097. "type": "string"
  23098. },
  23099. "audituserid": {
  23100. "description": "审核人",
  23101. "type": "integer"
  23102. },
  23103. "broker": {
  23104. "description": "所属经纪人ID",
  23105. "type": "integer"
  23106. },
  23107. "canceltime": {
  23108. "description": "销户时间",
  23109. "type": "string"
  23110. },
  23111. "canceluserid": {
  23112. "description": "销户人",
  23113. "type": "integer"
  23114. },
  23115. "createtime": {
  23116. "description": "创建时间",
  23117. "type": "string"
  23118. },
  23119. "creatorid": {
  23120. "description": "创建人",
  23121. "type": "integer"
  23122. },
  23123. "hasauth": {
  23124. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23125. "type": "integer"
  23126. },
  23127. "isanonymous": {
  23128. "description": "是否匿名下单 - 0:否 1:是",
  23129. "type": "integer"
  23130. },
  23131. "maxinvestornum": {
  23132. "description": "最大用户数(经纪会员下投资者个数)",
  23133. "type": "integer"
  23134. },
  23135. "memberuserid": {
  23136. "description": "所属会员ID",
  23137. "type": "integer"
  23138. },
  23139. "modifierid": {
  23140. "description": "修改人",
  23141. "type": "integer"
  23142. },
  23143. "modifyremark": {
  23144. "description": "变更备注",
  23145. "type": "string"
  23146. },
  23147. "modifystatus": {
  23148. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23149. "type": "integer"
  23150. },
  23151. "modifytime": {
  23152. "description": "修改时间",
  23153. "type": "string"
  23154. },
  23155. "parentuserid": {
  23156. "description": "所属机构ID",
  23157. "type": "integer"
  23158. },
  23159. "reckonaccountid": {
  23160. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23161. "type": "integer"
  23162. },
  23163. "refercount": {
  23164. "description": "推荐总人数",
  23165. "type": "integer"
  23166. },
  23167. "refereeuserid": {
  23168. "description": "推荐人ID",
  23169. "type": "integer"
  23170. },
  23171. "refernum": {
  23172. "description": "推荐码",
  23173. "type": "string"
  23174. },
  23175. "subarealevelpath": {
  23176. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23177. "type": "string"
  23178. },
  23179. "userid": {
  23180. "description": "用户ID",
  23181. "type": "integer"
  23182. },
  23183. "usertype": {
  23184. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23185. "type": "integer"
  23186. }
  23187. }
  23188. },
  23189. "models.Userfavoritegoods": {
  23190. "type": "object",
  23191. "required": [
  23192. "goodsid"
  23193. ],
  23194. "properties": {
  23195. "goodsid": {
  23196. "description": "商品ID",
  23197. "type": "integer"
  23198. }
  23199. }
  23200. },
  23201. "models.Userinfo": {
  23202. "type": "object",
  23203. "required": [
  23204. "userid"
  23205. ],
  23206. "properties": {
  23207. "address": {
  23208. "description": "地址",
  23209. "type": "string"
  23210. },
  23211. "attachment1": {
  23212. "description": "附件1",
  23213. "type": "string"
  23214. },
  23215. "attachment2": {
  23216. "description": "附件2",
  23217. "type": "string"
  23218. },
  23219. "bankaccount": {
  23220. "description": "银行帐号 (加密存储)",
  23221. "type": "string"
  23222. },
  23223. "bankaccountname": {
  23224. "description": "收款人名称",
  23225. "type": "string"
  23226. },
  23227. "bankcardfrontphotourl": {
  23228. "description": "银行卡正面照地址",
  23229. "type": "string"
  23230. },
  23231. "bankid": {
  23232. "description": "银行编码",
  23233. "type": "string"
  23234. },
  23235. "bankname": {
  23236. "description": "银行名称",
  23237. "type": "string"
  23238. },
  23239. "biznature": {
  23240. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23241. "type": "integer"
  23242. },
  23243. "bizscope": {
  23244. "description": "企业经营范围(企业)",
  23245. "type": "string"
  23246. },
  23247. "cardbackphotourl": {
  23248. "description": "证件背面图片地址",
  23249. "type": "string"
  23250. },
  23251. "cardfrontphotourl": {
  23252. "description": "证件正面图片地址",
  23253. "type": "string"
  23254. },
  23255. "cardnum": {
  23256. "description": "证件号码(加密存储)",
  23257. "type": "string"
  23258. },
  23259. "cardtypeid": {
  23260. "description": "证件类型ID",
  23261. "type": "integer"
  23262. },
  23263. "cityid": {
  23264. "description": "市",
  23265. "type": "integer"
  23266. },
  23267. "company": {
  23268. "description": "公司(个人)",
  23269. "type": "string"
  23270. },
  23271. "contactname": {
  23272. "description": "联系人",
  23273. "type": "string"
  23274. },
  23275. "countryid": {
  23276. "description": "国家",
  23277. "type": "integer"
  23278. },
  23279. "createtime": {
  23280. "description": "创建时间",
  23281. "type": "string"
  23282. },
  23283. "creatorid": {
  23284. "description": "创建人",
  23285. "type": "integer"
  23286. },
  23287. "customername": {
  23288. "description": "客户名称(企业名称)",
  23289. "type": "string"
  23290. },
  23291. "districtid": {
  23292. "description": "地区",
  23293. "type": "integer"
  23294. },
  23295. "email": {
  23296. "description": "邮件(加密存储)",
  23297. "type": "string"
  23298. },
  23299. "fax": {
  23300. "description": "传真(加密存储)",
  23301. "type": "string"
  23302. },
  23303. "halfbodyphotourl": {
  23304. "description": "半身照地址",
  23305. "type": "string"
  23306. },
  23307. "hasencrypt": {
  23308. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23309. "type": "integer"
  23310. },
  23311. "headurl": {
  23312. "description": "头像地址",
  23313. "type": "string"
  23314. },
  23315. "legalcardbackphotourl": {
  23316. "description": "法人身份证背面照地址",
  23317. "type": "string"
  23318. },
  23319. "legalcardfrontphotourl": {
  23320. "description": "法人身份证正面照地址",
  23321. "type": "string"
  23322. },
  23323. "legalpersonname": {
  23324. "description": "法人姓名(企业)",
  23325. "type": "string"
  23326. },
  23327. "mobile": {
  23328. "description": "手机号码(加密存储)",
  23329. "type": "string"
  23330. },
  23331. "mobile2": {
  23332. "description": "手机号码[明文-尚志]",
  23333. "type": "string"
  23334. },
  23335. "modifierid": {
  23336. "description": "修改人",
  23337. "type": "integer"
  23338. },
  23339. "modifiertime": {
  23340. "description": "修改时间",
  23341. "type": "string"
  23342. },
  23343. "needinvoice": {
  23344. "description": "是否需要发票 - 0:不需要 1:需要",
  23345. "type": "integer"
  23346. },
  23347. "nickname": {
  23348. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  23349. "type": "string"
  23350. },
  23351. "openmode": {
  23352. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  23353. "type": "integer"
  23354. },
  23355. "otherurl": {
  23356. "description": "其它图片地址[使用分号分隔]",
  23357. "type": "string"
  23358. },
  23359. "postalcode": {
  23360. "description": "邮政编码",
  23361. "type": "string"
  23362. },
  23363. "provinceid": {
  23364. "description": "省",
  23365. "type": "integer"
  23366. },
  23367. "qq": {
  23368. "description": "QQ(加密存储",
  23369. "type": "string"
  23370. },
  23371. "remark": {
  23372. "description": "备注",
  23373. "type": "string"
  23374. },
  23375. "sex": {
  23376. "description": "用户性别 0: 女 1: 男",
  23377. "type": "integer"
  23378. },
  23379. "signpdfurl": {
  23380. "description": "签约pdf文件",
  23381. "type": "string"
  23382. },
  23383. "telphone": {
  23384. "description": "联系电话(加密存储)",
  23385. "type": "string"
  23386. },
  23387. "userid": {
  23388. "description": "用户ID",
  23389. "type": "integer"
  23390. },
  23391. "userinfotype": {
  23392. "description": "用户信息类型 - 1:个人 2:企业",
  23393. "type": "integer"
  23394. },
  23395. "userstatus": {
  23396. "description": "用户状态 - 1:正常 2:注销",
  23397. "type": "integer"
  23398. },
  23399. "usertype": {
  23400. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23401. "type": "integer"
  23402. },
  23403. "wechat": {
  23404. "description": "微信(加密存储)",
  23405. "type": "string"
  23406. },
  23407. "wskhinfo": {
  23408. "description": "开户申请信息(JSON)",
  23409. "type": "string"
  23410. }
  23411. }
  23412. },
  23413. "models.WRSConverTDetail": {
  23414. "type": "object",
  23415. "properties": {
  23416. "convertratio": {
  23417. "description": "套保系数",
  23418. "type": "number"
  23419. },
  23420. "deliverygoodscode": {
  23421. "description": "现货商品代码",
  23422. "type": "string"
  23423. },
  23424. "deliverygoodsid": {
  23425. "description": "现货品种ID",
  23426. "type": "integer"
  23427. },
  23428. "deliverygoodsname": {
  23429. "description": "现货商品名称",
  23430. "type": "string"
  23431. },
  23432. "enumdicname": {
  23433. "description": "单位名称",
  23434. "type": "string"
  23435. },
  23436. "goodsunitid": {
  23437. "description": "套保品种单位id",
  23438. "type": "integer"
  23439. },
  23440. "middlegoodscode": {
  23441. "description": "套保品种代码",
  23442. "type": "string"
  23443. },
  23444. "middlegoodsid": {
  23445. "description": "套保品种ID",
  23446. "type": "integer"
  23447. },
  23448. "middlegoodsname": {
  23449. "description": "套保品种名称",
  23450. "type": "string"
  23451. },
  23452. "modifytime": {
  23453. "description": "修改时间",
  23454. "type": "string"
  23455. },
  23456. "wrstandardid": {
  23457. "description": "品类ID",
  23458. "type": "integer"
  23459. }
  23460. }
  23461. },
  23462. "models.WRStandardInfo": {
  23463. "type": "object",
  23464. "required": [
  23465. "wrstandardid"
  23466. ],
  23467. "properties": {
  23468. "areauserid": {
  23469. "description": "所属机构",
  23470. "type": "integer"
  23471. },
  23472. "convertfactor": {
  23473. "description": "标仓系数",
  23474. "type": "number"
  23475. },
  23476. "createtime": {
  23477. "description": "创建时间",
  23478. "type": "string"
  23479. },
  23480. "creatorid": {
  23481. "description": "创建人",
  23482. "type": "integer"
  23483. },
  23484. "deliverygoodsid": {
  23485. "description": "品种ID",
  23486. "type": "integer"
  23487. },
  23488. "deliverygoodsname": {
  23489. "description": "交割商品名称",
  23490. "type": "string"
  23491. },
  23492. "factoryitemjson": {
  23493. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  23494. "type": "string"
  23495. },
  23496. "isvalid": {
  23497. "description": "是否有效 - 0:无效 1:有效",
  23498. "type": "integer"
  23499. },
  23500. "minivalue": {
  23501. "description": "最小变动值",
  23502. "type": "integer"
  23503. },
  23504. "minivaluedp": {
  23505. "description": "最小变动值小数位",
  23506. "type": "integer"
  23507. },
  23508. "realminivalue": {
  23509. "description": "实际最小变动值",
  23510. "type": "integer"
  23511. },
  23512. "realminivaluedp": {
  23513. "description": "实际最小变动值小数位",
  23514. "type": "integer"
  23515. },
  23516. "remark": {
  23517. "description": "备注",
  23518. "type": "string"
  23519. },
  23520. "unitid": {
  23521. "description": "单位ID",
  23522. "type": "integer"
  23523. },
  23524. "unitname": {
  23525. "description": "单位",
  23526. "type": "string"
  23527. },
  23528. "updatetime": {
  23529. "description": "更新时间",
  23530. "type": "string"
  23531. },
  23532. "updatorid": {
  23533. "description": "更新人",
  23534. "type": "integer"
  23535. },
  23536. "wrsstatus": {
  23537. "description": "状态 - 作废 - 0:未激活 1:正常",
  23538. "type": "integer"
  23539. },
  23540. "wrstandardcode": {
  23541. "description": "现货品类代码",
  23542. "type": "string"
  23543. },
  23544. "wrstandardid": {
  23545. "description": "现货品类ID(SEQ_WRSTANDARD)",
  23546. "type": "integer"
  23547. },
  23548. "wrstandardname": {
  23549. "description": "现货品类名称",
  23550. "type": "string"
  23551. }
  23552. }
  23553. },
  23554. "models.Warehouseinfo": {
  23555. "type": "object",
  23556. "required": [
  23557. "autoid",
  23558. "warehousecode"
  23559. ],
  23560. "properties": {
  23561. "address": {
  23562. "description": "详细地址",
  23563. "type": "string"
  23564. },
  23565. "areauserid": {
  23566. "description": "所属机构",
  23567. "type": "integer"
  23568. },
  23569. "autoid": {
  23570. "description": "自增ID",
  23571. "type": "integer"
  23572. },
  23573. "cityid": {
  23574. "description": "市",
  23575. "type": "integer"
  23576. },
  23577. "contactname": {
  23578. "description": "联系人",
  23579. "type": "string"
  23580. },
  23581. "contactnum": {
  23582. "description": "联系电话",
  23583. "type": "string"
  23584. },
  23585. "countryid": {
  23586. "description": "国家",
  23587. "type": "integer"
  23588. },
  23589. "createtime": {
  23590. "description": "创建时间",
  23591. "type": "string"
  23592. },
  23593. "districtid": {
  23594. "description": "区",
  23595. "type": "integer"
  23596. },
  23597. "hasvideo": {
  23598. "description": "是否有视频 - 0:无 1:有",
  23599. "type": "integer"
  23600. },
  23601. "provinceid": {
  23602. "description": "省",
  23603. "type": "integer"
  23604. },
  23605. "remark": {
  23606. "description": "审核备注",
  23607. "type": "string"
  23608. },
  23609. "videourl": {
  23610. "description": "视频地址",
  23611. "type": "string"
  23612. },
  23613. "warehousecode": {
  23614. "description": "仓库代码",
  23615. "type": "string"
  23616. },
  23617. "warehousename": {
  23618. "description": "仓库名称",
  23619. "type": "string"
  23620. },
  23621. "warehousestatus": {
  23622. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23623. "type": "integer"
  23624. },
  23625. "warehousetype": {
  23626. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23627. "type": "integer"
  23628. }
  23629. }
  23630. },
  23631. "order.QueryHisTradeDetailRsp": {
  23632. "type": "object",
  23633. "required": [
  23634. "accountid",
  23635. "buyorsell",
  23636. "goodsid",
  23637. "histradedate",
  23638. "marketid",
  23639. "memberuserid",
  23640. "orderid",
  23641. "tradeamount",
  23642. "tradedate",
  23643. "tradeid",
  23644. "tradeprice",
  23645. "tradeqty",
  23646. "tradetime"
  23647. ],
  23648. "properties": {
  23649. "accountid": {
  23650. "description": "账户ID[报价币种]",
  23651. "type": "integer"
  23652. },
  23653. "buildtype": {
  23654. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23655. "type": "integer"
  23656. },
  23657. "buyorsell": {
  23658. "description": "方向 - 0:买 1:卖",
  23659. "type": "integer"
  23660. },
  23661. "charge": {
  23662. "description": "手续费",
  23663. "type": "number"
  23664. },
  23665. "closecharge": {
  23666. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23667. "type": "number"
  23668. },
  23669. "closeexchagechargevalue": {
  23670. "description": "平仓交易所手续费设置值",
  23671. "type": "number"
  23672. },
  23673. "closefeealgorithm": {
  23674. "description": "平仓手续费收取方式 1:比率 2:固定",
  23675. "type": "integer"
  23676. },
  23677. "closememberchargevalue": {
  23678. "description": "平仓会员手续费设置值",
  23679. "type": "number"
  23680. },
  23681. "closepl": {
  23682. "description": "平仓盈亏",
  23683. "type": "number"
  23684. },
  23685. "closepl2": {
  23686. "description": "平仓盈亏[逐笔]",
  23687. "type": "number"
  23688. },
  23689. "closeqty": {
  23690. "description": "平仓数量(先建后平操作 需要记录)",
  23691. "type": "integer"
  23692. },
  23693. "creditamount": {
  23694. "description": "授信金额",
  23695. "type": "number"
  23696. },
  23697. "gcaccountid": {
  23698. "description": "账户ID[合约币种]",
  23699. "type": "integer"
  23700. },
  23701. "goodscode": {
  23702. "description": "商品代码",
  23703. "type": "string"
  23704. },
  23705. "goodsid": {
  23706. "description": "商品ID",
  23707. "type": "integer"
  23708. },
  23709. "goodsname": {
  23710. "description": "商品名称",
  23711. "type": "string"
  23712. },
  23713. "histradedate": {
  23714. "description": "历史交易日",
  23715. "type": "string"
  23716. },
  23717. "intclosepl": {
  23718. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23719. "type": "integer"
  23720. },
  23721. "isconfirmexercise": {
  23722. "description": "是否确认行权- 0:否 1:是",
  23723. "type": "integer"
  23724. },
  23725. "ismain": {
  23726. "description": "是否主单 - 0:不是 1:是",
  23727. "type": "integer"
  23728. },
  23729. "ispreexercise": {
  23730. "description": "是否预申报- 0:否 1:是",
  23731. "type": "integer"
  23732. },
  23733. "isreckoned": {
  23734. "description": "是否结算 - 0:未结算 1:已结算",
  23735. "type": "integer"
  23736. },
  23737. "isvaliddata": {
  23738. "description": "是否有效 - 0:无效 1:有效",
  23739. "type": "integer"
  23740. },
  23741. "listingselecttype": {
  23742. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23743. "type": "integer"
  23744. },
  23745. "marketid": {
  23746. "description": "市场ID",
  23747. "type": "integer"
  23748. },
  23749. "marketname": {
  23750. "description": "市场名称",
  23751. "type": "string"
  23752. },
  23753. "matchaccountid": {
  23754. "description": "对手账号id",
  23755. "type": "integer"
  23756. },
  23757. "memberuserid": {
  23758. "description": "会员id 个人投资者 需要填写",
  23759. "type": "integer"
  23760. },
  23761. "opencharge": {
  23762. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23763. "type": "number"
  23764. },
  23765. "openexchagechargevalue": {
  23766. "description": "建仓交易所手续费设置值",
  23767. "type": "number"
  23768. },
  23769. "openfeealgorithm": {
  23770. "description": "建仓手续费收取方式 1:比率 2:固定",
  23771. "type": "integer"
  23772. },
  23773. "openmemberchargevalue": {
  23774. "description": "建仓会员手续费设置值",
  23775. "type": "number"
  23776. },
  23777. "openqty": {
  23778. "description": "开仓数量(先建后平操作 需要记录)",
  23779. "type": "integer"
  23780. },
  23781. "optiontype": {
  23782. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23783. "type": "integer"
  23784. },
  23785. "orderid": {
  23786. "description": "委托单号",
  23787. "type": "string"
  23788. },
  23789. "performanceplanid": {
  23790. "description": "履约计划ID[期权]",
  23791. "type": "integer"
  23792. },
  23793. "performancestatus": {
  23794. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23795. "type": "integer"
  23796. },
  23797. "preexerciseprice": {
  23798. "description": "预申报价格",
  23799. "type": "number"
  23800. },
  23801. "premium": {
  23802. "description": "权利金 - [持仓单的权利金]",
  23803. "type": "number"
  23804. },
  23805. "relatedouttradeid": {
  23806. "description": "关联外部成交单ID",
  23807. "type": "integer"
  23808. },
  23809. "status": {
  23810. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23811. "type": "integer"
  23812. },
  23813. "tradeamount": {
  23814. "description": "成交金额[账户币种,用于所有权]",
  23815. "type": "number"
  23816. },
  23817. "tradedate": {
  23818. "description": "交易日(yyyyMMdd)",
  23819. "type": "string"
  23820. },
  23821. "tradeid": {
  23822. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23823. "type": "string"
  23824. },
  23825. "trademode": {
  23826. "description": "交易模式",
  23827. "type": "integer"
  23828. },
  23829. "tradeprice": {
  23830. "description": "成交价格",
  23831. "type": "number"
  23832. },
  23833. "tradeproperty": {
  23834. "description": "交易属性",
  23835. "type": "integer"
  23836. },
  23837. "tradeqty": {
  23838. "description": "成交数量",
  23839. "type": "integer"
  23840. },
  23841. "tradetime": {
  23842. "description": "成交时间",
  23843. "type": "string"
  23844. },
  23845. "tradetype": {
  23846. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23847. "type": "integer"
  23848. }
  23849. }
  23850. },
  23851. "order.QueryHisTradeOrderDetailRsp": {
  23852. "type": "object",
  23853. "required": [
  23854. "accountid",
  23855. "buildtype",
  23856. "buyorsell",
  23857. "goodsid",
  23858. "histradedate",
  23859. "marketid",
  23860. "memberuserid",
  23861. "operatetype",
  23862. "orderid",
  23863. "orderqty",
  23864. "ordertime",
  23865. "pricemode",
  23866. "tradedate",
  23867. "validtype"
  23868. ],
  23869. "properties": {
  23870. "accountid": {
  23871. "description": "账户ID[报价币种]",
  23872. "type": "integer"
  23873. },
  23874. "buildtype": {
  23875. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23876. "type": "integer"
  23877. },
  23878. "buyorsell": {
  23879. "description": "买卖 - 0:买 1:卖",
  23880. "type": "integer"
  23881. },
  23882. "cancelorderid": {
  23883. "description": "撤单单号(撤单时填写)",
  23884. "type": "string"
  23885. },
  23886. "cancelqty": {
  23887. "description": "撤单数量",
  23888. "type": "integer"
  23889. },
  23890. "clientordertime": {
  23891. "description": "客户端委托时间",
  23892. "type": "string"
  23893. },
  23894. "clientticket": {
  23895. "description": "客户端流水号",
  23896. "type": "string"
  23897. },
  23898. "clienttype": {
  23899. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23900. "type": "integer"
  23901. },
  23902. "closeexchagechargevalue": {
  23903. "description": "平仓交易所手续费设置值",
  23904. "type": "number"
  23905. },
  23906. "closefeealgorithm": {
  23907. "description": "平仓手续费收取方式 1:比率 2:固定",
  23908. "type": "integer"
  23909. },
  23910. "closefreezecharge": {
  23911. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23912. "type": "number"
  23913. },
  23914. "closememberchargevalue": {
  23915. "description": "平仓会员手续费设置值",
  23916. "type": "number"
  23917. },
  23918. "closeqty": {
  23919. "description": "平仓数量(先建后平操作 需要记录)",
  23920. "type": "integer"
  23921. },
  23922. "closetradeqty": {
  23923. "description": "平仓成交数量(先建后平操作,需要记录)",
  23924. "type": "integer"
  23925. },
  23926. "closeunfreezecharge": {
  23927. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23928. "type": "number"
  23929. },
  23930. "delistingtype": {
  23931. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23932. "type": "integer"
  23933. },
  23934. "freezecharge": {
  23935. "description": "冻结手续费",
  23936. "type": "number"
  23937. },
  23938. "freezemargin": {
  23939. "description": "冻结保证金(冻结交易金额)",
  23940. "type": "number"
  23941. },
  23942. "gcaccountid": {
  23943. "description": "账户ID[合约币种]",
  23944. "type": "integer"
  23945. },
  23946. "goodscode": {
  23947. "description": "商品代码",
  23948. "type": "string"
  23949. },
  23950. "goodsid": {
  23951. "description": "商品ID",
  23952. "type": "integer"
  23953. },
  23954. "goodsname": {
  23955. "description": "商品名称",
  23956. "type": "string"
  23957. },
  23958. "histradedate": {
  23959. "description": "历史交易日",
  23960. "type": "string"
  23961. },
  23962. "isconfirmexercise": {
  23963. "description": "是否确认行权- 0:否 1:是",
  23964. "type": "integer"
  23965. },
  23966. "ispreexercise": {
  23967. "description": "是否预申报- 0:否 1:是",
  23968. "type": "integer"
  23969. },
  23970. "isvaliddata": {
  23971. "description": "是否有效 - 0:无效 1:有效",
  23972. "type": "integer"
  23973. },
  23974. "listingselecttype": {
  23975. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23976. "type": "integer"
  23977. },
  23978. "marginalgorithm": {
  23979. "description": "保证金收取方式 1:比率 2:固定",
  23980. "type": "integer"
  23981. },
  23982. "marginvalue": {
  23983. "description": "即市保证金设置值",
  23984. "type": "number"
  23985. },
  23986. "marketid": {
  23987. "description": "市场ID",
  23988. "type": "integer"
  23989. },
  23990. "marketmaxsub": {
  23991. "description": "市价最大偏移范围",
  23992. "type": "number"
  23993. },
  23994. "marketname": {
  23995. "description": "市场名称",
  23996. "type": "string"
  23997. },
  23998. "memberuserid": {
  23999. "description": "所属会员UserID",
  24000. "type": "integer"
  24001. },
  24002. "openexchagechargevalue": {
  24003. "description": "建仓交易所手续费设置值",
  24004. "type": "number"
  24005. },
  24006. "openfeealgorithm": {
  24007. "description": "建仓手续费收取方式 1:比率 2:固定",
  24008. "type": "integer"
  24009. },
  24010. "openfreezecharge": {
  24011. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24012. "type": "number"
  24013. },
  24014. "openmemberchargevalue": {
  24015. "description": "建仓会员手续费设置值",
  24016. "type": "number"
  24017. },
  24018. "openqty": {
  24019. "description": "开仓数量(先建后平操作,需要记录)",
  24020. "type": "integer"
  24021. },
  24022. "opentradeqty": {
  24023. "description": "开仓成交数量(先建后平操作,需要记录)",
  24024. "type": "integer"
  24025. },
  24026. "openunfreezecharge": {
  24027. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24028. "type": "number"
  24029. },
  24030. "operatetype": {
  24031. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24032. "type": "integer"
  24033. },
  24034. "operatorid": {
  24035. "description": "登录账号(LoginID)",
  24036. "type": "integer"
  24037. },
  24038. "optiontype": {
  24039. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24040. "type": "integer"
  24041. },
  24042. "orderid": {
  24043. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24044. "type": "string"
  24045. },
  24046. "orderprice": {
  24047. "description": "委托价格",
  24048. "type": "number"
  24049. },
  24050. "orderqty": {
  24051. "description": "委托数量",
  24052. "type": "integer"
  24053. },
  24054. "ordersrc": {
  24055. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24056. "type": "integer"
  24057. },
  24058. "orderstatus": {
  24059. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24060. "type": "integer"
  24061. },
  24062. "ordertime": {
  24063. "description": "委托时间",
  24064. "type": "string"
  24065. },
  24066. "preexerciseprice": {
  24067. "description": "预申报价格",
  24068. "type": "number"
  24069. },
  24070. "premium": {
  24071. "description": "权利金",
  24072. "type": "number"
  24073. },
  24074. "preorderid": {
  24075. "description": "关联预埋单号(止盈止损单时填写)",
  24076. "type": "string"
  24077. },
  24078. "pricemode": {
  24079. "description": "取价方式 - 1:市价 2: 限价",
  24080. "type": "integer"
  24081. },
  24082. "quoteid": {
  24083. "description": "报价单ID",
  24084. "type": "integer"
  24085. },
  24086. "relatedid": {
  24087. "description": "关联单号(交割单)",
  24088. "type": "string"
  24089. },
  24090. "retcode": {
  24091. "description": "错误代码",
  24092. "type": "integer"
  24093. },
  24094. "sessionid": {
  24095. "description": "会话ID",
  24096. "type": "integer"
  24097. },
  24098. "tradedate": {
  24099. "description": "交易日(yyyyMMdd)",
  24100. "type": "string"
  24101. },
  24102. "trademode": {
  24103. "description": "交易模式",
  24104. "type": "integer"
  24105. },
  24106. "tradeproperty": {
  24107. "description": "交易属性",
  24108. "type": "integer"
  24109. },
  24110. "tradeqty": {
  24111. "description": "成交数量",
  24112. "type": "integer"
  24113. },
  24114. "unfreezecharge": {
  24115. "description": "解冻手续费",
  24116. "type": "number"
  24117. },
  24118. "unfreezemargin": {
  24119. "description": "解冻保证金",
  24120. "type": "number"
  24121. },
  24122. "updatetime": {
  24123. "description": "更新时间",
  24124. "type": "string"
  24125. },
  24126. "uuid": {
  24127. "description": "发起端唯一id",
  24128. "type": "string"
  24129. },
  24130. "validtime": {
  24131. "description": "有效期限",
  24132. "type": "string"
  24133. },
  24134. "validtype": {
  24135. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24136. "type": "integer"
  24137. },
  24138. "volumetype": {
  24139. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24140. "type": "integer"
  24141. }
  24142. }
  24143. },
  24144. "order.QueryTradeDetailRsp": {
  24145. "type": "object",
  24146. "required": [
  24147. "accountid",
  24148. "buyorsell",
  24149. "goodsid",
  24150. "marketid",
  24151. "memberuserid",
  24152. "orderid",
  24153. "tradeamount",
  24154. "tradedate",
  24155. "tradeid",
  24156. "tradeprice",
  24157. "tradeqty",
  24158. "tradetime"
  24159. ],
  24160. "properties": {
  24161. "accountid": {
  24162. "description": "账户ID[报价币种]",
  24163. "type": "integer"
  24164. },
  24165. "buildtype": {
  24166. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24167. "type": "integer"
  24168. },
  24169. "buyorsell": {
  24170. "description": "方向 - 0:买 1:卖",
  24171. "type": "integer"
  24172. },
  24173. "charge": {
  24174. "description": "手续费",
  24175. "type": "number"
  24176. },
  24177. "closecharge": {
  24178. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24179. "type": "number"
  24180. },
  24181. "closeexchagechargevalue": {
  24182. "description": "平仓交易所手续费设置值",
  24183. "type": "number"
  24184. },
  24185. "closefeealgorithm": {
  24186. "description": "平仓手续费收取方式 1:比率 2:固定",
  24187. "type": "integer"
  24188. },
  24189. "closememberchargevalue": {
  24190. "description": "平仓会员手续费设置值",
  24191. "type": "number"
  24192. },
  24193. "closepl": {
  24194. "description": "平仓盈亏",
  24195. "type": "number"
  24196. },
  24197. "closepl2": {
  24198. "description": "平仓盈亏[逐笔]",
  24199. "type": "number"
  24200. },
  24201. "closeqty": {
  24202. "description": "平仓数量(先建后平操作 需要记录)",
  24203. "type": "integer"
  24204. },
  24205. "creditamount": {
  24206. "description": "授信金额",
  24207. "type": "number"
  24208. },
  24209. "gcaccountid": {
  24210. "description": "账户ID[合约币种]",
  24211. "type": "integer"
  24212. },
  24213. "goodscode": {
  24214. "description": "商品代码",
  24215. "type": "string"
  24216. },
  24217. "goodsid": {
  24218. "description": "商品ID",
  24219. "type": "integer"
  24220. },
  24221. "goodsname": {
  24222. "description": "商品名称",
  24223. "type": "string"
  24224. },
  24225. "intclosepl": {
  24226. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24227. "type": "integer"
  24228. },
  24229. "isconfirmexercise": {
  24230. "description": "是否确认行权- 0:否 1:是",
  24231. "type": "integer"
  24232. },
  24233. "ismain": {
  24234. "description": "是否主单 - 0:不是 1:是",
  24235. "type": "integer"
  24236. },
  24237. "ispreexercise": {
  24238. "description": "是否预申报- 0:否 1:是",
  24239. "type": "integer"
  24240. },
  24241. "isreckoned": {
  24242. "description": "是否结算 - 0:未结算 1:已结算",
  24243. "type": "integer"
  24244. },
  24245. "listingselecttype": {
  24246. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24247. "type": "integer"
  24248. },
  24249. "marketid": {
  24250. "description": "市场ID",
  24251. "type": "integer"
  24252. },
  24253. "marketname": {
  24254. "description": "市场名称",
  24255. "type": "string"
  24256. },
  24257. "matchaccountid": {
  24258. "description": "对手账号id",
  24259. "type": "integer"
  24260. },
  24261. "memberuserid": {
  24262. "description": "会员id 个人投资者 需要填写",
  24263. "type": "integer"
  24264. },
  24265. "opencharge": {
  24266. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24267. "type": "number"
  24268. },
  24269. "openexchagechargevalue": {
  24270. "description": "建仓交易所手续费设置值",
  24271. "type": "number"
  24272. },
  24273. "openfeealgorithm": {
  24274. "description": "建仓手续费收取方式 1:比率 2:固定",
  24275. "type": "integer"
  24276. },
  24277. "openmemberchargevalue": {
  24278. "description": "建仓会员手续费设置值",
  24279. "type": "number"
  24280. },
  24281. "openqty": {
  24282. "description": "开仓数量(先建后平操作 需要记录)",
  24283. "type": "integer"
  24284. },
  24285. "optiontype": {
  24286. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24287. "type": "integer"
  24288. },
  24289. "orderid": {
  24290. "description": "委托单号",
  24291. "type": "string"
  24292. },
  24293. "performanceplanid": {
  24294. "description": "履约计划ID[期权]",
  24295. "type": "integer"
  24296. },
  24297. "performancestatus": {
  24298. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24299. "type": "integer"
  24300. },
  24301. "preexerciseprice": {
  24302. "description": "预申报价格",
  24303. "type": "number"
  24304. },
  24305. "premium": {
  24306. "description": "权利金 - [持仓单的权利金]",
  24307. "type": "number"
  24308. },
  24309. "relatedouttradeid": {
  24310. "description": "关联外部成交单ID",
  24311. "type": "integer"
  24312. },
  24313. "status": {
  24314. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24315. "type": "integer"
  24316. },
  24317. "tradeamount": {
  24318. "description": "成交金额[账户币种,用于所有权]",
  24319. "type": "number"
  24320. },
  24321. "tradedate": {
  24322. "description": "交易日(yyyyMMdd)",
  24323. "type": "string"
  24324. },
  24325. "tradeid": {
  24326. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24327. "type": "string"
  24328. },
  24329. "trademode": {
  24330. "description": "交易模式",
  24331. "type": "integer"
  24332. },
  24333. "tradeprice": {
  24334. "description": "成交价格",
  24335. "type": "number"
  24336. },
  24337. "tradeproperty": {
  24338. "description": "交易属性",
  24339. "type": "integer"
  24340. },
  24341. "tradeqty": {
  24342. "description": "成交数量",
  24343. "type": "integer"
  24344. },
  24345. "tradetime": {
  24346. "description": "成交时间",
  24347. "type": "string"
  24348. },
  24349. "tradetype": {
  24350. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24351. "type": "integer"
  24352. }
  24353. }
  24354. },
  24355. "order.QueryTradeOrderDetailRsp": {
  24356. "type": "object",
  24357. "required": [
  24358. "accountid",
  24359. "buildtype",
  24360. "buyorsell",
  24361. "goodsid",
  24362. "marketid",
  24363. "operatetype",
  24364. "orderqty",
  24365. "ordertime",
  24366. "pricemode",
  24367. "tradedate",
  24368. "validtype"
  24369. ],
  24370. "properties": {
  24371. "accountid": {
  24372. "description": "账户ID[报价币种]",
  24373. "type": "integer"
  24374. },
  24375. "buildtype": {
  24376. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24377. "type": "integer"
  24378. },
  24379. "buyorsell": {
  24380. "description": "买卖 - 0:买 1:卖",
  24381. "type": "integer"
  24382. },
  24383. "cancelorderid": {
  24384. "description": "撤单单号(撤单时填写)",
  24385. "type": "string"
  24386. },
  24387. "cancelqty": {
  24388. "description": "撤单数量",
  24389. "type": "integer"
  24390. },
  24391. "clienttype": {
  24392. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24393. "type": "integer"
  24394. },
  24395. "closefreezecharge": {
  24396. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24397. "type": "number"
  24398. },
  24399. "closeqty": {
  24400. "description": "平仓数量(先建后平操作 需要记录)",
  24401. "type": "integer"
  24402. },
  24403. "closetradeqty": {
  24404. "description": "平仓成交数量(先建后平操作,需要记录)",
  24405. "type": "integer"
  24406. },
  24407. "closeunfreezecharge": {
  24408. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24409. "type": "number"
  24410. },
  24411. "delistingtype": {
  24412. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24413. "type": "integer"
  24414. },
  24415. "enableqty": {
  24416. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  24417. "type": "integer"
  24418. },
  24419. "freezecharge": {
  24420. "description": "冻结手续费",
  24421. "type": "number"
  24422. },
  24423. "freezemargin": {
  24424. "description": "冻结保证金(冻结交易金额)",
  24425. "type": "number"
  24426. },
  24427. "goodscode": {
  24428. "description": "商品代码",
  24429. "type": "string"
  24430. },
  24431. "goodsid": {
  24432. "description": "商品ID",
  24433. "type": "integer"
  24434. },
  24435. "goodsname": {
  24436. "description": "商品名称",
  24437. "type": "string"
  24438. },
  24439. "listingselecttype": {
  24440. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24441. "type": "integer"
  24442. },
  24443. "marketid": {
  24444. "description": "市场ID",
  24445. "type": "integer"
  24446. },
  24447. "marketname": {
  24448. "description": "市场名称",
  24449. "type": "string"
  24450. },
  24451. "openfreezecharge": {
  24452. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24453. "type": "number"
  24454. },
  24455. "openqty": {
  24456. "description": "开仓数量(先建后平操作,需要记录)",
  24457. "type": "integer"
  24458. },
  24459. "opentradeqty": {
  24460. "description": "开仓成交数量(先建后平操作,需要记录)",
  24461. "type": "integer"
  24462. },
  24463. "openunfreezecharge": {
  24464. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24465. "type": "number"
  24466. },
  24467. "operatetype": {
  24468. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24469. "type": "integer"
  24470. },
  24471. "operatorid": {
  24472. "description": "登录账号(LoginID)",
  24473. "type": "integer"
  24474. },
  24475. "orderid": {
  24476. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24477. "type": "string"
  24478. },
  24479. "orderprice": {
  24480. "description": "委托价格",
  24481. "type": "number"
  24482. },
  24483. "orderqty": {
  24484. "description": "委托数量",
  24485. "type": "integer"
  24486. },
  24487. "ordersrc": {
  24488. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24489. "type": "integer"
  24490. },
  24491. "orderstatus": {
  24492. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24493. "type": "integer"
  24494. },
  24495. "ordertime": {
  24496. "description": "委托时间",
  24497. "type": "string"
  24498. },
  24499. "preorderid": {
  24500. "description": "关联预埋单号(止盈止损单时填写)",
  24501. "type": "string"
  24502. },
  24503. "pricemode": {
  24504. "description": "取价方式 - 1:市价 2: 限价",
  24505. "type": "integer"
  24506. },
  24507. "relatedid": {
  24508. "description": "关联单号(交割单)",
  24509. "type": "string"
  24510. },
  24511. "tradedate": {
  24512. "description": "交易日(yyyyMMdd)",
  24513. "type": "string"
  24514. },
  24515. "trademode": {
  24516. "description": "交易模式",
  24517. "type": "integer"
  24518. },
  24519. "tradeqty": {
  24520. "description": "成交数量",
  24521. "type": "integer"
  24522. },
  24523. "unfreezecharge": {
  24524. "description": "解冻手续费",
  24525. "type": "number"
  24526. },
  24527. "unfreezemargin": {
  24528. "description": "解冻保证金",
  24529. "type": "number"
  24530. },
  24531. "validtime": {
  24532. "description": "有效期限",
  24533. "type": "string"
  24534. },
  24535. "validtype": {
  24536. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24537. "type": "integer"
  24538. },
  24539. "volumetype": {
  24540. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24541. "type": "integer"
  24542. }
  24543. }
  24544. },
  24545. "order.QueryTradePositionRsp": {
  24546. "type": "object",
  24547. "required": [
  24548. "goodsid"
  24549. ],
  24550. "properties": {
  24551. "accountid": {
  24552. "description": "资金账户",
  24553. "type": "integer"
  24554. },
  24555. "agreeunit": {
  24556. "description": "合约单位",
  24557. "type": "number"
  24558. },
  24559. "averageprice": {
  24560. "description": "持仓均价",
  24561. "type": "number"
  24562. },
  24563. "buyorsell": {
  24564. "description": "方向 - 0:买 1:卖",
  24565. "type": "integer"
  24566. },
  24567. "closetotalqty": {
  24568. "description": "平仓总数量",
  24569. "type": "integer"
  24570. },
  24571. "curholderamount": {
  24572. "description": "当前持仓总金额[商品币种]",
  24573. "type": "number"
  24574. },
  24575. "curpositionqty": {
  24576. "description": "当前持仓总数量",
  24577. "type": "integer"
  24578. },
  24579. "currencyid": {
  24580. "description": "报价货币ID",
  24581. "type": "integer"
  24582. },
  24583. "curtdposition": {
  24584. "description": "期末今日头寸",
  24585. "type": "integer"
  24586. },
  24587. "decimalplace": {
  24588. "description": "报价小数位",
  24589. "type": "integer"
  24590. },
  24591. "enableqty": {
  24592. "description": "可用量",
  24593. "type": "integer"
  24594. },
  24595. "fretdposition": {
  24596. "description": "冻结今日头寸",
  24597. "type": "integer"
  24598. },
  24599. "frozenqty": {
  24600. "description": "持仓冻结数量",
  24601. "type": "integer"
  24602. },
  24603. "goodscode": {
  24604. "description": "商品代码",
  24605. "type": "string"
  24606. },
  24607. "goodsid": {
  24608. "description": "商品Id",
  24609. "type": "integer"
  24610. },
  24611. "goodsname": {
  24612. "description": "商品名称",
  24613. "type": "string"
  24614. },
  24615. "goodunit": {
  24616. "description": "报价单位",
  24617. "type": "string"
  24618. },
  24619. "goodunitid": {
  24620. "description": "报价单位ID",
  24621. "type": "integer"
  24622. },
  24623. "holderamount": {
  24624. "description": "期初持仓总金额[商品币种]",
  24625. "type": "number"
  24626. },
  24627. "marketid": {
  24628. "description": "所属市场ID",
  24629. "type": "integer"
  24630. },
  24631. "openreqqty": {
  24632. "description": "开仓申请数量(用于比较最大持仓数量)",
  24633. "type": "integer"
  24634. },
  24635. "opentotalqty": {
  24636. "description": "开仓总数量",
  24637. "type": "integer"
  24638. },
  24639. "otherfrozenqty": {
  24640. "description": "持仓其他冻结数量(交割冻结)",
  24641. "type": "integer"
  24642. },
  24643. "positionqty": {
  24644. "description": "期初持仓数量",
  24645. "type": "integer"
  24646. },
  24647. "tnqty": {
  24648. "description": "T+N冻结总量",
  24649. "type": "integer"
  24650. },
  24651. "tnusedqty": {
  24652. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24653. "type": "integer"
  24654. },
  24655. "trademode": {
  24656. "description": "交易模式",
  24657. "type": "integer"
  24658. },
  24659. "usedmargin": {
  24660. "description": "占用保证金[商品币种]",
  24661. "type": "number"
  24662. }
  24663. }
  24664. },
  24665. "quote.HistoryData": {
  24666. "type": "object",
  24667. "properties": {
  24668. "c": {
  24669. "description": "收盘价",
  24670. "type": "number"
  24671. },
  24672. "f": {
  24673. "description": "是否补充数据",
  24674. "type": "boolean"
  24675. },
  24676. "h": {
  24677. "description": "最高价",
  24678. "type": "number"
  24679. },
  24680. "hv": {
  24681. "description": "持仓量",
  24682. "type": "integer"
  24683. },
  24684. "l": {
  24685. "description": "最低价",
  24686. "type": "number"
  24687. },
  24688. "o": {
  24689. "description": "开盘价",
  24690. "type": "number"
  24691. },
  24692. "s": {
  24693. "description": "结算价,日线周期(包括)以上才有",
  24694. "type": "number"
  24695. },
  24696. "ts": {
  24697. "description": "时间",
  24698. "type": "string"
  24699. },
  24700. "tt": {
  24701. "description": "总金额",
  24702. "type": "number"
  24703. },
  24704. "tv": {
  24705. "description": "总量",
  24706. "type": "integer"
  24707. }
  24708. }
  24709. },
  24710. "quote.HistoryTikData": {
  24711. "type": "object",
  24712. "properties": {
  24713. "AV": {
  24714. "description": "卖量",
  24715. "type": "integer"
  24716. },
  24717. "Ask": {
  24718. "description": "卖价",
  24719. "type": "number"
  24720. },
  24721. "BV": {
  24722. "description": "买量",
  24723. "type": "integer"
  24724. },
  24725. "Bid": {
  24726. "description": "买价",
  24727. "type": "number"
  24728. },
  24729. "HI": {
  24730. "description": "单笔持仓",
  24731. "type": "integer"
  24732. },
  24733. "HV": {
  24734. "description": "持仓量",
  24735. "type": "integer"
  24736. },
  24737. "PE": {
  24738. "description": "现价",
  24739. "type": "number"
  24740. },
  24741. "TDR": {
  24742. "description": "交易方向,0:买 1:卖",
  24743. "type": "integer"
  24744. },
  24745. "TK": {
  24746. "description": "交易类型",
  24747. "type": "integer"
  24748. },
  24749. "TS": {
  24750. "description": "行情时间文本",
  24751. "type": "string"
  24752. },
  24753. "TT": {
  24754. "description": "现金额",
  24755. "type": "number"
  24756. },
  24757. "Vol": {
  24758. "description": "现量",
  24759. "type": "integer"
  24760. }
  24761. }
  24762. },
  24763. "quote.QueryQuoteDayRsp": {
  24764. "type": "object",
  24765. "properties": {
  24766. "ask": {
  24767. "description": "卖1",
  24768. "type": "number"
  24769. },
  24770. "ask10": {
  24771. "description": "卖10",
  24772. "type": "number"
  24773. },
  24774. "ask2": {
  24775. "description": "卖2",
  24776. "type": "number"
  24777. },
  24778. "ask3": {
  24779. "description": "卖3",
  24780. "type": "number"
  24781. },
  24782. "ask4": {
  24783. "description": "卖4",
  24784. "type": "number"
  24785. },
  24786. "ask5": {
  24787. "description": "卖5",
  24788. "type": "number"
  24789. },
  24790. "ask6": {
  24791. "description": "卖6",
  24792. "type": "number"
  24793. },
  24794. "ask7": {
  24795. "description": "卖7",
  24796. "type": "number"
  24797. },
  24798. "ask8": {
  24799. "description": "卖8",
  24800. "type": "number"
  24801. },
  24802. "ask9": {
  24803. "description": "卖9",
  24804. "type": "number"
  24805. },
  24806. "askorderid": {
  24807. "description": "卖单号1",
  24808. "type": "integer"
  24809. },
  24810. "askorderid2": {
  24811. "description": "卖单号2",
  24812. "type": "integer"
  24813. },
  24814. "askorderid3": {
  24815. "description": "卖单号3",
  24816. "type": "integer"
  24817. },
  24818. "askorderid4": {
  24819. "description": "卖单号4",
  24820. "type": "integer"
  24821. },
  24822. "askorderid5": {
  24823. "description": "卖单号5",
  24824. "type": "integer"
  24825. },
  24826. "askordervolume": {
  24827. "description": "卖单量1",
  24828. "type": "integer"
  24829. },
  24830. "askordervolume10": {
  24831. "description": "卖单量10",
  24832. "type": "integer"
  24833. },
  24834. "askordervolume2": {
  24835. "description": "卖单量2",
  24836. "type": "integer"
  24837. },
  24838. "askordervolume3": {
  24839. "description": "卖单量3",
  24840. "type": "integer"
  24841. },
  24842. "askordervolume4": {
  24843. "description": "卖单量4",
  24844. "type": "integer"
  24845. },
  24846. "askordervolume5": {
  24847. "description": "卖单量5",
  24848. "type": "integer"
  24849. },
  24850. "askordervolume6": {
  24851. "description": "卖单量6",
  24852. "type": "integer"
  24853. },
  24854. "askordervolume7": {
  24855. "description": "卖单量7",
  24856. "type": "integer"
  24857. },
  24858. "askordervolume8": {
  24859. "description": "卖单量8",
  24860. "type": "integer"
  24861. },
  24862. "askordervolume9": {
  24863. "description": "卖单量9",
  24864. "type": "integer"
  24865. },
  24866. "askqueueinfo": {
  24867. "description": "大利市卖港股用",
  24868. "type": "string"
  24869. },
  24870. "askvolume": {
  24871. "description": "卖量1",
  24872. "type": "integer"
  24873. },
  24874. "askvolume10": {
  24875. "description": "卖量10",
  24876. "type": "integer"
  24877. },
  24878. "askvolume2": {
  24879. "description": "卖量2",
  24880. "type": "integer"
  24881. },
  24882. "askvolume3": {
  24883. "description": "卖量3",
  24884. "type": "integer"
  24885. },
  24886. "askvolume4": {
  24887. "description": "卖量4",
  24888. "type": "integer"
  24889. },
  24890. "askvolume5": {
  24891. "description": "卖量5",
  24892. "type": "integer"
  24893. },
  24894. "askvolume6": {
  24895. "description": "卖量6",
  24896. "type": "integer"
  24897. },
  24898. "askvolume7": {
  24899. "description": "卖量7",
  24900. "type": "integer"
  24901. },
  24902. "askvolume8": {
  24903. "description": "卖量8",
  24904. "type": "integer"
  24905. },
  24906. "askvolume9": {
  24907. "description": "卖量9",
  24908. "type": "integer"
  24909. },
  24910. "averageprice": {
  24911. "description": "均价",
  24912. "type": "number"
  24913. },
  24914. "bid": {
  24915. "description": "买1",
  24916. "type": "number"
  24917. },
  24918. "bid10": {
  24919. "description": "买10",
  24920. "type": "number"
  24921. },
  24922. "bid2": {
  24923. "description": "买2",
  24924. "type": "number"
  24925. },
  24926. "bid3": {
  24927. "description": "买3",
  24928. "type": "number"
  24929. },
  24930. "bid4": {
  24931. "description": "买4",
  24932. "type": "number"
  24933. },
  24934. "bid5": {
  24935. "description": "买5",
  24936. "type": "number"
  24937. },
  24938. "bid6": {
  24939. "description": "买6",
  24940. "type": "number"
  24941. },
  24942. "bid7": {
  24943. "description": "买7",
  24944. "type": "number"
  24945. },
  24946. "bid8": {
  24947. "description": "买8",
  24948. "type": "number"
  24949. },
  24950. "bid9": {
  24951. "description": "买9",
  24952. "type": "number"
  24953. },
  24954. "bidorderid": {
  24955. "description": "买单号1",
  24956. "type": "integer"
  24957. },
  24958. "bidorderid2": {
  24959. "description": "买单号2",
  24960. "type": "integer"
  24961. },
  24962. "bidorderid3": {
  24963. "description": "买单号3",
  24964. "type": "integer"
  24965. },
  24966. "bidorderid4": {
  24967. "description": "买单号4",
  24968. "type": "integer"
  24969. },
  24970. "bidorderid5": {
  24971. "description": "买单号5",
  24972. "type": "integer"
  24973. },
  24974. "bidordervolume": {
  24975. "description": "买单量1",
  24976. "type": "integer"
  24977. },
  24978. "bidordervolume10": {
  24979. "description": "买单量10",
  24980. "type": "integer"
  24981. },
  24982. "bidordervolume2": {
  24983. "description": "买单量2",
  24984. "type": "integer"
  24985. },
  24986. "bidordervolume3": {
  24987. "description": "买单量3",
  24988. "type": "integer"
  24989. },
  24990. "bidordervolume4": {
  24991. "description": "买单量4",
  24992. "type": "integer"
  24993. },
  24994. "bidordervolume5": {
  24995. "description": "买单量5",
  24996. "type": "integer"
  24997. },
  24998. "bidordervolume6": {
  24999. "description": "买单量6",
  25000. "type": "integer"
  25001. },
  25002. "bidordervolume7": {
  25003. "description": "买单量7",
  25004. "type": "integer"
  25005. },
  25006. "bidordervolume8": {
  25007. "description": "买单量8",
  25008. "type": "integer"
  25009. },
  25010. "bidordervolume9": {
  25011. "description": "买单量9",
  25012. "type": "integer"
  25013. },
  25014. "bidqueueinfo": {
  25015. "description": "大利市买港股用",
  25016. "type": "string"
  25017. },
  25018. "bidvolume": {
  25019. "description": "买量1",
  25020. "type": "integer"
  25021. },
  25022. "bidvolume10": {
  25023. "description": "买量10",
  25024. "type": "integer"
  25025. },
  25026. "bidvolume2": {
  25027. "description": "买量2",
  25028. "type": "integer"
  25029. },
  25030. "bidvolume3": {
  25031. "description": "买量3",
  25032. "type": "integer"
  25033. },
  25034. "bidvolume4": {
  25035. "description": "买量4",
  25036. "type": "integer"
  25037. },
  25038. "bidvolume5": {
  25039. "description": "买量5",
  25040. "type": "integer"
  25041. },
  25042. "bidvolume6": {
  25043. "description": "买量6",
  25044. "type": "integer"
  25045. },
  25046. "bidvolume7": {
  25047. "description": "买量7",
  25048. "type": "integer"
  25049. },
  25050. "bidvolume8": {
  25051. "description": "买量8",
  25052. "type": "integer"
  25053. },
  25054. "bidvolume9": {
  25055. "description": "买量9",
  25056. "type": "integer"
  25057. },
  25058. "calloptionpremiums": {
  25059. "description": "认购期权1",
  25060. "type": "integer"
  25061. },
  25062. "calloptionpremiums2": {
  25063. "description": "认购期权2",
  25064. "type": "integer"
  25065. },
  25066. "calloptionpremiums3": {
  25067. "description": "认购期权3",
  25068. "type": "integer"
  25069. },
  25070. "calloptionpremiums4": {
  25071. "description": "认购期权4",
  25072. "type": "integer"
  25073. },
  25074. "calloptionpremiums5": {
  25075. "description": "认购期权5",
  25076. "type": "integer"
  25077. },
  25078. "cleartime": {
  25079. "description": "清盘时间",
  25080. "type": "integer"
  25081. },
  25082. "exchangecode": {
  25083. "description": "交易所代码",
  25084. "type": "integer"
  25085. },
  25086. "exchangedate": {
  25087. "description": "交易日",
  25088. "type": "integer"
  25089. },
  25090. "goodscode": {
  25091. "description": "商品代码",
  25092. "type": "string"
  25093. },
  25094. "grepmarketprice": {
  25095. "description": "暗盘价 港股专用",
  25096. "type": "number"
  25097. },
  25098. "highest": {
  25099. "description": "最高价",
  25100. "type": "number"
  25101. },
  25102. "holdincrement": {
  25103. "description": "单笔持仓",
  25104. "type": "integer"
  25105. },
  25106. "holdvolume": {
  25107. "description": "持仓",
  25108. "type": "integer"
  25109. },
  25110. "iep": {
  25111. "description": "平衡价 港股专用",
  25112. "type": "number"
  25113. },
  25114. "iev": {
  25115. "description": "平衡量 港股专用",
  25116. "type": "number"
  25117. },
  25118. "inventory": {
  25119. "description": "库存",
  25120. "type": "integer"
  25121. },
  25122. "iscleared": {
  25123. "description": "是否清盘标志",
  25124. "type": "integer"
  25125. },
  25126. "issettled": {
  25127. "description": "是否结算标志",
  25128. "type": "integer"
  25129. },
  25130. "last": {
  25131. "description": "最新价",
  25132. "type": "number"
  25133. },
  25134. "lastlot": {
  25135. "description": "最新成交手数",
  25136. "type": "integer"
  25137. },
  25138. "lasttime": {
  25139. "description": "行情时间(只有现价变化行情时间才变化)",
  25140. "type": "string"
  25141. },
  25142. "lastturnover": {
  25143. "description": "最新成交金额",
  25144. "type": "number"
  25145. },
  25146. "lastvolume": {
  25147. "description": "最新成交量",
  25148. "type": "integer"
  25149. },
  25150. "limitdown": {
  25151. "description": "跌停价",
  25152. "type": "number"
  25153. },
  25154. "limitup": {
  25155. "description": "涨停价",
  25156. "type": "number"
  25157. },
  25158. "lowest": {
  25159. "description": "最低价",
  25160. "type": "number"
  25161. },
  25162. "nontotalholdervolume": {
  25163. "description": "非交易持仓量",
  25164. "type": "integer"
  25165. },
  25166. "nontotallot": {
  25167. "description": "非交易总手数",
  25168. "type": "integer"
  25169. },
  25170. "nontotalturnover": {
  25171. "description": "非交易总金额",
  25172. "type": "integer"
  25173. },
  25174. "nontotalvolume": {
  25175. "description": "非交易总量",
  25176. "type": "integer"
  25177. },
  25178. "opened": {
  25179. "description": "开盘价",
  25180. "type": "number"
  25181. },
  25182. "opentime": {
  25183. "description": "开盘时间",
  25184. "type": "string"
  25185. },
  25186. "orderid": {
  25187. "description": "序号",
  25188. "type": "integer"
  25189. },
  25190. "preclose": {
  25191. "description": "昨收",
  25192. "type": "number"
  25193. },
  25194. "preholdvolume": {
  25195. "description": "昨持仓",
  25196. "type": "integer"
  25197. },
  25198. "presettle": {
  25199. "description": "昨结价",
  25200. "type": "number"
  25201. },
  25202. "publictradetype": {
  25203. "description": "公共交易标志类型 港股专用",
  25204. "type": "string"
  25205. },
  25206. "putoptionpremiums": {
  25207. "description": "认沽期权1",
  25208. "type": "integer"
  25209. },
  25210. "putoptionpremiums2": {
  25211. "description": "认沽期权2",
  25212. "type": "integer"
  25213. },
  25214. "putoptionpremiums3": {
  25215. "description": "认沽期权3",
  25216. "type": "integer"
  25217. },
  25218. "putoptionpremiums4": {
  25219. "description": "认沽期权4",
  25220. "type": "integer"
  25221. },
  25222. "putoptionpremiums5": {
  25223. "description": "认沽期权5",
  25224. "type": "integer"
  25225. },
  25226. "settle": {
  25227. "description": "结算价",
  25228. "type": "number"
  25229. },
  25230. "strikeprice": {
  25231. "description": "发行价",
  25232. "type": "number"
  25233. },
  25234. "totalaskvolume": {
  25235. "description": "内盘",
  25236. "type": "integer"
  25237. },
  25238. "totalbidvolume": {
  25239. "description": "外盘",
  25240. "type": "integer"
  25241. },
  25242. "totallot": {
  25243. "description": "总手数",
  25244. "type": "integer"
  25245. },
  25246. "totalturnover": {
  25247. "description": "总金额",
  25248. "type": "number"
  25249. },
  25250. "totalvolume": {
  25251. "description": "总量",
  25252. "type": "integer"
  25253. },
  25254. "utclasttime": {
  25255. "description": "utc的行情时间",
  25256. "type": "string"
  25257. }
  25258. }
  25259. },
  25260. "quote.QueryTSDataRsp": {
  25261. "type": "object",
  25262. "properties": {
  25263. "Count": {
  25264. "description": "交易日应有数据个数",
  25265. "type": "integer"
  25266. },
  25267. "decimalPlace": {
  25268. "description": "小数位",
  25269. "type": "integer"
  25270. },
  25271. "endTime": {
  25272. "description": "结束时间",
  25273. "type": "string"
  25274. },
  25275. "goodsCode": {
  25276. "description": "商品代码",
  25277. "type": "string"
  25278. },
  25279. "historyDatas": {
  25280. "description": "历史数据",
  25281. "type": "array",
  25282. "items": {
  25283. "$ref": "#/definitions/quote.HistoryData"
  25284. }
  25285. },
  25286. "outGoodsCode": {
  25287. "description": "外部商品代码",
  25288. "type": "string"
  25289. },
  25290. "preSettle": {
  25291. "description": "昨结价",
  25292. "type": "number"
  25293. },
  25294. "runSteps": {
  25295. "description": "交易日开休市计划",
  25296. "type": "array",
  25297. "items": {
  25298. "$ref": "#/definitions/quote.TSDataRunStep"
  25299. }
  25300. },
  25301. "startTime": {
  25302. "description": "开始时间",
  25303. "type": "string"
  25304. },
  25305. "tradeDate": {
  25306. "description": "交易日",
  25307. "type": "string"
  25308. }
  25309. }
  25310. },
  25311. "quote.TSDataRunStep": {
  25312. "type": "object",
  25313. "properties": {
  25314. "end": {
  25315. "description": "真实结束时间",
  25316. "type": "string"
  25317. },
  25318. "endflag": {
  25319. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  25320. "type": "integer"
  25321. },
  25322. "endtime": {
  25323. "description": "结束时间(HH:mm)",
  25324. "type": "string"
  25325. },
  25326. "endweekday": {
  25327. "description": "结束周几",
  25328. "type": "integer"
  25329. },
  25330. "groupid": {
  25331. "description": "分组ID",
  25332. "type": "integer"
  25333. },
  25334. "runstep": {
  25335. "description": "运行阶段 - 2:连续交易",
  25336. "type": "integer"
  25337. },
  25338. "sectionid": {
  25339. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  25340. "type": "integer"
  25341. },
  25342. "start": {
  25343. "description": "真实开始时间",
  25344. "type": "string"
  25345. },
  25346. "startflag": {
  25347. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  25348. "type": "integer"
  25349. },
  25350. "starttime": {
  25351. "description": "起始时间(HH:mm)",
  25352. "type": "string"
  25353. },
  25354. "startweekday": {
  25355. "description": "起始周几",
  25356. "type": "integer"
  25357. },
  25358. "tradeweekday": {
  25359. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  25360. "type": "integer"
  25361. }
  25362. }
  25363. },
  25364. "szdz.QueryConvertLogRsp": {
  25365. "type": "object",
  25366. "required": [
  25367. "logid"
  25368. ],
  25369. "properties": {
  25370. "accountid": {
  25371. "description": "资金账户ID",
  25372. "type": "integer"
  25373. },
  25374. "clientticket": {
  25375. "description": "客户端流水号",
  25376. "type": "string"
  25377. },
  25378. "converttype": {
  25379. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  25380. "type": "integer"
  25381. },
  25382. "createtime": {
  25383. "description": "记账时间",
  25384. "type": "string"
  25385. },
  25386. "daymaxvalue": {
  25387. "description": "配置当日最大转入限制",
  25388. "type": "number"
  25389. },
  25390. "daymaxvalue2": {
  25391. "description": "配置当日最大转入限制(转入)",
  25392. "type": "number"
  25393. },
  25394. "goodscode": {
  25395. "description": "商品代码",
  25396. "type": "string"
  25397. },
  25398. "goodsname": {
  25399. "description": "商品名称",
  25400. "type": "string"
  25401. },
  25402. "handlestatus": {
  25403. "description": "处理状态",
  25404. "type": "integer"
  25405. },
  25406. "innergoodsid": {
  25407. "description": "内部商品ID",
  25408. "type": "integer"
  25409. },
  25410. "inratio": {
  25411. "description": "配置转入比值",
  25412. "type": "integer"
  25413. },
  25414. "invalue": {
  25415. "description": "目标值",
  25416. "type": "number"
  25417. },
  25418. "logid": {
  25419. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25420. "type": "integer"
  25421. },
  25422. "mobile": {
  25423. "description": "手机号码(加密存储)",
  25424. "type": "string"
  25425. },
  25426. "outergoodscode": {
  25427. "description": "外部商品代码[JD\\PD]",
  25428. "type": "string"
  25429. },
  25430. "outratio": {
  25431. "description": "配置转出比值",
  25432. "type": "integer"
  25433. },
  25434. "outvalue": {
  25435. "description": "源值",
  25436. "type": "number"
  25437. },
  25438. "pddecimalplace": {
  25439. "description": "PD小数位",
  25440. "type": "integer"
  25441. },
  25442. "qty": {
  25443. "description": "数量",
  25444. "type": "string"
  25445. },
  25446. "remark": {
  25447. "description": "备注",
  25448. "type": "string"
  25449. },
  25450. "sessionid": {
  25451. "description": "会话ID",
  25452. "type": "integer"
  25453. },
  25454. "timemaxvalue": {
  25455. "description": "配置单次最大转入限制",
  25456. "type": "number"
  25457. },
  25458. "timemaxvalue2": {
  25459. "description": "配置单次最大转入限制(转入)",
  25460. "type": "number"
  25461. },
  25462. "timeminvalue": {
  25463. "description": "配置单次最小数量限制",
  25464. "type": "number"
  25465. },
  25466. "timeminvalue2": {
  25467. "description": "配置单次最小数量限制(转入)",
  25468. "type": "number"
  25469. },
  25470. "tradedate": {
  25471. "description": "交易日(yyyyMMdd)",
  25472. "type": "string"
  25473. },
  25474. "userid": {
  25475. "description": "用户ID",
  25476. "type": "integer"
  25477. }
  25478. }
  25479. },
  25480. "szdz.QueryGoodsPickupRsp": {
  25481. "type": "object",
  25482. "required": [
  25483. "takeorderid"
  25484. ],
  25485. "properties": {
  25486. "accountid": {
  25487. "description": "账户ID",
  25488. "type": "integer"
  25489. },
  25490. "address": {
  25491. "description": "提货人详细地址",
  25492. "type": "string"
  25493. },
  25494. "auditer": {
  25495. "description": "审核人",
  25496. "type": "integer"
  25497. },
  25498. "audittime": {
  25499. "description": "审核时间",
  25500. "type": "string"
  25501. },
  25502. "cardnum": {
  25503. "description": "提货人证件号码",
  25504. "type": "string"
  25505. },
  25506. "cardtypeid": {
  25507. "description": "提货人证件类型",
  25508. "type": "integer"
  25509. },
  25510. "checkremark": {
  25511. "description": "审核备注",
  25512. "type": "string"
  25513. },
  25514. "goodscode": {
  25515. "description": "商品代码",
  25516. "type": "string"
  25517. },
  25518. "goodsid": {
  25519. "description": "商品ID",
  25520. "type": "integer"
  25521. },
  25522. "goodsname": {
  25523. "description": "商品名称",
  25524. "type": "string"
  25525. },
  25526. "handlestatus": {
  25527. "description": "处理状态",
  25528. "type": "integer"
  25529. },
  25530. "marketid": {
  25531. "description": "市场ID",
  25532. "type": "integer"
  25533. },
  25534. "phonenum": {
  25535. "description": "提货人联系方式",
  25536. "type": "string"
  25537. },
  25538. "qty": {
  25539. "description": "提货数量",
  25540. "type": "number"
  25541. },
  25542. "recivername": {
  25543. "description": "提货人姓名",
  25544. "type": "string"
  25545. },
  25546. "reqtime": {
  25547. "description": "更新时间",
  25548. "type": "string"
  25549. },
  25550. "takemode": {
  25551. "description": "提货方式 - 2:自提 3:配送",
  25552. "type": "integer"
  25553. },
  25554. "takeorderid": {
  25555. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25556. "type": "string"
  25557. },
  25558. "takeorderstatus": {
  25559. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25560. "type": "integer"
  25561. },
  25562. "takeremark": {
  25563. "description": "提货备注",
  25564. "type": "string"
  25565. },
  25566. "tradedate": {
  25567. "description": "交易日(yyyyMMdd)",
  25568. "type": "string"
  25569. },
  25570. "userid": {
  25571. "description": "用户ID",
  25572. "type": "integer"
  25573. }
  25574. }
  25575. },
  25576. "szdz.QueryRecieptOrderRsp": {
  25577. "type": "object",
  25578. "required": [
  25579. "ordertime"
  25580. ],
  25581. "properties": {
  25582. "accountName": {
  25583. "description": "所属账号名称(已脱敏)",
  25584. "type": "string"
  25585. },
  25586. "accountid": {
  25587. "description": "资金账号",
  25588. "type": "integer"
  25589. },
  25590. "buyorsell": {
  25591. "description": "方向 - 0:买 1:卖",
  25592. "type": "integer"
  25593. },
  25594. "enableqty": {
  25595. "description": "可摘数量",
  25596. "type": "integer"
  25597. },
  25598. "goodscode": {
  25599. "description": "商品代码",
  25600. "type": "string"
  25601. },
  25602. "goodsid": {
  25603. "description": "商品ID",
  25604. "type": "integer"
  25605. },
  25606. "goodsname": {
  25607. "description": "商品名称",
  25608. "type": "string"
  25609. },
  25610. "orderid": {
  25611. "description": "委托单号",
  25612. "type": "string"
  25613. },
  25614. "orderprice": {
  25615. "description": "委托价格",
  25616. "type": "number"
  25617. },
  25618. "ordertime": {
  25619. "description": "委托时间",
  25620. "type": "string"
  25621. },
  25622. "tradedate": {
  25623. "description": "交易日(yyyyMMdd)",
  25624. "type": "string"
  25625. }
  25626. }
  25627. },
  25628. "szdz.QuerySZDZTradePositionRsp": {
  25629. "type": "object",
  25630. "properties": {
  25631. "accountid": {
  25632. "description": "账号Id",
  25633. "type": "integer"
  25634. },
  25635. "agreeunit": {
  25636. "description": "合约单位",
  25637. "type": "number"
  25638. },
  25639. "averageprice": {
  25640. "description": "持仓均价",
  25641. "type": "number"
  25642. },
  25643. "buyorsell": {
  25644. "description": "方向 - 0:买 1:卖",
  25645. "type": "integer"
  25646. },
  25647. "closetotalqty": {
  25648. "description": "平仓总数量",
  25649. "type": "integer"
  25650. },
  25651. "curholderamount": {
  25652. "description": "当前持仓总金额",
  25653. "type": "number"
  25654. },
  25655. "curpositionqty": {
  25656. "description": "当前持仓总数量",
  25657. "type": "integer"
  25658. },
  25659. "currencyid": {
  25660. "description": "报价货币ID",
  25661. "type": "integer"
  25662. },
  25663. "curtdposition": {
  25664. "description": "期末今日头寸",
  25665. "type": "integer"
  25666. },
  25667. "decimalplace": {
  25668. "description": "报价小数位",
  25669. "type": "integer"
  25670. },
  25671. "enableqty": {
  25672. "description": "可用量",
  25673. "type": "integer"
  25674. },
  25675. "fretdposition": {
  25676. "description": "冻结今日头寸",
  25677. "type": "integer"
  25678. },
  25679. "frozenqty": {
  25680. "description": "持仓冻结数量",
  25681. "type": "integer"
  25682. },
  25683. "goodscode": {
  25684. "description": "商品代码(内部)",
  25685. "type": "string"
  25686. },
  25687. "goodsid": {
  25688. "description": "商品Id",
  25689. "type": "integer"
  25690. },
  25691. "goodsname": {
  25692. "description": "商品名称",
  25693. "type": "string"
  25694. },
  25695. "goodunit": {
  25696. "description": "报价单位",
  25697. "type": "string"
  25698. },
  25699. "goodunitid": {
  25700. "description": "报价单位ID",
  25701. "type": "integer"
  25702. },
  25703. "holderamount": {
  25704. "description": "期初持仓总金额",
  25705. "type": "number"
  25706. },
  25707. "marketid": {
  25708. "description": "市场ID",
  25709. "type": "integer"
  25710. },
  25711. "openreqqty": {
  25712. "description": "开仓申请数量",
  25713. "type": "integer"
  25714. },
  25715. "opentotalqty": {
  25716. "description": "开仓总数量",
  25717. "type": "integer"
  25718. },
  25719. "otherfrozenqty": {
  25720. "description": "持仓其他冻结数量(交割冻结)",
  25721. "type": "integer"
  25722. },
  25723. "positionqty": {
  25724. "description": "期初持仓数量",
  25725. "type": "integer"
  25726. },
  25727. "szdz3freezqty": {
  25728. "description": "尚志大宗转换冻结总数量",
  25729. "type": "integer"
  25730. },
  25731. "tnqty": {
  25732. "description": "T+N冻结总量",
  25733. "type": "integer"
  25734. },
  25735. "tnusedqty": {
  25736. "description": "T+N使用量",
  25737. "type": "integer"
  25738. },
  25739. "trademode": {
  25740. "description": "交易模式",
  25741. "type": "integer"
  25742. },
  25743. "usedmargin": {
  25744. "description": "占用保证金",
  25745. "type": "number"
  25746. }
  25747. }
  25748. },
  25749. "taaccount.QueryAmountLogRsp": {
  25750. "type": "object",
  25751. "required": [
  25752. "accountid",
  25753. "amount",
  25754. "amountadjusttype",
  25755. "autoid",
  25756. "balance",
  25757. "createtime",
  25758. "currentbalance",
  25759. "operatetype"
  25760. ],
  25761. "properties": {
  25762. "OPERATETYPENAME": {
  25763. "description": "资金操作类型名称",
  25764. "type": "string"
  25765. },
  25766. "accountid": {
  25767. "description": "资金账户ID",
  25768. "type": "integer"
  25769. },
  25770. "agoodscode": {
  25771. "description": "竞拍商品代码",
  25772. "type": "string"
  25773. },
  25774. "agoodsname": {
  25775. "description": "竞拍商品名称",
  25776. "type": "string"
  25777. },
  25778. "amount": {
  25779. "description": "资金金额",
  25780. "type": "number"
  25781. },
  25782. "amountadjusttype": {
  25783. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25784. "type": "integer"
  25785. },
  25786. "autoid": {
  25787. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25788. "type": "integer"
  25789. },
  25790. "balance": {
  25791. "description": "期初余额",
  25792. "type": "number"
  25793. },
  25794. "businesscode": {
  25795. "description": "业务编号",
  25796. "type": "integer"
  25797. },
  25798. "createtime": {
  25799. "description": "发生时间",
  25800. "type": "string"
  25801. },
  25802. "currencyid": {
  25803. "description": "币种ID",
  25804. "type": "integer"
  25805. },
  25806. "currentbalance": {
  25807. "description": "期末余额(变动后金额)",
  25808. "type": "number"
  25809. },
  25810. "dgoodscode": {
  25811. "description": "交割商品代码",
  25812. "type": "string"
  25813. },
  25814. "dgoodsname": {
  25815. "description": "交割商品名称",
  25816. "type": "string"
  25817. },
  25818. "goodscode": {
  25819. "description": "商品代码",
  25820. "type": "string"
  25821. },
  25822. "goodsid": {
  25823. "description": "商品ID",
  25824. "type": "integer"
  25825. },
  25826. "goodsname": {
  25827. "description": "商品名称",
  25828. "type": "string"
  25829. },
  25830. "marketid": {
  25831. "description": "市场ID",
  25832. "type": "integer"
  25833. },
  25834. "marketname": {
  25835. "description": "市场名称",
  25836. "type": "string"
  25837. },
  25838. "moneyticket": {
  25839. "description": "资金流水号:银行端流水号",
  25840. "type": "integer"
  25841. },
  25842. "operatetype": {
  25843. "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:营销收款",
  25844. "type": "integer"
  25845. },
  25846. "relationorderid": {
  25847. "description": "关联单号",
  25848. "type": "string"
  25849. },
  25850. "remark": {
  25851. "description": "备注",
  25852. "type": "string"
  25853. },
  25854. "trademode": {
  25855. "description": "交易模式",
  25856. "type": "integer"
  25857. }
  25858. }
  25859. },
  25860. "taaccount.QueryHisAmountLogRsp": {
  25861. "type": "object",
  25862. "required": [
  25863. "accountid",
  25864. "amount",
  25865. "amountadjusttype",
  25866. "autoid",
  25867. "balance",
  25868. "createtime",
  25869. "currentbalance",
  25870. "histradedate",
  25871. "operatetype"
  25872. ],
  25873. "properties": {
  25874. "OPERATETYPENAME": {
  25875. "description": "资金操作类型名称",
  25876. "type": "string"
  25877. },
  25878. "accountid": {
  25879. "description": "资金账户ID",
  25880. "type": "integer"
  25881. },
  25882. "agoodscode": {
  25883. "description": "竞拍商品代码",
  25884. "type": "string"
  25885. },
  25886. "agoodsname": {
  25887. "description": "竞拍商品名称",
  25888. "type": "string"
  25889. },
  25890. "amount": {
  25891. "description": "资金金额",
  25892. "type": "number"
  25893. },
  25894. "amountadjusttype": {
  25895. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25896. "type": "integer"
  25897. },
  25898. "autoid": {
  25899. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25900. "type": "integer"
  25901. },
  25902. "balance": {
  25903. "description": "期初余额",
  25904. "type": "number"
  25905. },
  25906. "businesscode": {
  25907. "description": "业务编号",
  25908. "type": "integer"
  25909. },
  25910. "createtime": {
  25911. "description": "发生时间",
  25912. "type": "string"
  25913. },
  25914. "currencyid": {
  25915. "description": "币种ID",
  25916. "type": "integer"
  25917. },
  25918. "currentbalance": {
  25919. "description": "期末余额(变动后金额)",
  25920. "type": "number"
  25921. },
  25922. "dgoodscode": {
  25923. "description": "交割商品代码",
  25924. "type": "string"
  25925. },
  25926. "dgoodsname": {
  25927. "description": "交割商品名称",
  25928. "type": "string"
  25929. },
  25930. "goodscode": {
  25931. "description": "商品代码",
  25932. "type": "string"
  25933. },
  25934. "goodsid": {
  25935. "description": "商品ID",
  25936. "type": "integer"
  25937. },
  25938. "goodsname": {
  25939. "description": "商品名称",
  25940. "type": "string"
  25941. },
  25942. "histradedate": {
  25943. "description": "历史交易日",
  25944. "type": "string"
  25945. },
  25946. "isvaliddata": {
  25947. "description": "是否有效 - 0:无效 1:有效",
  25948. "type": "integer"
  25949. },
  25950. "marketid": {
  25951. "description": "市场ID",
  25952. "type": "integer"
  25953. },
  25954. "marketname": {
  25955. "description": "市场名称",
  25956. "type": "string"
  25957. },
  25958. "moneyticket": {
  25959. "description": "资金流水号:银行端流水号",
  25960. "type": "integer"
  25961. },
  25962. "operatetype": {
  25963. "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:营销收款",
  25964. "type": "integer"
  25965. },
  25966. "relationorderid": {
  25967. "description": "关联单号",
  25968. "type": "string"
  25969. },
  25970. "remark": {
  25971. "description": "备注",
  25972. "type": "string"
  25973. },
  25974. "trademode": {
  25975. "description": "交易模式",
  25976. "type": "integer"
  25977. }
  25978. }
  25979. },
  25980. "trade.QueryRecieptOrderRsp": {
  25981. "type": "object",
  25982. "required": [
  25983. "ordertime"
  25984. ],
  25985. "properties": {
  25986. "accountName": {
  25987. "description": "所属账号名称(已脱敏)",
  25988. "type": "string"
  25989. },
  25990. "accountid": {
  25991. "description": "资金账号",
  25992. "type": "integer"
  25993. },
  25994. "buyorsell": {
  25995. "description": "方向 - 0:买 1:卖",
  25996. "type": "integer"
  25997. },
  25998. "enableqty": {
  25999. "description": "可摘数量",
  26000. "type": "integer"
  26001. },
  26002. "goodscode": {
  26003. "description": "商品代码",
  26004. "type": "string"
  26005. },
  26006. "goodsid": {
  26007. "description": "商品ID",
  26008. "type": "integer"
  26009. },
  26010. "goodsname": {
  26011. "description": "商品名称",
  26012. "type": "string"
  26013. },
  26014. "orderid": {
  26015. "description": "委托单号",
  26016. "type": "string"
  26017. },
  26018. "orderprice": {
  26019. "description": "委托价格",
  26020. "type": "number"
  26021. },
  26022. "ordertime": {
  26023. "description": "委托时间",
  26024. "type": "string"
  26025. },
  26026. "tradedate": {
  26027. "description": "交易日(yyyyMMdd)",
  26028. "type": "string"
  26029. }
  26030. }
  26031. },
  26032. "user.LoginQueryRsp": {
  26033. "type": "object",
  26034. "properties": {
  26035. "externalExchanges": {
  26036. "description": "外部交易所",
  26037. "type": "array",
  26038. "items": {
  26039. "$ref": "#/definitions/models.Externalexchange"
  26040. }
  26041. },
  26042. "goodsgroups": {
  26043. "description": "商品组",
  26044. "type": "array",
  26045. "items": {
  26046. "$ref": "#/definitions/models.Goodsgroup"
  26047. }
  26048. },
  26049. "loginAccount": {
  26050. "description": "登录账号",
  26051. "type": "object",
  26052. "$ref": "#/definitions/models.Loginaccount"
  26053. },
  26054. "markets": {
  26055. "description": "市场",
  26056. "type": "array",
  26057. "items": {
  26058. "$ref": "#/definitions/models.Market"
  26059. }
  26060. },
  26061. "systemParams": {
  26062. "description": "系统参数",
  26063. "type": "array",
  26064. "items": {
  26065. "$ref": "#/definitions/models.Systemparam"
  26066. }
  26067. },
  26068. "userAccount": {
  26069. "description": "用户账号",
  26070. "type": "object",
  26071. "$ref": "#/definitions/models.Useraccount"
  26072. },
  26073. "userInfo": {
  26074. "description": "用户信息",
  26075. "type": "object",
  26076. "$ref": "#/definitions/models.Userinfo"
  26077. },
  26078. "username": {
  26079. "description": "用户姓名",
  26080. "type": "string"
  26081. }
  26082. }
  26083. }
  26084. },
  26085. "securityDefinitions": {
  26086. "ApiKeyAuth": {
  26087. "type": "apiKey",
  26088. "name": "Authorization",
  26089. "in": "header"
  26090. }
  26091. }
  26092. }`
  26093. type swaggerInfo struct {
  26094. Version string
  26095. Host string
  26096. BasePath string
  26097. Schemes []string
  26098. Title string
  26099. Description string
  26100. }
  26101. // SwaggerInfo holds exported Swagger Info so clients can modify it
  26102. var SwaggerInfo = swaggerInfo{
  26103. Version: "1.0",
  26104. Host: "",
  26105. BasePath: "/api",
  26106. Schemes: []string{},
  26107. Title: "MTP2.0 查询服务 API",
  26108. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  26109. }
  26110. type s struct{}
  26111. func (s *s) ReadDoc() string {
  26112. sInfo := SwaggerInfo
  26113. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  26114. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  26115. "marshal": func(v interface{}) string {
  26116. a, _ := json.Marshal(v)
  26117. return string(a)
  26118. },
  26119. }).Parse(doc)
  26120. if err != nil {
  26121. return doc
  26122. }
  26123. var tpl bytes.Buffer
  26124. if err := t.Execute(&tpl, sInfo); err != nil {
  26125. return doc
  26126. }
  26127. return tpl.String()
  26128. }
  26129. func init() {
  26130. swag.Register(swag.Name, &s{})
  26131. }