docs.go 910 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395
  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. "responses": {
  1545. "200": {
  1546. "description": "OK",
  1547. "schema": {
  1548. "type": "array",
  1549. "items": {
  1550. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1551. }
  1552. }
  1553. },
  1554. "500": {
  1555. "description": "Internal Server Error",
  1556. "schema": {
  1557. "$ref": "#/definitions/app.Response"
  1558. }
  1559. }
  1560. }
  1561. }
  1562. },
  1563. "/Ermcp/QueryAccMgrLoginUser": {
  1564. "get": {
  1565. "security": [
  1566. {
  1567. "ApiKeyAuth": []
  1568. }
  1569. ],
  1570. "produces": [
  1571. "application/json"
  1572. ],
  1573. "tags": [
  1574. "企业风险管理(app)"
  1575. ],
  1576. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1577. "parameters": [
  1578. {
  1579. "type": "integer",
  1580. "description": "用户ID",
  1581. "name": "userid",
  1582. "in": "query",
  1583. "required": true
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "type": "array",
  1591. "items": {
  1592. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1593. }
  1594. }
  1595. },
  1596. "500": {
  1597. "description": "Internal Server Error",
  1598. "schema": {
  1599. "$ref": "#/definitions/app.Response"
  1600. }
  1601. }
  1602. }
  1603. }
  1604. },
  1605. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1606. "get": {
  1607. "security": [
  1608. {
  1609. "ApiKeyAuth": []
  1610. }
  1611. ],
  1612. "produces": [
  1613. "application/json"
  1614. ],
  1615. "tags": [
  1616. "企业风险管理(app)"
  1617. ],
  1618. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1619. "parameters": [
  1620. {
  1621. "type": "integer",
  1622. "description": "用户ID",
  1623. "name": "userid",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "integer",
  1628. "description": "主账号id",
  1629. "name": "accountid",
  1630. "in": "query"
  1631. }
  1632. ],
  1633. "responses": {
  1634. "200": {
  1635. "description": "OK",
  1636. "schema": {
  1637. "type": "array",
  1638. "items": {
  1639. "$ref": "#/definitions/models.MainAccountInfo"
  1640. }
  1641. }
  1642. },
  1643. "500": {
  1644. "description": "Internal Server Error",
  1645. "schema": {
  1646. "$ref": "#/definitions/app.Response"
  1647. }
  1648. }
  1649. }
  1650. }
  1651. },
  1652. "/Ermcp/QueryAccMgrRole": {
  1653. "get": {
  1654. "security": [
  1655. {
  1656. "ApiKeyAuth": []
  1657. }
  1658. ],
  1659. "produces": [
  1660. "application/json"
  1661. ],
  1662. "tags": [
  1663. "企业风险管理(app)"
  1664. ],
  1665. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1666. "parameters": [
  1667. {
  1668. "type": "integer",
  1669. "description": "用户ID",
  1670. "name": "userid",
  1671. "in": "query",
  1672. "required": true
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "type": "array",
  1680. "items": {
  1681. "$ref": "#/definitions/models.ErmcpRole"
  1682. }
  1683. }
  1684. },
  1685. "500": {
  1686. "description": "Internal Server Error",
  1687. "schema": {
  1688. "$ref": "#/definitions/app.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/Ermcp/QueryAccMgrRoleMenu": {
  1695. "get": {
  1696. "security": [
  1697. {
  1698. "ApiKeyAuth": []
  1699. }
  1700. ],
  1701. "produces": [
  1702. "application/json"
  1703. ],
  1704. "tags": [
  1705. "企业风险管理(app)"
  1706. ],
  1707. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1708. "parameters": [
  1709. {
  1710. "type": "integer",
  1711. "description": "用户ID",
  1712. "name": "userid",
  1713. "in": "query",
  1714. "required": true
  1715. },
  1716. {
  1717. "type": "string",
  1718. "description": "角色id(可多个,逗号隔开)",
  1719. "name": "roleid",
  1720. "in": "query"
  1721. }
  1722. ],
  1723. "responses": {
  1724. "200": {
  1725. "description": "OK",
  1726. "schema": {
  1727. "type": "array",
  1728. "items": {
  1729. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1730. }
  1731. }
  1732. },
  1733. "500": {
  1734. "description": "Internal Server Error",
  1735. "schema": {
  1736. "$ref": "#/definitions/app.Response"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1743. "get": {
  1744. "security": [
  1745. {
  1746. "ApiKeyAuth": []
  1747. }
  1748. ],
  1749. "produces": [
  1750. "application/json"
  1751. ],
  1752. "tags": [
  1753. "企业风险管理(app)"
  1754. ],
  1755. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1756. "parameters": [
  1757. {
  1758. "type": "integer",
  1759. "description": "用户ID",
  1760. "name": "userid",
  1761. "in": "query",
  1762. "required": true
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "账号id",
  1767. "name": "accountid",
  1768. "in": "query"
  1769. }
  1770. ],
  1771. "responses": {
  1772. "200": {
  1773. "description": "OK",
  1774. "schema": {
  1775. "type": "array",
  1776. "items": {
  1777. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1778. }
  1779. }
  1780. },
  1781. "500": {
  1782. "description": "Internal Server Error",
  1783. "schema": {
  1784. "$ref": "#/definitions/app.Response"
  1785. }
  1786. }
  1787. }
  1788. }
  1789. },
  1790. "/Ermcp/QueryAccMgrTaaccount": {
  1791. "get": {
  1792. "security": [
  1793. {
  1794. "ApiKeyAuth": []
  1795. }
  1796. ],
  1797. "produces": [
  1798. "application/json"
  1799. ],
  1800. "tags": [
  1801. "企业风险管理(app)"
  1802. ],
  1803. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1804. "parameters": [
  1805. {
  1806. "type": "integer",
  1807. "description": "用户ID",
  1808. "name": "userid",
  1809. "in": "query",
  1810. "required": true
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "OK",
  1816. "schema": {
  1817. "type": "array",
  1818. "items": {
  1819. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1820. }
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryAreaStock": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "查询机构库存(库存管理/当前库存)",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "用户ID",
  1850. "name": "userid",
  1851. "in": "query",
  1852. "required": true
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "type": "array",
  1860. "items": {
  1861. "$ref": "#/definitions/models.ErmcpAreaStock"
  1862. }
  1863. }
  1864. },
  1865. "500": {
  1866. "description": "Internal Server Error",
  1867. "schema": {
  1868. "$ref": "#/definitions/app.Response"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "/Ermcp/QueryAreaStockApply": {
  1875. "get": {
  1876. "security": [
  1877. {
  1878. "ApiKeyAuth": []
  1879. }
  1880. ],
  1881. "produces": [
  1882. "application/json"
  1883. ],
  1884. "tags": [
  1885. "企业风险管理(app)"
  1886. ],
  1887. "summary": "查询库存申请(出入库记录|库存审核)",
  1888. "parameters": [
  1889. {
  1890. "type": "integer",
  1891. "description": "用户ID",
  1892. "name": "userid",
  1893. "in": "query",
  1894. "required": true
  1895. },
  1896. {
  1897. "type": "string",
  1898. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1899. "name": "inouttype",
  1900. "in": "query"
  1901. },
  1902. {
  1903. "type": "integer",
  1904. "description": "合同ID",
  1905. "name": "spotcontractid",
  1906. "in": "query"
  1907. },
  1908. {
  1909. "type": "integer",
  1910. "description": "现货商品ID",
  1911. "name": "wrstandardid",
  1912. "in": "query"
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "品牌ID",
  1917. "name": "spotgoodsbrandid",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "型号ID",
  1923. "name": "spotgoodsmodelid",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "仓库ID",
  1929. "name": "warehouseinfoid",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "string",
  1934. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1935. "name": "applystatus",
  1936. "in": "query"
  1937. }
  1938. ],
  1939. "responses": {
  1940. "200": {
  1941. "description": "OK",
  1942. "schema": {
  1943. "type": "array",
  1944. "items": {
  1945. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1946. }
  1947. }
  1948. },
  1949. "500": {
  1950. "description": "Internal Server Error",
  1951. "schema": {
  1952. "$ref": "#/definitions/app.Response"
  1953. }
  1954. }
  1955. }
  1956. }
  1957. },
  1958. "/Ermcp/QueryAreaStockApplySum": {
  1959. "get": {
  1960. "security": [
  1961. {
  1962. "ApiKeyAuth": []
  1963. }
  1964. ],
  1965. "produces": [
  1966. "application/json"
  1967. ],
  1968. "tags": [
  1969. "企业风险管理(app)"
  1970. ],
  1971. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1972. "parameters": [
  1973. {
  1974. "type": "integer",
  1975. "description": "合同ID",
  1976. "name": "spotcontractid",
  1977. "in": "query"
  1978. }
  1979. ],
  1980. "responses": {
  1981. "200": {
  1982. "description": "OK",
  1983. "schema": {
  1984. "type": "array",
  1985. "items": {
  1986. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1987. }
  1988. }
  1989. },
  1990. "500": {
  1991. "description": "Internal Server Error",
  1992. "schema": {
  1993. "$ref": "#/definitions/app.Response"
  1994. }
  1995. }
  1996. }
  1997. }
  1998. },
  1999. "/Ermcp/QueryAreaStockReport": {
  2000. "get": {
  2001. "security": [
  2002. {
  2003. "ApiKeyAuth": []
  2004. }
  2005. ],
  2006. "produces": [
  2007. "application/json"
  2008. ],
  2009. "tags": [
  2010. "企业风险管理(app)"
  2011. ],
  2012. "summary": "查询库存报表",
  2013. "parameters": [
  2014. {
  2015. "type": "integer",
  2016. "description": "用户ID",
  2017. "name": "userid",
  2018. "in": "query",
  2019. "required": true
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "查询类型 1-日报表 2-月报表",
  2024. "name": "querytype",
  2025. "in": "query",
  2026. "required": true
  2027. },
  2028. {
  2029. "type": "string",
  2030. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2031. "name": "querydate",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "integer",
  2037. "description": "现货商品ID",
  2038. "name": "wrstandardid",
  2039. "in": "query"
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "品牌ID",
  2044. "name": "spotgoodsbrandid",
  2045. "in": "query"
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "型号ID",
  2050. "name": "spotgoodsmodelid",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "仓库ID",
  2056. "name": "warehouseinfoid",
  2057. "in": "query"
  2058. }
  2059. ],
  2060. "responses": {
  2061. "200": {
  2062. "description": "OK",
  2063. "schema": {
  2064. "type": "array",
  2065. "items": {
  2066. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2067. }
  2068. }
  2069. },
  2070. "500": {
  2071. "description": "Internal Server Error",
  2072. "schema": {
  2073. "$ref": "#/definitions/app.Response"
  2074. }
  2075. }
  2076. }
  2077. }
  2078. },
  2079. "/Ermcp/QueryAreaStockReportDetail": {
  2080. "get": {
  2081. "security": [
  2082. {
  2083. "ApiKeyAuth": []
  2084. }
  2085. ],
  2086. "produces": [
  2087. "application/json"
  2088. ],
  2089. "tags": [
  2090. "企业风险管理(app)"
  2091. ],
  2092. "summary": "查询库存报表明细",
  2093. "parameters": [
  2094. {
  2095. "type": "integer",
  2096. "description": "用户ID",
  2097. "name": "userid",
  2098. "in": "query",
  2099. "required": true
  2100. },
  2101. {
  2102. "type": "integer",
  2103. "description": "查询类型 1-日报表明细 2-月报表明细",
  2104. "name": "querytype",
  2105. "in": "query",
  2106. "required": true
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2111. "name": "detailtype",
  2112. "in": "query",
  2113. "required": true
  2114. },
  2115. {
  2116. "type": "string",
  2117. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2118. "name": "querydate",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "现货商品ID",
  2125. "name": "wrstandardid",
  2126. "in": "query"
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "品牌ID",
  2131. "name": "spotgoodsbrandid",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "型号ID",
  2137. "name": "spotgoodsmodelid",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "integer",
  2142. "description": "仓库ID",
  2143. "name": "warehouseinfoid",
  2144. "in": "query"
  2145. }
  2146. ],
  2147. "responses": {
  2148. "200": {
  2149. "description": "OK",
  2150. "schema": {
  2151. "type": "array",
  2152. "items": {
  2153. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2154. }
  2155. }
  2156. },
  2157. "500": {
  2158. "description": "Internal Server Error",
  2159. "schema": {
  2160. "$ref": "#/definitions/app.Response"
  2161. }
  2162. }
  2163. }
  2164. }
  2165. },
  2166. "/Ermcp/QueryAvaildGoodsGroup": {
  2167. "get": {
  2168. "security": [
  2169. {
  2170. "ApiKeyAuth": []
  2171. }
  2172. ],
  2173. "produces": [
  2174. "application/json"
  2175. ],
  2176. "tags": [
  2177. "企业风险管理(app)"
  2178. ],
  2179. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2180. "parameters": [
  2181. {
  2182. "type": "integer",
  2183. "description": "所属机构ID",
  2184. "name": "userid",
  2185. "in": "query",
  2186. "required": true
  2187. }
  2188. ],
  2189. "responses": {
  2190. "200": {
  2191. "description": "OK",
  2192. "schema": {
  2193. "type": "array",
  2194. "items": {
  2195. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2196. }
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryBusinessDj": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "用户ID",
  2226. "name": "UserId",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "string",
  2232. "description": "现货合同ID, 不填则查所有",
  2233. "name": "relatedid",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "string",
  2238. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2239. "name": "applystatus",
  2240. "in": "query"
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "type": "array",
  2248. "items": {
  2249. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2250. }
  2251. }
  2252. },
  2253. "500": {
  2254. "description": "Internal Server Error",
  2255. "schema": {
  2256. "$ref": "#/definitions/app.Response"
  2257. }
  2258. }
  2259. }
  2260. }
  2261. },
  2262. "/Ermcp/QueryBusinessFp": {
  2263. "get": {
  2264. "security": [
  2265. {
  2266. "ApiKeyAuth": []
  2267. }
  2268. ],
  2269. "produces": [
  2270. "application/json"
  2271. ],
  2272. "tags": [
  2273. "企业风险管理(app)"
  2274. ],
  2275. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2276. "parameters": [
  2277. {
  2278. "type": "integer",
  2279. "description": "用户ID",
  2280. "name": "UserId",
  2281. "in": "query",
  2282. "required": true
  2283. },
  2284. {
  2285. "type": "string",
  2286. "description": "现货合同ID, 不填则查所有",
  2287. "name": "relatedid",
  2288. "in": "query"
  2289. },
  2290. {
  2291. "type": "string",
  2292. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2293. "name": "applystatus",
  2294. "in": "query"
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryBusinessJs": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2330. "parameters": [
  2331. {
  2332. "type": "integer",
  2333. "description": "用户ID",
  2334. "name": "UserId",
  2335. "in": "query",
  2336. "required": true
  2337. },
  2338. {
  2339. "type": "string",
  2340. "description": "现货合同ID, 不填则查所有",
  2341. "name": "relatedid",
  2342. "in": "query"
  2343. },
  2344. {
  2345. "type": "string",
  2346. "description": "操作申请id",
  2347. "name": "operateapplyid",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2353. "name": "applystatus",
  2354. "in": "query"
  2355. }
  2356. ],
  2357. "responses": {
  2358. "200": {
  2359. "description": "OK",
  2360. "schema": {
  2361. "type": "array",
  2362. "items": {
  2363. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2364. }
  2365. }
  2366. },
  2367. "500": {
  2368. "description": "Internal Server Error",
  2369. "schema": {
  2370. "$ref": "#/definitions/app.Response"
  2371. }
  2372. }
  2373. }
  2374. }
  2375. },
  2376. "/Ermcp/QueryBusinessJsEx": {
  2377. "get": {
  2378. "security": [
  2379. {
  2380. "ApiKeyAuth": []
  2381. }
  2382. ],
  2383. "produces": [
  2384. "application/json"
  2385. ],
  2386. "tags": [
  2387. "企业风险管理(app)"
  2388. ],
  2389. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2390. "parameters": [
  2391. {
  2392. "type": "integer",
  2393. "description": "用户ID",
  2394. "name": "UserId",
  2395. "in": "query",
  2396. "required": true
  2397. },
  2398. {
  2399. "type": "string",
  2400. "description": "现货合同ID, 不填则查所有",
  2401. "name": "relatedid",
  2402. "in": "query"
  2403. },
  2404. {
  2405. "type": "string",
  2406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2407. "name": "applystatus",
  2408. "in": "query"
  2409. }
  2410. ],
  2411. "responses": {
  2412. "200": {
  2413. "description": "OK",
  2414. "schema": {
  2415. "type": "array",
  2416. "items": {
  2417. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2418. }
  2419. }
  2420. },
  2421. "500": {
  2422. "description": "Internal Server Error",
  2423. "schema": {
  2424. "$ref": "#/definitions/app.Response"
  2425. }
  2426. }
  2427. }
  2428. }
  2429. },
  2430. "/Ermcp/QueryBusinessKx": {
  2431. "get": {
  2432. "security": [
  2433. {
  2434. "ApiKeyAuth": []
  2435. }
  2436. ],
  2437. "produces": [
  2438. "application/json"
  2439. ],
  2440. "tags": [
  2441. "企业风险管理(app)"
  2442. ],
  2443. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2444. "parameters": [
  2445. {
  2446. "type": "integer",
  2447. "description": "用户ID",
  2448. "name": "UserId",
  2449. "in": "query",
  2450. "required": true
  2451. },
  2452. {
  2453. "type": "string",
  2454. "description": "现货合同ID, 不填则查所有",
  2455. "name": "relatedid",
  2456. "in": "query"
  2457. },
  2458. {
  2459. "type": "string",
  2460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2461. "name": "applystatus",
  2462. "in": "query"
  2463. }
  2464. ],
  2465. "responses": {
  2466. "200": {
  2467. "description": "OK",
  2468. "schema": {
  2469. "type": "array",
  2470. "items": {
  2471. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2472. }
  2473. }
  2474. },
  2475. "500": {
  2476. "description": "Internal Server Error",
  2477. "schema": {
  2478. "$ref": "#/definitions/app.Response"
  2479. }
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "/Ermcp/QueryChangeLog": {
  2485. "get": {
  2486. "security": [
  2487. {
  2488. "ApiKeyAuth": []
  2489. }
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "企业风险管理(app)"
  2496. ],
  2497. "summary": "查询变更记录",
  2498. "parameters": [
  2499. {
  2500. "type": "string",
  2501. "description": "合同ID",
  2502. "name": "RelatedId",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "type": "array",
  2512. "items": {
  2513. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2514. }
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/Ermcp/QueryContract": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "produces": [
  2534. "application/json"
  2535. ],
  2536. "tags": [
  2537. "企业风险管理(app)"
  2538. ],
  2539. "summary": "查询合同(采购和销售)",
  2540. "parameters": [
  2541. {
  2542. "type": "integer",
  2543. "description": "用户ID",
  2544. "name": "userId",
  2545. "in": "query",
  2546. "required": true
  2547. },
  2548. {
  2549. "type": "integer",
  2550. "description": "合同类型 1-采购, -1-销售",
  2551. "name": "contracttype",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2558. "name": "querytype",
  2559. "in": "query",
  2560. "required": true
  2561. },
  2562. {
  2563. "type": "string",
  2564. "description": "合同ID(SpotContractId)",
  2565. "name": "contractid",
  2566. "in": "query"
  2567. }
  2568. ],
  2569. "responses": {
  2570. "200": {
  2571. "description": "OK",
  2572. "schema": {
  2573. "type": "array",
  2574. "items": {
  2575. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2576. }
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/Ermcp/QueryErmcpHisOrderDetails": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "企业风险管理(app)"
  2600. ],
  2601. "summary": "获取企业风管期货历史委托单信息",
  2602. "parameters": [
  2603. {
  2604. "type": "integer",
  2605. "description": "资金账户ID",
  2606. "name": "accountID",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "string",
  2612. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2613. "name": "startDate",
  2614. "in": "query"
  2615. },
  2616. {
  2617. "type": "string",
  2618. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2619. "name": "endDate",
  2620. "in": "query"
  2621. }
  2622. ],
  2623. "responses": {
  2624. "200": {
  2625. "description": "OK",
  2626. "schema": {
  2627. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2628. }
  2629. },
  2630. "500": {
  2631. "description": "Internal Server Error",
  2632. "schema": {
  2633. "$ref": "#/definitions/app.Response"
  2634. }
  2635. }
  2636. }
  2637. }
  2638. },
  2639. "/Ermcp/QueryErmcpHisTradeDetails": {
  2640. "get": {
  2641. "security": [
  2642. {
  2643. "ApiKeyAuth": []
  2644. }
  2645. ],
  2646. "produces": [
  2647. "application/json"
  2648. ],
  2649. "tags": [
  2650. "企业风险管理(app)"
  2651. ],
  2652. "summary": "获取企业风管期货历史成交单信息",
  2653. "parameters": [
  2654. {
  2655. "type": "integer",
  2656. "description": "资金账户ID",
  2657. "name": "accountID",
  2658. "in": "query",
  2659. "required": true
  2660. },
  2661. {
  2662. "type": "integer",
  2663. "description": "商品ID",
  2664. "name": "goodsID",
  2665. "in": "query"
  2666. },
  2667. {
  2668. "type": "integer",
  2669. "description": "买卖方向,0:买 1:卖",
  2670. "name": "buyOrSell",
  2671. "in": "query"
  2672. },
  2673. {
  2674. "type": "integer",
  2675. "description": "关联委托单号",
  2676. "name": "orderID",
  2677. "in": "query"
  2678. },
  2679. {
  2680. "type": "string",
  2681. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2682. "name": "startDate",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "string",
  2687. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2688. "name": "endDate",
  2689. "in": "query"
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2697. }
  2698. },
  2699. "500": {
  2700. "description": "Internal Server Error",
  2701. "schema": {
  2702. "$ref": "#/definitions/app.Response"
  2703. }
  2704. }
  2705. }
  2706. }
  2707. },
  2708. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2709. "get": {
  2710. "security": [
  2711. {
  2712. "ApiKeyAuth": []
  2713. }
  2714. ],
  2715. "produces": [
  2716. "application/json"
  2717. ],
  2718. "tags": [
  2719. "企业风险管理(app)"
  2720. ],
  2721. "summary": "获取企业风管期货内部持仓单信息",
  2722. "parameters": [
  2723. {
  2724. "type": "integer",
  2725. "description": "资金账户ID",
  2726. "name": "accountID",
  2727. "in": "query",
  2728. "required": true
  2729. },
  2730. {
  2731. "type": "integer",
  2732. "description": "商品ID",
  2733. "name": "goodsID",
  2734. "in": "query"
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "买卖方向,0:买 1:卖",
  2739. "name": "buyOrSell",
  2740. "in": "query"
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryErmcpOrderDetails": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "获取企业风管期货委托单信息",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "资金账户ID",
  2777. "name": "accountID",
  2778. "in": "query",
  2779. "required": true
  2780. }
  2781. ],
  2782. "responses": {
  2783. "200": {
  2784. "description": "OK",
  2785. "schema": {
  2786. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2787. }
  2788. },
  2789. "500": {
  2790. "description": "Internal Server Error",
  2791. "schema": {
  2792. "$ref": "#/definitions/app.Response"
  2793. }
  2794. }
  2795. }
  2796. }
  2797. },
  2798. "/Ermcp/QueryErmcpTradeDetails": {
  2799. "get": {
  2800. "security": [
  2801. {
  2802. "ApiKeyAuth": []
  2803. }
  2804. ],
  2805. "produces": [
  2806. "application/json"
  2807. ],
  2808. "tags": [
  2809. "企业风险管理(app)"
  2810. ],
  2811. "summary": "获取企业风管期货成交单信息",
  2812. "parameters": [
  2813. {
  2814. "type": "integer",
  2815. "description": "资金账户ID",
  2816. "name": "accountID",
  2817. "in": "query",
  2818. "required": true
  2819. },
  2820. {
  2821. "type": "integer",
  2822. "description": "商品ID",
  2823. "name": "goodsID",
  2824. "in": "query"
  2825. },
  2826. {
  2827. "type": "integer",
  2828. "description": "买卖方向,0:买 1:卖",
  2829. "name": "buyOrSell",
  2830. "in": "query"
  2831. },
  2832. {
  2833. "type": "integer",
  2834. "description": "关联委托单号",
  2835. "name": "orderID",
  2836. "in": "query"
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "OK",
  2842. "schema": {
  2843. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryErmcpTradePosition": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "获取企业风管期货持仓头寸信息",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "资金账户ID",
  2874. "name": "accountID",
  2875. "in": "query",
  2876. "required": true
  2877. },
  2878. {
  2879. "type": "integer",
  2880. "description": "所属市场ID",
  2881. "name": "marketID",
  2882. "in": "query"
  2883. }
  2884. ],
  2885. "responses": {
  2886. "200": {
  2887. "description": "OK",
  2888. "schema": {
  2889. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2890. }
  2891. },
  2892. "500": {
  2893. "description": "Internal Server Error",
  2894. "schema": {
  2895. "$ref": "#/definitions/app.Response"
  2896. }
  2897. }
  2898. }
  2899. }
  2900. },
  2901. "/Ermcp/QueryExposureDetail": {
  2902. "get": {
  2903. "security": [
  2904. {
  2905. "ApiKeyAuth": []
  2906. }
  2907. ],
  2908. "produces": [
  2909. "application/json"
  2910. ],
  2911. "tags": [
  2912. "企业风险管理(app)"
  2913. ],
  2914. "summary": "查询敞口现货明细",
  2915. "parameters": [
  2916. {
  2917. "type": "integer",
  2918. "description": "所属机构ID",
  2919. "name": "areaUserId",
  2920. "in": "query",
  2921. "required": true
  2922. },
  2923. {
  2924. "type": "integer",
  2925. "description": "套保商品",
  2926. "name": "middleGoodsId",
  2927. "in": "query",
  2928. "required": true
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryExposureHedgePosition": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构ID",
  2968. "name": "areaUserId",
  2969. "in": "query",
  2970. "required": true
  2971. }
  2972. ],
  2973. "responses": {
  2974. "200": {
  2975. "description": "OK",
  2976. "schema": {
  2977. "type": "array",
  2978. "items": {
  2979. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2980. }
  2981. }
  2982. },
  2983. "500": {
  2984. "description": "Internal Server Error",
  2985. "schema": {
  2986. "$ref": "#/definitions/app.Response"
  2987. }
  2988. }
  2989. }
  2990. }
  2991. },
  2992. "/Ermcp/QueryExposureHedgePositionDetail": {
  2993. "get": {
  2994. "security": [
  2995. {
  2996. "ApiKeyAuth": []
  2997. }
  2998. ],
  2999. "produces": [
  3000. "application/json"
  3001. ],
  3002. "tags": [
  3003. "企业风险管理(app)"
  3004. ],
  3005. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3006. "parameters": [
  3007. {
  3008. "type": "integer",
  3009. "description": "所属机构ID",
  3010. "name": "areaUserId",
  3011. "in": "query",
  3012. "required": true
  3013. },
  3014. {
  3015. "type": "integer",
  3016. "description": "商品id",
  3017. "name": "goodsId",
  3018. "in": "query",
  3019. "required": true
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp/QueryExposureSpot": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理(app)"
  3053. ],
  3054. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "所属机构ID",
  3059. "name": "areaUserId",
  3060. "in": "query",
  3061. "required": true
  3062. }
  3063. ],
  3064. "responses": {
  3065. "200": {
  3066. "description": "OK",
  3067. "schema": {
  3068. "type": "array",
  3069. "items": {
  3070. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3071. }
  3072. }
  3073. },
  3074. "500": {
  3075. "description": "Internal Server Error",
  3076. "schema": {
  3077. "$ref": "#/definitions/app.Response"
  3078. }
  3079. }
  3080. }
  3081. }
  3082. },
  3083. "/Ermcp/QueryExposureSpotDetail": {
  3084. "get": {
  3085. "security": [
  3086. {
  3087. "ApiKeyAuth": []
  3088. }
  3089. ],
  3090. "produces": [
  3091. "application/json"
  3092. ],
  3093. "tags": [
  3094. "企业风险管理(app)"
  3095. ],
  3096. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3097. "parameters": [
  3098. {
  3099. "type": "integer",
  3100. "description": "所属机构ID",
  3101. "name": "areaUserId",
  3102. "in": "query",
  3103. "required": true
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "现货品种ID",
  3108. "name": "wrstandardId",
  3109. "in": "query",
  3110. "required": true
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "OK",
  3116. "schema": {
  3117. "type": "array",
  3118. "items": {
  3119. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3120. }
  3121. }
  3122. },
  3123. "500": {
  3124. "description": "Internal Server Error",
  3125. "schema": {
  3126. "$ref": "#/definitions/app.Response"
  3127. }
  3128. }
  3129. }
  3130. }
  3131. },
  3132. "/Ermcp/QueryFuturesCompany": {
  3133. "get": {
  3134. "security": [
  3135. {
  3136. "ApiKeyAuth": []
  3137. }
  3138. ],
  3139. "produces": [
  3140. "application/json"
  3141. ],
  3142. "tags": [
  3143. "企业风险管理(app)"
  3144. ],
  3145. "summary": "查询期货公司",
  3146. "responses": {
  3147. "200": {
  3148. "description": "OK",
  3149. "schema": {
  3150. "type": "array",
  3151. "items": {
  3152. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3153. }
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Ermcp/QueryGGConvertConfig": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "企业风险管理(app)"
  3177. ],
  3178. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3179. "parameters": [
  3180. {
  3181. "type": "integer",
  3182. "description": "品种id(不填则查所有)",
  3183. "name": "goodsgroupid",
  3184. "in": "query"
  3185. }
  3186. ],
  3187. "responses": {
  3188. "200": {
  3189. "description": "OK",
  3190. "schema": {
  3191. "type": "array",
  3192. "items": {
  3193. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3194. }
  3195. }
  3196. },
  3197. "500": {
  3198. "description": "Internal Server Error",
  3199. "schema": {
  3200. "$ref": "#/definitions/app.Response"
  3201. }
  3202. }
  3203. }
  3204. }
  3205. },
  3206. "/Ermcp/QueryGoodsBrand": {
  3207. "get": {
  3208. "security": [
  3209. {
  3210. "ApiKeyAuth": []
  3211. }
  3212. ],
  3213. "produces": [
  3214. "application/json"
  3215. ],
  3216. "tags": [
  3217. "企业风险管理(app)"
  3218. ],
  3219. "summary": "查询商品品牌",
  3220. "parameters": [
  3221. {
  3222. "type": "integer",
  3223. "description": "用户ID",
  3224. "name": "userid",
  3225. "in": "query",
  3226. "required": true
  3227. },
  3228. {
  3229. "type": "integer",
  3230. "description": "现货商品ID",
  3231. "name": "wrstandardid",
  3232. "in": "query"
  3233. }
  3234. ],
  3235. "responses": {
  3236. "200": {
  3237. "description": "OK",
  3238. "schema": {
  3239. "type": "array",
  3240. "items": {
  3241. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3242. }
  3243. }
  3244. },
  3245. "500": {
  3246. "description": "Internal Server Error",
  3247. "schema": {
  3248. "$ref": "#/definitions/app.Response"
  3249. }
  3250. }
  3251. }
  3252. }
  3253. },
  3254. "/Ermcp/QueryGoodsModel": {
  3255. "get": {
  3256. "security": [
  3257. {
  3258. "ApiKeyAuth": []
  3259. }
  3260. ],
  3261. "produces": [
  3262. "application/json"
  3263. ],
  3264. "tags": [
  3265. "企业风险管理(app)"
  3266. ],
  3267. "summary": "查询商品型号",
  3268. "parameters": [
  3269. {
  3270. "type": "integer",
  3271. "description": "用户ID",
  3272. "name": "userid",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "type": "array",
  3282. "items": {
  3283. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3284. }
  3285. }
  3286. },
  3287. "500": {
  3288. "description": "Internal Server Error",
  3289. "schema": {
  3290. "$ref": "#/definitions/app.Response"
  3291. }
  3292. }
  3293. }
  3294. }
  3295. },
  3296. "/Ermcp/QueryHedgePlan": {
  3297. "get": {
  3298. "security": [
  3299. {
  3300. "ApiKeyAuth": []
  3301. }
  3302. ],
  3303. "produces": [
  3304. "application/json"
  3305. ],
  3306. "tags": [
  3307. "企业风险管理(app)"
  3308. ],
  3309. "summary": "查询套保计划",
  3310. "parameters": [
  3311. {
  3312. "type": "integer",
  3313. "description": "用户ID",
  3314. "name": "userId",
  3315. "in": "query",
  3316. "required": true
  3317. },
  3318. {
  3319. "type": "string",
  3320. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3321. "name": "HedgePlanStatus",
  3322. "in": "query",
  3323. "required": true
  3324. }
  3325. ],
  3326. "responses": {
  3327. "200": {
  3328. "description": "OK",
  3329. "schema": {
  3330. "type": "array",
  3331. "items": {
  3332. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3333. }
  3334. }
  3335. },
  3336. "500": {
  3337. "description": "Internal Server Error",
  3338. "schema": {
  3339. "$ref": "#/definitions/app.Response"
  3340. }
  3341. }
  3342. }
  3343. }
  3344. },
  3345. "/Ermcp/QueryHisExposure": {
  3346. "get": {
  3347. "security": [
  3348. {
  3349. "ApiKeyAuth": []
  3350. }
  3351. ],
  3352. "produces": [
  3353. "application/json"
  3354. ],
  3355. "tags": [
  3356. "企业风险管理(app)"
  3357. ],
  3358. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3359. "parameters": [
  3360. {
  3361. "type": "integer",
  3362. "description": "所属机构ID",
  3363. "name": "areaUserId",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "integer",
  3369. "description": "每个品种记录数",
  3370. "name": "lastNum",
  3371. "in": "query",
  3372. "required": true
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "OK",
  3378. "schema": {
  3379. "type": "array",
  3380. "items": {
  3381. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Internal Server Error",
  3387. "schema": {
  3388. "$ref": "#/definitions/app.Response"
  3389. }
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "/Ermcp/QueryMiddleGoods": {
  3395. "get": {
  3396. "security": [
  3397. {
  3398. "ApiKeyAuth": []
  3399. }
  3400. ],
  3401. "produces": [
  3402. "application/json"
  3403. ],
  3404. "tags": [
  3405. "企业风险管理(app)"
  3406. ],
  3407. "summary": "查询套保品种(菜单:套保品种)",
  3408. "parameters": [
  3409. {
  3410. "type": "integer",
  3411. "description": "所属机构ID",
  3412. "name": "userid",
  3413. "in": "query",
  3414. "required": true
  3415. },
  3416. {
  3417. "type": "integer",
  3418. "description": "状态 0-停用 1-正常",
  3419. "name": "status",
  3420. "in": "query",
  3421. "required": true
  3422. }
  3423. ],
  3424. "responses": {
  3425. "200": {
  3426. "description": "OK",
  3427. "schema": {
  3428. "type": "array",
  3429. "items": {
  3430. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3431. }
  3432. }
  3433. },
  3434. "500": {
  3435. "description": "Internal Server Error",
  3436. "schema": {
  3437. "$ref": "#/definitions/app.Response"
  3438. }
  3439. }
  3440. }
  3441. }
  3442. },
  3443. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3444. "get": {
  3445. "security": [
  3446. {
  3447. "ApiKeyAuth": []
  3448. }
  3449. ],
  3450. "produces": [
  3451. "application/json"
  3452. ],
  3453. "tags": [
  3454. "企业风险管理(app)"
  3455. ],
  3456. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3457. "parameters": [
  3458. {
  3459. "type": "integer",
  3460. "description": "所属机构ID",
  3461. "name": "userid",
  3462. "in": "query",
  3463. "required": true
  3464. },
  3465. {
  3466. "type": "integer",
  3467. "description": "套保品种id",
  3468. "name": "middlegoodsid",
  3469. "in": "query",
  3470. "required": true
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "type": "array",
  3478. "items": {
  3479. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3480. }
  3481. }
  3482. },
  3483. "500": {
  3484. "description": "Internal Server Error",
  3485. "schema": {
  3486. "$ref": "#/definitions/app.Response"
  3487. }
  3488. }
  3489. }
  3490. }
  3491. },
  3492. "/Ermcp/QueryMiddleGoodsDetail": {
  3493. "get": {
  3494. "security": [
  3495. {
  3496. "ApiKeyAuth": []
  3497. }
  3498. ],
  3499. "produces": [
  3500. "application/json"
  3501. ],
  3502. "tags": [
  3503. "企业风险管理(app)"
  3504. ],
  3505. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3506. "parameters": [
  3507. {
  3508. "type": "integer",
  3509. "description": "所属机构ID",
  3510. "name": "userid",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "套保品种id",
  3517. "name": "middlegoodsid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp/QueryPendingAuditInfo": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理(app)"
  3552. ],
  3553. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "UserId",
  3559. "in": "query",
  3560. "required": true
  3561. }
  3562. ],
  3563. "responses": {
  3564. "200": {
  3565. "description": "OK",
  3566. "schema": {
  3567. "type": "array",
  3568. "items": {
  3569. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3570. }
  3571. }
  3572. },
  3573. "500": {
  3574. "description": "Internal Server Error",
  3575. "schema": {
  3576. "$ref": "#/definitions/app.Response"
  3577. }
  3578. }
  3579. }
  3580. }
  3581. },
  3582. "/Ermcp/QueryRealtimeExposure": {
  3583. "get": {
  3584. "security": [
  3585. {
  3586. "ApiKeyAuth": []
  3587. }
  3588. ],
  3589. "produces": [
  3590. "application/json"
  3591. ],
  3592. "tags": [
  3593. "企业风险管理(app)"
  3594. ],
  3595. "summary": "查询实时敞口",
  3596. "parameters": [
  3597. {
  3598. "type": "integer",
  3599. "description": "所属机构ID",
  3600. "name": "AreaUserID",
  3601. "in": "query",
  3602. "required": true
  3603. }
  3604. ],
  3605. "responses": {
  3606. "200": {
  3607. "description": "OK",
  3608. "schema": {
  3609. "type": "array",
  3610. "items": {
  3611. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3612. }
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/app.Response"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/Ermcp/QueryRealtimeExposurePosition": {
  3625. "get": {
  3626. "security": [
  3627. {
  3628. "ApiKeyAuth": []
  3629. }
  3630. ],
  3631. "produces": [
  3632. "application/json"
  3633. ],
  3634. "tags": [
  3635. "企业风险管理(app)"
  3636. ],
  3637. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3638. "parameters": [
  3639. {
  3640. "type": "integer",
  3641. "description": "所属机构ID",
  3642. "name": "areaUserId",
  3643. "in": "query",
  3644. "required": true
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "套保商品ID",
  3649. "name": "middleGoodsId",
  3650. "in": "query",
  3651. "required": true
  3652. }
  3653. ],
  3654. "responses": {
  3655. "200": {
  3656. "description": "OK",
  3657. "schema": {
  3658. "type": "array",
  3659. "items": {
  3660. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3661. }
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/Ermcp/QuerySpotContract": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "produces": [
  3681. "application/json"
  3682. ],
  3683. "tags": [
  3684. "企业风险管理(app)"
  3685. ],
  3686. "summary": "查询现货合同(对应现货合同菜单)",
  3687. "parameters": [
  3688. {
  3689. "type": "integer",
  3690. "description": "用户ID",
  3691. "name": "userId",
  3692. "in": "query",
  3693. "required": true
  3694. },
  3695. {
  3696. "type": "integer",
  3697. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3698. "name": "QueryType",
  3699. "in": "query",
  3700. "required": true
  3701. }
  3702. ],
  3703. "responses": {
  3704. "200": {
  3705. "description": "OK",
  3706. "schema": {
  3707. "type": "array",
  3708. "items": {
  3709. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3710. }
  3711. }
  3712. },
  3713. "500": {
  3714. "description": "Internal Server Error",
  3715. "schema": {
  3716. "$ref": "#/definitions/app.Response"
  3717. }
  3718. }
  3719. }
  3720. }
  3721. },
  3722. "/Ermcp/QuerySpotGoodsPrice": {
  3723. "get": {
  3724. "security": [
  3725. {
  3726. "ApiKeyAuth": []
  3727. }
  3728. ],
  3729. "produces": [
  3730. "application/json"
  3731. ],
  3732. "tags": [
  3733. "企业风险管理(app)"
  3734. ],
  3735. "summary": "查询现货市价(现货市价)",
  3736. "parameters": [
  3737. {
  3738. "type": "integer",
  3739. "description": "用户ID",
  3740. "name": "userid",
  3741. "in": "query",
  3742. "required": true
  3743. }
  3744. ],
  3745. "responses": {
  3746. "200": {
  3747. "description": "OK",
  3748. "schema": {
  3749. "type": "array",
  3750. "items": {
  3751. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3752. }
  3753. }
  3754. },
  3755. "500": {
  3756. "description": "Internal Server Error",
  3757. "schema": {
  3758. "$ref": "#/definitions/app.Response"
  3759. }
  3760. }
  3761. }
  3762. }
  3763. },
  3764. "/Ermcp/QuerySpotGoodsPriceLog": {
  3765. "get": {
  3766. "security": [
  3767. {
  3768. "ApiKeyAuth": []
  3769. }
  3770. ],
  3771. "produces": [
  3772. "application/json"
  3773. ],
  3774. "tags": [
  3775. "企业风险管理(app)"
  3776. ],
  3777. "summary": "查询现货市价详情(现货市价/详情)",
  3778. "parameters": [
  3779. {
  3780. "type": "integer",
  3781. "description": "用户ID",
  3782. "name": "userid",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "integer",
  3788. "description": "现货商品ID",
  3789. "name": "wrstandardid",
  3790. "in": "query",
  3791. "required": true
  3792. }
  3793. ],
  3794. "responses": {
  3795. "200": {
  3796. "description": "OK",
  3797. "schema": {
  3798. "type": "array",
  3799. "items": {
  3800. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3801. }
  3802. }
  3803. },
  3804. "500": {
  3805. "description": "Internal Server Error",
  3806. "schema": {
  3807. "$ref": "#/definitions/app.Response"
  3808. }
  3809. }
  3810. }
  3811. }
  3812. },
  3813. "/Ermcp/QueryTradeConfigTMP": {
  3814. "get": {
  3815. "security": [
  3816. {
  3817. "ApiKeyAuth": []
  3818. }
  3819. ],
  3820. "produces": [
  3821. "application/json"
  3822. ],
  3823. "tags": [
  3824. "企业风险管理(app)"
  3825. ],
  3826. "summary": "查询交易模板配置",
  3827. "parameters": [
  3828. {
  3829. "type": "integer",
  3830. "description": "所属机构id",
  3831. "name": "areauserid",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp/QueryUserInfo": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理(app)"
  3866. ],
  3867. "summary": "查询客户资料",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "所属机构用户ID",
  3872. "name": "MemberUserID",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3879. "name": "queryType",
  3880. "in": "query",
  3881. "required": true
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "OK",
  3887. "schema": {
  3888. "type": "array",
  3889. "items": {
  3890. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3891. }
  3892. }
  3893. },
  3894. "500": {
  3895. "description": "Internal Server Error",
  3896. "schema": {
  3897. "$ref": "#/definitions/app.Response"
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "/Ermcp/QueryWarehouseInfo": {
  3904. "get": {
  3905. "security": [
  3906. {
  3907. "ApiKeyAuth": []
  3908. }
  3909. ],
  3910. "produces": [
  3911. "application/json"
  3912. ],
  3913. "tags": [
  3914. "企业风险管理(app)"
  3915. ],
  3916. "summary": "查询仓库信息",
  3917. "parameters": [
  3918. {
  3919. "type": "integer",
  3920. "description": "用户ID",
  3921. "name": "userid",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "string",
  3927. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3928. "name": "status",
  3929. "in": "query"
  3930. }
  3931. ],
  3932. "responses": {
  3933. "200": {
  3934. "description": "OK",
  3935. "schema": {
  3936. "type": "array",
  3937. "items": {
  3938. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3939. }
  3940. }
  3941. },
  3942. "500": {
  3943. "description": "Internal Server Error",
  3944. "schema": {
  3945. "$ref": "#/definitions/app.Response"
  3946. }
  3947. }
  3948. }
  3949. }
  3950. },
  3951. "/Ermcp/QueryWrStandard": {
  3952. "get": {
  3953. "security": [
  3954. {
  3955. "ApiKeyAuth": []
  3956. }
  3957. ],
  3958. "produces": [
  3959. "application/json"
  3960. ],
  3961. "tags": [
  3962. "企业风险管理(app)"
  3963. ],
  3964. "summary": "查询现货商品",
  3965. "parameters": [
  3966. {
  3967. "type": "integer",
  3968. "description": "所属机构ID",
  3969. "name": "userid",
  3970. "in": "query",
  3971. "required": true
  3972. },
  3973. {
  3974. "type": "integer",
  3975. "description": "状态 0-停用 1-正常",
  3976. "name": "status",
  3977. "in": "query",
  3978. "required": true
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp/QueryWrStandardDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理(app)"
  4012. ],
  4013. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "所属机构ID",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "现货商品ID",
  4025. "name": "wrstandardid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "可不填, 1-查询关联交易商品",
  4031. "name": "goods",
  4032. "in": "query"
  4033. }
  4034. ],
  4035. "responses": {
  4036. "200": {
  4037. "description": "OK",
  4038. "schema": {
  4039. "type": "array",
  4040. "items": {
  4041. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4042. }
  4043. }
  4044. },
  4045. "500": {
  4046. "description": "Internal Server Error",
  4047. "schema": {
  4048. "$ref": "#/definitions/app.Response"
  4049. }
  4050. }
  4051. }
  4052. }
  4053. },
  4054. "/Ermcp3/QryReportAreaSpotPL": {
  4055. "get": {
  4056. "security": [
  4057. {
  4058. "ApiKeyAuth": []
  4059. }
  4060. ],
  4061. "produces": [
  4062. "application/json"
  4063. ],
  4064. "tags": [
  4065. "企业风险管理v3(app)"
  4066. ],
  4067. "summary": "查询现货损益报表(现货损益报表)",
  4068. "parameters": [
  4069. {
  4070. "type": "integer",
  4071. "description": "用户ID",
  4072. "name": "userid",
  4073. "in": "query",
  4074. "required": true
  4075. },
  4076. {
  4077. "type": "integer",
  4078. "description": "查询类型 1-日报表 2-月报表",
  4079. "name": "querytype",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "string",
  4085. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4086. "name": "querydate",
  4087. "in": "query",
  4088. "required": true
  4089. },
  4090. {
  4091. "type": "integer",
  4092. "description": "现货商品ID",
  4093. "name": "deliverygoodsid",
  4094. "in": "query"
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "品牌ID",
  4099. "name": "spotgoodsbrandid",
  4100. "in": "query"
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "品类ID",
  4105. "name": "wrstandardid",
  4106. "in": "query"
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "type": "array",
  4114. "items": {
  4115. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4116. }
  4117. }
  4118. },
  4119. "500": {
  4120. "description": "Internal Server Error",
  4121. "schema": {
  4122. "$ref": "#/definitions/app.Response"
  4123. }
  4124. }
  4125. }
  4126. }
  4127. },
  4128. "/Ermcp3/QryReportDayFinanceFp": {
  4129. "get": {
  4130. "security": [
  4131. {
  4132. "ApiKeyAuth": []
  4133. }
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "企业风险管理v3(app)"
  4140. ],
  4141. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4142. "parameters": [
  4143. {
  4144. "type": "integer",
  4145. "description": "用户ID",
  4146. "name": "userid",
  4147. "in": "query",
  4148. "required": true
  4149. },
  4150. {
  4151. "type": "string",
  4152. "description": "交易日(格式:yyyyMMdd)",
  4153. "name": "tradedate",
  4154. "in": "query",
  4155. "required": true
  4156. }
  4157. ],
  4158. "responses": {
  4159. "200": {
  4160. "description": "OK",
  4161. "schema": {
  4162. "type": "array",
  4163. "items": {
  4164. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4165. }
  4166. }
  4167. },
  4168. "500": {
  4169. "description": "Internal Server Error",
  4170. "schema": {
  4171. "$ref": "#/definitions/app.Response"
  4172. }
  4173. }
  4174. }
  4175. }
  4176. },
  4177. "/Ermcp3/QryReportDayFinanceKx": {
  4178. "get": {
  4179. "security": [
  4180. {
  4181. "ApiKeyAuth": []
  4182. }
  4183. ],
  4184. "produces": [
  4185. "application/json"
  4186. ],
  4187. "tags": [
  4188. "企业风险管理v3(app)"
  4189. ],
  4190. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4191. "parameters": [
  4192. {
  4193. "type": "integer",
  4194. "description": "用户ID",
  4195. "name": "userid",
  4196. "in": "query",
  4197. "required": true
  4198. },
  4199. {
  4200. "type": "string",
  4201. "description": "交易日(格式:yyyyMMdd)",
  4202. "name": "tradedate",
  4203. "in": "query",
  4204. "required": true
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QryReportDaySpot": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "用户ID",
  4244. "name": "userid",
  4245. "in": "query",
  4246. "required": true
  4247. },
  4248. {
  4249. "type": "string",
  4250. "description": "交易日(格式:yyyyMMdd)",
  4251. "name": "tradedate",
  4252. "in": "query",
  4253. "required": true
  4254. }
  4255. ],
  4256. "responses": {
  4257. "200": {
  4258. "description": "OK",
  4259. "schema": {
  4260. "type": "array",
  4261. "items": {
  4262. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4263. }
  4264. }
  4265. },
  4266. "500": {
  4267. "description": "Internal Server Error",
  4268. "schema": {
  4269. "$ref": "#/definitions/app.Response"
  4270. }
  4271. }
  4272. }
  4273. }
  4274. },
  4275. "/Ermcp3/QryReportDaySpotDetail": {
  4276. "get": {
  4277. "security": [
  4278. {
  4279. "ApiKeyAuth": []
  4280. }
  4281. ],
  4282. "produces": [
  4283. "application/json"
  4284. ],
  4285. "tags": [
  4286. "企业风险管理v3(app)"
  4287. ],
  4288. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4289. "parameters": [
  4290. {
  4291. "type": "integer",
  4292. "description": "用户ID",
  4293. "name": "userid",
  4294. "in": "query",
  4295. "required": true
  4296. },
  4297. {
  4298. "type": "integer",
  4299. "description": "现货商品id",
  4300. "name": "deliverygoodsid",
  4301. "in": "query",
  4302. "required": true
  4303. },
  4304. {
  4305. "type": "string",
  4306. "description": "交易日(格式:yyyyMMdd)",
  4307. "name": "tradedate",
  4308. "in": "query",
  4309. "required": true
  4310. }
  4311. ],
  4312. "responses": {
  4313. "200": {
  4314. "description": "OK",
  4315. "schema": {
  4316. "type": "array",
  4317. "items": {
  4318. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4319. }
  4320. }
  4321. },
  4322. "500": {
  4323. "description": "Internal Server Error",
  4324. "schema": {
  4325. "$ref": "#/definitions/app.Response"
  4326. }
  4327. }
  4328. }
  4329. }
  4330. },
  4331. "/Ermcp3/QryReportMonthSpot": {
  4332. "get": {
  4333. "security": [
  4334. {
  4335. "ApiKeyAuth": []
  4336. }
  4337. ],
  4338. "produces": [
  4339. "application/json"
  4340. ],
  4341. "tags": [
  4342. "企业风险管理v3(app)"
  4343. ],
  4344. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4345. "parameters": [
  4346. {
  4347. "type": "integer",
  4348. "description": "用户ID",
  4349. "name": "userid",
  4350. "in": "query",
  4351. "required": true
  4352. },
  4353. {
  4354. "type": "string",
  4355. "description": "周期时间:月(格式:yyyyMM)",
  4356. "name": "cycletime",
  4357. "in": "query",
  4358. "required": true
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "type": "array",
  4366. "items": {
  4367. "$ref": "#/definitions/models.Ermcp3ReportMonSpot"
  4368. }
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/app.Response"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/Ermcp3/QryReportMonthSpotDetail": {
  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": "userid",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "integer",
  4404. "description": "现货商品id",
  4405. "name": "deliverygoodsid",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "string",
  4411. "description": "周期时间:月(格式:yyyyMM)",
  4412. "name": "cycletime",
  4413. "in": "query",
  4414. "required": true
  4415. }
  4416. ],
  4417. "responses": {
  4418. "200": {
  4419. "description": "OK",
  4420. "schema": {
  4421. "type": "array",
  4422. "items": {
  4423. "$ref": "#/definitions/models.Ermcp3ReportDaySpot"
  4424. }
  4425. }
  4426. },
  4427. "500": {
  4428. "description": "Internal Server Error",
  4429. "schema": {
  4430. "$ref": "#/definitions/app.Response"
  4431. }
  4432. }
  4433. }
  4434. }
  4435. },
  4436. "/Ermcp3/QueryAreaStock": {
  4437. "get": {
  4438. "security": [
  4439. {
  4440. "ApiKeyAuth": []
  4441. }
  4442. ],
  4443. "produces": [
  4444. "application/json"
  4445. ],
  4446. "tags": [
  4447. "企业风险管理v3(app)"
  4448. ],
  4449. "summary": "查询机构库存(库存管理/当前库存)",
  4450. "parameters": [
  4451. {
  4452. "type": "integer",
  4453. "description": "用户ID",
  4454. "name": "userid",
  4455. "in": "query",
  4456. "required": true
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QueryAreaStockApply": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询库存申请(出入库记录|库存审核)",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户ID",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "integer",
  4502. "description": "现货商品ID",
  4503. "name": "deliverygoodsid",
  4504. "in": "query"
  4505. },
  4506. {
  4507. "type": "string",
  4508. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4509. "name": "inouttype",
  4510. "in": "query"
  4511. },
  4512. {
  4513. "type": "integer",
  4514. "description": "合同ID",
  4515. "name": "spotcontractid",
  4516. "in": "query"
  4517. },
  4518. {
  4519. "type": "integer",
  4520. "description": "品类ID",
  4521. "name": "wrstandardid",
  4522. "in": "query"
  4523. },
  4524. {
  4525. "type": "integer",
  4526. "description": "品牌ID",
  4527. "name": "spotgoodsbrandid",
  4528. "in": "query"
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "仓库ID",
  4533. "name": "warehouseinfoid",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4539. "name": "applystatus",
  4540. "in": "query"
  4541. }
  4542. ],
  4543. "responses": {
  4544. "200": {
  4545. "description": "OK",
  4546. "schema": {
  4547. "type": "array",
  4548. "items": {
  4549. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4550. }
  4551. }
  4552. },
  4553. "500": {
  4554. "description": "Internal Server Error",
  4555. "schema": {
  4556. "$ref": "#/definitions/app.Response"
  4557. }
  4558. }
  4559. }
  4560. }
  4561. },
  4562. "/Ermcp3/QueryAreaStockApplySum": {
  4563. "get": {
  4564. "security": [
  4565. {
  4566. "ApiKeyAuth": []
  4567. }
  4568. ],
  4569. "produces": [
  4570. "application/json"
  4571. ],
  4572. "tags": [
  4573. "企业风险管理v3(app)"
  4574. ],
  4575. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4576. "parameters": [
  4577. {
  4578. "type": "integer",
  4579. "description": "合同ID",
  4580. "name": "spotcontractid",
  4581. "in": "query"
  4582. }
  4583. ],
  4584. "responses": {
  4585. "200": {
  4586. "description": "OK",
  4587. "schema": {
  4588. "type": "array",
  4589. "items": {
  4590. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4591. }
  4592. }
  4593. },
  4594. "500": {
  4595. "description": "Internal Server Error",
  4596. "schema": {
  4597. "$ref": "#/definitions/app.Response"
  4598. }
  4599. }
  4600. }
  4601. }
  4602. },
  4603. "/Ermcp3/QueryAreaStockReport": {
  4604. "get": {
  4605. "security": [
  4606. {
  4607. "ApiKeyAuth": []
  4608. }
  4609. ],
  4610. "produces": [
  4611. "application/json"
  4612. ],
  4613. "tags": [
  4614. "企业风险管理v3(app)"
  4615. ],
  4616. "summary": "查询库存报表",
  4617. "parameters": [
  4618. {
  4619. "type": "integer",
  4620. "description": "用户ID",
  4621. "name": "userid",
  4622. "in": "query",
  4623. "required": true
  4624. },
  4625. {
  4626. "type": "integer",
  4627. "description": "查询类型 1-日报表 2-月报表",
  4628. "name": "querytype",
  4629. "in": "query",
  4630. "required": true
  4631. },
  4632. {
  4633. "type": "string",
  4634. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4635. "name": "querydate",
  4636. "in": "query",
  4637. "required": true
  4638. },
  4639. {
  4640. "type": "integer",
  4641. "description": "现货商品ID",
  4642. "name": "deliverygoodsid",
  4643. "in": "query"
  4644. },
  4645. {
  4646. "type": "integer",
  4647. "description": "品类ID",
  4648. "name": "wrstandardid",
  4649. "in": "query"
  4650. },
  4651. {
  4652. "type": "integer",
  4653. "description": "品牌ID",
  4654. "name": "spotgoodsbrandid",
  4655. "in": "query"
  4656. },
  4657. {
  4658. "type": "integer",
  4659. "description": "仓库ID",
  4660. "name": "warehouseinfoid",
  4661. "in": "query"
  4662. }
  4663. ],
  4664. "responses": {
  4665. "200": {
  4666. "description": "OK",
  4667. "schema": {
  4668. "type": "array",
  4669. "items": {
  4670. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4671. }
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/Ermcp3/QueryAreaStockReportDetail": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "produces": [
  4691. "application/json"
  4692. ],
  4693. "tags": [
  4694. "企业风险管理v3(app)"
  4695. ],
  4696. "summary": "查询库存报表明细",
  4697. "parameters": [
  4698. {
  4699. "type": "integer",
  4700. "description": "用户ID",
  4701. "name": "userid",
  4702. "in": "query",
  4703. "required": true
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "查询类型 1-日报表明细 2-月报表明细",
  4708. "name": "querytype",
  4709. "in": "query",
  4710. "required": true
  4711. },
  4712. {
  4713. "type": "integer",
  4714. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4715. "name": "detailtype",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4722. "name": "querydate",
  4723. "in": "query",
  4724. "required": true
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "现货商品ID",
  4729. "name": "deliverygoodsid",
  4730. "in": "query"
  4731. },
  4732. {
  4733. "type": "integer",
  4734. "description": "品类ID",
  4735. "name": "wrstandardid",
  4736. "in": "query"
  4737. },
  4738. {
  4739. "type": "integer",
  4740. "description": "品牌ID",
  4741. "name": "spotgoodsbrandid",
  4742. "in": "query"
  4743. },
  4744. {
  4745. "type": "integer",
  4746. "description": "仓库ID",
  4747. "name": "warehouseinfoid",
  4748. "in": "query"
  4749. }
  4750. ],
  4751. "responses": {
  4752. "200": {
  4753. "description": "OK",
  4754. "schema": {
  4755. "type": "array",
  4756. "items": {
  4757. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4758. }
  4759. }
  4760. },
  4761. "500": {
  4762. "description": "Internal Server Error",
  4763. "schema": {
  4764. "$ref": "#/definitions/app.Response"
  4765. }
  4766. }
  4767. }
  4768. }
  4769. },
  4770. "/Ermcp3/QueryDGFactoryItem": {
  4771. "get": {
  4772. "security": [
  4773. {
  4774. "ApiKeyAuth": []
  4775. }
  4776. ],
  4777. "produces": [
  4778. "application/json"
  4779. ],
  4780. "tags": [
  4781. "企业风险管理v3(app)"
  4782. ],
  4783. "summary": "查询品种要素定义项",
  4784. "parameters": [
  4785. {
  4786. "type": "integer",
  4787. "description": "所属机构ID",
  4788. "name": "areauserid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4794. "name": "dgfactoryitemid",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "现货品种ID",
  4800. "name": "deliverygoodsid",
  4801. "in": "query"
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "要素项类型",
  4806. "name": "dgfactoryitemtypeid",
  4807. "in": "query"
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "顺序",
  4812. "name": "orderindex",
  4813. "in": "query"
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "type": "array",
  4821. "items": {
  4822. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4823. }
  4824. }
  4825. },
  4826. "500": {
  4827. "description": "Internal Server Error",
  4828. "schema": {
  4829. "$ref": "#/definitions/app.Response"
  4830. }
  4831. }
  4832. }
  4833. }
  4834. },
  4835. "/Ermcp3/QueryDeliveryGoods": {
  4836. "get": {
  4837. "security": [
  4838. {
  4839. "ApiKeyAuth": []
  4840. }
  4841. ],
  4842. "produces": [
  4843. "application/json"
  4844. ],
  4845. "tags": [
  4846. "企业风险管理v3(app)"
  4847. ],
  4848. "summary": "查询现货商品",
  4849. "parameters": [
  4850. {
  4851. "type": "integer",
  4852. "description": "所属机构id",
  4853. "name": "areauserid",
  4854. "in": "query",
  4855. "required": true
  4856. },
  4857. {
  4858. "type": "integer",
  4859. "description": "排除已配置的现货商品 1-排除",
  4860. "name": "excludecfg",
  4861. "in": "query"
  4862. }
  4863. ],
  4864. "responses": {
  4865. "200": {
  4866. "description": "OK",
  4867. "schema": {
  4868. "type": "array",
  4869. "items": {
  4870. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4871. }
  4872. }
  4873. },
  4874. "500": {
  4875. "description": "Internal Server Error",
  4876. "schema": {
  4877. "$ref": "#/definitions/app.Response"
  4878. }
  4879. }
  4880. }
  4881. }
  4882. },
  4883. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4884. "get": {
  4885. "security": [
  4886. {
  4887. "ApiKeyAuth": []
  4888. }
  4889. ],
  4890. "produces": [
  4891. "application/json"
  4892. ],
  4893. "tags": [
  4894. "企业风险管理v3(app)"
  4895. ],
  4896. "summary": "查询现货商品详情",
  4897. "parameters": [
  4898. {
  4899. "type": "integer",
  4900. "description": "所属机构id",
  4901. "name": "areauserid",
  4902. "in": "query",
  4903. "required": true
  4904. },
  4905. {
  4906. "type": "integer",
  4907. "description": "现货商品id",
  4908. "name": "deliverygoodsid",
  4909. "in": "query"
  4910. },
  4911. {
  4912. "type": "integer",
  4913. "description": "是否查询关联交易商品 1-查询",
  4914. "name": "qrytradegoods",
  4915. "in": "query"
  4916. }
  4917. ],
  4918. "responses": {
  4919. "200": {
  4920. "description": "OK",
  4921. "schema": {
  4922. "type": "array",
  4923. "items": {
  4924. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail"
  4925. }
  4926. }
  4927. },
  4928. "500": {
  4929. "description": "Internal Server Error",
  4930. "schema": {
  4931. "$ref": "#/definitions/app.Response"
  4932. }
  4933. }
  4934. }
  4935. }
  4936. },
  4937. "/Ermcp3/QueryExposureDetail": {
  4938. "get": {
  4939. "security": [
  4940. {
  4941. "ApiKeyAuth": []
  4942. }
  4943. ],
  4944. "produces": [
  4945. "application/json"
  4946. ],
  4947. "tags": [
  4948. "企业风险管理v3(app)"
  4949. ],
  4950. "summary": "查询敞口现货明细",
  4951. "parameters": [
  4952. {
  4953. "type": "integer",
  4954. "description": "所属机构ID",
  4955. "name": "areaUserId",
  4956. "in": "query",
  4957. "required": true
  4958. },
  4959. {
  4960. "type": "integer",
  4961. "description": "套保商品",
  4962. "name": "middleGoodsId",
  4963. "in": "query",
  4964. "required": true
  4965. }
  4966. ],
  4967. "responses": {
  4968. "200": {
  4969. "description": "OK",
  4970. "schema": {
  4971. "type": "array",
  4972. "items": {
  4973. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4974. }
  4975. }
  4976. },
  4977. "500": {
  4978. "description": "Internal Server Error",
  4979. "schema": {
  4980. "$ref": "#/definitions/app.Response"
  4981. }
  4982. }
  4983. }
  4984. }
  4985. },
  4986. "/Ermcp3/QueryExposureSpot": {
  4987. "get": {
  4988. "security": [
  4989. {
  4990. "ApiKeyAuth": []
  4991. }
  4992. ],
  4993. "produces": [
  4994. "application/json"
  4995. ],
  4996. "tags": [
  4997. "企业风险管理v3(app)"
  4998. ],
  4999. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  5000. "parameters": [
  5001. {
  5002. "type": "integer",
  5003. "description": "所属机构ID",
  5004. "name": "areauserid",
  5005. "in": "query",
  5006. "required": true
  5007. }
  5008. ],
  5009. "responses": {
  5010. "200": {
  5011. "description": "OK",
  5012. "schema": {
  5013. "type": "array",
  5014. "items": {
  5015. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  5016. }
  5017. }
  5018. },
  5019. "500": {
  5020. "description": "Internal Server Error",
  5021. "schema": {
  5022. "$ref": "#/definitions/app.Response"
  5023. }
  5024. }
  5025. }
  5026. }
  5027. },
  5028. "/Ermcp3/QueryExposureSpotDetail": {
  5029. "get": {
  5030. "security": [
  5031. {
  5032. "ApiKeyAuth": []
  5033. }
  5034. ],
  5035. "produces": [
  5036. "application/json"
  5037. ],
  5038. "tags": [
  5039. "企业风险管理v3(app)"
  5040. ],
  5041. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5042. "parameters": [
  5043. {
  5044. "type": "integer",
  5045. "description": "所属机构ID",
  5046. "name": "areauserid",
  5047. "in": "query",
  5048. "required": true
  5049. },
  5050. {
  5051. "type": "integer",
  5052. "description": "现货品种ID",
  5053. "name": "deliverygoodsid",
  5054. "in": "query",
  5055. "required": true
  5056. }
  5057. ],
  5058. "responses": {
  5059. "200": {
  5060. "description": "OK",
  5061. "schema": {
  5062. "type": "array",
  5063. "items": {
  5064. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5065. }
  5066. }
  5067. },
  5068. "500": {
  5069. "description": "Internal Server Error",
  5070. "schema": {
  5071. "$ref": "#/definitions/app.Response"
  5072. }
  5073. }
  5074. }
  5075. }
  5076. },
  5077. "/Ermcp3/QueryGoodsGroup": {
  5078. "get": {
  5079. "security": [
  5080. {
  5081. "ApiKeyAuth": []
  5082. }
  5083. ],
  5084. "produces": [
  5085. "application/json"
  5086. ],
  5087. "tags": [
  5088. "企业风险管理v3(app)"
  5089. ],
  5090. "summary": "查询期货商品组",
  5091. "parameters": [
  5092. {
  5093. "type": "integer",
  5094. "description": "所属机构id",
  5095. "name": "areauserid",
  5096. "in": "query",
  5097. "required": true
  5098. },
  5099. {
  5100. "type": "integer",
  5101. "description": "排除套保品中已关联的商品组 1-排除",
  5102. "name": "excludecfg",
  5103. "in": "query"
  5104. }
  5105. ],
  5106. "responses": {
  5107. "200": {
  5108. "description": "OK",
  5109. "schema": {
  5110. "type": "array",
  5111. "items": {
  5112. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  5113. }
  5114. }
  5115. },
  5116. "500": {
  5117. "description": "Internal Server Error",
  5118. "schema": {
  5119. "$ref": "#/definitions/app.Response"
  5120. }
  5121. }
  5122. }
  5123. }
  5124. },
  5125. "/Ermcp3/QueryGoodsWrstandard": {
  5126. "get": {
  5127. "security": [
  5128. {
  5129. "ApiKeyAuth": []
  5130. }
  5131. ],
  5132. "produces": [
  5133. "application/json"
  5134. ],
  5135. "tags": [
  5136. "企业风险管理v3(app)"
  5137. ],
  5138. "summary": "查询商品品类",
  5139. "parameters": [
  5140. {
  5141. "type": "integer",
  5142. "description": "所属机构ID",
  5143. "name": "areauserid",
  5144. "in": "query",
  5145. "required": true
  5146. },
  5147. {
  5148. "type": "integer",
  5149. "description": "现货商品id",
  5150. "name": "deliverygoodsid",
  5151. "in": "query"
  5152. }
  5153. ],
  5154. "responses": {
  5155. "200": {
  5156. "description": "OK",
  5157. "schema": {
  5158. "type": "array",
  5159. "items": {
  5160. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5161. }
  5162. }
  5163. },
  5164. "500": {
  5165. "description": "Internal Server Error",
  5166. "schema": {
  5167. "$ref": "#/definitions/app.Response"
  5168. }
  5169. }
  5170. }
  5171. }
  5172. },
  5173. "/Ermcp3/QueryGoodsbrand": {
  5174. "get": {
  5175. "security": [
  5176. {
  5177. "ApiKeyAuth": []
  5178. }
  5179. ],
  5180. "produces": [
  5181. "application/json"
  5182. ],
  5183. "tags": [
  5184. "企业风险管理v3(app)"
  5185. ],
  5186. "summary": "查询商品品牌",
  5187. "parameters": [
  5188. {
  5189. "type": "integer",
  5190. "description": "所属机构ID",
  5191. "name": "areauserid",
  5192. "in": "query",
  5193. "required": true
  5194. }
  5195. ],
  5196. "responses": {
  5197. "200": {
  5198. "description": "OK",
  5199. "schema": {
  5200. "type": "array",
  5201. "items": {
  5202. "$ref": "#/definitions/models.Ermcp3Brand"
  5203. }
  5204. }
  5205. },
  5206. "500": {
  5207. "description": "Internal Server Error",
  5208. "schema": {
  5209. "$ref": "#/definitions/app.Response"
  5210. }
  5211. }
  5212. }
  5213. }
  5214. },
  5215. "/Ermcp3/QueryHedgePlan": {
  5216. "get": {
  5217. "security": [
  5218. {
  5219. "ApiKeyAuth": []
  5220. }
  5221. ],
  5222. "produces": [
  5223. "application/json"
  5224. ],
  5225. "tags": [
  5226. "企业风险管理v3(app)"
  5227. ],
  5228. "summary": "查询套保计划",
  5229. "parameters": [
  5230. {
  5231. "type": "integer",
  5232. "description": "用户ID",
  5233. "name": "userid",
  5234. "in": "query",
  5235. "required": true
  5236. },
  5237. {
  5238. "type": "string",
  5239. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5240. "name": "hedgeplanstatus",
  5241. "in": "query",
  5242. "required": true
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "所属机构ID",
  5282. "name": "areauserid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  5289. "name": "querytype",
  5290. "in": "query",
  5291. "required": true
  5292. },
  5293. {
  5294. "type": "integer",
  5295. "description": "用户ID",
  5296. "name": "userid",
  5297. "in": "query"
  5298. },
  5299. {
  5300. "type": "integer",
  5301. "description": "用户类型 2-机构 7-企业成员",
  5302. "name": "usertype",
  5303. "in": "query"
  5304. },
  5305. {
  5306. "type": "string",
  5307. "description": "合同ID(SpotContractId)",
  5308. "name": "contractid",
  5309. "in": "query"
  5310. }
  5311. ],
  5312. "responses": {
  5313. "200": {
  5314. "description": "OK",
  5315. "schema": {
  5316. "type": "array",
  5317. "items": {
  5318. "$ref": "#/definitions/models.Ermcp3Contract"
  5319. }
  5320. }
  5321. },
  5322. "500": {
  5323. "description": "Internal Server Error",
  5324. "schema": {
  5325. "$ref": "#/definitions/app.Response"
  5326. }
  5327. }
  5328. }
  5329. }
  5330. },
  5331. "/Ermcp3/QuerySpotContractBS": {
  5332. "get": {
  5333. "security": [
  5334. {
  5335. "ApiKeyAuth": []
  5336. }
  5337. ],
  5338. "produces": [
  5339. "application/json"
  5340. ],
  5341. "tags": [
  5342. "企业风险管理v3(app)"
  5343. ],
  5344. "summary": "查询合同(采购/销售)",
  5345. "parameters": [
  5346. {
  5347. "type": "integer",
  5348. "description": "所属机构ID",
  5349. "name": "areauserid",
  5350. "in": "query",
  5351. "required": true
  5352. },
  5353. {
  5354. "type": "integer",
  5355. "description": "合同类型 1-采购, -1-销售",
  5356. "name": "contracttype",
  5357. "in": "query",
  5358. "required": true
  5359. },
  5360. {
  5361. "type": "integer",
  5362. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5363. "name": "querytype",
  5364. "in": "query",
  5365. "required": true
  5366. },
  5367. {
  5368. "type": "integer",
  5369. "description": "用户ID",
  5370. "name": "userid",
  5371. "in": "query"
  5372. },
  5373. {
  5374. "type": "integer",
  5375. "description": "用户类型 2-机构 7-企业成员",
  5376. "name": "usertype",
  5377. "in": "query"
  5378. },
  5379. {
  5380. "type": "string",
  5381. "description": "合同ID(SpotContractId)",
  5382. "name": "contractid",
  5383. "in": "query"
  5384. }
  5385. ],
  5386. "responses": {
  5387. "200": {
  5388. "description": "OK",
  5389. "schema": {
  5390. "type": "array",
  5391. "items": {
  5392. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5393. }
  5394. }
  5395. },
  5396. "500": {
  5397. "description": "Internal Server Error",
  5398. "schema": {
  5399. "$ref": "#/definitions/app.Response"
  5400. }
  5401. }
  5402. }
  5403. }
  5404. },
  5405. "/Ermcp3/QuerySpotGoodsPrice": {
  5406. "get": {
  5407. "security": [
  5408. {
  5409. "ApiKeyAuth": []
  5410. }
  5411. ],
  5412. "produces": [
  5413. "application/json"
  5414. ],
  5415. "tags": [
  5416. "企业风险管理v3(app)"
  5417. ],
  5418. "summary": "查询现货市价(现货市价)",
  5419. "parameters": [
  5420. {
  5421. "type": "integer",
  5422. "description": "用户ID",
  5423. "name": "userid",
  5424. "in": "query",
  5425. "required": true
  5426. }
  5427. ],
  5428. "responses": {
  5429. "200": {
  5430. "description": "OK",
  5431. "schema": {
  5432. "type": "array",
  5433. "items": {
  5434. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5435. }
  5436. }
  5437. },
  5438. "500": {
  5439. "description": "Internal Server Error",
  5440. "schema": {
  5441. "$ref": "#/definitions/app.Response"
  5442. }
  5443. }
  5444. }
  5445. }
  5446. },
  5447. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5448. "get": {
  5449. "security": [
  5450. {
  5451. "ApiKeyAuth": []
  5452. }
  5453. ],
  5454. "produces": [
  5455. "application/json"
  5456. ],
  5457. "tags": [
  5458. "企业风险管理v3(app)"
  5459. ],
  5460. "summary": "查询现货市价详情(现货市价/详情)",
  5461. "parameters": [
  5462. {
  5463. "type": "integer",
  5464. "description": "用户ID",
  5465. "name": "userid",
  5466. "in": "query",
  5467. "required": true
  5468. },
  5469. {
  5470. "type": "integer",
  5471. "description": "现货商品ID",
  5472. "name": "deliverygoodsid",
  5473. "in": "query",
  5474. "required": true
  5475. }
  5476. ],
  5477. "responses": {
  5478. "200": {
  5479. "description": "OK",
  5480. "schema": {
  5481. "type": "array",
  5482. "items": {
  5483. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5484. }
  5485. }
  5486. },
  5487. "500": {
  5488. "description": "Internal Server Error",
  5489. "schema": {
  5490. "$ref": "#/definitions/app.Response"
  5491. }
  5492. }
  5493. }
  5494. }
  5495. },
  5496. "/Erms2/QueryArbitrageStrategy": {
  5497. "get": {
  5498. "security": [
  5499. {
  5500. "ApiKeyAuth": []
  5501. }
  5502. ],
  5503. "produces": [
  5504. "application/json"
  5505. ],
  5506. "tags": [
  5507. "风险管理"
  5508. ],
  5509. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5510. "parameters": [
  5511. {
  5512. "type": "integer",
  5513. "description": "账户ID",
  5514. "name": "userid",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "商品组ID(品种ID)",
  5521. "name": "goodsgroupid",
  5522. "in": "query"
  5523. }
  5524. ],
  5525. "responses": {
  5526. "200": {
  5527. "description": "OK",
  5528. "schema": {
  5529. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5530. }
  5531. },
  5532. "500": {
  5533. "description": "Internal Server Error",
  5534. "schema": {
  5535. "$ref": "#/definitions/app.Response"
  5536. }
  5537. }
  5538. }
  5539. }
  5540. },
  5541. "/Erms2/QueryInnerTradeDetail": {
  5542. "get": {
  5543. "security": [
  5544. {
  5545. "ApiKeyAuth": []
  5546. }
  5547. ],
  5548. "produces": [
  5549. "application/json"
  5550. ],
  5551. "tags": [
  5552. "风险管理"
  5553. ],
  5554. "summary": "查询内部成交单信息",
  5555. "parameters": [
  5556. {
  5557. "type": "integer",
  5558. "description": "资金账户",
  5559. "name": "accountid",
  5560. "in": "query",
  5561. "required": true
  5562. }
  5563. ],
  5564. "responses": {
  5565. "200": {
  5566. "description": "OK",
  5567. "schema": {
  5568. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5569. }
  5570. },
  5571. "500": {
  5572. "description": "Internal Server Error",
  5573. "schema": {
  5574. "$ref": "#/definitions/app.Response"
  5575. }
  5576. }
  5577. }
  5578. }
  5579. },
  5580. "/Erms2/QuerySpotContract": {
  5581. "get": {
  5582. "security": [
  5583. {
  5584. "ApiKeyAuth": []
  5585. }
  5586. ],
  5587. "produces": [
  5588. "application/json"
  5589. ],
  5590. "tags": [
  5591. "风险管理"
  5592. ],
  5593. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5594. "parameters": [
  5595. {
  5596. "type": "integer",
  5597. "description": "策略申请ID",
  5598. "name": "asapplyid",
  5599. "in": "query",
  5600. "required": true
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "现货合同ID",
  5605. "name": "spotcontractid",
  5606. "in": "query"
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/Erms3/AddErms2ASApply": {
  5626. "post": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "风险管理v3"
  5637. ],
  5638. "summary": "新增期现套利业务申请",
  5639. "parameters": [
  5640. {
  5641. "description": "申请参数",
  5642. "name": "jsonBody",
  5643. "in": "body",
  5644. "required": true,
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5647. }
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/Erms3/AddErms2SpotTradeApply": {
  5667. "post": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "produces": [
  5674. "application/json"
  5675. ],
  5676. "tags": [
  5677. "风险管理v3"
  5678. ],
  5679. "summary": "新增现货贸易业务申请",
  5680. "parameters": [
  5681. {
  5682. "description": "申请参数",
  5683. "name": "jsonBody",
  5684. "in": "body",
  5685. "required": true,
  5686. "schema": {
  5687. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5688. }
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/app.Response"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/Erms3/AddSpotContractApply": {
  5708. "post": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "风险管理v3"
  5719. ],
  5720. "summary": "新增现货合同申请",
  5721. "parameters": [
  5722. {
  5723. "description": "申请参数",
  5724. "name": "jsonBody",
  5725. "in": "body",
  5726. "required": true,
  5727. "schema": {
  5728. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5729. }
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/AddUserInfoApply": {
  5749. "post": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "produces": [
  5756. "application/json"
  5757. ],
  5758. "tags": [
  5759. "风险管理v3"
  5760. ],
  5761. "summary": "新增客户申请",
  5762. "parameters": [
  5763. {
  5764. "description": "用户信息",
  5765. "name": "jsonBody",
  5766. "in": "body",
  5767. "required": true,
  5768. "schema": {
  5769. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5770. }
  5771. }
  5772. ],
  5773. "responses": {
  5774. "200": {
  5775. "description": "OK",
  5776. "schema": {
  5777. "$ref": "#/definitions/app.Response"
  5778. }
  5779. },
  5780. "500": {
  5781. "description": "Internal Server Error",
  5782. "schema": {
  5783. "$ref": "#/definitions/app.Response"
  5784. }
  5785. }
  5786. }
  5787. }
  5788. },
  5789. "/Erms3/ModifyUserInfoApply": {
  5790. "post": {
  5791. "security": [
  5792. {
  5793. "ApiKeyAuth": []
  5794. }
  5795. ],
  5796. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "风险管理v3"
  5802. ],
  5803. "summary": "修改客户申请",
  5804. "parameters": [
  5805. {
  5806. "description": "用户信息",
  5807. "name": "jsonBody",
  5808. "in": "body",
  5809. "required": true,
  5810. "schema": {
  5811. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5812. }
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "$ref": "#/definitions/app.Response"
  5820. }
  5821. },
  5822. "500": {
  5823. "description": "Internal Server Error",
  5824. "schema": {
  5825. "$ref": "#/definitions/app.Response"
  5826. }
  5827. }
  5828. }
  5829. }
  5830. },
  5831. "/Erms3/QueryBusinessInfo": {
  5832. "get": {
  5833. "security": [
  5834. {
  5835. "ApiKeyAuth": []
  5836. }
  5837. ],
  5838. "produces": [
  5839. "application/json"
  5840. ],
  5841. "tags": [
  5842. "风险管理v3"
  5843. ],
  5844. "summary": "查询业务表单数据",
  5845. "parameters": [
  5846. {
  5847. "type": "string",
  5848. "description": "资金账号ID列表,用逗号分隔",
  5849. "name": "accountids",
  5850. "in": "query",
  5851. "required": true
  5852. },
  5853. {
  5854. "type": "integer",
  5855. "description": "状态,0为未结束 1为已结束",
  5856. "name": "status",
  5857. "in": "query",
  5858. "required": true
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "type": "array",
  5866. "items": {
  5867. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5868. }
  5869. }
  5870. },
  5871. "500": {
  5872. "description": "Internal Server Error",
  5873. "schema": {
  5874. "$ref": "#/definitions/app.Response"
  5875. }
  5876. }
  5877. }
  5878. }
  5879. },
  5880. "/Erms3/QueryPendingAuditContract": {
  5881. "get": {
  5882. "security": [
  5883. {
  5884. "ApiKeyAuth": []
  5885. }
  5886. ],
  5887. "produces": [
  5888. "application/json"
  5889. ],
  5890. "tags": [
  5891. "风险管理v3"
  5892. ],
  5893. "summary": "查询待审核合同",
  5894. "parameters": [
  5895. {
  5896. "type": "string",
  5897. "description": "资金账号ID列表,逗号隔开",
  5898. "name": "accountids",
  5899. "in": "query",
  5900. "required": true
  5901. },
  5902. {
  5903. "type": "integer",
  5904. "description": "合同类型 1-采购 -1-销售",
  5905. "name": "contracttype",
  5906. "in": "query",
  5907. "required": true
  5908. },
  5909. {
  5910. "type": "integer",
  5911. "description": "合同模式 1-普通 2-回购",
  5912. "name": "contractmode",
  5913. "in": "query",
  5914. "required": true
  5915. }
  5916. ],
  5917. "responses": {
  5918. "200": {
  5919. "description": "OK",
  5920. "schema": {
  5921. "type": "array",
  5922. "items": {
  5923. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5924. }
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/Erms3/QueryPendingBusiness": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "风险管理v3"
  5948. ],
  5949. "summary": "查询待审核基差贸易业务",
  5950. "parameters": [
  5951. {
  5952. "type": "string",
  5953. "description": "资金账号ID列表,逗号隔开",
  5954. "name": "accountids",
  5955. "in": "query",
  5956. "required": true
  5957. }
  5958. ],
  5959. "responses": {
  5960. "200": {
  5961. "description": "OK",
  5962. "schema": {
  5963. "type": "array",
  5964. "items": {
  5965. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5966. }
  5967. }
  5968. },
  5969. "500": {
  5970. "description": "Internal Server Error",
  5971. "schema": {
  5972. "$ref": "#/definitions/app.Response"
  5973. }
  5974. }
  5975. }
  5976. }
  5977. },
  5978. "/Erms3/QuerySpotContractAppleForm": {
  5979. "get": {
  5980. "security": [
  5981. {
  5982. "ApiKeyAuth": []
  5983. }
  5984. ],
  5985. "produces": [
  5986. "application/json"
  5987. ],
  5988. "tags": [
  5989. "风险管理v3"
  5990. ],
  5991. "summary": "查询合同申请表单数据",
  5992. "parameters": [
  5993. {
  5994. "type": "integer",
  5995. "description": "登录账号",
  5996. "name": "loginID",
  5997. "in": "query",
  5998. "required": true
  5999. }
  6000. ],
  6001. "responses": {
  6002. "200": {
  6003. "description": "OK",
  6004. "schema": {
  6005. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6006. }
  6007. },
  6008. "500": {
  6009. "description": "Internal Server Error",
  6010. "schema": {
  6011. "$ref": "#/definitions/app.Response"
  6012. }
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "/Erms3/QuerySpotContractDetail": {
  6018. "get": {
  6019. "security": [
  6020. {
  6021. "ApiKeyAuth": []
  6022. }
  6023. ],
  6024. "produces": [
  6025. "application/json"
  6026. ],
  6027. "tags": [
  6028. "风险管理v3"
  6029. ],
  6030. "summary": "查询合同详细信息",
  6031. "parameters": [
  6032. {
  6033. "type": "string",
  6034. "description": "资金账号ID列表,用逗号分隔",
  6035. "name": "accountids",
  6036. "in": "query",
  6037. "required": true
  6038. },
  6039. {
  6040. "type": "integer",
  6041. "description": "合同类型,1为采购合同 -1为销售合同",
  6042. "name": "contracttype",
  6043. "in": "query",
  6044. "required": true
  6045. },
  6046. {
  6047. "type": "integer",
  6048. "description": "合同模式,1为普通合同 2为回购销售合同",
  6049. "name": "contractmode",
  6050. "in": "query",
  6051. "required": true
  6052. },
  6053. {
  6054. "type": "integer",
  6055. "description": "状态,0为履约中 1为已完成",
  6056. "name": "status",
  6057. "in": "query",
  6058. "required": true
  6059. }
  6060. ],
  6061. "responses": {
  6062. "200": {
  6063. "description": "OK",
  6064. "schema": {
  6065. "type": "array",
  6066. "items": {
  6067. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6068. }
  6069. }
  6070. },
  6071. "500": {
  6072. "description": "Internal Server Error",
  6073. "schema": {
  6074. "$ref": "#/definitions/app.Response"
  6075. }
  6076. }
  6077. }
  6078. }
  6079. },
  6080. "/Erms3/QueryUserInfoApplies": {
  6081. "get": {
  6082. "security": [
  6083. {
  6084. "ApiKeyAuth": []
  6085. }
  6086. ],
  6087. "produces": [
  6088. "application/json"
  6089. ],
  6090. "tags": [
  6091. "风险管理v3"
  6092. ],
  6093. "summary": "客户申请信息查询",
  6094. "parameters": [
  6095. {
  6096. "type": "integer",
  6097. "description": "页码",
  6098. "name": "page",
  6099. "in": "query"
  6100. },
  6101. {
  6102. "type": "integer",
  6103. "description": "每页条数",
  6104. "name": "pagesize",
  6105. "in": "query"
  6106. },
  6107. {
  6108. "type": "string",
  6109. "description": "客户名称,支持模糊查询",
  6110. "name": "userName",
  6111. "in": "query"
  6112. }
  6113. ],
  6114. "responses": {
  6115. "200": {
  6116. "description": "OK",
  6117. "schema": {
  6118. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6119. }
  6120. },
  6121. "500": {
  6122. "description": "Internal Server Error",
  6123. "schema": {
  6124. "$ref": "#/definitions/app.Response"
  6125. }
  6126. }
  6127. }
  6128. }
  6129. },
  6130. "/Erms3/QueryUserInfos": {
  6131. "get": {
  6132. "security": [
  6133. {
  6134. "ApiKeyAuth": []
  6135. }
  6136. ],
  6137. "produces": [
  6138. "application/json"
  6139. ],
  6140. "tags": [
  6141. "风险管理v3"
  6142. ],
  6143. "summary": "客户信息查询",
  6144. "parameters": [
  6145. {
  6146. "type": "integer",
  6147. "description": "页码",
  6148. "name": "page",
  6149. "in": "query"
  6150. },
  6151. {
  6152. "type": "integer",
  6153. "description": "每页条数",
  6154. "name": "pagesize",
  6155. "in": "query"
  6156. },
  6157. {
  6158. "type": "string",
  6159. "description": "客户名称,支持模糊查询",
  6160. "name": "userName",
  6161. "in": "query"
  6162. }
  6163. ],
  6164. "responses": {
  6165. "200": {
  6166. "description": "OK",
  6167. "schema": {
  6168. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6169. }
  6170. },
  6171. "500": {
  6172. "description": "Internal Server Error",
  6173. "schema": {
  6174. "$ref": "#/definitions/app.Response"
  6175. }
  6176. }
  6177. }
  6178. }
  6179. },
  6180. "/HSBY/GetHsbyMyCount": {
  6181. "get": {
  6182. "security": [
  6183. {
  6184. "ApiKeyAuth": []
  6185. }
  6186. ],
  6187. "description": "说明: 不包括已完成的数量。",
  6188. "produces": [
  6189. "application/json"
  6190. ],
  6191. "tags": [
  6192. "定制【海商报业】"
  6193. ],
  6194. "summary": "获取我的订单与包裹数量",
  6195. "parameters": [
  6196. {
  6197. "type": "string",
  6198. "description": "资金账户列表,格式:1,2,3",
  6199. "name": "accountIDs",
  6200. "in": "query",
  6201. "required": true
  6202. }
  6203. ],
  6204. "responses": {
  6205. "200": {
  6206. "description": "OK",
  6207. "schema": {
  6208. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6209. }
  6210. },
  6211. "500": {
  6212. "description": "Internal Server Error",
  6213. "schema": {
  6214. "$ref": "#/definitions/app.Response"
  6215. }
  6216. }
  6217. }
  6218. }
  6219. },
  6220. "/HSBY/QueryClientFixedADConfigs": {
  6221. "get": {
  6222. "security": [
  6223. {
  6224. "ApiKeyAuth": []
  6225. }
  6226. ],
  6227. "produces": [
  6228. "application/json"
  6229. ],
  6230. "tags": [
  6231. "定制【海商报业】"
  6232. ],
  6233. "summary": "获取终端固定广告配置",
  6234. "responses": {
  6235. "200": {
  6236. "description": "OK",
  6237. "schema": {
  6238. "$ref": "#/definitions/models.Clientfixedadconfig"
  6239. }
  6240. },
  6241. "500": {
  6242. "description": "Internal Server Error",
  6243. "schema": {
  6244. "$ref": "#/definitions/app.Response"
  6245. }
  6246. }
  6247. }
  6248. }
  6249. },
  6250. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6251. "get": {
  6252. "security": [
  6253. {
  6254. "ApiKeyAuth": []
  6255. }
  6256. ],
  6257. "produces": [
  6258. "application/json"
  6259. ],
  6260. "tags": [
  6261. "定制【海商报业】"
  6262. ],
  6263. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6264. "parameters": [
  6265. {
  6266. "type": "integer",
  6267. "description": "页码",
  6268. "name": "page",
  6269. "in": "query"
  6270. },
  6271. {
  6272. "type": "integer",
  6273. "description": "每页条数",
  6274. "name": "pagesize",
  6275. "in": "query"
  6276. },
  6277. {
  6278. "type": "string",
  6279. "description": "资金账户列表,格式:1,2,3",
  6280. "name": "accountIDs",
  6281. "in": "query",
  6282. "required": true
  6283. }
  6284. ],
  6285. "responses": {
  6286. "200": {
  6287. "description": "OK",
  6288. "schema": {
  6289. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6290. }
  6291. },
  6292. "500": {
  6293. "description": "Internal Server Error",
  6294. "schema": {
  6295. "$ref": "#/definitions/app.Response"
  6296. }
  6297. }
  6298. }
  6299. }
  6300. },
  6301. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6302. "get": {
  6303. "security": [
  6304. {
  6305. "ApiKeyAuth": []
  6306. }
  6307. ],
  6308. "description": "说明:查询结果已按委托价格和委托时间排序",
  6309. "produces": [
  6310. "application/json"
  6311. ],
  6312. "tags": [
  6313. "定制【海商报业】"
  6314. ],
  6315. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6316. "parameters": [
  6317. {
  6318. "type": "integer",
  6319. "description": "商品ID",
  6320. "name": "goodsID",
  6321. "in": "query",
  6322. "required": true
  6323. },
  6324. {
  6325. "type": "string",
  6326. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6327. "name": "accountIDs",
  6328. "in": "query"
  6329. },
  6330. {
  6331. "type": "integer",
  6332. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6333. "name": "buyOrSell",
  6334. "in": "query"
  6335. },
  6336. {
  6337. "type": "number",
  6338. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6339. "name": "price",
  6340. "in": "query"
  6341. },
  6342. {
  6343. "type": "integer",
  6344. "description": "档位,不传则默认为3档",
  6345. "name": "speed",
  6346. "in": "query"
  6347. }
  6348. ],
  6349. "responses": {
  6350. "200": {
  6351. "description": "OK",
  6352. "schema": {
  6353. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6354. }
  6355. },
  6356. "500": {
  6357. "description": "Internal Server Error",
  6358. "schema": {
  6359. "$ref": "#/definitions/app.Response"
  6360. }
  6361. }
  6362. }
  6363. }
  6364. },
  6365. "/HSBY/QueryHsbyListingGoodsDetail": {
  6366. "get": {
  6367. "security": [
  6368. {
  6369. "ApiKeyAuth": []
  6370. }
  6371. ],
  6372. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6373. "produces": [
  6374. "application/json"
  6375. ],
  6376. "tags": [
  6377. "定制【海商报业】"
  6378. ],
  6379. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6380. "parameters": [
  6381. {
  6382. "type": "integer",
  6383. "description": "商品ID",
  6384. "name": "goodsID",
  6385. "in": "query",
  6386. "required": true
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6391. "name": "accountID",
  6392. "in": "query"
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "定制【海商报业】"
  6423. ],
  6424. "summary": "查询三级市场(商城)商品信息详情",
  6425. "parameters": [
  6426. {
  6427. "type": "integer",
  6428. "description": "委托单号",
  6429. "name": "orderID",
  6430. "in": "query",
  6431. "required": true
  6432. },
  6433. {
  6434. "type": "integer",
  6435. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6436. "name": "accountID",
  6437. "in": "query"
  6438. }
  6439. ],
  6440. "responses": {
  6441. "200": {
  6442. "description": "OK",
  6443. "schema": {
  6444. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6445. }
  6446. },
  6447. "500": {
  6448. "description": "Internal Server Error",
  6449. "schema": {
  6450. "$ref": "#/definitions/app.Response"
  6451. }
  6452. }
  6453. }
  6454. }
  6455. },
  6456. "/HSBY/QueryHsbyMarketGoodses": {
  6457. "get": {
  6458. "security": [
  6459. {
  6460. "ApiKeyAuth": []
  6461. }
  6462. ],
  6463. "produces": [
  6464. "application/json"
  6465. ],
  6466. "tags": [
  6467. "定制【海商报业】"
  6468. ],
  6469. "summary": "查询特卖商品列表(三级商城)",
  6470. "parameters": [
  6471. {
  6472. "type": "integer",
  6473. "description": "页码",
  6474. "name": "page",
  6475. "in": "query"
  6476. },
  6477. {
  6478. "type": "integer",
  6479. "description": "每页条数",
  6480. "name": "pagesize",
  6481. "in": "query"
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "市场ID列表,格式:1,2,3",
  6486. "name": "marketIDs",
  6487. "in": "query",
  6488. "required": true
  6489. },
  6490. {
  6491. "type": "integer",
  6492. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6493. "name": "accountID",
  6494. "in": "query",
  6495. "required": true
  6496. },
  6497. {
  6498. "type": "integer",
  6499. "description": "类别ID",
  6500. "name": "categoryID",
  6501. "in": "query"
  6502. },
  6503. {
  6504. "type": "string",
  6505. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6506. "name": "goodsIDs",
  6507. "in": "query"
  6508. },
  6509. {
  6510. "type": "integer",
  6511. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6512. "name": "couponTypeID",
  6513. "in": "query"
  6514. }
  6515. ],
  6516. "responses": {
  6517. "200": {
  6518. "description": "OK",
  6519. "schema": {
  6520. "$ref": "#/definitions/models.HsbyMarketGoods"
  6521. }
  6522. },
  6523. "500": {
  6524. "description": "Internal Server Error",
  6525. "schema": {
  6526. "$ref": "#/definitions/app.Response"
  6527. }
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "/HSBY/QueryHsbyMarkets": {
  6533. "get": {
  6534. "security": [
  6535. {
  6536. "ApiKeyAuth": []
  6537. }
  6538. ],
  6539. "produces": [
  6540. "application/json"
  6541. ],
  6542. "tags": [
  6543. "定制【海商报业】"
  6544. ],
  6545. "summary": "查询海商报业相关市场信息",
  6546. "responses": {
  6547. "200": {
  6548. "description": "OK",
  6549. "schema": {
  6550. "$ref": "#/definitions/models.HsbyMarketInfo"
  6551. }
  6552. },
  6553. "500": {
  6554. "description": "Internal Server Error",
  6555. "schema": {
  6556. "$ref": "#/definitions/app.Response"
  6557. }
  6558. }
  6559. }
  6560. }
  6561. },
  6562. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6563. "get": {
  6564. "security": [
  6565. {
  6566. "ApiKeyAuth": []
  6567. }
  6568. ],
  6569. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6570. "produces": [
  6571. "application/json"
  6572. ],
  6573. "tags": [
  6574. "定制【海商报业】"
  6575. ],
  6576. "summary": "查询“我的订单”信息",
  6577. "parameters": [
  6578. {
  6579. "type": "string",
  6580. "description": "资金账户列表,格式:1,2,3",
  6581. "name": "accountIDs",
  6582. "in": "query",
  6583. "required": true
  6584. }
  6585. ],
  6586. "responses": {
  6587. "200": {
  6588. "description": "OK",
  6589. "schema": {
  6590. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6591. }
  6592. },
  6593. "500": {
  6594. "description": "Internal Server Error",
  6595. "schema": {
  6596. "$ref": "#/definitions/app.Response"
  6597. }
  6598. }
  6599. }
  6600. }
  6601. },
  6602. "/HSBY/QueryHsbyMyGoods": {
  6603. "get": {
  6604. "security": [
  6605. {
  6606. "ApiKeyAuth": []
  6607. }
  6608. ],
  6609. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6610. "produces": [
  6611. "application/json"
  6612. ],
  6613. "tags": [
  6614. "定制【海商报业】"
  6615. ],
  6616. "summary": "查询“我的商品”信息",
  6617. "parameters": [
  6618. {
  6619. "type": "string",
  6620. "description": "资金账户列表,格式:1,2,3",
  6621. "name": "accountIDs",
  6622. "in": "query",
  6623. "required": true
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/models.HsbyMyGoods"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/HSBY/QueryHsbyMyPackages": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "定制【海商报业】"
  6654. ],
  6655. "summary": "查询我的包裹信息",
  6656. "parameters": [
  6657. {
  6658. "type": "string",
  6659. "description": "资金账户列表,格式:1,2,3",
  6660. "name": "accountIDs",
  6661. "in": "query",
  6662. "required": true
  6663. },
  6664. {
  6665. "type": "integer",
  6666. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6667. "name": "takeOrderStatus",
  6668. "in": "query"
  6669. }
  6670. ],
  6671. "responses": {
  6672. "200": {
  6673. "description": "OK",
  6674. "schema": {
  6675. "$ref": "#/definitions/models.HsbyMyPackage"
  6676. }
  6677. },
  6678. "500": {
  6679. "description": "Internal Server Error",
  6680. "schema": {
  6681. "$ref": "#/definitions/app.Response"
  6682. }
  6683. }
  6684. }
  6685. }
  6686. },
  6687. "/HSBY/QueryHsbyPreGoodsDetail": {
  6688. "get": {
  6689. "security": [
  6690. {
  6691. "ApiKeyAuth": []
  6692. }
  6693. ],
  6694. "produces": [
  6695. "application/json"
  6696. ],
  6697. "tags": [
  6698. "定制【海商报业】"
  6699. ],
  6700. "summary": "查询一级市场(预售)商品信息详情",
  6701. "parameters": [
  6702. {
  6703. "type": "integer",
  6704. "description": "商品ID",
  6705. "name": "goodsID",
  6706. "in": "query",
  6707. "required": true
  6708. },
  6709. {
  6710. "type": "integer",
  6711. "description": "资金账户,主要用于获取预售商品购买上限",
  6712. "name": "accountID",
  6713. "in": "query"
  6714. }
  6715. ],
  6716. "responses": {
  6717. "200": {
  6718. "description": "OK",
  6719. "schema": {
  6720. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6721. }
  6722. },
  6723. "500": {
  6724. "description": "Internal Server Error",
  6725. "schema": {
  6726. "$ref": "#/definitions/app.Response"
  6727. }
  6728. }
  6729. }
  6730. }
  6731. },
  6732. "/HSBY/QueryHsbyPreGoodses": {
  6733. "get": {
  6734. "security": [
  6735. {
  6736. "ApiKeyAuth": []
  6737. }
  6738. ],
  6739. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6740. "produces": [
  6741. "application/json"
  6742. ],
  6743. "tags": [
  6744. "定制【海商报业】"
  6745. ],
  6746. "summary": "查询新品上市商品列表(一级市场预售)",
  6747. "parameters": [
  6748. {
  6749. "type": "integer",
  6750. "description": "页码",
  6751. "name": "page",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "每页条数",
  6757. "name": "pagesize",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "市场ID列表,格式:1,2,3",
  6763. "name": "marketIDs",
  6764. "in": "query",
  6765. "required": true
  6766. },
  6767. {
  6768. "type": "integer",
  6769. "description": "目的地(省)ID",
  6770. "name": "descProvinceID",
  6771. "in": "query"
  6772. },
  6773. {
  6774. "type": "integer",
  6775. "description": "目的地(市)ID",
  6776. "name": "descCityID",
  6777. "in": "query"
  6778. }
  6779. ],
  6780. "responses": {
  6781. "200": {
  6782. "description": "OK",
  6783. "schema": {
  6784. "$ref": "#/definitions/models.HsbyPreGoods"
  6785. }
  6786. },
  6787. "500": {
  6788. "description": "Internal Server Error",
  6789. "schema": {
  6790. "$ref": "#/definitions/app.Response"
  6791. }
  6792. }
  6793. }
  6794. }
  6795. },
  6796. "/HSBY/QueryHsbySellMyDetails": {
  6797. "get": {
  6798. "security": [
  6799. {
  6800. "ApiKeyAuth": []
  6801. }
  6802. ],
  6803. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6804. "produces": [
  6805. "application/json"
  6806. ],
  6807. "tags": [
  6808. "定制【海商报业】"
  6809. ],
  6810. "summary": "查询\"我的闲置\"单据信息",
  6811. "parameters": [
  6812. {
  6813. "type": "integer",
  6814. "description": "页码",
  6815. "name": "page",
  6816. "in": "query"
  6817. },
  6818. {
  6819. "type": "integer",
  6820. "description": "每页条数",
  6821. "name": "pagesize",
  6822. "in": "query"
  6823. },
  6824. {
  6825. "type": "string",
  6826. "description": "资金账户列表,格式:1,2,3",
  6827. "name": "accountIDs",
  6828. "in": "query",
  6829. "required": true
  6830. },
  6831. {
  6832. "type": "integer",
  6833. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6834. "name": "orderType",
  6835. "in": "query"
  6836. }
  6837. ],
  6838. "responses": {
  6839. "200": {
  6840. "description": "OK",
  6841. "schema": {
  6842. "$ref": "#/definitions/models.HsbySellMyDetail"
  6843. }
  6844. },
  6845. "500": {
  6846. "description": "Internal Server Error",
  6847. "schema": {
  6848. "$ref": "#/definitions/app.Response"
  6849. }
  6850. }
  6851. }
  6852. }
  6853. },
  6854. "/HSBY/QueryHsbyTopGoodses": {
  6855. "get": {
  6856. "security": [
  6857. {
  6858. "ApiKeyAuth": []
  6859. }
  6860. ],
  6861. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6862. "produces": [
  6863. "application/json"
  6864. ],
  6865. "tags": [
  6866. "定制【海商报业】"
  6867. ],
  6868. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6869. "parameters": [
  6870. {
  6871. "type": "integer",
  6872. "description": "页码",
  6873. "name": "page",
  6874. "in": "query"
  6875. },
  6876. {
  6877. "type": "integer",
  6878. "description": "每页条数",
  6879. "name": "pagesize",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "string",
  6884. "description": "市场ID列表,格式:1,2,3",
  6885. "name": "marketIDs",
  6886. "in": "query",
  6887. "required": true
  6888. },
  6889. {
  6890. "type": "integer",
  6891. "description": "目的地(省)ID",
  6892. "name": "descProvinceID",
  6893. "in": "query"
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "目的地(市)ID",
  6898. "name": "descCityID",
  6899. "in": "query"
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/models.HsbyTopGoods"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6919. "get": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6926. "produces": [
  6927. "application/json"
  6928. ],
  6929. "tags": [
  6930. "定制【海商报业】"
  6931. ],
  6932. "summary": "查询游客三级市场(商城)商品信息详情",
  6933. "parameters": [
  6934. {
  6935. "type": "integer",
  6936. "description": "商品ID",
  6937. "name": "goodsID",
  6938. "in": "query",
  6939. "required": true
  6940. }
  6941. ],
  6942. "responses": {
  6943. "200": {
  6944. "description": "OK",
  6945. "schema": {
  6946. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6947. }
  6948. },
  6949. "500": {
  6950. "description": "Internal Server Error",
  6951. "schema": {
  6952. "$ref": "#/definitions/app.Response"
  6953. }
  6954. }
  6955. }
  6956. }
  6957. },
  6958. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6959. "get": {
  6960. "security": [
  6961. {
  6962. "ApiKeyAuth": []
  6963. }
  6964. ],
  6965. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6966. "produces": [
  6967. "application/json"
  6968. ],
  6969. "tags": [
  6970. "定制【海商报业】"
  6971. ],
  6972. "summary": "查询游客特卖商品列表(三级商城)",
  6973. "parameters": [
  6974. {
  6975. "type": "integer",
  6976. "description": "页码",
  6977. "name": "page",
  6978. "in": "query"
  6979. },
  6980. {
  6981. "type": "integer",
  6982. "description": "每页条数",
  6983. "name": "pagesize",
  6984. "in": "query"
  6985. },
  6986. {
  6987. "type": "string",
  6988. "description": "市场ID列表,格式:1,2,3",
  6989. "name": "marketIDs",
  6990. "in": "query",
  6991. "required": true
  6992. },
  6993. {
  6994. "type": "integer",
  6995. "description": "类别ID",
  6996. "name": "categoryID",
  6997. "in": "query"
  6998. },
  6999. {
  7000. "type": "string",
  7001. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7002. "name": "goodsIDs",
  7003. "in": "query"
  7004. }
  7005. ],
  7006. "responses": {
  7007. "200": {
  7008. "description": "OK",
  7009. "schema": {
  7010. "$ref": "#/definitions/models.HsbyMarketGoods"
  7011. }
  7012. },
  7013. "500": {
  7014. "description": "Internal Server Error",
  7015. "schema": {
  7016. "$ref": "#/definitions/app.Response"
  7017. }
  7018. }
  7019. }
  7020. }
  7021. },
  7022. "/HSBY/QueryMyCollectionOrders": {
  7023. "get": {
  7024. "security": [
  7025. {
  7026. "ApiKeyAuth": []
  7027. }
  7028. ],
  7029. "produces": [
  7030. "application/json"
  7031. ],
  7032. "tags": [
  7033. "定制【海商报业】"
  7034. ],
  7035. "summary": "我的闲置中收款信息查询",
  7036. "parameters": [
  7037. {
  7038. "type": "integer",
  7039. "description": "页码",
  7040. "name": "page",
  7041. "in": "query"
  7042. },
  7043. {
  7044. "type": "integer",
  7045. "description": "每页条数",
  7046. "name": "pagesize",
  7047. "in": "query"
  7048. },
  7049. {
  7050. "type": "string",
  7051. "description": "资金账户,格式:1,2,3",
  7052. "name": "accountIDs",
  7053. "in": "query",
  7054. "required": true
  7055. }
  7056. ],
  7057. "responses": {
  7058. "200": {
  7059. "description": "OK",
  7060. "schema": {
  7061. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7062. }
  7063. },
  7064. "500": {
  7065. "description": "Internal Server Error",
  7066. "schema": {
  7067. "$ref": "#/definitions/app.Response"
  7068. }
  7069. }
  7070. }
  7071. }
  7072. },
  7073. "/HSBY/QueryMyCouponHolds": {
  7074. "get": {
  7075. "security": [
  7076. {
  7077. "ApiKeyAuth": []
  7078. }
  7079. ],
  7080. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7081. "produces": [
  7082. "application/json"
  7083. ],
  7084. "tags": [
  7085. "定制【海商报业】"
  7086. ],
  7087. "summary": "我的优惠卷持仓查询",
  7088. "parameters": [
  7089. {
  7090. "type": "string",
  7091. "description": "资金账户列表,格式:1,2,3",
  7092. "name": "accountIDs",
  7093. "in": "query",
  7094. "required": true
  7095. },
  7096. {
  7097. "type": "string",
  7098. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7099. "name": "holdStatus",
  7100. "in": "query"
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/models.MyCouponHold"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/HSBY/QueryMyCoupons": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "produces": [
  7127. "application/json"
  7128. ],
  7129. "tags": [
  7130. "定制【海商报业】"
  7131. ],
  7132. "summary": "我的优惠卷查询",
  7133. "parameters": [
  7134. {
  7135. "type": "string",
  7136. "description": "资金账户列表,格式:1,2,3",
  7137. "name": "accountIDs",
  7138. "in": "query",
  7139. "required": true
  7140. },
  7141. {
  7142. "type": "integer",
  7143. "description": "商品ID, 一般与sellUserID配套传入",
  7144. "name": "goodsID",
  7145. "in": "query"
  7146. },
  7147. {
  7148. "type": "integer",
  7149. "description": "卖方UserID",
  7150. "name": "sellUserID",
  7151. "in": "query"
  7152. }
  7153. ],
  7154. "responses": {
  7155. "200": {
  7156. "description": "OK",
  7157. "schema": {
  7158. "$ref": "#/definitions/models.MyCoupon"
  7159. }
  7160. },
  7161. "500": {
  7162. "description": "Internal Server Error",
  7163. "schema": {
  7164. "$ref": "#/definitions/app.Response"
  7165. }
  7166. }
  7167. }
  7168. }
  7169. },
  7170. "/HSBY/QueryMyPayOrders": {
  7171. "get": {
  7172. "security": [
  7173. {
  7174. "ApiKeyAuth": []
  7175. }
  7176. ],
  7177. "produces": [
  7178. "application/json"
  7179. ],
  7180. "tags": [
  7181. "定制【海商报业】"
  7182. ],
  7183. "summary": "获取我的订单中待付款信息",
  7184. "parameters": [
  7185. {
  7186. "type": "integer",
  7187. "description": "页码",
  7188. "name": "page",
  7189. "in": "query"
  7190. },
  7191. {
  7192. "type": "integer",
  7193. "description": "每页条数",
  7194. "name": "pagesize",
  7195. "in": "query"
  7196. },
  7197. {
  7198. "type": "string",
  7199. "description": "资金账户列表,格式:1,2,3",
  7200. "name": "accountIDs",
  7201. "in": "query",
  7202. "required": true
  7203. },
  7204. {
  7205. "type": "integer",
  7206. "description": "买方委托单号",
  7207. "name": "buyOrderID",
  7208. "in": "query"
  7209. },
  7210. {
  7211. "type": "integer",
  7212. "description": "卖方委托单号",
  7213. "name": "sellOrderID",
  7214. "in": "query"
  7215. }
  7216. ],
  7217. "responses": {
  7218. "200": {
  7219. "description": "OK",
  7220. "schema": {
  7221. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7222. }
  7223. },
  7224. "500": {
  7225. "description": "Internal Server Error",
  7226. "schema": {
  7227. "$ref": "#/definitions/app.Response"
  7228. }
  7229. }
  7230. }
  7231. }
  7232. },
  7233. "/HSBY/QueryMyUsedCoupon": {
  7234. "get": {
  7235. "security": [
  7236. {
  7237. "ApiKeyAuth": []
  7238. }
  7239. ],
  7240. "produces": [
  7241. "application/json"
  7242. ],
  7243. "tags": [
  7244. "定制【海商报业】"
  7245. ],
  7246. "summary": "已使用优惠卷查询",
  7247. "parameters": [
  7248. {
  7249. "type": "string",
  7250. "description": "资金账户列表,格式:1,2,3",
  7251. "name": "accountIDs",
  7252. "in": "query",
  7253. "required": true
  7254. }
  7255. ],
  7256. "responses": {
  7257. "200": {
  7258. "description": "OK",
  7259. "schema": {
  7260. "$ref": "#/definitions/models.MyUsedCoupon"
  7261. }
  7262. },
  7263. "500": {
  7264. "description": "Internal Server Error",
  7265. "schema": {
  7266. "$ref": "#/definitions/app.Response"
  7267. }
  7268. }
  7269. }
  7270. }
  7271. },
  7272. "/HSBY/QueryProvincesAndCities": {
  7273. "get": {
  7274. "security": [
  7275. {
  7276. "ApiKeyAuth": []
  7277. }
  7278. ],
  7279. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7280. "produces": [
  7281. "application/json"
  7282. ],
  7283. "tags": [
  7284. "定制【海商报业】"
  7285. ],
  7286. "summary": "查询省市信息(不包括区)",
  7287. "parameters": [
  7288. {
  7289. "type": "integer",
  7290. "description": "省ID",
  7291. "name": "provinceID",
  7292. "in": "query"
  7293. }
  7294. ],
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7300. }
  7301. },
  7302. "500": {
  7303. "description": "Internal Server Error",
  7304. "schema": {
  7305. "$ref": "#/definitions/app.Response"
  7306. }
  7307. }
  7308. }
  7309. }
  7310. },
  7311. "/HSBY/SetHsbyMyPackagesStatus": {
  7312. "post": {
  7313. "security": [
  7314. {
  7315. "ApiKeyAuth": []
  7316. }
  7317. ],
  7318. "produces": [
  7319. "application/json"
  7320. ],
  7321. "tags": [
  7322. "定制【海商报业】"
  7323. ],
  7324. "summary": "设置我的包裹已收货状态",
  7325. "parameters": [
  7326. {
  7327. "type": "string",
  7328. "description": "提货单号",
  7329. "name": "takeOrderID",
  7330. "in": "query",
  7331. "required": true
  7332. },
  7333. {
  7334. "type": "integer",
  7335. "description": "资金账号",
  7336. "name": "accountID",
  7337. "in": "query",
  7338. "required": true
  7339. }
  7340. ],
  7341. "responses": {
  7342. "200": {
  7343. "description": "OK",
  7344. "schema": {
  7345. "$ref": "#/definitions/app.Response"
  7346. }
  7347. },
  7348. "500": {
  7349. "description": "Internal Server Error",
  7350. "schema": {
  7351. "$ref": "#/definitions/app.Response"
  7352. }
  7353. }
  7354. }
  7355. }
  7356. },
  7357. "/Market/QueryGoodsesByLoginID": {
  7358. "get": {
  7359. "security": [
  7360. {
  7361. "ApiKeyAuth": []
  7362. }
  7363. ],
  7364. "produces": [
  7365. "application/json"
  7366. ],
  7367. "tags": [
  7368. "通用市场"
  7369. ],
  7370. "summary": "获取登录账号有权限的商品信息",
  7371. "parameters": [
  7372. {
  7373. "type": "integer",
  7374. "description": "登录账号",
  7375. "name": "loginID",
  7376. "in": "query",
  7377. "required": true
  7378. },
  7379. {
  7380. "type": "string",
  7381. "description": "市场ID列表,格式:1,2,3",
  7382. "name": "marketIDs",
  7383. "in": "query"
  7384. }
  7385. ],
  7386. "responses": {
  7387. "200": {
  7388. "description": "OK",
  7389. "schema": {
  7390. "$ref": "#/definitions/models.Goods"
  7391. }
  7392. },
  7393. "500": {
  7394. "description": "Internal Server Error",
  7395. "schema": {
  7396. "$ref": "#/definitions/app.Response"
  7397. }
  7398. }
  7399. }
  7400. }
  7401. },
  7402. "/Market/QueryMarketRun": {
  7403. "get": {
  7404. "security": [
  7405. {
  7406. "ApiKeyAuth": []
  7407. }
  7408. ],
  7409. "produces": [
  7410. "application/json"
  7411. ],
  7412. "tags": [
  7413. "通用市场"
  7414. ],
  7415. "summary": "查询市场运行信息",
  7416. "parameters": [
  7417. {
  7418. "type": "integer",
  7419. "description": "市场ID,不传返回所有",
  7420. "name": "marketID",
  7421. "in": "query"
  7422. }
  7423. ],
  7424. "responses": {
  7425. "200": {
  7426. "description": "OK",
  7427. "schema": {
  7428. "$ref": "#/definitions/models.Marketrun"
  7429. }
  7430. },
  7431. "500": {
  7432. "description": "Internal Server Error",
  7433. "schema": {
  7434. "$ref": "#/definitions/app.Response"
  7435. }
  7436. }
  7437. }
  7438. }
  7439. },
  7440. "/Market/QueryMarketsByLoginID": {
  7441. "get": {
  7442. "security": [
  7443. {
  7444. "ApiKeyAuth": []
  7445. }
  7446. ],
  7447. "produces": [
  7448. "application/json"
  7449. ],
  7450. "tags": [
  7451. "通用市场"
  7452. ],
  7453. "summary": "获取登录账号有权限的市场信息",
  7454. "parameters": [
  7455. {
  7456. "type": "integer",
  7457. "description": "登录账号",
  7458. "name": "loginID",
  7459. "in": "query",
  7460. "required": true
  7461. }
  7462. ],
  7463. "responses": {
  7464. "200": {
  7465. "description": "OK",
  7466. "schema": {
  7467. "$ref": "#/definitions/models.Market"
  7468. }
  7469. },
  7470. "500": {
  7471. "description": "Internal Server Error",
  7472. "schema": {
  7473. "$ref": "#/definitions/app.Response"
  7474. }
  7475. }
  7476. }
  7477. }
  7478. },
  7479. "/Order/QueryHisTradeDetail": {
  7480. "get": {
  7481. "security": [
  7482. {
  7483. "ApiKeyAuth": []
  7484. }
  7485. ],
  7486. "produces": [
  7487. "application/json"
  7488. ],
  7489. "tags": [
  7490. "通用单据"
  7491. ],
  7492. "summary": "历史成交单查询(合约市场)",
  7493. "parameters": [
  7494. {
  7495. "type": "string",
  7496. "description": "资金账户 - 格式:1,2,3",
  7497. "name": "accountID",
  7498. "in": "query",
  7499. "required": true
  7500. },
  7501. {
  7502. "type": "integer",
  7503. "description": "成交单号",
  7504. "name": "tradeID",
  7505. "in": "query"
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "委托单号",
  7510. "name": "orderID",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "string",
  7515. "description": "交易模式 - 格式:1,2,3",
  7516. "name": "tradeMode",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "委托单据类型",
  7522. "name": "buildType",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "成交类别 - 格式:1,2,3",
  7528. "name": "tradeType",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7534. "name": "startDate",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7540. "name": "endDate",
  7541. "in": "query"
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Order/QueryHisTradeOrderDetail": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "通用单据"
  7572. ],
  7573. "summary": "历史委托单查询请求(合约市场)",
  7574. "parameters": [
  7575. {
  7576. "type": "string",
  7577. "description": "资金账户 - 格式:1,2,3",
  7578. "name": "accountID",
  7579. "in": "query",
  7580. "required": true
  7581. },
  7582. {
  7583. "type": "string",
  7584. "description": "交易模式 - 格式:1,2,3",
  7585. "name": "tradeMode",
  7586. "in": "query"
  7587. },
  7588. {
  7589. "type": "string",
  7590. "description": "委托状态 - 格式:1,2,3",
  7591. "name": "orderStatus",
  7592. "in": "query"
  7593. },
  7594. {
  7595. "type": "integer",
  7596. "description": "委托单号",
  7597. "name": "orderID",
  7598. "in": "query"
  7599. },
  7600. {
  7601. "type": "string",
  7602. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7603. "name": "startDate",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "string",
  7608. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7609. "name": "endDate",
  7610. "in": "query"
  7611. }
  7612. ],
  7613. "responses": {
  7614. "200": {
  7615. "description": "OK",
  7616. "schema": {
  7617. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7618. }
  7619. },
  7620. "500": {
  7621. "description": "Internal Server Error",
  7622. "schema": {
  7623. "$ref": "#/definitions/app.Response"
  7624. }
  7625. }
  7626. }
  7627. }
  7628. },
  7629. "/Order/QueryTradeDetail": {
  7630. "get": {
  7631. "security": [
  7632. {
  7633. "ApiKeyAuth": []
  7634. }
  7635. ],
  7636. "produces": [
  7637. "application/json"
  7638. ],
  7639. "tags": [
  7640. "通用单据"
  7641. ],
  7642. "summary": "成交单查询(合约市场)",
  7643. "parameters": [
  7644. {
  7645. "type": "string",
  7646. "description": "资金账户 - 格式:1,2,3",
  7647. "name": "accountID",
  7648. "in": "query",
  7649. "required": true
  7650. },
  7651. {
  7652. "type": "integer",
  7653. "description": "成交单号",
  7654. "name": "tradeID",
  7655. "in": "query"
  7656. },
  7657. {
  7658. "type": "integer",
  7659. "description": "委托单号",
  7660. "name": "orderID",
  7661. "in": "query"
  7662. },
  7663. {
  7664. "type": "string",
  7665. "description": "交易模式 - 格式:1,2,3",
  7666. "name": "tradeMode",
  7667. "in": "query"
  7668. },
  7669. {
  7670. "type": "integer",
  7671. "description": "委托单据类型",
  7672. "name": "buildType",
  7673. "in": "query"
  7674. },
  7675. {
  7676. "type": "string",
  7677. "description": "成交类别 - 格式:1,2,3",
  7678. "name": "tradeType",
  7679. "in": "query"
  7680. }
  7681. ],
  7682. "responses": {
  7683. "200": {
  7684. "description": "OK",
  7685. "schema": {
  7686. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7687. }
  7688. },
  7689. "500": {
  7690. "description": "Internal Server Error",
  7691. "schema": {
  7692. "$ref": "#/definitions/app.Response"
  7693. }
  7694. }
  7695. }
  7696. }
  7697. },
  7698. "/Order/QueryTradeOrderDetail": {
  7699. "get": {
  7700. "security": [
  7701. {
  7702. "ApiKeyAuth": []
  7703. }
  7704. ],
  7705. "produces": [
  7706. "application/json"
  7707. ],
  7708. "tags": [
  7709. "通用单据"
  7710. ],
  7711. "summary": "委托单查询请求(合约市场)",
  7712. "parameters": [
  7713. {
  7714. "type": "string",
  7715. "description": "资金账户 - 格式:1,2,3",
  7716. "name": "accountID",
  7717. "in": "query",
  7718. "required": true
  7719. },
  7720. {
  7721. "type": "string",
  7722. "description": "交易模式 - 格式:1,2,3",
  7723. "name": "tradeMode",
  7724. "in": "query"
  7725. },
  7726. {
  7727. "type": "string",
  7728. "description": "委托状态 - 格式:1,2,3",
  7729. "name": "orderStatus",
  7730. "in": "query"
  7731. },
  7732. {
  7733. "type": "integer",
  7734. "description": "委托单号",
  7735. "name": "orderID",
  7736. "in": "query"
  7737. }
  7738. ],
  7739. "responses": {
  7740. "200": {
  7741. "description": "OK",
  7742. "schema": {
  7743. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7744. }
  7745. },
  7746. "500": {
  7747. "description": "Internal Server Error",
  7748. "schema": {
  7749. "$ref": "#/definitions/app.Response"
  7750. }
  7751. }
  7752. }
  7753. }
  7754. },
  7755. "/Order/QueryTradePosition": {
  7756. "get": {
  7757. "security": [
  7758. {
  7759. "ApiKeyAuth": []
  7760. }
  7761. ],
  7762. "produces": [
  7763. "application/json"
  7764. ],
  7765. "tags": [
  7766. "通用单据"
  7767. ],
  7768. "summary": "持仓汇总查询(合约市场)",
  7769. "parameters": [
  7770. {
  7771. "type": "string",
  7772. "description": "资金账户 - 格式:1,2,3",
  7773. "name": "accountID",
  7774. "in": "query",
  7775. "required": true
  7776. },
  7777. {
  7778. "type": "string",
  7779. "description": "交易模式 - 格式:1,2,3",
  7780. "name": "tradeMode",
  7781. "in": "query"
  7782. }
  7783. ],
  7784. "responses": {
  7785. "200": {
  7786. "description": "OK",
  7787. "schema": {
  7788. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7789. }
  7790. },
  7791. "500": {
  7792. "description": "Internal Server Error",
  7793. "schema": {
  7794. "$ref": "#/definitions/app.Response"
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "/Quote/QueryHistoryDatas": {
  7801. "get": {
  7802. "security": [
  7803. {
  7804. "ApiKeyAuth": []
  7805. }
  7806. ],
  7807. "produces": [
  7808. "application/json"
  7809. ],
  7810. "tags": [
  7811. "行情服务"
  7812. ],
  7813. "summary": "查询行情历史数据",
  7814. "parameters": [
  7815. {
  7816. "type": "integer",
  7817. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7818. "name": "cycleType",
  7819. "in": "query",
  7820. "required": true
  7821. },
  7822. {
  7823. "type": "string",
  7824. "description": "商品代码",
  7825. "name": "goodsCode",
  7826. "in": "query",
  7827. "required": true
  7828. },
  7829. {
  7830. "type": "string",
  7831. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7832. "name": "startTime",
  7833. "in": "query"
  7834. },
  7835. {
  7836. "type": "string",
  7837. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7838. "name": "endTime",
  7839. "in": "query"
  7840. },
  7841. {
  7842. "type": "integer",
  7843. "description": "条数",
  7844. "name": "count",
  7845. "in": "query"
  7846. },
  7847. {
  7848. "type": "boolean",
  7849. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7850. "name": "isAsc",
  7851. "in": "query"
  7852. }
  7853. ],
  7854. "responses": {
  7855. "200": {
  7856. "description": "OK",
  7857. "schema": {
  7858. "$ref": "#/definitions/quote.HistoryData"
  7859. }
  7860. },
  7861. "500": {
  7862. "description": "Internal Server Error",
  7863. "schema": {
  7864. "$ref": "#/definitions/app.Response"
  7865. }
  7866. }
  7867. }
  7868. }
  7869. },
  7870. "/Quote/QueryHistoryTikDatas": {
  7871. "get": {
  7872. "security": [
  7873. {
  7874. "ApiKeyAuth": []
  7875. }
  7876. ],
  7877. "produces": [
  7878. "application/json"
  7879. ],
  7880. "tags": [
  7881. "行情服务"
  7882. ],
  7883. "summary": "查询行情Tik数据",
  7884. "parameters": [
  7885. {
  7886. "type": "string",
  7887. "description": "商品代码",
  7888. "name": "goodsCode",
  7889. "in": "query",
  7890. "required": true
  7891. },
  7892. {
  7893. "type": "string",
  7894. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7895. "name": "startTime",
  7896. "in": "query"
  7897. },
  7898. {
  7899. "type": "string",
  7900. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7901. "name": "endTime",
  7902. "in": "query"
  7903. },
  7904. {
  7905. "type": "integer",
  7906. "description": "条数",
  7907. "name": "count",
  7908. "in": "query"
  7909. },
  7910. {
  7911. "type": "boolean",
  7912. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7913. "name": "isAsc",
  7914. "in": "query"
  7915. }
  7916. ],
  7917. "responses": {
  7918. "200": {
  7919. "description": "OK",
  7920. "schema": {
  7921. "$ref": "#/definitions/quote.HistoryTikData"
  7922. }
  7923. },
  7924. "500": {
  7925. "description": "Internal Server Error",
  7926. "schema": {
  7927. "$ref": "#/definitions/app.Response"
  7928. }
  7929. }
  7930. }
  7931. }
  7932. },
  7933. "/Quote/QueryQuoteDay": {
  7934. "get": {
  7935. "security": [
  7936. {
  7937. "ApiKeyAuth": []
  7938. }
  7939. ],
  7940. "produces": [
  7941. "application/json"
  7942. ],
  7943. "tags": [
  7944. "行情服务"
  7945. ],
  7946. "summary": "获取商品盘面信息",
  7947. "parameters": [
  7948. {
  7949. "type": "string",
  7950. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7951. "name": "goodsCodes",
  7952. "in": "query",
  7953. "required": true
  7954. }
  7955. ],
  7956. "responses": {
  7957. "200": {
  7958. "description": "OK",
  7959. "schema": {
  7960. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7961. }
  7962. },
  7963. "500": {
  7964. "description": "Internal Server Error",
  7965. "schema": {
  7966. "$ref": "#/definitions/app.Response"
  7967. }
  7968. }
  7969. }
  7970. }
  7971. },
  7972. "/Quote/QueryTSData": {
  7973. "get": {
  7974. "security": [
  7975. {
  7976. "ApiKeyAuth": []
  7977. }
  7978. ],
  7979. "produces": [
  7980. "application/json"
  7981. ],
  7982. "tags": [
  7983. "行情服务"
  7984. ],
  7985. "summary": "分时图数据查询",
  7986. "parameters": [
  7987. {
  7988. "type": "string",
  7989. "description": "商品代码",
  7990. "name": "goodsCode",
  7991. "in": "query",
  7992. "required": true
  7993. }
  7994. ],
  7995. "responses": {
  7996. "200": {
  7997. "description": "OK",
  7998. "schema": {
  7999. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8000. }
  8001. },
  8002. "500": {
  8003. "description": "Internal Server Error",
  8004. "schema": {
  8005. "$ref": "#/definitions/app.Response"
  8006. }
  8007. }
  8008. }
  8009. }
  8010. },
  8011. "/SZDZ/QueryConvertConfig": {
  8012. "get": {
  8013. "security": [
  8014. {
  8015. "ApiKeyAuth": []
  8016. }
  8017. ],
  8018. "produces": [
  8019. "application/json"
  8020. ],
  8021. "tags": [
  8022. "定制【尚志大宗】"
  8023. ],
  8024. "summary": "查询交易系统转换设置",
  8025. "parameters": [
  8026. {
  8027. "type": "integer",
  8028. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8029. "name": "convertType",
  8030. "in": "query"
  8031. },
  8032. {
  8033. "type": "string",
  8034. "description": "外部商品代码[JD\\PD]",
  8035. "name": "outerGoodsCode",
  8036. "in": "query"
  8037. },
  8038. {
  8039. "type": "string",
  8040. "description": "内部商品ID列表[交易],格式:1,2,3",
  8041. "name": "innerGoodsIDs",
  8042. "in": "query"
  8043. }
  8044. ],
  8045. "responses": {
  8046. "200": {
  8047. "description": "OK",
  8048. "schema": {
  8049. "$ref": "#/definitions/models.Szdz3convertconfig"
  8050. }
  8051. },
  8052. "500": {
  8053. "description": "Internal Server Error",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. }
  8058. }
  8059. }
  8060. },
  8061. "/SZDZ/QueryConvertLog": {
  8062. "get": {
  8063. "security": [
  8064. {
  8065. "ApiKeyAuth": []
  8066. }
  8067. ],
  8068. "produces": [
  8069. "application/json"
  8070. ],
  8071. "tags": [
  8072. "定制【尚志大宗】"
  8073. ],
  8074. "summary": "交易系统转换流水查询",
  8075. "parameters": [
  8076. {
  8077. "type": "string",
  8078. "description": "资金账户 - 格式:1,2,3",
  8079. "name": "accountID",
  8080. "in": "query",
  8081. "required": true
  8082. },
  8083. {
  8084. "type": "string",
  8085. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8086. "name": "startDate",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8092. "name": "endDate",
  8093. "in": "query"
  8094. }
  8095. ],
  8096. "responses": {
  8097. "200": {
  8098. "description": "OK",
  8099. "schema": {
  8100. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "Internal Server Error",
  8105. "schema": {
  8106. "$ref": "#/definitions/app.Response"
  8107. }
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "/SZDZ/QueryGoodsPickup": {
  8113. "get": {
  8114. "security": [
  8115. {
  8116. "ApiKeyAuth": []
  8117. }
  8118. ],
  8119. "produces": [
  8120. "application/json"
  8121. ],
  8122. "tags": [
  8123. "定制【尚志大宗】"
  8124. ],
  8125. "summary": "商品提货单查询",
  8126. "parameters": [
  8127. {
  8128. "type": "string",
  8129. "description": "资金账户 - 格式:1,2,3",
  8130. "name": "accountID",
  8131. "in": "query",
  8132. "required": true
  8133. },
  8134. {
  8135. "type": "integer",
  8136. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8137. "name": "takeOrderStatus",
  8138. "in": "query"
  8139. }
  8140. ],
  8141. "responses": {
  8142. "200": {
  8143. "description": "OK",
  8144. "schema": {
  8145. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8146. }
  8147. },
  8148. "500": {
  8149. "description": "Internal Server Error",
  8150. "schema": {
  8151. "$ref": "#/definitions/app.Response"
  8152. }
  8153. }
  8154. }
  8155. }
  8156. },
  8157. "/SZDZ/QueryRecieptOrder": {
  8158. "get": {
  8159. "security": [
  8160. {
  8161. "ApiKeyAuth": []
  8162. }
  8163. ],
  8164. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8165. "produces": [
  8166. "application/json"
  8167. ],
  8168. "tags": [
  8169. "定制【尚志大宗】"
  8170. ],
  8171. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8172. "parameters": [
  8173. {
  8174. "type": "integer",
  8175. "description": "页码",
  8176. "name": "page",
  8177. "in": "query"
  8178. },
  8179. {
  8180. "type": "integer",
  8181. "description": "每页条数",
  8182. "name": "pagesize",
  8183. "in": "query"
  8184. },
  8185. {
  8186. "type": "integer",
  8187. "description": "商品ID",
  8188. "name": "goodsID",
  8189. "in": "query",
  8190. "required": true
  8191. },
  8192. {
  8193. "type": "string",
  8194. "description": "所属账户名称",
  8195. "name": "accountName",
  8196. "in": "query"
  8197. },
  8198. {
  8199. "type": "integer",
  8200. "description": "市场ID",
  8201. "name": "marketID",
  8202. "in": "query"
  8203. },
  8204. {
  8205. "type": "integer",
  8206. "description": "方向 - 0:买 1:卖",
  8207. "name": "buyorsell",
  8208. "in": "query",
  8209. "required": true
  8210. }
  8211. ],
  8212. "responses": {
  8213. "200": {
  8214. "description": "OK",
  8215. "schema": {
  8216. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/SZDZ/QuerySZDZTradePosition": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "定制【尚志大宗】"
  8240. ],
  8241. "summary": "持仓汇总查询(尚志大宗)",
  8242. "parameters": [
  8243. {
  8244. "type": "integer",
  8245. "description": "资金账户",
  8246. "name": "accountID",
  8247. "in": "query",
  8248. "required": true
  8249. }
  8250. ],
  8251. "responses": {
  8252. "200": {
  8253. "description": "OK",
  8254. "schema": {
  8255. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8256. }
  8257. },
  8258. "500": {
  8259. "description": "Internal Server Error",
  8260. "schema": {
  8261. "$ref": "#/definitions/app.Response"
  8262. }
  8263. }
  8264. }
  8265. }
  8266. },
  8267. "/SZDZ/SearchWhite": {
  8268. "get": {
  8269. "security": [
  8270. {
  8271. "ApiKeyAuth": []
  8272. }
  8273. ],
  8274. "produces": [
  8275. "application/json"
  8276. ],
  8277. "tags": [
  8278. "定制【尚志大宗】"
  8279. ],
  8280. "summary": "搜索白名单",
  8281. "parameters": [
  8282. {
  8283. "type": "integer",
  8284. "description": "用户ID",
  8285. "name": "userID",
  8286. "in": "query",
  8287. "required": true
  8288. }
  8289. ],
  8290. "responses": {
  8291. "200": {
  8292. "description": "OK",
  8293. "schema": {
  8294. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8295. }
  8296. },
  8297. "500": {
  8298. "description": "Internal Server Error",
  8299. "schema": {
  8300. "$ref": "#/definitions/app.Response"
  8301. }
  8302. }
  8303. }
  8304. }
  8305. },
  8306. "/Search/SearchGoodses": {
  8307. "get": {
  8308. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "检索服务"
  8314. ],
  8315. "summary": "检索商品信息",
  8316. "parameters": [
  8317. {
  8318. "type": "string",
  8319. "description": "检索内容",
  8320. "name": "content",
  8321. "in": "query",
  8322. "required": true
  8323. },
  8324. {
  8325. "type": "string",
  8326. "description": "交易模式,格式:1,2,3",
  8327. "name": "tradeModes",
  8328. "in": "query"
  8329. }
  8330. ],
  8331. "responses": {
  8332. "200": {
  8333. "description": "OK",
  8334. "schema": {
  8335. "$ref": "#/definitions/models.SearchGoods"
  8336. }
  8337. },
  8338. "500": {
  8339. "description": "Internal Server Error",
  8340. "schema": {
  8341. "$ref": "#/definitions/app.Response"
  8342. }
  8343. }
  8344. }
  8345. }
  8346. },
  8347. "/TaAccount/GetTaAccounts": {
  8348. "get": {
  8349. "security": [
  8350. {
  8351. "ApiKeyAuth": []
  8352. }
  8353. ],
  8354. "produces": [
  8355. "application/json"
  8356. ],
  8357. "tags": [
  8358. "资金账户"
  8359. ],
  8360. "summary": "获取资金账户信息",
  8361. "parameters": [
  8362. {
  8363. "type": "integer",
  8364. "description": "登录账户",
  8365. "name": "loginID",
  8366. "in": "query",
  8367. "required": true
  8368. },
  8369. {
  8370. "type": "integer",
  8371. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8372. "name": "taAccountType",
  8373. "in": "query"
  8374. }
  8375. ],
  8376. "responses": {
  8377. "200": {
  8378. "description": "OK",
  8379. "schema": {
  8380. "$ref": "#/definitions/models.Taaccount"
  8381. }
  8382. },
  8383. "500": {
  8384. "description": "Internal Server Error",
  8385. "schema": {
  8386. "$ref": "#/definitions/app.Response"
  8387. }
  8388. }
  8389. }
  8390. }
  8391. },
  8392. "/TaAccount/QueryAmountLog": {
  8393. "get": {
  8394. "security": [
  8395. {
  8396. "ApiKeyAuth": []
  8397. }
  8398. ],
  8399. "produces": [
  8400. "application/json"
  8401. ],
  8402. "tags": [
  8403. "资金账户"
  8404. ],
  8405. "summary": "资金流水查询(当前)",
  8406. "parameters": [
  8407. {
  8408. "type": "integer",
  8409. "description": "页码",
  8410. "name": "page",
  8411. "in": "query"
  8412. },
  8413. {
  8414. "type": "integer",
  8415. "description": "每页条数",
  8416. "name": "pagesize",
  8417. "in": "query"
  8418. },
  8419. {
  8420. "type": "string",
  8421. "description": "资金账户 - 格式:1,2,3",
  8422. "name": "accountID",
  8423. "in": "query",
  8424. "required": true
  8425. },
  8426. {
  8427. "type": "string",
  8428. "description": "资金操作类型 - 格式:1,2,3",
  8429. "name": "OperateType",
  8430. "in": "query"
  8431. }
  8432. ],
  8433. "responses": {
  8434. "200": {
  8435. "description": "OK",
  8436. "schema": {
  8437. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/TaAccount/QueryHisAmountLog": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "资金账户"
  8461. ],
  8462. "summary": "资金流水查询(历史)",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "页码",
  8467. "name": "page",
  8468. "in": "query"
  8469. },
  8470. {
  8471. "type": "integer",
  8472. "description": "每页条数",
  8473. "name": "pagesize",
  8474. "in": "query"
  8475. },
  8476. {
  8477. "type": "string",
  8478. "description": "资金账户 - 格式:1,2,3",
  8479. "name": "accountID",
  8480. "in": "query",
  8481. "required": true
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "资金操作类型 - 格式:1,2,3",
  8486. "name": "OperateType",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8492. "name": "startDate",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8498. "name": "endDate",
  8499. "in": "query"
  8500. }
  8501. ],
  8502. "responses": {
  8503. "200": {
  8504. "description": "OK",
  8505. "schema": {
  8506. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8507. }
  8508. },
  8509. "500": {
  8510. "description": "Internal Server Error",
  8511. "schema": {
  8512. "$ref": "#/definitions/app.Response"
  8513. }
  8514. }
  8515. }
  8516. }
  8517. },
  8518. "/Trade/QueryRecieptOrder": {
  8519. "get": {
  8520. "security": [
  8521. {
  8522. "ApiKeyAuth": []
  8523. }
  8524. ],
  8525. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8526. "produces": [
  8527. "application/json"
  8528. ],
  8529. "tags": [
  8530. "通用交易"
  8531. ],
  8532. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8533. "parameters": [
  8534. {
  8535. "type": "integer",
  8536. "description": "页码",
  8537. "name": "page",
  8538. "in": "query"
  8539. },
  8540. {
  8541. "type": "integer",
  8542. "description": "每页条数",
  8543. "name": "pagesize",
  8544. "in": "query"
  8545. },
  8546. {
  8547. "type": "integer",
  8548. "description": "商品ID",
  8549. "name": "goodsID",
  8550. "in": "query",
  8551. "required": true
  8552. },
  8553. {
  8554. "type": "string",
  8555. "description": "所属账户名称",
  8556. "name": "accountName",
  8557. "in": "query"
  8558. },
  8559. {
  8560. "type": "integer",
  8561. "description": "市场ID",
  8562. "name": "marketID",
  8563. "in": "query"
  8564. },
  8565. {
  8566. "type": "integer",
  8567. "description": "方向 - 0:买 1:卖",
  8568. "name": "buyorsell",
  8569. "in": "query",
  8570. "required": true
  8571. }
  8572. ],
  8573. "responses": {
  8574. "200": {
  8575. "description": "OK",
  8576. "schema": {
  8577. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8578. }
  8579. },
  8580. "500": {
  8581. "description": "Internal Server Error",
  8582. "schema": {
  8583. "$ref": "#/definitions/app.Response"
  8584. }
  8585. }
  8586. }
  8587. }
  8588. },
  8589. "/User/AddMessageBoard": {
  8590. "post": {
  8591. "security": [
  8592. {
  8593. "ApiKeyAuth": []
  8594. }
  8595. ],
  8596. "produces": [
  8597. "application/json"
  8598. ],
  8599. "tags": [
  8600. "用户信息"
  8601. ],
  8602. "summary": "添加用户留言板信息",
  8603. "parameters": [
  8604. {
  8605. "type": "integer",
  8606. "description": "用户ID",
  8607. "name": "userID",
  8608. "in": "query",
  8609. "required": true
  8610. },
  8611. {
  8612. "type": "string",
  8613. "description": "留言信息",
  8614. "name": "message",
  8615. "in": "query",
  8616. "required": true
  8617. },
  8618. {
  8619. "type": "string",
  8620. "description": "联系电话",
  8621. "name": "contactNum",
  8622. "in": "query",
  8623. "required": true
  8624. }
  8625. ],
  8626. "responses": {
  8627. "200": {
  8628. "description": "OK",
  8629. "schema": {
  8630. "$ref": "#/definitions/app.Response"
  8631. }
  8632. },
  8633. "500": {
  8634. "description": "Internal Server Error",
  8635. "schema": {
  8636. "$ref": "#/definitions/app.Response"
  8637. }
  8638. }
  8639. }
  8640. }
  8641. },
  8642. "/User/AddUserFavoriteGoods": {
  8643. "post": {
  8644. "security": [
  8645. {
  8646. "ApiKeyAuth": []
  8647. }
  8648. ],
  8649. "produces": [
  8650. "application/json"
  8651. ],
  8652. "tags": [
  8653. "用户信息"
  8654. ],
  8655. "summary": "添加用户商品收藏信息",
  8656. "parameters": [
  8657. {
  8658. "type": "integer",
  8659. "description": "用户ID",
  8660. "name": "userID",
  8661. "in": "query",
  8662. "required": true
  8663. },
  8664. {
  8665. "type": "integer",
  8666. "description": "商品ID",
  8667. "name": "goodsID",
  8668. "in": "query",
  8669. "required": true
  8670. }
  8671. ],
  8672. "responses": {
  8673. "200": {
  8674. "description": "OK",
  8675. "schema": {
  8676. "$ref": "#/definitions/app.Response"
  8677. }
  8678. },
  8679. "500": {
  8680. "description": "Internal Server Error",
  8681. "schema": {
  8682. "$ref": "#/definitions/app.Response"
  8683. }
  8684. }
  8685. }
  8686. }
  8687. },
  8688. "/User/GetLoginID": {
  8689. "get": {
  8690. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8691. "produces": [
  8692. "application/json"
  8693. ],
  8694. "tags": [
  8695. "用户信息"
  8696. ],
  8697. "summary": "获取登录ID",
  8698. "parameters": [
  8699. {
  8700. "type": "string",
  8701. "description": "登录代码",
  8702. "name": "username",
  8703. "in": "query",
  8704. "required": true
  8705. }
  8706. ],
  8707. "responses": {
  8708. "200": {
  8709. "description": "OK",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. },
  8714. "500": {
  8715. "description": "Internal Server Error",
  8716. "schema": {
  8717. "$ref": "#/definitions/app.Response"
  8718. }
  8719. }
  8720. }
  8721. }
  8722. },
  8723. "/User/GetUserAccount": {
  8724. "get": {
  8725. "security": [
  8726. {
  8727. "ApiKeyAuth": []
  8728. }
  8729. ],
  8730. "produces": [
  8731. "application/json"
  8732. ],
  8733. "tags": [
  8734. "用户信息"
  8735. ],
  8736. "summary": "获取用户账号信息",
  8737. "parameters": [
  8738. {
  8739. "type": "integer",
  8740. "description": "用户ID",
  8741. "name": "userID",
  8742. "in": "query",
  8743. "required": true
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "$ref": "#/definitions/models.Useraccount"
  8751. }
  8752. },
  8753. "500": {
  8754. "description": "Internal Server Error",
  8755. "schema": {
  8756. "$ref": "#/definitions/app.Response"
  8757. }
  8758. }
  8759. }
  8760. }
  8761. },
  8762. "/User/GetUserAuthStatus": {
  8763. "get": {
  8764. "security": [
  8765. {
  8766. "ApiKeyAuth": []
  8767. }
  8768. ],
  8769. "produces": [
  8770. "application/json"
  8771. ],
  8772. "tags": [
  8773. "用户信息"
  8774. ],
  8775. "summary": "获取用户实名认证状态",
  8776. "parameters": [
  8777. {
  8778. "type": "integer",
  8779. "description": "用户ID",
  8780. "name": "userID",
  8781. "in": "query",
  8782. "required": true
  8783. }
  8784. ],
  8785. "responses": {
  8786. "200": {
  8787. "description": "OK",
  8788. "schema": {
  8789. "$ref": "#/definitions/app.Response"
  8790. }
  8791. },
  8792. "500": {
  8793. "description": "Internal Server Error",
  8794. "schema": {
  8795. "$ref": "#/definitions/app.Response"
  8796. }
  8797. }
  8798. }
  8799. }
  8800. },
  8801. "/User/LoginQuery": {
  8802. "get": {
  8803. "security": [
  8804. {
  8805. "ApiKeyAuth": []
  8806. }
  8807. ],
  8808. "produces": [
  8809. "application/json"
  8810. ],
  8811. "tags": [
  8812. "用户信息"
  8813. ],
  8814. "summary": "账户登录后信息查询",
  8815. "parameters": [
  8816. {
  8817. "type": "integer",
  8818. "description": "登录账号",
  8819. "name": "loginID",
  8820. "in": "query",
  8821. "required": true
  8822. }
  8823. ],
  8824. "responses": {
  8825. "200": {
  8826. "description": "OK",
  8827. "schema": {
  8828. "$ref": "#/definitions/user.LoginQueryRsp"
  8829. }
  8830. },
  8831. "500": {
  8832. "description": "Internal Server Error",
  8833. "schema": {
  8834. "$ref": "#/definitions/app.Response"
  8835. }
  8836. }
  8837. }
  8838. }
  8839. },
  8840. "/User/QueryMessageBoard": {
  8841. "get": {
  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. "responses": {
  8864. "200": {
  8865. "description": "OK",
  8866. "schema": {
  8867. "$ref": "#/definitions/models.Messageboard"
  8868. }
  8869. },
  8870. "500": {
  8871. "description": "Internal Server Error",
  8872. "schema": {
  8873. "$ref": "#/definitions/app.Response"
  8874. }
  8875. }
  8876. }
  8877. }
  8878. },
  8879. "/User/QueryUserFavoriteGoodses": {
  8880. "get": {
  8881. "security": [
  8882. {
  8883. "ApiKeyAuth": []
  8884. }
  8885. ],
  8886. "produces": [
  8887. "application/json"
  8888. ],
  8889. "tags": [
  8890. "用户信息"
  8891. ],
  8892. "summary": "获取用户商品收藏信息",
  8893. "parameters": [
  8894. {
  8895. "type": "integer",
  8896. "description": "用户ID",
  8897. "name": "userID",
  8898. "in": "query",
  8899. "required": true
  8900. }
  8901. ],
  8902. "responses": {
  8903. "200": {
  8904. "description": "OK",
  8905. "schema": {
  8906. "$ref": "#/definitions/models.Userfavoritegoods"
  8907. }
  8908. },
  8909. "500": {
  8910. "description": "Internal Server Error",
  8911. "schema": {
  8912. "$ref": "#/definitions/app.Response"
  8913. }
  8914. }
  8915. }
  8916. }
  8917. },
  8918. "/User/QueryUserInfo": {
  8919. "get": {
  8920. "security": [
  8921. {
  8922. "ApiKeyAuth": []
  8923. }
  8924. ],
  8925. "produces": [
  8926. "application/json"
  8927. ],
  8928. "tags": [
  8929. "用户信息"
  8930. ],
  8931. "summary": "获取用户信息",
  8932. "parameters": [
  8933. {
  8934. "type": "integer",
  8935. "description": "用户ID",
  8936. "name": "userID",
  8937. "in": "query",
  8938. "required": true
  8939. },
  8940. {
  8941. "type": "boolean",
  8942. "description": "是否解密",
  8943. "name": "isDecrypt",
  8944. "in": "query"
  8945. }
  8946. ],
  8947. "responses": {
  8948. "200": {
  8949. "description": "OK",
  8950. "schema": {
  8951. "$ref": "#/definitions/models.Userinfo"
  8952. }
  8953. },
  8954. "500": {
  8955. "description": "Internal Server Error",
  8956. "schema": {
  8957. "$ref": "#/definitions/app.Response"
  8958. }
  8959. }
  8960. }
  8961. }
  8962. },
  8963. "/User/QueryUserReferNum": {
  8964. "get": {
  8965. "produces": [
  8966. "application/json"
  8967. ],
  8968. "tags": [
  8969. "用户信息"
  8970. ],
  8971. "summary": "获取用户邀请码",
  8972. "parameters": [
  8973. {
  8974. "type": "integer",
  8975. "description": "用户ID",
  8976. "name": "userID",
  8977. "in": "query",
  8978. "required": true
  8979. }
  8980. ],
  8981. "responses": {
  8982. "200": {
  8983. "description": "OK",
  8984. "schema": {
  8985. "$ref": "#/definitions/app.Response"
  8986. }
  8987. },
  8988. "500": {
  8989. "description": "Internal Server Error",
  8990. "schema": {
  8991. "$ref": "#/definitions/app.Response"
  8992. }
  8993. }
  8994. }
  8995. }
  8996. },
  8997. "/User/RemoveUserFavoriteGoods": {
  8998. "post": {
  8999. "security": [
  9000. {
  9001. "ApiKeyAuth": []
  9002. }
  9003. ],
  9004. "produces": [
  9005. "application/json"
  9006. ],
  9007. "tags": [
  9008. "用户信息"
  9009. ],
  9010. "summary": "移除用户商品收藏信息",
  9011. "parameters": [
  9012. {
  9013. "type": "integer",
  9014. "description": "用户ID",
  9015. "name": "userID",
  9016. "in": "query",
  9017. "required": true
  9018. },
  9019. {
  9020. "type": "integer",
  9021. "description": "商品ID",
  9022. "name": "goodsID",
  9023. "in": "query",
  9024. "required": true
  9025. }
  9026. ],
  9027. "responses": {
  9028. "200": {
  9029. "description": "OK",
  9030. "schema": {
  9031. "$ref": "#/definitions/app.Response"
  9032. }
  9033. },
  9034. "500": {
  9035. "description": "Internal Server Error",
  9036. "schema": {
  9037. "$ref": "#/definitions/app.Response"
  9038. }
  9039. }
  9040. }
  9041. }
  9042. },
  9043. "/User/UpdateUserAccountStatus": {
  9044. "post": {
  9045. "security": [
  9046. {
  9047. "ApiKeyAuth": []
  9048. }
  9049. ],
  9050. "produces": [
  9051. "application/json"
  9052. ],
  9053. "tags": [
  9054. "用户信息"
  9055. ],
  9056. "summary": "更新用户状态",
  9057. "parameters": [
  9058. {
  9059. "type": "integer",
  9060. "description": "用户ID",
  9061. "name": "userID",
  9062. "in": "query",
  9063. "required": true
  9064. },
  9065. {
  9066. "type": "integer",
  9067. "description": "账户状态 - 4:正常 6:注销(停用)",
  9068. "name": "accountStatus",
  9069. "in": "query",
  9070. "required": true
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "$ref": "#/definitions/app.Response"
  9078. }
  9079. },
  9080. "500": {
  9081. "description": "Internal Server Error",
  9082. "schema": {
  9083. "$ref": "#/definitions/app.Response"
  9084. }
  9085. }
  9086. }
  9087. }
  9088. },
  9089. "/WRTrade/GetAllDeliveryGoods": {
  9090. "get": {
  9091. "security": [
  9092. {
  9093. "ApiKeyAuth": []
  9094. },
  9095. {
  9096. "ApiKeyAuth": []
  9097. }
  9098. ],
  9099. "produces": [
  9100. "application/json",
  9101. "application/json"
  9102. ],
  9103. "tags": [
  9104. "仓单贸易",
  9105. "仓单贸易"
  9106. ],
  9107. "summary": "获取带仓单分类的种类信息",
  9108. "responses": {
  9109. "200": {
  9110. "description": "OK",
  9111. "schema": {
  9112. "$ref": "#/definitions/app.Response"
  9113. }
  9114. },
  9115. "500": {
  9116. "description": "Internal Server Error",
  9117. "schema": {
  9118. "$ref": "#/definitions/app.Response"
  9119. }
  9120. }
  9121. }
  9122. }
  9123. }
  9124. },
  9125. "definitions": {
  9126. "app.Response": {
  9127. "type": "object",
  9128. "properties": {
  9129. "code": {
  9130. "type": "integer"
  9131. },
  9132. "data": {
  9133. "type": "object"
  9134. },
  9135. "msg": {
  9136. "type": "string"
  9137. },
  9138. "page": {
  9139. "description": "页码",
  9140. "type": "integer"
  9141. },
  9142. "pagesize": {
  9143. "description": "每页条数",
  9144. "type": "integer"
  9145. },
  9146. "total": {
  9147. "description": "总条数",
  9148. "type": "integer"
  9149. }
  9150. }
  9151. },
  9152. "common.ClientMenu": {
  9153. "type": "object",
  9154. "properties": {
  9155. "children": {
  9156. "description": "子菜单列表",
  9157. "type": "array",
  9158. "items": {
  9159. "$ref": "#/definitions/common.ClientMenu"
  9160. }
  9161. },
  9162. "code": {
  9163. "description": "ID",
  9164. "type": "string"
  9165. },
  9166. "isshow": {
  9167. "description": "是否显示",
  9168. "type": "boolean"
  9169. },
  9170. "rulekey": {
  9171. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9172. "type": "string"
  9173. },
  9174. "sort": {
  9175. "description": "排序",
  9176. "type": "integer"
  9177. },
  9178. "title": {
  9179. "description": "标题",
  9180. "type": "string"
  9181. },
  9182. "type": {
  9183. "description": "类型,1:菜单 2:按钮",
  9184. "type": "integer"
  9185. }
  9186. }
  9187. },
  9188. "common.QueryImageConfigsRsp": {
  9189. "type": "object",
  9190. "required": [
  9191. "configid"
  9192. ],
  9193. "properties": {
  9194. "areauserid": {
  9195. "description": "所属机构ID",
  9196. "type": "integer"
  9197. },
  9198. "configid": {
  9199. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9200. "type": "integer"
  9201. },
  9202. "createdate": {
  9203. "description": "创建时间",
  9204. "type": "string"
  9205. },
  9206. "creatorid": {
  9207. "description": "创建人",
  9208. "type": "integer"
  9209. },
  9210. "imagepath": {
  9211. "description": "图片",
  9212. "type": "string"
  9213. },
  9214. "imagetype": {
  9215. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9216. "type": "integer"
  9217. },
  9218. "isshow": {
  9219. "description": "是否展示 - 0:不展示 1:展示",
  9220. "type": "integer"
  9221. },
  9222. "marketid": {
  9223. "description": "市场ID",
  9224. "type": "integer"
  9225. },
  9226. "modifierid": {
  9227. "description": "操作人",
  9228. "type": "integer"
  9229. },
  9230. "sort": {
  9231. "description": "排序",
  9232. "type": "integer"
  9233. },
  9234. "title": {
  9235. "description": "标题",
  9236. "type": "string"
  9237. },
  9238. "trademode": {
  9239. "description": "交易模式",
  9240. "type": "integer"
  9241. },
  9242. "updatedate": {
  9243. "description": "修改时间",
  9244. "type": "string"
  9245. },
  9246. "url": {
  9247. "description": "链接(地址或商品ID)",
  9248. "type": "string"
  9249. },
  9250. "urltype": {
  9251. "description": "链接类型 - 1:直接地址 2:商品ID",
  9252. "type": "integer"
  9253. }
  9254. }
  9255. },
  9256. "common.QueryNoticeRsp": {
  9257. "type": "object",
  9258. "required": [
  9259. "autoid"
  9260. ],
  9261. "properties": {
  9262. "auditoruserid": {
  9263. "description": "审核人",
  9264. "type": "integer"
  9265. },
  9266. "auditremark": {
  9267. "description": "审核备注",
  9268. "type": "string"
  9269. },
  9270. "audittime": {
  9271. "description": "审核日期",
  9272. "type": "string"
  9273. },
  9274. "autoid": {
  9275. "description": "自增ID",
  9276. "type": "integer"
  9277. },
  9278. "content": {
  9279. "description": "内容",
  9280. "type": "string"
  9281. },
  9282. "createtime": {
  9283. "description": "创建时间",
  9284. "type": "string"
  9285. },
  9286. "creatorid": {
  9287. "description": "建仓人",
  9288. "type": "integer"
  9289. },
  9290. "endtime": {
  9291. "description": "结束时间",
  9292. "type": "string"
  9293. },
  9294. "istop": {
  9295. "description": "是否置顶 - 0:不置顶 1:置顶",
  9296. "type": "integer"
  9297. },
  9298. "msgiconurl": {
  9299. "description": "消息图标Url",
  9300. "type": "string"
  9301. },
  9302. "msgtype": {
  9303. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9304. "type": "integer"
  9305. },
  9306. "publisher": {
  9307. "description": "消息发布者",
  9308. "type": "string"
  9309. },
  9310. "readed": {
  9311. "description": "是否已读",
  9312. "type": "boolean"
  9313. },
  9314. "scheduletime": {
  9315. "description": "计划发送时间",
  9316. "type": "string"
  9317. },
  9318. "sendtype": {
  9319. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9320. "type": "integer"
  9321. },
  9322. "sentstatus": {
  9323. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9324. "type": "integer"
  9325. },
  9326. "title": {
  9327. "description": "标题",
  9328. "type": "string"
  9329. },
  9330. "userid": {
  9331. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9332. "type": "integer"
  9333. }
  9334. }
  9335. },
  9336. "common.QueryProvincesAndCitiesRsp": {
  9337. "type": "object",
  9338. "properties": {
  9339. "cities": {
  9340. "description": "市",
  9341. "type": "array",
  9342. "items": {
  9343. "$ref": "#/definitions/models.Division"
  9344. }
  9345. },
  9346. "province": {
  9347. "description": "省",
  9348. "type": "object",
  9349. "$ref": "#/definitions/models.Division"
  9350. }
  9351. }
  9352. },
  9353. "common.QueryTableDefineRsp": {
  9354. "type": "object",
  9355. "required": [
  9356. "tablekey"
  9357. ],
  9358. "properties": {
  9359. "columns": {
  9360. "description": "列头信息数组",
  9361. "type": "array",
  9362. "items": {
  9363. "$ref": "#/definitions/models.Tablecolumnconfig"
  9364. }
  9365. },
  9366. "remark": {
  9367. "description": "Remark",
  9368. "type": "string"
  9369. },
  9370. "tabelmenu": {
  9371. "description": "列表菜单",
  9372. "type": "string"
  9373. },
  9374. "tablekey": {
  9375. "description": "列表Key",
  9376. "type": "string"
  9377. },
  9378. "tablename": {
  9379. "description": "列表名称",
  9380. "type": "string"
  9381. },
  9382. "tabletype": {
  9383. "description": "列表类型 - 1:管理端 2:终端",
  9384. "type": "integer"
  9385. }
  9386. }
  9387. },
  9388. "common.QueryTraderMenuRsp": {
  9389. "type": "object",
  9390. "properties": {
  9391. "OperationMenu": {
  9392. "description": "功能菜单",
  9393. "type": "array",
  9394. "items": {
  9395. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9396. }
  9397. },
  9398. "QuoteMenu": {
  9399. "description": "报价牌分类菜单",
  9400. "type": "array",
  9401. "items": {
  9402. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9403. }
  9404. }
  9405. }
  9406. },
  9407. "cptrade.Cptradepositioncancel": {
  9408. "type": "object",
  9409. "required": [
  9410. "cancelid"
  9411. ],
  9412. "properties": {
  9413. "accountid": {
  9414. "description": "申请人账户ID",
  9415. "type": "integer"
  9416. },
  9417. "applystatus": {
  9418. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9419. "type": "integer"
  9420. },
  9421. "applytime": {
  9422. "description": "申请时间",
  9423. "type": "string"
  9424. },
  9425. "cancelid": {
  9426. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9427. "type": "integer"
  9428. },
  9429. "cancelqty": {
  9430. "description": "注销数量",
  9431. "type": "integer"
  9432. },
  9433. "createtime": {
  9434. "description": "创建时间",
  9435. "type": "string"
  9436. },
  9437. "creatorid": {
  9438. "description": "创建人ID",
  9439. "type": "integer"
  9440. },
  9441. "creatorname": {
  9442. "description": "创建人",
  9443. "type": "string"
  9444. },
  9445. "goodscode": {
  9446. "description": "订单商品代码",
  9447. "type": "string"
  9448. },
  9449. "goodsid": {
  9450. "description": "商品ID",
  9451. "type": "integer"
  9452. },
  9453. "goodsname": {
  9454. "description": "订单商品名称",
  9455. "type": "string"
  9456. },
  9457. "goodunit": {
  9458. "description": "报价单位",
  9459. "type": "string"
  9460. },
  9461. "handlestatus": {
  9462. "description": "处理状态",
  9463. "type": "integer"
  9464. },
  9465. "marketid": {
  9466. "description": "市场ID",
  9467. "type": "integer"
  9468. },
  9469. "marketname": {
  9470. "description": "市场名称",
  9471. "type": "string"
  9472. },
  9473. "tradedate": {
  9474. "description": "交易日(yyyyMMdd)",
  9475. "type": "string"
  9476. },
  9477. "userid": {
  9478. "description": "申请人ID",
  9479. "type": "integer"
  9480. }
  9481. }
  9482. },
  9483. "cptrade.Cptradepresaleapply": {
  9484. "type": "object",
  9485. "required": [
  9486. "applyid"
  9487. ],
  9488. "properties": {
  9489. "accountid": {
  9490. "description": "申请人账户ID",
  9491. "type": "integer"
  9492. },
  9493. "applyid": {
  9494. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9495. "type": "integer"
  9496. },
  9497. "applyremark": {
  9498. "description": "申请备注",
  9499. "type": "string"
  9500. },
  9501. "applystatus": {
  9502. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9503. "type": "integer"
  9504. },
  9505. "applytime": {
  9506. "description": "申请时间",
  9507. "type": "string"
  9508. },
  9509. "attachmenturl": {
  9510. "description": "附件地址",
  9511. "type": "string"
  9512. },
  9513. "endtime": {
  9514. "description": "预售结束时间",
  9515. "type": "string"
  9516. },
  9517. "goodscode": {
  9518. "description": "商品代码",
  9519. "type": "string"
  9520. },
  9521. "goodsid": {
  9522. "description": "商品ID",
  9523. "type": "integer"
  9524. },
  9525. "goodsname": {
  9526. "description": "商品名称",
  9527. "type": "string"
  9528. },
  9529. "goodunit": {
  9530. "description": "报价单位",
  9531. "type": "string"
  9532. },
  9533. "handlestatus": {
  9534. "description": "处理状态",
  9535. "type": "integer"
  9536. },
  9537. "marketid": {
  9538. "description": "预售市场ID",
  9539. "type": "integer"
  9540. },
  9541. "marketname": {
  9542. "description": "预售市场名称",
  9543. "type": "string"
  9544. },
  9545. "presaleqty": {
  9546. "description": "预售数量",
  9547. "type": "integer"
  9548. },
  9549. "relatedgoodscode": {
  9550. "description": "关联交易合约代码",
  9551. "type": "string"
  9552. },
  9553. "relatedgoodsid": {
  9554. "description": "关联交易合约ID",
  9555. "type": "integer"
  9556. },
  9557. "relatedgoodsname": {
  9558. "description": "关联交易合约名称",
  9559. "type": "string"
  9560. },
  9561. "starttime": {
  9562. "description": "预售开始时间",
  9563. "type": "string"
  9564. },
  9565. "tradedate": {
  9566. "description": "交易日(yyyyMMdd)",
  9567. "type": "string"
  9568. },
  9569. "trademode": {
  9570. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9571. "type": "integer"
  9572. },
  9573. "userid": {
  9574. "description": "申请人ID",
  9575. "type": "integer"
  9576. }
  9577. }
  9578. },
  9579. "cptrade.Cptradeusergoodsdata": {
  9580. "type": "object",
  9581. "required": [
  9582. "accountid",
  9583. "goodsid"
  9584. ],
  9585. "properties": {
  9586. "EnabledQty": {
  9587. "description": "可用量",
  9588. "type": "integer"
  9589. },
  9590. "GoodsCode": {
  9591. "description": "订单商品代码",
  9592. "type": "string"
  9593. },
  9594. "GoodsName": {
  9595. "description": "订单商品名称",
  9596. "type": "string"
  9597. },
  9598. "WRStandardCode": {
  9599. "description": "仓单标准代码",
  9600. "type": "string"
  9601. },
  9602. "WRStandardName": {
  9603. "description": "仓单标准名称",
  9604. "type": "string"
  9605. },
  9606. "accountid": {
  9607. "description": "账户ID",
  9608. "type": "integer"
  9609. },
  9610. "cancelqty": {
  9611. "description": "注销量",
  9612. "type": "integer"
  9613. },
  9614. "curpresaleqty": {
  9615. "description": "当前预售量",
  9616. "type": "integer"
  9617. },
  9618. "deliveryqty": {
  9619. "description": "交割量",
  9620. "type": "integer"
  9621. },
  9622. "freezeamount": {
  9623. "description": "冻结金额",
  9624. "type": "number"
  9625. },
  9626. "goodsid": {
  9627. "description": "商品ID",
  9628. "type": "integer"
  9629. },
  9630. "goodunit": {
  9631. "description": "报价单位",
  9632. "type": "string"
  9633. },
  9634. "hasspotfreeze": {
  9635. "description": "是否有现货冻结 - 0:否 1:有",
  9636. "type": "integer"
  9637. },
  9638. "inqty": {
  9639. "description": "转入量(总数量)",
  9640. "type": "integer"
  9641. },
  9642. "marketid": {
  9643. "description": "市场ID",
  9644. "type": "integer"
  9645. },
  9646. "presaledamount": {
  9647. "description": "已预售总金额",
  9648. "type": "integer"
  9649. },
  9650. "presaledqty": {
  9651. "description": "已预售量",
  9652. "type": "integer"
  9653. },
  9654. "userid": {
  9655. "description": "用户ID",
  9656. "type": "integer"
  9657. },
  9658. "wrstandardid": {
  9659. "description": "仓单标准ID",
  9660. "type": "integer"
  9661. }
  9662. }
  9663. },
  9664. "cptrade.QueryCPTradeMyBidRsp": {
  9665. "type": "object",
  9666. "required": [
  9667. "accountid",
  9668. "goodsid",
  9669. "marketid",
  9670. "orderid",
  9671. "orderqty",
  9672. "ordertime",
  9673. "tradeprice",
  9674. "tradeqty"
  9675. ],
  9676. "properties": {
  9677. "accountid": {
  9678. "description": "账户ID[报价币种]",
  9679. "type": "integer"
  9680. },
  9681. "goodsid": {
  9682. "description": "商品ID",
  9683. "type": "integer"
  9684. },
  9685. "goodunit": {
  9686. "description": "报价单位",
  9687. "type": "string"
  9688. },
  9689. "marketid": {
  9690. "description": "市场ID",
  9691. "type": "integer"
  9692. },
  9693. "orderid": {
  9694. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9695. "type": "integer"
  9696. },
  9697. "orderprice": {
  9698. "description": "委托价格",
  9699. "type": "number"
  9700. },
  9701. "orderqty": {
  9702. "description": "委托数量",
  9703. "type": "integer"
  9704. },
  9705. "ordertime": {
  9706. "description": "委托时间",
  9707. "type": "string"
  9708. },
  9709. "ordertotalprice": {
  9710. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9711. "type": "number"
  9712. },
  9713. "ordertotalweight": {
  9714. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9715. "type": "integer"
  9716. },
  9717. "totaltotalprice": {
  9718. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9719. "type": "number"
  9720. },
  9721. "tradeprice": {
  9722. "description": "成交价格",
  9723. "type": "number"
  9724. },
  9725. "tradeqty": {
  9726. "description": "成交数量",
  9727. "type": "integer"
  9728. }
  9729. }
  9730. },
  9731. "cptrade.QueryCPTradeOrderDetailRsq": {
  9732. "type": "object",
  9733. "required": [
  9734. "accountid",
  9735. "buildtype",
  9736. "buyorsell",
  9737. "goodsid",
  9738. "marketid",
  9739. "memberuserid",
  9740. "operatetype",
  9741. "orderqty",
  9742. "ordertime",
  9743. "pricemode",
  9744. "strorderid",
  9745. "tradedate",
  9746. "validtype"
  9747. ],
  9748. "properties": {
  9749. "accountid": {
  9750. "description": "账户ID[报价币种]",
  9751. "type": "integer"
  9752. },
  9753. "buildtype": {
  9754. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9755. "type": "integer"
  9756. },
  9757. "buyorsell": {
  9758. "description": "买卖 - 0:买 1:卖",
  9759. "type": "integer"
  9760. },
  9761. "cancelorderid": {
  9762. "description": "撤单单号(撤单时填写)",
  9763. "type": "integer"
  9764. },
  9765. "cancelqty": {
  9766. "description": "撤单数量",
  9767. "type": "integer"
  9768. },
  9769. "clientordertime": {
  9770. "description": "客户端委托时间",
  9771. "type": "string"
  9772. },
  9773. "clientticket": {
  9774. "description": "客户端流水号",
  9775. "type": "string"
  9776. },
  9777. "clienttype": {
  9778. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9779. "type": "integer"
  9780. },
  9781. "closeexchagechargevalue": {
  9782. "description": "平仓交易所手续费设置值",
  9783. "type": "number"
  9784. },
  9785. "closefeealgorithm": {
  9786. "description": "平仓手续费收取方式 1:比率 2:固定",
  9787. "type": "integer"
  9788. },
  9789. "closefreezecharge": {
  9790. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9791. "type": "number"
  9792. },
  9793. "closememberchargevalue": {
  9794. "description": "平仓会员手续费设置值",
  9795. "type": "number"
  9796. },
  9797. "closeqty": {
  9798. "description": "平仓数量(先建后平操作 需要记录)",
  9799. "type": "integer"
  9800. },
  9801. "closetradeqty": {
  9802. "description": "平仓成交数量(先建后平操作,需要记录)",
  9803. "type": "integer"
  9804. },
  9805. "closeunfreezecharge": {
  9806. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9807. "type": "number"
  9808. },
  9809. "delistingtype": {
  9810. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9811. "type": "integer"
  9812. },
  9813. "freezecharge": {
  9814. "description": "冻结手续费",
  9815. "type": "number"
  9816. },
  9817. "freezemargin": {
  9818. "description": "冻结保证金(冻结交易金额)",
  9819. "type": "number"
  9820. },
  9821. "gcaccountid": {
  9822. "description": "账户ID[合约币种]",
  9823. "type": "integer"
  9824. },
  9825. "goodsid": {
  9826. "description": "商品ID",
  9827. "type": "integer"
  9828. },
  9829. "isconfirmexercise": {
  9830. "description": "是否确认行权- 0:否 1:是",
  9831. "type": "integer"
  9832. },
  9833. "ispreexercise": {
  9834. "description": "是否预申报- 0:否 1:是",
  9835. "type": "integer"
  9836. },
  9837. "listingselecttype": {
  9838. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9839. "type": "integer"
  9840. },
  9841. "marginalgorithm": {
  9842. "description": "保证金收取方式 1:比率 2:固定",
  9843. "type": "integer"
  9844. },
  9845. "marginvalue": {
  9846. "description": "即市保证金设置值",
  9847. "type": "number"
  9848. },
  9849. "marketid": {
  9850. "description": "市场ID",
  9851. "type": "integer"
  9852. },
  9853. "marketmaxsub": {
  9854. "description": "市价最大偏移范围",
  9855. "type": "number"
  9856. },
  9857. "memberuserid": {
  9858. "description": "所属会员UserID",
  9859. "type": "integer"
  9860. },
  9861. "openexchagechargevalue": {
  9862. "description": "建仓交易所手续费设置值",
  9863. "type": "number"
  9864. },
  9865. "openfeealgorithm": {
  9866. "description": "建仓手续费收取方式 1:比率 2:固定",
  9867. "type": "integer"
  9868. },
  9869. "openfreezecharge": {
  9870. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9871. "type": "number"
  9872. },
  9873. "openmemberchargevalue": {
  9874. "description": "建仓会员手续费设置值",
  9875. "type": "number"
  9876. },
  9877. "openqty": {
  9878. "description": "开仓数量(先建后平操作,需要记录)",
  9879. "type": "integer"
  9880. },
  9881. "opentradeqty": {
  9882. "description": "开仓成交数量(先建后平操作,需要记录)",
  9883. "type": "integer"
  9884. },
  9885. "openunfreezecharge": {
  9886. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9887. "type": "number"
  9888. },
  9889. "operatetype": {
  9890. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9891. "type": "integer"
  9892. },
  9893. "operatorid": {
  9894. "description": "登录账号(LoginID)",
  9895. "type": "integer"
  9896. },
  9897. "optiontype": {
  9898. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9899. "type": "integer"
  9900. },
  9901. "orderprice": {
  9902. "description": "委托价格",
  9903. "type": "number"
  9904. },
  9905. "orderqty": {
  9906. "description": "委托数量",
  9907. "type": "integer"
  9908. },
  9909. "ordersrc": {
  9910. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9911. "type": "integer"
  9912. },
  9913. "orderstatus": {
  9914. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9915. "type": "integer"
  9916. },
  9917. "ordertime": {
  9918. "description": "委托时间",
  9919. "type": "string"
  9920. },
  9921. "preexerciseprice": {
  9922. "description": "预申报价格",
  9923. "type": "number"
  9924. },
  9925. "premium": {
  9926. "description": "权利金",
  9927. "type": "number"
  9928. },
  9929. "preorderid": {
  9930. "description": "关联预埋单号(止盈止损单时填写)",
  9931. "type": "integer"
  9932. },
  9933. "pricemode": {
  9934. "description": "取价方式 - 1:市价 2: 限价",
  9935. "type": "integer"
  9936. },
  9937. "quoteid": {
  9938. "description": "报价单ID",
  9939. "type": "integer"
  9940. },
  9941. "relatedid": {
  9942. "description": "关联单号(交割单)",
  9943. "type": "integer"
  9944. },
  9945. "retcode": {
  9946. "description": "错误代码",
  9947. "type": "integer"
  9948. },
  9949. "sessionid": {
  9950. "description": "会话ID",
  9951. "type": "integer"
  9952. },
  9953. "strorderid": {
  9954. "description": "委托单号",
  9955. "type": "string"
  9956. },
  9957. "tradedate": {
  9958. "description": "交易日(yyyyMMdd)",
  9959. "type": "string"
  9960. },
  9961. "tradeproperty": {
  9962. "description": "交易属性",
  9963. "type": "integer"
  9964. },
  9965. "tradeqty": {
  9966. "description": "成交数量",
  9967. "type": "integer"
  9968. },
  9969. "unfreezecharge": {
  9970. "description": "解冻手续费",
  9971. "type": "number"
  9972. },
  9973. "unfreezemargin": {
  9974. "description": "解冻保证金",
  9975. "type": "number"
  9976. },
  9977. "updatetime": {
  9978. "description": "更新时间",
  9979. "type": "string"
  9980. },
  9981. "uuid": {
  9982. "description": "发起端唯一id",
  9983. "type": "string"
  9984. },
  9985. "validtime": {
  9986. "description": "有效期限",
  9987. "type": "string"
  9988. },
  9989. "validtype": {
  9990. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9991. "type": "integer"
  9992. },
  9993. "volumetype": {
  9994. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9995. "type": "integer"
  9996. }
  9997. }
  9998. },
  9999. "cptrade.QueryMyCPTradeGoodsRsp": {
  10000. "type": "object",
  10001. "required": [
  10002. "goodscode",
  10003. "goodsid",
  10004. "goodsname",
  10005. "marketid",
  10006. "relatedgoodscode",
  10007. "relatedgoodsname"
  10008. ],
  10009. "properties": {
  10010. "accountid": {
  10011. "description": "卖方账户ID",
  10012. "type": "integer"
  10013. },
  10014. "agreeunit": {
  10015. "description": "合约单位",
  10016. "type": "number"
  10017. },
  10018. "applyid": {
  10019. "description": "关联申请ID",
  10020. "type": "integer"
  10021. },
  10022. "attachmenturl": {
  10023. "description": "附件地址",
  10024. "type": "string"
  10025. },
  10026. "createtime": {
  10027. "description": "创建时间",
  10028. "type": "string"
  10029. },
  10030. "currencyid": {
  10031. "description": "报价货币ID",
  10032. "type": "integer"
  10033. },
  10034. "decimalplace": {
  10035. "description": "报价小数位",
  10036. "type": "integer"
  10037. },
  10038. "endtime": {
  10039. "description": "预售结束时间",
  10040. "type": "string"
  10041. },
  10042. "floorprice": {
  10043. "description": "底价[大宗式竞拍]",
  10044. "type": "number"
  10045. },
  10046. "goodscode": {
  10047. "description": "商品代码(预售)",
  10048. "type": "string"
  10049. },
  10050. "goodsdetail": {
  10051. "description": "详情[大宗]",
  10052. "type": "string"
  10053. },
  10054. "goodsid": {
  10055. "description": "商品ID(自增ID SEQ_GOODS)",
  10056. "type": "integer"
  10057. },
  10058. "goodsname": {
  10059. "description": "商品名称(预售)",
  10060. "type": "string"
  10061. },
  10062. "goodunit": {
  10063. "description": "报价单位",
  10064. "type": "string"
  10065. },
  10066. "goodunitid": {
  10067. "description": "报价单位ID",
  10068. "type": "integer"
  10069. },
  10070. "marketid": {
  10071. "description": "所属市场ID",
  10072. "type": "integer"
  10073. },
  10074. "marketname": {
  10075. "description": "预售市场名称",
  10076. "type": "string"
  10077. },
  10078. "presaledamount": {
  10079. "description": "已预售总金额(预售结束时更新)",
  10080. "type": "number"
  10081. },
  10082. "presaledqty": {
  10083. "description": "已预售量(预售结束时更新)",
  10084. "type": "integer"
  10085. },
  10086. "presalemode": {
  10087. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10088. "type": "integer"
  10089. },
  10090. "presaleqty": {
  10091. "description": "预售数量",
  10092. "type": "integer"
  10093. },
  10094. "refprice": {
  10095. "description": "参考价格[一口价]",
  10096. "type": "number"
  10097. },
  10098. "relatedgoodscode": {
  10099. "description": "商品代码(订单)",
  10100. "type": "string"
  10101. },
  10102. "relatedgoodsid": {
  10103. "description": "关联交易合约ID",
  10104. "type": "integer"
  10105. },
  10106. "relatedgoodsname": {
  10107. "description": "商品名称(订单)",
  10108. "type": "string"
  10109. },
  10110. "relatedmarketid": {
  10111. "description": "关联交易合约市场ID",
  10112. "type": "integer"
  10113. },
  10114. "sellstatus": {
  10115. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10116. "type": "integer"
  10117. },
  10118. "startprice": {
  10119. "description": "起拍价[大宗式竞拍]",
  10120. "type": "number"
  10121. },
  10122. "starttime": {
  10123. "description": "预售开始时间",
  10124. "type": "string"
  10125. },
  10126. "tradedate": {
  10127. "description": "交易日(yyyyMMdd)",
  10128. "type": "string"
  10129. },
  10130. "tradeprice": {
  10131. "description": "成交价[大宗]",
  10132. "type": "number"
  10133. },
  10134. "userid": {
  10135. "description": "卖方用户ID",
  10136. "type": "integer"
  10137. }
  10138. }
  10139. },
  10140. "cptrade.QueryPresaleGoodsExRsp": {
  10141. "type": "object",
  10142. "required": [
  10143. "goodsid"
  10144. ],
  10145. "properties": {
  10146. "attachmenturl": {
  10147. "description": "附件地址",
  10148. "type": "string"
  10149. },
  10150. "createtime": {
  10151. "description": "创建时间",
  10152. "type": "string"
  10153. },
  10154. "endtime": {
  10155. "description": "预售结束时间",
  10156. "type": "string"
  10157. },
  10158. "floorprice": {
  10159. "description": "底价[大宗式竞拍]",
  10160. "type": "number"
  10161. },
  10162. "goodsdetail": {
  10163. "description": "详情[大宗]",
  10164. "type": "string"
  10165. },
  10166. "goodsid": {
  10167. "description": "商品ID(预售)",
  10168. "type": "integer"
  10169. },
  10170. "goodunit": {
  10171. "description": "报价单位",
  10172. "type": "string"
  10173. },
  10174. "marketid": {
  10175. "description": "预售市场ID - 根据预售模式选择市场",
  10176. "type": "integer"
  10177. },
  10178. "presaledamount": {
  10179. "description": "已预售总金额(预售结束时更新)",
  10180. "type": "number"
  10181. },
  10182. "presaledqty": {
  10183. "description": "已预售量(预售结束时更新)",
  10184. "type": "integer"
  10185. },
  10186. "presalemode": {
  10187. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10188. "type": "integer"
  10189. },
  10190. "presaleqty": {
  10191. "description": "预售数量",
  10192. "type": "integer"
  10193. },
  10194. "refprice": {
  10195. "description": "参考价格[一口价]",
  10196. "type": "number"
  10197. },
  10198. "relatedgoodsid": {
  10199. "description": "关联交易合约ID",
  10200. "type": "integer"
  10201. },
  10202. "relatedmarketid": {
  10203. "description": "关联交易合约市场ID",
  10204. "type": "integer"
  10205. },
  10206. "sellstatus": {
  10207. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10208. "type": "integer"
  10209. },
  10210. "startprice": {
  10211. "description": "起拍价[大宗式竞拍]",
  10212. "type": "number"
  10213. },
  10214. "starttime": {
  10215. "description": "预售开始时间",
  10216. "type": "string"
  10217. },
  10218. "tradedate": {
  10219. "description": "交易日(yyyyMMdd)",
  10220. "type": "string"
  10221. },
  10222. "tradeprice": {
  10223. "description": "成交价[大宗]",
  10224. "type": "number"
  10225. }
  10226. }
  10227. },
  10228. "delivery.QueryDeliveryRelationRsp": {
  10229. "type": "object",
  10230. "required": [
  10231. "begindate",
  10232. "enddate",
  10233. "goodsid",
  10234. "mindeliveryqty",
  10235. "xdeliveryratio"
  10236. ],
  10237. "properties": {
  10238. "begindate": {
  10239. "description": "起始日期(yyyyMMdd)",
  10240. "type": "string"
  10241. },
  10242. "buytemplateid": {
  10243. "description": "买履约计划模板ID",
  10244. "type": "integer"
  10245. },
  10246. "deliverygoodscode": {
  10247. "description": "品种代码",
  10248. "type": "string"
  10249. },
  10250. "deliverygoodsid": {
  10251. "description": "交割商品",
  10252. "type": "integer"
  10253. },
  10254. "deliverygoodsname": {
  10255. "description": "品种名称",
  10256. "type": "string"
  10257. },
  10258. "deliverymode": {
  10259. "description": "交割方式 - 1:点选式 2:申报式",
  10260. "type": "integer"
  10261. },
  10262. "deliverypricerule": {
  10263. "description": "交割价规则- 1:行情价 2:建仓价",
  10264. "type": "integer"
  10265. },
  10266. "deliverytype": {
  10267. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10268. "type": "integer"
  10269. },
  10270. "enddate": {
  10271. "description": "结束日期(yyyyMMdd)",
  10272. "type": "string"
  10273. },
  10274. "goodscode": {
  10275. "description": "商品代码",
  10276. "type": "string"
  10277. },
  10278. "goodsid": {
  10279. "description": "交易合约ID",
  10280. "type": "integer"
  10281. },
  10282. "goodsname": {
  10283. "description": "商品名称",
  10284. "type": "string"
  10285. },
  10286. "marketid": {
  10287. "description": "市场ID",
  10288. "type": "integer"
  10289. },
  10290. "mindeliveryqty": {
  10291. "description": "最小交割系数(K)",
  10292. "type": "integer"
  10293. },
  10294. "p2deliveryprice": {
  10295. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10296. "type": "number"
  10297. },
  10298. "p2deliveryratio": {
  10299. "description": "P2合约系数(p)",
  10300. "type": "integer"
  10301. },
  10302. "p2goodsid": {
  10303. "description": "P2合约ID",
  10304. "type": "integer"
  10305. },
  10306. "p2pricemode": {
  10307. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10308. "type": "integer"
  10309. },
  10310. "pdeliveryprice": {
  10311. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10312. "type": "number"
  10313. },
  10314. "pdeliveryratio": {
  10315. "description": "P合约系数(n)",
  10316. "type": "integer"
  10317. },
  10318. "pgoodsid": {
  10319. "description": "P合约ID",
  10320. "type": "integer"
  10321. },
  10322. "ppricemode": {
  10323. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10324. "type": "integer"
  10325. },
  10326. "rratio": {
  10327. "description": "兑换系数(R)",
  10328. "type": "integer"
  10329. },
  10330. "rratio1": {
  10331. "description": "兑换系数(交易合约)(R1)",
  10332. "type": "integer"
  10333. },
  10334. "rratio2": {
  10335. "description": "兑换系数(仓单标准)(R2)",
  10336. "type": "integer"
  10337. },
  10338. "selltemplateid": {
  10339. "description": "卖履约计划模板ID",
  10340. "type": "integer"
  10341. },
  10342. "wrstandardid": {
  10343. "description": "仓单标准ID",
  10344. "type": "integer"
  10345. },
  10346. "xdeliveryratio": {
  10347. "description": "交易合约系数(m)",
  10348. "type": "integer"
  10349. }
  10350. }
  10351. },
  10352. "ermcp.ExposureDetailRsp": {
  10353. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10354. },
  10355. "ermcp.ExposureHedgePosDetailRsp": {
  10356. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10357. },
  10358. "ermcp.ExposureHedgePositionRsp": {
  10359. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10360. },
  10361. "ermcp.ExposureSpotDetailRsp": {
  10362. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10363. },
  10364. "ermcp.ExposureSpotRsp": {
  10365. "$ref": "#/definitions/models.AreaSpotModel"
  10366. },
  10367. "ermcp.HisExposureRsp": {
  10368. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10369. },
  10370. "ermcp.PendingAuditCntRsp": {
  10371. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10372. },
  10373. "ermcp.QryAreaStockApplyRsp": {
  10374. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10375. },
  10376. "ermcp.QryAvalidGPRsp": {
  10377. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10378. },
  10379. "ermcp.QryBusinessDjRsp": {
  10380. "type": "object",
  10381. "properties": {
  10382. "amount": {
  10383. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10384. "type": "number"
  10385. },
  10386. "applyid": {
  10387. "description": "申请人",
  10388. "type": "string"
  10389. },
  10390. "applyname": {
  10391. "description": "申请人名称",
  10392. "type": "string"
  10393. },
  10394. "applystatus": {
  10395. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10396. "type": "integer"
  10397. },
  10398. "applytime": {
  10399. "description": "申请时间",
  10400. "type": "string"
  10401. },
  10402. "attachurl": {
  10403. "description": "附件",
  10404. "type": "string"
  10405. },
  10406. "auditid": {
  10407. "description": "审核人ID",
  10408. "type": "string"
  10409. },
  10410. "auditname": {
  10411. "description": "审核人名称",
  10412. "type": "string"
  10413. },
  10414. "audittime": {
  10415. "description": "审核时间",
  10416. "type": "string"
  10417. },
  10418. "buyusername": {
  10419. "description": "采购方名称",
  10420. "type": "string"
  10421. },
  10422. "contractno": {
  10423. "description": "合同编号",
  10424. "type": "string"
  10425. },
  10426. "contractstatus": {
  10427. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10428. "type": "integer"
  10429. },
  10430. "contracttype": {
  10431. "description": "现货合同类型 - 1:采购 -1:销售",
  10432. "type": "integer"
  10433. },
  10434. "deliverygoodscode": {
  10435. "description": "现货品种代码",
  10436. "type": "string"
  10437. },
  10438. "deliverygoodsid": {
  10439. "description": "现货商品ID",
  10440. "type": "integer"
  10441. },
  10442. "deliverygoodsname": {
  10443. "description": "现货品种名称",
  10444. "type": "string"
  10445. },
  10446. "enumdicname": {
  10447. "description": "单位名称",
  10448. "type": "string"
  10449. },
  10450. "goodscode": {
  10451. "description": "点价合约",
  10452. "type": "string"
  10453. },
  10454. "goodsname": {
  10455. "description": "商品名称",
  10456. "type": "string"
  10457. },
  10458. "operateapplyid": {
  10459. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10460. "type": "string"
  10461. },
  10462. "operateapplytype": {
  10463. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10464. "type": "integer"
  10465. },
  10466. "pricedPrice": {
  10467. "description": "点价价格(非必填)",
  10468. "type": "number"
  10469. },
  10470. "pricedQty": {
  10471. "description": "点价数量(非必填)",
  10472. "type": "number"
  10473. },
  10474. "pricemove": {
  10475. "description": "升贴水",
  10476. "type": "number"
  10477. },
  10478. "pricetype": {
  10479. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10480. "type": "integer"
  10481. },
  10482. "relatedid": {
  10483. "description": "现货合同ID",
  10484. "type": "string"
  10485. },
  10486. "sellusername": {
  10487. "description": "销售方名字",
  10488. "type": "string"
  10489. },
  10490. "userid": {
  10491. "description": "用户ID",
  10492. "type": "integer"
  10493. },
  10494. "wrstandardcode": {
  10495. "description": "品类代码",
  10496. "type": "string"
  10497. },
  10498. "wrstandardid": {
  10499. "description": "品类id",
  10500. "type": "integer"
  10501. },
  10502. "wrstandardname": {
  10503. "description": "品类名称",
  10504. "type": "string"
  10505. }
  10506. }
  10507. },
  10508. "ermcp.QryBussinessFpRsp": {
  10509. "type": "object",
  10510. "properties": {
  10511. "applyid": {
  10512. "description": "申请人",
  10513. "type": "string"
  10514. },
  10515. "applyname": {
  10516. "description": "申请人名称",
  10517. "type": "string"
  10518. },
  10519. "applystatus": {
  10520. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10521. "type": "integer"
  10522. },
  10523. "applytime": {
  10524. "description": "申请时间",
  10525. "type": "string"
  10526. },
  10527. "attachurl": {
  10528. "description": "附件",
  10529. "type": "string"
  10530. },
  10531. "auditid": {
  10532. "description": "审核人ID",
  10533. "type": "string"
  10534. },
  10535. "auditname": {
  10536. "description": "审核人名称",
  10537. "type": "string"
  10538. },
  10539. "audittime": {
  10540. "description": "审核时间",
  10541. "type": "string"
  10542. },
  10543. "buyusername": {
  10544. "description": "采购方名称",
  10545. "type": "string"
  10546. },
  10547. "contractno": {
  10548. "description": "合同编号",
  10549. "type": "string"
  10550. },
  10551. "contractstatus": {
  10552. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10553. "type": "integer"
  10554. },
  10555. "contracttype": {
  10556. "description": "现货合同类型 - 1:采购 -1:销售",
  10557. "type": "integer"
  10558. },
  10559. "deliverygoodscode": {
  10560. "description": "现货品种代码",
  10561. "type": "string"
  10562. },
  10563. "deliverygoodsid": {
  10564. "description": "现货商品ID",
  10565. "type": "integer"
  10566. },
  10567. "deliverygoodsname": {
  10568. "description": "现货品种名称",
  10569. "type": "string"
  10570. },
  10571. "enumdicname": {
  10572. "description": "单位名称",
  10573. "type": "string"
  10574. },
  10575. "goodscode": {
  10576. "description": "点价合约",
  10577. "type": "string"
  10578. },
  10579. "goodsname": {
  10580. "description": "商品名称",
  10581. "type": "string"
  10582. },
  10583. "invoiceAmount": {
  10584. "description": "已开收票金额(销售为开票,采购为收票)",
  10585. "type": "number"
  10586. },
  10587. "operateapplyid": {
  10588. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10589. "type": "string"
  10590. },
  10591. "operateapplytype": {
  10592. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10593. "type": "integer"
  10594. },
  10595. "pricemove": {
  10596. "description": "升贴水",
  10597. "type": "number"
  10598. },
  10599. "pricetype": {
  10600. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10601. "type": "integer"
  10602. },
  10603. "relatedid": {
  10604. "description": "现货合同ID",
  10605. "type": "string"
  10606. },
  10607. "sellusername": {
  10608. "description": "销售方名字",
  10609. "type": "string"
  10610. },
  10611. "userid": {
  10612. "description": "用户ID",
  10613. "type": "integer"
  10614. },
  10615. "wrstandardcode": {
  10616. "description": "品类代码",
  10617. "type": "string"
  10618. },
  10619. "wrstandardid": {
  10620. "description": "品类id",
  10621. "type": "integer"
  10622. },
  10623. "wrstandardname": {
  10624. "description": "品类名称",
  10625. "type": "string"
  10626. }
  10627. }
  10628. },
  10629. "ermcp.QryBussinessJsExRsp": {
  10630. "type": "object",
  10631. "properties": {
  10632. "applyid": {
  10633. "description": "申请人",
  10634. "type": "string"
  10635. },
  10636. "applyname": {
  10637. "description": "申请人名称",
  10638. "type": "string"
  10639. },
  10640. "applystatus": {
  10641. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10642. "type": "integer"
  10643. },
  10644. "applytime": {
  10645. "description": "申请时间",
  10646. "type": "string"
  10647. },
  10648. "attachurl": {
  10649. "description": "附件",
  10650. "type": "string"
  10651. },
  10652. "auditid": {
  10653. "description": "审核人ID",
  10654. "type": "string"
  10655. },
  10656. "auditname": {
  10657. "description": "审核人名称",
  10658. "type": "string"
  10659. },
  10660. "audittime": {
  10661. "description": "审核时间",
  10662. "type": "string"
  10663. },
  10664. "buyusername": {
  10665. "description": "采购方名称",
  10666. "type": "string"
  10667. },
  10668. "contractno": {
  10669. "description": "合同编号",
  10670. "type": "string"
  10671. },
  10672. "contractstatus": {
  10673. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10674. "type": "integer"
  10675. },
  10676. "contracttype": {
  10677. "description": "现货合同类型 - 1:采购 -1:销售",
  10678. "type": "integer"
  10679. },
  10680. "deliverygoodscode": {
  10681. "description": "现货品种代码",
  10682. "type": "string"
  10683. },
  10684. "deliverygoodsid": {
  10685. "description": "现货商品ID",
  10686. "type": "integer"
  10687. },
  10688. "deliverygoodsname": {
  10689. "description": "现货品种名称",
  10690. "type": "string"
  10691. },
  10692. "enumdicname": {
  10693. "description": "单位名称",
  10694. "type": "string"
  10695. },
  10696. "goodscode": {
  10697. "description": "点价合约",
  10698. "type": "string"
  10699. },
  10700. "goodsname": {
  10701. "description": "商品名称",
  10702. "type": "string"
  10703. },
  10704. "operateapplyid": {
  10705. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10706. "type": "string"
  10707. },
  10708. "operateapplytype": {
  10709. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10710. "type": "integer"
  10711. },
  10712. "pricemove": {
  10713. "description": "升贴水",
  10714. "type": "number"
  10715. },
  10716. "pricetype": {
  10717. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10718. "type": "integer"
  10719. },
  10720. "reckontype": {
  10721. "description": "结算类型",
  10722. "type": "string"
  10723. },
  10724. "reckonvalue": {
  10725. "description": "值",
  10726. "type": "number"
  10727. },
  10728. "relatedid": {
  10729. "description": "现货合同ID",
  10730. "type": "string"
  10731. },
  10732. "sellusername": {
  10733. "description": "销售方名字",
  10734. "type": "string"
  10735. },
  10736. "userid": {
  10737. "description": "用户ID",
  10738. "type": "integer"
  10739. },
  10740. "wrstandardcode": {
  10741. "description": "品类代码",
  10742. "type": "string"
  10743. },
  10744. "wrstandardid": {
  10745. "description": "品类id",
  10746. "type": "integer"
  10747. },
  10748. "wrstandardname": {
  10749. "description": "品类名称",
  10750. "type": "string"
  10751. }
  10752. }
  10753. },
  10754. "ermcp.QryBussinessJsRsp": {
  10755. "type": "object",
  10756. "properties": {
  10757. "addmargin": {
  10758. "description": "追加保证金(非必填)",
  10759. "type": "number"
  10760. },
  10761. "applyid": {
  10762. "description": "申请人",
  10763. "type": "string"
  10764. },
  10765. "applyname": {
  10766. "description": "申请人名称",
  10767. "type": "string"
  10768. },
  10769. "applystatus": {
  10770. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10771. "type": "integer"
  10772. },
  10773. "applytime": {
  10774. "description": "申请时间",
  10775. "type": "string"
  10776. },
  10777. "attachurl": {
  10778. "description": "附件",
  10779. "type": "string"
  10780. },
  10781. "auditid": {
  10782. "description": "审核人ID",
  10783. "type": "string"
  10784. },
  10785. "auditname": {
  10786. "description": "审核人名称",
  10787. "type": "string"
  10788. },
  10789. "audittime": {
  10790. "description": "审核时间",
  10791. "type": "string"
  10792. },
  10793. "buyusername": {
  10794. "description": "采购方名称",
  10795. "type": "string"
  10796. },
  10797. "contractno": {
  10798. "description": "合同编号",
  10799. "type": "string"
  10800. },
  10801. "contractstatus": {
  10802. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10803. "type": "integer"
  10804. },
  10805. "contracttype": {
  10806. "description": "现货合同类型 - 1:采购 -1:销售",
  10807. "type": "integer"
  10808. },
  10809. "decmargin": {
  10810. "description": "减少保证金(非必填)",
  10811. "type": "number"
  10812. },
  10813. "deliverygoodscode": {
  10814. "description": "现货品种代码",
  10815. "type": "string"
  10816. },
  10817. "deliverygoodsid": {
  10818. "description": "现货商品ID",
  10819. "type": "integer"
  10820. },
  10821. "deliverygoodsname": {
  10822. "description": "现货品种名称",
  10823. "type": "string"
  10824. },
  10825. "enumdicname": {
  10826. "description": "单位名称",
  10827. "type": "string"
  10828. },
  10829. "goodscode": {
  10830. "description": "点价合约",
  10831. "type": "string"
  10832. },
  10833. "goodsname": {
  10834. "description": "商品名称",
  10835. "type": "string"
  10836. },
  10837. "operateapplyid": {
  10838. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10839. "type": "string"
  10840. },
  10841. "operateapplytype": {
  10842. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10843. "type": "integer"
  10844. },
  10845. "pricemove": {
  10846. "description": "升贴水",
  10847. "type": "number"
  10848. },
  10849. "pricetype": {
  10850. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10851. "type": "integer"
  10852. },
  10853. "reckonadjustamount": {
  10854. "description": "结算调整金额(非必填)",
  10855. "type": "number"
  10856. },
  10857. "reckonosamount": {
  10858. "description": "结算溢短金额(非必填)",
  10859. "type": "number"
  10860. },
  10861. "reckonotheramount": {
  10862. "description": "结算其他费用(非必填)",
  10863. "type": "number"
  10864. },
  10865. "reckonrealqty": {
  10866. "description": "结算实际数量(非必填)",
  10867. "type": "number"
  10868. },
  10869. "relatedid": {
  10870. "description": "现货合同ID",
  10871. "type": "string"
  10872. },
  10873. "sellusername": {
  10874. "description": "销售方名字",
  10875. "type": "string"
  10876. },
  10877. "userid": {
  10878. "description": "用户ID",
  10879. "type": "integer"
  10880. },
  10881. "wrstandardcode": {
  10882. "description": "品类代码",
  10883. "type": "string"
  10884. },
  10885. "wrstandardid": {
  10886. "description": "品类id",
  10887. "type": "integer"
  10888. },
  10889. "wrstandardname": {
  10890. "description": "品类名称",
  10891. "type": "string"
  10892. }
  10893. }
  10894. },
  10895. "ermcp.QryBussinessKxRsp": {
  10896. "type": "object",
  10897. "properties": {
  10898. "applyid": {
  10899. "description": "申请人",
  10900. "type": "string"
  10901. },
  10902. "applyname": {
  10903. "description": "申请人名称",
  10904. "type": "string"
  10905. },
  10906. "applystatus": {
  10907. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10908. "type": "integer"
  10909. },
  10910. "applytime": {
  10911. "description": "申请时间",
  10912. "type": "string"
  10913. },
  10914. "attachurl": {
  10915. "description": "附件",
  10916. "type": "string"
  10917. },
  10918. "auditid": {
  10919. "description": "审核人ID",
  10920. "type": "string"
  10921. },
  10922. "auditname": {
  10923. "description": "审核人名称",
  10924. "type": "string"
  10925. },
  10926. "audittime": {
  10927. "description": "审核时间",
  10928. "type": "string"
  10929. },
  10930. "buyusername": {
  10931. "description": "采购方名称",
  10932. "type": "string"
  10933. },
  10934. "contractno": {
  10935. "description": "合同编号",
  10936. "type": "string"
  10937. },
  10938. "contractstatus": {
  10939. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10940. "type": "integer"
  10941. },
  10942. "contracttype": {
  10943. "description": "现货合同类型 - 1:采购 -1:销售",
  10944. "type": "integer"
  10945. },
  10946. "deductamount": {
  10947. "description": "退款(非必填)",
  10948. "type": "number"
  10949. },
  10950. "deliverygoodscode": {
  10951. "description": "现货品种代码",
  10952. "type": "string"
  10953. },
  10954. "deliverygoodsid": {
  10955. "description": "现货商品ID",
  10956. "type": "integer"
  10957. },
  10958. "deliverygoodsname": {
  10959. "description": "现货品种名称",
  10960. "type": "string"
  10961. },
  10962. "enumdicname": {
  10963. "description": "单位名称",
  10964. "type": "string"
  10965. },
  10966. "goodscode": {
  10967. "description": "点价合约",
  10968. "type": "string"
  10969. },
  10970. "goodsname": {
  10971. "description": "商品名称",
  10972. "type": "string"
  10973. },
  10974. "kxtype": {
  10975. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10976. "type": "integer"
  10977. },
  10978. "operateapplyid": {
  10979. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10980. "type": "string"
  10981. },
  10982. "operateapplytype": {
  10983. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10984. "type": "integer"
  10985. },
  10986. "payamount": {
  10987. "description": "收付款(非必填)",
  10988. "type": "number"
  10989. },
  10990. "pricemove": {
  10991. "description": "升贴水",
  10992. "type": "number"
  10993. },
  10994. "pricetype": {
  10995. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10996. "type": "integer"
  10997. },
  10998. "relatedid": {
  10999. "description": "现货合同ID",
  11000. "type": "string"
  11001. },
  11002. "sellusername": {
  11003. "description": "销售方名字",
  11004. "type": "string"
  11005. },
  11006. "userid": {
  11007. "description": "用户ID",
  11008. "type": "integer"
  11009. },
  11010. "wrstandardcode": {
  11011. "description": "品类代码",
  11012. "type": "string"
  11013. },
  11014. "wrstandardid": {
  11015. "description": "品类id",
  11016. "type": "integer"
  11017. },
  11018. "wrstandardname": {
  11019. "description": "品类名称",
  11020. "type": "string"
  11021. }
  11022. }
  11023. },
  11024. "ermcp.QryErmcpRsp": {
  11025. "$ref": "#/definitions/models.ErmcpModel"
  11026. },
  11027. "ermcp.QryGGCovertCfgRsp": {
  11028. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11029. },
  11030. "ermcp.QryHedgePlanRsp": {
  11031. "$ref": "#/definitions/models.ErmcpHedgePlan"
  11032. },
  11033. "ermcp.QryMGChangeLogRsp": {
  11034. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11035. },
  11036. "ermcp.QryMiddleGoodsDetailRsp": {
  11037. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11038. },
  11039. "ermcp.QryMiddleGoodsRsp": {
  11040. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11041. },
  11042. "ermcp.QryOPLogRsp": {
  11043. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11044. },
  11045. "ermcp.QryReportDaySpotDetailRsp": {
  11046. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11047. },
  11048. "ermcp.QryReportExposureDayRsp": {
  11049. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  11050. },
  11051. "ermcp.QryReportFinanceDayRsp": {
  11052. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11053. },
  11054. "ermcp.QryReportFinanceKxRsp": {
  11055. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11056. },
  11057. "ermcp.QryReportFinanceMonRsp": {
  11058. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  11059. },
  11060. "ermcp.QryReportSpotDayRsp": {
  11061. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11062. },
  11063. "ermcp.QryReportSpotMonRsp": {
  11064. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  11065. },
  11066. "ermcp.QryReportSpotMonthDetailRsp": {
  11067. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11068. },
  11069. "ermcp.QrySpotContractRsp": {
  11070. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  11071. },
  11072. "ermcp.QryUserInfoRsp": {
  11073. "$ref": "#/definitions/models.ErmcpUserModel"
  11074. },
  11075. "ermcp.QryWarehouseRsp": {
  11076. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11077. },
  11078. "ermcp.QryWrStandardDetailRsp": {
  11079. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  11080. },
  11081. "ermcp.QryWrStandardRsp": {
  11082. "$ref": "#/definitions/models.ErmcpWrstandard"
  11083. },
  11084. "ermcp.QueryAreaStockApplySumRsp": {
  11085. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  11086. },
  11087. "ermcp.QueryErmcpTradePositionRsp": {
  11088. "type": "object",
  11089. "properties": {
  11090. "agreeunit": {
  11091. "description": "合约单位",
  11092. "type": "number"
  11093. },
  11094. "buyorsell": {
  11095. "description": "方向 - 0:买 1:卖",
  11096. "type": "integer"
  11097. },
  11098. "curpositionqty": {
  11099. "description": "持仓(总仓数量, 期末头寸)",
  11100. "type": "integer"
  11101. },
  11102. "curtdposition": {
  11103. "description": "今仓数量(期末今日头寸)",
  11104. "type": "integer"
  11105. },
  11106. "curtdpositionenabled": {
  11107. "description": "今仓可用",
  11108. "type": "integer"
  11109. },
  11110. "decimalplace": {
  11111. "description": "报价小数位",
  11112. "type": "integer"
  11113. },
  11114. "enableqty": {
  11115. "description": "可用(总仓可用)",
  11116. "type": "integer"
  11117. },
  11118. "exexchangename": {
  11119. "description": "外部交易所名称",
  11120. "type": "string"
  11121. },
  11122. "goodscode": {
  11123. "description": "商品代码(内部)",
  11124. "type": "string"
  11125. },
  11126. "goodsid": {
  11127. "description": "商品ID(自增ID SEQ_GOODS)",
  11128. "type": "integer"
  11129. },
  11130. "goodsname": {
  11131. "description": "商品名称",
  11132. "type": "string"
  11133. },
  11134. "last": {
  11135. "description": "现价",
  11136. "type": "number"
  11137. },
  11138. "marketid": {
  11139. "description": "所属市场ID",
  11140. "type": "integer"
  11141. },
  11142. "openaverageprice": {
  11143. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11144. "type": "number"
  11145. },
  11146. "opencost": {
  11147. "description": "开仓成本",
  11148. "type": "number"
  11149. },
  11150. "openpl": {
  11151. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11152. "type": "number"
  11153. },
  11154. "outgoodscode": {
  11155. "description": "商品代码(外部)",
  11156. "type": "string"
  11157. },
  11158. "positionaverageprice": {
  11159. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11160. "type": "number"
  11161. },
  11162. "positioncost": {
  11163. "description": "持仓成本",
  11164. "type": "number"
  11165. },
  11166. "positionpl": {
  11167. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11168. "type": "number"
  11169. },
  11170. "positionplrate": {
  11171. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11172. "type": "number"
  11173. },
  11174. "usedmargin": {
  11175. "description": "占用保证金",
  11176. "type": "number"
  11177. }
  11178. }
  11179. },
  11180. "ermcp.RealtimeExposurePositionRsp": {
  11181. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11182. },
  11183. "ermcp.RealtimeExposureRsp": {
  11184. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11185. },
  11186. "erms2.QueryArbitrageStrategyRsp": {
  11187. "type": "object",
  11188. "required": [
  11189. "asapplyid"
  11190. ],
  11191. "properties": {
  11192. "applybasis": {
  11193. "description": "申请基差",
  11194. "type": "number"
  11195. },
  11196. "asapplyid": {
  11197. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11198. "type": "string"
  11199. },
  11200. "asname": {
  11201. "description": "策略名称",
  11202. "type": "string"
  11203. },
  11204. "asno": {
  11205. "description": "策略编号",
  11206. "type": "string"
  11207. },
  11208. "basischangepl": {
  11209. "description": "基差变动损益[结算更新]",
  11210. "type": "number"
  11211. },
  11212. "biztype": {
  11213. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11214. "type": "integer"
  11215. },
  11216. "closetradedate": {
  11217. "description": "完结交易日(yyyyMMdd)",
  11218. "type": "string"
  11219. },
  11220. "curbasis": {
  11221. "description": "当前基差[结算更新]",
  11222. "type": "number"
  11223. },
  11224. "deliverygoodsid": {
  11225. "description": "现货品种ID",
  11226. "type": "integer"
  11227. },
  11228. "futureavgprice": {
  11229. "description": "期货建仓均价",
  11230. "type": "number"
  11231. },
  11232. "futurecloseamount": {
  11233. "description": "期货平仓金额",
  11234. "type": "number"
  11235. },
  11236. "futurecloseqty": {
  11237. "description": "期货平仓数量",
  11238. "type": "number"
  11239. },
  11240. "futureopenamount": {
  11241. "description": "期货开仓金额",
  11242. "type": "number"
  11243. },
  11244. "futureopenqty": {
  11245. "description": "期货开仓数量",
  11246. "type": "number"
  11247. },
  11248. "futurepl": {
  11249. "description": "期货总盈亏[结算更新]",
  11250. "type": "number"
  11251. },
  11252. "futureqty": {
  11253. "description": "期货持仓数量",
  11254. "type": "number"
  11255. },
  11256. "futurequote": {
  11257. "description": "期货额度",
  11258. "type": "number"
  11259. },
  11260. "goodsgroupid": {
  11261. "description": "期货品种ID",
  11262. "type": "integer"
  11263. },
  11264. "marketid": {
  11265. "description": "市场ID",
  11266. "type": "integer"
  11267. },
  11268. "netexposure": {
  11269. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11270. "type": "number"
  11271. },
  11272. "netexposurepl": {
  11273. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11274. "type": "number"
  11275. },
  11276. "netexposurerate": {
  11277. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11278. "type": "number"
  11279. },
  11280. "openbasis": {
  11281. "description": "建仓基差",
  11282. "type": "number"
  11283. },
  11284. "pricedspotqty": {
  11285. "description": "已定价现货数量",
  11286. "type": "number"
  11287. },
  11288. "pricedspotqtynotax": {
  11289. "description": "已定价现货不含税数量",
  11290. "type": "number"
  11291. },
  11292. "remark": {
  11293. "description": "备注",
  11294. "type": "string"
  11295. },
  11296. "spotavgprice": {
  11297. "description": "现货均价",
  11298. "type": "number"
  11299. },
  11300. "spotbuyamount": {
  11301. "description": "现货采购金额",
  11302. "type": "number"
  11303. },
  11304. "spotbuyqty": {
  11305. "description": "现货采购数量",
  11306. "type": "number"
  11307. },
  11308. "spotpl": {
  11309. "description": "现货总盈亏[结算更新]",
  11310. "type": "number"
  11311. },
  11312. "spotquota": {
  11313. "description": "现货额度",
  11314. "type": "number"
  11315. },
  11316. "spotsellamount": {
  11317. "description": "现货销售金额",
  11318. "type": "number"
  11319. },
  11320. "spotsellqty": {
  11321. "description": "现货销售数量",
  11322. "type": "number"
  11323. },
  11324. "spotusedquota": {
  11325. "description": "现货占用资金",
  11326. "type": "number"
  11327. },
  11328. "strategystatus": {
  11329. "description": "策略状态 - 0:未结束 1:已结束",
  11330. "type": "integer"
  11331. },
  11332. "totalpl": {
  11333. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11334. "type": "number"
  11335. },
  11336. "tradedate": {
  11337. "description": "交易日(yyyyMMdd)",
  11338. "type": "string"
  11339. },
  11340. "updatetime": {
  11341. "description": "更新时间",
  11342. "type": "string"
  11343. },
  11344. "usedquota": {
  11345. "description": "已占用资金",
  11346. "type": "number"
  11347. },
  11348. "userid": {
  11349. "description": "所属机构",
  11350. "type": "integer"
  11351. }
  11352. }
  11353. },
  11354. "erms2.QueryInnerTradeDetailRsp": {
  11355. "type": "object",
  11356. "required": [
  11357. "asapplyid",
  11358. "buyorsell",
  11359. "goodscode",
  11360. "goodsgroupid",
  11361. "goodsgroupname",
  11362. "goodsname",
  11363. "tradeid"
  11364. ],
  11365. "properties": {
  11366. "accountid": {
  11367. "description": "账号ID",
  11368. "type": "integer"
  11369. },
  11370. "agreeunit": {
  11371. "description": "合约单位",
  11372. "type": "number"
  11373. },
  11374. "asapplyid": {
  11375. "description": "策略申请ID",
  11376. "type": "integer"
  11377. },
  11378. "asname": {
  11379. "description": "策略名称",
  11380. "type": "string"
  11381. },
  11382. "asno": {
  11383. "description": "策略编号",
  11384. "type": "string"
  11385. },
  11386. "buyorsell": {
  11387. "description": "方向 - 0:买 1:卖",
  11388. "type": "integer"
  11389. },
  11390. "channelbuildtype": {
  11391. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11392. "type": "integer"
  11393. },
  11394. "closetype": {
  11395. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11396. "type": "integer"
  11397. },
  11398. "decimalplace": {
  11399. "description": "报价小数位",
  11400. "type": "integer"
  11401. },
  11402. "detailtype": {
  11403. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11404. "type": "integer"
  11405. },
  11406. "exexchangecode": {
  11407. "description": "外部交易所代码",
  11408. "type": "string"
  11409. },
  11410. "exexchangename": {
  11411. "description": "外部交易所名称",
  11412. "type": "string"
  11413. },
  11414. "goodscode": {
  11415. "description": "商品代码(合约)",
  11416. "type": "string"
  11417. },
  11418. "goodsgroupid": {
  11419. "description": "商品组ID(品种ID)",
  11420. "type": "integer"
  11421. },
  11422. "goodsgroupname": {
  11423. "description": "商品组名称(品种)",
  11424. "type": "string"
  11425. },
  11426. "goodsid": {
  11427. "description": "商品ID",
  11428. "type": "integer"
  11429. },
  11430. "goodsname": {
  11431. "description": "商品名称(合约)",
  11432. "type": "string"
  11433. },
  11434. "goodunit": {
  11435. "description": "报价单位",
  11436. "type": "string"
  11437. },
  11438. "marketid": {
  11439. "description": "市场ID",
  11440. "type": "integer"
  11441. },
  11442. "orderid": {
  11443. "description": "委托单号",
  11444. "type": "string"
  11445. },
  11446. "outgoodscode": {
  11447. "description": "商品代码(外部)",
  11448. "type": "string"
  11449. },
  11450. "relatedouttradeid": {
  11451. "description": "关联外部成交单ID",
  11452. "type": "string"
  11453. },
  11454. "remark": {
  11455. "description": "备注",
  11456. "type": "string"
  11457. },
  11458. "spotcontractid": {
  11459. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11460. "type": "integer"
  11461. },
  11462. "spotcontractno": {
  11463. "description": "现货合同编号",
  11464. "type": "string"
  11465. },
  11466. "tradeid": {
  11467. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11468. "type": "string"
  11469. },
  11470. "tradeprice": {
  11471. "description": "成交价格",
  11472. "type": "number"
  11473. },
  11474. "tradeqty": {
  11475. "description": "成交数量",
  11476. "type": "integer"
  11477. },
  11478. "tradetime": {
  11479. "description": "成交时间",
  11480. "type": "string"
  11481. },
  11482. "updatetime": {
  11483. "description": "更新时间",
  11484. "type": "string"
  11485. }
  11486. }
  11487. },
  11488. "erms2.QuerySpotContractRsp": {
  11489. "type": "object",
  11490. "required": [
  11491. "spotcontractid"
  11492. ],
  11493. "properties": {
  11494. "accountid": {
  11495. "description": "资金账户ID",
  11496. "type": "integer"
  11497. },
  11498. "areauserid": {
  11499. "description": "所属机构",
  11500. "type": "integer"
  11501. },
  11502. "closedate": {
  11503. "description": "终止日期",
  11504. "type": "string"
  11505. },
  11506. "closeremark": {
  11507. "description": "结束备注",
  11508. "type": "string"
  11509. },
  11510. "closetradedate": {
  11511. "description": "完结交易日(yyyyMMdd)",
  11512. "type": "string"
  11513. },
  11514. "closetype": {
  11515. "description": "终止类型 - 1:违约 2:提前终止",
  11516. "type": "integer"
  11517. },
  11518. "contractamount": {
  11519. "description": "合同金额",
  11520. "type": "number"
  11521. },
  11522. "contractattachment": {
  11523. "description": "合同附件",
  11524. "type": "string"
  11525. },
  11526. "contractno": {
  11527. "description": "现货合同编号",
  11528. "type": "string"
  11529. },
  11530. "contractqty": {
  11531. "description": "合同数量(数值) (用于计算)",
  11532. "type": "number"
  11533. },
  11534. "contractqtychar": {
  11535. "description": "合同数量\\已订价数量 (用于显示)",
  11536. "type": "string"
  11537. },
  11538. "contractstatus": {
  11539. "description": "合同状态 - 0:未结束 1:已结束",
  11540. "type": "integer"
  11541. },
  11542. "contracttype": {
  11543. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11544. "type": "integer"
  11545. },
  11546. "customeraccountid": {
  11547. "description": "客户资金账户ID",
  11548. "type": "integer"
  11549. },
  11550. "customeruserid": {
  11551. "description": "客户ID",
  11552. "type": "integer"
  11553. },
  11554. "deliverygoodsdesc": {
  11555. "description": "品种说明",
  11556. "type": "string"
  11557. },
  11558. "deliverygoodsid": {
  11559. "description": "现货品种ID",
  11560. "type": "integer"
  11561. },
  11562. "handlestatus": {
  11563. "description": "处理状态",
  11564. "type": "integer"
  11565. },
  11566. "invoiceatt": {
  11567. "description": "发票附件",
  11568. "type": "string"
  11569. },
  11570. "invoicedatetime": {
  11571. "description": "开收票更新时间",
  11572. "type": "string"
  11573. },
  11574. "invoiceopentime": {
  11575. "description": "开票时间",
  11576. "type": "string"
  11577. },
  11578. "invoiceremark": {
  11579. "description": "发票备注",
  11580. "type": "string"
  11581. },
  11582. "invoicestatus": {
  11583. "description": "开收票状态 - 0:未开票 1:已开票",
  11584. "type": "integer"
  11585. },
  11586. "lastdate": {
  11587. "description": "交货时间",
  11588. "type": "string"
  11589. },
  11590. "marketid": {
  11591. "description": "市场ID",
  11592. "type": "integer"
  11593. },
  11594. "paydatetime": {
  11595. "description": "收付款更新时间",
  11596. "type": "string"
  11597. },
  11598. "payremark": {
  11599. "description": "收付款备注",
  11600. "type": "string"
  11601. },
  11602. "paystatus": {
  11603. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11604. "type": "integer"
  11605. },
  11606. "positionqty": {
  11607. "description": "头寸数量 - 合同数量去小数部分",
  11608. "type": "integer"
  11609. },
  11610. "producttype": {
  11611. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11612. "type": "integer"
  11613. },
  11614. "relatedqty": {
  11615. "description": "已关联数量",
  11616. "type": "number"
  11617. },
  11618. "relatedstatus": {
  11619. "description": "关联完结状态 - 0:未结束 1:已结束",
  11620. "type": "integer"
  11621. },
  11622. "remark": {
  11623. "description": "备注",
  11624. "type": "string"
  11625. },
  11626. "signdate": {
  11627. "description": "签订日期",
  11628. "type": "string"
  11629. },
  11630. "spotcontractid": {
  11631. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11632. "type": "string"
  11633. },
  11634. "spotdatetime": {
  11635. "description": "收发货更新时间",
  11636. "type": "string"
  11637. },
  11638. "spotprice": {
  11639. "description": "价格",
  11640. "type": "number"
  11641. },
  11642. "spotremark": {
  11643. "description": "收发货备注",
  11644. "type": "string"
  11645. },
  11646. "spotstatus": {
  11647. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11648. "type": "integer"
  11649. },
  11650. "tradedate": {
  11651. "description": "交易日(yyyyMMdd)",
  11652. "type": "string"
  11653. },
  11654. "userid": {
  11655. "description": "业务员用户ID",
  11656. "type": "integer"
  11657. },
  11658. "warehouseid": {
  11659. "description": "仓库ID",
  11660. "type": "integer"
  11661. },
  11662. "wrfactortypeid": {
  11663. "description": "仓单要素类型ID",
  11664. "type": "integer"
  11665. },
  11666. "wrstandardid": {
  11667. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11668. "type": "integer"
  11669. }
  11670. }
  11671. },
  11672. "erms3.AddErms2ASApplyReq": {
  11673. "type": "object",
  11674. "required": [
  11675. "asapplyid"
  11676. ],
  11677. "properties": {
  11678. "applybasis": {
  11679. "description": "申请基差",
  11680. "type": "number"
  11681. },
  11682. "applystatus": {
  11683. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11684. "type": "integer"
  11685. },
  11686. "asapplyid": {
  11687. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11688. "type": "integer"
  11689. },
  11690. "asname": {
  11691. "description": "策略名称",
  11692. "type": "string"
  11693. },
  11694. "asno": {
  11695. "description": "策略编号",
  11696. "type": "string"
  11697. },
  11698. "auditid": {
  11699. "description": "审核人",
  11700. "type": "integer"
  11701. },
  11702. "auditremark": {
  11703. "description": "审核备注",
  11704. "type": "string"
  11705. },
  11706. "audittime": {
  11707. "description": "审核时间",
  11708. "type": "string"
  11709. },
  11710. "biztype": {
  11711. "description": "业务类型 - 1:正向套利 2:反向套利",
  11712. "type": "integer"
  11713. },
  11714. "createtime": {
  11715. "description": "创建时间",
  11716. "type": "string"
  11717. },
  11718. "creatorid": {
  11719. "description": "创建人",
  11720. "type": "integer"
  11721. },
  11722. "deliverygoodsid": {
  11723. "description": "现货品种ID",
  11724. "type": "integer"
  11725. },
  11726. "futurequote": {
  11727. "description": "期货额度",
  11728. "type": "number"
  11729. },
  11730. "goodsgroupid": {
  11731. "description": "期货品种ID",
  11732. "type": "integer"
  11733. },
  11734. "marketid": {
  11735. "description": "市场ID",
  11736. "type": "integer"
  11737. },
  11738. "remark": {
  11739. "description": "备注",
  11740. "type": "string"
  11741. },
  11742. "spotquota": {
  11743. "description": "现货额度",
  11744. "type": "number"
  11745. },
  11746. "tradedate": {
  11747. "description": "交易日(yyyyMMdd)",
  11748. "type": "string"
  11749. },
  11750. "userid": {
  11751. "description": "所属机构",
  11752. "type": "integer"
  11753. }
  11754. }
  11755. },
  11756. "erms3.AddErms2SpotTradeApplyReq": {
  11757. "type": "object",
  11758. "required": [
  11759. "spottradeid"
  11760. ],
  11761. "properties": {
  11762. "applyjsondetail": {
  11763. "description": "申请明细(JSON)",
  11764. "type": "string"
  11765. },
  11766. "applystatus": {
  11767. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11768. "type": "integer"
  11769. },
  11770. "areauserid": {
  11771. "description": "所属机构",
  11772. "type": "integer"
  11773. },
  11774. "auditid": {
  11775. "description": "审核人",
  11776. "type": "integer"
  11777. },
  11778. "auditremark": {
  11779. "description": "审核备注",
  11780. "type": "string"
  11781. },
  11782. "audittime": {
  11783. "description": "审核时间",
  11784. "type": "string"
  11785. },
  11786. "createtime": {
  11787. "description": "创建时间",
  11788. "type": "string"
  11789. },
  11790. "creatorid": {
  11791. "description": "创建人",
  11792. "type": "integer"
  11793. },
  11794. "deliverygoodsid": {
  11795. "description": "现货品种ID",
  11796. "type": "integer"
  11797. },
  11798. "futureaccountid": {
  11799. "description": "期货资金账户",
  11800. "type": "integer"
  11801. },
  11802. "goodsgroupid": {
  11803. "description": "期货品种",
  11804. "type": "integer"
  11805. },
  11806. "marketid": {
  11807. "description": "市场ID",
  11808. "type": "integer"
  11809. },
  11810. "remark": {
  11811. "description": "备注",
  11812. "type": "string"
  11813. },
  11814. "spotaccountid": {
  11815. "description": "现货资金账户",
  11816. "type": "integer"
  11817. },
  11818. "spottradeid": {
  11819. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11820. "type": "integer"
  11821. },
  11822. "spottradename": {
  11823. "description": "业务名称",
  11824. "type": "string"
  11825. },
  11826. "spottradeno": {
  11827. "description": "业务编号",
  11828. "type": "string"
  11829. },
  11830. "tradedate": {
  11831. "description": "交易日(yyyyMMdd)",
  11832. "type": "string"
  11833. },
  11834. "wrstandardid": {
  11835. "description": "仓单标准ID",
  11836. "type": "integer"
  11837. }
  11838. }
  11839. },
  11840. "erms3.AddSpotContractApplyReq": {
  11841. "type": "object",
  11842. "required": [
  11843. "accountid",
  11844. "areauserid",
  11845. "contractno",
  11846. "contracttype",
  11847. "customeraccountid",
  11848. "customeruserid",
  11849. "details",
  11850. "orimargin",
  11851. "signdate"
  11852. ],
  11853. "properties": {
  11854. "accountid": {
  11855. "description": "资金账户ID",
  11856. "type": "integer"
  11857. },
  11858. "areauserid": {
  11859. "description": "所属机构",
  11860. "type": "integer"
  11861. },
  11862. "contractattachment": {
  11863. "description": "合同附件",
  11864. "type": "string"
  11865. },
  11866. "contractno": {
  11867. "description": "现货合同编号",
  11868. "type": "string"
  11869. },
  11870. "contracttype": {
  11871. "description": "现货合同类型 - 1:采购 -1:销售",
  11872. "type": "integer"
  11873. },
  11874. "creatorid": {
  11875. "description": "申请人",
  11876. "type": "integer"
  11877. },
  11878. "customeraccountid": {
  11879. "description": "客户资金账户ID",
  11880. "type": "integer"
  11881. },
  11882. "customeruserid": {
  11883. "description": "客户ID",
  11884. "type": "integer"
  11885. },
  11886. "details": {
  11887. "description": "明细",
  11888. "type": "array",
  11889. "items": {
  11890. "$ref": "#/definitions/erms3.SoptContractDetail"
  11891. }
  11892. },
  11893. "orimargin": {
  11894. "description": "初始保证金",
  11895. "type": "number"
  11896. },
  11897. "remark": {
  11898. "description": "备注",
  11899. "type": "string"
  11900. },
  11901. "signdate": {
  11902. "description": "签订日期",
  11903. "type": "string"
  11904. }
  11905. }
  11906. },
  11907. "erms3.AddSpotContractApplyRsp": {
  11908. "type": "object",
  11909. "required": [
  11910. "contractno"
  11911. ],
  11912. "properties": {
  11913. "contractno": {
  11914. "description": "现货合同编号",
  11915. "type": "string"
  11916. },
  11917. "spotcontractid": {
  11918. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11919. "type": "integer"
  11920. }
  11921. }
  11922. },
  11923. "erms3.AddUserInfoApplyReq": {
  11924. "type": "object",
  11925. "required": [
  11926. "userid"
  11927. ],
  11928. "properties": {
  11929. "accountid": {
  11930. "description": "交易系统帐号Id (加密存储)",
  11931. "type": "integer"
  11932. },
  11933. "areacode": {
  11934. "description": "机构代码",
  11935. "type": "string"
  11936. },
  11937. "areaid": {
  11938. "description": "机构Id",
  11939. "type": "integer"
  11940. },
  11941. "attachment1": {
  11942. "description": "附件1",
  11943. "type": "string"
  11944. },
  11945. "attachment2": {
  11946. "description": "附件2",
  11947. "type": "string"
  11948. },
  11949. "attachment3": {
  11950. "description": "附件3",
  11951. "type": "string"
  11952. },
  11953. "attachment4": {
  11954. "description": "附件4",
  11955. "type": "string"
  11956. },
  11957. "attachment5": {
  11958. "description": "附件5",
  11959. "type": "string"
  11960. },
  11961. "auditedby": {
  11962. "description": "审核人",
  11963. "type": "string"
  11964. },
  11965. "auditime": {
  11966. "description": "审核时间",
  11967. "type": "string"
  11968. },
  11969. "bankaccount": {
  11970. "description": "银行帐号 (加密存储)",
  11971. "type": "string"
  11972. },
  11973. "bankaccountname": {
  11974. "description": "收款人名称",
  11975. "type": "string"
  11976. },
  11977. "bankcardbackphotourl": {
  11978. "description": "银行卡背面照地址",
  11979. "type": "string"
  11980. },
  11981. "bankcardfrontphotourl": {
  11982. "description": "银行卡正面照地址",
  11983. "type": "string"
  11984. },
  11985. "bankid": {
  11986. "description": "银行编码",
  11987. "type": "string"
  11988. },
  11989. "bankname": {
  11990. "description": "银行名称",
  11991. "type": "string"
  11992. },
  11993. "bankpictureurl": {
  11994. "description": "银行卡正面地址",
  11995. "type": "string"
  11996. },
  11997. "biznature": {
  11998. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11999. "type": "integer"
  12000. },
  12001. "bizscope": {
  12002. "description": "企业经营范围(企业)",
  12003. "type": "string"
  12004. },
  12005. "biztype": {
  12006. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12007. "type": "integer"
  12008. },
  12009. "brokerid": {
  12010. "description": "经纪人ID(加密存储)",
  12011. "type": "string"
  12012. },
  12013. "cardaddress": {
  12014. "description": "证件地址 (加密存储)",
  12015. "type": "string"
  12016. },
  12017. "cardbackphotourl": {
  12018. "description": "背面证件照地址",
  12019. "type": "string"
  12020. },
  12021. "cardfrontphotourl": {
  12022. "description": "正面证件照地址",
  12023. "type": "string"
  12024. },
  12025. "cardnum": {
  12026. "description": "证件号码 (加密存储)",
  12027. "type": "string"
  12028. },
  12029. "cardtype": {
  12030. "description": "证件类型",
  12031. "type": "integer"
  12032. },
  12033. "cityid": {
  12034. "description": "市",
  12035. "type": "integer"
  12036. },
  12037. "company": {
  12038. "description": "公司(个人)",
  12039. "type": "string"
  12040. },
  12041. "contactcardbackphotourl": {
  12042. "description": "联系人证件背面图片地址",
  12043. "type": "string"
  12044. },
  12045. "contactcardfrontphotourl": {
  12046. "description": "联系人证件正面图片地址",
  12047. "type": "string"
  12048. },
  12049. "contactname": {
  12050. "description": "联系人",
  12051. "type": "string"
  12052. },
  12053. "countryid": {
  12054. "description": "国家",
  12055. "type": "integer"
  12056. },
  12057. "createtime": {
  12058. "description": "开户申请时间",
  12059. "type": "string"
  12060. },
  12061. "cusbankid": {
  12062. "description": "签约类型",
  12063. "type": "string"
  12064. },
  12065. "cusbankname": {
  12066. "description": "签约类型名称",
  12067. "type": "string"
  12068. },
  12069. "customername": {
  12070. "description": "客户名称(企业名称)",
  12071. "type": "string"
  12072. },
  12073. "districtid": {
  12074. "description": "地区",
  12075. "type": "integer"
  12076. },
  12077. "email": {
  12078. "description": "Email地址(加密存储)",
  12079. "type": "string"
  12080. },
  12081. "halfbodyphotourl": {
  12082. "description": "半身照地址",
  12083. "type": "string"
  12084. },
  12085. "headurl": {
  12086. "description": "头像地址",
  12087. "type": "string"
  12088. },
  12089. "ipaddress": {
  12090. "description": "IP地址",
  12091. "type": "string"
  12092. },
  12093. "isvalidate": {
  12094. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12095. "type": "string"
  12096. },
  12097. "legalcardbackphotourl": {
  12098. "description": "法人身份证背面照地址",
  12099. "type": "string"
  12100. },
  12101. "legalcardfrontphotourl": {
  12102. "description": "法人身份证正面照地址",
  12103. "type": "string"
  12104. },
  12105. "legalpersonname": {
  12106. "description": "法人姓名(企业)",
  12107. "type": "string"
  12108. },
  12109. "logincode": {
  12110. "description": "登录帐号 (加密存储)",
  12111. "type": "string"
  12112. },
  12113. "memberareaid": {
  12114. "description": "所属会员ID",
  12115. "type": "integer"
  12116. },
  12117. "mobile2": {
  12118. "description": "手机号码[明文-尚志]",
  12119. "type": "string"
  12120. },
  12121. "mobilephone": {
  12122. "description": "手机号码 (加密存储)",
  12123. "type": "string"
  12124. },
  12125. "modifiedby": {
  12126. "description": "修改人帐号",
  12127. "type": "integer"
  12128. },
  12129. "modifiedtime": {
  12130. "description": "修改时间",
  12131. "type": "string"
  12132. },
  12133. "nickname": {
  12134. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12135. "type": "string"
  12136. },
  12137. "openmode": {
  12138. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12139. "type": "integer"
  12140. },
  12141. "otherurl": {
  12142. "description": "其它图片地址[使用分号分隔]",
  12143. "type": "string"
  12144. },
  12145. "postalcode": {
  12146. "description": "邮政编码",
  12147. "type": "string"
  12148. },
  12149. "provinceid": {
  12150. "description": "省",
  12151. "type": "integer"
  12152. },
  12153. "proxystatementurl": {
  12154. "description": "授权委托书",
  12155. "type": "string"
  12156. },
  12157. "qq": {
  12158. "description": "QQ(加密存储",
  12159. "type": "string"
  12160. },
  12161. "referral": {
  12162. "description": "推荐人编码",
  12163. "type": "string"
  12164. },
  12165. "remark": {
  12166. "description": "备注",
  12167. "type": "string"
  12168. },
  12169. "removebeforestatus": {
  12170. "description": "REMOVEBEFORESTATUS",
  12171. "type": "integer"
  12172. },
  12173. "sex": {
  12174. "description": "性别 - 0:女 1:男",
  12175. "type": "integer"
  12176. },
  12177. "signedstatus": {
  12178. "description": "账户一号签签约状态",
  12179. "type": "integer"
  12180. },
  12181. "signpdfurl": {
  12182. "description": "签约pdf文件",
  12183. "type": "string"
  12184. },
  12185. "subbranch": {
  12186. "description": "开户支行",
  12187. "type": "string"
  12188. },
  12189. "telphone": {
  12190. "description": "联系电话(加密存储)",
  12191. "type": "string"
  12192. },
  12193. "userid": {
  12194. "description": "用户ID(自增ID)",
  12195. "type": "integer"
  12196. },
  12197. "userinfotype": {
  12198. "description": "用户信息类型 - 1:个人 2:企业",
  12199. "type": "integer"
  12200. },
  12201. "username": {
  12202. "description": "用户姓名",
  12203. "type": "string"
  12204. },
  12205. "userstate": {
  12206. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12207. "type": "integer"
  12208. },
  12209. "usertype": {
  12210. "description": "用户类型 - 1:投资者 2:机构",
  12211. "type": "integer"
  12212. },
  12213. "videourl": {
  12214. "description": "视频地址",
  12215. "type": "string"
  12216. },
  12217. "wechat": {
  12218. "description": "微信号 (加密存储)",
  12219. "type": "string"
  12220. }
  12221. }
  12222. },
  12223. "erms3.CustomerInfo": {
  12224. "type": "object",
  12225. "required": [
  12226. "userid"
  12227. ],
  12228. "properties": {
  12229. "accountids": {
  12230. "description": "资金账户ID列表",
  12231. "type": "array",
  12232. "items": {
  12233. "type": "integer"
  12234. }
  12235. },
  12236. "customername": {
  12237. "description": "名称(企业名称)",
  12238. "type": "string"
  12239. },
  12240. "mobile": {
  12241. "description": "手机号码",
  12242. "type": "string"
  12243. },
  12244. "userid": {
  12245. "description": "用户ID",
  12246. "type": "integer"
  12247. }
  12248. }
  12249. },
  12250. "erms3.ModifyUserInfoApplyReq": {
  12251. "type": "object",
  12252. "required": [
  12253. "userid"
  12254. ],
  12255. "properties": {
  12256. "accountid": {
  12257. "description": "交易系统帐号Id (加密存储)",
  12258. "type": "integer"
  12259. },
  12260. "areacode": {
  12261. "description": "机构代码",
  12262. "type": "string"
  12263. },
  12264. "areaid": {
  12265. "description": "机构Id",
  12266. "type": "integer"
  12267. },
  12268. "attachment1": {
  12269. "description": "附件1",
  12270. "type": "string"
  12271. },
  12272. "attachment2": {
  12273. "description": "附件2",
  12274. "type": "string"
  12275. },
  12276. "attachment3": {
  12277. "description": "附件3",
  12278. "type": "string"
  12279. },
  12280. "attachment4": {
  12281. "description": "附件4",
  12282. "type": "string"
  12283. },
  12284. "attachment5": {
  12285. "description": "附件5",
  12286. "type": "string"
  12287. },
  12288. "auditedby": {
  12289. "description": "审核人",
  12290. "type": "string"
  12291. },
  12292. "auditime": {
  12293. "description": "审核时间",
  12294. "type": "string"
  12295. },
  12296. "bankaccount": {
  12297. "description": "银行帐号 (加密存储)",
  12298. "type": "string"
  12299. },
  12300. "bankaccountname": {
  12301. "description": "收款人名称",
  12302. "type": "string"
  12303. },
  12304. "bankcardbackphotourl": {
  12305. "description": "银行卡背面照地址",
  12306. "type": "string"
  12307. },
  12308. "bankcardfrontphotourl": {
  12309. "description": "银行卡正面照地址",
  12310. "type": "string"
  12311. },
  12312. "bankid": {
  12313. "description": "银行编码",
  12314. "type": "string"
  12315. },
  12316. "bankname": {
  12317. "description": "银行名称",
  12318. "type": "string"
  12319. },
  12320. "bankpictureurl": {
  12321. "description": "银行卡正面地址",
  12322. "type": "string"
  12323. },
  12324. "biznature": {
  12325. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12326. "type": "integer"
  12327. },
  12328. "bizscope": {
  12329. "description": "企业经营范围(企业)",
  12330. "type": "string"
  12331. },
  12332. "biztype": {
  12333. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12334. "type": "integer"
  12335. },
  12336. "brokerid": {
  12337. "description": "经纪人ID(加密存储)",
  12338. "type": "string"
  12339. },
  12340. "cardaddress": {
  12341. "description": "证件地址 (加密存储)",
  12342. "type": "string"
  12343. },
  12344. "cardbackphotourl": {
  12345. "description": "背面证件照地址",
  12346. "type": "string"
  12347. },
  12348. "cardfrontphotourl": {
  12349. "description": "正面证件照地址",
  12350. "type": "string"
  12351. },
  12352. "cardnum": {
  12353. "description": "证件号码 (加密存储)",
  12354. "type": "string"
  12355. },
  12356. "cardtype": {
  12357. "description": "证件类型",
  12358. "type": "integer"
  12359. },
  12360. "cityid": {
  12361. "description": "市",
  12362. "type": "integer"
  12363. },
  12364. "company": {
  12365. "description": "公司(个人)",
  12366. "type": "string"
  12367. },
  12368. "contactcardbackphotourl": {
  12369. "description": "联系人证件背面图片地址",
  12370. "type": "string"
  12371. },
  12372. "contactcardfrontphotourl": {
  12373. "description": "联系人证件正面图片地址",
  12374. "type": "string"
  12375. },
  12376. "contactname": {
  12377. "description": "联系人",
  12378. "type": "string"
  12379. },
  12380. "countryid": {
  12381. "description": "国家",
  12382. "type": "integer"
  12383. },
  12384. "createtime": {
  12385. "description": "开户申请时间",
  12386. "type": "string"
  12387. },
  12388. "cusbankid": {
  12389. "description": "签约类型",
  12390. "type": "string"
  12391. },
  12392. "cusbankname": {
  12393. "description": "签约类型名称",
  12394. "type": "string"
  12395. },
  12396. "customername": {
  12397. "description": "客户名称(企业名称)",
  12398. "type": "string"
  12399. },
  12400. "districtid": {
  12401. "description": "地区",
  12402. "type": "integer"
  12403. },
  12404. "email": {
  12405. "description": "Email地址(加密存储)",
  12406. "type": "string"
  12407. },
  12408. "halfbodyphotourl": {
  12409. "description": "半身照地址",
  12410. "type": "string"
  12411. },
  12412. "headurl": {
  12413. "description": "头像地址",
  12414. "type": "string"
  12415. },
  12416. "ipaddress": {
  12417. "description": "IP地址",
  12418. "type": "string"
  12419. },
  12420. "isvalidate": {
  12421. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12422. "type": "string"
  12423. },
  12424. "legalcardbackphotourl": {
  12425. "description": "法人身份证背面照地址",
  12426. "type": "string"
  12427. },
  12428. "legalcardfrontphotourl": {
  12429. "description": "法人身份证正面照地址",
  12430. "type": "string"
  12431. },
  12432. "legalpersonname": {
  12433. "description": "法人姓名(企业)",
  12434. "type": "string"
  12435. },
  12436. "logincode": {
  12437. "description": "登录帐号 (加密存储)",
  12438. "type": "string"
  12439. },
  12440. "memberareaid": {
  12441. "description": "所属会员ID",
  12442. "type": "integer"
  12443. },
  12444. "mobile2": {
  12445. "description": "手机号码[明文-尚志]",
  12446. "type": "string"
  12447. },
  12448. "mobilephone": {
  12449. "description": "手机号码 (加密存储)",
  12450. "type": "string"
  12451. },
  12452. "modifiedby": {
  12453. "description": "修改人帐号",
  12454. "type": "integer"
  12455. },
  12456. "modifiedtime": {
  12457. "description": "修改时间",
  12458. "type": "string"
  12459. },
  12460. "nickname": {
  12461. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12462. "type": "string"
  12463. },
  12464. "openmode": {
  12465. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12466. "type": "integer"
  12467. },
  12468. "otherurl": {
  12469. "description": "其它图片地址[使用分号分隔]",
  12470. "type": "string"
  12471. },
  12472. "postalcode": {
  12473. "description": "邮政编码",
  12474. "type": "string"
  12475. },
  12476. "provinceid": {
  12477. "description": "省",
  12478. "type": "integer"
  12479. },
  12480. "proxystatementurl": {
  12481. "description": "授权委托书",
  12482. "type": "string"
  12483. },
  12484. "qq": {
  12485. "description": "QQ(加密存储",
  12486. "type": "string"
  12487. },
  12488. "referral": {
  12489. "description": "推荐人编码",
  12490. "type": "string"
  12491. },
  12492. "remark": {
  12493. "description": "备注",
  12494. "type": "string"
  12495. },
  12496. "removebeforestatus": {
  12497. "description": "REMOVEBEFORESTATUS",
  12498. "type": "integer"
  12499. },
  12500. "sex": {
  12501. "description": "性别 - 0:女 1:男",
  12502. "type": "integer"
  12503. },
  12504. "signedstatus": {
  12505. "description": "账户一号签签约状态",
  12506. "type": "integer"
  12507. },
  12508. "signpdfurl": {
  12509. "description": "签约pdf文件",
  12510. "type": "string"
  12511. },
  12512. "subbranch": {
  12513. "description": "开户支行",
  12514. "type": "string"
  12515. },
  12516. "telphone": {
  12517. "description": "联系电话(加密存储)",
  12518. "type": "string"
  12519. },
  12520. "userid": {
  12521. "description": "用户ID(自增ID)",
  12522. "type": "integer"
  12523. },
  12524. "userinfotype": {
  12525. "description": "用户信息类型 - 1:个人 2:企业",
  12526. "type": "integer"
  12527. },
  12528. "username": {
  12529. "description": "用户姓名",
  12530. "type": "string"
  12531. },
  12532. "userstate": {
  12533. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12534. "type": "integer"
  12535. },
  12536. "usertype": {
  12537. "description": "用户类型 - 1:投资者 2:机构",
  12538. "type": "integer"
  12539. },
  12540. "videourl": {
  12541. "description": "视频地址",
  12542. "type": "string"
  12543. },
  12544. "wechat": {
  12545. "description": "微信号 (加密存储)",
  12546. "type": "string"
  12547. }
  12548. }
  12549. },
  12550. "erms3.QryAuditContractRsp": {
  12551. "type": "object",
  12552. "required": [
  12553. "matchcustomername",
  12554. "spotcontractid"
  12555. ],
  12556. "properties": {
  12557. "accountid": {
  12558. "description": "交易员ID",
  12559. "type": "string"
  12560. },
  12561. "applystatus": {
  12562. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12563. "type": "integer"
  12564. },
  12565. "curdeliveryqty": {
  12566. "description": "未交收量",
  12567. "type": "integer"
  12568. },
  12569. "customername": {
  12570. "description": "采购方ID",
  12571. "type": "string"
  12572. },
  12573. "deliverygoodsid": {
  12574. "description": "品种ID",
  12575. "type": "string"
  12576. },
  12577. "deliveryqty": {
  12578. "description": "交收量",
  12579. "type": "integer"
  12580. },
  12581. "enumdicname": {
  12582. "description": "单位名称",
  12583. "type": "string"
  12584. },
  12585. "matchaccountid": {
  12586. "description": "业务员ID",
  12587. "type": "string"
  12588. },
  12589. "matchcustomername": {
  12590. "description": "销售方ID",
  12591. "type": "string"
  12592. },
  12593. "pricedqty": {
  12594. "description": "定价量",
  12595. "type": "number"
  12596. },
  12597. "signdate": {
  12598. "description": "签订日期",
  12599. "type": "string"
  12600. },
  12601. "spotcontractid": {
  12602. "description": "合同ID",
  12603. "type": "string"
  12604. },
  12605. "totaldqty": {
  12606. "description": "合同量",
  12607. "type": "number"
  12608. },
  12609. "unpricedqty": {
  12610. "description": "未定价量",
  12611. "type": "number"
  12612. },
  12613. "wrstandardname": {
  12614. "description": "商品名称",
  12615. "type": "string"
  12616. }
  12617. }
  12618. },
  12619. "erms3.QryPendingBizRsp": {
  12620. "$ref": "#/definitions/models.PendingAuditBizModel"
  12621. },
  12622. "erms3.QueryBusinessInfoRsp": {
  12623. "type": "object",
  12624. "properties": {
  12625. "businessid": {
  12626. "description": "业务ID.",
  12627. "type": "integer"
  12628. },
  12629. "buyamount": {
  12630. "description": "采购额.",
  12631. "type": "number"
  12632. },
  12633. "buyqty": {
  12634. "description": "采购量.",
  12635. "type": "string"
  12636. },
  12637. "futurepl": {
  12638. "description": "期货盈亏.",
  12639. "type": "number"
  12640. },
  12641. "futureqty": {
  12642. "description": "期货敞口.",
  12643. "type": "string"
  12644. },
  12645. "goodsid": {
  12646. "description": "商品名称/商品代码.",
  12647. "type": "string"
  12648. },
  12649. "hedgingqty": {
  12650. "description": "套保量.",
  12651. "type": "string"
  12652. },
  12653. "sellamount": {
  12654. "description": "销售额.",
  12655. "type": "number"
  12656. },
  12657. "sellqty": {
  12658. "description": "销售量.",
  12659. "type": "string"
  12660. },
  12661. "spotmarketvalue": {
  12662. "description": "现货市值.",
  12663. "type": "number"
  12664. },
  12665. "spotpl": {
  12666. "description": "浮动权益.",
  12667. "type": "number"
  12668. },
  12669. "spotqty": {
  12670. "description": "现货量.",
  12671. "type": "string"
  12672. },
  12673. "statu": {
  12674. "description": "状态,0-未结束 1-已结束.",
  12675. "type": "integer"
  12676. },
  12677. "totalpl": {
  12678. "description": "总盈亏.",
  12679. "type": "number"
  12680. },
  12681. "totalqty": {
  12682. "description": "总敞口.",
  12683. "type": "string"
  12684. },
  12685. "type": {
  12686. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12687. "type": "integer"
  12688. }
  12689. }
  12690. },
  12691. "erms3.QuerySpotContractAppleFormRsp": {
  12692. "type": "object",
  12693. "properties": {
  12694. "goodses": {
  12695. "description": "合约列表",
  12696. "type": "array",
  12697. "items": {
  12698. "$ref": "#/definitions/models.GoodsIDAndName"
  12699. }
  12700. },
  12701. "oppositeusers": {
  12702. "description": "对方账号列表",
  12703. "type": "array",
  12704. "items": {
  12705. "$ref": "#/definitions/erms3.CustomerInfo"
  12706. }
  12707. },
  12708. "ouruser": {
  12709. "description": "我方账号",
  12710. "type": "object",
  12711. "$ref": "#/definitions/erms3.CustomerInfo"
  12712. },
  12713. "warehouseinfos": {
  12714. "description": "仓库信息列表",
  12715. "type": "array",
  12716. "items": {
  12717. "$ref": "#/definitions/models.Warehouseinfo"
  12718. }
  12719. },
  12720. "wrstandards": {
  12721. "description": "仓单标准列表",
  12722. "type": "array",
  12723. "items": {
  12724. "$ref": "#/definitions/models.WRStandardInfo"
  12725. }
  12726. }
  12727. }
  12728. },
  12729. "erms3.QuerySpotContractInfoRsp": {
  12730. "type": "object",
  12731. "properties": {
  12732. "accountid": {
  12733. "description": "表示交易员ID.",
  12734. "type": "integer"
  12735. },
  12736. "curdeliveryqty": {
  12737. "description": "表示未交收量.",
  12738. "type": "number"
  12739. },
  12740. "customername": {
  12741. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12742. "type": "string"
  12743. },
  12744. "deliverygoodsid": {
  12745. "description": "表示品种ID.",
  12746. "type": "string"
  12747. },
  12748. "deliveryqty": {
  12749. "description": "表示交收量.",
  12750. "type": "number"
  12751. },
  12752. "matchaccountid": {
  12753. "description": "表示业务员ID.",
  12754. "type": "integer"
  12755. },
  12756. "matchcustomername": {
  12757. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12758. "type": "string"
  12759. },
  12760. "priceqty": {
  12761. "description": "表示定价量.",
  12762. "type": "number"
  12763. },
  12764. "relatedbizid": {
  12765. "description": "表示业务ID.",
  12766. "type": "string"
  12767. },
  12768. "signdate": {
  12769. "description": "表示签订日期.",
  12770. "type": "string"
  12771. },
  12772. "spotcontractid": {
  12773. "description": "合同ID",
  12774. "type": "string"
  12775. },
  12776. "status": {
  12777. "description": "表示状态,0-履约中 1-已完成.",
  12778. "type": "integer"
  12779. },
  12780. "totalqty": {
  12781. "description": "表示合同量.",
  12782. "type": "number"
  12783. },
  12784. "unpricedqty": {
  12785. "description": "表示未定价量.",
  12786. "type": "number"
  12787. },
  12788. "wrstandardname": {
  12789. "description": "表示商品ID.",
  12790. "type": "string"
  12791. }
  12792. }
  12793. },
  12794. "erms3.QueryUserInfoAppliesRsp": {
  12795. "type": "object",
  12796. "required": [
  12797. "userid"
  12798. ],
  12799. "properties": {
  12800. "biznature": {
  12801. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12802. "type": "integer"
  12803. },
  12804. "contactname": {
  12805. "description": "联系人",
  12806. "type": "string"
  12807. },
  12808. "createtime": {
  12809. "description": "开户申请时间",
  12810. "type": "string"
  12811. },
  12812. "userid": {
  12813. "description": "用户ID(自增ID)",
  12814. "type": "integer"
  12815. },
  12816. "userinfotype": {
  12817. "description": "用户信息类型 - 1:个人 2:企业",
  12818. "type": "integer"
  12819. },
  12820. "username": {
  12821. "description": "用户姓名",
  12822. "type": "string"
  12823. },
  12824. "userstate": {
  12825. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12826. "type": "integer"
  12827. }
  12828. }
  12829. },
  12830. "erms3.QueryUserInfosRsp": {
  12831. "type": "object",
  12832. "required": [
  12833. "userid"
  12834. ],
  12835. "properties": {
  12836. "biznature": {
  12837. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12838. "type": "integer"
  12839. },
  12840. "contactname": {
  12841. "description": "联系人",
  12842. "type": "string"
  12843. },
  12844. "customername": {
  12845. "description": "客户名称(企业名称)",
  12846. "type": "string"
  12847. },
  12848. "userid": {
  12849. "description": "用户ID",
  12850. "type": "integer"
  12851. },
  12852. "userinfotype": {
  12853. "description": "用户信息类型 - 1:个人 2:企业",
  12854. "type": "integer"
  12855. },
  12856. "userstatus": {
  12857. "description": "用户状态 - 1:正常 2:注销",
  12858. "type": "integer"
  12859. }
  12860. }
  12861. },
  12862. "erms3.SoptContractDetail": {
  12863. "type": "object",
  12864. "required": [
  12865. "deliverygoodsid",
  12866. "producttype",
  12867. "unitname",
  12868. "warehouseid",
  12869. "wrstandardid",
  12870. "wrstandardname"
  12871. ],
  12872. "properties": {
  12873. "deliverygoodsdesc": {
  12874. "description": "现货品种说明",
  12875. "type": "string"
  12876. },
  12877. "deliverygoodsid": {
  12878. "description": "现货品种ID",
  12879. "type": "integer"
  12880. },
  12881. "deliverygoodsname": {
  12882. "description": "现货品种名称",
  12883. "type": "string"
  12884. },
  12885. "pointdesc": {
  12886. "description": "点价描述",
  12887. "type": "string"
  12888. },
  12889. "producttype": {
  12890. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12891. "type": "integer"
  12892. },
  12893. "producttypename": {
  12894. "description": "产品类型名称",
  12895. "type": "string"
  12896. },
  12897. "spotPointOrderVoList": {
  12898. "description": "点价列表",
  12899. "type": "array",
  12900. "items": {
  12901. "$ref": "#/definitions/erms3.SpotPointOrder"
  12902. }
  12903. },
  12904. "spotPriceOrderList": {
  12905. "description": "定价列表",
  12906. "type": "array",
  12907. "items": {
  12908. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12909. }
  12910. },
  12911. "unitname": {
  12912. "description": "单位名称",
  12913. "type": "string"
  12914. },
  12915. "warehouseid": {
  12916. "description": "仓库ID",
  12917. "type": "integer"
  12918. },
  12919. "warehousename": {
  12920. "description": "仓库名称",
  12921. "type": "string"
  12922. },
  12923. "wrstandardid": {
  12924. "description": "交易标的ID",
  12925. "type": "integer"
  12926. },
  12927. "wrstandardname": {
  12928. "description": "交易标的名称",
  12929. "type": "string"
  12930. }
  12931. }
  12932. },
  12933. "erms3.SpotPointOrder": {
  12934. "type": "object",
  12935. "required": [
  12936. "basic",
  12937. "goodsid",
  12938. "qty"
  12939. ],
  12940. "properties": {
  12941. "basic": {
  12942. "description": "基差",
  12943. "type": "number"
  12944. },
  12945. "deliveryenddate": {
  12946. "description": "交收结束日期",
  12947. "type": "string"
  12948. },
  12949. "deliverystartdate": {
  12950. "description": "交收开始日期",
  12951. "type": "string"
  12952. },
  12953. "enddate": {
  12954. "description": "点价结束日期",
  12955. "type": "string"
  12956. },
  12957. "goodsid": {
  12958. "description": "商品ID",
  12959. "type": "integer"
  12960. },
  12961. "goodsname": {
  12962. "description": "商品名称",
  12963. "type": "string"
  12964. },
  12965. "qty": {
  12966. "description": "数量",
  12967. "type": "number"
  12968. },
  12969. "startdate": {
  12970. "description": "点价开始日期",
  12971. "type": "string"
  12972. }
  12973. }
  12974. },
  12975. "erms3.SpotPriceOrder": {
  12976. "type": "object",
  12977. "required": [
  12978. "amount",
  12979. "price",
  12980. "qty"
  12981. ],
  12982. "properties": {
  12983. "amount": {
  12984. "description": "金额",
  12985. "type": "number"
  12986. },
  12987. "deliveryenddate": {
  12988. "description": "交收结束日期",
  12989. "type": "string"
  12990. },
  12991. "deliverystartdate": {
  12992. "description": "交收开始日期",
  12993. "type": "string"
  12994. },
  12995. "price": {
  12996. "description": "价格",
  12997. "type": "number"
  12998. },
  12999. "qty": {
  13000. "description": "数量",
  13001. "type": "number"
  13002. }
  13003. }
  13004. },
  13005. "hsby.GetHsbyMyCountRsp": {
  13006. "type": "object",
  13007. "properties": {
  13008. "myCouponCount": {
  13009. "description": "我的优惠卷数量",
  13010. "type": "integer"
  13011. },
  13012. "myOrderDetailListingCount": {
  13013. "description": "我的订单求购中数量",
  13014. "type": "integer"
  13015. },
  13016. "myOrderDetailPreCount": {
  13017. "description": "我的订单抢购中数量",
  13018. "type": "integer"
  13019. },
  13020. "myPackageUnReceiveCount": {
  13021. "description": "我的包裹待收货数量",
  13022. "type": "integer"
  13023. },
  13024. "myPackageUnSendCount": {
  13025. "description": "我的包裹待发货数量",
  13026. "type": "integer"
  13027. },
  13028. "myPayOrderCount": {
  13029. "description": "我的订单待付款数量",
  13030. "type": "integer"
  13031. }
  13032. }
  13033. },
  13034. "hsby.QueryProvincesAndCitiesRsp": {
  13035. "type": "object",
  13036. "properties": {
  13037. "cities": {
  13038. "description": "市",
  13039. "type": "array",
  13040. "items": {
  13041. "$ref": "#/definitions/models.Division"
  13042. }
  13043. },
  13044. "province": {
  13045. "description": "省",
  13046. "type": "object",
  13047. "$ref": "#/definitions/models.Division"
  13048. }
  13049. }
  13050. },
  13051. "models.AreaSpotModel": {
  13052. "type": "object",
  13053. "properties": {
  13054. "areauserid": {
  13055. "description": "所属机构",
  13056. "type": "integer"
  13057. },
  13058. "decreaseqty": {
  13059. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13060. "type": "number"
  13061. },
  13062. "increaseqty": {
  13063. "description": "增加数量=销售计划数量+采购已定价数量",
  13064. "type": "number"
  13065. },
  13066. "oritoalspotqty": {
  13067. "description": "昨日数量",
  13068. "type": "number"
  13069. },
  13070. "totalspotqty": {
  13071. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13072. "type": "number"
  13073. },
  13074. "updatetime": {
  13075. "description": "更新时间",
  13076. "type": "string"
  13077. },
  13078. "wrstandardcode": {
  13079. "description": "现货品种代码",
  13080. "type": "string"
  13081. },
  13082. "wrstandardid": {
  13083. "description": "现货商品ID",
  13084. "type": "integer"
  13085. },
  13086. "wrstandardname": {
  13087. "description": "现货品种",
  13088. "type": "string"
  13089. }
  13090. }
  13091. },
  13092. "models.Clientfixedadconfig": {
  13093. "type": "object",
  13094. "required": [
  13095. "adsort",
  13096. "adtype"
  13097. ],
  13098. "properties": {
  13099. "adsort": {
  13100. "description": "排序",
  13101. "type": "integer"
  13102. },
  13103. "adtype": {
  13104. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13105. "type": "integer"
  13106. },
  13107. "areauserid": {
  13108. "description": "所属机构ID",
  13109. "type": "integer"
  13110. },
  13111. "createdate": {
  13112. "description": "创建时间",
  13113. "type": "string"
  13114. },
  13115. "creatorid": {
  13116. "description": "创建人",
  13117. "type": "integer"
  13118. },
  13119. "imagepath": {
  13120. "description": "图片",
  13121. "type": "string"
  13122. },
  13123. "isshow": {
  13124. "description": "是否展示 - 0:不展示 1:展示",
  13125. "type": "integer"
  13126. },
  13127. "modifierid": {
  13128. "description": "操作人",
  13129. "type": "integer"
  13130. },
  13131. "recsize": {
  13132. "description": "推荐尺寸",
  13133. "type": "string"
  13134. },
  13135. "title": {
  13136. "description": "标题",
  13137. "type": "string"
  13138. },
  13139. "updatedate": {
  13140. "description": "更新时间",
  13141. "type": "string"
  13142. },
  13143. "urlcontent": {
  13144. "description": "链接(地址或商品ID)",
  13145. "type": "string"
  13146. },
  13147. "urltype": {
  13148. "description": "链接类型 - 1:直接地址 2:商品ID",
  13149. "type": "integer"
  13150. }
  13151. }
  13152. },
  13153. "models.Division": {
  13154. "type": "object",
  13155. "required": [
  13156. "autoid",
  13157. "divisioncode"
  13158. ],
  13159. "properties": {
  13160. "autoid": {
  13161. "description": "自增ID",
  13162. "type": "integer"
  13163. },
  13164. "divisioncode": {
  13165. "description": "行政代码",
  13166. "type": "string"
  13167. },
  13168. "divisionlevel": {
  13169. "description": "行政级别",
  13170. "type": "string"
  13171. },
  13172. "divisionname": {
  13173. "description": "行政名称",
  13174. "type": "string"
  13175. },
  13176. "modifierid": {
  13177. "description": "修改人",
  13178. "type": "integer"
  13179. },
  13180. "modifytime": {
  13181. "description": "修改时间",
  13182. "type": "string"
  13183. },
  13184. "parentcode": {
  13185. "description": "上级行政代码",
  13186. "type": "string"
  13187. },
  13188. "pathname": {
  13189. "description": "路径名称",
  13190. "type": "string"
  13191. },
  13192. "postcode": {
  13193. "description": "邮政编码",
  13194. "type": "string"
  13195. },
  13196. "separablename": {
  13197. "description": "可拆分的全称",
  13198. "type": "string"
  13199. },
  13200. "shortcode": {
  13201. "description": "地区简码",
  13202. "type": "string"
  13203. }
  13204. }
  13205. },
  13206. "models.Enumdicitem": {
  13207. "type": "object",
  13208. "required": [
  13209. "autoid",
  13210. "enumdiccode",
  13211. "enumdicid",
  13212. "enumitemname"
  13213. ],
  13214. "properties": {
  13215. "autoid": {
  13216. "description": "自增ID",
  13217. "type": "integer"
  13218. },
  13219. "bankmappedvalue": {
  13220. "description": "银行服务对应值",
  13221. "type": "string"
  13222. },
  13223. "enumdiccode": {
  13224. "description": "所属枚举代码",
  13225. "type": "string"
  13226. },
  13227. "enumdicid": {
  13228. "description": "所属枚举ID",
  13229. "type": "integer"
  13230. },
  13231. "enumdicname": {
  13232. "description": "枚举项名称",
  13233. "type": "string"
  13234. },
  13235. "enumitemname": {
  13236. "description": "枚举项值",
  13237. "type": "integer"
  13238. },
  13239. "enumitemstatus": {
  13240. "description": "枚举项状态 - 1.启用 2.不启用",
  13241. "type": "integer"
  13242. },
  13243. "enumitemvalue": {
  13244. "description": "通用值 - [币种通用简写]",
  13245. "type": "string"
  13246. },
  13247. "param1": {
  13248. "description": "参数1[币种:币种小数位]",
  13249. "type": "string"
  13250. },
  13251. "param2": {
  13252. "description": "参数1[币种:币种显示单位]",
  13253. "type": "string"
  13254. },
  13255. "remark": {
  13256. "description": "备注",
  13257. "type": "string"
  13258. }
  13259. }
  13260. },
  13261. "models.Ermcp3AreaSpot": {
  13262. "type": "object",
  13263. "properties": {
  13264. "areauserid": {
  13265. "description": "所属机构",
  13266. "type": "integer"
  13267. },
  13268. "decreaseqty": {
  13269. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13270. "type": "number"
  13271. },
  13272. "deliverygoodscode": {
  13273. "description": "现货品种代码",
  13274. "type": "string"
  13275. },
  13276. "deliverygoodsid": {
  13277. "description": "现货品种id",
  13278. "type": "integer"
  13279. },
  13280. "deliverygoodsname": {
  13281. "description": "现货品种名称",
  13282. "type": "string"
  13283. },
  13284. "increaseqty": {
  13285. "description": "增加数量=销售计划数量+采购已定价数量",
  13286. "type": "number"
  13287. },
  13288. "oritoalspotqty": {
  13289. "description": "昨日数量",
  13290. "type": "number"
  13291. },
  13292. "totalspotqty": {
  13293. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13294. "type": "number"
  13295. },
  13296. "updatetime": {
  13297. "description": "更新时间",
  13298. "type": "string"
  13299. }
  13300. }
  13301. },
  13302. "models.Ermcp3AreaSpotDetail": {
  13303. "type": "object",
  13304. "properties": {
  13305. "contracttype": {
  13306. "description": "合同类型 1-采购 -1-销售",
  13307. "type": "integer"
  13308. },
  13309. "createtime": {
  13310. "description": "创建时间",
  13311. "type": "string"
  13312. },
  13313. "deliverygoodscode": {
  13314. "description": "现货品种代码",
  13315. "type": "string"
  13316. },
  13317. "deliverygoodsid": {
  13318. "description": "现货品种id",
  13319. "type": "integer"
  13320. },
  13321. "deliverygoodsname": {
  13322. "description": "现货品种名称",
  13323. "type": "string"
  13324. },
  13325. "enumdicname": {
  13326. "description": "现货商品单位名称",
  13327. "type": "string"
  13328. },
  13329. "logtype": {
  13330. "description": "记录类型 1-套保 2-现货合同",
  13331. "type": "integer"
  13332. },
  13333. "qty": {
  13334. "description": "数量",
  13335. "type": "number"
  13336. },
  13337. "recordname": {
  13338. "description": "类型名称",
  13339. "type": "string"
  13340. },
  13341. "relatedid": {
  13342. "description": "套保计划ID/现货合同ID",
  13343. "type": "string"
  13344. },
  13345. "relatedno": {
  13346. "description": "编号",
  13347. "type": "string"
  13348. },
  13349. "strtime": {
  13350. "description": "时间",
  13351. "type": "string"
  13352. }
  13353. }
  13354. },
  13355. "models.Ermcp3AreaStock": {
  13356. "type": "object",
  13357. "required": [
  13358. "userid"
  13359. ],
  13360. "properties": {
  13361. "brandname": {
  13362. "description": "品牌名称",
  13363. "type": "string"
  13364. },
  13365. "curstock": {
  13366. "description": "期末库存量(今日量)",
  13367. "type": "number"
  13368. },
  13369. "deliverygoodscode": {
  13370. "description": "现货品种代码",
  13371. "type": "string"
  13372. },
  13373. "deliverygoodsid": {
  13374. "description": "现货品种id",
  13375. "type": "integer"
  13376. },
  13377. "deliverygoodsname": {
  13378. "description": "现货品种名称",
  13379. "type": "string"
  13380. },
  13381. "enumdicname": {
  13382. "description": "单位名称",
  13383. "type": "string"
  13384. },
  13385. "goodsunitid": {
  13386. "description": "现货商品单位id",
  13387. "type": "integer"
  13388. },
  13389. "oristock": {
  13390. "description": "期初库存量(昨日量)",
  13391. "type": "number"
  13392. },
  13393. "spotgoodsbrandid": {
  13394. "description": "现货品牌ID",
  13395. "type": "integer"
  13396. },
  13397. "todaybuyinqty": {
  13398. "description": "今日采购入库量",
  13399. "type": "number"
  13400. },
  13401. "todayproduceinqty": {
  13402. "description": "今日生产入库量",
  13403. "type": "number"
  13404. },
  13405. "todayproduceoutqty": {
  13406. "description": "今日生产出库量",
  13407. "type": "number"
  13408. },
  13409. "todayselloutqty": {
  13410. "description": "今日销售出库量",
  13411. "type": "number"
  13412. },
  13413. "unitid": {
  13414. "description": "单位id",
  13415. "type": "integer"
  13416. },
  13417. "updatetime": {
  13418. "description": "更新时间",
  13419. "type": "string"
  13420. },
  13421. "userid": {
  13422. "description": "机构ID",
  13423. "type": "integer"
  13424. },
  13425. "username": {
  13426. "description": "机构名称",
  13427. "type": "string"
  13428. },
  13429. "warehousecode": {
  13430. "description": "仓库代码",
  13431. "type": "string"
  13432. },
  13433. "warehouseinfoid": {
  13434. "description": "仓库ID",
  13435. "type": "string"
  13436. },
  13437. "warehousename": {
  13438. "description": "仓库名称",
  13439. "type": "string"
  13440. },
  13441. "warehousetype": {
  13442. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13443. "type": "integer"
  13444. },
  13445. "wrstandardcode": {
  13446. "description": "品类代码",
  13447. "type": "string"
  13448. },
  13449. "wrstandardid": {
  13450. "description": "品类ID",
  13451. "type": "string"
  13452. },
  13453. "wrstandardname": {
  13454. "description": "品类名称",
  13455. "type": "string"
  13456. }
  13457. }
  13458. },
  13459. "models.Ermcp3AreaStockApply": {
  13460. "type": "object",
  13461. "properties": {
  13462. "applyid": {
  13463. "description": "申请人",
  13464. "type": "integer"
  13465. },
  13466. "applyname": {
  13467. "description": "申请人名称",
  13468. "type": "string"
  13469. },
  13470. "applyremark": {
  13471. "description": "申请备注",
  13472. "type": "string"
  13473. },
  13474. "applysrc": {
  13475. "description": "申请来源 - 1:管理端 2:终端",
  13476. "type": "integer"
  13477. },
  13478. "applystatus": {
  13479. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13480. "type": "integer"
  13481. },
  13482. "applytime": {
  13483. "description": "申请时间",
  13484. "type": "string"
  13485. },
  13486. "auditid": {
  13487. "description": "审核人",
  13488. "type": "integer"
  13489. },
  13490. "auditname": {
  13491. "description": "审核人名称",
  13492. "type": "string"
  13493. },
  13494. "auditremark": {
  13495. "description": "审核备注",
  13496. "type": "string"
  13497. },
  13498. "auditsrc": {
  13499. "description": "审核来源 - 1:管理端 2:终端",
  13500. "type": "integer"
  13501. },
  13502. "audittime": {
  13503. "description": "审核时间",
  13504. "type": "string"
  13505. },
  13506. "audittradedate": {
  13507. "description": "审核交易日(yyyyMMdd)",
  13508. "type": "string"
  13509. },
  13510. "brandname": {
  13511. "description": "品牌名称",
  13512. "type": "string"
  13513. },
  13514. "buynickname": {
  13515. "description": "采购方昵称",
  13516. "type": "string"
  13517. },
  13518. "buyuserid": {
  13519. "description": "采购方userid",
  13520. "type": "integer"
  13521. },
  13522. "buyusername": {
  13523. "description": "采购方名称",
  13524. "type": "string"
  13525. },
  13526. "contractno": {
  13527. "description": "合同编号",
  13528. "type": "string"
  13529. },
  13530. "contractqty": {
  13531. "description": "合同量",
  13532. "type": "number"
  13533. },
  13534. "contracttype": {
  13535. "description": "现货合同类型 - 1:采购 -1:销售",
  13536. "type": "integer"
  13537. },
  13538. "deliverygoodscode": {
  13539. "description": "现货品种代码",
  13540. "type": "string"
  13541. },
  13542. "deliverygoodsid": {
  13543. "description": "现货品种id",
  13544. "type": "integer"
  13545. },
  13546. "deliverygoodsname": {
  13547. "description": "现货品种名称",
  13548. "type": "string"
  13549. },
  13550. "enumdicname": {
  13551. "description": "现货商品单位名称",
  13552. "type": "string"
  13553. },
  13554. "inoutapplyid": {
  13555. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13556. "type": "string"
  13557. },
  13558. "inouttype": {
  13559. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13560. "type": "integer"
  13561. },
  13562. "pricetype": {
  13563. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13564. "type": "integer"
  13565. },
  13566. "qty": {
  13567. "description": "数量",
  13568. "type": "number"
  13569. },
  13570. "sellnickname": {
  13571. "description": "销售方昵称",
  13572. "type": "string"
  13573. },
  13574. "selluserid": {
  13575. "description": "销售方userid",
  13576. "type": "integer"
  13577. },
  13578. "sellusername": {
  13579. "description": "销售方名称",
  13580. "type": "string"
  13581. },
  13582. "spotcontractid": {
  13583. "description": "关联现货合同ID",
  13584. "type": "string"
  13585. },
  13586. "spotgoodsbrandid": {
  13587. "description": "现货品牌ID",
  13588. "type": "integer"
  13589. },
  13590. "unitid": {
  13591. "description": "单位id",
  13592. "type": "integer"
  13593. },
  13594. "userid": {
  13595. "description": "机构ID",
  13596. "type": "integer"
  13597. },
  13598. "warehousecode": {
  13599. "description": "仓库代码",
  13600. "type": "string"
  13601. },
  13602. "warehouseinfoid": {
  13603. "description": "现货仓库ID",
  13604. "type": "string"
  13605. },
  13606. "warehousename": {
  13607. "description": "仓库名称",
  13608. "type": "string"
  13609. },
  13610. "warehousetype": {
  13611. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13612. "type": "integer"
  13613. },
  13614. "wrstandardcode": {
  13615. "description": "品类代码",
  13616. "type": "string"
  13617. },
  13618. "wrstandardid": {
  13619. "description": "品类ID",
  13620. "type": "integer"
  13621. },
  13622. "wrstandardname": {
  13623. "description": "品类名称",
  13624. "type": "string"
  13625. }
  13626. }
  13627. },
  13628. "models.Ermcp3AreaStockApplySum": {
  13629. "type": "object",
  13630. "properties": {
  13631. "brandname": {
  13632. "description": "品牌名称",
  13633. "type": "string"
  13634. },
  13635. "inouttype": {
  13636. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13637. "type": "integer"
  13638. },
  13639. "spotcontractid": {
  13640. "description": "关联现货合同ID",
  13641. "type": "string"
  13642. },
  13643. "spotgoodsbrandid": {
  13644. "description": "品牌id",
  13645. "type": "integer"
  13646. },
  13647. "totalqty": {
  13648. "description": "总数量",
  13649. "type": "number"
  13650. },
  13651. "wrstandardid": {
  13652. "description": "品类id",
  13653. "type": "integer"
  13654. },
  13655. "wrstandardname": {
  13656. "description": "品类名称",
  13657. "type": "string"
  13658. }
  13659. }
  13660. },
  13661. "models.Ermcp3AreaStockReport": {
  13662. "type": "object",
  13663. "properties": {
  13664. "brandname": {
  13665. "description": "品牌名称",
  13666. "type": "string"
  13667. },
  13668. "curstock": {
  13669. "description": "期末库存量",
  13670. "type": "number"
  13671. },
  13672. "deliverygoodscode": {
  13673. "description": "现货品种代码",
  13674. "type": "string"
  13675. },
  13676. "deliverygoodsid": {
  13677. "description": "现货品种id",
  13678. "type": "integer"
  13679. },
  13680. "deliverygoodsname": {
  13681. "description": "现货品种名称",
  13682. "type": "string"
  13683. },
  13684. "enumdicname": {
  13685. "description": "单位名称",
  13686. "type": "string"
  13687. },
  13688. "goodsunitid": {
  13689. "description": "现货单位id",
  13690. "type": "integer"
  13691. },
  13692. "oristock": {
  13693. "description": "期初库存量",
  13694. "type": "number"
  13695. },
  13696. "spotgoodsbrandid": {
  13697. "description": "现货品牌ID",
  13698. "type": "integer"
  13699. },
  13700. "todaybuyinqty": {
  13701. "description": "今日采购入库量",
  13702. "type": "number"
  13703. },
  13704. "todayproduceinqty": {
  13705. "description": "今日生产入库量",
  13706. "type": "number"
  13707. },
  13708. "todayproduceoutqty": {
  13709. "description": "今日生产出库量",
  13710. "type": "number"
  13711. },
  13712. "todayselloutqty": {
  13713. "description": "今日销售出库量",
  13714. "type": "number"
  13715. },
  13716. "unitid": {
  13717. "description": "品类单位id",
  13718. "type": "integer"
  13719. },
  13720. "updatetime": {
  13721. "description": "更新时间",
  13722. "type": "string"
  13723. },
  13724. "userid": {
  13725. "description": "机构ID",
  13726. "type": "integer"
  13727. },
  13728. "username": {
  13729. "description": "机构名称",
  13730. "type": "string"
  13731. },
  13732. "warehousecode": {
  13733. "description": "仓库代码",
  13734. "type": "string"
  13735. },
  13736. "warehouseinfoid": {
  13737. "description": "仓库ID",
  13738. "type": "string"
  13739. },
  13740. "warehousename": {
  13741. "description": "仓库名称",
  13742. "type": "string"
  13743. },
  13744. "warehousetype": {
  13745. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13746. "type": "integer"
  13747. },
  13748. "wrstandardcode": {
  13749. "description": "品类代码",
  13750. "type": "string"
  13751. },
  13752. "wrstandardid": {
  13753. "description": "品类ID",
  13754. "type": "integer"
  13755. },
  13756. "wrstandardname": {
  13757. "description": "品类名称",
  13758. "type": "string"
  13759. }
  13760. }
  13761. },
  13762. "models.Ermcp3Brand": {
  13763. "type": "object",
  13764. "properties": {
  13765. "areauserid": {
  13766. "description": "用户id",
  13767. "type": "integer"
  13768. },
  13769. "brandid": {
  13770. "description": "品牌id",
  13771. "type": "integer"
  13772. },
  13773. "brandname": {
  13774. "description": "品牌名称",
  13775. "type": "string"
  13776. },
  13777. "deliverygoodsid": {
  13778. "description": "品种ID",
  13779. "type": "integer"
  13780. }
  13781. }
  13782. },
  13783. "models.Ermcp3Contract": {
  13784. "type": "object",
  13785. "properties": {
  13786. "accountid": {
  13787. "description": "期货账户id",
  13788. "type": "string"
  13789. },
  13790. "amount": {
  13791. "description": "金额 [1:一口价、3:暂定价]",
  13792. "type": "number"
  13793. },
  13794. "attachment": {
  13795. "description": "附件",
  13796. "type": "string"
  13797. },
  13798. "auditremark": {
  13799. "description": "审核意见",
  13800. "type": "string"
  13801. },
  13802. "audittime": {
  13803. "description": "审核时间",
  13804. "type": "string"
  13805. },
  13806. "biztype": {
  13807. "description": "业务类型 1-套保 2-套利",
  13808. "type": "integer"
  13809. },
  13810. "brandname": {
  13811. "description": "品牌名称",
  13812. "type": "string"
  13813. },
  13814. "buynickname": {
  13815. "description": "销售方昵称",
  13816. "type": "string"
  13817. },
  13818. "buyuserid": {
  13819. "description": "采购方ID",
  13820. "type": "integer"
  13821. },
  13822. "buyusername": {
  13823. "description": "采购方名称",
  13824. "type": "string"
  13825. },
  13826. "contracctstatus": {
  13827. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13828. "type": "integer"
  13829. },
  13830. "contractmargin": {
  13831. "description": "合同保证金",
  13832. "type": "number"
  13833. },
  13834. "contractno": {
  13835. "description": "现货合同编号",
  13836. "type": "string"
  13837. },
  13838. "contracttype": {
  13839. "description": "现货合同类型 - 1:采购 -1:销售",
  13840. "type": "integer"
  13841. },
  13842. "convertfactor": {
  13843. "description": "标仓系数(品类)",
  13844. "type": "number"
  13845. },
  13846. "createtime": {
  13847. "description": "创建时间",
  13848. "type": "string"
  13849. },
  13850. "deliveryenddate": {
  13851. "description": "交收期(结束)",
  13852. "type": "string"
  13853. },
  13854. "deliverygoodscode": {
  13855. "description": "现货品种代码",
  13856. "type": "string"
  13857. },
  13858. "deliverygoodsid": {
  13859. "description": "现货品种ID",
  13860. "type": "integer"
  13861. },
  13862. "deliverygoodsname": {
  13863. "description": "现货品种名称",
  13864. "type": "string"
  13865. },
  13866. "deliverystartdate": {
  13867. "description": "交收期(开始)",
  13868. "type": "string"
  13869. },
  13870. "enddate": {
  13871. "description": "点价结束日期 [2:点价 3:暂定价]",
  13872. "type": "string"
  13873. },
  13874. "enumdicname": {
  13875. "description": "单位名称",
  13876. "type": "string"
  13877. },
  13878. "goodscode": {
  13879. "description": "点价合约代码",
  13880. "type": "string"
  13881. },
  13882. "goodsid": {
  13883. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13884. "type": "integer"
  13885. },
  13886. "goodsname": {
  13887. "description": "点价商品名称",
  13888. "type": "string"
  13889. },
  13890. "margin": {
  13891. "description": "当前保证金",
  13892. "type": "number"
  13893. },
  13894. "meruserid": {
  13895. "description": "跟单员id",
  13896. "type": "integer"
  13897. },
  13898. "meruserlogincode": {
  13899. "description": "跟单员登录代码",
  13900. "type": "string"
  13901. },
  13902. "price": {
  13903. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13904. "type": "number"
  13905. },
  13906. "pricemove": {
  13907. "description": "升贴水 [2:点价 3:暂定价]",
  13908. "type": "number"
  13909. },
  13910. "pricetype": {
  13911. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13912. "type": "integer"
  13913. },
  13914. "producttype": {
  13915. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13916. "type": "integer"
  13917. },
  13918. "qty": {
  13919. "description": "数量",
  13920. "type": "number"
  13921. },
  13922. "remark": {
  13923. "description": "备注",
  13924. "type": "string"
  13925. },
  13926. "saleuserid": {
  13927. "description": "业务员id",
  13928. "type": "integer"
  13929. },
  13930. "saleuserlogincode": {
  13931. "description": "业务员登录代码",
  13932. "type": "string"
  13933. },
  13934. "sellnickname": {
  13935. "description": "采购方昵称",
  13936. "type": "string"
  13937. },
  13938. "selluserid": {
  13939. "description": "销售方ID",
  13940. "type": "integer"
  13941. },
  13942. "sellusername": {
  13943. "description": "销售方名称",
  13944. "type": "string"
  13945. },
  13946. "spotcontractid": {
  13947. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13948. "type": "string"
  13949. },
  13950. "spotgoodsbrandid": {
  13951. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13952. "type": "integer"
  13953. },
  13954. "spotgoodsdesc": {
  13955. "description": "商品型号",
  13956. "type": "string"
  13957. },
  13958. "startdate": {
  13959. "description": "点价开始日期 [2:点价 3:暂定价]",
  13960. "type": "string"
  13961. },
  13962. "tradeuserid": {
  13963. "description": "交易员id",
  13964. "type": "integer"
  13965. },
  13966. "tradeuserlogincode": {
  13967. "description": "交易员登录代码",
  13968. "type": "string"
  13969. },
  13970. "unitid": {
  13971. "description": "单位id(取品类上的单位id)",
  13972. "type": "integer"
  13973. },
  13974. "updatetime": {
  13975. "description": "更新时间",
  13976. "type": "string"
  13977. },
  13978. "userid": {
  13979. "description": "所属机构ID",
  13980. "type": "integer"
  13981. },
  13982. "wrstandardcode": {
  13983. "description": "品类代码",
  13984. "type": "string"
  13985. },
  13986. "wrstandardid": {
  13987. "description": "品类ID",
  13988. "type": "integer"
  13989. },
  13990. "wrstandardname": {
  13991. "description": "品类名称",
  13992. "type": "string"
  13993. }
  13994. }
  13995. },
  13996. "models.Ermcp3ExposureDetail": {
  13997. "type": "object",
  13998. "properties": {
  13999. "areauserid": {
  14000. "description": "机构ID",
  14001. "type": "integer"
  14002. },
  14003. "changeQty": {
  14004. "description": "套保变动量",
  14005. "type": "number"
  14006. },
  14007. "contracttype": {
  14008. "description": "现货合同类型 - 1:采购 -1:销售",
  14009. "type": "integer"
  14010. },
  14011. "convertfactor": {
  14012. "description": "标仓系数",
  14013. "type": "number"
  14014. },
  14015. "convertratio": {
  14016. "description": "套保系数",
  14017. "type": "number"
  14018. },
  14019. "createtime": {
  14020. "description": "时间",
  14021. "type": "string"
  14022. },
  14023. "deliverygoodscode": {
  14024. "description": "现货品种代码",
  14025. "type": "string"
  14026. },
  14027. "deliverygoodsid": {
  14028. "description": "现货品种id",
  14029. "type": "integer"
  14030. },
  14031. "deliverygoodsname": {
  14032. "description": "现货品种名称",
  14033. "type": "string"
  14034. },
  14035. "enumdicname": {
  14036. "description": "现货商品单位名称",
  14037. "type": "string"
  14038. },
  14039. "logtype": {
  14040. "description": "类型 - 1:套保计划 2:现货合同",
  14041. "type": "integer"
  14042. },
  14043. "middlegoodsId": {
  14044. "description": "套保商品id",
  14045. "type": "integer"
  14046. },
  14047. "middlegoodscode": {
  14048. "description": "套保商品代码",
  14049. "type": "string"
  14050. },
  14051. "middlegoodsname": {
  14052. "description": "套保商品名称",
  14053. "type": "string"
  14054. },
  14055. "qty": {
  14056. "description": "数量",
  14057. "type": "number"
  14058. },
  14059. "relateNo": {
  14060. "description": "现货合同/套保计划编号",
  14061. "type": "string"
  14062. }
  14063. }
  14064. },
  14065. "models.Ermcp3GoodsGroup": {
  14066. "type": "object",
  14067. "required": [
  14068. "areauserid"
  14069. ],
  14070. "properties": {
  14071. "agreeunit": {
  14072. "description": "合约单位",
  14073. "type": "number"
  14074. },
  14075. "areauserid": {
  14076. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14077. "type": "integer"
  14078. },
  14079. "canshort": {
  14080. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14081. "type": "integer"
  14082. },
  14083. "closepricemode": {
  14084. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14085. "type": "integer"
  14086. },
  14087. "createtime": {
  14088. "description": "创建时间",
  14089. "type": "string"
  14090. },
  14091. "creatorid": {
  14092. "description": "创建人",
  14093. "type": "integer"
  14094. },
  14095. "currencyid": {
  14096. "description": "报价货币ID",
  14097. "type": "integer"
  14098. },
  14099. "decimalplace": {
  14100. "description": "报价小数位",
  14101. "type": "integer"
  14102. },
  14103. "excludecfg": {
  14104. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14105. "type": "integer"
  14106. },
  14107. "exexchangeid": {
  14108. "description": "外部交易所ID[通道交易]",
  14109. "type": "integer"
  14110. },
  14111. "goodsgroupid": {
  14112. "description": "商品组ID(自增ID)",
  14113. "type": "integer"
  14114. },
  14115. "goodsgroupname": {
  14116. "description": "商品组名称",
  14117. "type": "string"
  14118. },
  14119. "goodsgroupstatus": {
  14120. "description": "商品组状态 - 1:正常 2:注销",
  14121. "type": "integer"
  14122. },
  14123. "goodunitid": {
  14124. "description": "报价单位ID",
  14125. "type": "integer"
  14126. },
  14127. "groupcategroyid": {
  14128. "description": "品种分类ID",
  14129. "type": "integer"
  14130. },
  14131. "innerdealmode": {
  14132. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14133. "type": "integer"
  14134. },
  14135. "marketid": {
  14136. "description": "所属市场ID",
  14137. "type": "integer"
  14138. },
  14139. "modifierid": {
  14140. "description": "修改人",
  14141. "type": "integer"
  14142. },
  14143. "modifytime": {
  14144. "description": "修改时间",
  14145. "type": "string"
  14146. },
  14147. "outerdealmode": {
  14148. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14149. "type": "integer"
  14150. },
  14151. "outergroupcode": {
  14152. "description": "外部商品组代码[通道交易]",
  14153. "type": "string"
  14154. },
  14155. "quoteminunit": {
  14156. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14157. "type": "integer"
  14158. },
  14159. "quotesourcegroupid": {
  14160. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14161. "type": "integer"
  14162. },
  14163. "syncgoodsqty": {
  14164. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14165. "type": "integer"
  14166. }
  14167. }
  14168. },
  14169. "models.Ermcp3HedgePlan": {
  14170. "type": "object",
  14171. "properties": {
  14172. "areauserid": {
  14173. "description": "用户ID",
  14174. "type": "integer"
  14175. },
  14176. "audittime": {
  14177. "description": "审核时间",
  14178. "type": "string"
  14179. },
  14180. "contracttype": {
  14181. "description": "计划类型 - 1:采购 -1:销售",
  14182. "type": "integer"
  14183. },
  14184. "convertfactor": {
  14185. "description": "标仓系数",
  14186. "type": "number"
  14187. },
  14188. "createtime": {
  14189. "description": "创建时间",
  14190. "type": "string"
  14191. },
  14192. "deliverygoodscode": {
  14193. "description": "现货品种代码",
  14194. "type": "string"
  14195. },
  14196. "deliverygoodsid": {
  14197. "description": "现货品种ID",
  14198. "type": "integer"
  14199. },
  14200. "deliverygoodsname": {
  14201. "description": "现货品种名称",
  14202. "type": "string"
  14203. },
  14204. "enumdicname": {
  14205. "description": "单位名称",
  14206. "type": "string"
  14207. },
  14208. "hedgeplanid": {
  14209. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14210. "type": "string"
  14211. },
  14212. "hedgeplanno": {
  14213. "description": "套保计划编号(名称)",
  14214. "type": "string"
  14215. },
  14216. "hedgeplanstatus": {
  14217. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14218. "type": "integer"
  14219. },
  14220. "planqty": {
  14221. "description": "计划数量",
  14222. "type": "number"
  14223. },
  14224. "plantime": {
  14225. "description": "计划时间",
  14226. "type": "string"
  14227. },
  14228. "producttype": {
  14229. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14230. "type": "integer"
  14231. },
  14232. "remark": {
  14233. "description": "备注",
  14234. "type": "string"
  14235. },
  14236. "spotgoodsdesc": {
  14237. "description": "商品型号",
  14238. "type": "string"
  14239. },
  14240. "unitid": {
  14241. "description": "单位id",
  14242. "type": "integer"
  14243. },
  14244. "updatetime": {
  14245. "description": "更新时间",
  14246. "type": "string"
  14247. }
  14248. }
  14249. },
  14250. "models.Ermcp3ReportAreaSpotPL": {
  14251. "type": "object",
  14252. "properties": {
  14253. "actualpl": {
  14254. "description": "实际损益",
  14255. "type": "number"
  14256. },
  14257. "areauserid": {
  14258. "description": "所属机构",
  14259. "type": "integer"
  14260. },
  14261. "brandname": {
  14262. "description": "品牌名称",
  14263. "type": "string"
  14264. },
  14265. "curamount": {
  14266. "description": "期末额",
  14267. "type": "number"
  14268. },
  14269. "curaverageprice": {
  14270. "description": "期末均价",
  14271. "type": "number"
  14272. },
  14273. "curbuyamount": {
  14274. "description": "期末采购总额(采购额)",
  14275. "type": "number"
  14276. },
  14277. "curbuyqty": {
  14278. "description": "期末采购总量",
  14279. "type": "number"
  14280. },
  14281. "curmarketvalue": {
  14282. "description": "参考市值",
  14283. "type": "number"
  14284. },
  14285. "curqty": {
  14286. "description": "期末量",
  14287. "type": "number"
  14288. },
  14289. "cursellamount": {
  14290. "description": "期末销售总额(销售额)",
  14291. "type": "number"
  14292. },
  14293. "cursellqty": {
  14294. "description": "期末销售总量",
  14295. "type": "number"
  14296. },
  14297. "curspotprice": {
  14298. "description": "参考市价",
  14299. "type": "number"
  14300. },
  14301. "deliverygoodscode": {
  14302. "description": "现货品种代码",
  14303. "type": "string"
  14304. },
  14305. "deliverygoodsid": {
  14306. "description": "现货品种id",
  14307. "type": "integer"
  14308. },
  14309. "deliverygoodsname": {
  14310. "description": "现货品种名称",
  14311. "type": "string"
  14312. },
  14313. "enumdicname": {
  14314. "description": "现货商品单位名称",
  14315. "type": "string"
  14316. },
  14317. "floatpl": {
  14318. "description": "浮动损益",
  14319. "type": "number"
  14320. },
  14321. "gbenumdicname": {
  14322. "description": "品类单位名称",
  14323. "type": "string"
  14324. },
  14325. "gbunitid": {
  14326. "description": "现货单位id",
  14327. "type": "integer"
  14328. },
  14329. "modelname": {
  14330. "description": "品类名称",
  14331. "type": "string"
  14332. },
  14333. "oriamount": {
  14334. "description": "期初额",
  14335. "type": "number"
  14336. },
  14337. "oriaverageprice": {
  14338. "description": "期初均价",
  14339. "type": "number"
  14340. },
  14341. "oribuyamount": {
  14342. "description": "期初采购总额",
  14343. "type": "number"
  14344. },
  14345. "oribuyqty": {
  14346. "description": "期初采购总量",
  14347. "type": "number"
  14348. },
  14349. "oriqty": {
  14350. "description": "期初量",
  14351. "type": "number"
  14352. },
  14353. "orisellamount": {
  14354. "description": "期初销售总额",
  14355. "type": "number"
  14356. },
  14357. "orisellqty": {
  14358. "description": "期初销售总量",
  14359. "type": "number"
  14360. },
  14361. "spotgoodsbrandid": {
  14362. "description": "现货品牌ID",
  14363. "type": "integer"
  14364. },
  14365. "todaybuyamount": {
  14366. "description": "今日采购额",
  14367. "type": "number"
  14368. },
  14369. "todaybuyaverageprice": {
  14370. "description": "今日采购均价(采购均价)",
  14371. "type": "number"
  14372. },
  14373. "todaybuyqty": {
  14374. "description": "今日采购量(采购增量)",
  14375. "type": "number"
  14376. },
  14377. "todaysellamount": {
  14378. "description": "今日销售额",
  14379. "type": "number"
  14380. },
  14381. "todaysellaverageprice": {
  14382. "description": "今日销售均价(销售均价)",
  14383. "type": "number"
  14384. },
  14385. "todaysellqty": {
  14386. "description": "今日销售量(销售增量)",
  14387. "type": "number"
  14388. },
  14389. "unitid": {
  14390. "description": "品类单位id",
  14391. "type": "integer"
  14392. },
  14393. "updatetime": {
  14394. "description": "更新时间",
  14395. "type": "string"
  14396. },
  14397. "wrstandardcode": {
  14398. "description": "品类代码",
  14399. "type": "string"
  14400. },
  14401. "wrstandardid": {
  14402. "description": "品类ID",
  14403. "type": "integer"
  14404. },
  14405. "wrstandardname": {
  14406. "description": "品类名称",
  14407. "type": "string"
  14408. }
  14409. }
  14410. },
  14411. "models.Ermcp3ReportDaySpot": {
  14412. "type": "object",
  14413. "properties": {
  14414. "areauserid": {
  14415. "description": "所属机构T",
  14416. "type": "integer"
  14417. },
  14418. "buyinqty": {
  14419. "description": "采购入库量",
  14420. "type": "number"
  14421. },
  14422. "deliverygoodscode": {
  14423. "description": "现货品种代码",
  14424. "type": "string"
  14425. },
  14426. "deliverygoodsid": {
  14427. "description": "现货品种id",
  14428. "type": "integer"
  14429. },
  14430. "deliverygoodsname": {
  14431. "description": "现货品种名称",
  14432. "type": "string"
  14433. },
  14434. "enumdicname": {
  14435. "description": "现货商品单位名称",
  14436. "type": "string"
  14437. },
  14438. "reckondate": {
  14439. "description": "日照时期(yyyyMMdd)",
  14440. "type": "string"
  14441. },
  14442. "selloutqty": {
  14443. "description": "销售出库量",
  14444. "type": "number"
  14445. },
  14446. "todaybuyreckonqty": {
  14447. "description": "采购确定量",
  14448. "type": "number"
  14449. },
  14450. "todaysellreckonqty": {
  14451. "description": "销售确定量",
  14452. "type": "number"
  14453. },
  14454. "totalbuypricedqty": {
  14455. "description": "采购定价量 = 期末 - 期初",
  14456. "type": "number"
  14457. },
  14458. "totalsellpricedqty": {
  14459. "description": "销售定价量 = 期末 - 期初",
  14460. "type": "number"
  14461. }
  14462. }
  14463. },
  14464. "models.Ermcp3ReportMonSpot": {
  14465. "type": "object",
  14466. "properties": {
  14467. "areauserid": {
  14468. "description": "所属机构id",
  14469. "type": "integer"
  14470. },
  14471. "buyinqty": {
  14472. "description": "采购入库量",
  14473. "type": "number"
  14474. },
  14475. "cycletime": {
  14476. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14477. "type": "string"
  14478. },
  14479. "cycletype": {
  14480. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14481. "type": "integer"
  14482. },
  14483. "deliverygoodscode": {
  14484. "description": "现货品种代码",
  14485. "type": "string"
  14486. },
  14487. "deliverygoodsid": {
  14488. "description": "现货品种id",
  14489. "type": "integer"
  14490. },
  14491. "deliverygoodsname": {
  14492. "description": "现货品种名称",
  14493. "type": "string"
  14494. },
  14495. "enumdicname": {
  14496. "description": "现货商品单位名称",
  14497. "type": "string"
  14498. },
  14499. "selloutqty": {
  14500. "description": "销售出库量",
  14501. "type": "number"
  14502. },
  14503. "todaybuyreckonqty": {
  14504. "description": "采购确定量",
  14505. "type": "number"
  14506. },
  14507. "todaysellreckonqty": {
  14508. "description": "销售确定量",
  14509. "type": "number"
  14510. },
  14511. "totalbuypricedqty": {
  14512. "description": "采购定价量 = 期末 - 期初",
  14513. "type": "number"
  14514. },
  14515. "totalsellpricedqty": {
  14516. "description": "销售定价量 = 期末 - 期初",
  14517. "type": "number"
  14518. }
  14519. }
  14520. },
  14521. "models.Ermcp3ReportOPLog": {
  14522. "type": "object",
  14523. "properties": {
  14524. "applyid": {
  14525. "description": "操作人",
  14526. "type": "integer"
  14527. },
  14528. "applyname": {
  14529. "description": "操作人名称",
  14530. "type": "string"
  14531. },
  14532. "biztype": {
  14533. "description": "业务类型 - 1:套保计划 2:现货合同",
  14534. "type": "integer"
  14535. },
  14536. "brandname": {
  14537. "description": "品牌名称",
  14538. "type": "string"
  14539. },
  14540. "contracttype": {
  14541. "description": "现货合同类型 - 1:采购 -1:销售",
  14542. "type": "integer"
  14543. },
  14544. "deliverygoodscode": {
  14545. "description": "现货品种代码",
  14546. "type": "string"
  14547. },
  14548. "deliverygoodsid": {
  14549. "description": "现货品种id",
  14550. "type": "integer"
  14551. },
  14552. "deliverygoodsname": {
  14553. "description": "现货品种名称",
  14554. "type": "string"
  14555. },
  14556. "enumdicName": {
  14557. "description": "单位名称",
  14558. "type": "string"
  14559. },
  14560. "logdatetime": {
  14561. "description": "流水日期(时间)",
  14562. "type": "string"
  14563. },
  14564. "logid": {
  14565. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14566. "type": "string"
  14567. },
  14568. "logtypename": {
  14569. "description": "合同类型(名称)",
  14570. "type": "string"
  14571. },
  14572. "logvalue": {
  14573. "description": "数值",
  14574. "type": "string"
  14575. },
  14576. "operatelogtype": {
  14577. "description": "操作流水类型 -",
  14578. "type": "integer"
  14579. },
  14580. "optypename": {
  14581. "description": "流水类型名称",
  14582. "type": "string"
  14583. },
  14584. "relatedid": {
  14585. "description": "现货合同ID\\套保计划",
  14586. "type": "string"
  14587. },
  14588. "relatedno": {
  14589. "description": "合同编号",
  14590. "type": "string"
  14591. },
  14592. "tradedate": {
  14593. "description": "交易日(yyyyMMdd)",
  14594. "type": "string"
  14595. },
  14596. "userid": {
  14597. "description": "机构ID",
  14598. "type": "integer"
  14599. }
  14600. }
  14601. },
  14602. "models.Ermcp3SellBuyContract": {
  14603. "type": "object",
  14604. "properties": {
  14605. "accountname": {
  14606. "description": "账户名称",
  14607. "type": "string"
  14608. },
  14609. "attachment": {
  14610. "description": "附件",
  14611. "type": "string"
  14612. },
  14613. "audittime": {
  14614. "description": "审核时间",
  14615. "type": "string"
  14616. },
  14617. "brandname": {
  14618. "description": "品牌名称",
  14619. "type": "string"
  14620. },
  14621. "contracctstatus": {
  14622. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14623. "type": "integer"
  14624. },
  14625. "contractmargin": {
  14626. "description": "合同保证金",
  14627. "type": "number"
  14628. },
  14629. "contractno": {
  14630. "description": "合同编号",
  14631. "type": "string"
  14632. },
  14633. "contracttype": {
  14634. "description": "合同类型 1-采购, -1-销售",
  14635. "type": "integer"
  14636. },
  14637. "convertfactor": {
  14638. "description": "标仓系数(品类)",
  14639. "type": "number"
  14640. },
  14641. "createtime": {
  14642. "description": "创建时间",
  14643. "type": "string"
  14644. },
  14645. "daikaiamount": {
  14646. "description": "应收(开)票额",
  14647. "type": "number"
  14648. },
  14649. "deliveryenddate": {
  14650. "description": "交割结束日",
  14651. "type": "string"
  14652. },
  14653. "deliverygoodscode": {
  14654. "description": "现货品种代码",
  14655. "type": "string"
  14656. },
  14657. "deliverygoodsid": {
  14658. "description": "现货商品ID",
  14659. "type": "integer"
  14660. },
  14661. "deliverygoodsname": {
  14662. "description": "现货品种名称",
  14663. "type": "string"
  14664. },
  14665. "deliverystartdate": {
  14666. "description": "交割开始日",
  14667. "type": "string"
  14668. },
  14669. "enddate": {
  14670. "description": "点价结束日",
  14671. "type": "string"
  14672. },
  14673. "enumdicname": {
  14674. "description": "单位名称",
  14675. "type": "string"
  14676. },
  14677. "goodscode": {
  14678. "description": "点价商品代码",
  14679. "type": "string"
  14680. },
  14681. "goodsid": {
  14682. "description": "点价商品ID",
  14683. "type": "integer"
  14684. },
  14685. "goodsname": {
  14686. "description": "点价商品名称",
  14687. "type": "string"
  14688. },
  14689. "invoiceamount": {
  14690. "description": "已开票额",
  14691. "type": "number"
  14692. },
  14693. "loanamount": {
  14694. "description": "贷款总额=已定价额+调整金额",
  14695. "type": "number"
  14696. },
  14697. "margin": {
  14698. "description": "保证金",
  14699. "type": "number"
  14700. },
  14701. "payamount": {
  14702. "description": "已收付额(收款或付款)",
  14703. "type": "number"
  14704. },
  14705. "preinvoiceamount": {
  14706. "description": "预收(开)票额",
  14707. "type": "number"
  14708. },
  14709. "prepayamount": {
  14710. "description": "预收付额",
  14711. "type": "number"
  14712. },
  14713. "price": {
  14714. "description": "价格",
  14715. "type": "number"
  14716. },
  14717. "pricedamount": {
  14718. "description": "已定价额",
  14719. "type": "number"
  14720. },
  14721. "pricedavg": {
  14722. "description": "已点均价",
  14723. "type": "number"
  14724. },
  14725. "pricedqty": {
  14726. "description": "已定价量",
  14727. "type": "number"
  14728. },
  14729. "pricemove": {
  14730. "description": "升贴水",
  14731. "type": "number"
  14732. },
  14733. "pricetype": {
  14734. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14735. "type": "integer"
  14736. },
  14737. "producttype": {
  14738. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14739. "type": "integer"
  14740. },
  14741. "qty": {
  14742. "description": "合同量",
  14743. "type": "number"
  14744. },
  14745. "reckonadjustamount": {
  14746. "description": "调整金额",
  14747. "type": "number"
  14748. },
  14749. "reckonedamount": {
  14750. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14751. "type": "number"
  14752. },
  14753. "reckonotheramount": {
  14754. "description": "其它费用",
  14755. "type": "number"
  14756. },
  14757. "reckonrealqty": {
  14758. "description": "已确定量",
  14759. "type": "number"
  14760. },
  14761. "remark": {
  14762. "description": "备注",
  14763. "type": "string"
  14764. },
  14765. "spotcontractid": {
  14766. "description": "合同ID",
  14767. "type": "string"
  14768. },
  14769. "spotgoodsbrandid": {
  14770. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14771. "type": "integer"
  14772. },
  14773. "spotgoodsdesc": {
  14774. "description": "商品型号(商品规格)",
  14775. "type": "string"
  14776. },
  14777. "startdate": {
  14778. "description": "点价开始日",
  14779. "type": "string"
  14780. },
  14781. "totalamount": {
  14782. "description": "合计总额",
  14783. "type": "number"
  14784. },
  14785. "unpayamount": {
  14786. "description": "应收付款额(应支付或应收款)",
  14787. "type": "number"
  14788. },
  14789. "unpricedqty": {
  14790. "description": "未定价量",
  14791. "type": "number"
  14792. },
  14793. "unsureqty": {
  14794. "description": "未确定量",
  14795. "type": "number"
  14796. },
  14797. "userid": {
  14798. "description": "机构ID",
  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.Ermcp3SpotGoodsPrice": {
  14816. "type": "object",
  14817. "properties": {
  14818. "areauserid": {
  14819. "description": "所属机构id",
  14820. "type": "integer"
  14821. },
  14822. "brandname": {
  14823. "description": "品牌名称",
  14824. "type": "string"
  14825. },
  14826. "currencyid": {
  14827. "description": "报价货币ID",
  14828. "type": "integer"
  14829. },
  14830. "deliverygoodscode": {
  14831. "description": "现货商品代码",
  14832. "type": "string"
  14833. },
  14834. "deliverygoodsid": {
  14835. "description": "现货商品id",
  14836. "type": "integer"
  14837. },
  14838. "deliverygoodsname": {
  14839. "description": "现货商品名称",
  14840. "type": "string"
  14841. },
  14842. "enumdicname": {
  14843. "description": "现货商品单位名称",
  14844. "type": "string"
  14845. },
  14846. "gbenumdicname": {
  14847. "description": "品类单位名称",
  14848. "type": "string"
  14849. },
  14850. "gmunitid": {
  14851. "description": "品类单位id",
  14852. "type": "integer"
  14853. },
  14854. "isvalid": {
  14855. "description": "是否有效 - 0:无效 1:有效",
  14856. "type": "integer"
  14857. },
  14858. "operateid": {
  14859. "description": "最后操作人",
  14860. "type": "integer"
  14861. },
  14862. "operatesrc": {
  14863. "description": "最后操作来源 - 1:管理端 2:终端",
  14864. "type": "integer"
  14865. },
  14866. "operatetime": {
  14867. "description": "最后操作时间",
  14868. "type": "string"
  14869. },
  14870. "operatorname": {
  14871. "description": "操作人名称",
  14872. "type": "string"
  14873. },
  14874. "spotgoodsbrandid": {
  14875. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14876. "type": "integer"
  14877. },
  14878. "spotgoodsprice": {
  14879. "description": "现货价格",
  14880. "type": "number"
  14881. },
  14882. "tradedate": {
  14883. "description": "交易日(yyyyMMdd)",
  14884. "type": "string"
  14885. },
  14886. "unitid": {
  14887. "description": "现货商品单位id",
  14888. "type": "integer"
  14889. },
  14890. "wrstandardcode": {
  14891. "description": "品类代码",
  14892. "type": "string"
  14893. },
  14894. "wrstandardid": {
  14895. "description": "现货品类ID(通用则为0)",
  14896. "type": "integer"
  14897. },
  14898. "wrstandardname": {
  14899. "description": "品类名称",
  14900. "type": "string"
  14901. }
  14902. }
  14903. },
  14904. "models.Ermcp3SpotGoodsPriceLog": {
  14905. "type": "object",
  14906. "properties": {
  14907. "areauserid": {
  14908. "description": "所属机构id",
  14909. "type": "integer"
  14910. },
  14911. "brandname": {
  14912. "description": "品牌名称",
  14913. "type": "string"
  14914. },
  14915. "currencyid": {
  14916. "description": "报价货币ID",
  14917. "type": "integer"
  14918. },
  14919. "deliverygoodscode": {
  14920. "description": "现货商品代码",
  14921. "type": "string"
  14922. },
  14923. "deliverygoodsid": {
  14924. "description": "现货商品id",
  14925. "type": "integer"
  14926. },
  14927. "deliverygoodsname": {
  14928. "description": "现货商品名称",
  14929. "type": "string"
  14930. },
  14931. "enumdicname": {
  14932. "description": "现货商品单位名称",
  14933. "type": "string"
  14934. },
  14935. "gbenumdicname": {
  14936. "description": "品类单位名称",
  14937. "type": "string"
  14938. },
  14939. "gmunitid": {
  14940. "description": "品类单位id",
  14941. "type": "integer"
  14942. },
  14943. "logid": {
  14944. "description": "日志id",
  14945. "type": "integer"
  14946. },
  14947. "operateid": {
  14948. "description": "最后操作人",
  14949. "type": "integer"
  14950. },
  14951. "operatesrc": {
  14952. "description": "最后操作来源 - 1:管理端 2:终端",
  14953. "type": "integer"
  14954. },
  14955. "operatetime": {
  14956. "description": "最后操作时间",
  14957. "type": "string"
  14958. },
  14959. "operatorname": {
  14960. "description": "操作人名称",
  14961. "type": "string"
  14962. },
  14963. "spotgoodsbrandid": {
  14964. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14965. "type": "integer"
  14966. },
  14967. "spotgoodsprice": {
  14968. "description": "现货价格",
  14969. "type": "number"
  14970. },
  14971. "tradedate": {
  14972. "description": "交易日(yyyyMMdd)",
  14973. "type": "string"
  14974. },
  14975. "unitid": {
  14976. "description": "现货商品单位id",
  14977. "type": "integer"
  14978. },
  14979. "wrstandardcode": {
  14980. "description": "品类代码",
  14981. "type": "string"
  14982. },
  14983. "wrstandardid": {
  14984. "description": "现货品类ID(通用则为0)",
  14985. "type": "integer"
  14986. },
  14987. "wrstandardname": {
  14988. "description": "品类名称",
  14989. "type": "string"
  14990. }
  14991. }
  14992. },
  14993. "models.Ermcp3Wrstandard": {
  14994. "type": "object",
  14995. "properties": {
  14996. "areauserid": {
  14997. "description": "所属机构",
  14998. "type": "integer"
  14999. },
  15000. "convertfactor": {
  15001. "description": "标仓系数",
  15002. "type": "number"
  15003. },
  15004. "createtime": {
  15005. "description": "创建时间",
  15006. "type": "string"
  15007. },
  15008. "creatorid": {
  15009. "description": "创建人",
  15010. "type": "integer"
  15011. },
  15012. "deliverygoodsid": {
  15013. "description": "现货品种ID",
  15014. "type": "integer"
  15015. },
  15016. "enumdicname": {
  15017. "description": "品类单位名称",
  15018. "type": "string"
  15019. },
  15020. "isvalid": {
  15021. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15022. "type": "integer"
  15023. },
  15024. "minivalue": {
  15025. "description": "最小变动值",
  15026. "type": "integer"
  15027. },
  15028. "minivaluedp": {
  15029. "description": "最小变动值小数位",
  15030. "type": "integer"
  15031. },
  15032. "realminivalue": {
  15033. "description": "实际最小变动值",
  15034. "type": "integer"
  15035. },
  15036. "realminivaluedp": {
  15037. "description": "实际最小变动值小数位",
  15038. "type": "integer"
  15039. },
  15040. "remark": {
  15041. "description": "备注",
  15042. "type": "string"
  15043. },
  15044. "unitid": {
  15045. "description": "品类单位ID",
  15046. "type": "integer"
  15047. },
  15048. "updatetime": {
  15049. "description": "更新时间",
  15050. "type": "string"
  15051. },
  15052. "wrstandardcode": {
  15053. "description": "品类代码",
  15054. "type": "string"
  15055. },
  15056. "wrstandardid": {
  15057. "description": "品类ID(SEQ_WRSTANDARD)",
  15058. "type": "integer"
  15059. },
  15060. "wrstandardname": {
  15061. "description": "品类名称",
  15062. "type": "string"
  15063. }
  15064. }
  15065. },
  15066. "models.ErmcpAreaSpotDetailModel": {
  15067. "type": "object",
  15068. "properties": {
  15069. "contracttype": {
  15070. "description": "合同类型 1-采购 -1-销售",
  15071. "type": "integer"
  15072. },
  15073. "createtime": {
  15074. "description": "创建时间",
  15075. "type": "string"
  15076. },
  15077. "enumdicname": {
  15078. "description": "现货商品单位名称",
  15079. "type": "string"
  15080. },
  15081. "logtype": {
  15082. "description": "记录类型 1-套保 2-现货合同",
  15083. "type": "integer"
  15084. },
  15085. "qty": {
  15086. "description": "数量",
  15087. "type": "number"
  15088. },
  15089. "recordname": {
  15090. "description": "类型名称",
  15091. "type": "string"
  15092. },
  15093. "relatedid": {
  15094. "description": "套保计划ID/现货合同ID",
  15095. "type": "string"
  15096. },
  15097. "relatedno": {
  15098. "description": "编号",
  15099. "type": "string"
  15100. },
  15101. "strtime": {
  15102. "description": "时间",
  15103. "type": "string"
  15104. },
  15105. "wrstandardcode": {
  15106. "description": "现货商品代码",
  15107. "type": "string"
  15108. },
  15109. "wrstandardname": {
  15110. "description": "现货商品名称",
  15111. "type": "string"
  15112. }
  15113. }
  15114. },
  15115. "models.ErmcpAreaStock": {
  15116. "type": "object",
  15117. "properties": {
  15118. "brandname": {
  15119. "description": "品牌名称",
  15120. "type": "string"
  15121. },
  15122. "curstock": {
  15123. "description": "期末库存量(今日量)",
  15124. "type": "number"
  15125. },
  15126. "deliverygoodsid": {
  15127. "description": "现货品种ID",
  15128. "type": "integer"
  15129. },
  15130. "enumdicname": {
  15131. "description": "单位名称",
  15132. "type": "string"
  15133. },
  15134. "modelname": {
  15135. "description": "型号名称",
  15136. "type": "string"
  15137. },
  15138. "oristock": {
  15139. "description": "期初库存量(昨日量)",
  15140. "type": "number"
  15141. },
  15142. "spotgoodsbrandid": {
  15143. "description": "现货品牌ID",
  15144. "type": "integer"
  15145. },
  15146. "spotgoodsmodelid": {
  15147. "description": "现货型号ID",
  15148. "type": "integer"
  15149. },
  15150. "todaybuyinqty": {
  15151. "description": "今日采购入库量",
  15152. "type": "number"
  15153. },
  15154. "todayproduceinqty": {
  15155. "description": "今日生产入库量",
  15156. "type": "number"
  15157. },
  15158. "todayproduceoutqty": {
  15159. "description": "今日生产出库量",
  15160. "type": "number"
  15161. },
  15162. "todayselloutqty": {
  15163. "description": "今日销售出库量",
  15164. "type": "number"
  15165. },
  15166. "unitid": {
  15167. "description": "单位id",
  15168. "type": "integer"
  15169. },
  15170. "updatetime": {
  15171. "description": "更新时间",
  15172. "type": "string"
  15173. },
  15174. "userid": {
  15175. "description": "机构ID",
  15176. "type": "integer"
  15177. },
  15178. "username": {
  15179. "description": "机构名称",
  15180. "type": "string"
  15181. },
  15182. "warehousecode": {
  15183. "description": "仓库代码",
  15184. "type": "string"
  15185. },
  15186. "warehouseinfoid": {
  15187. "description": "仓库ID",
  15188. "type": "string"
  15189. },
  15190. "warehousename": {
  15191. "description": "仓库名称",
  15192. "type": "string"
  15193. },
  15194. "warehousetype": {
  15195. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15196. "type": "integer"
  15197. },
  15198. "wrstandardcode": {
  15199. "description": "现货商品代码",
  15200. "type": "string"
  15201. },
  15202. "wrstandardid": {
  15203. "description": "现货商品ID",
  15204. "type": "string"
  15205. },
  15206. "wrstandardname": {
  15207. "description": "现货商品名称",
  15208. "type": "string"
  15209. }
  15210. }
  15211. },
  15212. "models.ErmcpAreaStockApply": {
  15213. "type": "object",
  15214. "properties": {
  15215. "applyid": {
  15216. "description": "申请人",
  15217. "type": "integer"
  15218. },
  15219. "applyname": {
  15220. "description": "申请人名称",
  15221. "type": "string"
  15222. },
  15223. "applyremark": {
  15224. "description": "申请备注",
  15225. "type": "string"
  15226. },
  15227. "applysrc": {
  15228. "description": "申请来源 - 1:管理端 2:终端",
  15229. "type": "integer"
  15230. },
  15231. "applystatus": {
  15232. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15233. "type": "integer"
  15234. },
  15235. "applytime": {
  15236. "description": "申请时间",
  15237. "type": "string"
  15238. },
  15239. "auditid": {
  15240. "description": "审核人",
  15241. "type": "integer"
  15242. },
  15243. "auditname": {
  15244. "description": "审核人名称",
  15245. "type": "string"
  15246. },
  15247. "auditremark": {
  15248. "description": "审核备注",
  15249. "type": "string"
  15250. },
  15251. "auditsrc": {
  15252. "description": "审核来源 - 1:管理端 2:终端",
  15253. "type": "integer"
  15254. },
  15255. "audittime": {
  15256. "description": "审核时间",
  15257. "type": "string"
  15258. },
  15259. "audittradedate": {
  15260. "description": "审核交易日(yyyyMMdd)",
  15261. "type": "string"
  15262. },
  15263. "brandname": {
  15264. "description": "品牌名称",
  15265. "type": "string"
  15266. },
  15267. "buyuserid": {
  15268. "description": "采购方userid",
  15269. "type": "integer"
  15270. },
  15271. "buyusername": {
  15272. "description": "采购方名称",
  15273. "type": "string"
  15274. },
  15275. "contractno": {
  15276. "description": "合同编号",
  15277. "type": "string"
  15278. },
  15279. "contractqty": {
  15280. "description": "合同量",
  15281. "type": "number"
  15282. },
  15283. "contracttype": {
  15284. "description": "现货合同类型 - 1:采购 -1:销售",
  15285. "type": "integer"
  15286. },
  15287. "deliverygoodsid": {
  15288. "description": "现货品种ID",
  15289. "type": "integer"
  15290. },
  15291. "enumdicname": {
  15292. "description": "现货商品单位名称",
  15293. "type": "string"
  15294. },
  15295. "inoutapplyid": {
  15296. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15297. "type": "string"
  15298. },
  15299. "inouttype": {
  15300. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15301. "type": "integer"
  15302. },
  15303. "modelname": {
  15304. "description": "型号名称",
  15305. "type": "string"
  15306. },
  15307. "pricetype": {
  15308. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15309. "type": "integer"
  15310. },
  15311. "qty": {
  15312. "description": "数量",
  15313. "type": "number"
  15314. },
  15315. "selluserid": {
  15316. "description": "销售方userid",
  15317. "type": "integer"
  15318. },
  15319. "sellusername": {
  15320. "description": "销售方名称",
  15321. "type": "string"
  15322. },
  15323. "spotcontractid": {
  15324. "description": "关联现货合同ID",
  15325. "type": "string"
  15326. },
  15327. "spotgoodsbrandid": {
  15328. "description": "现货品牌ID",
  15329. "type": "integer"
  15330. },
  15331. "spotgoodsmodelid": {
  15332. "description": "现货型号ID",
  15333. "type": "integer"
  15334. },
  15335. "unitid": {
  15336. "description": "单位id",
  15337. "type": "integer"
  15338. },
  15339. "userid": {
  15340. "description": "机构ID",
  15341. "type": "integer"
  15342. },
  15343. "warehousecode": {
  15344. "description": "仓库代码",
  15345. "type": "string"
  15346. },
  15347. "warehouseinfoid": {
  15348. "description": "现货仓库ID",
  15349. "type": "string"
  15350. },
  15351. "warehousename": {
  15352. "description": "仓库名称",
  15353. "type": "string"
  15354. },
  15355. "warehousetype": {
  15356. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15357. "type": "integer"
  15358. },
  15359. "wrstandardcode": {
  15360. "description": "现货商品代码",
  15361. "type": "string"
  15362. },
  15363. "wrstandardid": {
  15364. "description": "现货商品ID",
  15365. "type": "string"
  15366. },
  15367. "wrstandardname": {
  15368. "description": "现货商品名称",
  15369. "type": "string"
  15370. }
  15371. }
  15372. },
  15373. "models.ErmcpAreaStockApplySum": {
  15374. "type": "object",
  15375. "properties": {
  15376. "brandname": {
  15377. "description": "品牌名称",
  15378. "type": "string"
  15379. },
  15380. "inouttype": {
  15381. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15382. "type": "integer"
  15383. },
  15384. "modelname": {
  15385. "description": "型号名称",
  15386. "type": "string"
  15387. },
  15388. "spotcontractid": {
  15389. "description": "关联现货合同ID",
  15390. "type": "string"
  15391. },
  15392. "spotgoodsbrandid": {
  15393. "description": "品牌id",
  15394. "type": "integer"
  15395. },
  15396. "spotgoodsmodelid": {
  15397. "description": "型号id",
  15398. "type": "integer"
  15399. },
  15400. "totalqty": {
  15401. "description": "总数量",
  15402. "type": "number"
  15403. }
  15404. }
  15405. },
  15406. "models.ErmcpAreaStockReport": {
  15407. "type": "object",
  15408. "properties": {
  15409. "brandname": {
  15410. "description": "品牌名称",
  15411. "type": "string"
  15412. },
  15413. "curstock": {
  15414. "description": "期末库存量",
  15415. "type": "number"
  15416. },
  15417. "deliverygoodsid": {
  15418. "description": "现货品种ID",
  15419. "type": "integer"
  15420. },
  15421. "enumdicname": {
  15422. "description": "单位名称",
  15423. "type": "string"
  15424. },
  15425. "modelname": {
  15426. "description": "型号名称",
  15427. "type": "string"
  15428. },
  15429. "oristock": {
  15430. "description": "期初库存量",
  15431. "type": "number"
  15432. },
  15433. "spotgoodsbrandid": {
  15434. "description": "现货品牌ID",
  15435. "type": "integer"
  15436. },
  15437. "spotgoodsmodelid": {
  15438. "description": "现货型号ID",
  15439. "type": "integer"
  15440. },
  15441. "todaybuyinqty": {
  15442. "description": "今日采购入库量",
  15443. "type": "number"
  15444. },
  15445. "todayproduceinqty": {
  15446. "description": "今日生产入库量",
  15447. "type": "number"
  15448. },
  15449. "todayproduceoutqty": {
  15450. "description": "今日生产出库量",
  15451. "type": "number"
  15452. },
  15453. "todayselloutqty": {
  15454. "description": "今日销售出库量",
  15455. "type": "number"
  15456. },
  15457. "unitid": {
  15458. "description": "单位id",
  15459. "type": "integer"
  15460. },
  15461. "updatetime": {
  15462. "description": "更新时间",
  15463. "type": "string"
  15464. },
  15465. "userid": {
  15466. "description": "机构ID",
  15467. "type": "integer"
  15468. },
  15469. "username": {
  15470. "description": "机构名称",
  15471. "type": "string"
  15472. },
  15473. "warehousecode": {
  15474. "description": "仓库代码",
  15475. "type": "string"
  15476. },
  15477. "warehouseinfoid": {
  15478. "description": "仓库ID",
  15479. "type": "string"
  15480. },
  15481. "warehousename": {
  15482. "description": "仓库名称",
  15483. "type": "string"
  15484. },
  15485. "warehousetype": {
  15486. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15487. "type": "integer"
  15488. },
  15489. "wrstandardcode": {
  15490. "description": "现货商品代码",
  15491. "type": "string"
  15492. },
  15493. "wrstandardid": {
  15494. "description": "现货商品ID",
  15495. "type": "string"
  15496. },
  15497. "wrstandardname": {
  15498. "description": "现货商品名称",
  15499. "type": "string"
  15500. }
  15501. }
  15502. },
  15503. "models.ErmcpAvalidGoodsGroupModel": {
  15504. "type": "object",
  15505. "properties": {
  15506. "goodsgroupid": {
  15507. "description": "期货品种id",
  15508. "type": "integer"
  15509. },
  15510. "goodsgroupname": {
  15511. "description": "期货品种名称",
  15512. "type": "string"
  15513. },
  15514. "goodunitid": {
  15515. "description": "品种单位id",
  15516. "type": "integer"
  15517. },
  15518. "goodunitname": {
  15519. "description": "品种单位名称",
  15520. "type": "string"
  15521. },
  15522. "outergroupcode": {
  15523. "description": "期货品种代码",
  15524. "type": "string"
  15525. }
  15526. }
  15527. },
  15528. "models.ErmcpBizGroupEx": {
  15529. "type": "object",
  15530. "properties": {
  15531. "acclist": {
  15532. "description": "账号列表",
  15533. "type": "array",
  15534. "items": {
  15535. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15536. }
  15537. },
  15538. "bizgroupid": {
  15539. "description": "业务分组id",
  15540. "type": "integer"
  15541. },
  15542. "biztype": {
  15543. "description": "业务类型 1-套保 2-套利",
  15544. "type": "integer"
  15545. },
  15546. "wrlist": {
  15547. "description": "现货商品表",
  15548. "type": "array",
  15549. "items": {
  15550. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15551. }
  15552. }
  15553. }
  15554. },
  15555. "models.ErmcpBizGroupSpotGoods": {
  15556. "type": "object",
  15557. "properties": {
  15558. "areauserid": {
  15559. "description": "所属机构id",
  15560. "type": "integer"
  15561. },
  15562. "bizgroupid": {
  15563. "description": "分组id",
  15564. "type": "integer"
  15565. },
  15566. "biztype": {
  15567. "description": "业务类型 1-套保 2-套利",
  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. "unitid": {
  15583. "description": "现货商品单位id",
  15584. "type": "integer"
  15585. }
  15586. }
  15587. },
  15588. "models.ErmcpBizGroupTaAccount": {
  15589. "type": "object",
  15590. "properties": {
  15591. "accountid": {
  15592. "description": "账号id",
  15593. "type": "string"
  15594. },
  15595. "accountname": {
  15596. "description": "账号名称",
  15597. "type": "string"
  15598. },
  15599. "areauserid": {
  15600. "description": "所属机构id",
  15601. "type": "integer"
  15602. },
  15603. "bizgroupid": {
  15604. "description": "业务分组id",
  15605. "type": "integer"
  15606. },
  15607. "ismain": {
  15608. "description": "是否主账号 1-是 0-否",
  15609. "type": "integer"
  15610. }
  15611. }
  15612. },
  15613. "models.ErmcpDGFactoryItem": {
  15614. "type": "object",
  15615. "properties": {
  15616. "areauserid": {
  15617. "description": "用户id",
  15618. "type": "integer"
  15619. },
  15620. "deliverygoodsid": {
  15621. "description": "现货品种ID",
  15622. "type": "integer"
  15623. },
  15624. "dgfactoryitemid": {
  15625. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15626. "type": "integer"
  15627. },
  15628. "dgfactoryitemtypeid": {
  15629. "description": "要素项类型",
  15630. "type": "integer"
  15631. },
  15632. "dgfactoryitemvalue": {
  15633. "description": "要素项值(类型为仓库时填写仓库名称)",
  15634. "type": "string"
  15635. },
  15636. "isvalid": {
  15637. "description": "是否有效 - 0:无效 1:有效",
  15638. "type": "integer"
  15639. },
  15640. "orderindex": {
  15641. "description": "顺序",
  15642. "type": "integer"
  15643. },
  15644. "warehouseid": {
  15645. "description": "仓库ID(类型为仓库时填写)",
  15646. "type": "integer"
  15647. }
  15648. }
  15649. },
  15650. "models.ErmcpDeliveryGoods": {
  15651. "type": "object",
  15652. "properties": {
  15653. "agreeunit": {
  15654. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15655. "type": "integer"
  15656. },
  15657. "areauserid": {
  15658. "description": "所属机构",
  15659. "type": "integer"
  15660. },
  15661. "auditflag": {
  15662. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15663. "type": "integer"
  15664. },
  15665. "categoryid": {
  15666. "description": "类别ID(SEQ_WRCATEGORY)",
  15667. "type": "integer"
  15668. },
  15669. "deliverygoodscode": {
  15670. "description": "现货品种代码",
  15671. "type": "string"
  15672. },
  15673. "deliverygoodsid": {
  15674. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15675. "type": "integer"
  15676. },
  15677. "deliverygoodsname": {
  15678. "description": "现货品种名称",
  15679. "type": "string"
  15680. },
  15681. "deliverygoodstype": {
  15682. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15683. "type": "integer"
  15684. },
  15685. "dgstatus": {
  15686. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15687. "type": "integer"
  15688. },
  15689. "enumdicname": {
  15690. "description": "现货品种单位名称",
  15691. "type": "string"
  15692. },
  15693. "goodsunitid": {
  15694. "description": "现货品种单位ID",
  15695. "type": "integer"
  15696. },
  15697. "isvalid": {
  15698. "description": "是否有效 - 0:无效 1:有效",
  15699. "type": "integer"
  15700. },
  15701. "qtydecimalplace": {
  15702. "description": "成交量小数位",
  15703. "type": "integer"
  15704. },
  15705. "remark": {
  15706. "description": "备注",
  15707. "type": "string"
  15708. },
  15709. "standardqty": {
  15710. "description": "标准数量(库位数量) [标准品特有]",
  15711. "type": "integer"
  15712. },
  15713. "standardqtyrange": {
  15714. "description": "标准数量偏差范围 [标准品特有]",
  15715. "type": "integer"
  15716. }
  15717. }
  15718. },
  15719. "models.ErmcpDeliveryGoodsDetail": {
  15720. "type": "object",
  15721. "properties": {
  15722. "data": {
  15723. "description": "现货商品基本信息(交割品种)",
  15724. "type": "object",
  15725. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15726. },
  15727. "gblist": {
  15728. "description": "品牌列表",
  15729. "type": "array",
  15730. "items": {
  15731. "$ref": "#/definitions/models.Ermcp3Brand"
  15732. }
  15733. },
  15734. "gmlist": {
  15735. "description": "品类列表(仓单标准)",
  15736. "type": "array",
  15737. "items": {
  15738. "$ref": "#/definitions/models.ErmcpWrstandard"
  15739. }
  15740. },
  15741. "goodslist": {
  15742. "description": "关联交易商品列表",
  15743. "type": "array",
  15744. "items": {
  15745. "$ref": "#/definitions/models.ErmcpRelatedGoods"
  15746. }
  15747. },
  15748. "wrslist": {
  15749. "description": "套保信息列表",
  15750. "type": "array",
  15751. "items": {
  15752. "$ref": "#/definitions/models.WRSConverTDetail"
  15753. }
  15754. }
  15755. }
  15756. },
  15757. "models.ErmcpExposureDetailModel": {
  15758. "type": "object",
  15759. "properties": {
  15760. "areauserid": {
  15761. "description": "机构ID",
  15762. "type": "integer"
  15763. },
  15764. "changeQty": {
  15765. "description": "套保变动量",
  15766. "type": "number"
  15767. },
  15768. "contracttype": {
  15769. "description": "现货合同类型 - 1:采购 -1:销售",
  15770. "type": "integer"
  15771. },
  15772. "convertfactor": {
  15773. "description": "标仓系数",
  15774. "type": "number"
  15775. },
  15776. "convertratio": {
  15777. "description": "套保系数",
  15778. "type": "number"
  15779. },
  15780. "createtime": {
  15781. "description": "时间",
  15782. "type": "string"
  15783. },
  15784. "enumdicname": {
  15785. "description": "现货商品单位名称",
  15786. "type": "string"
  15787. },
  15788. "logtype": {
  15789. "description": "类型 - 1:套保计划 2:现货合同",
  15790. "type": "integer"
  15791. },
  15792. "middlegoodsId": {
  15793. "description": "套保商品id",
  15794. "type": "integer"
  15795. },
  15796. "middlegoodscode": {
  15797. "description": "套保商品代码",
  15798. "type": "string"
  15799. },
  15800. "middlegoodsname": {
  15801. "description": "套保商品名称",
  15802. "type": "string"
  15803. },
  15804. "qty": {
  15805. "description": "数量",
  15806. "type": "number"
  15807. },
  15808. "relateNo": {
  15809. "description": "现货合同/套保计划编号",
  15810. "type": "string"
  15811. },
  15812. "wrstandardcode": {
  15813. "description": "现货商品代码",
  15814. "type": "string"
  15815. },
  15816. "wrstandardid": {
  15817. "description": "现货商品ID",
  15818. "type": "integer"
  15819. },
  15820. "wrstandardname": {
  15821. "description": "现货商品名称",
  15822. "type": "string"
  15823. }
  15824. }
  15825. },
  15826. "models.ErmcpExposurePostion": {
  15827. "type": "object",
  15828. "properties": {
  15829. "agreeunit": {
  15830. "description": "合约单位",
  15831. "type": "string"
  15832. },
  15833. "areauserid": {
  15834. "description": "所属机构id",
  15835. "type": "integer"
  15836. },
  15837. "convertratio": {
  15838. "description": "期货品种系数(折算系数)",
  15839. "type": "number"
  15840. },
  15841. "curqty": {
  15842. "description": "当前持仓",
  15843. "type": "integer"
  15844. },
  15845. "diffhedgeqty": {
  15846. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15847. "type": "number"
  15848. },
  15849. "diffqty": {
  15850. "description": "持仓变动量=当前持仓-昨日持仓",
  15851. "type": "integer"
  15852. },
  15853. "goodscode": {
  15854. "description": "商品代码",
  15855. "type": "string"
  15856. },
  15857. "goodsid": {
  15858. "description": "商品id",
  15859. "type": "integer"
  15860. },
  15861. "goodsname": {
  15862. "description": "商品名称",
  15863. "type": "string"
  15864. },
  15865. "middlegoodsid": {
  15866. "description": "套保商品id",
  15867. "type": "integer"
  15868. },
  15869. "ydqty": {
  15870. "description": "昨日持仓",
  15871. "type": "integer"
  15872. }
  15873. }
  15874. },
  15875. "models.ErmcpFuturesCompany": {
  15876. "type": "object",
  15877. "properties": {
  15878. "brokerid": {
  15879. "description": "经纪公司代码",
  15880. "type": "string"
  15881. },
  15882. "channeladdress": {
  15883. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15884. "type": "string"
  15885. },
  15886. "channelid": {
  15887. "description": "对冲渠道ID",
  15888. "type": "string"
  15889. },
  15890. "createtime": {
  15891. "description": "创建时间",
  15892. "type": "string"
  15893. },
  15894. "creatorid": {
  15895. "description": "创建人",
  15896. "type": "string"
  15897. },
  15898. "fcid": {
  15899. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15900. "type": "integer"
  15901. },
  15902. "fcname": {
  15903. "description": "期货公司名称",
  15904. "type": "string"
  15905. },
  15906. "isvalid": {
  15907. "description": "是否有效 - 0:无效 1:有效",
  15908. "type": "integer"
  15909. },
  15910. "mhpaddress": {
  15911. "description": "MHP服务地址(IP:Port)",
  15912. "type": "string"
  15913. },
  15914. "riskrulegroupid": {
  15915. "description": "风控规则组ID",
  15916. "type": "string"
  15917. },
  15918. "tradefeetmpid": {
  15919. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15920. "type": "string"
  15921. },
  15922. "trademargintmpid": {
  15923. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15924. "type": "string"
  15925. },
  15926. "traderatetmpid": {
  15927. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15928. "type": "string"
  15929. },
  15930. "updatetime": {
  15931. "description": "更新时间",
  15932. "type": "string"
  15933. },
  15934. "updatorid": {
  15935. "description": "更新人",
  15936. "type": "string"
  15937. }
  15938. }
  15939. },
  15940. "models.ErmcpGGConvertCfg": {
  15941. "type": "object",
  15942. "properties": {
  15943. "convertratio": {
  15944. "description": "折算系数",
  15945. "type": "number"
  15946. },
  15947. "destgoodsgroupid": {
  15948. "description": "目标品种ID",
  15949. "type": "integer"
  15950. },
  15951. "dstcode": {
  15952. "description": "目录品种代码",
  15953. "type": "string"
  15954. },
  15955. "dstexchangecode": {
  15956. "description": "目标期货交易所",
  15957. "type": "string"
  15958. },
  15959. "dstname": {
  15960. "description": "目标品种名称",
  15961. "type": "string"
  15962. },
  15963. "dstunitid": {
  15964. "description": "目标品种单位ID",
  15965. "type": "integer"
  15966. },
  15967. "dstunitidname": {
  15968. "description": "目标品种单位名称",
  15969. "type": "string"
  15970. },
  15971. "modifytime": {
  15972. "description": "修改时间",
  15973. "type": "string"
  15974. },
  15975. "srccode": {
  15976. "description": "源品种代码",
  15977. "type": "string"
  15978. },
  15979. "srcexchangecode": {
  15980. "description": "源期货交易所",
  15981. "type": "string"
  15982. },
  15983. "srcgoodsgroupid": {
  15984. "description": "源品种ID",
  15985. "type": "integer"
  15986. },
  15987. "srcname": {
  15988. "description": "源品种名称",
  15989. "type": "string"
  15990. },
  15991. "srcunitid": {
  15992. "description": "源品种单位ID",
  15993. "type": "integer"
  15994. },
  15995. "srcunitidname": {
  15996. "description": "源品种单位名称",
  15997. "type": "string"
  15998. }
  15999. }
  16000. },
  16001. "models.ErmcpGoodsBrand": {
  16002. "type": "object",
  16003. "properties": {
  16004. "areauserid": {
  16005. "description": "所属机构",
  16006. "type": "integer"
  16007. },
  16008. "brandid": {
  16009. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16010. "type": "integer"
  16011. },
  16012. "brandname": {
  16013. "description": "品牌名称",
  16014. "type": "string"
  16015. },
  16016. "createtime": {
  16017. "description": "创建时间",
  16018. "type": "string"
  16019. },
  16020. "creatorid": {
  16021. "description": "创建人",
  16022. "type": "integer"
  16023. },
  16024. "creatorsrc": {
  16025. "description": "创建人来源 - 1:管理端 2:终端",
  16026. "type": "integer"
  16027. },
  16028. "deliverygoodsid": {
  16029. "description": "现货品种ID",
  16030. "type": "integer"
  16031. },
  16032. "isvalid": {
  16033. "description": "是否有效 - 0:无效 1:有效",
  16034. "type": "integer"
  16035. },
  16036. "updatetime": {
  16037. "description": "更新时间",
  16038. "type": "string"
  16039. },
  16040. "updatorid": {
  16041. "description": "更新人",
  16042. "type": "integer"
  16043. },
  16044. "updatorsrc": {
  16045. "description": "更新人来源 - 1:管理端 2:终端",
  16046. "type": "integer"
  16047. },
  16048. "wrstandardid": {
  16049. "description": "现货商品ID",
  16050. "type": "integer"
  16051. }
  16052. }
  16053. },
  16054. "models.ErmcpGoodsModel": {
  16055. "type": "object",
  16056. "properties": {
  16057. "areauserid": {
  16058. "description": "所属机构",
  16059. "type": "integer"
  16060. },
  16061. "convertfactor": {
  16062. "description": "标仓系数",
  16063. "type": "number"
  16064. },
  16065. "createtime": {
  16066. "description": "创建时间",
  16067. "type": "string"
  16068. },
  16069. "creatorid": {
  16070. "description": "创建人",
  16071. "type": "integer"
  16072. },
  16073. "creatorsrc": {
  16074. "description": "创建人来源 - 1:管理端 2:终端",
  16075. "type": "integer"
  16076. },
  16077. "deliverygoodsid": {
  16078. "description": "现货品种ID",
  16079. "type": "integer"
  16080. },
  16081. "isvalid": {
  16082. "description": "是否有效 - 0:无效 1:有效",
  16083. "type": "integer"
  16084. },
  16085. "modelid": {
  16086. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16087. "type": "integer"
  16088. },
  16089. "modelname": {
  16090. "description": "型号名称",
  16091. "type": "string"
  16092. },
  16093. "updatetime": {
  16094. "description": "更新时间",
  16095. "type": "string"
  16096. },
  16097. "updatorid": {
  16098. "description": "更新人",
  16099. "type": "integer"
  16100. },
  16101. "updatorsrc": {
  16102. "description": "更新人来源 - 1:管理端 2:终端",
  16103. "type": "integer"
  16104. },
  16105. "wrstandardid": {
  16106. "description": "现货商品ID",
  16107. "type": "integer"
  16108. }
  16109. }
  16110. },
  16111. "models.ErmcpHedgePlan": {
  16112. "type": "object",
  16113. "properties": {
  16114. "areauserid": {
  16115. "description": "用户ID",
  16116. "type": "integer"
  16117. },
  16118. "audittime": {
  16119. "description": "审核时间",
  16120. "type": "string"
  16121. },
  16122. "contracttype": {
  16123. "description": "计划类型 - 1:采购 -1:销售",
  16124. "type": "integer"
  16125. },
  16126. "convertfactor": {
  16127. "description": "标仓系数",
  16128. "type": "number"
  16129. },
  16130. "createtime": {
  16131. "description": "创建时间",
  16132. "type": "string"
  16133. },
  16134. "deliverygoodsid": {
  16135. "description": "现货品种ID",
  16136. "type": "integer"
  16137. },
  16138. "deliverygoodsname": {
  16139. "description": "现货品种名称",
  16140. "type": "string"
  16141. },
  16142. "enumdicname": {
  16143. "description": "单位名称",
  16144. "type": "string"
  16145. },
  16146. "hedgeplanid": {
  16147. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16148. "type": "string"
  16149. },
  16150. "hedgeplanno": {
  16151. "description": "套保计划编号(名称)",
  16152. "type": "string"
  16153. },
  16154. "hedgeplanstatus": {
  16155. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16156. "type": "integer"
  16157. },
  16158. "planqty": {
  16159. "description": "计划数量",
  16160. "type": "number"
  16161. },
  16162. "plantime": {
  16163. "description": "计划时间",
  16164. "type": "string"
  16165. },
  16166. "producttype": {
  16167. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16168. "type": "integer"
  16169. },
  16170. "remark": {
  16171. "description": "备注",
  16172. "type": "string"
  16173. },
  16174. "spotgoodsdesc": {
  16175. "description": "商品型号",
  16176. "type": "string"
  16177. },
  16178. "unitid": {
  16179. "description": "单位id",
  16180. "type": "integer"
  16181. },
  16182. "updatetime": {
  16183. "description": "更新时间",
  16184. "type": "string"
  16185. },
  16186. "wrstandardid": {
  16187. "description": "现货商品ID",
  16188. "type": "integer"
  16189. },
  16190. "wrstandardname": {
  16191. "description": "现货商品名称",
  16192. "type": "string"
  16193. }
  16194. }
  16195. },
  16196. "models.ErmcpHedgePosition": {
  16197. "type": "object",
  16198. "properties": {
  16199. "accountid": {
  16200. "description": "资金账号[外部母账户]",
  16201. "type": "integer"
  16202. },
  16203. "curbuyposition": {
  16204. "description": "期末买头寸",
  16205. "type": "integer"
  16206. },
  16207. "cursellposition": {
  16208. "description": "期末卖头寸",
  16209. "type": "integer"
  16210. },
  16211. "curtdbuyposition": {
  16212. "description": "期末今日买头寸",
  16213. "type": "integer"
  16214. },
  16215. "curtdsellposition": {
  16216. "description": "期末今日卖头寸",
  16217. "type": "integer"
  16218. },
  16219. "curydbuyposition": {
  16220. "description": "期末上日买头寸",
  16221. "type": "integer"
  16222. },
  16223. "curydsellposition": {
  16224. "description": "期末上日卖头寸",
  16225. "type": "integer"
  16226. },
  16227. "decreaseqty": {
  16228. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16229. "type": "integer"
  16230. },
  16231. "fretdbuyposition": {
  16232. "description": "冻结今日买头寸",
  16233. "type": "integer"
  16234. },
  16235. "fretdsellposition": {
  16236. "description": "冻结今日卖头寸",
  16237. "type": "integer"
  16238. },
  16239. "freydbuyposition": {
  16240. "description": "冻结上日买头寸",
  16241. "type": "integer"
  16242. },
  16243. "freydsellposition": {
  16244. "description": "冻结上日卖头寸",
  16245. "type": "integer"
  16246. },
  16247. "goodscode": {
  16248. "description": "商品代码",
  16249. "type": "string"
  16250. },
  16251. "goodsid": {
  16252. "description": "商品id",
  16253. "type": "integer"
  16254. },
  16255. "goodsname": {
  16256. "description": "商品名称",
  16257. "type": "string"
  16258. },
  16259. "hedgeaccountcode": {
  16260. "description": "对冲账号",
  16261. "type": "string"
  16262. },
  16263. "hedgegoodsid": {
  16264. "description": "对冲合约ID",
  16265. "type": "integer"
  16266. },
  16267. "increaseqty": {
  16268. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16269. "type": "integer"
  16270. },
  16271. "marketid": {
  16272. "description": "市场ID",
  16273. "type": "integer"
  16274. },
  16275. "relateduserid": {
  16276. "description": "关联用户id",
  16277. "type": "integer"
  16278. },
  16279. "totalcurqty": {
  16280. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16281. "type": "integer"
  16282. },
  16283. "totalydqty": {
  16284. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16285. "type": "integer"
  16286. },
  16287. "tradedate": {
  16288. "description": "交易日(yyyyMMdd)",
  16289. "type": "string"
  16290. },
  16291. "ydbuyposition": {
  16292. "description": "期初买头寸",
  16293. "type": "integer"
  16294. },
  16295. "ydsellposition": {
  16296. "description": "期初卖头寸",
  16297. "type": "integer"
  16298. }
  16299. }
  16300. },
  16301. "models.ErmcpHedgePositionDetail": {
  16302. "type": "object",
  16303. "properties": {
  16304. "buyorsell": {
  16305. "description": "买卖方向 0-买 1-卖",
  16306. "type": "integer"
  16307. },
  16308. "channelbuildtype": {
  16309. "description": "开平方向 1-建仓 2-平仓",
  16310. "type": "integer"
  16311. },
  16312. "goodscode": {
  16313. "description": "商品代码",
  16314. "type": "string"
  16315. },
  16316. "goodsname": {
  16317. "description": "商品名称",
  16318. "type": "string"
  16319. },
  16320. "hedgegoodsid": {
  16321. "description": "商品id",
  16322. "type": "integer"
  16323. },
  16324. "tradeqty": {
  16325. "description": "数量(成交数量)",
  16326. "type": "integer"
  16327. },
  16328. "tradetime": {
  16329. "description": "时间(成交时间)",
  16330. "type": "string"
  16331. }
  16332. }
  16333. },
  16334. "models.ErmcpHisExposure": {
  16335. "type": "object",
  16336. "properties": {
  16337. "needhedgeexposoure": {
  16338. "description": "应套保敞口",
  16339. "type": "number"
  16340. },
  16341. "reckondate": {
  16342. "description": "日照时期(yyyyMMdd)",
  16343. "type": "string"
  16344. },
  16345. "totalexposure": {
  16346. "description": "总敞口",
  16347. "type": "number"
  16348. }
  16349. }
  16350. },
  16351. "models.ErmcpHisExposureS": {
  16352. "type": "object",
  16353. "properties": {
  16354. "data": {
  16355. "description": "历史敞口",
  16356. "type": "array",
  16357. "items": {
  16358. "$ref": "#/definitions/models.ErmcpHisExposure"
  16359. }
  16360. },
  16361. "enumdicname": {
  16362. "description": "单位名称",
  16363. "type": "string"
  16364. },
  16365. "middlegoodscode": {
  16366. "description": "套保品种代码",
  16367. "type": "string"
  16368. },
  16369. "middlegoodsid": {
  16370. "description": "套保品种ID",
  16371. "type": "integer"
  16372. },
  16373. "middlegoodsname": {
  16374. "description": "套保品种名称",
  16375. "type": "string"
  16376. }
  16377. }
  16378. },
  16379. "models.ErmcpLoginUser": {
  16380. "type": "object",
  16381. "properties": {
  16382. "accountname": {
  16383. "description": "用户名称",
  16384. "type": "string"
  16385. },
  16386. "clientroleid": {
  16387. "description": "角色id(usertype=2)",
  16388. "type": "integer"
  16389. },
  16390. "createtime": {
  16391. "description": "创建时间",
  16392. "type": "string"
  16393. },
  16394. "logincode": {
  16395. "description": "登录代码",
  16396. "type": "string"
  16397. },
  16398. "loginid": {
  16399. "description": "登录id(LOGINID)",
  16400. "type": "integer"
  16401. },
  16402. "loginstatus": {
  16403. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16404. "type": "integer"
  16405. },
  16406. "memberuserid": {
  16407. "description": "所属会员id",
  16408. "type": "integer"
  16409. },
  16410. "mobile": {
  16411. "description": "手机号",
  16412. "type": "string"
  16413. },
  16414. "modifytime": {
  16415. "description": "修改时间",
  16416. "type": "string"
  16417. },
  16418. "password": {
  16419. "description": "密码(不可解密)",
  16420. "type": "string"
  16421. },
  16422. "rolename": {
  16423. "description": "角色名称",
  16424. "type": "string"
  16425. },
  16426. "rolestatus": {
  16427. "description": "角色状态 1-启用 2-停用",
  16428. "type": "integer"
  16429. },
  16430. "roletype": {
  16431. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16432. "type": "string"
  16433. },
  16434. "userid": {
  16435. "description": "用户id",
  16436. "type": "integer"
  16437. },
  16438. "usertype": {
  16439. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16440. "type": "integer"
  16441. }
  16442. }
  16443. },
  16444. "models.ErmcpLoginUserEx": {
  16445. "type": "object",
  16446. "properties": {
  16447. "roleid": {
  16448. "description": "角色id",
  16449. "type": "integer"
  16450. },
  16451. "rolename": {
  16452. "description": "角色名称",
  16453. "type": "string"
  16454. },
  16455. "userlist": {
  16456. "description": "用户列表",
  16457. "type": "array",
  16458. "items": {
  16459. "$ref": "#/definitions/models.ErmcpLoginUser"
  16460. }
  16461. },
  16462. "usertype": {
  16463. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16464. "type": "integer"
  16465. }
  16466. }
  16467. },
  16468. "models.ErmcpMiddleGoodsChangeLog": {
  16469. "type": "object",
  16470. "properties": {
  16471. "aftervalue": {
  16472. "description": "变更后",
  16473. "type": "number"
  16474. },
  16475. "applyid": {
  16476. "description": "操作人",
  16477. "type": "integer"
  16478. },
  16479. "applyname": {
  16480. "description": "操作人名称",
  16481. "type": "string"
  16482. },
  16483. "applysrc": {
  16484. "description": "操作来源 - 1:管理端 2:终端",
  16485. "type": "integer"
  16486. },
  16487. "beforevalue": {
  16488. "description": "变更前",
  16489. "type": "number"
  16490. },
  16491. "changelogtype": {
  16492. "description": "变更流水类型 - 1:套保比率变更",
  16493. "type": "integer"
  16494. },
  16495. "handlestatus": {
  16496. "description": "处理状态",
  16497. "type": "integer"
  16498. },
  16499. "logdatetime": {
  16500. "description": "流水日期",
  16501. "type": "string"
  16502. },
  16503. "logid": {
  16504. "description": "流水ID",
  16505. "type": "integer"
  16506. },
  16507. "logremark": {
  16508. "description": "流水备注",
  16509. "type": "string"
  16510. },
  16511. "middlegoodsid": {
  16512. "description": "套保品种ID",
  16513. "type": "integer"
  16514. },
  16515. "tradedate": {
  16516. "description": "交易日(yyyyMMdd)",
  16517. "type": "string"
  16518. },
  16519. "updatetime": {
  16520. "description": "更新时间",
  16521. "type": "string"
  16522. }
  16523. }
  16524. },
  16525. "models.ErmcpMiddleGoodsDetail": {
  16526. "type": "object",
  16527. "properties": {
  16528. "cvList": {
  16529. "description": "期货品种折算列表",
  16530. "type": "array",
  16531. "items": {
  16532. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16533. }
  16534. },
  16535. "mg": {
  16536. "description": "套保品种基本信息",
  16537. "type": "object",
  16538. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16539. },
  16540. "wrcList": {
  16541. "description": "现货品种列表(现货商品折算配置)",
  16542. "type": "array",
  16543. "items": {
  16544. "$ref": "#/definitions/models.WRSConverTDetail"
  16545. }
  16546. }
  16547. }
  16548. },
  16549. "models.ErmcpMiddleGoodsModel": {
  16550. "type": "object",
  16551. "properties": {
  16552. "areauserid": {
  16553. "description": "机构用户ID",
  16554. "type": "integer"
  16555. },
  16556. "createtime": {
  16557. "description": "修改时间",
  16558. "type": "string"
  16559. },
  16560. "enumdicname": {
  16561. "description": "单位名称",
  16562. "type": "string"
  16563. },
  16564. "evaluateratio": {
  16565. "description": "估价系数",
  16566. "type": "number"
  16567. },
  16568. "goodsgroupid": {
  16569. "description": "关联期货品种ID",
  16570. "type": "integer"
  16571. },
  16572. "isvalid": {
  16573. "description": "状态 0-无效(停用) 1-有效(正常)",
  16574. "type": "integer"
  16575. },
  16576. "middlegoodscode": {
  16577. "description": "套保品种代码",
  16578. "type": "string"
  16579. },
  16580. "middlegoodsid": {
  16581. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16582. "type": "integer"
  16583. },
  16584. "middlegoodsname": {
  16585. "description": "套保品种名称",
  16586. "type": "string"
  16587. },
  16588. "modifytime": {
  16589. "description": "修改时间",
  16590. "type": "string"
  16591. },
  16592. "needhedgeratio": {
  16593. "description": "套保比率",
  16594. "type": "number"
  16595. },
  16596. "qtydecimalplace": {
  16597. "description": "数量小数位",
  16598. "type": "integer"
  16599. },
  16600. "relatedgoodsid": {
  16601. "description": "关联交易商品ID",
  16602. "type": "integer"
  16603. },
  16604. "relatedgoodstype": {
  16605. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16606. "type": "integer"
  16607. },
  16608. "remark": {
  16609. "description": "备注",
  16610. "type": "string"
  16611. }
  16612. }
  16613. },
  16614. "models.ErmcpModel": {
  16615. "type": "object",
  16616. "properties": {
  16617. "accountname": {
  16618. "description": "账户名称",
  16619. "type": "string"
  16620. },
  16621. "attachment": {
  16622. "description": "附件",
  16623. "type": "string"
  16624. },
  16625. "audittime": {
  16626. "description": "审核时间",
  16627. "type": "string"
  16628. },
  16629. "brandname": {
  16630. "description": "品牌名称",
  16631. "type": "string"
  16632. },
  16633. "contracctstatus": {
  16634. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16635. "type": "integer"
  16636. },
  16637. "contractmargin": {
  16638. "description": "合同保证金",
  16639. "type": "number"
  16640. },
  16641. "contractno": {
  16642. "description": "合同编号",
  16643. "type": "string"
  16644. },
  16645. "contracttype": {
  16646. "description": "合同类型 1-采购, -1-销售",
  16647. "type": "integer"
  16648. },
  16649. "convertfactor": {
  16650. "description": "标仓系数",
  16651. "type": "number"
  16652. },
  16653. "createtime": {
  16654. "description": "创建时间",
  16655. "type": "string"
  16656. },
  16657. "daikaiamount": {
  16658. "description": "应收(开)票额",
  16659. "type": "number"
  16660. },
  16661. "deliveryenddate": {
  16662. "description": "交割结束日",
  16663. "type": "string"
  16664. },
  16665. "deliverygoodscode": {
  16666. "description": "现货品种代码",
  16667. "type": "string"
  16668. },
  16669. "deliverygoodsid": {
  16670. "description": "现货商品ID",
  16671. "type": "integer"
  16672. },
  16673. "deliverygoodsname": {
  16674. "description": "现货品种名称",
  16675. "type": "string"
  16676. },
  16677. "deliverystartdate": {
  16678. "description": "交割开始日",
  16679. "type": "string"
  16680. },
  16681. "enddate": {
  16682. "description": "点价结束日",
  16683. "type": "string"
  16684. },
  16685. "enumdicname": {
  16686. "description": "单位名称",
  16687. "type": "string"
  16688. },
  16689. "goodscode": {
  16690. "description": "点价商品代码",
  16691. "type": "string"
  16692. },
  16693. "goodsid": {
  16694. "description": "点价商品ID",
  16695. "type": "integer"
  16696. },
  16697. "goodsname": {
  16698. "description": "点价商品名称",
  16699. "type": "string"
  16700. },
  16701. "invoiceamount": {
  16702. "description": "已开票额",
  16703. "type": "number"
  16704. },
  16705. "loanamount": {
  16706. "description": "贷款总额=已定价额+调整金额",
  16707. "type": "number"
  16708. },
  16709. "margin": {
  16710. "description": "保证金",
  16711. "type": "number"
  16712. },
  16713. "modelname": {
  16714. "description": "型号名称",
  16715. "type": "string"
  16716. },
  16717. "payamount": {
  16718. "description": "已收付额(收款或付款)",
  16719. "type": "number"
  16720. },
  16721. "preinvoiceamount": {
  16722. "description": "预收(开)票额",
  16723. "type": "number"
  16724. },
  16725. "prepayamount": {
  16726. "description": "预收付额",
  16727. "type": "number"
  16728. },
  16729. "price": {
  16730. "description": "价格",
  16731. "type": "number"
  16732. },
  16733. "pricedamount": {
  16734. "description": "已定价额",
  16735. "type": "number"
  16736. },
  16737. "pricedavg": {
  16738. "description": "已点均价",
  16739. "type": "number"
  16740. },
  16741. "pricedqty": {
  16742. "description": "已定价量",
  16743. "type": "number"
  16744. },
  16745. "pricemove": {
  16746. "description": "升贴水",
  16747. "type": "number"
  16748. },
  16749. "pricetype": {
  16750. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16751. "type": "integer"
  16752. },
  16753. "producttype": {
  16754. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16755. "type": "integer"
  16756. },
  16757. "qty": {
  16758. "description": "合同量",
  16759. "type": "number"
  16760. },
  16761. "reckonadjustamount": {
  16762. "description": "调整金额",
  16763. "type": "number"
  16764. },
  16765. "reckonedamount": {
  16766. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16767. "type": "number"
  16768. },
  16769. "reckonotheramount": {
  16770. "description": "其它费用",
  16771. "type": "number"
  16772. },
  16773. "reckonrealqty": {
  16774. "description": "已确定量",
  16775. "type": "number"
  16776. },
  16777. "remark": {
  16778. "description": "备注",
  16779. "type": "string"
  16780. },
  16781. "spotcontractid": {
  16782. "description": "合同ID",
  16783. "type": "string"
  16784. },
  16785. "spotgoodsbrandid": {
  16786. "description": "现货品牌ID",
  16787. "type": "integer"
  16788. },
  16789. "spotgoodsdesc": {
  16790. "description": "商品型号(商品规格)",
  16791. "type": "string"
  16792. },
  16793. "spotgoodsmodelid": {
  16794. "description": "现货型号ID",
  16795. "type": "integer"
  16796. },
  16797. "startdate": {
  16798. "description": "点价开始日",
  16799. "type": "string"
  16800. },
  16801. "totalamount": {
  16802. "description": "合计总额",
  16803. "type": "number"
  16804. },
  16805. "unpayamount": {
  16806. "description": "应收付款额(应支付或应收款)",
  16807. "type": "number"
  16808. },
  16809. "unpricedqty": {
  16810. "description": "未定价量",
  16811. "type": "number"
  16812. },
  16813. "unsureqty": {
  16814. "description": "未确定量",
  16815. "type": "number"
  16816. },
  16817. "userid": {
  16818. "description": "用户ID",
  16819. "type": "integer"
  16820. },
  16821. "wrstandardcode": {
  16822. "description": "现货商品代码",
  16823. "type": "string"
  16824. },
  16825. "wrstandardid": {
  16826. "description": "现货商品ID",
  16827. "type": "integer"
  16828. },
  16829. "wrstandardname": {
  16830. "description": "现货商品名称",
  16831. "type": "string"
  16832. }
  16833. }
  16834. },
  16835. "models.ErmcpOPLogModel": {
  16836. "type": "object",
  16837. "properties": {
  16838. "aftervalue": {
  16839. "description": "变更后",
  16840. "type": "number"
  16841. },
  16842. "applyid": {
  16843. "description": "操作人ID",
  16844. "type": "string"
  16845. },
  16846. "applyname": {
  16847. "description": "操作人名称",
  16848. "type": "string"
  16849. },
  16850. "beforevalue": {
  16851. "description": "变更前",
  16852. "type": "number"
  16853. },
  16854. "biztype": {
  16855. "description": "业务类型 - 1:套保计划 2:现货合同",
  16856. "type": "integer"
  16857. },
  16858. "contracttype": {
  16859. "description": "现货合同类型 - 1:采购 -1:销售",
  16860. "type": "integer"
  16861. },
  16862. "logvalue": {
  16863. "description": "数值",
  16864. "type": "number"
  16865. },
  16866. "operatelogtype": {
  16867. "description": "操作流水类型",
  16868. "type": "integer"
  16869. },
  16870. "operatelogtypedesc": {
  16871. "description": "操作流水类型名称",
  16872. "type": "string"
  16873. },
  16874. "relatedid": {
  16875. "description": "现货合同ID\\套保计划",
  16876. "type": "string"
  16877. },
  16878. "updatetime": {
  16879. "description": "更新时间",
  16880. "type": "string"
  16881. }
  16882. }
  16883. },
  16884. "models.ErmcpPendingAudit": {
  16885. "type": "object",
  16886. "properties": {
  16887. "areastockqty": {
  16888. "description": "待审核数量: 库存申请",
  16889. "type": "integer"
  16890. },
  16891. "businessdjqty": {
  16892. "description": "待审核数量: 点价",
  16893. "type": "integer"
  16894. },
  16895. "businessfpqty": {
  16896. "description": "待审核数量: 发票",
  16897. "type": "integer"
  16898. },
  16899. "businessjsqty": {
  16900. "description": "待审核数量: 结算",
  16901. "type": "integer"
  16902. },
  16903. "businesskxqty": {
  16904. "description": "待审核数量: 款项",
  16905. "type": "integer"
  16906. },
  16907. "hedgeplanqty": {
  16908. "description": "待审核数量: 套保计划",
  16909. "type": "integer"
  16910. },
  16911. "spotcontractqty": {
  16912. "description": "待审核数量: 现货合同",
  16913. "type": "integer"
  16914. },
  16915. "userqty": {
  16916. "description": "待审核数量: 用户",
  16917. "type": "integer"
  16918. }
  16919. }
  16920. },
  16921. "models.ErmcpRealExposureModel": {
  16922. "type": "object",
  16923. "properties": {
  16924. "AreaUserID": {
  16925. "description": "所属机构",
  16926. "type": "integer"
  16927. },
  16928. "BuyFutureQty": {
  16929. "description": "买入期货数量",
  16930. "type": "number"
  16931. },
  16932. "BuyPlanQty": {
  16933. "description": "采购计划数量",
  16934. "type": "number"
  16935. },
  16936. "BuyPricedQty": {
  16937. "description": "采购合同已定价数量",
  16938. "type": "number"
  16939. },
  16940. "MiddleGoodsCode": {
  16941. "description": "套保品种代码",
  16942. "type": "string"
  16943. },
  16944. "MiddleGoodsHedgeRatio": {
  16945. "description": "应套保比例",
  16946. "type": "number"
  16947. },
  16948. "MiddleGoodsID": {
  16949. "description": "套保品种",
  16950. "type": "integer"
  16951. },
  16952. "MiddleGoodsName": {
  16953. "description": "套保品种名称",
  16954. "type": "string"
  16955. },
  16956. "NeedHedgeExposoure": {
  16957. "description": "应套保敞口",
  16958. "type": "number"
  16959. },
  16960. "NeedHedgeRatio": {
  16961. "description": "应套保敞口比例",
  16962. "type": "number"
  16963. },
  16964. "OriBuyFutureQty": {
  16965. "description": "期初买入期货数量",
  16966. "type": "number"
  16967. },
  16968. "OriBuyPlanQty": {
  16969. "description": "期初采购计划数量",
  16970. "type": "number"
  16971. },
  16972. "OriBuyPricedQty": {
  16973. "description": "期初采购合同已定价数量",
  16974. "type": "number"
  16975. },
  16976. "OriSellFutureQty": {
  16977. "description": "期初卖出期货数量",
  16978. "type": "number"
  16979. },
  16980. "OriSellPlanQty": {
  16981. "description": "期初销售计划数量",
  16982. "type": "number"
  16983. },
  16984. "OriSellPricedQty": {
  16985. "description": "期初销售合同已定价数量",
  16986. "type": "number"
  16987. },
  16988. "SellFutureQty": {
  16989. "description": "卖出期货数量",
  16990. "type": "number"
  16991. },
  16992. "SellPlanQty": {
  16993. "description": "销售计划数量",
  16994. "type": "number"
  16995. },
  16996. "SellPricedQty": {
  16997. "description": "销售合同已定价数量",
  16998. "type": "number"
  16999. },
  17000. "TotalExposure": {
  17001. "description": "总敞口",
  17002. "type": "number"
  17003. },
  17004. "TotalFutureQty": {
  17005. "description": "期货数量",
  17006. "type": "number"
  17007. },
  17008. "TotalHedgeRatio": {
  17009. "description": "敞口比例",
  17010. "type": "number"
  17011. },
  17012. "TotalNeedHedgeQty": {
  17013. "description": "期货应套保量",
  17014. "type": "number"
  17015. },
  17016. "TotalSpotQty": {
  17017. "description": "现货数量",
  17018. "type": "number"
  17019. },
  17020. "diffFutuQty": {
  17021. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17022. "type": "number"
  17023. },
  17024. "diffSpotQty": {
  17025. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17026. "type": "number"
  17027. },
  17028. "enumdicname": {
  17029. "description": "单位名称",
  17030. "type": "string"
  17031. },
  17032. "oriTotalFutuQty": {
  17033. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17034. "type": "number"
  17035. },
  17036. "oriTotalSpotQty": {
  17037. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17038. "type": "number"
  17039. }
  17040. }
  17041. },
  17042. "models.ErmcpRelatedGoods": {
  17043. "type": "object",
  17044. "properties": {
  17045. "deliverygoodsid": {
  17046. "description": "品种ID",
  17047. "type": "integer"
  17048. },
  17049. "goodscode": {
  17050. "description": "商品代码",
  17051. "type": "string"
  17052. },
  17053. "goodsid": {
  17054. "description": "商品id",
  17055. "type": "integer"
  17056. },
  17057. "goodsname": {
  17058. "description": "商品名称",
  17059. "type": "string"
  17060. }
  17061. }
  17062. },
  17063. "models.ErmcpReportAreaSpotPL": {
  17064. "type": "object",
  17065. "properties": {
  17066. "actualpl": {
  17067. "description": "实际损益",
  17068. "type": "number"
  17069. },
  17070. "areauserid": {
  17071. "description": "所属机构",
  17072. "type": "integer"
  17073. },
  17074. "brandname": {
  17075. "description": "品牌名称",
  17076. "type": "string"
  17077. },
  17078. "curamount": {
  17079. "description": "期末额",
  17080. "type": "number"
  17081. },
  17082. "curaverageprice": {
  17083. "description": "期末均价",
  17084. "type": "number"
  17085. },
  17086. "curbuyamount": {
  17087. "description": "期末采购总额(采购额)",
  17088. "type": "number"
  17089. },
  17090. "curbuyqty": {
  17091. "description": "期末采购总量",
  17092. "type": "number"
  17093. },
  17094. "curmarketvalue": {
  17095. "description": "参考市值",
  17096. "type": "number"
  17097. },
  17098. "curqty": {
  17099. "description": "期末量",
  17100. "type": "number"
  17101. },
  17102. "cursellamount": {
  17103. "description": "期末销售总额(销售额)",
  17104. "type": "number"
  17105. },
  17106. "cursellqty": {
  17107. "description": "期末销售总量",
  17108. "type": "number"
  17109. },
  17110. "curspotprice": {
  17111. "description": "参考市价",
  17112. "type": "number"
  17113. },
  17114. "enumdicname": {
  17115. "description": "现货商品单位名称",
  17116. "type": "string"
  17117. },
  17118. "floatpl": {
  17119. "description": "浮动损益",
  17120. "type": "number"
  17121. },
  17122. "gbenumdicname": {
  17123. "description": "品类单位名称",
  17124. "type": "string"
  17125. },
  17126. "gbunitid": {
  17127. "description": "品类单位id",
  17128. "type": "integer"
  17129. },
  17130. "modelname": {
  17131. "description": "品类名称",
  17132. "type": "string"
  17133. },
  17134. "oriamount": {
  17135. "description": "期初额",
  17136. "type": "number"
  17137. },
  17138. "oriaverageprice": {
  17139. "description": "期初均价",
  17140. "type": "number"
  17141. },
  17142. "oribuyamount": {
  17143. "description": "期初采购总额",
  17144. "type": "number"
  17145. },
  17146. "oribuyqty": {
  17147. "description": "期初采购总量",
  17148. "type": "number"
  17149. },
  17150. "oriqty": {
  17151. "description": "期初量",
  17152. "type": "number"
  17153. },
  17154. "orisellamount": {
  17155. "description": "期初销售总额",
  17156. "type": "number"
  17157. },
  17158. "orisellqty": {
  17159. "description": "期初销售总量",
  17160. "type": "number"
  17161. },
  17162. "spotgoodsbrandid": {
  17163. "description": "现货品牌ID",
  17164. "type": "integer"
  17165. },
  17166. "spotgoodsmodelid": {
  17167. "description": "现货品类ID",
  17168. "type": "integer"
  17169. },
  17170. "todaybuyamount": {
  17171. "description": "今日采购额",
  17172. "type": "number"
  17173. },
  17174. "todaybuyaverageprice": {
  17175. "description": "今日采购均价(采购均价)",
  17176. "type": "number"
  17177. },
  17178. "todaybuyqty": {
  17179. "description": "今日采购量(采购增量)",
  17180. "type": "number"
  17181. },
  17182. "todaysellamount": {
  17183. "description": "今日销售额",
  17184. "type": "number"
  17185. },
  17186. "todaysellaverageprice": {
  17187. "description": "今日销售均价(销售均价)",
  17188. "type": "number"
  17189. },
  17190. "todaysellqty": {
  17191. "description": "今日销售量(销售增量)",
  17192. "type": "number"
  17193. },
  17194. "unitid": {
  17195. "description": "现货商品单位id",
  17196. "type": "integer"
  17197. },
  17198. "updatetime": {
  17199. "description": "更新时间",
  17200. "type": "string"
  17201. },
  17202. "wrstandardcode": {
  17203. "description": "现货商品代码",
  17204. "type": "string"
  17205. },
  17206. "wrstandardid": {
  17207. "description": "现货商品ID",
  17208. "type": "integer"
  17209. },
  17210. "wrstandardname": {
  17211. "description": "现货商品名称",
  17212. "type": "string"
  17213. }
  17214. }
  17215. },
  17216. "models.ErmcpReportDayExposure": {
  17217. "type": "object",
  17218. "properties": {
  17219. "areauserid": {
  17220. "description": "所属机构",
  17221. "type": "integer"
  17222. },
  17223. "buyfutureqty": {
  17224. "description": "买入期货数量",
  17225. "type": "number"
  17226. },
  17227. "buyplanqty": {
  17228. "description": "采购计划数量",
  17229. "type": "number"
  17230. },
  17231. "buypricedqty": {
  17232. "description": "采购合同已定价数量",
  17233. "type": "number"
  17234. },
  17235. "diffFutuQty": {
  17236. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17237. "type": "number"
  17238. },
  17239. "diffSpotQty": {
  17240. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17241. "type": "number"
  17242. },
  17243. "enumdicname": {
  17244. "description": "单位名称",
  17245. "type": "string"
  17246. },
  17247. "middlegoodscode": {
  17248. "description": "套保品种代码",
  17249. "type": "string"
  17250. },
  17251. "middlegoodshedgeratio": {
  17252. "description": "应套保比例",
  17253. "type": "number"
  17254. },
  17255. "middlegoodsid": {
  17256. "description": "套保品种ID",
  17257. "type": "integer"
  17258. },
  17259. "middlegoodsname": {
  17260. "description": "套保品种名称",
  17261. "type": "string"
  17262. },
  17263. "needhedgeexposoure": {
  17264. "description": "应套保敞口",
  17265. "type": "number"
  17266. },
  17267. "needhedgeratio": {
  17268. "description": "应套保敞口比例",
  17269. "type": "number"
  17270. },
  17271. "oriTotalFutuQty": {
  17272. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17273. "type": "number"
  17274. },
  17275. "oriTotalSpotQty": {
  17276. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17277. "type": "number"
  17278. },
  17279. "oribuyfutureqty": {
  17280. "description": "期初买入期货数量",
  17281. "type": "number"
  17282. },
  17283. "oribuyplanqty": {
  17284. "description": "期初采购计划数量",
  17285. "type": "number"
  17286. },
  17287. "oribuypricedqty": {
  17288. "description": "期初采购合同已定价数量",
  17289. "type": "number"
  17290. },
  17291. "orisellfutureqty": {
  17292. "description": "期初卖出期货数量",
  17293. "type": "number"
  17294. },
  17295. "orisellplanqty": {
  17296. "description": "期初销售计划数量",
  17297. "type": "number"
  17298. },
  17299. "orisellpricedqty": {
  17300. "description": "期初销售合同已定价数量",
  17301. "type": "number"
  17302. },
  17303. "reckondate": {
  17304. "description": "日照时期(yyyyMMdd)",
  17305. "type": "string"
  17306. },
  17307. "sellfutureqty": {
  17308. "description": "卖出期货数量",
  17309. "type": "number"
  17310. },
  17311. "sellplanqty": {
  17312. "description": "销售计划数量",
  17313. "type": "number"
  17314. },
  17315. "sellpricedqty": {
  17316. "description": "销售合同已定价数量",
  17317. "type": "number"
  17318. },
  17319. "totalexposure": {
  17320. "description": "总敞口",
  17321. "type": "number"
  17322. },
  17323. "totalfutureqty": {
  17324. "description": "期货数量",
  17325. "type": "number"
  17326. },
  17327. "totalhedgeratio": {
  17328. "description": "敞口比例",
  17329. "type": "number"
  17330. },
  17331. "totalneedhedgeqty": {
  17332. "description": "期货应套保量",
  17333. "type": "number"
  17334. },
  17335. "totalspotqty": {
  17336. "description": "现货数量",
  17337. "type": "number"
  17338. }
  17339. }
  17340. },
  17341. "models.ErmcpReportDayFR": {
  17342. "type": "object",
  17343. "properties": {
  17344. "areauserid": {
  17345. "description": "所属机构",
  17346. "type": "integer"
  17347. },
  17348. "collectinvoiceamount": {
  17349. "description": "今日开票金额",
  17350. "type": "number"
  17351. },
  17352. "collectinvoicecount": {
  17353. "description": "今日开票笔数",
  17354. "type": "integer"
  17355. },
  17356. "collectmoneyamount": {
  17357. "description": "今日收款金额",
  17358. "type": "number"
  17359. },
  17360. "collectmoneycount": {
  17361. "description": "今日收款笔数",
  17362. "type": "integer"
  17363. },
  17364. "payinvoiceamount": {
  17365. "description": "今日收票金额",
  17366. "type": "number"
  17367. },
  17368. "payinvoicecount": {
  17369. "description": "今日收票笔数",
  17370. "type": "integer"
  17371. },
  17372. "paymoneyamount": {
  17373. "description": "今日付款金额",
  17374. "type": "number"
  17375. },
  17376. "paymoneycount": {
  17377. "description": "今日付款笔数",
  17378. "type": "integer"
  17379. },
  17380. "reckondate": {
  17381. "description": "日照时期(yyyyMMdd)",
  17382. "type": "string"
  17383. },
  17384. "updatetime": {
  17385. "description": "更新时间",
  17386. "type": "string"
  17387. }
  17388. }
  17389. },
  17390. "models.ErmcpReportDaySpot": {
  17391. "type": "object",
  17392. "properties": {
  17393. "areauserid": {
  17394. "description": "所属机构T",
  17395. "type": "integer"
  17396. },
  17397. "buyinqty": {
  17398. "description": "采购入库量",
  17399. "type": "number"
  17400. },
  17401. "enumdicname": {
  17402. "description": "现货商品单位名称",
  17403. "type": "string"
  17404. },
  17405. "reckondate": {
  17406. "description": "日照时期(yyyyMMdd)",
  17407. "type": "string"
  17408. },
  17409. "selloutqty": {
  17410. "description": "销售出库量",
  17411. "type": "number"
  17412. },
  17413. "todaybuyreckonqty": {
  17414. "description": "采购确定量",
  17415. "type": "number"
  17416. },
  17417. "todaysellreckonqty": {
  17418. "description": "销售确定量",
  17419. "type": "number"
  17420. },
  17421. "totalbuypricedqty": {
  17422. "description": "采购定价量 = 期末 - 期初",
  17423. "type": "number"
  17424. },
  17425. "totalsellpricedqty": {
  17426. "description": "销售定价量 = 期末 - 期初",
  17427. "type": "number"
  17428. },
  17429. "wrstandardcode": {
  17430. "description": "现货商品代码",
  17431. "type": "string"
  17432. },
  17433. "wrstandardid": {
  17434. "description": "现货商品ID",
  17435. "type": "integer"
  17436. },
  17437. "wrstandardname": {
  17438. "description": "现货商品名称",
  17439. "type": "string"
  17440. }
  17441. }
  17442. },
  17443. "models.ErmcpReportMonSpot": {
  17444. "type": "object",
  17445. "properties": {
  17446. "areauserid": {
  17447. "description": "所属机构T",
  17448. "type": "integer"
  17449. },
  17450. "buyinqty": {
  17451. "description": "采购入库量",
  17452. "type": "number"
  17453. },
  17454. "cycletime": {
  17455. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17456. "type": "string"
  17457. },
  17458. "cycletype": {
  17459. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17460. "type": "integer"
  17461. },
  17462. "enumdicname": {
  17463. "description": "现货商品单位名称",
  17464. "type": "string"
  17465. },
  17466. "selloutqty": {
  17467. "description": "销售出库量",
  17468. "type": "number"
  17469. },
  17470. "todaybuyreckonqty": {
  17471. "description": "采购确定量",
  17472. "type": "number"
  17473. },
  17474. "todaysellreckonqty": {
  17475. "description": "销售确定量",
  17476. "type": "number"
  17477. },
  17478. "totalbuypricedqty": {
  17479. "description": "采购定价量 = 期末 - 期初",
  17480. "type": "number"
  17481. },
  17482. "totalsellpricedqty": {
  17483. "description": "销售定价量 = 期末 - 期初",
  17484. "type": "number"
  17485. },
  17486. "wrstandardcode": {
  17487. "description": "现货商品代码",
  17488. "type": "string"
  17489. },
  17490. "wrstandardid": {
  17491. "description": "现货商品ID",
  17492. "type": "integer"
  17493. },
  17494. "wrstandardname": {
  17495. "description": "现货商品名称",
  17496. "type": "string"
  17497. }
  17498. }
  17499. },
  17500. "models.ErmcpReportMonthFR": {
  17501. "type": "object",
  17502. "properties": {
  17503. "areauserid": {
  17504. "description": "所属机构【原值】",
  17505. "type": "integer"
  17506. },
  17507. "collectinvoiceamount": {
  17508. "description": "今日开票金额【汇总】",
  17509. "type": "number"
  17510. },
  17511. "collectinvoicecount": {
  17512. "description": "今日开票笔数【汇总】",
  17513. "type": "integer"
  17514. },
  17515. "collectmoneyamount": {
  17516. "description": "今日收款金额【汇总】",
  17517. "type": "number"
  17518. },
  17519. "collectmoneycount": {
  17520. "description": "今日收款笔数 【汇总】",
  17521. "type": "integer"
  17522. },
  17523. "cycletime": {
  17524. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17525. "type": "string"
  17526. },
  17527. "cycletype": {
  17528. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17529. "type": "integer"
  17530. },
  17531. "dayFr": {
  17532. "description": "日报表明细",
  17533. "type": "array",
  17534. "items": {
  17535. "$ref": "#/definitions/models.ErmcpReportDayFR"
  17536. }
  17537. },
  17538. "payinvoiceamount": {
  17539. "description": "今日收票金额【汇总】",
  17540. "type": "number"
  17541. },
  17542. "payinvoicecount": {
  17543. "description": "今日收票笔数【汇总】",
  17544. "type": "integer"
  17545. },
  17546. "paymoneyamount": {
  17547. "description": "今日付款金额【汇总】",
  17548. "type": "number"
  17549. },
  17550. "paymoneycount": {
  17551. "description": "今日付款笔数【汇总】",
  17552. "type": "integer"
  17553. },
  17554. "updatetime": {
  17555. "description": "更新时间",
  17556. "type": "string"
  17557. }
  17558. }
  17559. },
  17560. "models.ErmcpReportOPLog": {
  17561. "type": "object",
  17562. "properties": {
  17563. "applyid": {
  17564. "description": "操作人",
  17565. "type": "integer"
  17566. },
  17567. "applyname": {
  17568. "description": "操作人名称",
  17569. "type": "string"
  17570. },
  17571. "biztype": {
  17572. "description": "业务类型 - 1:套保计划 2:现货合同",
  17573. "type": "integer"
  17574. },
  17575. "brandname": {
  17576. "description": "品牌名称",
  17577. "type": "string"
  17578. },
  17579. "contracttype": {
  17580. "description": "现货合同类型 - 1:采购 -1:销售",
  17581. "type": "integer"
  17582. },
  17583. "enumdicName": {
  17584. "description": "单位名称",
  17585. "type": "string"
  17586. },
  17587. "logdatetime": {
  17588. "description": "流水日期(时间)",
  17589. "type": "string"
  17590. },
  17591. "logid": {
  17592. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  17593. "type": "string"
  17594. },
  17595. "logtypename": {
  17596. "description": "合同类型(名称)",
  17597. "type": "string"
  17598. },
  17599. "logvalue": {
  17600. "description": "数值",
  17601. "type": "string"
  17602. },
  17603. "modelname": {
  17604. "description": "型号名称",
  17605. "type": "string"
  17606. },
  17607. "operatelogtype": {
  17608. "description": "操作流水类型 -",
  17609. "type": "integer"
  17610. },
  17611. "optypename": {
  17612. "description": "流水类型名称",
  17613. "type": "string"
  17614. },
  17615. "relatedid": {
  17616. "description": "现货合同ID\\套保计划",
  17617. "type": "string"
  17618. },
  17619. "relatedno": {
  17620. "description": "合同编号",
  17621. "type": "string"
  17622. },
  17623. "tradedate": {
  17624. "description": "交易日(yyyyMMdd)",
  17625. "type": "string"
  17626. },
  17627. "userid": {
  17628. "description": "机构ID",
  17629. "type": "integer"
  17630. },
  17631. "wrstandardcode": {
  17632. "description": "现货商品代码",
  17633. "type": "string"
  17634. },
  17635. "wrstandardid": {
  17636. "description": "现货商品ID",
  17637. "type": "integer"
  17638. },
  17639. "wrstandardname": {
  17640. "description": "现货商品名称",
  17641. "type": "string"
  17642. }
  17643. }
  17644. },
  17645. "models.ErmcpRole": {
  17646. "type": "object",
  17647. "properties": {
  17648. "areauserid": {
  17649. "description": "所属机构",
  17650. "type": "integer"
  17651. },
  17652. "autoid": {
  17653. "description": "角色ID(自增ID)",
  17654. "type": "integer"
  17655. },
  17656. "modifierid": {
  17657. "description": "修改人(创建人)",
  17658. "type": "integer"
  17659. },
  17660. "modifiername": {
  17661. "description": "修改人名称",
  17662. "type": "string"
  17663. },
  17664. "modifytime": {
  17665. "description": "修改时间(创建时间)",
  17666. "type": "string"
  17667. },
  17668. "rolename": {
  17669. "description": "角色名称",
  17670. "type": "string"
  17671. },
  17672. "rolestatus": {
  17673. "description": "角色状态 - 1:启用 2:停用",
  17674. "type": "integer"
  17675. },
  17676. "roletype": {
  17677. "description": "角色类型 - 1- 管理端 2- 交易端",
  17678. "type": "integer"
  17679. }
  17680. }
  17681. },
  17682. "models.ErmcpRoleMenu": {
  17683. "type": "object",
  17684. "properties": {
  17685. "iconame": {
  17686. "description": "菜单图标",
  17687. "type": "string"
  17688. },
  17689. "menutype": {
  17690. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17691. "type": "integer"
  17692. },
  17693. "parentcode": {
  17694. "description": "上级资源代码",
  17695. "type": "string"
  17696. },
  17697. "remark": {
  17698. "description": "菜单备注",
  17699. "type": "string"
  17700. },
  17701. "resourcecode": {
  17702. "description": "菜单代码",
  17703. "type": "string"
  17704. },
  17705. "resourcelevel": {
  17706. "description": "级别",
  17707. "type": "integer"
  17708. },
  17709. "resourcename": {
  17710. "description": "菜单名称",
  17711. "type": "string"
  17712. },
  17713. "roleid": {
  17714. "description": "角色id",
  17715. "type": "integer"
  17716. },
  17717. "sort": {
  17718. "description": "排序",
  17719. "type": "integer"
  17720. },
  17721. "url": {
  17722. "description": "URL",
  17723. "type": "string"
  17724. },
  17725. "userid": {
  17726. "description": "用户id",
  17727. "type": "integer"
  17728. }
  17729. }
  17730. },
  17731. "models.ErmcpRoleMenuEx": {
  17732. "type": "object",
  17733. "properties": {
  17734. "menu": {
  17735. "description": "父级菜单",
  17736. "type": "object",
  17737. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17738. },
  17739. "subMenu": {
  17740. "description": "子级菜单",
  17741. "type": "array",
  17742. "items": {
  17743. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17744. }
  17745. }
  17746. }
  17747. },
  17748. "models.ErmcpSpotContractModel": {
  17749. "type": "object",
  17750. "properties": {
  17751. "amount": {
  17752. "description": "金额 [1:一口价、3:暂定价]",
  17753. "type": "number"
  17754. },
  17755. "attachment": {
  17756. "description": "附件",
  17757. "type": "string"
  17758. },
  17759. "auditremark": {
  17760. "description": "审核意见",
  17761. "type": "string"
  17762. },
  17763. "audittime": {
  17764. "description": "审核时间",
  17765. "type": "string"
  17766. },
  17767. "brandname": {
  17768. "description": "品牌名称",
  17769. "type": "string"
  17770. },
  17771. "buyuserid": {
  17772. "description": "采购方ID",
  17773. "type": "integer"
  17774. },
  17775. "buyusername": {
  17776. "description": "采购方名称",
  17777. "type": "string"
  17778. },
  17779. "contracctstatus": {
  17780. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17781. "type": "integer"
  17782. },
  17783. "contractmargin": {
  17784. "description": "合同保证金",
  17785. "type": "number"
  17786. },
  17787. "contractno": {
  17788. "description": "现货合同编号",
  17789. "type": "string"
  17790. },
  17791. "contracttype": {
  17792. "description": "现货合同类型 - 1:采购 -1:销售",
  17793. "type": "integer"
  17794. },
  17795. "convertfactor": {
  17796. "description": "标仓系数",
  17797. "type": "number"
  17798. },
  17799. "createtime": {
  17800. "description": "创建时间",
  17801. "type": "string"
  17802. },
  17803. "deliveryenddate": {
  17804. "description": "交收期(结束)",
  17805. "type": "string"
  17806. },
  17807. "deliverygoodscode": {
  17808. "description": "现货品种代码",
  17809. "type": "string"
  17810. },
  17811. "deliverygoodsid": {
  17812. "description": "现货品种ID",
  17813. "type": "integer"
  17814. },
  17815. "deliverygoodsname": {
  17816. "description": "现货品种名称",
  17817. "type": "string"
  17818. },
  17819. "deliverystartdate": {
  17820. "description": "交收期(开始)",
  17821. "type": "string"
  17822. },
  17823. "enddate": {
  17824. "description": "点价结束日期 [2:点价 3:暂定价]",
  17825. "type": "string"
  17826. },
  17827. "enumdicname": {
  17828. "description": "单位名称",
  17829. "type": "string"
  17830. },
  17831. "goodscode": {
  17832. "description": "点价合约代码",
  17833. "type": "string"
  17834. },
  17835. "goodsid": {
  17836. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17837. "type": "integer"
  17838. },
  17839. "goodsname": {
  17840. "description": "点价商品名称",
  17841. "type": "string"
  17842. },
  17843. "margin": {
  17844. "description": "当前保证金",
  17845. "type": "number"
  17846. },
  17847. "modelname": {
  17848. "description": "型号名称",
  17849. "type": "string"
  17850. },
  17851. "price": {
  17852. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17853. "type": "number"
  17854. },
  17855. "pricemove": {
  17856. "description": "升贴水 [2:点价 3:暂定价]",
  17857. "type": "number"
  17858. },
  17859. "pricetype": {
  17860. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17861. "type": "integer"
  17862. },
  17863. "producttype": {
  17864. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17865. "type": "integer"
  17866. },
  17867. "qty": {
  17868. "description": "数量",
  17869. "type": "number"
  17870. },
  17871. "remark": {
  17872. "description": "备注",
  17873. "type": "string"
  17874. },
  17875. "selluserid": {
  17876. "description": "销售方ID",
  17877. "type": "integer"
  17878. },
  17879. "sellusername": {
  17880. "description": "销售方名称",
  17881. "type": "string"
  17882. },
  17883. "spotcontractid": {
  17884. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17885. "type": "string"
  17886. },
  17887. "spotgoodsbrandid": {
  17888. "description": "现货品牌ID",
  17889. "type": "integer"
  17890. },
  17891. "spotgoodsdesc": {
  17892. "description": "商品型号",
  17893. "type": "string"
  17894. },
  17895. "spotgoodsmodelid": {
  17896. "description": "现货型号ID",
  17897. "type": "integer"
  17898. },
  17899. "startdate": {
  17900. "description": "点价开始日期 [2:点价 3:暂定价]",
  17901. "type": "string"
  17902. },
  17903. "updatetime": {
  17904. "description": "更新时间",
  17905. "type": "string"
  17906. },
  17907. "userid": {
  17908. "description": "机构ID",
  17909. "type": "integer"
  17910. },
  17911. "wrstandardcode": {
  17912. "description": "现货商品代码",
  17913. "type": "string"
  17914. },
  17915. "wrstandardid": {
  17916. "description": "现货商品ID",
  17917. "type": "integer"
  17918. },
  17919. "wrstandardname": {
  17920. "description": "现货商品名称",
  17921. "type": "string"
  17922. }
  17923. }
  17924. },
  17925. "models.ErmcpSpotGoodsPrice": {
  17926. "type": "object",
  17927. "properties": {
  17928. "areauserid": {
  17929. "description": "所属机构id",
  17930. "type": "integer"
  17931. },
  17932. "brandname": {
  17933. "description": "品牌名称",
  17934. "type": "string"
  17935. },
  17936. "currencyid": {
  17937. "description": "报价货币ID",
  17938. "type": "integer"
  17939. },
  17940. "enumdicname": {
  17941. "description": "现货商品单位名称",
  17942. "type": "string"
  17943. },
  17944. "gbenumdicname": {
  17945. "description": "品类单位名称",
  17946. "type": "string"
  17947. },
  17948. "gmunitid": {
  17949. "description": "品类单位id",
  17950. "type": "integer"
  17951. },
  17952. "isvalid": {
  17953. "description": "是否有效 - 0:无效 1:有效",
  17954. "type": "integer"
  17955. },
  17956. "modelname": {
  17957. "description": "品类名称",
  17958. "type": "string"
  17959. },
  17960. "operateid": {
  17961. "description": "最后操作人",
  17962. "type": "integer"
  17963. },
  17964. "operatesrc": {
  17965. "description": "最后操作来源 - 1:管理端 2:终端",
  17966. "type": "integer"
  17967. },
  17968. "operatetime": {
  17969. "description": "最后操作时间",
  17970. "type": "string"
  17971. },
  17972. "operatorname": {
  17973. "description": "操作人名称",
  17974. "type": "string"
  17975. },
  17976. "spotgoodsbrandid": {
  17977. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17978. "type": "integer"
  17979. },
  17980. "spotgoodsmodelid": {
  17981. "description": "现货品类ID(通用则为0)",
  17982. "type": "integer"
  17983. },
  17984. "spotgoodsprice": {
  17985. "description": "现货价格",
  17986. "type": "number"
  17987. },
  17988. "tradedate": {
  17989. "description": "交易日(yyyyMMdd)",
  17990. "type": "string"
  17991. },
  17992. "unitid": {
  17993. "description": "现货商品单位id",
  17994. "type": "integer"
  17995. },
  17996. "wrstandardcode": {
  17997. "description": "现货商品代码",
  17998. "type": "string"
  17999. },
  18000. "wrstandardid": {
  18001. "description": "现货商品ID",
  18002. "type": "integer"
  18003. },
  18004. "wrstandardname": {
  18005. "description": "现货商品名称",
  18006. "type": "string"
  18007. }
  18008. }
  18009. },
  18010. "models.ErmcpSpotGoodsPriceLog": {
  18011. "type": "object",
  18012. "properties": {
  18013. "areauserid": {
  18014. "description": "所属机构id",
  18015. "type": "integer"
  18016. },
  18017. "brandname": {
  18018. "description": "品牌名称",
  18019. "type": "string"
  18020. },
  18021. "currencyid": {
  18022. "description": "报价货币ID",
  18023. "type": "integer"
  18024. },
  18025. "enumdicname": {
  18026. "description": "现货商品单位名称",
  18027. "type": "string"
  18028. },
  18029. "gbenumdicname": {
  18030. "description": "品类单位名称",
  18031. "type": "string"
  18032. },
  18033. "gmunitid": {
  18034. "description": "品类单位id",
  18035. "type": "integer"
  18036. },
  18037. "logid": {
  18038. "description": "日志id",
  18039. "type": "integer"
  18040. },
  18041. "modelname": {
  18042. "description": "品类名称",
  18043. "type": "string"
  18044. },
  18045. "operateid": {
  18046. "description": "最后操作人",
  18047. "type": "integer"
  18048. },
  18049. "operatesrc": {
  18050. "description": "最后操作来源 - 1:管理端 2:终端",
  18051. "type": "integer"
  18052. },
  18053. "operatetime": {
  18054. "description": "最后操作时间",
  18055. "type": "string"
  18056. },
  18057. "operatorname": {
  18058. "description": "操作人名称",
  18059. "type": "string"
  18060. },
  18061. "spotgoodsbrandid": {
  18062. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18063. "type": "integer"
  18064. },
  18065. "spotgoodsmodelid": {
  18066. "description": "现货品类ID(通用则为0)",
  18067. "type": "integer"
  18068. },
  18069. "spotgoodsprice": {
  18070. "description": "现货价格",
  18071. "type": "number"
  18072. },
  18073. "tradedate": {
  18074. "description": "交易日(yyyyMMdd)",
  18075. "type": "string"
  18076. },
  18077. "unitid": {
  18078. "description": "现货商品单位id",
  18079. "type": "integer"
  18080. },
  18081. "wrstandardcode": {
  18082. "description": "现货商品代码",
  18083. "type": "string"
  18084. },
  18085. "wrstandardid": {
  18086. "description": "现货商品ID",
  18087. "type": "integer"
  18088. },
  18089. "wrstandardname": {
  18090. "description": "现货商品名称",
  18091. "type": "string"
  18092. }
  18093. }
  18094. },
  18095. "models.ErmcpTaAccount": {
  18096. "type": "object",
  18097. "properties": {
  18098. "accountid": {
  18099. "description": "账户id",
  18100. "type": "integer"
  18101. },
  18102. "accountname": {
  18103. "description": "账户名称",
  18104. "type": "string"
  18105. },
  18106. "currencyid": {
  18107. "description": "币种id",
  18108. "type": "integer"
  18109. },
  18110. "hedgeaccountcode": {
  18111. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18112. "type": "string"
  18113. },
  18114. "ismain": {
  18115. "description": "是否主账户 0-否 1-是",
  18116. "type": "integer"
  18117. },
  18118. "parentaccountid": {
  18119. "description": "父账户id",
  18120. "type": "integer"
  18121. },
  18122. "relateduserid": {
  18123. "description": "关联userid",
  18124. "type": "integer"
  18125. },
  18126. "tradestatus": {
  18127. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18128. "type": "integer"
  18129. }
  18130. }
  18131. },
  18132. "models.ErmcpTaAccountEx": {
  18133. "type": "object",
  18134. "properties": {
  18135. "mainAcc": {
  18136. "description": "主账号",
  18137. "type": "object",
  18138. "$ref": "#/definitions/models.ErmcpTaAccount"
  18139. },
  18140. "subacclist": {
  18141. "description": "子账号列表",
  18142. "type": "array",
  18143. "items": {
  18144. "$ref": "#/definitions/models.ErmcpTaAccount"
  18145. }
  18146. }
  18147. }
  18148. },
  18149. "models.ErmcpTaAccountInfo": {
  18150. "type": "object",
  18151. "properties": {
  18152. "accountid": {
  18153. "description": "资金账户ID",
  18154. "type": "integer"
  18155. },
  18156. "accountname": {
  18157. "description": "账户名称",
  18158. "type": "string"
  18159. },
  18160. "balance": {
  18161. "description": "期初余额",
  18162. "type": "number"
  18163. },
  18164. "capitalbalance": {
  18165. "description": "本金余额[外部子账户实际出入金余额]",
  18166. "type": "number"
  18167. },
  18168. "closepl": {
  18169. "description": "今日平仓盈亏",
  18170. "type": "number"
  18171. },
  18172. "creditdecrease": {
  18173. "description": "今日授信减少",
  18174. "type": "number"
  18175. },
  18176. "creditincrease": {
  18177. "description": "今日授信增加",
  18178. "type": "number"
  18179. },
  18180. "curdebt": {
  18181. "description": "期末欠款",
  18182. "type": "number"
  18183. },
  18184. "currencyid": {
  18185. "description": "货币ID",
  18186. "type": "integer"
  18187. },
  18188. "currentbalance": {
  18189. "description": "期末余额",
  18190. "type": "number"
  18191. },
  18192. "freezecharge": {
  18193. "description": "手续费冻结",
  18194. "type": "number"
  18195. },
  18196. "freezemargin": {
  18197. "description": "冻结保证金",
  18198. "type": "number"
  18199. },
  18200. "fromaccountid": {
  18201. "description": "所属上级账户",
  18202. "type": "integer"
  18203. },
  18204. "inamount": {
  18205. "description": "今日入金金额(包括三方入金)",
  18206. "type": "number"
  18207. },
  18208. "ismain": {
  18209. "description": "是否母账号 0:不是母账户 1:是母账户",
  18210. "type": "integer"
  18211. },
  18212. "mortgagecredit": {
  18213. "description": "授信金额",
  18214. "type": "number"
  18215. },
  18216. "oridebt": {
  18217. "description": "期初欠款",
  18218. "type": "number"
  18219. },
  18220. "orifreezecharge": {
  18221. "description": "期初手续费冻结",
  18222. "type": "number"
  18223. },
  18224. "orifreezemargin": {
  18225. "description": "期初冻结保证金",
  18226. "type": "number"
  18227. },
  18228. "orimortgagecredit": {
  18229. "description": "期初授信金额",
  18230. "type": "number"
  18231. },
  18232. "oriothercredit": {
  18233. "description": "期初其它授信金额",
  18234. "type": "number"
  18235. },
  18236. "oriotherfreezemargin": {
  18237. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18238. "type": "number"
  18239. },
  18240. "orioutamountfreeze": {
  18241. "description": "期初出金冻结",
  18242. "type": "number"
  18243. },
  18244. "oriusedmargin": {
  18245. "description": "期初占用保证金",
  18246. "type": "number"
  18247. },
  18248. "othercredit": {
  18249. "description": "其它授信金额",
  18250. "type": "number"
  18251. },
  18252. "othercreditdecrease": {
  18253. "description": "今日其它授信减少",
  18254. "type": "number"
  18255. },
  18256. "othercreditincrease": {
  18257. "description": "今日其它授信增加",
  18258. "type": "number"
  18259. },
  18260. "otherfreezemargin": {
  18261. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18262. "type": "number"
  18263. },
  18264. "outamount": {
  18265. "description": "今日出金金额(包括三方出金)",
  18266. "type": "number"
  18267. },
  18268. "outamountfreeze": {
  18269. "description": "出金冻结",
  18270. "type": "number"
  18271. },
  18272. "outthreshold": {
  18273. "description": "出金阈值",
  18274. "type": "number"
  18275. },
  18276. "parentaccountid": {
  18277. "description": "所属根账号",
  18278. "type": "integer"
  18279. },
  18280. "paycharge": {
  18281. "description": "今日手续费支出",
  18282. "type": "number"
  18283. },
  18284. "relateduserid": {
  18285. "description": "关联用户",
  18286. "type": "integer"
  18287. },
  18288. "signstatus": {
  18289. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18290. "type": "integer"
  18291. },
  18292. "sublevelpath": {
  18293. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18294. "type": "string"
  18295. },
  18296. "taaccounttype": {
  18297. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18298. "type": "integer"
  18299. },
  18300. "thirdinamount": {
  18301. "description": "今日三方入金",
  18302. "type": "number"
  18303. },
  18304. "thirdoutamount": {
  18305. "description": "今日三方出金",
  18306. "type": "number"
  18307. },
  18308. "tradestatus": {
  18309. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18310. "type": "integer"
  18311. },
  18312. "transferamount": {
  18313. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18314. "type": "number"
  18315. },
  18316. "usedmargin": {
  18317. "description": "占用保证金",
  18318. "type": "number"
  18319. },
  18320. "userid": {
  18321. "description": "用户ID",
  18322. "type": "integer"
  18323. }
  18324. }
  18325. },
  18326. "models.ErmcpTradeConfigTMP": {
  18327. "type": "object",
  18328. "properties": {
  18329. "areauserid": {
  18330. "description": "所属机构",
  18331. "type": "integer"
  18332. },
  18333. "basiccurrencyid": {
  18334. "description": "基本币种ID[汇率] - 目标币种",
  18335. "type": "integer"
  18336. },
  18337. "mainaccountid": {
  18338. "description": "主账户ID",
  18339. "type": "integer"
  18340. },
  18341. "modifierid": {
  18342. "description": "修改人",
  18343. "type": "integer"
  18344. },
  18345. "remark": {
  18346. "description": "备注",
  18347. "type": "string"
  18348. },
  18349. "tradeconfigtmpid": {
  18350. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18351. "type": "integer"
  18352. },
  18353. "tradeconfigtmpname": {
  18354. "description": "交易配置模板名称",
  18355. "type": "string"
  18356. },
  18357. "tradeconfigtmptype": {
  18358. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18359. "type": "integer"
  18360. },
  18361. "updatetime": {
  18362. "description": "更新时间",
  18363. "type": "string"
  18364. }
  18365. }
  18366. },
  18367. "models.ErmcpUserModel": {
  18368. "type": "object",
  18369. "properties": {
  18370. "address": {
  18371. "description": "通讯地址",
  18372. "type": "string"
  18373. },
  18374. "attachment1": {
  18375. "description": "附件1",
  18376. "type": "string"
  18377. },
  18378. "audittime": {
  18379. "description": "审核时间",
  18380. "type": "string"
  18381. },
  18382. "cardbackphotourl": {
  18383. "description": "证件反面图片地址",
  18384. "type": "string"
  18385. },
  18386. "cardfrontphotourl": {
  18387. "description": "证件正面图片地址",
  18388. "type": "string"
  18389. },
  18390. "cardnum": {
  18391. "description": "证件号码",
  18392. "type": "string"
  18393. },
  18394. "cardtype": {
  18395. "description": "证件类型",
  18396. "type": "integer"
  18397. },
  18398. "cardtypename": {
  18399. "description": "证件类型名称",
  18400. "type": "string"
  18401. },
  18402. "cityid": {
  18403. "description": "市",
  18404. "type": "integer"
  18405. },
  18406. "contactname": {
  18407. "description": "联系人",
  18408. "type": "string"
  18409. },
  18410. "countryid": {
  18411. "description": "国家",
  18412. "type": "integer"
  18413. },
  18414. "createtime": {
  18415. "description": "创建时间",
  18416. "type": "string"
  18417. },
  18418. "customername": {
  18419. "description": "企业名称",
  18420. "type": "string"
  18421. },
  18422. "districtid": {
  18423. "description": "区域",
  18424. "type": "integer"
  18425. },
  18426. "email": {
  18427. "description": "邮件",
  18428. "type": "string"
  18429. },
  18430. "legalpersonname": {
  18431. "description": "法人姓名(企业)",
  18432. "type": "string"
  18433. },
  18434. "memberuserid": {
  18435. "description": "所属机构ID",
  18436. "type": "integer"
  18437. },
  18438. "mobile": {
  18439. "description": "手机号码",
  18440. "type": "string"
  18441. },
  18442. "modifytime": {
  18443. "description": "修改时间",
  18444. "type": "string"
  18445. },
  18446. "nickname": {
  18447. "description": "昵称",
  18448. "type": "string"
  18449. },
  18450. "provinceid": {
  18451. "description": "省",
  18452. "type": "integer"
  18453. },
  18454. "remark": {
  18455. "description": "备注",
  18456. "type": "string"
  18457. },
  18458. "status": {
  18459. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18460. "type": "integer"
  18461. },
  18462. "statusdesc": {
  18463. "description": "账户状态中文描述",
  18464. "type": "string"
  18465. },
  18466. "taxpayernum": {
  18467. "description": "纳税人识别号",
  18468. "type": "string"
  18469. },
  18470. "telphone": {
  18471. "description": "联系电话",
  18472. "type": "string"
  18473. },
  18474. "userid": {
  18475. "description": "用户ID",
  18476. "type": "integer"
  18477. },
  18478. "userinfotype": {
  18479. "description": "客户类型",
  18480. "type": "string"
  18481. }
  18482. }
  18483. },
  18484. "models.ErmcpWareHouseInfo": {
  18485. "type": "object",
  18486. "properties": {
  18487. "address": {
  18488. "description": "详细地址",
  18489. "type": "string"
  18490. },
  18491. "areauserid": {
  18492. "description": "所属机构",
  18493. "type": "integer"
  18494. },
  18495. "autoid": {
  18496. "description": "自增ID(仓库ID)",
  18497. "type": "integer"
  18498. },
  18499. "cityid": {
  18500. "description": "市",
  18501. "type": "integer"
  18502. },
  18503. "contactname": {
  18504. "description": "联系人",
  18505. "type": "string"
  18506. },
  18507. "contactnum": {
  18508. "description": "联系电话",
  18509. "type": "string"
  18510. },
  18511. "countryid": {
  18512. "description": "国家",
  18513. "type": "integer"
  18514. },
  18515. "createtime": {
  18516. "description": "创建时间",
  18517. "type": "string"
  18518. },
  18519. "districtid": {
  18520. "description": "区",
  18521. "type": "integer"
  18522. },
  18523. "hasvideo": {
  18524. "description": "是否有视频 - 0:无 1:有",
  18525. "type": "integer"
  18526. },
  18527. "provinceid": {
  18528. "description": "省",
  18529. "type": "integer"
  18530. },
  18531. "remark": {
  18532. "description": "审核备注",
  18533. "type": "string"
  18534. },
  18535. "videourl": {
  18536. "description": "视频地址",
  18537. "type": "string"
  18538. },
  18539. "warehousecode": {
  18540. "description": "仓库代码",
  18541. "type": "string"
  18542. },
  18543. "warehousename": {
  18544. "description": "仓库名称",
  18545. "type": "string"
  18546. },
  18547. "warehousestatus": {
  18548. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18549. "type": "integer"
  18550. },
  18551. "warehousetype": {
  18552. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18553. "type": "integer"
  18554. }
  18555. }
  18556. },
  18557. "models.ErmcpWrstandDetail": {
  18558. "type": "object",
  18559. "properties": {
  18560. "gbList": {
  18561. "description": "品牌列表",
  18562. "type": "array",
  18563. "items": {
  18564. "$ref": "#/definitions/models.GoodsBrand"
  18565. }
  18566. },
  18567. "goodsList": {
  18568. "description": "关联交易商品列表",
  18569. "type": "array",
  18570. "items": {
  18571. "$ref": "#/definitions/models.RelatedGoodsEx"
  18572. }
  18573. },
  18574. "gtList": {
  18575. "description": "型号列表",
  18576. "type": "array",
  18577. "items": {
  18578. "$ref": "#/definitions/models.GoodsTypeModel"
  18579. }
  18580. },
  18581. "wrd": {
  18582. "description": "基本信息",
  18583. "type": "object",
  18584. "$ref": "#/definitions/models.ErmcpWrstandard"
  18585. },
  18586. "wrsList": {
  18587. "description": "套保信息列表",
  18588. "type": "array",
  18589. "items": {
  18590. "$ref": "#/definitions/models.WRSConverTDetail"
  18591. }
  18592. }
  18593. }
  18594. },
  18595. "models.ErmcpWrstandard": {
  18596. "type": "object",
  18597. "properties": {
  18598. "areauserid": {
  18599. "description": "所属机构",
  18600. "type": "integer"
  18601. },
  18602. "createtime": {
  18603. "description": "创建时间",
  18604. "type": "string"
  18605. },
  18606. "creatorid": {
  18607. "description": "创建人",
  18608. "type": "integer"
  18609. },
  18610. "deliverygoodsid": {
  18611. "description": "品种ID",
  18612. "type": "integer"
  18613. },
  18614. "enumdicname": {
  18615. "description": "单位名称",
  18616. "type": "string"
  18617. },
  18618. "isvalid": {
  18619. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18620. "type": "integer"
  18621. },
  18622. "minivalue": {
  18623. "description": "最小变动值",
  18624. "type": "integer"
  18625. },
  18626. "minivaluedp": {
  18627. "description": "最小变动值小数位",
  18628. "type": "integer"
  18629. },
  18630. "realminivalue": {
  18631. "description": "实际最小变动值",
  18632. "type": "integer"
  18633. },
  18634. "realminivaluedp": {
  18635. "description": "实际最小变动值小数位",
  18636. "type": "integer"
  18637. },
  18638. "remark": {
  18639. "description": "备注",
  18640. "type": "string"
  18641. },
  18642. "unitid": {
  18643. "description": "单位ID",
  18644. "type": "integer"
  18645. },
  18646. "updatetime": {
  18647. "description": "更新时间",
  18648. "type": "string"
  18649. },
  18650. "wrstandardcode": {
  18651. "description": "现货商品代码",
  18652. "type": "string"
  18653. },
  18654. "wrstandardid": {
  18655. "description": "现货商品ID(SEQ_WRSTANDARD)",
  18656. "type": "integer"
  18657. },
  18658. "wrstandardname": {
  18659. "description": "现货商品名称",
  18660. "type": "string"
  18661. }
  18662. }
  18663. },
  18664. "models.Externalexchange": {
  18665. "type": "object",
  18666. "required": [
  18667. "autoid"
  18668. ],
  18669. "properties": {
  18670. "autoid": {
  18671. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  18672. "type": "integer"
  18673. },
  18674. "exchangefullname": {
  18675. "description": "外部交易所全称",
  18676. "type": "string"
  18677. },
  18678. "exexchangecode": {
  18679. "description": "外部交易所代码",
  18680. "type": "string"
  18681. },
  18682. "exexchangename": {
  18683. "description": "外部交易所名称(简称)",
  18684. "type": "string"
  18685. },
  18686. "ismarketprice": {
  18687. "description": "是否支持市价 - 0:不支持 1:支持",
  18688. "type": "integer"
  18689. },
  18690. "quotegear": {
  18691. "description": "行情档位(1-10)",
  18692. "type": "integer"
  18693. },
  18694. "showbrokerflag": {
  18695. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  18696. "type": "integer"
  18697. },
  18698. "updatetime": {
  18699. "description": "更新时间",
  18700. "type": "string"
  18701. }
  18702. }
  18703. },
  18704. "models.Funcmenulist": {
  18705. "type": "object",
  18706. "required": [
  18707. "resourcecode"
  18708. ],
  18709. "properties": {
  18710. "iconame": {
  18711. "description": "菜单图标",
  18712. "type": "string"
  18713. },
  18714. "menutype": {
  18715. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  18716. "type": "integer"
  18717. },
  18718. "parentcode": {
  18719. "description": "上级资源代码",
  18720. "type": "string"
  18721. },
  18722. "remark": {
  18723. "description": "备注",
  18724. "type": "string"
  18725. },
  18726. "resourcecode": {
  18727. "description": "资源代码",
  18728. "type": "string"
  18729. },
  18730. "resourcelevel": {
  18731. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  18732. "type": "integer"
  18733. },
  18734. "resourcename": {
  18735. "description": "资源名",
  18736. "type": "string"
  18737. },
  18738. "sort": {
  18739. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  18740. "type": "integer"
  18741. },
  18742. "url": {
  18743. "description": "URL",
  18744. "type": "string"
  18745. }
  18746. }
  18747. },
  18748. "models.Goods": {
  18749. "type": "object",
  18750. "required": [
  18751. "goodscode",
  18752. "goodsid",
  18753. "goodsname",
  18754. "marketid"
  18755. ],
  18756. "properties": {
  18757. "agreeunit": {
  18758. "description": "合约单位",
  18759. "type": "number"
  18760. },
  18761. "auditaccountid": {
  18762. "description": "审核操作员账号",
  18763. "type": "integer"
  18764. },
  18765. "audittime": {
  18766. "description": "审核时间",
  18767. "type": "string"
  18768. },
  18769. "cancelaccountid": {
  18770. "description": "注销操作员账号",
  18771. "type": "integer"
  18772. },
  18773. "canceltime": {
  18774. "description": "注销时间",
  18775. "type": "string"
  18776. },
  18777. "closepricemode": {
  18778. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18779. "type": "integer"
  18780. },
  18781. "closepriceparam": {
  18782. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18783. "type": "number"
  18784. },
  18785. "createtime": {
  18786. "description": "创建时间",
  18787. "type": "string"
  18788. },
  18789. "creatorid": {
  18790. "description": "创建人",
  18791. "type": "integer"
  18792. },
  18793. "currencyid": {
  18794. "description": "报价货币ID",
  18795. "type": "integer"
  18796. },
  18797. "cutmode": {
  18798. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18799. "type": "integer"
  18800. },
  18801. "decimalplace": {
  18802. "description": "报价小数位",
  18803. "type": "integer"
  18804. },
  18805. "delistingdate": {
  18806. "description": "商品退市时间(状态:退市) -- 已作废",
  18807. "type": "string"
  18808. },
  18809. "delistingmode": {
  18810. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18811. "type": "integer"
  18812. },
  18813. "deliveryflag": {
  18814. "description": "交割标志 - 0:不可交割 1:可交割",
  18815. "type": "integer"
  18816. },
  18817. "forceclosemode": {
  18818. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18819. "type": "integer"
  18820. },
  18821. "forceclosevalue": {
  18822. "description": "定期强平参数 [收益权]",
  18823. "type": "integer"
  18824. },
  18825. "goodscode": {
  18826. "description": "商品代码(内部)",
  18827. "type": "string"
  18828. },
  18829. "goodscurrencyid": {
  18830. "description": "合约货币ID",
  18831. "type": "integer"
  18832. },
  18833. "goodsgroupid": {
  18834. "description": "所属商品组ID",
  18835. "type": "integer"
  18836. },
  18837. "goodsid": {
  18838. "description": "商品ID(自增ID SEQ_GOODS)",
  18839. "type": "integer"
  18840. },
  18841. "goodsname": {
  18842. "description": "商品名称",
  18843. "type": "string"
  18844. },
  18845. "goodsquotetype": {
  18846. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18847. "type": "integer"
  18848. },
  18849. "goodsstatus": {
  18850. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18851. "type": "integer"
  18852. },
  18853. "goodstradetype": {
  18854. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18855. "type": "integer"
  18856. },
  18857. "goodunitid": {
  18858. "description": "报价单位ID",
  18859. "type": "integer"
  18860. },
  18861. "hasquoter": {
  18862. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18863. "type": "integer"
  18864. },
  18865. "hqprotecttime": {
  18866. "description": "行情保护时间(秒)",
  18867. "type": "integer"
  18868. },
  18869. "innerdealmode": {
  18870. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18871. "type": "integer"
  18872. },
  18873. "isbuylimited": {
  18874. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18875. "type": "integer"
  18876. },
  18877. "lasttradedate": {
  18878. "description": "最后交易日期(状态:待退市)",
  18879. "type": "string"
  18880. },
  18881. "listingdate": {
  18882. "description": "交易开始日期",
  18883. "type": "string"
  18884. },
  18885. "marketid": {
  18886. "description": "所属市场ID",
  18887. "type": "integer"
  18888. },
  18889. "modifierid": {
  18890. "description": "修改人",
  18891. "type": "integer"
  18892. },
  18893. "modifystatus": {
  18894. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18895. "type": "integer"
  18896. },
  18897. "modifytime": {
  18898. "description": "修改时间",
  18899. "type": "string"
  18900. },
  18901. "outerdealmode": {
  18902. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18903. "type": "integer"
  18904. },
  18905. "outgoodscode": {
  18906. "description": "商品代码(外部)",
  18907. "type": "string"
  18908. },
  18909. "qtydecimalplace": {
  18910. "description": "成交量小数位",
  18911. "type": "integer"
  18912. },
  18913. "quotegear": {
  18914. "description": "行情档位(1-10)",
  18915. "type": "integer"
  18916. },
  18917. "quoteminunit": {
  18918. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18919. "type": "integer"
  18920. },
  18921. "quoteshowtype": {
  18922. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18923. "type": "integer"
  18924. },
  18925. "quoteshowtypeinterval": {
  18926. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18927. "type": "integer"
  18928. },
  18929. "remark": {
  18930. "description": "备注",
  18931. "type": "string"
  18932. }
  18933. }
  18934. },
  18935. "models.GoodsBrand": {
  18936. "type": "object",
  18937. "properties": {
  18938. "brandid": {
  18939. "description": "品牌ID",
  18940. "type": "integer"
  18941. },
  18942. "brandname": {
  18943. "description": "品牌名称",
  18944. "type": "string"
  18945. },
  18946. "isvalid": {
  18947. "description": "是否有效 - 0:无效 1:有效",
  18948. "type": "integer"
  18949. }
  18950. }
  18951. },
  18952. "models.GoodsIDAndName": {
  18953. "type": "object",
  18954. "required": [
  18955. "goodscode",
  18956. "goodsid",
  18957. "goodsname",
  18958. "marketid"
  18959. ],
  18960. "properties": {
  18961. "goodscode": {
  18962. "description": "商品代码(内部)",
  18963. "type": "string"
  18964. },
  18965. "goodsid": {
  18966. "description": "商品ID(自增ID SEQ_GOODS)",
  18967. "type": "integer"
  18968. },
  18969. "goodsname": {
  18970. "description": "商品名称",
  18971. "type": "string"
  18972. },
  18973. "marketid": {
  18974. "description": "所属市场ID",
  18975. "type": "integer"
  18976. }
  18977. }
  18978. },
  18979. "models.GoodsTypeModel": {
  18980. "type": "object",
  18981. "properties": {
  18982. "convertfactor": {
  18983. "description": "标仓系数",
  18984. "type": "number"
  18985. },
  18986. "modelid": {
  18987. "description": "型号ID",
  18988. "type": "integer"
  18989. },
  18990. "modelname": {
  18991. "description": "型号名称",
  18992. "type": "string"
  18993. },
  18994. "updatetime": {
  18995. "description": "更新时间",
  18996. "type": "string"
  18997. }
  18998. }
  18999. },
  19000. "models.Goodsgroup": {
  19001. "type": "object",
  19002. "required": [
  19003. "goodsgroupid",
  19004. "goodsgroupname",
  19005. "goodsgroupstatus",
  19006. "marketid"
  19007. ],
  19008. "properties": {
  19009. "agreeunit": {
  19010. "description": "合约单位",
  19011. "type": "number"
  19012. },
  19013. "canshort": {
  19014. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19015. "type": "integer"
  19016. },
  19017. "closepricemode": {
  19018. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19019. "type": "integer"
  19020. },
  19021. "closepriceparam": {
  19022. "description": "强平最新价浮动比例 - 方式为2时使用",
  19023. "type": "number"
  19024. },
  19025. "createtime": {
  19026. "description": "创建时间",
  19027. "type": "string"
  19028. },
  19029. "creatorid": {
  19030. "description": "创建人",
  19031. "type": "integer"
  19032. },
  19033. "currencyid": {
  19034. "description": "报价货币ID",
  19035. "type": "integer"
  19036. },
  19037. "decimalplace": {
  19038. "description": "报价小数位",
  19039. "type": "integer"
  19040. },
  19041. "exercisetype": {
  19042. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19043. "type": "integer"
  19044. },
  19045. "exexchangeid": {
  19046. "description": "外部交易所ID[通道交易]",
  19047. "type": "integer"
  19048. },
  19049. "goodsgroupid": {
  19050. "description": "商品组ID(自增ID)",
  19051. "type": "integer"
  19052. },
  19053. "goodsgroupname": {
  19054. "description": "商品组名称",
  19055. "type": "string"
  19056. },
  19057. "goodsgroupstatus": {
  19058. "description": "商品组状态 - 1:正常 2:注销",
  19059. "type": "integer"
  19060. },
  19061. "goodunitid": {
  19062. "description": "报价单位ID",
  19063. "type": "integer"
  19064. },
  19065. "innerdealmode": {
  19066. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19067. "type": "integer"
  19068. },
  19069. "isbuylimited": {
  19070. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19071. "type": "integer"
  19072. },
  19073. "marketid": {
  19074. "description": "所属市场ID",
  19075. "type": "integer"
  19076. },
  19077. "modifierid": {
  19078. "description": "修改人",
  19079. "type": "integer"
  19080. },
  19081. "modifytime": {
  19082. "description": "修改时间",
  19083. "type": "string"
  19084. },
  19085. "outerdealmode": {
  19086. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19087. "type": "integer"
  19088. },
  19089. "outergroupcode": {
  19090. "description": "外部商品组代码[通道交易]",
  19091. "type": "string"
  19092. },
  19093. "premiumdecimalplace": {
  19094. "description": "权利金小数位[场外期权]",
  19095. "type": "integer"
  19096. },
  19097. "premiumspreadalgorithm": {
  19098. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19099. "type": "integer"
  19100. },
  19101. "premiumspreadvalue": {
  19102. "description": "权利金点差值[场外期权]",
  19103. "type": "number"
  19104. },
  19105. "qtydecimalplace": {
  19106. "description": "成交量小数位",
  19107. "type": "integer"
  19108. },
  19109. "quotegear": {
  19110. "description": "行情档位(1-10)",
  19111. "type": "integer"
  19112. },
  19113. "quoteminunit": {
  19114. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19115. "type": "integer"
  19116. },
  19117. "quoterid": {
  19118. "description": "报价商ID[场外期权]",
  19119. "type": "integer"
  19120. },
  19121. "quotesourcegroupid": {
  19122. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19123. "type": "integer"
  19124. },
  19125. "syncgoodsqty": {
  19126. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19127. "type": "integer"
  19128. }
  19129. }
  19130. },
  19131. "models.Goodssortbypreposition": {
  19132. "type": "object",
  19133. "required": [
  19134. "goodscode",
  19135. "tradedate"
  19136. ],
  19137. "properties": {
  19138. "goodscode": {
  19139. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19140. "type": "string"
  19141. },
  19142. "goodsgroupcode": {
  19143. "description": "品种代码",
  19144. "type": "string"
  19145. },
  19146. "prepositionqty": {
  19147. "description": "昨持仓量",
  19148. "type": "integer"
  19149. },
  19150. "sortindex": {
  19151. "description": "排序",
  19152. "type": "integer"
  19153. },
  19154. "tradedate": {
  19155. "description": "交易日",
  19156. "type": "string"
  19157. },
  19158. "updatetime": {
  19159. "description": "更新时间",
  19160. "type": "string"
  19161. }
  19162. }
  19163. },
  19164. "models.Hedgeinnerholderdetail": {
  19165. "type": "object",
  19166. "required": [
  19167. "buyorsell",
  19168. "tradeid"
  19169. ],
  19170. "properties": {
  19171. "accountid": {
  19172. "description": "账号ID",
  19173. "type": "integer"
  19174. },
  19175. "buyorsell": {
  19176. "description": "方向 - 0:买 1:卖",
  19177. "type": "integer"
  19178. },
  19179. "freezeqty": {
  19180. "description": "冻结数量 - 按单平使用",
  19181. "type": "integer"
  19182. },
  19183. "goodsid": {
  19184. "description": "商品ID",
  19185. "type": "integer"
  19186. },
  19187. "holderamount": {
  19188. "description": "持仓金额 [商品币种]",
  19189. "type": "number"
  19190. },
  19191. "holderdays": {
  19192. "description": "剩余冻结天数",
  19193. "type": "integer"
  19194. },
  19195. "holderprice": {
  19196. "description": "持仓价格",
  19197. "type": "number"
  19198. },
  19199. "holderqty": {
  19200. "description": "持仓数量",
  19201. "type": "integer"
  19202. },
  19203. "marketid": {
  19204. "description": "市场ID",
  19205. "type": "integer"
  19206. },
  19207. "openprice": {
  19208. "description": "建仓价格",
  19209. "type": "number"
  19210. },
  19211. "openqty": {
  19212. "description": "建仓数量",
  19213. "type": "integer"
  19214. },
  19215. "parentaccountid": {
  19216. "description": "所属母账户",
  19217. "type": "integer"
  19218. },
  19219. "releaseamount": {
  19220. "description": "释放持仓金额[商品币种]",
  19221. "type": "number"
  19222. },
  19223. "tradeamount": {
  19224. "description": "成交金额[账户]",
  19225. "type": "number"
  19226. },
  19227. "tradedate": {
  19228. "description": "交易日(yyyyMMdd)",
  19229. "type": "string"
  19230. },
  19231. "tradeid": {
  19232. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19233. "type": "string"
  19234. },
  19235. "tradetime": {
  19236. "description": "交易时间",
  19237. "type": "string"
  19238. }
  19239. }
  19240. },
  19241. "models.Hedgemarketopenlog": {
  19242. "type": "object",
  19243. "required": [
  19244. "accountid"
  19245. ],
  19246. "properties": {
  19247. "accountid": {
  19248. "description": "资金账号[外部母账户]",
  19249. "type": "integer"
  19250. },
  19251. "fcname": {
  19252. "description": "期货公司名称",
  19253. "type": "string"
  19254. },
  19255. "handlestatus": {
  19256. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19257. "type": "integer"
  19258. },
  19259. "marketid": {
  19260. "description": "市场ID",
  19261. "type": "integer"
  19262. },
  19263. "status": {
  19264. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19265. "type": "integer"
  19266. },
  19267. "tradedate": {
  19268. "description": "交易日(yyyyMMdd)",
  19269. "type": "string"
  19270. },
  19271. "updatetime": {
  19272. "description": "更新时间",
  19273. "type": "string"
  19274. }
  19275. }
  19276. },
  19277. "models.HsbyBuyMyPayOrder": {
  19278. "type": "object",
  19279. "required": [
  19280. "goodscode",
  19281. "goodsname",
  19282. "tradeid",
  19283. "trademode"
  19284. ],
  19285. "properties": {
  19286. "agreeunit": {
  19287. "description": "合约单位",
  19288. "type": "number"
  19289. },
  19290. "buyaccountid": {
  19291. "description": "买方账号ID[报价币种]",
  19292. "type": "integer"
  19293. },
  19294. "buyorderid": {
  19295. "description": "买方委托单号",
  19296. "type": "string"
  19297. },
  19298. "createtime": {
  19299. "description": "创建时间",
  19300. "type": "string"
  19301. },
  19302. "currencysign": {
  19303. "description": "货币符号",
  19304. "type": "string"
  19305. },
  19306. "decimalplace": {
  19307. "description": "报价小数位",
  19308. "type": "integer"
  19309. },
  19310. "goodscode": {
  19311. "description": "商品代码(内部)",
  19312. "type": "string"
  19313. },
  19314. "goodsid": {
  19315. "description": "商品ID",
  19316. "type": "integer"
  19317. },
  19318. "goodsname": {
  19319. "description": "商品名称",
  19320. "type": "string"
  19321. },
  19322. "marketid": {
  19323. "description": "市场ID",
  19324. "type": "integer"
  19325. },
  19326. "offamount": {
  19327. "description": "优惠金额",
  19328. "type": "number"
  19329. },
  19330. "originalamount": {
  19331. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19332. "type": "number"
  19333. },
  19334. "payamount": {
  19335. "description": "支付金额 = TradeAmount + TradeCharge",
  19336. "type": "number"
  19337. },
  19338. "payflag": {
  19339. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19340. "type": "integer"
  19341. },
  19342. "paylimitedtime": {
  19343. "description": "支付期限",
  19344. "type": "string"
  19345. },
  19346. "paytime": {
  19347. "description": "付款时间",
  19348. "type": "string"
  19349. },
  19350. "picurls1": {
  19351. "description": "预售商品介绍图片[多张用逗号分隔]",
  19352. "type": "string"
  19353. },
  19354. "picurls2": {
  19355. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19356. "type": "string"
  19357. },
  19358. "sellaccountid": {
  19359. "description": "卖方账号ID[报价币种]",
  19360. "type": "integer"
  19361. },
  19362. "sellorderid": {
  19363. "description": "卖方委托单号",
  19364. "type": "string"
  19365. },
  19366. "tradeamount": {
  19367. "description": "成交金额",
  19368. "type": "number"
  19369. },
  19370. "tradecharge": {
  19371. "description": "成交手续费(买方)",
  19372. "type": "number"
  19373. },
  19374. "tradedate": {
  19375. "description": "交易日(yyyyMMdd)",
  19376. "type": "string"
  19377. },
  19378. "tradeid": {
  19379. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19380. "type": "string"
  19381. },
  19382. "trademode": {
  19383. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19384. "type": "integer"
  19385. },
  19386. "tradeprice": {
  19387. "description": "成交价格",
  19388. "type": "number"
  19389. },
  19390. "tradeqty": {
  19391. "description": "成交数量",
  19392. "type": "integer"
  19393. },
  19394. "vendorname1": {
  19395. "description": "预售商品供应商名称",
  19396. "type": "string"
  19397. },
  19398. "vendorname2": {
  19399. "description": "挂牌商品供应商名称",
  19400. "type": "string"
  19401. }
  19402. }
  19403. },
  19404. "models.HsbyBuyMyTradeDetail": {
  19405. "type": "object",
  19406. "required": [
  19407. "accountid",
  19408. "buyorsell",
  19409. "goodscode",
  19410. "goodsid",
  19411. "goodsname",
  19412. "marketid",
  19413. "orderid",
  19414. "qty",
  19415. "time",
  19416. "trademode"
  19417. ],
  19418. "properties": {
  19419. "accountid": {
  19420. "description": "账户ID[报价币种]",
  19421. "type": "integer"
  19422. },
  19423. "agreeunit": {
  19424. "description": "合约单位",
  19425. "type": "number"
  19426. },
  19427. "amount": {
  19428. "description": "金额 = 价格 * 数量 * 合约单位",
  19429. "type": "number"
  19430. },
  19431. "buyorsell": {
  19432. "description": "买卖 - 0:买 1:卖",
  19433. "type": "integer"
  19434. },
  19435. "currencysign": {
  19436. "description": "货币符号",
  19437. "type": "string"
  19438. },
  19439. "decimalplace": {
  19440. "description": "报价小数位",
  19441. "type": "integer"
  19442. },
  19443. "goodscode": {
  19444. "description": "商品代码(内部)",
  19445. "type": "string"
  19446. },
  19447. "goodsid": {
  19448. "description": "商品ID",
  19449. "type": "integer"
  19450. },
  19451. "goodsname": {
  19452. "description": "商品名称",
  19453. "type": "string"
  19454. },
  19455. "marketid": {
  19456. "description": "市场ID",
  19457. "type": "integer"
  19458. },
  19459. "orderamount": {
  19460. "description": "委托金额",
  19461. "type": "number"
  19462. },
  19463. "orderid": {
  19464. "description": "单号(成交单号)",
  19465. "type": "string"
  19466. },
  19467. "picurls1": {
  19468. "description": "预售商品介绍图片[多张用逗号分隔]",
  19469. "type": "string"
  19470. },
  19471. "picurls2": {
  19472. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19473. "type": "string"
  19474. },
  19475. "price": {
  19476. "description": "价格",
  19477. "type": "number"
  19478. },
  19479. "qty": {
  19480. "description": "数量",
  19481. "type": "integer"
  19482. },
  19483. "time": {
  19484. "description": "时间",
  19485. "type": "string"
  19486. },
  19487. "trademode": {
  19488. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19489. "type": "integer"
  19490. },
  19491. "vendorname1": {
  19492. "description": "预售商品供应商名称",
  19493. "type": "string"
  19494. },
  19495. "vendorname2": {
  19496. "description": "挂牌商品供应商名称",
  19497. "type": "string"
  19498. }
  19499. }
  19500. },
  19501. "models.HsbyGoodsOrderDetail": {
  19502. "type": "object",
  19503. "required": [
  19504. "buyorsell",
  19505. "orderid",
  19506. "ordertime"
  19507. ],
  19508. "properties": {
  19509. "buyorsell": {
  19510. "description": "买卖 - 0:买 1:卖",
  19511. "type": "integer"
  19512. },
  19513. "currencysign": {
  19514. "description": "货币符号",
  19515. "type": "string"
  19516. },
  19517. "customername": {
  19518. "description": "客户名称(企业名称),已脱敏",
  19519. "type": "string"
  19520. },
  19521. "enableqty": {
  19522. "description": "可用数量",
  19523. "type": "integer"
  19524. },
  19525. "goodunit": {
  19526. "description": "报价单位",
  19527. "type": "string"
  19528. },
  19529. "orderid": {
  19530. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19531. "type": "string"
  19532. },
  19533. "orderprice": {
  19534. "description": "委托价格",
  19535. "type": "number"
  19536. },
  19537. "ordertime": {
  19538. "description": "委托时间",
  19539. "type": "string"
  19540. }
  19541. }
  19542. },
  19543. "models.HsbyListingGoodsDetail": {
  19544. "type": "object",
  19545. "required": [
  19546. "goodscode",
  19547. "goodsid",
  19548. "goodsname",
  19549. "marketid",
  19550. "trademode"
  19551. ],
  19552. "properties": {
  19553. "agreeunit": {
  19554. "description": "合约单位",
  19555. "type": "number"
  19556. },
  19557. "buymaxqty": {
  19558. "description": "购买上限 [71] - 0为不限",
  19559. "type": "integer"
  19560. },
  19561. "currency": {
  19562. "description": "货币",
  19563. "type": "string"
  19564. },
  19565. "currencysign": {
  19566. "description": "货币符号",
  19567. "type": "string"
  19568. },
  19569. "decimalplace": {
  19570. "description": "报价小数位",
  19571. "type": "integer"
  19572. },
  19573. "desccityid": {
  19574. "description": "目的地(市)ID",
  19575. "type": "integer"
  19576. },
  19577. "descprovinceid": {
  19578. "description": "目的地(省)ID",
  19579. "type": "integer"
  19580. },
  19581. "goodscode": {
  19582. "description": "商品代码(内部)",
  19583. "type": "string"
  19584. },
  19585. "goodsdesc": {
  19586. "description": "商品详情",
  19587. "type": "string"
  19588. },
  19589. "goodsid": {
  19590. "description": "商品ID(自增ID SEQ_GOODS)",
  19591. "type": "integer"
  19592. },
  19593. "goodsname": {
  19594. "description": "商品名称",
  19595. "type": "string"
  19596. },
  19597. "goodsprice": {
  19598. "description": "商品价格",
  19599. "type": "number"
  19600. },
  19601. "hotindex": {
  19602. "description": "景点热度",
  19603. "type": "integer"
  19604. },
  19605. "last": {
  19606. "description": "现价",
  19607. "type": "number"
  19608. },
  19609. "limitdown": {
  19610. "description": "跌停价",
  19611. "type": "number"
  19612. },
  19613. "limitup": {
  19614. "description": "涨停价",
  19615. "type": "number"
  19616. },
  19617. "lotsize": {
  19618. "description": "手数最小变动单位",
  19619. "type": "integer"
  19620. },
  19621. "marketid": {
  19622. "description": "所属市场ID",
  19623. "type": "integer"
  19624. },
  19625. "picurls": {
  19626. "description": "介绍图片[多张用逗号分隔]",
  19627. "type": "string"
  19628. },
  19629. "quoteminunit": {
  19630. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19631. "type": "integer"
  19632. },
  19633. "stepvalue": {
  19634. "description": "价格最小变动单位",
  19635. "type": "number"
  19636. },
  19637. "trademode": {
  19638. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19639. "type": "integer"
  19640. },
  19641. "vendorattr": {
  19642. "description": "供应商附件(多张,逗号分隔)",
  19643. "type": "string"
  19644. },
  19645. "vendorname": {
  19646. "description": "供应商名称",
  19647. "type": "string"
  19648. },
  19649. "vendorphone": {
  19650. "description": "供应商客服电话",
  19651. "type": "string"
  19652. },
  19653. "videourls": {
  19654. "description": "介绍视频[多张用逗号分隔]",
  19655. "type": "string"
  19656. }
  19657. }
  19658. },
  19659. "models.HsbyMarketGoods": {
  19660. "type": "object",
  19661. "required": [
  19662. "accountid",
  19663. "buyorsell",
  19664. "goodscode",
  19665. "goodsid",
  19666. "goodsname",
  19667. "marketid",
  19668. "orderid",
  19669. "trademode"
  19670. ],
  19671. "properties": {
  19672. "accountid": {
  19673. "description": "账户ID[报价币种]",
  19674. "type": "integer"
  19675. },
  19676. "agreeunit": {
  19677. "description": "合约单位",
  19678. "type": "number"
  19679. },
  19680. "buyorsell": {
  19681. "description": "买卖 - 0:买 1:卖",
  19682. "type": "integer"
  19683. },
  19684. "categoryid": {
  19685. "description": "类别ID(WRCATEGORY)",
  19686. "type": "integer"
  19687. },
  19688. "currency": {
  19689. "description": "货币",
  19690. "type": "string"
  19691. },
  19692. "currencysign": {
  19693. "description": "货币符号",
  19694. "type": "string"
  19695. },
  19696. "customername": {
  19697. "description": "卖家名称",
  19698. "type": "string"
  19699. },
  19700. "decimalplace": {
  19701. "description": "报价小数位",
  19702. "type": "integer"
  19703. },
  19704. "goodscode": {
  19705. "description": "商品代码(内部)",
  19706. "type": "string"
  19707. },
  19708. "goodsid": {
  19709. "description": "商品ID",
  19710. "type": "integer"
  19711. },
  19712. "goodsname": {
  19713. "description": "商品名称",
  19714. "type": "string"
  19715. },
  19716. "goodsprice": {
  19717. "description": "商品价格",
  19718. "type": "number"
  19719. },
  19720. "hascoupon": {
  19721. "description": "是否可用优惠卷",
  19722. "type": "boolean"
  19723. },
  19724. "hotindex": {
  19725. "description": "景点热度",
  19726. "type": "integer"
  19727. },
  19728. "marketid": {
  19729. "description": "市场ID",
  19730. "type": "integer"
  19731. },
  19732. "orderid": {
  19733. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19734. "type": "string"
  19735. },
  19736. "orderprice": {
  19737. "description": "委托价格",
  19738. "type": "number"
  19739. },
  19740. "orderstatus": {
  19741. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19742. "type": "integer"
  19743. },
  19744. "picurls": {
  19745. "description": "介绍图片[多张用逗号分隔]",
  19746. "type": "string"
  19747. },
  19748. "quoteminunit": {
  19749. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19750. "type": "integer"
  19751. },
  19752. "sellUserID": {
  19753. "description": "卖方UserID",
  19754. "type": "integer"
  19755. },
  19756. "trademode": {
  19757. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19758. "type": "integer"
  19759. },
  19760. "videourls": {
  19761. "description": "介绍视频[多张用逗号分隔]",
  19762. "type": "string"
  19763. }
  19764. }
  19765. },
  19766. "models.HsbyMarketGoodsDetail": {
  19767. "type": "object",
  19768. "required": [
  19769. "accountid",
  19770. "buyorsell",
  19771. "goodscode",
  19772. "goodsid",
  19773. "goodsname",
  19774. "marketid",
  19775. "orderid",
  19776. "orderqty",
  19777. "trademode"
  19778. ],
  19779. "properties": {
  19780. "accountid": {
  19781. "description": "账户ID[报价币种]",
  19782. "type": "integer"
  19783. },
  19784. "agreeunit": {
  19785. "description": "合约单位",
  19786. "type": "number"
  19787. },
  19788. "buymaxqty": {
  19789. "description": "购买上限 [71] - 0为不限",
  19790. "type": "integer"
  19791. },
  19792. "buyorsell": {
  19793. "description": "买卖 - 0:买 1:卖",
  19794. "type": "integer"
  19795. },
  19796. "cancelqty": {
  19797. "description": "撤单数量",
  19798. "type": "integer"
  19799. },
  19800. "categoryid": {
  19801. "description": "类别ID(WRCATEGORY)",
  19802. "type": "integer"
  19803. },
  19804. "currency": {
  19805. "description": "货币",
  19806. "type": "string"
  19807. },
  19808. "currencysign": {
  19809. "description": "货币符号",
  19810. "type": "string"
  19811. },
  19812. "customername": {
  19813. "description": "卖家名称",
  19814. "type": "string"
  19815. },
  19816. "decimalplace": {
  19817. "description": "报价小数位",
  19818. "type": "integer"
  19819. },
  19820. "goodscode": {
  19821. "description": "商品代码(内部)",
  19822. "type": "string"
  19823. },
  19824. "goodsdesc": {
  19825. "description": "商品详情",
  19826. "type": "string"
  19827. },
  19828. "goodsid": {
  19829. "description": "商品ID",
  19830. "type": "integer"
  19831. },
  19832. "goodsname": {
  19833. "description": "商品名称",
  19834. "type": "string"
  19835. },
  19836. "goodsprice": {
  19837. "description": "商品价格",
  19838. "type": "number"
  19839. },
  19840. "hotindex": {
  19841. "description": "景点热度",
  19842. "type": "integer"
  19843. },
  19844. "lotsize": {
  19845. "description": "手数最小变动单位",
  19846. "type": "integer"
  19847. },
  19848. "marketid": {
  19849. "description": "市场ID",
  19850. "type": "integer"
  19851. },
  19852. "orderid": {
  19853. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19854. "type": "string"
  19855. },
  19856. "orderprice": {
  19857. "description": "委托价格",
  19858. "type": "number"
  19859. },
  19860. "orderqty": {
  19861. "description": "委托数量",
  19862. "type": "integer"
  19863. },
  19864. "orderstatus": {
  19865. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19866. "type": "integer"
  19867. },
  19868. "picurls": {
  19869. "description": "介绍图片[多张用逗号分隔]",
  19870. "type": "string"
  19871. },
  19872. "quoteminunit": {
  19873. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19874. "type": "integer"
  19875. },
  19876. "sellUserID": {
  19877. "description": "卖方UserID",
  19878. "type": "integer"
  19879. },
  19880. "trademode": {
  19881. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19882. "type": "integer"
  19883. },
  19884. "tradeqty": {
  19885. "description": "成交数量",
  19886. "type": "integer"
  19887. },
  19888. "vendorattr": {
  19889. "description": "供应商附件(多张,逗号分隔)",
  19890. "type": "string"
  19891. },
  19892. "vendorname": {
  19893. "description": "供应商名称",
  19894. "type": "string"
  19895. },
  19896. "vendorphone": {
  19897. "description": "供应商客服电话",
  19898. "type": "string"
  19899. },
  19900. "videourls": {
  19901. "description": "介绍视频[多张用逗号分隔]",
  19902. "type": "string"
  19903. }
  19904. }
  19905. },
  19906. "models.HsbyMarketInfo": {
  19907. "type": "object",
  19908. "required": [
  19909. "marketid",
  19910. "marketstatus",
  19911. "trademode"
  19912. ],
  19913. "properties": {
  19914. "marketid": {
  19915. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19916. "type": "integer"
  19917. },
  19918. "marketname": {
  19919. "description": "市场名称",
  19920. "type": "string"
  19921. },
  19922. "marketstatus": {
  19923. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19924. "type": "integer"
  19925. },
  19926. "trademode": {
  19927. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19928. "type": "integer"
  19929. }
  19930. }
  19931. },
  19932. "models.HsbyMyGoods": {
  19933. "type": "object",
  19934. "required": [
  19935. "accountid",
  19936. "goodscode",
  19937. "goodsid",
  19938. "goodsname",
  19939. "marketid",
  19940. "trademode"
  19941. ],
  19942. "properties": {
  19943. "accountid": {
  19944. "description": "账号Id",
  19945. "type": "integer"
  19946. },
  19947. "agreeunit": {
  19948. "description": "合约单位",
  19949. "type": "number"
  19950. },
  19951. "buyaverageprice": {
  19952. "description": "持仓均价",
  19953. "type": "number"
  19954. },
  19955. "buycurholderamount": {
  19956. "description": "买当前持仓总金额[商品币种]",
  19957. "type": "number"
  19958. },
  19959. "buycurpositionqty": {
  19960. "description": "买当前持仓总数量",
  19961. "type": "integer"
  19962. },
  19963. "buymaxqty": {
  19964. "description": "购买上限 [71] - 0为不限",
  19965. "type": "integer"
  19966. },
  19967. "currencysign": {
  19968. "description": "货币符号",
  19969. "type": "string"
  19970. },
  19971. "decimalplace": {
  19972. "description": "报价小数位",
  19973. "type": "integer"
  19974. },
  19975. "enableqty": {
  19976. "description": "可用数量",
  19977. "type": "integer"
  19978. },
  19979. "goodscode": {
  19980. "description": "商品代码(内部)",
  19981. "type": "string"
  19982. },
  19983. "goodsid": {
  19984. "description": "商品Id",
  19985. "type": "integer"
  19986. },
  19987. "goodsname": {
  19988. "description": "商品名称",
  19989. "type": "string"
  19990. },
  19991. "goodsprice": {
  19992. "description": "商品价格",
  19993. "type": "number"
  19994. },
  19995. "goodsstatus": {
  19996. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19997. "type": "integer"
  19998. },
  19999. "last": {
  20000. "description": "现价(仅使用于挂牌点选)",
  20001. "type": "number"
  20002. },
  20003. "limitdown": {
  20004. "description": "跌停价(仅使用于挂牌点选)",
  20005. "type": "number"
  20006. },
  20007. "limitup": {
  20008. "description": "涨停价(仅使用于挂牌点选)",
  20009. "type": "number"
  20010. },
  20011. "lotsize": {
  20012. "description": "手数最小变动单位",
  20013. "type": "integer"
  20014. },
  20015. "marketid": {
  20016. "description": "所属市场ID",
  20017. "type": "integer"
  20018. },
  20019. "picurls": {
  20020. "description": "介绍图片[多张用逗号分隔]",
  20021. "type": "string"
  20022. },
  20023. "quoteminunit": {
  20024. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20025. "type": "integer"
  20026. },
  20027. "stepvalue": {
  20028. "description": "价格最小变动单位",
  20029. "type": "number"
  20030. },
  20031. "trademode": {
  20032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20033. "type": "integer"
  20034. }
  20035. }
  20036. },
  20037. "models.HsbyMyPackage": {
  20038. "type": "object",
  20039. "required": [
  20040. "goodscode",
  20041. "goodsname",
  20042. "takeorderid",
  20043. "trademode"
  20044. ],
  20045. "properties": {
  20046. "accountid": {
  20047. "description": "账户ID",
  20048. "type": "integer"
  20049. },
  20050. "address": {
  20051. "description": "提货人详细地址",
  20052. "type": "string"
  20053. },
  20054. "agreeunit": {
  20055. "description": "合约单位",
  20056. "type": "number"
  20057. },
  20058. "amount": {
  20059. "description": "提货金额",
  20060. "type": "number"
  20061. },
  20062. "auditer": {
  20063. "description": "审核人",
  20064. "type": "integer"
  20065. },
  20066. "audittime": {
  20067. "description": "审核时间",
  20068. "type": "string"
  20069. },
  20070. "averageprice": {
  20071. "description": "均价",
  20072. "type": "number"
  20073. },
  20074. "cardnum": {
  20075. "description": "提货人证件号码",
  20076. "type": "string"
  20077. },
  20078. "cardtypeid": {
  20079. "description": "提货人证件类型",
  20080. "type": "integer"
  20081. },
  20082. "checkremark": {
  20083. "description": "审核备注",
  20084. "type": "string"
  20085. },
  20086. "currencysign": {
  20087. "description": "货币符号",
  20088. "type": "string"
  20089. },
  20090. "decimalplace": {
  20091. "description": "报价小数位",
  20092. "type": "integer"
  20093. },
  20094. "goodscode": {
  20095. "description": "商品代码(内部)",
  20096. "type": "string"
  20097. },
  20098. "goodsid": {
  20099. "description": "商品ID",
  20100. "type": "integer"
  20101. },
  20102. "goodsname": {
  20103. "description": "商品名称",
  20104. "type": "string"
  20105. },
  20106. "handlestatus": {
  20107. "description": "处理状态",
  20108. "type": "integer"
  20109. },
  20110. "marketid": {
  20111. "description": "市场ID",
  20112. "type": "integer"
  20113. },
  20114. "phonenum": {
  20115. "description": "提货人联系方式",
  20116. "type": "string"
  20117. },
  20118. "picurls": {
  20119. "description": "介绍图片[多张用逗号分隔]",
  20120. "type": "string"
  20121. },
  20122. "qty": {
  20123. "description": "提货数量",
  20124. "type": "number"
  20125. },
  20126. "recivername": {
  20127. "description": "提货人姓名",
  20128. "type": "string"
  20129. },
  20130. "reqtime": {
  20131. "description": "更新时间",
  20132. "type": "string"
  20133. },
  20134. "takemode": {
  20135. "description": "提货方式 - 2:自提 3:配送",
  20136. "type": "integer"
  20137. },
  20138. "takeorderid": {
  20139. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20140. "type": "string"
  20141. },
  20142. "takeorderstatus": {
  20143. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20144. "type": "integer"
  20145. },
  20146. "takeremark": {
  20147. "description": "提货备注",
  20148. "type": "string"
  20149. },
  20150. "tradedate": {
  20151. "description": "交易日(yyyyMMdd)",
  20152. "type": "string"
  20153. },
  20154. "trademode": {
  20155. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20156. "type": "integer"
  20157. },
  20158. "userid": {
  20159. "description": "用户ID",
  20160. "type": "integer"
  20161. },
  20162. "vendorname": {
  20163. "description": "供应商名称",
  20164. "type": "string"
  20165. }
  20166. }
  20167. },
  20168. "models.HsbyPreGoods": {
  20169. "type": "object",
  20170. "required": [
  20171. "goodscode",
  20172. "goodsid",
  20173. "goodsname",
  20174. "marketid",
  20175. "trademode"
  20176. ],
  20177. "properties": {
  20178. "agreeunit": {
  20179. "description": "合约单位",
  20180. "type": "number"
  20181. },
  20182. "currency": {
  20183. "description": "货币",
  20184. "type": "string"
  20185. },
  20186. "currencysign": {
  20187. "description": "货币符号",
  20188. "type": "string"
  20189. },
  20190. "decimalplace": {
  20191. "description": "报价小数位",
  20192. "type": "integer"
  20193. },
  20194. "desccityid": {
  20195. "description": "目的地(市)",
  20196. "type": "integer"
  20197. },
  20198. "descprovinceid": {
  20199. "description": "目的地(省)",
  20200. "type": "integer"
  20201. },
  20202. "enableqty": {
  20203. "description": "剩余数量",
  20204. "type": "integer"
  20205. },
  20206. "goodscode": {
  20207. "description": "商品代码(内部)",
  20208. "type": "string"
  20209. },
  20210. "goodsid": {
  20211. "description": "商品ID(自增ID SEQ_GOODS)",
  20212. "type": "integer"
  20213. },
  20214. "goodsname": {
  20215. "description": "商品名称",
  20216. "type": "string"
  20217. },
  20218. "goodsstatus": {
  20219. "description": "商品状态- 2:未上市 3:上市",
  20220. "type": "integer"
  20221. },
  20222. "lasttradedate": {
  20223. "description": "最后交易日期(状态:待退市)",
  20224. "type": "string"
  20225. },
  20226. "listingdate": {
  20227. "description": "交易开始日期",
  20228. "type": "string"
  20229. },
  20230. "marketid": {
  20231. "description": "所属市场ID",
  20232. "type": "integer"
  20233. },
  20234. "picurls": {
  20235. "description": "介绍图片[多张用逗号分隔]",
  20236. "type": "string"
  20237. },
  20238. "presaledqty": {
  20239. "description": "已预售量(预售结束时更新)",
  20240. "type": "integer"
  20241. },
  20242. "presaleqty": {
  20243. "description": "预售数量",
  20244. "type": "integer"
  20245. },
  20246. "quoteminunit": {
  20247. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20248. "type": "integer"
  20249. },
  20250. "refprice": {
  20251. "description": "参考价格[一口价]",
  20252. "type": "number"
  20253. },
  20254. "relatedgoodsid": {
  20255. "description": "关联交易合约ID",
  20256. "type": "integer"
  20257. },
  20258. "trademode": {
  20259. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20260. "type": "integer"
  20261. },
  20262. "videourls": {
  20263. "description": "介绍视频[多张用逗号分隔]",
  20264. "type": "string"
  20265. }
  20266. }
  20267. },
  20268. "models.HsbyPreGoodsDetail": {
  20269. "type": "object",
  20270. "required": [
  20271. "goodscode",
  20272. "goodsid",
  20273. "goodsname",
  20274. "marketid",
  20275. "trademode"
  20276. ],
  20277. "properties": {
  20278. "agreeunit": {
  20279. "description": "合约单位",
  20280. "type": "number"
  20281. },
  20282. "buymaxqty": {
  20283. "description": "购买上限 [71] - 0为不限",
  20284. "type": "integer"
  20285. },
  20286. "currency": {
  20287. "description": "货币",
  20288. "type": "string"
  20289. },
  20290. "currencysign": {
  20291. "description": "货币符号",
  20292. "type": "string"
  20293. },
  20294. "customername": {
  20295. "description": "发行单位",
  20296. "type": "string"
  20297. },
  20298. "decimalplace": {
  20299. "description": "报价小数位",
  20300. "type": "integer"
  20301. },
  20302. "desccityid": {
  20303. "description": "目的地(市)ID",
  20304. "type": "integer"
  20305. },
  20306. "descprovinceid": {
  20307. "description": "目的地(省)ID",
  20308. "type": "integer"
  20309. },
  20310. "enableqty": {
  20311. "description": "剩余数量",
  20312. "type": "integer"
  20313. },
  20314. "goodscode": {
  20315. "description": "商品代码(内部)",
  20316. "type": "string"
  20317. },
  20318. "goodsdesc": {
  20319. "description": "商品详情",
  20320. "type": "string"
  20321. },
  20322. "goodsid": {
  20323. "description": "商品ID(自增ID SEQ_GOODS)",
  20324. "type": "integer"
  20325. },
  20326. "goodsname": {
  20327. "description": "商品名称",
  20328. "type": "string"
  20329. },
  20330. "goodsstatus": {
  20331. "description": "商品状态- 2:未上市 3:上市",
  20332. "type": "integer"
  20333. },
  20334. "goodunit": {
  20335. "description": "报价单位",
  20336. "type": "string"
  20337. },
  20338. "lasttradedate": {
  20339. "description": "最后交易日期(状态:待退市)",
  20340. "type": "string"
  20341. },
  20342. "listingdate": {
  20343. "description": "交易开始日期",
  20344. "type": "string"
  20345. },
  20346. "lotsize": {
  20347. "description": "手数最小变动单位",
  20348. "type": "integer"
  20349. },
  20350. "marketid": {
  20351. "description": "所属市场ID",
  20352. "type": "integer"
  20353. },
  20354. "picurls": {
  20355. "description": "介绍图片[多张用逗号分隔]",
  20356. "type": "string"
  20357. },
  20358. "presaledqty": {
  20359. "description": "已预售量(预售结束时更新)",
  20360. "type": "integer"
  20361. },
  20362. "presaleqty": {
  20363. "description": "预售数量",
  20364. "type": "integer"
  20365. },
  20366. "quoteminunit": {
  20367. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20368. "type": "integer"
  20369. },
  20370. "refprice": {
  20371. "description": "参考价格[一口价]",
  20372. "type": "number"
  20373. },
  20374. "relatedgoodsid": {
  20375. "description": "关联交易合约ID",
  20376. "type": "integer"
  20377. },
  20378. "stepvalue": {
  20379. "description": "价格最小变动单位",
  20380. "type": "number"
  20381. },
  20382. "trademode": {
  20383. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20384. "type": "integer"
  20385. },
  20386. "vendorattr": {
  20387. "description": "供应商附件(多张,逗号分隔)",
  20388. "type": "string"
  20389. },
  20390. "vendorname": {
  20391. "description": "供应商名称",
  20392. "type": "string"
  20393. },
  20394. "vendorphone": {
  20395. "description": "供应商客服电话",
  20396. "type": "string"
  20397. },
  20398. "videourls": {
  20399. "description": "介绍视频[多张用逗号分隔]",
  20400. "type": "string"
  20401. }
  20402. }
  20403. },
  20404. "models.HsbySellCollectionOrder": {
  20405. "type": "object",
  20406. "required": [
  20407. "goodscode",
  20408. "goodsname",
  20409. "tradeid",
  20410. "trademode"
  20411. ],
  20412. "properties": {
  20413. "agreeunit": {
  20414. "description": "合约单位",
  20415. "type": "number"
  20416. },
  20417. "buyaccountid": {
  20418. "description": "买方账号ID[报价币种]",
  20419. "type": "integer"
  20420. },
  20421. "buyorderid": {
  20422. "description": "买方委托单号",
  20423. "type": "string"
  20424. },
  20425. "createtime": {
  20426. "description": "创建时间",
  20427. "type": "string"
  20428. },
  20429. "currencysign": {
  20430. "description": "货币符号",
  20431. "type": "string"
  20432. },
  20433. "decimalplace": {
  20434. "description": "报价小数位",
  20435. "type": "integer"
  20436. },
  20437. "goodscode": {
  20438. "description": "商品代码(内部)",
  20439. "type": "string"
  20440. },
  20441. "goodsid": {
  20442. "description": "商品ID",
  20443. "type": "integer"
  20444. },
  20445. "goodsname": {
  20446. "description": "商品名称",
  20447. "type": "string"
  20448. },
  20449. "marketid": {
  20450. "description": "市场ID",
  20451. "type": "integer"
  20452. },
  20453. "offamount": {
  20454. "description": "优惠金额",
  20455. "type": "number"
  20456. },
  20457. "payamount": {
  20458. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20459. "type": "number"
  20460. },
  20461. "payflag": {
  20462. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20463. "type": "integer"
  20464. },
  20465. "paylimitedtime": {
  20466. "description": "支付期限",
  20467. "type": "string"
  20468. },
  20469. "paytime": {
  20470. "description": "付款时间",
  20471. "type": "string"
  20472. },
  20473. "picurls": {
  20474. "description": "商品介绍图片[多张用逗号分隔]",
  20475. "type": "string"
  20476. },
  20477. "sellaccountid": {
  20478. "description": "卖方账号ID[报价币种]",
  20479. "type": "integer"
  20480. },
  20481. "sellorderid": {
  20482. "description": "卖方委托单号",
  20483. "type": "string"
  20484. },
  20485. "tradeamount": {
  20486. "description": "成交金额",
  20487. "type": "number"
  20488. },
  20489. "tradecharge": {
  20490. "description": "成交手续费(买方)",
  20491. "type": "number"
  20492. },
  20493. "tradedate": {
  20494. "description": "交易日(yyyyMMdd)",
  20495. "type": "string"
  20496. },
  20497. "tradeid": {
  20498. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20499. "type": "string"
  20500. },
  20501. "trademode": {
  20502. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20503. "type": "integer"
  20504. },
  20505. "tradeprice": {
  20506. "description": "成交价格",
  20507. "type": "number"
  20508. },
  20509. "tradeqty": {
  20510. "description": "成交数量",
  20511. "type": "integer"
  20512. }
  20513. }
  20514. },
  20515. "models.HsbySellMyDetail": {
  20516. "type": "object",
  20517. "required": [
  20518. "accountid",
  20519. "buyorsell",
  20520. "goodscode",
  20521. "goodsid",
  20522. "goodsname",
  20523. "marketid",
  20524. "orderid",
  20525. "time",
  20526. "trademode"
  20527. ],
  20528. "properties": {
  20529. "accountid": {
  20530. "description": "账户ID[报价币种]",
  20531. "type": "integer"
  20532. },
  20533. "agreeunit": {
  20534. "description": "合约单位",
  20535. "type": "number"
  20536. },
  20537. "buyorsell": {
  20538. "description": "买卖 - 0:买 1:卖",
  20539. "type": "integer"
  20540. },
  20541. "currencysign": {
  20542. "description": "货币符号",
  20543. "type": "string"
  20544. },
  20545. "decimalplace": {
  20546. "description": "报价小数位",
  20547. "type": "integer"
  20548. },
  20549. "goodscode": {
  20550. "description": "商品代码(内部)",
  20551. "type": "string"
  20552. },
  20553. "goodsid": {
  20554. "description": "商品ID",
  20555. "type": "integer"
  20556. },
  20557. "goodsname": {
  20558. "description": "商品名称",
  20559. "type": "string"
  20560. },
  20561. "marketid": {
  20562. "description": "市场ID",
  20563. "type": "integer"
  20564. },
  20565. "orderid": {
  20566. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20567. "type": "string"
  20568. },
  20569. "ordertype": {
  20570. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20571. "type": "integer"
  20572. },
  20573. "picurls": {
  20574. "description": "介绍图片[多张用逗号分隔]",
  20575. "type": "string"
  20576. },
  20577. "price": {
  20578. "description": "价格",
  20579. "type": "number"
  20580. },
  20581. "qty": {
  20582. "description": "数量",
  20583. "type": "integer"
  20584. },
  20585. "time": {
  20586. "description": "时间",
  20587. "type": "string"
  20588. },
  20589. "trademode": {
  20590. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20591. "type": "integer"
  20592. },
  20593. "vendorname": {
  20594. "description": "供应商名称",
  20595. "type": "string"
  20596. }
  20597. }
  20598. },
  20599. "models.HsbyTopGoods": {
  20600. "type": "object",
  20601. "required": [
  20602. "goodscode",
  20603. "goodsid",
  20604. "goodsname",
  20605. "marketid",
  20606. "trademode"
  20607. ],
  20608. "properties": {
  20609. "agreeunit": {
  20610. "description": "合约单位",
  20611. "type": "number"
  20612. },
  20613. "currency": {
  20614. "description": "货币",
  20615. "type": "string"
  20616. },
  20617. "currencysign": {
  20618. "description": "货币符号",
  20619. "type": "string"
  20620. },
  20621. "decimalplace": {
  20622. "description": "报价小数位",
  20623. "type": "integer"
  20624. },
  20625. "desccityid": {
  20626. "description": "目的地(市)",
  20627. "type": "integer"
  20628. },
  20629. "descprovinceid": {
  20630. "description": "目的地(省)",
  20631. "type": "integer"
  20632. },
  20633. "goodscode": {
  20634. "description": "商品代码(内部)",
  20635. "type": "string"
  20636. },
  20637. "goodsid": {
  20638. "description": "商品ID(自增ID SEQ_GOODS)",
  20639. "type": "integer"
  20640. },
  20641. "goodsname": {
  20642. "description": "商品名称",
  20643. "type": "string"
  20644. },
  20645. "hotindex": {
  20646. "description": "景点热度",
  20647. "type": "integer"
  20648. },
  20649. "last": {
  20650. "description": "现价",
  20651. "type": "number"
  20652. },
  20653. "marketid": {
  20654. "description": "所属市场ID",
  20655. "type": "integer"
  20656. },
  20657. "picurls": {
  20658. "description": "介绍图片[多张用逗号分隔]",
  20659. "type": "string"
  20660. },
  20661. "quoteminunit": {
  20662. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20663. "type": "integer"
  20664. },
  20665. "trademode": {
  20666. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20667. "type": "integer"
  20668. },
  20669. "videourls": {
  20670. "description": "介绍视频[多张用逗号分隔]",
  20671. "type": "string"
  20672. }
  20673. }
  20674. },
  20675. "models.HybsMyBuyOrderDetail": {
  20676. "type": "object",
  20677. "required": [
  20678. "accountid",
  20679. "buyorsell",
  20680. "goodscode",
  20681. "goodsid",
  20682. "goodsname",
  20683. "marketid",
  20684. "orderid",
  20685. "orderqty",
  20686. "ordertime",
  20687. "trademode"
  20688. ],
  20689. "properties": {
  20690. "accountid": {
  20691. "description": "账户ID[报价币种]",
  20692. "type": "integer"
  20693. },
  20694. "agreeunit": {
  20695. "description": "合约单位",
  20696. "type": "number"
  20697. },
  20698. "buyorsell": {
  20699. "description": "买卖 - 0:买 1:卖",
  20700. "type": "integer"
  20701. },
  20702. "cancelqty": {
  20703. "description": "撤单数量",
  20704. "type": "integer"
  20705. },
  20706. "currencysign": {
  20707. "description": "货币符号",
  20708. "type": "string"
  20709. },
  20710. "decimalplace": {
  20711. "description": "报价小数位",
  20712. "type": "integer"
  20713. },
  20714. "goodscode": {
  20715. "description": "商品代码(内部)",
  20716. "type": "string"
  20717. },
  20718. "goodsid": {
  20719. "description": "商品ID",
  20720. "type": "integer"
  20721. },
  20722. "goodsname": {
  20723. "description": "商品名称",
  20724. "type": "string"
  20725. },
  20726. "listingselecttype": {
  20727. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20728. "type": "integer"
  20729. },
  20730. "marketid": {
  20731. "description": "市场ID",
  20732. "type": "integer"
  20733. },
  20734. "mybuystatus": {
  20735. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  20736. "type": "integer"
  20737. },
  20738. "orderamount": {
  20739. "description": "委托金额",
  20740. "type": "number"
  20741. },
  20742. "orderid": {
  20743. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20744. "type": "string"
  20745. },
  20746. "orderprice": {
  20747. "description": "委托价格",
  20748. "type": "number"
  20749. },
  20750. "orderqty": {
  20751. "description": "委托数量",
  20752. "type": "integer"
  20753. },
  20754. "orderstatus": {
  20755. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20756. "type": "integer"
  20757. },
  20758. "ordertime": {
  20759. "description": "委托时间",
  20760. "type": "string"
  20761. },
  20762. "picurls1": {
  20763. "description": "预售商品介绍图片[多张用逗号分隔]",
  20764. "type": "string"
  20765. },
  20766. "picurls2": {
  20767. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20768. "type": "string"
  20769. },
  20770. "trademode": {
  20771. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20772. "type": "integer"
  20773. },
  20774. "tradeqty": {
  20775. "description": "成交数量",
  20776. "type": "integer"
  20777. },
  20778. "vendorname1": {
  20779. "description": "预售商品供应商名称",
  20780. "type": "string"
  20781. },
  20782. "vendorname2": {
  20783. "description": "挂牌商品供应商名称",
  20784. "type": "string"
  20785. }
  20786. }
  20787. },
  20788. "models.Loginaccount": {
  20789. "type": "object",
  20790. "required": [
  20791. "loginid"
  20792. ],
  20793. "properties": {
  20794. "canoutin": {
  20795. "description": "是否可出入金 - 0:不可 1:可",
  20796. "type": "integer"
  20797. },
  20798. "clientroleid": {
  20799. "description": "终端角色ID",
  20800. "type": "integer"
  20801. },
  20802. "haslogined": {
  20803. "description": "是否已登录 - 0:未登录 1:已登录",
  20804. "type": "integer"
  20805. },
  20806. "hasupdatedpwd": {
  20807. "description": "是否已更改密码 - 0:未修改 1:已修改",
  20808. "type": "integer"
  20809. },
  20810. "lastloginip": {
  20811. "description": "最新登录地址",
  20812. "type": "string"
  20813. },
  20814. "lastloginmode": {
  20815. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20816. "type": "integer"
  20817. },
  20818. "lastloginremark": {
  20819. "description": "最新登录描述",
  20820. "type": "string"
  20821. },
  20822. "lastlogintime": {
  20823. "description": "最新登录时间",
  20824. "type": "string"
  20825. },
  20826. "logincode": {
  20827. "description": "登录代码",
  20828. "type": "string"
  20829. },
  20830. "loginfailnum": {
  20831. "description": "连续登录失败次数(登录成功时清零)",
  20832. "type": "integer"
  20833. },
  20834. "loginid": {
  20835. "description": "登陆账号",
  20836. "type": "integer"
  20837. },
  20838. "loginport": {
  20839. "description": "最新登录端口",
  20840. "type": "integer"
  20841. },
  20842. "loginstatus": {
  20843. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  20844. "type": "integer"
  20845. },
  20846. "loginusertype": {
  20847. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  20848. "type": "integer"
  20849. },
  20850. "modifierid": {
  20851. "description": "修改人",
  20852. "type": "integer"
  20853. },
  20854. "modifytime": {
  20855. "description": "修改时间",
  20856. "type": "string"
  20857. },
  20858. "pwdwrongcount": {
  20859. "description": "密码错误次数",
  20860. "type": "integer"
  20861. },
  20862. "taaccountrighttype": {
  20863. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  20864. "type": "integer"
  20865. },
  20866. "unfreezetime": {
  20867. "description": "账户解冻时间",
  20868. "type": "string"
  20869. },
  20870. "userid": {
  20871. "description": "用户ID",
  20872. "type": "integer"
  20873. }
  20874. }
  20875. },
  20876. "models.MainAccountInfo": {
  20877. "type": "object",
  20878. "properties": {
  20879. "accountid": {
  20880. "description": "账号id",
  20881. "type": "string"
  20882. },
  20883. "accountname": {
  20884. "description": "账号名称(taaccount表中的名称)",
  20885. "type": "string"
  20886. },
  20887. "appid": {
  20888. "description": "AppID",
  20889. "type": "string"
  20890. },
  20891. "authcode": {
  20892. "description": "授权码",
  20893. "type": "string"
  20894. },
  20895. "brokerid": {
  20896. "description": "经纪商id",
  20897. "type": "string"
  20898. },
  20899. "fcid": {
  20900. "description": "期货公司id",
  20901. "type": "integer"
  20902. },
  20903. "fcname": {
  20904. "description": "期货公司代码",
  20905. "type": "string"
  20906. },
  20907. "hedgeaccountcode": {
  20908. "description": "外部账号代码(主账号登录代码)",
  20909. "type": "string"
  20910. },
  20911. "hedgeaccountpwd": {
  20912. "description": "密码",
  20913. "type": "string"
  20914. },
  20915. "ismain": {
  20916. "description": "是否主账号",
  20917. "type": "integer"
  20918. },
  20919. "relateduserid": {
  20920. "description": "关联用户id",
  20921. "type": "integer"
  20922. }
  20923. }
  20924. },
  20925. "models.Market": {
  20926. "type": "object",
  20927. "required": [
  20928. "marketid",
  20929. "marketstatus",
  20930. "openmethod",
  20931. "reckonpricealgorithm",
  20932. "trademode",
  20933. "tradeproperty"
  20934. ],
  20935. "properties": {
  20936. "auctionwrtype": {
  20937. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  20938. "type": "integer"
  20939. },
  20940. "canacceptquote": {
  20941. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  20942. "type": "integer"
  20943. },
  20944. "cangoodsexercise": {
  20945. "description": "[期权]是否可现货行权- 0:否 1:是",
  20946. "type": "integer"
  20947. },
  20948. "cangoodsexercisetype": {
  20949. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  20950. "type": "integer"
  20951. },
  20952. "canmanualquotestrike": {
  20953. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  20954. "type": "integer"
  20955. },
  20956. "canmutistage": {
  20957. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  20958. "type": "integer"
  20959. },
  20960. "canpreexercise": {
  20961. "description": "[期权]是否可预申报- 0:否 1:是",
  20962. "type": "integer"
  20963. },
  20964. "clearinterval": {
  20965. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  20966. "type": "integer"
  20967. },
  20968. "contracttmp": {
  20969. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  20970. "type": "string"
  20971. },
  20972. "exchareaid": {
  20973. "description": "所属交易所,可以没有",
  20974. "type": "integer"
  20975. },
  20976. "goodstype": {
  20977. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20978. "type": "integer"
  20979. },
  20980. "hasrebate": {
  20981. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20982. "type": "integer"
  20983. },
  20984. "hastradecredit": {
  20985. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20986. "type": "integer"
  20987. },
  20988. "haswr": {
  20989. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20990. "type": "integer"
  20991. },
  20992. "isdeductmargin": {
  20993. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20994. "type": "integer"
  20995. },
  20996. "isrecordsource": {
  20997. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20998. "type": "integer"
  20999. },
  21000. "isreleasemargin": {
  21001. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21002. "type": "integer"
  21003. },
  21004. "marginformula": {
  21005. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21006. "type": "integer"
  21007. },
  21008. "marginformula2": {
  21009. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21010. "type": "integer"
  21011. },
  21012. "marketid": {
  21013. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21014. "type": "integer"
  21015. },
  21016. "marketname": {
  21017. "description": "市场名称",
  21018. "type": "string"
  21019. },
  21020. "marketserviceid": {
  21021. "description": "市场服务ID",
  21022. "type": "integer"
  21023. },
  21024. "marketstatus": {
  21025. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21026. "type": "integer"
  21027. },
  21028. "markettype": {
  21029. "description": "市场类型- 1:非交易服务 2:交易服务",
  21030. "type": "integer"
  21031. },
  21032. "matchermode": {
  21033. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21034. "type": "integer"
  21035. },
  21036. "openmethod": {
  21037. "description": "开盘模式 - 0 自动 1手动",
  21038. "type": "integer"
  21039. },
  21040. "otcuserid": {
  21041. "description": "场外期权做市商[场外期权]",
  21042. "type": "integer"
  21043. },
  21044. "outersynctime": {
  21045. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21046. "type": "string"
  21047. },
  21048. "pendingflag": {
  21049. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21050. "type": "integer"
  21051. },
  21052. "pendingtime": {
  21053. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21054. "type": "string"
  21055. },
  21056. "performancetempid": {
  21057. "description": "履约计划模板ID - 作废",
  21058. "type": "integer"
  21059. },
  21060. "premiumquotemode": {
  21061. "description": "权利金报价方式 - 1:自动 2:手动",
  21062. "type": "integer"
  21063. },
  21064. "rebateratio": {
  21065. "description": "返利比率[竞价式]",
  21066. "type": "number"
  21067. },
  21068. "reckonorder": {
  21069. "description": "结算顺序",
  21070. "type": "integer"
  21071. },
  21072. "reckonpricealgorithm": {
  21073. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21074. "type": "integer"
  21075. },
  21076. "reckonpriceparam": {
  21077. "description": "结算价参数",
  21078. "type": "integer"
  21079. },
  21080. "reckontime": {
  21081. "description": "结算时间[通道交易-对冲](HH:mm)",
  21082. "type": "string"
  21083. },
  21084. "roleprioritytype": {
  21085. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21086. "type": "integer"
  21087. },
  21088. "selllistingauditflag": {
  21089. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21090. "type": "integer"
  21091. },
  21092. "trademarkettype": {
  21093. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21094. "type": "integer"
  21095. },
  21096. "trademode": {
  21097. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21098. "type": "integer"
  21099. },
  21100. "tradeproperty": {
  21101. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21102. "type": "integer"
  21103. },
  21104. "tradetype": {
  21105. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21106. "type": "integer"
  21107. }
  21108. }
  21109. },
  21110. "models.Marketrun": {
  21111. "type": "object",
  21112. "required": [
  21113. "marketid",
  21114. "nexttradedate",
  21115. "reckonflag",
  21116. "runstatus",
  21117. "tradedate",
  21118. "tradedate2"
  21119. ],
  21120. "properties": {
  21121. "afternexttradedate": {
  21122. "description": "下下交易日",
  21123. "type": "string"
  21124. },
  21125. "clearquoteflag": {
  21126. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21127. "type": "integer"
  21128. },
  21129. "lastreckondate": {
  21130. "description": "最新交易日(结算成功)",
  21131. "type": "string"
  21132. },
  21133. "machinedate": {
  21134. "description": "机器时间",
  21135. "type": "string"
  21136. },
  21137. "manualflag": {
  21138. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21139. "type": "integer"
  21140. },
  21141. "marketid": {
  21142. "description": "市场ID",
  21143. "type": "integer"
  21144. },
  21145. "nexttradedate": {
  21146. "description": "下一交易日",
  21147. "type": "string"
  21148. },
  21149. "pretradedate": {
  21150. "description": "上一交易日",
  21151. "type": "string"
  21152. },
  21153. "reckonflag": {
  21154. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21155. "type": "integer"
  21156. },
  21157. "runstatus": {
  21158. "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.今日免清算",
  21159. "type": "integer"
  21160. },
  21161. "sectionid": {
  21162. "description": "时间段号[多时段时用]",
  21163. "type": "integer"
  21164. },
  21165. "tradedate": {
  21166. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21167. "type": "string"
  21168. },
  21169. "tradedate2": {
  21170. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21171. "type": "string"
  21172. },
  21173. "updatetime": {
  21174. "description": "更新时间",
  21175. "type": "string"
  21176. }
  21177. }
  21178. },
  21179. "models.Messageboard": {
  21180. "type": "object",
  21181. "required": [
  21182. "messageboardid"
  21183. ],
  21184. "properties": {
  21185. "contactnum": {
  21186. "description": "联系电话",
  21187. "type": "string"
  21188. },
  21189. "createtime": {
  21190. "description": "创建时间",
  21191. "type": "string"
  21192. },
  21193. "message": {
  21194. "description": "留言信息",
  21195. "type": "string"
  21196. },
  21197. "messageboardid": {
  21198. "description": "留言簿ID(SEQ_MessageBoard)",
  21199. "type": "integer"
  21200. },
  21201. "userid": {
  21202. "description": "用户ID",
  21203. "type": "integer"
  21204. }
  21205. }
  21206. },
  21207. "models.MyCoupon": {
  21208. "type": "object",
  21209. "required": [
  21210. "accountid",
  21211. "coupontypeid"
  21212. ],
  21213. "properties": {
  21214. "accountid": {
  21215. "description": "资金账户ID",
  21216. "type": "integer"
  21217. },
  21218. "areauserid": {
  21219. "description": "所属机构",
  21220. "type": "integer"
  21221. },
  21222. "conditionvalue": {
  21223. "description": "条件阈值(可为0)",
  21224. "type": "number"
  21225. },
  21226. "couponcategroy": {
  21227. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21228. "type": "integer"
  21229. },
  21230. "couponname": {
  21231. "description": "优惠券名称",
  21232. "type": "string"
  21233. },
  21234. "coupontypeid": {
  21235. "description": "优惠券类型ID",
  21236. "type": "string"
  21237. },
  21238. "couponvalue": {
  21239. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21240. "type": "number"
  21241. },
  21242. "curfreezeqty": {
  21243. "description": "期末冻结数量",
  21244. "type": "integer"
  21245. },
  21246. "curqty": {
  21247. "description": "期末数量",
  21248. "type": "integer"
  21249. },
  21250. "isgeneral": {
  21251. "description": "是否通用券 - 0:否 1:是",
  21252. "type": "integer"
  21253. },
  21254. "isunusable": {
  21255. "description": "是否不可用",
  21256. "type": "boolean"
  21257. },
  21258. "limitedflag": {
  21259. "description": "是否指定商品 - 0:不限 1:限制",
  21260. "type": "integer"
  21261. },
  21262. "limitedgoodsids": {
  21263. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21264. "type": "string"
  21265. },
  21266. "orifreezeqty": {
  21267. "description": "期初冻结数量",
  21268. "type": "integer"
  21269. },
  21270. "oriqty": {
  21271. "description": "期初数量",
  21272. "type": "integer"
  21273. },
  21274. "reasontype": {
  21275. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21276. "type": "integer"
  21277. },
  21278. "todaydecrease": {
  21279. "description": "今日减少",
  21280. "type": "integer"
  21281. },
  21282. "todayincrease": {
  21283. "description": "今日增加",
  21284. "type": "integer"
  21285. },
  21286. "userid": {
  21287. "description": "用户ID",
  21288. "type": "integer"
  21289. },
  21290. "userscope": {
  21291. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21292. "type": "string"
  21293. }
  21294. }
  21295. },
  21296. "models.MyCouponHold": {
  21297. "type": "object",
  21298. "required": [
  21299. "couponholdid"
  21300. ],
  21301. "properties": {
  21302. "accountid": {
  21303. "description": "资金账户ID",
  21304. "type": "integer"
  21305. },
  21306. "conditionvalue": {
  21307. "description": "条件阈值(可为0)",
  21308. "type": "number"
  21309. },
  21310. "couponcategroy": {
  21311. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21312. "type": "integer"
  21313. },
  21314. "couponholdid": {
  21315. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21316. "type": "string"
  21317. },
  21318. "couponname": {
  21319. "description": "优惠券名称",
  21320. "type": "string"
  21321. },
  21322. "coupontypeid": {
  21323. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21324. "type": "string"
  21325. },
  21326. "couponvalue": {
  21327. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21328. "type": "number"
  21329. },
  21330. "createtime": {
  21331. "description": "创建时间",
  21332. "type": "string"
  21333. },
  21334. "enddate": {
  21335. "description": "结束日期",
  21336. "type": "string"
  21337. },
  21338. "giveapplyid": {
  21339. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21340. "type": "integer"
  21341. },
  21342. "holdstatus": {
  21343. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21344. "type": "integer"
  21345. },
  21346. "isgeneral": {
  21347. "description": "是否通用券 - 0:否 1:是",
  21348. "type": "integer"
  21349. },
  21350. "limitedflag": {
  21351. "description": "是否指定商品 - 0:不限 1:限制",
  21352. "type": "integer"
  21353. },
  21354. "limitedgoodsids": {
  21355. "description": "指定商品IDs[逗号分隔]",
  21356. "type": "string"
  21357. },
  21358. "qty": {
  21359. "description": "数量(按1平铺)",
  21360. "type": "integer"
  21361. },
  21362. "startdate": {
  21363. "description": "开始日期",
  21364. "type": "string"
  21365. },
  21366. "userid": {
  21367. "description": "用户ID",
  21368. "type": "integer"
  21369. },
  21370. "userscope": {
  21371. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21372. "type": "string"
  21373. }
  21374. }
  21375. },
  21376. "models.MyUsedCoupon": {
  21377. "type": "object",
  21378. "required": [
  21379. "coupontypeid",
  21380. "orderid"
  21381. ],
  21382. "properties": {
  21383. "accountid": {
  21384. "description": "资金账户ID(买方)",
  21385. "type": "integer"
  21386. },
  21387. "conditionvalue": {
  21388. "description": "条件阈值(可为0)",
  21389. "type": "number"
  21390. },
  21391. "couponcategroy": {
  21392. "description": "种类 - 1:现金券 2:折扣券",
  21393. "type": "integer"
  21394. },
  21395. "couponname": {
  21396. "description": "优惠券名称",
  21397. "type": "string"
  21398. },
  21399. "coupontypeid": {
  21400. "description": "优惠券类型ID(买方)",
  21401. "type": "string"
  21402. },
  21403. "couponvalue": {
  21404. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21405. "type": "number"
  21406. },
  21407. "createtime": {
  21408. "description": "创建时间",
  21409. "type": "string"
  21410. },
  21411. "goodsid": {
  21412. "description": "商品ID",
  21413. "type": "integer"
  21414. },
  21415. "handlestatus": {
  21416. "description": "处理状态",
  21417. "type": "integer"
  21418. },
  21419. "marketid": {
  21420. "description": "市场ID",
  21421. "type": "integer"
  21422. },
  21423. "offamount": {
  21424. "description": "优惠金额",
  21425. "type": "number"
  21426. },
  21427. "orderid": {
  21428. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21429. "type": "string"
  21430. },
  21431. "sellaccountid": {
  21432. "description": "资金账户ID(卖方)",
  21433. "type": "integer"
  21434. },
  21435. "tradeamount": {
  21436. "description": "成交金额",
  21437. "type": "number"
  21438. },
  21439. "tradeid": {
  21440. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21441. "type": "string"
  21442. },
  21443. "usedqty": {
  21444. "description": "使用数量",
  21445. "type": "integer"
  21446. }
  21447. }
  21448. },
  21449. "models.OperationPrimaryMenu": {
  21450. "type": "object",
  21451. "properties": {
  21452. "Children": {
  21453. "description": "二级功能菜单",
  21454. "type": "array",
  21455. "items": {
  21456. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21457. }
  21458. },
  21459. "Key": {
  21460. "description": "菜单KEY",
  21461. "type": "string"
  21462. },
  21463. "Label": {
  21464. "description": "菜单标题",
  21465. "type": "string"
  21466. }
  21467. }
  21468. },
  21469. "models.OperationSecondaryMenu": {
  21470. "type": "object",
  21471. "properties": {
  21472. "Key": {
  21473. "description": "菜单KEY",
  21474. "type": "string"
  21475. },
  21476. "Label": {
  21477. "description": "菜单标题",
  21478. "type": "string"
  21479. },
  21480. "TabList": {
  21481. "description": "三级功能菜单",
  21482. "type": "array",
  21483. "items": {
  21484. "$ref": "#/definitions/models.OperationTabMenu"
  21485. }
  21486. }
  21487. }
  21488. },
  21489. "models.OperationTabMenu": {
  21490. "type": "object",
  21491. "properties": {
  21492. "Key": {
  21493. "description": "菜单KEY",
  21494. "type": "string"
  21495. },
  21496. "Label": {
  21497. "description": "菜单标题",
  21498. "type": "string"
  21499. }
  21500. }
  21501. },
  21502. "models.PendingAuditBizModel": {
  21503. "type": "object",
  21504. "properties": {
  21505. "accountid": {
  21506. "description": "现货账户",
  21507. "type": "string"
  21508. },
  21509. "areaname": {
  21510. "description": "所属部门",
  21511. "type": "string"
  21512. },
  21513. "bizid": {
  21514. "description": "业务ID",
  21515. "type": "string"
  21516. },
  21517. "bizname": {
  21518. "description": "业务名称",
  21519. "type": "string"
  21520. },
  21521. "status": {
  21522. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21523. "type": "integer"
  21524. },
  21525. "type": {
  21526. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21527. "type": "integer"
  21528. }
  21529. }
  21530. },
  21531. "models.QueryErrorInfosRsp": {
  21532. "type": "object",
  21533. "required": [
  21534. "errorid"
  21535. ],
  21536. "properties": {
  21537. "description": {
  21538. "description": "异常描述",
  21539. "type": "string"
  21540. },
  21541. "errorcode": {
  21542. "description": "异常代码",
  21543. "type": "string"
  21544. },
  21545. "errorid": {
  21546. "description": "异常ID",
  21547. "type": "integer"
  21548. },
  21549. "modulecode": {
  21550. "description": "所属模块",
  21551. "type": "string"
  21552. },
  21553. "operatecode": {
  21554. "description": "所属操作",
  21555. "type": "string"
  21556. },
  21557. "rownumber": {
  21558. "description": "行号",
  21559. "type": "string"
  21560. }
  21561. }
  21562. },
  21563. "models.QueryHedgeOrderDetailRsp": {
  21564. "type": "object",
  21565. "properties": {
  21566. "accountid": {
  21567. "description": "账户ID",
  21568. "type": "integer"
  21569. },
  21570. "buyorsell": {
  21571. "description": "买卖 - 0:买 1:卖",
  21572. "type": "integer"
  21573. },
  21574. "cancellogincode": {
  21575. "description": "撤单人",
  21576. "type": "string"
  21577. },
  21578. "channelbuildtype": {
  21579. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21580. "type": "integer"
  21581. },
  21582. "channelinnerorderstatus": {
  21583. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21584. "type": "integer"
  21585. },
  21586. "channeloperatetype": {
  21587. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21588. "type": "integer"
  21589. },
  21590. "closetype": {
  21591. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21592. "type": "integer"
  21593. },
  21594. "curexchangerate": {
  21595. "description": "当前汇率",
  21596. "type": "number"
  21597. },
  21598. "exchangefullname": {
  21599. "description": "外部交易所全称",
  21600. "type": "string"
  21601. },
  21602. "goodscode": {
  21603. "description": "商品代码(内部)",
  21604. "type": "string"
  21605. },
  21606. "goodsid": {
  21607. "description": "商品ID",
  21608. "type": "integer"
  21609. },
  21610. "goodsname": {
  21611. "description": "商品名称",
  21612. "type": "string"
  21613. },
  21614. "marketid": {
  21615. "description": "市场ID",
  21616. "type": "integer"
  21617. },
  21618. "openfreezemargin": {
  21619. "description": "冻结保证金(冻结交易金额)",
  21620. "type": "number"
  21621. },
  21622. "orderid": {
  21623. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21624. "type": "string"
  21625. },
  21626. "orderlogincode": {
  21627. "description": "委托人",
  21628. "type": "string"
  21629. },
  21630. "orderprice": {
  21631. "description": "委托价格(账户)",
  21632. "type": "number"
  21633. },
  21634. "orderqty": {
  21635. "description": "委托数量",
  21636. "type": "integer"
  21637. },
  21638. "ordertime": {
  21639. "description": "委托时间",
  21640. "type": "string"
  21641. },
  21642. "pricemode": {
  21643. "description": "取价方式 - 1:市价 2: 限价",
  21644. "type": "integer"
  21645. },
  21646. "tradedate": {
  21647. "description": "交易日(yyyyMMdd)",
  21648. "type": "string"
  21649. },
  21650. "tradeqty": {
  21651. "description": "成交数量",
  21652. "type": "integer"
  21653. }
  21654. }
  21655. },
  21656. "models.QueryHedgeTradeDetailRsp": {
  21657. "type": "object",
  21658. "properties": {
  21659. "accountid": {
  21660. "description": "账号ID",
  21661. "type": "integer"
  21662. },
  21663. "buyorsell": {
  21664. "description": "方向 - 0:买 1:卖",
  21665. "type": "integer"
  21666. },
  21667. "channelbuildtype": {
  21668. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21669. "type": "integer"
  21670. },
  21671. "closecharge": {
  21672. "description": "平仓手续费(账户)",
  21673. "type": "number"
  21674. },
  21675. "closecharge2": {
  21676. "description": "平仓手续费(商品)",
  21677. "type": "number"
  21678. },
  21679. "closepl": {
  21680. "description": "平仓盈亏(账户)",
  21681. "type": "number"
  21682. },
  21683. "closepl2": {
  21684. "description": "平仓盈亏(商品)",
  21685. "type": "number"
  21686. },
  21687. "closepl3": {
  21688. "description": "平仓盈亏(账户)(逐笔)",
  21689. "type": "number"
  21690. },
  21691. "closepl4": {
  21692. "description": "平仓盈亏(商品)(逐笔)",
  21693. "type": "number"
  21694. },
  21695. "closetype": {
  21696. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21697. "type": "integer"
  21698. },
  21699. "curexchangerate": {
  21700. "description": "当前汇率",
  21701. "type": "number"
  21702. },
  21703. "exchangefullname": {
  21704. "description": "外部交易所全称",
  21705. "type": "string"
  21706. },
  21707. "goodscode": {
  21708. "description": "商品代码(内部)",
  21709. "type": "string"
  21710. },
  21711. "goodsid": {
  21712. "description": "商品ID",
  21713. "type": "integer"
  21714. },
  21715. "goodsname": {
  21716. "description": "商品名称",
  21717. "type": "string"
  21718. },
  21719. "marketid": {
  21720. "description": "市场ID",
  21721. "type": "integer"
  21722. },
  21723. "opencharge": {
  21724. "description": "建仓手续费(账户)",
  21725. "type": "number"
  21726. },
  21727. "opencharge2": {
  21728. "description": "建仓手续费(商品)",
  21729. "type": "number"
  21730. },
  21731. "orderid": {
  21732. "description": "委托单号",
  21733. "type": "string"
  21734. },
  21735. "orderlogincode": {
  21736. "description": "委托人",
  21737. "type": "string"
  21738. },
  21739. "tradeamount": {
  21740. "description": "成交金额(账户)",
  21741. "type": "number"
  21742. },
  21743. "tradedate": {
  21744. "description": "交易日(yyyyMMdd)",
  21745. "type": "string"
  21746. },
  21747. "tradeid": {
  21748. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21749. "type": "string"
  21750. },
  21751. "tradeprice": {
  21752. "description": "成交价格",
  21753. "type": "number"
  21754. },
  21755. "tradeqty": {
  21756. "description": "成交数量",
  21757. "type": "integer"
  21758. },
  21759. "tradetime": {
  21760. "description": "成交时间",
  21761. "type": "string"
  21762. },
  21763. "tradetype": {
  21764. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21765. "type": "integer"
  21766. }
  21767. }
  21768. },
  21769. "models.QuotePrimaryMenu": {
  21770. "type": "object",
  21771. "properties": {
  21772. "Index": {
  21773. "description": "序号",
  21774. "type": "integer"
  21775. },
  21776. "Key": {
  21777. "description": "键名",
  21778. "type": "string"
  21779. },
  21780. "Name": {
  21781. "description": "菜单名称",
  21782. "type": "string"
  21783. },
  21784. "SubMenus": {
  21785. "description": "子菜单",
  21786. "type": "array",
  21787. "items": {
  21788. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21789. }
  21790. },
  21791. "SubTitleType": {
  21792. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21793. "type": "integer"
  21794. },
  21795. "TradeModes": {
  21796. "description": "包含市场交易类型",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.QuoteSecondaryMenu": {
  21802. "type": "object",
  21803. "properties": {
  21804. "ExExchangeCode": {
  21805. "description": "外部交易所代码",
  21806. "type": "string"
  21807. },
  21808. "ExExchangeID": {
  21809. "description": "外部交易所ID",
  21810. "type": "integer"
  21811. },
  21812. "GoodsGroupIDs": {
  21813. "description": "商品组ID列表",
  21814. "type": "array",
  21815. "items": {
  21816. "type": "integer"
  21817. }
  21818. },
  21819. "Index": {
  21820. "description": "序号",
  21821. "type": "integer"
  21822. },
  21823. "MarketID": {
  21824. "description": "市场ID",
  21825. "type": "integer"
  21826. },
  21827. "MenuTitle": {
  21828. "description": "菜单标题(市场名称或外部交易所名称)",
  21829. "type": "string"
  21830. },
  21831. "TradeMode": {
  21832. "description": "交易模式",
  21833. "type": "integer"
  21834. }
  21835. }
  21836. },
  21837. "models.RelatedGoodsEx": {
  21838. "type": "object",
  21839. "properties": {
  21840. "goodscode": {
  21841. "description": "商品代码",
  21842. "type": "string"
  21843. },
  21844. "goodsid": {
  21845. "description": "商品id",
  21846. "type": "integer"
  21847. },
  21848. "goodsname": {
  21849. "description": "商品名称",
  21850. "type": "string"
  21851. }
  21852. }
  21853. },
  21854. "models.SearchGoods": {
  21855. "type": "object",
  21856. "required": [
  21857. "goodscode",
  21858. "goodsid",
  21859. "goodsname",
  21860. "marketid",
  21861. "trademode"
  21862. ],
  21863. "properties": {
  21864. "goodscode": {
  21865. "description": "商品代码(内部)",
  21866. "type": "string"
  21867. },
  21868. "goodsid": {
  21869. "description": "商品ID(自增ID SEQ_GOODS)",
  21870. "type": "integer"
  21871. },
  21872. "goodsname": {
  21873. "description": "商品名称",
  21874. "type": "string"
  21875. },
  21876. "marketid": {
  21877. "description": "所属市场ID",
  21878. "type": "integer"
  21879. },
  21880. "marketname": {
  21881. "description": "市场名称",
  21882. "type": "string"
  21883. },
  21884. "trademode": {
  21885. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21886. "type": "integer"
  21887. }
  21888. }
  21889. },
  21890. "models.Systemparam": {
  21891. "type": "object",
  21892. "required": [
  21893. "paramcode"
  21894. ],
  21895. "properties": {
  21896. "loginid": {
  21897. "description": "更新用户账号,登录账号",
  21898. "type": "string"
  21899. },
  21900. "modifyflag": {
  21901. "description": "修改标志0 不允许修改 1 允许修改",
  21902. "type": "integer"
  21903. },
  21904. "paramcode": {
  21905. "description": "参数代码",
  21906. "type": "string"
  21907. },
  21908. "paramname": {
  21909. "description": "参数名",
  21910. "type": "string"
  21911. },
  21912. "paramtype": {
  21913. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21914. "type": "integer"
  21915. },
  21916. "paramvalue": {
  21917. "description": "参数值",
  21918. "type": "string"
  21919. },
  21920. "paramvalue2": {
  21921. "description": "参数值(CLOB)",
  21922. "type": "string"
  21923. },
  21924. "regexpress": {
  21925. "description": "正则表达式",
  21926. "type": "string"
  21927. },
  21928. "remark": {
  21929. "description": "备注",
  21930. "type": "string"
  21931. },
  21932. "serverip": {
  21933. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21934. "type": "string"
  21935. },
  21936. "showflag": {
  21937. "description": "是否显示0 不显示 1 显示",
  21938. "type": "integer"
  21939. },
  21940. "updatetime": {
  21941. "description": "更新时间",
  21942. "type": "string"
  21943. },
  21944. "userid": {
  21945. "description": "更新用户ID",
  21946. "type": "integer"
  21947. }
  21948. }
  21949. },
  21950. "models.Szdz3convertconfig": {
  21951. "type": "object",
  21952. "required": [
  21953. "converttype",
  21954. "innergoodsid",
  21955. "outergoodscode"
  21956. ],
  21957. "properties": {
  21958. "canin": {
  21959. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21960. "type": "integer"
  21961. },
  21962. "canout": {
  21963. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21964. "type": "integer"
  21965. },
  21966. "converttype": {
  21967. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21968. "type": "integer"
  21969. },
  21970. "createtime": {
  21971. "description": "创建时间",
  21972. "type": "string"
  21973. },
  21974. "creatorid": {
  21975. "description": "创建人",
  21976. "type": "integer"
  21977. },
  21978. "daymaxvalue": {
  21979. "description": "当日最大转入限制",
  21980. "type": "number"
  21981. },
  21982. "freezedays": {
  21983. "description": "冻结天数 [5:花生米转交易]",
  21984. "type": "integer"
  21985. },
  21986. "innergoodsid": {
  21987. "description": "内部商品ID[交易]",
  21988. "type": "integer"
  21989. },
  21990. "inratio": {
  21991. "description": "目标值",
  21992. "type": "integer"
  21993. },
  21994. "modifierid": {
  21995. "description": "修改人",
  21996. "type": "integer"
  21997. },
  21998. "modifytime": {
  21999. "description": "修改时间",
  22000. "type": "string"
  22001. },
  22002. "outergoodscode": {
  22003. "description": "外部商品代码[JD\\PD]",
  22004. "type": "string"
  22005. },
  22006. "outratio": {
  22007. "description": "源值",
  22008. "type": "integer"
  22009. },
  22010. "pddecimalplace": {
  22011. "description": "PD小数位",
  22012. "type": "integer"
  22013. },
  22014. "timemaxvalue": {
  22015. "description": "单次最大转入限制",
  22016. "type": "number"
  22017. },
  22018. "timeminvalue": {
  22019. "description": "单次最小转入限制",
  22020. "type": "number"
  22021. }
  22022. }
  22023. },
  22024. "models.Szdz3searchwhitelist": {
  22025. "type": "object",
  22026. "required": [
  22027. "userid"
  22028. ],
  22029. "properties": {
  22030. "createtime": {
  22031. "description": "创建时间",
  22032. "type": "string"
  22033. },
  22034. "creatorid": {
  22035. "description": "创建人",
  22036. "type": "integer"
  22037. },
  22038. "modifierid": {
  22039. "description": "修改人",
  22040. "type": "integer"
  22041. },
  22042. "modifytime": {
  22043. "description": "修改时间",
  22044. "type": "string"
  22045. },
  22046. "userid": {
  22047. "description": "用户ID",
  22048. "type": "integer"
  22049. }
  22050. }
  22051. },
  22052. "models.Taaccount": {
  22053. "type": "object",
  22054. "required": [
  22055. "accountid",
  22056. "userid"
  22057. ],
  22058. "properties": {
  22059. "accountflag": {
  22060. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22061. "type": "integer"
  22062. },
  22063. "accountid": {
  22064. "description": "资金账户ID",
  22065. "type": "integer"
  22066. },
  22067. "accountname": {
  22068. "description": "账户名称",
  22069. "type": "string"
  22070. },
  22071. "balance": {
  22072. "description": "期初余额",
  22073. "type": "number"
  22074. },
  22075. "capitalbalance": {
  22076. "description": "本金余额[外部子账户实际出入金余额]",
  22077. "type": "number"
  22078. },
  22079. "changeflag": {
  22080. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22081. "type": "integer"
  22082. },
  22083. "changetime": {
  22084. "description": "账户状态变更时间",
  22085. "type": "string"
  22086. },
  22087. "closepl": {
  22088. "description": "今日平仓盈亏",
  22089. "type": "number"
  22090. },
  22091. "creditdecrease": {
  22092. "description": "今日授信减少",
  22093. "type": "number"
  22094. },
  22095. "creditincrease": {
  22096. "description": "今日授信增加",
  22097. "type": "number"
  22098. },
  22099. "currencyid": {
  22100. "description": "货币ID",
  22101. "type": "integer"
  22102. },
  22103. "currentbalance": {
  22104. "description": "期末余额",
  22105. "type": "number"
  22106. },
  22107. "freezecharge": {
  22108. "description": "手续费冻结",
  22109. "type": "number"
  22110. },
  22111. "freezemargin": {
  22112. "description": "冻结保证金",
  22113. "type": "number"
  22114. },
  22115. "fromaccountid": {
  22116. "description": "所属上级账户",
  22117. "type": "integer"
  22118. },
  22119. "inamount": {
  22120. "description": "今日入金金额(包括三方入金)",
  22121. "type": "number"
  22122. },
  22123. "ismain": {
  22124. "description": "是否母账号 0:不是母账户 1:是母账户",
  22125. "type": "integer"
  22126. },
  22127. "ismarketaccount": {
  22128. "description": "是否机构接单账号 0:不是 1:是",
  22129. "type": "integer"
  22130. },
  22131. "isreckonaccount": {
  22132. "description": "是否机构分润账号 0:不是 1:是",
  22133. "type": "integer"
  22134. },
  22135. "mortgagecredit": {
  22136. "description": "授信金额",
  22137. "type": "number"
  22138. },
  22139. "orifreezecharge": {
  22140. "description": "期初手续费冻结",
  22141. "type": "number"
  22142. },
  22143. "orifreezemargin": {
  22144. "description": "期初冻结保证金",
  22145. "type": "number"
  22146. },
  22147. "orimortgagecredit": {
  22148. "description": "期初授信金额",
  22149. "type": "number"
  22150. },
  22151. "oriothercredit": {
  22152. "description": "期初其它授信金额",
  22153. "type": "number"
  22154. },
  22155. "oriotherfreezemargin": {
  22156. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22157. "type": "number"
  22158. },
  22159. "orioutamountfreeze": {
  22160. "description": "期初出金冻结",
  22161. "type": "number"
  22162. },
  22163. "oriusedmargin": {
  22164. "description": "期初占用保证金",
  22165. "type": "number"
  22166. },
  22167. "othercredit": {
  22168. "description": "其它授信金额",
  22169. "type": "number"
  22170. },
  22171. "othercreditdecrease": {
  22172. "description": "今日其它授信减少",
  22173. "type": "number"
  22174. },
  22175. "othercreditincrease": {
  22176. "description": "今日其它授信增加",
  22177. "type": "number"
  22178. },
  22179. "otherfreezemargin": {
  22180. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22181. "type": "number"
  22182. },
  22183. "otherincome": {
  22184. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22185. "type": "number"
  22186. },
  22187. "otherpay": {
  22188. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22189. "type": "number"
  22190. },
  22191. "outamount": {
  22192. "description": "今日出金金额(包括三方出金)",
  22193. "type": "number"
  22194. },
  22195. "outamountfreeze": {
  22196. "description": "出金冻结",
  22197. "type": "number"
  22198. },
  22199. "outthreshold": {
  22200. "description": "出金阈值",
  22201. "type": "number"
  22202. },
  22203. "parentaccountid": {
  22204. "description": "所属根账号",
  22205. "type": "integer"
  22206. },
  22207. "paycharge": {
  22208. "description": "今日手续费支出",
  22209. "type": "number"
  22210. },
  22211. "relatedaccountstatus": {
  22212. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22213. "type": "integer"
  22214. },
  22215. "relateduserid": {
  22216. "description": "关联用户",
  22217. "type": "integer"
  22218. },
  22219. "serivcegroup": {
  22220. "description": "服务分组",
  22221. "type": "integer"
  22222. },
  22223. "signstatus": {
  22224. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22225. "type": "integer"
  22226. },
  22227. "sublevelpath": {
  22228. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22229. "type": "string"
  22230. },
  22231. "taaccounttype": {
  22232. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22233. "type": "integer"
  22234. },
  22235. "thirdinamount": {
  22236. "description": "今日三方入金",
  22237. "type": "number"
  22238. },
  22239. "thirdoutamount": {
  22240. "description": "今日三方出金",
  22241. "type": "number"
  22242. },
  22243. "tradestatus": {
  22244. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22245. "type": "integer"
  22246. },
  22247. "tradestatuschangetime": {
  22248. "description": "激活时间",
  22249. "type": "string"
  22250. },
  22251. "transferamount": {
  22252. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22253. "type": "number"
  22254. },
  22255. "usedmargin": {
  22256. "description": "占用保证金",
  22257. "type": "number"
  22258. },
  22259. "userid": {
  22260. "description": "用户ID",
  22261. "type": "integer"
  22262. }
  22263. }
  22264. },
  22265. "models.Tablecolumnconfig": {
  22266. "type": "object",
  22267. "required": [
  22268. "autoid"
  22269. ],
  22270. "properties": {
  22271. "aligntype": {
  22272. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22273. "type": "integer"
  22274. },
  22275. "autoid": {
  22276. "description": "AutoID",
  22277. "type": "integer"
  22278. },
  22279. "columnfield": {
  22280. "description": "列字段",
  22281. "type": "string"
  22282. },
  22283. "columntitle": {
  22284. "description": "列Title",
  22285. "type": "string"
  22286. },
  22287. "columnwidth": {
  22288. "description": "列宽",
  22289. "type": "string"
  22290. },
  22291. "formatterstring": {
  22292. "description": "格式化字符",
  22293. "type": "string"
  22294. },
  22295. "formattertype": {
  22296. "description": "格式化类型",
  22297. "type": "string"
  22298. },
  22299. "groupname": {
  22300. "description": "表头分组名称",
  22301. "type": "string"
  22302. },
  22303. "isshow": {
  22304. "description": "是否显示 - 0:不显示 1:显示",
  22305. "type": "integer"
  22306. },
  22307. "needsummary": {
  22308. "description": "是否需要汇总 - 0:不需要 1:需要",
  22309. "type": "integer"
  22310. },
  22311. "orderindex": {
  22312. "description": "顺序",
  22313. "type": "integer"
  22314. },
  22315. "remark": {
  22316. "description": "备注",
  22317. "type": "string"
  22318. },
  22319. "summarytype": {
  22320. "description": "汇总类型 - 1:加总 2:最后一个",
  22321. "type": "integer"
  22322. },
  22323. "tablekey": {
  22324. "description": "列表Key",
  22325. "type": "string"
  22326. }
  22327. }
  22328. },
  22329. "models.Useraccount": {
  22330. "type": "object",
  22331. "required": [
  22332. "userid"
  22333. ],
  22334. "properties": {
  22335. "accountname": {
  22336. "description": "账户名称(机构名称)",
  22337. "type": "string"
  22338. },
  22339. "accountstatus": {
  22340. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22341. "type": "integer"
  22342. },
  22343. "auditremark": {
  22344. "description": "审核备注",
  22345. "type": "string"
  22346. },
  22347. "audittime": {
  22348. "description": "审核时间",
  22349. "type": "string"
  22350. },
  22351. "audituserid": {
  22352. "description": "审核人",
  22353. "type": "integer"
  22354. },
  22355. "broker": {
  22356. "description": "所属经纪人ID",
  22357. "type": "integer"
  22358. },
  22359. "canceltime": {
  22360. "description": "销户时间",
  22361. "type": "string"
  22362. },
  22363. "canceluserid": {
  22364. "description": "销户人",
  22365. "type": "integer"
  22366. },
  22367. "createtime": {
  22368. "description": "创建时间",
  22369. "type": "string"
  22370. },
  22371. "creatorid": {
  22372. "description": "创建人",
  22373. "type": "integer"
  22374. },
  22375. "hasauth": {
  22376. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22377. "type": "integer"
  22378. },
  22379. "isanonymous": {
  22380. "description": "是否匿名下单 - 0:否 1:是",
  22381. "type": "integer"
  22382. },
  22383. "maxinvestornum": {
  22384. "description": "最大用户数(经纪会员下投资者个数)",
  22385. "type": "integer"
  22386. },
  22387. "memberuserid": {
  22388. "description": "所属会员ID",
  22389. "type": "integer"
  22390. },
  22391. "modifierid": {
  22392. "description": "修改人",
  22393. "type": "integer"
  22394. },
  22395. "modifyremark": {
  22396. "description": "变更备注",
  22397. "type": "string"
  22398. },
  22399. "modifystatus": {
  22400. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22401. "type": "integer"
  22402. },
  22403. "modifytime": {
  22404. "description": "修改时间",
  22405. "type": "string"
  22406. },
  22407. "parentuserid": {
  22408. "description": "所属机构ID",
  22409. "type": "integer"
  22410. },
  22411. "reckonaccountid": {
  22412. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22413. "type": "integer"
  22414. },
  22415. "refercount": {
  22416. "description": "推荐总人数",
  22417. "type": "integer"
  22418. },
  22419. "refereeuserid": {
  22420. "description": "推荐人ID",
  22421. "type": "integer"
  22422. },
  22423. "refernum": {
  22424. "description": "推荐码",
  22425. "type": "string"
  22426. },
  22427. "subarealevelpath": {
  22428. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22429. "type": "string"
  22430. },
  22431. "userid": {
  22432. "description": "用户ID",
  22433. "type": "integer"
  22434. },
  22435. "usertype": {
  22436. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22437. "type": "integer"
  22438. }
  22439. }
  22440. },
  22441. "models.Userfavoritegoods": {
  22442. "type": "object",
  22443. "required": [
  22444. "goodsid"
  22445. ],
  22446. "properties": {
  22447. "goodsid": {
  22448. "description": "商品ID",
  22449. "type": "integer"
  22450. }
  22451. }
  22452. },
  22453. "models.Userinfo": {
  22454. "type": "object",
  22455. "required": [
  22456. "userid"
  22457. ],
  22458. "properties": {
  22459. "address": {
  22460. "description": "地址",
  22461. "type": "string"
  22462. },
  22463. "attachment1": {
  22464. "description": "附件1",
  22465. "type": "string"
  22466. },
  22467. "attachment2": {
  22468. "description": "附件2",
  22469. "type": "string"
  22470. },
  22471. "bankaccount": {
  22472. "description": "银行帐号 (加密存储)",
  22473. "type": "string"
  22474. },
  22475. "bankaccountname": {
  22476. "description": "收款人名称",
  22477. "type": "string"
  22478. },
  22479. "bankcardfrontphotourl": {
  22480. "description": "银行卡正面照地址",
  22481. "type": "string"
  22482. },
  22483. "bankid": {
  22484. "description": "银行编码",
  22485. "type": "string"
  22486. },
  22487. "bankname": {
  22488. "description": "银行名称",
  22489. "type": "string"
  22490. },
  22491. "biznature": {
  22492. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22493. "type": "integer"
  22494. },
  22495. "bizscope": {
  22496. "description": "企业经营范围(企业)",
  22497. "type": "string"
  22498. },
  22499. "cardbackphotourl": {
  22500. "description": "证件背面图片地址",
  22501. "type": "string"
  22502. },
  22503. "cardfrontphotourl": {
  22504. "description": "证件正面图片地址",
  22505. "type": "string"
  22506. },
  22507. "cardnum": {
  22508. "description": "证件号码(加密存储)",
  22509. "type": "string"
  22510. },
  22511. "cardtypeid": {
  22512. "description": "证件类型ID",
  22513. "type": "integer"
  22514. },
  22515. "cityid": {
  22516. "description": "市",
  22517. "type": "integer"
  22518. },
  22519. "company": {
  22520. "description": "公司(个人)",
  22521. "type": "string"
  22522. },
  22523. "contactname": {
  22524. "description": "联系人",
  22525. "type": "string"
  22526. },
  22527. "countryid": {
  22528. "description": "国家",
  22529. "type": "integer"
  22530. },
  22531. "createtime": {
  22532. "description": "创建时间",
  22533. "type": "string"
  22534. },
  22535. "creatorid": {
  22536. "description": "创建人",
  22537. "type": "integer"
  22538. },
  22539. "customername": {
  22540. "description": "客户名称(企业名称)",
  22541. "type": "string"
  22542. },
  22543. "districtid": {
  22544. "description": "地区",
  22545. "type": "integer"
  22546. },
  22547. "email": {
  22548. "description": "邮件(加密存储)",
  22549. "type": "string"
  22550. },
  22551. "fax": {
  22552. "description": "传真(加密存储)",
  22553. "type": "string"
  22554. },
  22555. "halfbodyphotourl": {
  22556. "description": "半身照地址",
  22557. "type": "string"
  22558. },
  22559. "hasencrypt": {
  22560. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22561. "type": "integer"
  22562. },
  22563. "headurl": {
  22564. "description": "头像地址",
  22565. "type": "string"
  22566. },
  22567. "legalcardbackphotourl": {
  22568. "description": "法人身份证背面照地址",
  22569. "type": "string"
  22570. },
  22571. "legalcardfrontphotourl": {
  22572. "description": "法人身份证正面照地址",
  22573. "type": "string"
  22574. },
  22575. "legalpersonname": {
  22576. "description": "法人姓名(企业)",
  22577. "type": "string"
  22578. },
  22579. "mobile": {
  22580. "description": "手机号码(加密存储)",
  22581. "type": "string"
  22582. },
  22583. "mobile2": {
  22584. "description": "手机号码[明文-尚志]",
  22585. "type": "string"
  22586. },
  22587. "modifierid": {
  22588. "description": "修改人",
  22589. "type": "integer"
  22590. },
  22591. "modifiertime": {
  22592. "description": "修改时间",
  22593. "type": "string"
  22594. },
  22595. "needinvoice": {
  22596. "description": "是否需要发票 - 0:不需要 1:需要",
  22597. "type": "integer"
  22598. },
  22599. "nickname": {
  22600. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22601. "type": "string"
  22602. },
  22603. "openmode": {
  22604. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22605. "type": "integer"
  22606. },
  22607. "otherurl": {
  22608. "description": "其它图片地址[使用分号分隔]",
  22609. "type": "string"
  22610. },
  22611. "postalcode": {
  22612. "description": "邮政编码",
  22613. "type": "string"
  22614. },
  22615. "provinceid": {
  22616. "description": "省",
  22617. "type": "integer"
  22618. },
  22619. "qq": {
  22620. "description": "QQ(加密存储",
  22621. "type": "string"
  22622. },
  22623. "remark": {
  22624. "description": "备注",
  22625. "type": "string"
  22626. },
  22627. "sex": {
  22628. "description": "用户性别 0: 女 1: 男",
  22629. "type": "integer"
  22630. },
  22631. "signpdfurl": {
  22632. "description": "签约pdf文件",
  22633. "type": "string"
  22634. },
  22635. "telphone": {
  22636. "description": "联系电话(加密存储)",
  22637. "type": "string"
  22638. },
  22639. "userid": {
  22640. "description": "用户ID",
  22641. "type": "integer"
  22642. },
  22643. "userinfotype": {
  22644. "description": "用户信息类型 - 1:个人 2:企业",
  22645. "type": "integer"
  22646. },
  22647. "userstatus": {
  22648. "description": "用户状态 - 1:正常 2:注销",
  22649. "type": "integer"
  22650. },
  22651. "usertype": {
  22652. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22653. "type": "integer"
  22654. },
  22655. "wechat": {
  22656. "description": "微信(加密存储)",
  22657. "type": "string"
  22658. },
  22659. "wskhinfo": {
  22660. "description": "开户申请信息(JSON)",
  22661. "type": "string"
  22662. }
  22663. }
  22664. },
  22665. "models.WRSConverTDetail": {
  22666. "type": "object",
  22667. "properties": {
  22668. "convertratio": {
  22669. "description": "套保系数",
  22670. "type": "number"
  22671. },
  22672. "deliverygoodscode": {
  22673. "description": "现货商品代码",
  22674. "type": "string"
  22675. },
  22676. "deliverygoodsid": {
  22677. "description": "现货品种ID",
  22678. "type": "integer"
  22679. },
  22680. "deliverygoodsname": {
  22681. "description": "现货商品名称",
  22682. "type": "string"
  22683. },
  22684. "enumdicname": {
  22685. "description": "单位名称",
  22686. "type": "string"
  22687. },
  22688. "goodsunitid": {
  22689. "description": "套保品种单位id",
  22690. "type": "integer"
  22691. },
  22692. "middlegoodscode": {
  22693. "description": "套保品种代码",
  22694. "type": "string"
  22695. },
  22696. "middlegoodsid": {
  22697. "description": "套保品种ID",
  22698. "type": "integer"
  22699. },
  22700. "middlegoodsname": {
  22701. "description": "套保品种名称",
  22702. "type": "string"
  22703. },
  22704. "modifytime": {
  22705. "description": "修改时间",
  22706. "type": "string"
  22707. },
  22708. "wrstandardid": {
  22709. "description": "品类ID",
  22710. "type": "integer"
  22711. }
  22712. }
  22713. },
  22714. "models.WRStandardInfo": {
  22715. "type": "object",
  22716. "required": [
  22717. "wrstandardid"
  22718. ],
  22719. "properties": {
  22720. "areauserid": {
  22721. "description": "所属机构",
  22722. "type": "integer"
  22723. },
  22724. "convertfactor": {
  22725. "description": "标仓系数",
  22726. "type": "number"
  22727. },
  22728. "createtime": {
  22729. "description": "创建时间",
  22730. "type": "string"
  22731. },
  22732. "creatorid": {
  22733. "description": "创建人",
  22734. "type": "integer"
  22735. },
  22736. "deliverygoodsid": {
  22737. "description": "品种ID",
  22738. "type": "integer"
  22739. },
  22740. "deliverygoodsname": {
  22741. "description": "交割商品名称",
  22742. "type": "string"
  22743. },
  22744. "factoryitemjson": {
  22745. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22746. "type": "string"
  22747. },
  22748. "isvalid": {
  22749. "description": "是否有效 - 0:无效 1:有效",
  22750. "type": "integer"
  22751. },
  22752. "minivalue": {
  22753. "description": "最小变动值",
  22754. "type": "integer"
  22755. },
  22756. "minivaluedp": {
  22757. "description": "最小变动值小数位",
  22758. "type": "integer"
  22759. },
  22760. "realminivalue": {
  22761. "description": "实际最小变动值",
  22762. "type": "integer"
  22763. },
  22764. "realminivaluedp": {
  22765. "description": "实际最小变动值小数位",
  22766. "type": "integer"
  22767. },
  22768. "remark": {
  22769. "description": "备注",
  22770. "type": "string"
  22771. },
  22772. "unitid": {
  22773. "description": "单位ID",
  22774. "type": "integer"
  22775. },
  22776. "unitname": {
  22777. "description": "单位",
  22778. "type": "string"
  22779. },
  22780. "updatetime": {
  22781. "description": "更新时间",
  22782. "type": "string"
  22783. },
  22784. "updatorid": {
  22785. "description": "更新人",
  22786. "type": "integer"
  22787. },
  22788. "wrsstatus": {
  22789. "description": "状态 - 作废 - 0:未激活 1:正常",
  22790. "type": "integer"
  22791. },
  22792. "wrstandardcode": {
  22793. "description": "现货品类代码",
  22794. "type": "string"
  22795. },
  22796. "wrstandardid": {
  22797. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22798. "type": "integer"
  22799. },
  22800. "wrstandardname": {
  22801. "description": "现货品类名称",
  22802. "type": "string"
  22803. }
  22804. }
  22805. },
  22806. "models.Warehouseinfo": {
  22807. "type": "object",
  22808. "required": [
  22809. "autoid",
  22810. "warehousecode"
  22811. ],
  22812. "properties": {
  22813. "address": {
  22814. "description": "详细地址",
  22815. "type": "string"
  22816. },
  22817. "areauserid": {
  22818. "description": "所属机构",
  22819. "type": "integer"
  22820. },
  22821. "autoid": {
  22822. "description": "自增ID",
  22823. "type": "integer"
  22824. },
  22825. "cityid": {
  22826. "description": "市",
  22827. "type": "integer"
  22828. },
  22829. "contactname": {
  22830. "description": "联系人",
  22831. "type": "string"
  22832. },
  22833. "contactnum": {
  22834. "description": "联系电话",
  22835. "type": "string"
  22836. },
  22837. "countryid": {
  22838. "description": "国家",
  22839. "type": "integer"
  22840. },
  22841. "createtime": {
  22842. "description": "创建时间",
  22843. "type": "string"
  22844. },
  22845. "districtid": {
  22846. "description": "区",
  22847. "type": "integer"
  22848. },
  22849. "hasvideo": {
  22850. "description": "是否有视频 - 0:无 1:有",
  22851. "type": "integer"
  22852. },
  22853. "provinceid": {
  22854. "description": "省",
  22855. "type": "integer"
  22856. },
  22857. "remark": {
  22858. "description": "审核备注",
  22859. "type": "string"
  22860. },
  22861. "videourl": {
  22862. "description": "视频地址",
  22863. "type": "string"
  22864. },
  22865. "warehousecode": {
  22866. "description": "仓库代码",
  22867. "type": "string"
  22868. },
  22869. "warehousename": {
  22870. "description": "仓库名称",
  22871. "type": "string"
  22872. },
  22873. "warehousestatus": {
  22874. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22875. "type": "integer"
  22876. },
  22877. "warehousetype": {
  22878. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22879. "type": "integer"
  22880. }
  22881. }
  22882. },
  22883. "order.QueryHisTradeDetailRsp": {
  22884. "type": "object",
  22885. "required": [
  22886. "accountid",
  22887. "buyorsell",
  22888. "goodsid",
  22889. "histradedate",
  22890. "marketid",
  22891. "memberuserid",
  22892. "orderid",
  22893. "tradeamount",
  22894. "tradedate",
  22895. "tradeid",
  22896. "tradeprice",
  22897. "tradeqty",
  22898. "tradetime"
  22899. ],
  22900. "properties": {
  22901. "accountid": {
  22902. "description": "账户ID[报价币种]",
  22903. "type": "integer"
  22904. },
  22905. "buildtype": {
  22906. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22907. "type": "integer"
  22908. },
  22909. "buyorsell": {
  22910. "description": "方向 - 0:买 1:卖",
  22911. "type": "integer"
  22912. },
  22913. "charge": {
  22914. "description": "手续费",
  22915. "type": "number"
  22916. },
  22917. "closecharge": {
  22918. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22919. "type": "number"
  22920. },
  22921. "closeexchagechargevalue": {
  22922. "description": "平仓交易所手续费设置值",
  22923. "type": "number"
  22924. },
  22925. "closefeealgorithm": {
  22926. "description": "平仓手续费收取方式 1:比率 2:固定",
  22927. "type": "integer"
  22928. },
  22929. "closememberchargevalue": {
  22930. "description": "平仓会员手续费设置值",
  22931. "type": "number"
  22932. },
  22933. "closepl": {
  22934. "description": "平仓盈亏",
  22935. "type": "number"
  22936. },
  22937. "closepl2": {
  22938. "description": "平仓盈亏[逐笔]",
  22939. "type": "number"
  22940. },
  22941. "closeqty": {
  22942. "description": "平仓数量(先建后平操作 需要记录)",
  22943. "type": "integer"
  22944. },
  22945. "creditamount": {
  22946. "description": "授信金额",
  22947. "type": "number"
  22948. },
  22949. "gcaccountid": {
  22950. "description": "账户ID[合约币种]",
  22951. "type": "integer"
  22952. },
  22953. "goodscode": {
  22954. "description": "商品代码",
  22955. "type": "string"
  22956. },
  22957. "goodsid": {
  22958. "description": "商品ID",
  22959. "type": "integer"
  22960. },
  22961. "goodsname": {
  22962. "description": "商品名称",
  22963. "type": "string"
  22964. },
  22965. "histradedate": {
  22966. "description": "历史交易日",
  22967. "type": "string"
  22968. },
  22969. "intclosepl": {
  22970. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22971. "type": "integer"
  22972. },
  22973. "isconfirmexercise": {
  22974. "description": "是否确认行权- 0:否 1:是",
  22975. "type": "integer"
  22976. },
  22977. "ismain": {
  22978. "description": "是否主单 - 0:不是 1:是",
  22979. "type": "integer"
  22980. },
  22981. "ispreexercise": {
  22982. "description": "是否预申报- 0:否 1:是",
  22983. "type": "integer"
  22984. },
  22985. "isreckoned": {
  22986. "description": "是否结算 - 0:未结算 1:已结算",
  22987. "type": "integer"
  22988. },
  22989. "isvaliddata": {
  22990. "description": "是否有效 - 0:无效 1:有效",
  22991. "type": "integer"
  22992. },
  22993. "listingselecttype": {
  22994. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22995. "type": "integer"
  22996. },
  22997. "marketid": {
  22998. "description": "市场ID",
  22999. "type": "integer"
  23000. },
  23001. "marketname": {
  23002. "description": "市场名称",
  23003. "type": "string"
  23004. },
  23005. "matchaccountid": {
  23006. "description": "对手账号id",
  23007. "type": "integer"
  23008. },
  23009. "memberuserid": {
  23010. "description": "会员id 个人投资者 需要填写",
  23011. "type": "integer"
  23012. },
  23013. "opencharge": {
  23014. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23015. "type": "number"
  23016. },
  23017. "openexchagechargevalue": {
  23018. "description": "建仓交易所手续费设置值",
  23019. "type": "number"
  23020. },
  23021. "openfeealgorithm": {
  23022. "description": "建仓手续费收取方式 1:比率 2:固定",
  23023. "type": "integer"
  23024. },
  23025. "openmemberchargevalue": {
  23026. "description": "建仓会员手续费设置值",
  23027. "type": "number"
  23028. },
  23029. "openqty": {
  23030. "description": "开仓数量(先建后平操作 需要记录)",
  23031. "type": "integer"
  23032. },
  23033. "optiontype": {
  23034. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23035. "type": "integer"
  23036. },
  23037. "orderid": {
  23038. "description": "委托单号",
  23039. "type": "string"
  23040. },
  23041. "performanceplanid": {
  23042. "description": "履约计划ID[期权]",
  23043. "type": "integer"
  23044. },
  23045. "performancestatus": {
  23046. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23047. "type": "integer"
  23048. },
  23049. "preexerciseprice": {
  23050. "description": "预申报价格",
  23051. "type": "number"
  23052. },
  23053. "premium": {
  23054. "description": "权利金 - [持仓单的权利金]",
  23055. "type": "number"
  23056. },
  23057. "relatedouttradeid": {
  23058. "description": "关联外部成交单ID",
  23059. "type": "integer"
  23060. },
  23061. "status": {
  23062. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23063. "type": "integer"
  23064. },
  23065. "tradeamount": {
  23066. "description": "成交金额[账户币种,用于所有权]",
  23067. "type": "number"
  23068. },
  23069. "tradedate": {
  23070. "description": "交易日(yyyyMMdd)",
  23071. "type": "string"
  23072. },
  23073. "tradeid": {
  23074. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23075. "type": "string"
  23076. },
  23077. "trademode": {
  23078. "description": "交易模式",
  23079. "type": "integer"
  23080. },
  23081. "tradeprice": {
  23082. "description": "成交价格",
  23083. "type": "number"
  23084. },
  23085. "tradeproperty": {
  23086. "description": "交易属性",
  23087. "type": "integer"
  23088. },
  23089. "tradeqty": {
  23090. "description": "成交数量",
  23091. "type": "integer"
  23092. },
  23093. "tradetime": {
  23094. "description": "成交时间",
  23095. "type": "string"
  23096. },
  23097. "tradetype": {
  23098. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23099. "type": "integer"
  23100. }
  23101. }
  23102. },
  23103. "order.QueryHisTradeOrderDetailRsp": {
  23104. "type": "object",
  23105. "required": [
  23106. "accountid",
  23107. "buildtype",
  23108. "buyorsell",
  23109. "goodsid",
  23110. "histradedate",
  23111. "marketid",
  23112. "memberuserid",
  23113. "operatetype",
  23114. "orderid",
  23115. "orderqty",
  23116. "ordertime",
  23117. "pricemode",
  23118. "tradedate",
  23119. "validtype"
  23120. ],
  23121. "properties": {
  23122. "accountid": {
  23123. "description": "账户ID[报价币种]",
  23124. "type": "integer"
  23125. },
  23126. "buildtype": {
  23127. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23128. "type": "integer"
  23129. },
  23130. "buyorsell": {
  23131. "description": "买卖 - 0:买 1:卖",
  23132. "type": "integer"
  23133. },
  23134. "cancelorderid": {
  23135. "description": "撤单单号(撤单时填写)",
  23136. "type": "string"
  23137. },
  23138. "cancelqty": {
  23139. "description": "撤单数量",
  23140. "type": "integer"
  23141. },
  23142. "clientordertime": {
  23143. "description": "客户端委托时间",
  23144. "type": "string"
  23145. },
  23146. "clientticket": {
  23147. "description": "客户端流水号",
  23148. "type": "string"
  23149. },
  23150. "clienttype": {
  23151. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23152. "type": "integer"
  23153. },
  23154. "closeexchagechargevalue": {
  23155. "description": "平仓交易所手续费设置值",
  23156. "type": "number"
  23157. },
  23158. "closefeealgorithm": {
  23159. "description": "平仓手续费收取方式 1:比率 2:固定",
  23160. "type": "integer"
  23161. },
  23162. "closefreezecharge": {
  23163. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23164. "type": "number"
  23165. },
  23166. "closememberchargevalue": {
  23167. "description": "平仓会员手续费设置值",
  23168. "type": "number"
  23169. },
  23170. "closeqty": {
  23171. "description": "平仓数量(先建后平操作 需要记录)",
  23172. "type": "integer"
  23173. },
  23174. "closetradeqty": {
  23175. "description": "平仓成交数量(先建后平操作,需要记录)",
  23176. "type": "integer"
  23177. },
  23178. "closeunfreezecharge": {
  23179. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23180. "type": "number"
  23181. },
  23182. "delistingtype": {
  23183. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23184. "type": "integer"
  23185. },
  23186. "freezecharge": {
  23187. "description": "冻结手续费",
  23188. "type": "number"
  23189. },
  23190. "freezemargin": {
  23191. "description": "冻结保证金(冻结交易金额)",
  23192. "type": "number"
  23193. },
  23194. "gcaccountid": {
  23195. "description": "账户ID[合约币种]",
  23196. "type": "integer"
  23197. },
  23198. "goodscode": {
  23199. "description": "商品代码",
  23200. "type": "string"
  23201. },
  23202. "goodsid": {
  23203. "description": "商品ID",
  23204. "type": "integer"
  23205. },
  23206. "goodsname": {
  23207. "description": "商品名称",
  23208. "type": "string"
  23209. },
  23210. "histradedate": {
  23211. "description": "历史交易日",
  23212. "type": "string"
  23213. },
  23214. "isconfirmexercise": {
  23215. "description": "是否确认行权- 0:否 1:是",
  23216. "type": "integer"
  23217. },
  23218. "ispreexercise": {
  23219. "description": "是否预申报- 0:否 1:是",
  23220. "type": "integer"
  23221. },
  23222. "isvaliddata": {
  23223. "description": "是否有效 - 0:无效 1:有效",
  23224. "type": "integer"
  23225. },
  23226. "listingselecttype": {
  23227. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23228. "type": "integer"
  23229. },
  23230. "marginalgorithm": {
  23231. "description": "保证金收取方式 1:比率 2:固定",
  23232. "type": "integer"
  23233. },
  23234. "marginvalue": {
  23235. "description": "即市保证金设置值",
  23236. "type": "number"
  23237. },
  23238. "marketid": {
  23239. "description": "市场ID",
  23240. "type": "integer"
  23241. },
  23242. "marketmaxsub": {
  23243. "description": "市价最大偏移范围",
  23244. "type": "number"
  23245. },
  23246. "marketname": {
  23247. "description": "市场名称",
  23248. "type": "string"
  23249. },
  23250. "memberuserid": {
  23251. "description": "所属会员UserID",
  23252. "type": "integer"
  23253. },
  23254. "openexchagechargevalue": {
  23255. "description": "建仓交易所手续费设置值",
  23256. "type": "number"
  23257. },
  23258. "openfeealgorithm": {
  23259. "description": "建仓手续费收取方式 1:比率 2:固定",
  23260. "type": "integer"
  23261. },
  23262. "openfreezecharge": {
  23263. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23264. "type": "number"
  23265. },
  23266. "openmemberchargevalue": {
  23267. "description": "建仓会员手续费设置值",
  23268. "type": "number"
  23269. },
  23270. "openqty": {
  23271. "description": "开仓数量(先建后平操作,需要记录)",
  23272. "type": "integer"
  23273. },
  23274. "opentradeqty": {
  23275. "description": "开仓成交数量(先建后平操作,需要记录)",
  23276. "type": "integer"
  23277. },
  23278. "openunfreezecharge": {
  23279. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23280. "type": "number"
  23281. },
  23282. "operatetype": {
  23283. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23284. "type": "integer"
  23285. },
  23286. "operatorid": {
  23287. "description": "登录账号(LoginID)",
  23288. "type": "integer"
  23289. },
  23290. "optiontype": {
  23291. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23292. "type": "integer"
  23293. },
  23294. "orderid": {
  23295. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23296. "type": "string"
  23297. },
  23298. "orderprice": {
  23299. "description": "委托价格",
  23300. "type": "number"
  23301. },
  23302. "orderqty": {
  23303. "description": "委托数量",
  23304. "type": "integer"
  23305. },
  23306. "ordersrc": {
  23307. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23308. "type": "integer"
  23309. },
  23310. "orderstatus": {
  23311. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23312. "type": "integer"
  23313. },
  23314. "ordertime": {
  23315. "description": "委托时间",
  23316. "type": "string"
  23317. },
  23318. "preexerciseprice": {
  23319. "description": "预申报价格",
  23320. "type": "number"
  23321. },
  23322. "premium": {
  23323. "description": "权利金",
  23324. "type": "number"
  23325. },
  23326. "preorderid": {
  23327. "description": "关联预埋单号(止盈止损单时填写)",
  23328. "type": "string"
  23329. },
  23330. "pricemode": {
  23331. "description": "取价方式 - 1:市价 2: 限价",
  23332. "type": "integer"
  23333. },
  23334. "quoteid": {
  23335. "description": "报价单ID",
  23336. "type": "integer"
  23337. },
  23338. "relatedid": {
  23339. "description": "关联单号(交割单)",
  23340. "type": "string"
  23341. },
  23342. "retcode": {
  23343. "description": "错误代码",
  23344. "type": "integer"
  23345. },
  23346. "sessionid": {
  23347. "description": "会话ID",
  23348. "type": "integer"
  23349. },
  23350. "tradedate": {
  23351. "description": "交易日(yyyyMMdd)",
  23352. "type": "string"
  23353. },
  23354. "trademode": {
  23355. "description": "交易模式",
  23356. "type": "integer"
  23357. },
  23358. "tradeproperty": {
  23359. "description": "交易属性",
  23360. "type": "integer"
  23361. },
  23362. "tradeqty": {
  23363. "description": "成交数量",
  23364. "type": "integer"
  23365. },
  23366. "unfreezecharge": {
  23367. "description": "解冻手续费",
  23368. "type": "number"
  23369. },
  23370. "unfreezemargin": {
  23371. "description": "解冻保证金",
  23372. "type": "number"
  23373. },
  23374. "updatetime": {
  23375. "description": "更新时间",
  23376. "type": "string"
  23377. },
  23378. "uuid": {
  23379. "description": "发起端唯一id",
  23380. "type": "string"
  23381. },
  23382. "validtime": {
  23383. "description": "有效期限",
  23384. "type": "string"
  23385. },
  23386. "validtype": {
  23387. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23388. "type": "integer"
  23389. },
  23390. "volumetype": {
  23391. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23392. "type": "integer"
  23393. }
  23394. }
  23395. },
  23396. "order.QueryTradeDetailRsp": {
  23397. "type": "object",
  23398. "required": [
  23399. "accountid",
  23400. "buyorsell",
  23401. "goodsid",
  23402. "marketid",
  23403. "memberuserid",
  23404. "orderid",
  23405. "tradeamount",
  23406. "tradedate",
  23407. "tradeid",
  23408. "tradeprice",
  23409. "tradeqty",
  23410. "tradetime"
  23411. ],
  23412. "properties": {
  23413. "accountid": {
  23414. "description": "账户ID[报价币种]",
  23415. "type": "integer"
  23416. },
  23417. "buildtype": {
  23418. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23419. "type": "integer"
  23420. },
  23421. "buyorsell": {
  23422. "description": "方向 - 0:买 1:卖",
  23423. "type": "integer"
  23424. },
  23425. "charge": {
  23426. "description": "手续费",
  23427. "type": "number"
  23428. },
  23429. "closecharge": {
  23430. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23431. "type": "number"
  23432. },
  23433. "closeexchagechargevalue": {
  23434. "description": "平仓交易所手续费设置值",
  23435. "type": "number"
  23436. },
  23437. "closefeealgorithm": {
  23438. "description": "平仓手续费收取方式 1:比率 2:固定",
  23439. "type": "integer"
  23440. },
  23441. "closememberchargevalue": {
  23442. "description": "平仓会员手续费设置值",
  23443. "type": "number"
  23444. },
  23445. "closepl": {
  23446. "description": "平仓盈亏",
  23447. "type": "number"
  23448. },
  23449. "closepl2": {
  23450. "description": "平仓盈亏[逐笔]",
  23451. "type": "number"
  23452. },
  23453. "closeqty": {
  23454. "description": "平仓数量(先建后平操作 需要记录)",
  23455. "type": "integer"
  23456. },
  23457. "creditamount": {
  23458. "description": "授信金额",
  23459. "type": "number"
  23460. },
  23461. "gcaccountid": {
  23462. "description": "账户ID[合约币种]",
  23463. "type": "integer"
  23464. },
  23465. "goodscode": {
  23466. "description": "商品代码",
  23467. "type": "string"
  23468. },
  23469. "goodsid": {
  23470. "description": "商品ID",
  23471. "type": "integer"
  23472. },
  23473. "goodsname": {
  23474. "description": "商品名称",
  23475. "type": "string"
  23476. },
  23477. "intclosepl": {
  23478. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23479. "type": "integer"
  23480. },
  23481. "isconfirmexercise": {
  23482. "description": "是否确认行权- 0:否 1:是",
  23483. "type": "integer"
  23484. },
  23485. "ismain": {
  23486. "description": "是否主单 - 0:不是 1:是",
  23487. "type": "integer"
  23488. },
  23489. "ispreexercise": {
  23490. "description": "是否预申报- 0:否 1:是",
  23491. "type": "integer"
  23492. },
  23493. "isreckoned": {
  23494. "description": "是否结算 - 0:未结算 1:已结算",
  23495. "type": "integer"
  23496. },
  23497. "listingselecttype": {
  23498. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23499. "type": "integer"
  23500. },
  23501. "marketid": {
  23502. "description": "市场ID",
  23503. "type": "integer"
  23504. },
  23505. "marketname": {
  23506. "description": "市场名称",
  23507. "type": "string"
  23508. },
  23509. "matchaccountid": {
  23510. "description": "对手账号id",
  23511. "type": "integer"
  23512. },
  23513. "memberuserid": {
  23514. "description": "会员id 个人投资者 需要填写",
  23515. "type": "integer"
  23516. },
  23517. "opencharge": {
  23518. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23519. "type": "number"
  23520. },
  23521. "openexchagechargevalue": {
  23522. "description": "建仓交易所手续费设置值",
  23523. "type": "number"
  23524. },
  23525. "openfeealgorithm": {
  23526. "description": "建仓手续费收取方式 1:比率 2:固定",
  23527. "type": "integer"
  23528. },
  23529. "openmemberchargevalue": {
  23530. "description": "建仓会员手续费设置值",
  23531. "type": "number"
  23532. },
  23533. "openqty": {
  23534. "description": "开仓数量(先建后平操作 需要记录)",
  23535. "type": "integer"
  23536. },
  23537. "optiontype": {
  23538. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23539. "type": "integer"
  23540. },
  23541. "orderid": {
  23542. "description": "委托单号",
  23543. "type": "string"
  23544. },
  23545. "performanceplanid": {
  23546. "description": "履约计划ID[期权]",
  23547. "type": "integer"
  23548. },
  23549. "performancestatus": {
  23550. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23551. "type": "integer"
  23552. },
  23553. "preexerciseprice": {
  23554. "description": "预申报价格",
  23555. "type": "number"
  23556. },
  23557. "premium": {
  23558. "description": "权利金 - [持仓单的权利金]",
  23559. "type": "number"
  23560. },
  23561. "relatedouttradeid": {
  23562. "description": "关联外部成交单ID",
  23563. "type": "integer"
  23564. },
  23565. "status": {
  23566. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23567. "type": "integer"
  23568. },
  23569. "tradeamount": {
  23570. "description": "成交金额[账户币种,用于所有权]",
  23571. "type": "number"
  23572. },
  23573. "tradedate": {
  23574. "description": "交易日(yyyyMMdd)",
  23575. "type": "string"
  23576. },
  23577. "tradeid": {
  23578. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23579. "type": "string"
  23580. },
  23581. "trademode": {
  23582. "description": "交易模式",
  23583. "type": "integer"
  23584. },
  23585. "tradeprice": {
  23586. "description": "成交价格",
  23587. "type": "number"
  23588. },
  23589. "tradeproperty": {
  23590. "description": "交易属性",
  23591. "type": "integer"
  23592. },
  23593. "tradeqty": {
  23594. "description": "成交数量",
  23595. "type": "integer"
  23596. },
  23597. "tradetime": {
  23598. "description": "成交时间",
  23599. "type": "string"
  23600. },
  23601. "tradetype": {
  23602. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23603. "type": "integer"
  23604. }
  23605. }
  23606. },
  23607. "order.QueryTradeOrderDetailRsp": {
  23608. "type": "object",
  23609. "required": [
  23610. "accountid",
  23611. "buildtype",
  23612. "buyorsell",
  23613. "goodsid",
  23614. "marketid",
  23615. "operatetype",
  23616. "orderqty",
  23617. "ordertime",
  23618. "pricemode",
  23619. "tradedate",
  23620. "validtype"
  23621. ],
  23622. "properties": {
  23623. "accountid": {
  23624. "description": "账户ID[报价币种]",
  23625. "type": "integer"
  23626. },
  23627. "buildtype": {
  23628. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23629. "type": "integer"
  23630. },
  23631. "buyorsell": {
  23632. "description": "买卖 - 0:买 1:卖",
  23633. "type": "integer"
  23634. },
  23635. "cancelorderid": {
  23636. "description": "撤单单号(撤单时填写)",
  23637. "type": "string"
  23638. },
  23639. "cancelqty": {
  23640. "description": "撤单数量",
  23641. "type": "integer"
  23642. },
  23643. "clienttype": {
  23644. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23645. "type": "integer"
  23646. },
  23647. "closefreezecharge": {
  23648. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23649. "type": "number"
  23650. },
  23651. "closeqty": {
  23652. "description": "平仓数量(先建后平操作 需要记录)",
  23653. "type": "integer"
  23654. },
  23655. "closetradeqty": {
  23656. "description": "平仓成交数量(先建后平操作,需要记录)",
  23657. "type": "integer"
  23658. },
  23659. "closeunfreezecharge": {
  23660. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23661. "type": "number"
  23662. },
  23663. "delistingtype": {
  23664. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23665. "type": "integer"
  23666. },
  23667. "enableqty": {
  23668. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23669. "type": "integer"
  23670. },
  23671. "freezecharge": {
  23672. "description": "冻结手续费",
  23673. "type": "number"
  23674. },
  23675. "freezemargin": {
  23676. "description": "冻结保证金(冻结交易金额)",
  23677. "type": "number"
  23678. },
  23679. "goodscode": {
  23680. "description": "商品代码",
  23681. "type": "string"
  23682. },
  23683. "goodsid": {
  23684. "description": "商品ID",
  23685. "type": "integer"
  23686. },
  23687. "goodsname": {
  23688. "description": "商品名称",
  23689. "type": "string"
  23690. },
  23691. "listingselecttype": {
  23692. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23693. "type": "integer"
  23694. },
  23695. "marketid": {
  23696. "description": "市场ID",
  23697. "type": "integer"
  23698. },
  23699. "marketname": {
  23700. "description": "市场名称",
  23701. "type": "string"
  23702. },
  23703. "openfreezecharge": {
  23704. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23705. "type": "number"
  23706. },
  23707. "openqty": {
  23708. "description": "开仓数量(先建后平操作,需要记录)",
  23709. "type": "integer"
  23710. },
  23711. "opentradeqty": {
  23712. "description": "开仓成交数量(先建后平操作,需要记录)",
  23713. "type": "integer"
  23714. },
  23715. "openunfreezecharge": {
  23716. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23717. "type": "number"
  23718. },
  23719. "operatetype": {
  23720. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23721. "type": "integer"
  23722. },
  23723. "operatorid": {
  23724. "description": "登录账号(LoginID)",
  23725. "type": "integer"
  23726. },
  23727. "orderid": {
  23728. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23729. "type": "string"
  23730. },
  23731. "orderprice": {
  23732. "description": "委托价格",
  23733. "type": "number"
  23734. },
  23735. "orderqty": {
  23736. "description": "委托数量",
  23737. "type": "integer"
  23738. },
  23739. "ordersrc": {
  23740. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23741. "type": "integer"
  23742. },
  23743. "orderstatus": {
  23744. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23745. "type": "integer"
  23746. },
  23747. "ordertime": {
  23748. "description": "委托时间",
  23749. "type": "string"
  23750. },
  23751. "preorderid": {
  23752. "description": "关联预埋单号(止盈止损单时填写)",
  23753. "type": "string"
  23754. },
  23755. "pricemode": {
  23756. "description": "取价方式 - 1:市价 2: 限价",
  23757. "type": "integer"
  23758. },
  23759. "relatedid": {
  23760. "description": "关联单号(交割单)",
  23761. "type": "string"
  23762. },
  23763. "tradedate": {
  23764. "description": "交易日(yyyyMMdd)",
  23765. "type": "string"
  23766. },
  23767. "trademode": {
  23768. "description": "交易模式",
  23769. "type": "integer"
  23770. },
  23771. "tradeqty": {
  23772. "description": "成交数量",
  23773. "type": "integer"
  23774. },
  23775. "unfreezecharge": {
  23776. "description": "解冻手续费",
  23777. "type": "number"
  23778. },
  23779. "unfreezemargin": {
  23780. "description": "解冻保证金",
  23781. "type": "number"
  23782. },
  23783. "validtime": {
  23784. "description": "有效期限",
  23785. "type": "string"
  23786. },
  23787. "validtype": {
  23788. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23789. "type": "integer"
  23790. },
  23791. "volumetype": {
  23792. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23793. "type": "integer"
  23794. }
  23795. }
  23796. },
  23797. "order.QueryTradePositionRsp": {
  23798. "type": "object",
  23799. "required": [
  23800. "goodsid"
  23801. ],
  23802. "properties": {
  23803. "accountid": {
  23804. "description": "资金账户",
  23805. "type": "integer"
  23806. },
  23807. "agreeunit": {
  23808. "description": "合约单位",
  23809. "type": "number"
  23810. },
  23811. "averageprice": {
  23812. "description": "持仓均价",
  23813. "type": "number"
  23814. },
  23815. "buyorsell": {
  23816. "description": "方向 - 0:买 1:卖",
  23817. "type": "integer"
  23818. },
  23819. "closetotalqty": {
  23820. "description": "平仓总数量",
  23821. "type": "integer"
  23822. },
  23823. "curholderamount": {
  23824. "description": "当前持仓总金额[商品币种]",
  23825. "type": "number"
  23826. },
  23827. "curpositionqty": {
  23828. "description": "当前持仓总数量",
  23829. "type": "integer"
  23830. },
  23831. "currencyid": {
  23832. "description": "报价货币ID",
  23833. "type": "integer"
  23834. },
  23835. "curtdposition": {
  23836. "description": "期末今日头寸",
  23837. "type": "integer"
  23838. },
  23839. "decimalplace": {
  23840. "description": "报价小数位",
  23841. "type": "integer"
  23842. },
  23843. "enableqty": {
  23844. "description": "可用量",
  23845. "type": "integer"
  23846. },
  23847. "fretdposition": {
  23848. "description": "冻结今日头寸",
  23849. "type": "integer"
  23850. },
  23851. "frozenqty": {
  23852. "description": "持仓冻结数量",
  23853. "type": "integer"
  23854. },
  23855. "goodscode": {
  23856. "description": "商品代码",
  23857. "type": "string"
  23858. },
  23859. "goodsid": {
  23860. "description": "商品Id",
  23861. "type": "integer"
  23862. },
  23863. "goodsname": {
  23864. "description": "商品名称",
  23865. "type": "string"
  23866. },
  23867. "goodunit": {
  23868. "description": "报价单位",
  23869. "type": "string"
  23870. },
  23871. "goodunitid": {
  23872. "description": "报价单位ID",
  23873. "type": "integer"
  23874. },
  23875. "holderamount": {
  23876. "description": "期初持仓总金额[商品币种]",
  23877. "type": "number"
  23878. },
  23879. "marketid": {
  23880. "description": "所属市场ID",
  23881. "type": "integer"
  23882. },
  23883. "openreqqty": {
  23884. "description": "开仓申请数量(用于比较最大持仓数量)",
  23885. "type": "integer"
  23886. },
  23887. "opentotalqty": {
  23888. "description": "开仓总数量",
  23889. "type": "integer"
  23890. },
  23891. "otherfrozenqty": {
  23892. "description": "持仓其他冻结数量(交割冻结)",
  23893. "type": "integer"
  23894. },
  23895. "positionqty": {
  23896. "description": "期初持仓数量",
  23897. "type": "integer"
  23898. },
  23899. "tnqty": {
  23900. "description": "T+N冻结总量",
  23901. "type": "integer"
  23902. },
  23903. "tnusedqty": {
  23904. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23905. "type": "integer"
  23906. },
  23907. "trademode": {
  23908. "description": "交易模式",
  23909. "type": "integer"
  23910. },
  23911. "usedmargin": {
  23912. "description": "占用保证金[商品币种]",
  23913. "type": "number"
  23914. }
  23915. }
  23916. },
  23917. "quote.HistoryData": {
  23918. "type": "object",
  23919. "properties": {
  23920. "c": {
  23921. "description": "收盘价",
  23922. "type": "number"
  23923. },
  23924. "f": {
  23925. "description": "是否补充数据",
  23926. "type": "boolean"
  23927. },
  23928. "h": {
  23929. "description": "最高价",
  23930. "type": "number"
  23931. },
  23932. "hv": {
  23933. "description": "持仓量",
  23934. "type": "integer"
  23935. },
  23936. "l": {
  23937. "description": "最低价",
  23938. "type": "number"
  23939. },
  23940. "o": {
  23941. "description": "开盘价",
  23942. "type": "number"
  23943. },
  23944. "s": {
  23945. "description": "结算价,日线周期(包括)以上才有",
  23946. "type": "number"
  23947. },
  23948. "ts": {
  23949. "description": "时间",
  23950. "type": "string"
  23951. },
  23952. "tt": {
  23953. "description": "总金额",
  23954. "type": "number"
  23955. },
  23956. "tv": {
  23957. "description": "总量",
  23958. "type": "integer"
  23959. }
  23960. }
  23961. },
  23962. "quote.HistoryTikData": {
  23963. "type": "object",
  23964. "properties": {
  23965. "AV": {
  23966. "description": "卖量",
  23967. "type": "integer"
  23968. },
  23969. "Ask": {
  23970. "description": "卖价",
  23971. "type": "number"
  23972. },
  23973. "BV": {
  23974. "description": "买量",
  23975. "type": "integer"
  23976. },
  23977. "Bid": {
  23978. "description": "买价",
  23979. "type": "number"
  23980. },
  23981. "HI": {
  23982. "description": "单笔持仓",
  23983. "type": "integer"
  23984. },
  23985. "HV": {
  23986. "description": "持仓量",
  23987. "type": "integer"
  23988. },
  23989. "PE": {
  23990. "description": "现价",
  23991. "type": "number"
  23992. },
  23993. "TDR": {
  23994. "description": "交易方向,0:买 1:卖",
  23995. "type": "integer"
  23996. },
  23997. "TK": {
  23998. "description": "交易类型",
  23999. "type": "integer"
  24000. },
  24001. "TS": {
  24002. "description": "行情时间文本",
  24003. "type": "string"
  24004. },
  24005. "TT": {
  24006. "description": "现金额",
  24007. "type": "number"
  24008. },
  24009. "Vol": {
  24010. "description": "现量",
  24011. "type": "integer"
  24012. }
  24013. }
  24014. },
  24015. "quote.QueryQuoteDayRsp": {
  24016. "type": "object",
  24017. "properties": {
  24018. "ask": {
  24019. "description": "卖1",
  24020. "type": "number"
  24021. },
  24022. "ask10": {
  24023. "description": "卖10",
  24024. "type": "number"
  24025. },
  24026. "ask2": {
  24027. "description": "卖2",
  24028. "type": "number"
  24029. },
  24030. "ask3": {
  24031. "description": "卖3",
  24032. "type": "number"
  24033. },
  24034. "ask4": {
  24035. "description": "卖4",
  24036. "type": "number"
  24037. },
  24038. "ask5": {
  24039. "description": "卖5",
  24040. "type": "number"
  24041. },
  24042. "ask6": {
  24043. "description": "卖6",
  24044. "type": "number"
  24045. },
  24046. "ask7": {
  24047. "description": "卖7",
  24048. "type": "number"
  24049. },
  24050. "ask8": {
  24051. "description": "卖8",
  24052. "type": "number"
  24053. },
  24054. "ask9": {
  24055. "description": "卖9",
  24056. "type": "number"
  24057. },
  24058. "askorderid": {
  24059. "description": "卖单号1",
  24060. "type": "integer"
  24061. },
  24062. "askorderid2": {
  24063. "description": "卖单号2",
  24064. "type": "integer"
  24065. },
  24066. "askorderid3": {
  24067. "description": "卖单号3",
  24068. "type": "integer"
  24069. },
  24070. "askorderid4": {
  24071. "description": "卖单号4",
  24072. "type": "integer"
  24073. },
  24074. "askorderid5": {
  24075. "description": "卖单号5",
  24076. "type": "integer"
  24077. },
  24078. "askordervolume": {
  24079. "description": "卖单量1",
  24080. "type": "integer"
  24081. },
  24082. "askordervolume10": {
  24083. "description": "卖单量10",
  24084. "type": "integer"
  24085. },
  24086. "askordervolume2": {
  24087. "description": "卖单量2",
  24088. "type": "integer"
  24089. },
  24090. "askordervolume3": {
  24091. "description": "卖单量3",
  24092. "type": "integer"
  24093. },
  24094. "askordervolume4": {
  24095. "description": "卖单量4",
  24096. "type": "integer"
  24097. },
  24098. "askordervolume5": {
  24099. "description": "卖单量5",
  24100. "type": "integer"
  24101. },
  24102. "askordervolume6": {
  24103. "description": "卖单量6",
  24104. "type": "integer"
  24105. },
  24106. "askordervolume7": {
  24107. "description": "卖单量7",
  24108. "type": "integer"
  24109. },
  24110. "askordervolume8": {
  24111. "description": "卖单量8",
  24112. "type": "integer"
  24113. },
  24114. "askordervolume9": {
  24115. "description": "卖单量9",
  24116. "type": "integer"
  24117. },
  24118. "askqueueinfo": {
  24119. "description": "大利市卖港股用",
  24120. "type": "string"
  24121. },
  24122. "askvolume": {
  24123. "description": "卖量1",
  24124. "type": "integer"
  24125. },
  24126. "askvolume10": {
  24127. "description": "卖量10",
  24128. "type": "integer"
  24129. },
  24130. "askvolume2": {
  24131. "description": "卖量2",
  24132. "type": "integer"
  24133. },
  24134. "askvolume3": {
  24135. "description": "卖量3",
  24136. "type": "integer"
  24137. },
  24138. "askvolume4": {
  24139. "description": "卖量4",
  24140. "type": "integer"
  24141. },
  24142. "askvolume5": {
  24143. "description": "卖量5",
  24144. "type": "integer"
  24145. },
  24146. "askvolume6": {
  24147. "description": "卖量6",
  24148. "type": "integer"
  24149. },
  24150. "askvolume7": {
  24151. "description": "卖量7",
  24152. "type": "integer"
  24153. },
  24154. "askvolume8": {
  24155. "description": "卖量8",
  24156. "type": "integer"
  24157. },
  24158. "askvolume9": {
  24159. "description": "卖量9",
  24160. "type": "integer"
  24161. },
  24162. "averageprice": {
  24163. "description": "均价",
  24164. "type": "number"
  24165. },
  24166. "bid": {
  24167. "description": "买1",
  24168. "type": "number"
  24169. },
  24170. "bid10": {
  24171. "description": "买10",
  24172. "type": "number"
  24173. },
  24174. "bid2": {
  24175. "description": "买2",
  24176. "type": "number"
  24177. },
  24178. "bid3": {
  24179. "description": "买3",
  24180. "type": "number"
  24181. },
  24182. "bid4": {
  24183. "description": "买4",
  24184. "type": "number"
  24185. },
  24186. "bid5": {
  24187. "description": "买5",
  24188. "type": "number"
  24189. },
  24190. "bid6": {
  24191. "description": "买6",
  24192. "type": "number"
  24193. },
  24194. "bid7": {
  24195. "description": "买7",
  24196. "type": "number"
  24197. },
  24198. "bid8": {
  24199. "description": "买8",
  24200. "type": "number"
  24201. },
  24202. "bid9": {
  24203. "description": "买9",
  24204. "type": "number"
  24205. },
  24206. "bidorderid": {
  24207. "description": "买单号1",
  24208. "type": "integer"
  24209. },
  24210. "bidorderid2": {
  24211. "description": "买单号2",
  24212. "type": "integer"
  24213. },
  24214. "bidorderid3": {
  24215. "description": "买单号3",
  24216. "type": "integer"
  24217. },
  24218. "bidorderid4": {
  24219. "description": "买单号4",
  24220. "type": "integer"
  24221. },
  24222. "bidorderid5": {
  24223. "description": "买单号5",
  24224. "type": "integer"
  24225. },
  24226. "bidordervolume": {
  24227. "description": "买单量1",
  24228. "type": "integer"
  24229. },
  24230. "bidordervolume10": {
  24231. "description": "买单量10",
  24232. "type": "integer"
  24233. },
  24234. "bidordervolume2": {
  24235. "description": "买单量2",
  24236. "type": "integer"
  24237. },
  24238. "bidordervolume3": {
  24239. "description": "买单量3",
  24240. "type": "integer"
  24241. },
  24242. "bidordervolume4": {
  24243. "description": "买单量4",
  24244. "type": "integer"
  24245. },
  24246. "bidordervolume5": {
  24247. "description": "买单量5",
  24248. "type": "integer"
  24249. },
  24250. "bidordervolume6": {
  24251. "description": "买单量6",
  24252. "type": "integer"
  24253. },
  24254. "bidordervolume7": {
  24255. "description": "买单量7",
  24256. "type": "integer"
  24257. },
  24258. "bidordervolume8": {
  24259. "description": "买单量8",
  24260. "type": "integer"
  24261. },
  24262. "bidordervolume9": {
  24263. "description": "买单量9",
  24264. "type": "integer"
  24265. },
  24266. "bidqueueinfo": {
  24267. "description": "大利市买港股用",
  24268. "type": "string"
  24269. },
  24270. "bidvolume": {
  24271. "description": "买量1",
  24272. "type": "integer"
  24273. },
  24274. "bidvolume10": {
  24275. "description": "买量10",
  24276. "type": "integer"
  24277. },
  24278. "bidvolume2": {
  24279. "description": "买量2",
  24280. "type": "integer"
  24281. },
  24282. "bidvolume3": {
  24283. "description": "买量3",
  24284. "type": "integer"
  24285. },
  24286. "bidvolume4": {
  24287. "description": "买量4",
  24288. "type": "integer"
  24289. },
  24290. "bidvolume5": {
  24291. "description": "买量5",
  24292. "type": "integer"
  24293. },
  24294. "bidvolume6": {
  24295. "description": "买量6",
  24296. "type": "integer"
  24297. },
  24298. "bidvolume7": {
  24299. "description": "买量7",
  24300. "type": "integer"
  24301. },
  24302. "bidvolume8": {
  24303. "description": "买量8",
  24304. "type": "integer"
  24305. },
  24306. "bidvolume9": {
  24307. "description": "买量9",
  24308. "type": "integer"
  24309. },
  24310. "calloptionpremiums": {
  24311. "description": "认购期权1",
  24312. "type": "integer"
  24313. },
  24314. "calloptionpremiums2": {
  24315. "description": "认购期权2",
  24316. "type": "integer"
  24317. },
  24318. "calloptionpremiums3": {
  24319. "description": "认购期权3",
  24320. "type": "integer"
  24321. },
  24322. "calloptionpremiums4": {
  24323. "description": "认购期权4",
  24324. "type": "integer"
  24325. },
  24326. "calloptionpremiums5": {
  24327. "description": "认购期权5",
  24328. "type": "integer"
  24329. },
  24330. "cleartime": {
  24331. "description": "清盘时间",
  24332. "type": "integer"
  24333. },
  24334. "exchangecode": {
  24335. "description": "交易所代码",
  24336. "type": "integer"
  24337. },
  24338. "exchangedate": {
  24339. "description": "交易日",
  24340. "type": "integer"
  24341. },
  24342. "goodscode": {
  24343. "description": "商品代码",
  24344. "type": "string"
  24345. },
  24346. "grepmarketprice": {
  24347. "description": "暗盘价 港股专用",
  24348. "type": "number"
  24349. },
  24350. "highest": {
  24351. "description": "最高价",
  24352. "type": "number"
  24353. },
  24354. "holdincrement": {
  24355. "description": "单笔持仓",
  24356. "type": "integer"
  24357. },
  24358. "holdvolume": {
  24359. "description": "持仓",
  24360. "type": "integer"
  24361. },
  24362. "iep": {
  24363. "description": "平衡价 港股专用",
  24364. "type": "number"
  24365. },
  24366. "iev": {
  24367. "description": "平衡量 港股专用",
  24368. "type": "number"
  24369. },
  24370. "inventory": {
  24371. "description": "库存",
  24372. "type": "integer"
  24373. },
  24374. "iscleared": {
  24375. "description": "是否清盘标志",
  24376. "type": "integer"
  24377. },
  24378. "issettled": {
  24379. "description": "是否结算标志",
  24380. "type": "integer"
  24381. },
  24382. "last": {
  24383. "description": "最新价",
  24384. "type": "number"
  24385. },
  24386. "lastlot": {
  24387. "description": "最新成交手数",
  24388. "type": "integer"
  24389. },
  24390. "lasttime": {
  24391. "description": "行情时间(只有现价变化行情时间才变化)",
  24392. "type": "string"
  24393. },
  24394. "lastturnover": {
  24395. "description": "最新成交金额",
  24396. "type": "number"
  24397. },
  24398. "lastvolume": {
  24399. "description": "最新成交量",
  24400. "type": "integer"
  24401. },
  24402. "limitdown": {
  24403. "description": "跌停价",
  24404. "type": "number"
  24405. },
  24406. "limitup": {
  24407. "description": "涨停价",
  24408. "type": "number"
  24409. },
  24410. "lowest": {
  24411. "description": "最低价",
  24412. "type": "number"
  24413. },
  24414. "nontotalholdervolume": {
  24415. "description": "非交易持仓量",
  24416. "type": "integer"
  24417. },
  24418. "nontotallot": {
  24419. "description": "非交易总手数",
  24420. "type": "integer"
  24421. },
  24422. "nontotalturnover": {
  24423. "description": "非交易总金额",
  24424. "type": "integer"
  24425. },
  24426. "nontotalvolume": {
  24427. "description": "非交易总量",
  24428. "type": "integer"
  24429. },
  24430. "opened": {
  24431. "description": "开盘价",
  24432. "type": "number"
  24433. },
  24434. "opentime": {
  24435. "description": "开盘时间",
  24436. "type": "string"
  24437. },
  24438. "orderid": {
  24439. "description": "序号",
  24440. "type": "integer"
  24441. },
  24442. "preclose": {
  24443. "description": "昨收",
  24444. "type": "number"
  24445. },
  24446. "preholdvolume": {
  24447. "description": "昨持仓",
  24448. "type": "integer"
  24449. },
  24450. "presettle": {
  24451. "description": "昨结价",
  24452. "type": "number"
  24453. },
  24454. "publictradetype": {
  24455. "description": "公共交易标志类型 港股专用",
  24456. "type": "string"
  24457. },
  24458. "putoptionpremiums": {
  24459. "description": "认沽期权1",
  24460. "type": "integer"
  24461. },
  24462. "putoptionpremiums2": {
  24463. "description": "认沽期权2",
  24464. "type": "integer"
  24465. },
  24466. "putoptionpremiums3": {
  24467. "description": "认沽期权3",
  24468. "type": "integer"
  24469. },
  24470. "putoptionpremiums4": {
  24471. "description": "认沽期权4",
  24472. "type": "integer"
  24473. },
  24474. "putoptionpremiums5": {
  24475. "description": "认沽期权5",
  24476. "type": "integer"
  24477. },
  24478. "settle": {
  24479. "description": "结算价",
  24480. "type": "number"
  24481. },
  24482. "strikeprice": {
  24483. "description": "发行价",
  24484. "type": "number"
  24485. },
  24486. "totalaskvolume": {
  24487. "description": "内盘",
  24488. "type": "integer"
  24489. },
  24490. "totalbidvolume": {
  24491. "description": "外盘",
  24492. "type": "integer"
  24493. },
  24494. "totallot": {
  24495. "description": "总手数",
  24496. "type": "integer"
  24497. },
  24498. "totalturnover": {
  24499. "description": "总金额",
  24500. "type": "number"
  24501. },
  24502. "totalvolume": {
  24503. "description": "总量",
  24504. "type": "integer"
  24505. },
  24506. "utclasttime": {
  24507. "description": "utc的行情时间",
  24508. "type": "string"
  24509. }
  24510. }
  24511. },
  24512. "quote.QueryTSDataRsp": {
  24513. "type": "object",
  24514. "properties": {
  24515. "Count": {
  24516. "description": "交易日应有数据个数",
  24517. "type": "integer"
  24518. },
  24519. "decimalPlace": {
  24520. "description": "小数位",
  24521. "type": "integer"
  24522. },
  24523. "endTime": {
  24524. "description": "结束时间",
  24525. "type": "string"
  24526. },
  24527. "goodsCode": {
  24528. "description": "商品代码",
  24529. "type": "string"
  24530. },
  24531. "historyDatas": {
  24532. "description": "历史数据",
  24533. "type": "array",
  24534. "items": {
  24535. "$ref": "#/definitions/quote.HistoryData"
  24536. }
  24537. },
  24538. "outGoodsCode": {
  24539. "description": "外部商品代码",
  24540. "type": "string"
  24541. },
  24542. "preSettle": {
  24543. "description": "昨结价",
  24544. "type": "number"
  24545. },
  24546. "runSteps": {
  24547. "description": "交易日开休市计划",
  24548. "type": "array",
  24549. "items": {
  24550. "$ref": "#/definitions/quote.TSDataRunStep"
  24551. }
  24552. },
  24553. "startTime": {
  24554. "description": "开始时间",
  24555. "type": "string"
  24556. },
  24557. "tradeDate": {
  24558. "description": "交易日",
  24559. "type": "string"
  24560. }
  24561. }
  24562. },
  24563. "quote.TSDataRunStep": {
  24564. "type": "object",
  24565. "properties": {
  24566. "end": {
  24567. "description": "真实结束时间",
  24568. "type": "string"
  24569. },
  24570. "endflag": {
  24571. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24572. "type": "integer"
  24573. },
  24574. "endtime": {
  24575. "description": "结束时间(HH:mm)",
  24576. "type": "string"
  24577. },
  24578. "endweekday": {
  24579. "description": "结束周几",
  24580. "type": "integer"
  24581. },
  24582. "groupid": {
  24583. "description": "分组ID",
  24584. "type": "integer"
  24585. },
  24586. "runstep": {
  24587. "description": "运行阶段 - 2:连续交易",
  24588. "type": "integer"
  24589. },
  24590. "sectionid": {
  24591. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24592. "type": "integer"
  24593. },
  24594. "start": {
  24595. "description": "真实开始时间",
  24596. "type": "string"
  24597. },
  24598. "startflag": {
  24599. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24600. "type": "integer"
  24601. },
  24602. "starttime": {
  24603. "description": "起始时间(HH:mm)",
  24604. "type": "string"
  24605. },
  24606. "startweekday": {
  24607. "description": "起始周几",
  24608. "type": "integer"
  24609. },
  24610. "tradeweekday": {
  24611. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24612. "type": "integer"
  24613. }
  24614. }
  24615. },
  24616. "szdz.QueryConvertLogRsp": {
  24617. "type": "object",
  24618. "required": [
  24619. "logid"
  24620. ],
  24621. "properties": {
  24622. "accountid": {
  24623. "description": "资金账户ID",
  24624. "type": "integer"
  24625. },
  24626. "clientticket": {
  24627. "description": "客户端流水号",
  24628. "type": "string"
  24629. },
  24630. "converttype": {
  24631. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24632. "type": "integer"
  24633. },
  24634. "createtime": {
  24635. "description": "记账时间",
  24636. "type": "string"
  24637. },
  24638. "daymaxvalue": {
  24639. "description": "配置当日最大转入限制",
  24640. "type": "number"
  24641. },
  24642. "daymaxvalue2": {
  24643. "description": "配置当日最大转入限制(转入)",
  24644. "type": "number"
  24645. },
  24646. "goodscode": {
  24647. "description": "商品代码",
  24648. "type": "string"
  24649. },
  24650. "goodsname": {
  24651. "description": "商品名称",
  24652. "type": "string"
  24653. },
  24654. "handlestatus": {
  24655. "description": "处理状态",
  24656. "type": "integer"
  24657. },
  24658. "innergoodsid": {
  24659. "description": "内部商品ID",
  24660. "type": "integer"
  24661. },
  24662. "inratio": {
  24663. "description": "配置转入比值",
  24664. "type": "integer"
  24665. },
  24666. "invalue": {
  24667. "description": "目标值",
  24668. "type": "number"
  24669. },
  24670. "logid": {
  24671. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24672. "type": "integer"
  24673. },
  24674. "mobile": {
  24675. "description": "手机号码(加密存储)",
  24676. "type": "string"
  24677. },
  24678. "outergoodscode": {
  24679. "description": "外部商品代码[JD\\PD]",
  24680. "type": "string"
  24681. },
  24682. "outratio": {
  24683. "description": "配置转出比值",
  24684. "type": "integer"
  24685. },
  24686. "outvalue": {
  24687. "description": "源值",
  24688. "type": "number"
  24689. },
  24690. "pddecimalplace": {
  24691. "description": "PD小数位",
  24692. "type": "integer"
  24693. },
  24694. "qty": {
  24695. "description": "数量",
  24696. "type": "string"
  24697. },
  24698. "remark": {
  24699. "description": "备注",
  24700. "type": "string"
  24701. },
  24702. "sessionid": {
  24703. "description": "会话ID",
  24704. "type": "integer"
  24705. },
  24706. "timemaxvalue": {
  24707. "description": "配置单次最大转入限制",
  24708. "type": "number"
  24709. },
  24710. "timemaxvalue2": {
  24711. "description": "配置单次最大转入限制(转入)",
  24712. "type": "number"
  24713. },
  24714. "timeminvalue": {
  24715. "description": "配置单次最小数量限制",
  24716. "type": "number"
  24717. },
  24718. "timeminvalue2": {
  24719. "description": "配置单次最小数量限制(转入)",
  24720. "type": "number"
  24721. },
  24722. "tradedate": {
  24723. "description": "交易日(yyyyMMdd)",
  24724. "type": "string"
  24725. },
  24726. "userid": {
  24727. "description": "用户ID",
  24728. "type": "integer"
  24729. }
  24730. }
  24731. },
  24732. "szdz.QueryGoodsPickupRsp": {
  24733. "type": "object",
  24734. "required": [
  24735. "takeorderid"
  24736. ],
  24737. "properties": {
  24738. "accountid": {
  24739. "description": "账户ID",
  24740. "type": "integer"
  24741. },
  24742. "address": {
  24743. "description": "提货人详细地址",
  24744. "type": "string"
  24745. },
  24746. "auditer": {
  24747. "description": "审核人",
  24748. "type": "integer"
  24749. },
  24750. "audittime": {
  24751. "description": "审核时间",
  24752. "type": "string"
  24753. },
  24754. "cardnum": {
  24755. "description": "提货人证件号码",
  24756. "type": "string"
  24757. },
  24758. "cardtypeid": {
  24759. "description": "提货人证件类型",
  24760. "type": "integer"
  24761. },
  24762. "checkremark": {
  24763. "description": "审核备注",
  24764. "type": "string"
  24765. },
  24766. "goodscode": {
  24767. "description": "商品代码",
  24768. "type": "string"
  24769. },
  24770. "goodsid": {
  24771. "description": "商品ID",
  24772. "type": "integer"
  24773. },
  24774. "goodsname": {
  24775. "description": "商品名称",
  24776. "type": "string"
  24777. },
  24778. "handlestatus": {
  24779. "description": "处理状态",
  24780. "type": "integer"
  24781. },
  24782. "marketid": {
  24783. "description": "市场ID",
  24784. "type": "integer"
  24785. },
  24786. "phonenum": {
  24787. "description": "提货人联系方式",
  24788. "type": "string"
  24789. },
  24790. "qty": {
  24791. "description": "提货数量",
  24792. "type": "number"
  24793. },
  24794. "recivername": {
  24795. "description": "提货人姓名",
  24796. "type": "string"
  24797. },
  24798. "reqtime": {
  24799. "description": "更新时间",
  24800. "type": "string"
  24801. },
  24802. "takemode": {
  24803. "description": "提货方式 - 2:自提 3:配送",
  24804. "type": "integer"
  24805. },
  24806. "takeorderid": {
  24807. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24808. "type": "string"
  24809. },
  24810. "takeorderstatus": {
  24811. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24812. "type": "integer"
  24813. },
  24814. "takeremark": {
  24815. "description": "提货备注",
  24816. "type": "string"
  24817. },
  24818. "tradedate": {
  24819. "description": "交易日(yyyyMMdd)",
  24820. "type": "string"
  24821. },
  24822. "userid": {
  24823. "description": "用户ID",
  24824. "type": "integer"
  24825. }
  24826. }
  24827. },
  24828. "szdz.QueryRecieptOrderRsp": {
  24829. "type": "object",
  24830. "required": [
  24831. "ordertime"
  24832. ],
  24833. "properties": {
  24834. "accountName": {
  24835. "description": "所属账号名称(已脱敏)",
  24836. "type": "string"
  24837. },
  24838. "accountid": {
  24839. "description": "资金账号",
  24840. "type": "integer"
  24841. },
  24842. "buyorsell": {
  24843. "description": "方向 - 0:买 1:卖",
  24844. "type": "integer"
  24845. },
  24846. "enableqty": {
  24847. "description": "可摘数量",
  24848. "type": "integer"
  24849. },
  24850. "goodscode": {
  24851. "description": "商品代码",
  24852. "type": "string"
  24853. },
  24854. "goodsid": {
  24855. "description": "商品ID",
  24856. "type": "integer"
  24857. },
  24858. "goodsname": {
  24859. "description": "商品名称",
  24860. "type": "string"
  24861. },
  24862. "orderid": {
  24863. "description": "委托单号",
  24864. "type": "string"
  24865. },
  24866. "orderprice": {
  24867. "description": "委托价格",
  24868. "type": "number"
  24869. },
  24870. "ordertime": {
  24871. "description": "委托时间",
  24872. "type": "string"
  24873. },
  24874. "tradedate": {
  24875. "description": "交易日(yyyyMMdd)",
  24876. "type": "string"
  24877. }
  24878. }
  24879. },
  24880. "szdz.QuerySZDZTradePositionRsp": {
  24881. "type": "object",
  24882. "properties": {
  24883. "accountid": {
  24884. "description": "账号Id",
  24885. "type": "integer"
  24886. },
  24887. "agreeunit": {
  24888. "description": "合约单位",
  24889. "type": "number"
  24890. },
  24891. "averageprice": {
  24892. "description": "持仓均价",
  24893. "type": "number"
  24894. },
  24895. "buyorsell": {
  24896. "description": "方向 - 0:买 1:卖",
  24897. "type": "integer"
  24898. },
  24899. "closetotalqty": {
  24900. "description": "平仓总数量",
  24901. "type": "integer"
  24902. },
  24903. "curholderamount": {
  24904. "description": "当前持仓总金额",
  24905. "type": "number"
  24906. },
  24907. "curpositionqty": {
  24908. "description": "当前持仓总数量",
  24909. "type": "integer"
  24910. },
  24911. "currencyid": {
  24912. "description": "报价货币ID",
  24913. "type": "integer"
  24914. },
  24915. "curtdposition": {
  24916. "description": "期末今日头寸",
  24917. "type": "integer"
  24918. },
  24919. "decimalplace": {
  24920. "description": "报价小数位",
  24921. "type": "integer"
  24922. },
  24923. "enableqty": {
  24924. "description": "可用量",
  24925. "type": "integer"
  24926. },
  24927. "fretdposition": {
  24928. "description": "冻结今日头寸",
  24929. "type": "integer"
  24930. },
  24931. "frozenqty": {
  24932. "description": "持仓冻结数量",
  24933. "type": "integer"
  24934. },
  24935. "goodscode": {
  24936. "description": "商品代码(内部)",
  24937. "type": "string"
  24938. },
  24939. "goodsid": {
  24940. "description": "商品Id",
  24941. "type": "integer"
  24942. },
  24943. "goodsname": {
  24944. "description": "商品名称",
  24945. "type": "string"
  24946. },
  24947. "goodunit": {
  24948. "description": "报价单位",
  24949. "type": "string"
  24950. },
  24951. "goodunitid": {
  24952. "description": "报价单位ID",
  24953. "type": "integer"
  24954. },
  24955. "holderamount": {
  24956. "description": "期初持仓总金额",
  24957. "type": "number"
  24958. },
  24959. "marketid": {
  24960. "description": "市场ID",
  24961. "type": "integer"
  24962. },
  24963. "openreqqty": {
  24964. "description": "开仓申请数量",
  24965. "type": "integer"
  24966. },
  24967. "opentotalqty": {
  24968. "description": "开仓总数量",
  24969. "type": "integer"
  24970. },
  24971. "otherfrozenqty": {
  24972. "description": "持仓其他冻结数量(交割冻结)",
  24973. "type": "integer"
  24974. },
  24975. "positionqty": {
  24976. "description": "期初持仓数量",
  24977. "type": "integer"
  24978. },
  24979. "szdz3freezqty": {
  24980. "description": "尚志大宗转换冻结总数量",
  24981. "type": "integer"
  24982. },
  24983. "tnqty": {
  24984. "description": "T+N冻结总量",
  24985. "type": "integer"
  24986. },
  24987. "tnusedqty": {
  24988. "description": "T+N使用量",
  24989. "type": "integer"
  24990. },
  24991. "trademode": {
  24992. "description": "交易模式",
  24993. "type": "integer"
  24994. },
  24995. "usedmargin": {
  24996. "description": "占用保证金",
  24997. "type": "number"
  24998. }
  24999. }
  25000. },
  25001. "taaccount.QueryAmountLogRsp": {
  25002. "type": "object",
  25003. "required": [
  25004. "accountid",
  25005. "amount",
  25006. "amountadjusttype",
  25007. "autoid",
  25008. "balance",
  25009. "createtime",
  25010. "currentbalance",
  25011. "operatetype"
  25012. ],
  25013. "properties": {
  25014. "OPERATETYPENAME": {
  25015. "description": "资金操作类型名称",
  25016. "type": "string"
  25017. },
  25018. "accountid": {
  25019. "description": "资金账户ID",
  25020. "type": "integer"
  25021. },
  25022. "agoodscode": {
  25023. "description": "竞拍商品代码",
  25024. "type": "string"
  25025. },
  25026. "agoodsname": {
  25027. "description": "竞拍商品名称",
  25028. "type": "string"
  25029. },
  25030. "amount": {
  25031. "description": "资金金额",
  25032. "type": "number"
  25033. },
  25034. "amountadjusttype": {
  25035. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25036. "type": "integer"
  25037. },
  25038. "autoid": {
  25039. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25040. "type": "integer"
  25041. },
  25042. "balance": {
  25043. "description": "期初余额",
  25044. "type": "number"
  25045. },
  25046. "businesscode": {
  25047. "description": "业务编号",
  25048. "type": "integer"
  25049. },
  25050. "createtime": {
  25051. "description": "发生时间",
  25052. "type": "string"
  25053. },
  25054. "currencyid": {
  25055. "description": "币种ID",
  25056. "type": "integer"
  25057. },
  25058. "currentbalance": {
  25059. "description": "期末余额(变动后金额)",
  25060. "type": "number"
  25061. },
  25062. "dgoodscode": {
  25063. "description": "交割商品代码",
  25064. "type": "string"
  25065. },
  25066. "dgoodsname": {
  25067. "description": "交割商品名称",
  25068. "type": "string"
  25069. },
  25070. "goodscode": {
  25071. "description": "商品代码",
  25072. "type": "string"
  25073. },
  25074. "goodsid": {
  25075. "description": "商品ID",
  25076. "type": "integer"
  25077. },
  25078. "goodsname": {
  25079. "description": "商品名称",
  25080. "type": "string"
  25081. },
  25082. "marketid": {
  25083. "description": "市场ID",
  25084. "type": "integer"
  25085. },
  25086. "marketname": {
  25087. "description": "市场名称",
  25088. "type": "string"
  25089. },
  25090. "moneyticket": {
  25091. "description": "资金流水号:银行端流水号",
  25092. "type": "integer"
  25093. },
  25094. "operatetype": {
  25095. "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:营销收款",
  25096. "type": "integer"
  25097. },
  25098. "relationorderid": {
  25099. "description": "关联单号",
  25100. "type": "string"
  25101. },
  25102. "remark": {
  25103. "description": "备注",
  25104. "type": "string"
  25105. },
  25106. "trademode": {
  25107. "description": "交易模式",
  25108. "type": "integer"
  25109. }
  25110. }
  25111. },
  25112. "taaccount.QueryHisAmountLogRsp": {
  25113. "type": "object",
  25114. "required": [
  25115. "accountid",
  25116. "amount",
  25117. "amountadjusttype",
  25118. "autoid",
  25119. "balance",
  25120. "createtime",
  25121. "currentbalance",
  25122. "histradedate",
  25123. "operatetype"
  25124. ],
  25125. "properties": {
  25126. "OPERATETYPENAME": {
  25127. "description": "资金操作类型名称",
  25128. "type": "string"
  25129. },
  25130. "accountid": {
  25131. "description": "资金账户ID",
  25132. "type": "integer"
  25133. },
  25134. "agoodscode": {
  25135. "description": "竞拍商品代码",
  25136. "type": "string"
  25137. },
  25138. "agoodsname": {
  25139. "description": "竞拍商品名称",
  25140. "type": "string"
  25141. },
  25142. "amount": {
  25143. "description": "资金金额",
  25144. "type": "number"
  25145. },
  25146. "amountadjusttype": {
  25147. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25148. "type": "integer"
  25149. },
  25150. "autoid": {
  25151. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25152. "type": "integer"
  25153. },
  25154. "balance": {
  25155. "description": "期初余额",
  25156. "type": "number"
  25157. },
  25158. "businesscode": {
  25159. "description": "业务编号",
  25160. "type": "integer"
  25161. },
  25162. "createtime": {
  25163. "description": "发生时间",
  25164. "type": "string"
  25165. },
  25166. "currencyid": {
  25167. "description": "币种ID",
  25168. "type": "integer"
  25169. },
  25170. "currentbalance": {
  25171. "description": "期末余额(变动后金额)",
  25172. "type": "number"
  25173. },
  25174. "dgoodscode": {
  25175. "description": "交割商品代码",
  25176. "type": "string"
  25177. },
  25178. "dgoodsname": {
  25179. "description": "交割商品名称",
  25180. "type": "string"
  25181. },
  25182. "goodscode": {
  25183. "description": "商品代码",
  25184. "type": "string"
  25185. },
  25186. "goodsid": {
  25187. "description": "商品ID",
  25188. "type": "integer"
  25189. },
  25190. "goodsname": {
  25191. "description": "商品名称",
  25192. "type": "string"
  25193. },
  25194. "histradedate": {
  25195. "description": "历史交易日",
  25196. "type": "string"
  25197. },
  25198. "isvaliddata": {
  25199. "description": "是否有效 - 0:无效 1:有效",
  25200. "type": "integer"
  25201. },
  25202. "marketid": {
  25203. "description": "市场ID",
  25204. "type": "integer"
  25205. },
  25206. "marketname": {
  25207. "description": "市场名称",
  25208. "type": "string"
  25209. },
  25210. "moneyticket": {
  25211. "description": "资金流水号:银行端流水号",
  25212. "type": "integer"
  25213. },
  25214. "operatetype": {
  25215. "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:营销收款",
  25216. "type": "integer"
  25217. },
  25218. "relationorderid": {
  25219. "description": "关联单号",
  25220. "type": "string"
  25221. },
  25222. "remark": {
  25223. "description": "备注",
  25224. "type": "string"
  25225. },
  25226. "trademode": {
  25227. "description": "交易模式",
  25228. "type": "integer"
  25229. }
  25230. }
  25231. },
  25232. "trade.QueryRecieptOrderRsp": {
  25233. "type": "object",
  25234. "required": [
  25235. "ordertime"
  25236. ],
  25237. "properties": {
  25238. "accountName": {
  25239. "description": "所属账号名称(已脱敏)",
  25240. "type": "string"
  25241. },
  25242. "accountid": {
  25243. "description": "资金账号",
  25244. "type": "integer"
  25245. },
  25246. "buyorsell": {
  25247. "description": "方向 - 0:买 1:卖",
  25248. "type": "integer"
  25249. },
  25250. "enableqty": {
  25251. "description": "可摘数量",
  25252. "type": "integer"
  25253. },
  25254. "goodscode": {
  25255. "description": "商品代码",
  25256. "type": "string"
  25257. },
  25258. "goodsid": {
  25259. "description": "商品ID",
  25260. "type": "integer"
  25261. },
  25262. "goodsname": {
  25263. "description": "商品名称",
  25264. "type": "string"
  25265. },
  25266. "orderid": {
  25267. "description": "委托单号",
  25268. "type": "string"
  25269. },
  25270. "orderprice": {
  25271. "description": "委托价格",
  25272. "type": "number"
  25273. },
  25274. "ordertime": {
  25275. "description": "委托时间",
  25276. "type": "string"
  25277. },
  25278. "tradedate": {
  25279. "description": "交易日(yyyyMMdd)",
  25280. "type": "string"
  25281. }
  25282. }
  25283. },
  25284. "user.LoginQueryRsp": {
  25285. "type": "object",
  25286. "properties": {
  25287. "externalExchanges": {
  25288. "description": "外部交易所",
  25289. "type": "array",
  25290. "items": {
  25291. "$ref": "#/definitions/models.Externalexchange"
  25292. }
  25293. },
  25294. "goodsgroups": {
  25295. "description": "商品组",
  25296. "type": "array",
  25297. "items": {
  25298. "$ref": "#/definitions/models.Goodsgroup"
  25299. }
  25300. },
  25301. "loginAccount": {
  25302. "description": "登录账号",
  25303. "type": "object",
  25304. "$ref": "#/definitions/models.Loginaccount"
  25305. },
  25306. "markets": {
  25307. "description": "市场",
  25308. "type": "array",
  25309. "items": {
  25310. "$ref": "#/definitions/models.Market"
  25311. }
  25312. },
  25313. "systemParams": {
  25314. "description": "系统参数",
  25315. "type": "array",
  25316. "items": {
  25317. "$ref": "#/definitions/models.Systemparam"
  25318. }
  25319. },
  25320. "userAccount": {
  25321. "description": "用户账号",
  25322. "type": "object",
  25323. "$ref": "#/definitions/models.Useraccount"
  25324. },
  25325. "userInfo": {
  25326. "description": "用户信息",
  25327. "type": "object",
  25328. "$ref": "#/definitions/models.Userinfo"
  25329. },
  25330. "username": {
  25331. "description": "用户姓名",
  25332. "type": "string"
  25333. }
  25334. }
  25335. }
  25336. },
  25337. "securityDefinitions": {
  25338. "ApiKeyAuth": {
  25339. "type": "apiKey",
  25340. "name": "Authorization",
  25341. "in": "header"
  25342. }
  25343. }
  25344. }`
  25345. type swaggerInfo struct {
  25346. Version string
  25347. Host string
  25348. BasePath string
  25349. Schemes []string
  25350. Title string
  25351. Description string
  25352. }
  25353. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25354. var SwaggerInfo = swaggerInfo{
  25355. Version: "1.0",
  25356. Host: "",
  25357. BasePath: "/api",
  25358. Schemes: []string{},
  25359. Title: "MTP2.0 查询服务 API",
  25360. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25361. }
  25362. type s struct{}
  25363. func (s *s) ReadDoc() string {
  25364. sInfo := SwaggerInfo
  25365. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25366. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25367. "marshal": func(v interface{}) string {
  25368. a, _ := json.Marshal(v)
  25369. return string(a)
  25370. },
  25371. }).Parse(doc)
  25372. if err != nil {
  25373. return doc
  25374. }
  25375. var tpl bytes.Buffer
  25376. if err := t.Execute(&tpl, sInfo); err != nil {
  25377. return doc
  25378. }
  25379. return tpl.String()
  25380. }
  25381. func init() {
  25382. swag.Register(swag.Name, &s{})
  25383. }