docs.go 933 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QryReportAreaSpotPL": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询现货损益报表(现货损益报表)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "查询类型 1-日报表 2-月报表",
  1017. "name": "querytype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "string",
  1023. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1024. "name": "querydate",
  1025. "in": "query",
  1026. "required": true
  1027. },
  1028. {
  1029. "type": "integer",
  1030. "description": "现货商品ID",
  1031. "name": "wrstandardid",
  1032. "in": "query"
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "品牌ID",
  1037. "name": "spotgoodsbrandid",
  1038. "in": "query"
  1039. },
  1040. {
  1041. "type": "integer",
  1042. "description": "型号ID",
  1043. "name": "spotgoodsmodelid",
  1044. "in": "query"
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "type": "array",
  1052. "items": {
  1053. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1054. }
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/app.Response"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/Ermcp/QryReportDayExposure": {
  1067. "get": {
  1068. "security": [
  1069. {
  1070. "ApiKeyAuth": []
  1071. }
  1072. ],
  1073. "produces": [
  1074. "application/json"
  1075. ],
  1076. "tags": [
  1077. "企业风险管理(app)"
  1078. ],
  1079. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1080. "parameters": [
  1081. {
  1082. "type": "integer",
  1083. "description": "用户ID",
  1084. "name": "userid",
  1085. "in": "query",
  1086. "required": true
  1087. },
  1088. {
  1089. "type": "string",
  1090. "description": "交易日(格式:yyyyMMdd)",
  1091. "name": "tradedate",
  1092. "in": "query",
  1093. "required": true
  1094. }
  1095. ],
  1096. "responses": {
  1097. "200": {
  1098. "description": "OK",
  1099. "schema": {
  1100. "type": "array",
  1101. "items": {
  1102. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1103. }
  1104. }
  1105. },
  1106. "500": {
  1107. "description": "Internal Server Error",
  1108. "schema": {
  1109. "$ref": "#/definitions/app.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/Ermcp/QryReportDayFinance": {
  1116. "get": {
  1117. "security": [
  1118. {
  1119. "ApiKeyAuth": []
  1120. }
  1121. ],
  1122. "produces": [
  1123. "application/json"
  1124. ],
  1125. "tags": [
  1126. "企业风险管理(app)"
  1127. ],
  1128. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1129. "parameters": [
  1130. {
  1131. "type": "integer",
  1132. "description": "用户ID",
  1133. "name": "userid",
  1134. "in": "query",
  1135. "required": true
  1136. },
  1137. {
  1138. "type": "string",
  1139. "description": "交易日(格式:yyyyMMdd)",
  1140. "name": "tradedate",
  1141. "in": "query",
  1142. "required": true
  1143. }
  1144. ],
  1145. "responses": {
  1146. "200": {
  1147. "description": "OK",
  1148. "schema": {
  1149. "type": "array",
  1150. "items": {
  1151. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1152. }
  1153. }
  1154. },
  1155. "500": {
  1156. "description": "Internal Server Error",
  1157. "schema": {
  1158. "$ref": "#/definitions/app.Response"
  1159. }
  1160. }
  1161. }
  1162. }
  1163. },
  1164. "/Ermcp/QryReportDayFinanceFp": {
  1165. "get": {
  1166. "security": [
  1167. {
  1168. "ApiKeyAuth": []
  1169. }
  1170. ],
  1171. "produces": [
  1172. "application/json"
  1173. ],
  1174. "tags": [
  1175. "企业风险管理(app)"
  1176. ],
  1177. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1178. "parameters": [
  1179. {
  1180. "type": "integer",
  1181. "description": "用户ID",
  1182. "name": "userid",
  1183. "in": "query",
  1184. "required": true
  1185. },
  1186. {
  1187. "type": "string",
  1188. "description": "交易日(格式:yyyyMMdd)",
  1189. "name": "tradedate",
  1190. "in": "query",
  1191. "required": true
  1192. }
  1193. ],
  1194. "responses": {
  1195. "200": {
  1196. "description": "OK",
  1197. "schema": {
  1198. "type": "array",
  1199. "items": {
  1200. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1201. }
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/QryReportDayFinanceKx": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "用户ID",
  1231. "name": "userid",
  1232. "in": "query",
  1233. "required": true
  1234. },
  1235. {
  1236. "type": "string",
  1237. "description": "交易日(格式:yyyyMMdd)",
  1238. "name": "tradedate",
  1239. "in": "query",
  1240. "required": true
  1241. }
  1242. ],
  1243. "responses": {
  1244. "200": {
  1245. "description": "OK",
  1246. "schema": {
  1247. "type": "array",
  1248. "items": {
  1249. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1250. }
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/Ermcp/QryReportDaySpot": {
  1263. "get": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "企业风险管理(app)"
  1274. ],
  1275. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1276. "parameters": [
  1277. {
  1278. "type": "integer",
  1279. "description": "用户ID",
  1280. "name": "userid",
  1281. "in": "query",
  1282. "required": true
  1283. },
  1284. {
  1285. "type": "string",
  1286. "description": "交易日(格式:yyyyMMdd)",
  1287. "name": "tradedate",
  1288. "in": "query",
  1289. "required": true
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "type": "array",
  1297. "items": {
  1298. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1299. }
  1300. }
  1301. },
  1302. "500": {
  1303. "description": "Internal Server Error",
  1304. "schema": {
  1305. "$ref": "#/definitions/app.Response"
  1306. }
  1307. }
  1308. }
  1309. }
  1310. },
  1311. "/Ermcp/QryReportDaySpotDetail": {
  1312. "get": {
  1313. "security": [
  1314. {
  1315. "ApiKeyAuth": []
  1316. }
  1317. ],
  1318. "produces": [
  1319. "application/json"
  1320. ],
  1321. "tags": [
  1322. "企业风险管理(app)"
  1323. ],
  1324. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1325. "parameters": [
  1326. {
  1327. "type": "integer",
  1328. "description": "用户ID",
  1329. "name": "userid",
  1330. "in": "query",
  1331. "required": true
  1332. },
  1333. {
  1334. "type": "integer",
  1335. "description": "现货商品id",
  1336. "name": "wrstandardid",
  1337. "in": "query",
  1338. "required": true
  1339. },
  1340. {
  1341. "type": "string",
  1342. "description": "交易日(格式:yyyyMMdd)",
  1343. "name": "tradedate",
  1344. "in": "query",
  1345. "required": true
  1346. }
  1347. ],
  1348. "responses": {
  1349. "200": {
  1350. "description": "OK",
  1351. "schema": {
  1352. "type": "array",
  1353. "items": {
  1354. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1355. }
  1356. }
  1357. },
  1358. "500": {
  1359. "description": "Internal Server Error",
  1360. "schema": {
  1361. "$ref": "#/definitions/app.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/Ermcp/QryReportMonthFinance": {
  1368. "get": {
  1369. "security": [
  1370. {
  1371. "ApiKeyAuth": []
  1372. }
  1373. ],
  1374. "produces": [
  1375. "application/json"
  1376. ],
  1377. "tags": [
  1378. "企业风险管理(app)"
  1379. ],
  1380. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1381. "parameters": [
  1382. {
  1383. "type": "integer",
  1384. "description": "用户ID",
  1385. "name": "userid",
  1386. "in": "query",
  1387. "required": true
  1388. },
  1389. {
  1390. "type": "string",
  1391. "description": "周期时间:月(格式:yyyyMM)",
  1392. "name": "cycletime",
  1393. "in": "query",
  1394. "required": true
  1395. }
  1396. ],
  1397. "responses": {
  1398. "200": {
  1399. "description": "OK",
  1400. "schema": {
  1401. "type": "array",
  1402. "items": {
  1403. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1404. }
  1405. }
  1406. },
  1407. "500": {
  1408. "description": "Internal Server Error",
  1409. "schema": {
  1410. "$ref": "#/definitions/app.Response"
  1411. }
  1412. }
  1413. }
  1414. }
  1415. },
  1416. "/Ermcp/QryReportMonthSpot": {
  1417. "get": {
  1418. "security": [
  1419. {
  1420. "ApiKeyAuth": []
  1421. }
  1422. ],
  1423. "produces": [
  1424. "application/json"
  1425. ],
  1426. "tags": [
  1427. "企业风险管理(app)"
  1428. ],
  1429. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1430. "parameters": [
  1431. {
  1432. "type": "integer",
  1433. "description": "用户ID",
  1434. "name": "userid",
  1435. "in": "query",
  1436. "required": true
  1437. },
  1438. {
  1439. "type": "string",
  1440. "description": "周期时间:月(格式:yyyyMM)",
  1441. "name": "cycletime",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QryReportMonthSpotDetail": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query",
  1485. "required": true
  1486. },
  1487. {
  1488. "type": "integer",
  1489. "description": "现货商品id",
  1490. "name": "wrstandardid",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "周期时间:月(格式:yyyyMM)",
  1497. "name": "cycletime",
  1498. "in": "query",
  1499. "required": true
  1500. }
  1501. ],
  1502. "responses": {
  1503. "200": {
  1504. "description": "OK",
  1505. "schema": {
  1506. "type": "array",
  1507. "items": {
  1508. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1509. }
  1510. }
  1511. },
  1512. "500": {
  1513. "description": "Internal Server Error",
  1514. "schema": {
  1515. "$ref": "#/definitions/app.Response"
  1516. }
  1517. }
  1518. }
  1519. }
  1520. },
  1521. "/Ermcp/QueryAccMgrBizGroupSet": {
  1522. "get": {
  1523. "security": [
  1524. {
  1525. "ApiKeyAuth": []
  1526. }
  1527. ],
  1528. "produces": [
  1529. "application/json"
  1530. ],
  1531. "tags": [
  1532. "企业风险管理(app)"
  1533. ],
  1534. "summary": "查询业务类型分组(账户管理/账户设置)",
  1535. "parameters": [
  1536. {
  1537. "type": "integer",
  1538. "description": "用户ID",
  1539. "name": "userid",
  1540. "in": "query",
  1541. "required": true
  1542. },
  1543. {
  1544. "type": "integer",
  1545. "description": "现货商品id",
  1546. "name": "deliverygoodsid",
  1547. "in": "query"
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "OK",
  1553. "schema": {
  1554. "type": "array",
  1555. "items": {
  1556. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1557. }
  1558. }
  1559. },
  1560. "500": {
  1561. "description": "Internal Server Error",
  1562. "schema": {
  1563. "$ref": "#/definitions/app.Response"
  1564. }
  1565. }
  1566. }
  1567. }
  1568. },
  1569. "/Ermcp/QueryAccMgrLoginUser": {
  1570. "get": {
  1571. "security": [
  1572. {
  1573. "ApiKeyAuth": []
  1574. }
  1575. ],
  1576. "produces": [
  1577. "application/json"
  1578. ],
  1579. "tags": [
  1580. "企业风险管理(app)"
  1581. ],
  1582. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1583. "parameters": [
  1584. {
  1585. "type": "integer",
  1586. "description": "用户ID",
  1587. "name": "userid",
  1588. "in": "query",
  1589. "required": true
  1590. }
  1591. ],
  1592. "responses": {
  1593. "200": {
  1594. "description": "OK",
  1595. "schema": {
  1596. "type": "array",
  1597. "items": {
  1598. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1599. }
  1600. }
  1601. },
  1602. "500": {
  1603. "description": "Internal Server Error",
  1604. "schema": {
  1605. "$ref": "#/definitions/app.Response"
  1606. }
  1607. }
  1608. }
  1609. }
  1610. },
  1611. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1612. "get": {
  1613. "security": [
  1614. {
  1615. "ApiKeyAuth": []
  1616. }
  1617. ],
  1618. "produces": [
  1619. "application/json"
  1620. ],
  1621. "tags": [
  1622. "企业风险管理(app)"
  1623. ],
  1624. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1625. "parameters": [
  1626. {
  1627. "type": "integer",
  1628. "description": "用户ID",
  1629. "name": "userid",
  1630. "in": "query"
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "主账号id",
  1635. "name": "accountid",
  1636. "in": "query"
  1637. }
  1638. ],
  1639. "responses": {
  1640. "200": {
  1641. "description": "OK",
  1642. "schema": {
  1643. "type": "array",
  1644. "items": {
  1645. "$ref": "#/definitions/models.MainAccountInfo"
  1646. }
  1647. }
  1648. },
  1649. "500": {
  1650. "description": "Internal Server Error",
  1651. "schema": {
  1652. "$ref": "#/definitions/app.Response"
  1653. }
  1654. }
  1655. }
  1656. }
  1657. },
  1658. "/Ermcp/QueryAccMgrRole": {
  1659. "get": {
  1660. "security": [
  1661. {
  1662. "ApiKeyAuth": []
  1663. }
  1664. ],
  1665. "produces": [
  1666. "application/json"
  1667. ],
  1668. "tags": [
  1669. "企业风险管理(app)"
  1670. ],
  1671. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1672. "parameters": [
  1673. {
  1674. "type": "integer",
  1675. "description": "用户ID",
  1676. "name": "userid",
  1677. "in": "query",
  1678. "required": true
  1679. }
  1680. ],
  1681. "responses": {
  1682. "200": {
  1683. "description": "OK",
  1684. "schema": {
  1685. "type": "array",
  1686. "items": {
  1687. "$ref": "#/definitions/models.ErmcpRole"
  1688. }
  1689. }
  1690. },
  1691. "500": {
  1692. "description": "Internal Server Error",
  1693. "schema": {
  1694. "$ref": "#/definitions/app.Response"
  1695. }
  1696. }
  1697. }
  1698. }
  1699. },
  1700. "/Ermcp/QueryAccMgrRoleMenu": {
  1701. "get": {
  1702. "security": [
  1703. {
  1704. "ApiKeyAuth": []
  1705. }
  1706. ],
  1707. "produces": [
  1708. "application/json"
  1709. ],
  1710. "tags": [
  1711. "企业风险管理(app)"
  1712. ],
  1713. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1714. "parameters": [
  1715. {
  1716. "type": "integer",
  1717. "description": "用户ID",
  1718. "name": "userid",
  1719. "in": "query",
  1720. "required": true
  1721. },
  1722. {
  1723. "type": "string",
  1724. "description": "角色id(可多个,逗号隔开)",
  1725. "name": "roleid",
  1726. "in": "query"
  1727. }
  1728. ],
  1729. "responses": {
  1730. "200": {
  1731. "description": "OK",
  1732. "schema": {
  1733. "type": "array",
  1734. "items": {
  1735. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1736. }
  1737. }
  1738. },
  1739. "500": {
  1740. "description": "Internal Server Error",
  1741. "schema": {
  1742. "$ref": "#/definitions/app.Response"
  1743. }
  1744. }
  1745. }
  1746. }
  1747. },
  1748. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1749. "get": {
  1750. "security": [
  1751. {
  1752. "ApiKeyAuth": []
  1753. }
  1754. ],
  1755. "produces": [
  1756. "application/json"
  1757. ],
  1758. "tags": [
  1759. "企业风险管理(app)"
  1760. ],
  1761. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1762. "parameters": [
  1763. {
  1764. "type": "integer",
  1765. "description": "用户ID",
  1766. "name": "userid",
  1767. "in": "query",
  1768. "required": true
  1769. },
  1770. {
  1771. "type": "integer",
  1772. "description": "账号id",
  1773. "name": "accountid",
  1774. "in": "query"
  1775. }
  1776. ],
  1777. "responses": {
  1778. "200": {
  1779. "description": "OK",
  1780. "schema": {
  1781. "type": "array",
  1782. "items": {
  1783. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1784. }
  1785. }
  1786. },
  1787. "500": {
  1788. "description": "Internal Server Error",
  1789. "schema": {
  1790. "$ref": "#/definitions/app.Response"
  1791. }
  1792. }
  1793. }
  1794. }
  1795. },
  1796. "/Ermcp/QueryAccMgrTaaccount": {
  1797. "get": {
  1798. "security": [
  1799. {
  1800. "ApiKeyAuth": []
  1801. }
  1802. ],
  1803. "produces": [
  1804. "application/json"
  1805. ],
  1806. "tags": [
  1807. "企业风险管理(app)"
  1808. ],
  1809. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1810. "parameters": [
  1811. {
  1812. "type": "integer",
  1813. "description": "用户ID",
  1814. "name": "userid",
  1815. "in": "query",
  1816. "required": true
  1817. }
  1818. ],
  1819. "responses": {
  1820. "200": {
  1821. "description": "OK",
  1822. "schema": {
  1823. "type": "array",
  1824. "items": {
  1825. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1826. }
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryAreaStock": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "查询机构库存(库存管理/当前库存)",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "用户ID",
  1856. "name": "userid",
  1857. "in": "query",
  1858. "required": true
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "OK",
  1864. "schema": {
  1865. "type": "array",
  1866. "items": {
  1867. "$ref": "#/definitions/models.ErmcpAreaStock"
  1868. }
  1869. }
  1870. },
  1871. "500": {
  1872. "description": "Internal Server Error",
  1873. "schema": {
  1874. "$ref": "#/definitions/app.Response"
  1875. }
  1876. }
  1877. }
  1878. }
  1879. },
  1880. "/Ermcp/QueryAreaStockApply": {
  1881. "get": {
  1882. "security": [
  1883. {
  1884. "ApiKeyAuth": []
  1885. }
  1886. ],
  1887. "produces": [
  1888. "application/json"
  1889. ],
  1890. "tags": [
  1891. "企业风险管理(app)"
  1892. ],
  1893. "summary": "查询库存申请(出入库记录|库存审核)",
  1894. "parameters": [
  1895. {
  1896. "type": "integer",
  1897. "description": "用户ID",
  1898. "name": "userid",
  1899. "in": "query",
  1900. "required": true
  1901. },
  1902. {
  1903. "type": "string",
  1904. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1905. "name": "inouttype",
  1906. "in": "query"
  1907. },
  1908. {
  1909. "type": "integer",
  1910. "description": "合同ID",
  1911. "name": "spotcontractid",
  1912. "in": "query"
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "现货商品ID",
  1917. "name": "wrstandardid",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "integer",
  1922. "description": "品牌ID",
  1923. "name": "spotgoodsbrandid",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "型号ID",
  1929. "name": "spotgoodsmodelid",
  1930. "in": "query"
  1931. },
  1932. {
  1933. "type": "integer",
  1934. "description": "仓库ID",
  1935. "name": "warehouseinfoid",
  1936. "in": "query"
  1937. },
  1938. {
  1939. "type": "string",
  1940. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1941. "name": "applystatus",
  1942. "in": "query"
  1943. }
  1944. ],
  1945. "responses": {
  1946. "200": {
  1947. "description": "OK",
  1948. "schema": {
  1949. "type": "array",
  1950. "items": {
  1951. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1952. }
  1953. }
  1954. },
  1955. "500": {
  1956. "description": "Internal Server Error",
  1957. "schema": {
  1958. "$ref": "#/definitions/app.Response"
  1959. }
  1960. }
  1961. }
  1962. }
  1963. },
  1964. "/Ermcp/QueryAreaStockApplySum": {
  1965. "get": {
  1966. "security": [
  1967. {
  1968. "ApiKeyAuth": []
  1969. }
  1970. ],
  1971. "produces": [
  1972. "application/json"
  1973. ],
  1974. "tags": [
  1975. "企业风险管理(app)"
  1976. ],
  1977. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1978. "parameters": [
  1979. {
  1980. "type": "integer",
  1981. "description": "合同ID",
  1982. "name": "spotcontractid",
  1983. "in": "query"
  1984. }
  1985. ],
  1986. "responses": {
  1987. "200": {
  1988. "description": "OK",
  1989. "schema": {
  1990. "type": "array",
  1991. "items": {
  1992. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1993. }
  1994. }
  1995. },
  1996. "500": {
  1997. "description": "Internal Server Error",
  1998. "schema": {
  1999. "$ref": "#/definitions/app.Response"
  2000. }
  2001. }
  2002. }
  2003. }
  2004. },
  2005. "/Ermcp/QueryAreaStockReport": {
  2006. "get": {
  2007. "security": [
  2008. {
  2009. "ApiKeyAuth": []
  2010. }
  2011. ],
  2012. "produces": [
  2013. "application/json"
  2014. ],
  2015. "tags": [
  2016. "企业风险管理(app)"
  2017. ],
  2018. "summary": "查询库存报表",
  2019. "parameters": [
  2020. {
  2021. "type": "integer",
  2022. "description": "用户ID",
  2023. "name": "userid",
  2024. "in": "query",
  2025. "required": true
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "查询类型 1-日报表 2-月报表",
  2030. "name": "querytype",
  2031. "in": "query",
  2032. "required": true
  2033. },
  2034. {
  2035. "type": "string",
  2036. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2037. "name": "querydate",
  2038. "in": "query",
  2039. "required": true
  2040. },
  2041. {
  2042. "type": "integer",
  2043. "description": "现货商品ID",
  2044. "name": "wrstandardid",
  2045. "in": "query"
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "品牌ID",
  2050. "name": "spotgoodsbrandid",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "型号ID",
  2056. "name": "spotgoodsmodelid",
  2057. "in": "query"
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "仓库ID",
  2062. "name": "warehouseinfoid",
  2063. "in": "query"
  2064. }
  2065. ],
  2066. "responses": {
  2067. "200": {
  2068. "description": "OK",
  2069. "schema": {
  2070. "type": "array",
  2071. "items": {
  2072. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2073. }
  2074. }
  2075. },
  2076. "500": {
  2077. "description": "Internal Server Error",
  2078. "schema": {
  2079. "$ref": "#/definitions/app.Response"
  2080. }
  2081. }
  2082. }
  2083. }
  2084. },
  2085. "/Ermcp/QueryAreaStockReportDetail": {
  2086. "get": {
  2087. "security": [
  2088. {
  2089. "ApiKeyAuth": []
  2090. }
  2091. ],
  2092. "produces": [
  2093. "application/json"
  2094. ],
  2095. "tags": [
  2096. "企业风险管理(app)"
  2097. ],
  2098. "summary": "查询库存报表明细",
  2099. "parameters": [
  2100. {
  2101. "type": "integer",
  2102. "description": "用户ID",
  2103. "name": "userid",
  2104. "in": "query",
  2105. "required": true
  2106. },
  2107. {
  2108. "type": "integer",
  2109. "description": "查询类型 1-日报表明细 2-月报表明细",
  2110. "name": "querytype",
  2111. "in": "query",
  2112. "required": true
  2113. },
  2114. {
  2115. "type": "integer",
  2116. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2117. "name": "detailtype",
  2118. "in": "query",
  2119. "required": true
  2120. },
  2121. {
  2122. "type": "string",
  2123. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2124. "name": "querydate",
  2125. "in": "query",
  2126. "required": true
  2127. },
  2128. {
  2129. "type": "integer",
  2130. "description": "现货商品ID",
  2131. "name": "wrstandardid",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "品牌ID",
  2137. "name": "spotgoodsbrandid",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "integer",
  2142. "description": "型号ID",
  2143. "name": "spotgoodsmodelid",
  2144. "in": "query"
  2145. },
  2146. {
  2147. "type": "integer",
  2148. "description": "仓库ID",
  2149. "name": "warehouseinfoid",
  2150. "in": "query"
  2151. }
  2152. ],
  2153. "responses": {
  2154. "200": {
  2155. "description": "OK",
  2156. "schema": {
  2157. "type": "array",
  2158. "items": {
  2159. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2160. }
  2161. }
  2162. },
  2163. "500": {
  2164. "description": "Internal Server Error",
  2165. "schema": {
  2166. "$ref": "#/definitions/app.Response"
  2167. }
  2168. }
  2169. }
  2170. }
  2171. },
  2172. "/Ermcp/QueryAvaildGoodsGroup": {
  2173. "get": {
  2174. "security": [
  2175. {
  2176. "ApiKeyAuth": []
  2177. }
  2178. ],
  2179. "produces": [
  2180. "application/json"
  2181. ],
  2182. "tags": [
  2183. "企业风险管理(app)"
  2184. ],
  2185. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2186. "parameters": [
  2187. {
  2188. "type": "integer",
  2189. "description": "所属机构ID",
  2190. "name": "userid",
  2191. "in": "query",
  2192. "required": true
  2193. }
  2194. ],
  2195. "responses": {
  2196. "200": {
  2197. "description": "OK",
  2198. "schema": {
  2199. "type": "array",
  2200. "items": {
  2201. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2202. }
  2203. }
  2204. },
  2205. "500": {
  2206. "description": "Internal Server Error",
  2207. "schema": {
  2208. "$ref": "#/definitions/app.Response"
  2209. }
  2210. }
  2211. }
  2212. }
  2213. },
  2214. "/Ermcp/QueryBusinessDj": {
  2215. "get": {
  2216. "security": [
  2217. {
  2218. "ApiKeyAuth": []
  2219. }
  2220. ],
  2221. "produces": [
  2222. "application/json"
  2223. ],
  2224. "tags": [
  2225. "企业风险管理(app)"
  2226. ],
  2227. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2228. "parameters": [
  2229. {
  2230. "type": "integer",
  2231. "description": "用户ID",
  2232. "name": "UserId",
  2233. "in": "query",
  2234. "required": true
  2235. },
  2236. {
  2237. "type": "string",
  2238. "description": "现货合同ID, 不填则查所有",
  2239. "name": "relatedid",
  2240. "in": "query"
  2241. },
  2242. {
  2243. "type": "string",
  2244. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2245. "name": "applystatus",
  2246. "in": "query"
  2247. }
  2248. ],
  2249. "responses": {
  2250. "200": {
  2251. "description": "OK",
  2252. "schema": {
  2253. "type": "array",
  2254. "items": {
  2255. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2256. }
  2257. }
  2258. },
  2259. "500": {
  2260. "description": "Internal Server Error",
  2261. "schema": {
  2262. "$ref": "#/definitions/app.Response"
  2263. }
  2264. }
  2265. }
  2266. }
  2267. },
  2268. "/Ermcp/QueryBusinessFp": {
  2269. "get": {
  2270. "security": [
  2271. {
  2272. "ApiKeyAuth": []
  2273. }
  2274. ],
  2275. "produces": [
  2276. "application/json"
  2277. ],
  2278. "tags": [
  2279. "企业风险管理(app)"
  2280. ],
  2281. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2282. "parameters": [
  2283. {
  2284. "type": "integer",
  2285. "description": "用户ID",
  2286. "name": "UserId",
  2287. "in": "query",
  2288. "required": true
  2289. },
  2290. {
  2291. "type": "string",
  2292. "description": "现货合同ID, 不填则查所有",
  2293. "name": "relatedid",
  2294. "in": "query"
  2295. },
  2296. {
  2297. "type": "string",
  2298. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2299. "name": "applystatus",
  2300. "in": "query"
  2301. }
  2302. ],
  2303. "responses": {
  2304. "200": {
  2305. "description": "OK",
  2306. "schema": {
  2307. "type": "array",
  2308. "items": {
  2309. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2310. }
  2311. }
  2312. },
  2313. "500": {
  2314. "description": "Internal Server Error",
  2315. "schema": {
  2316. "$ref": "#/definitions/app.Response"
  2317. }
  2318. }
  2319. }
  2320. }
  2321. },
  2322. "/Ermcp/QueryBusinessJs": {
  2323. "get": {
  2324. "security": [
  2325. {
  2326. "ApiKeyAuth": []
  2327. }
  2328. ],
  2329. "produces": [
  2330. "application/json"
  2331. ],
  2332. "tags": [
  2333. "企业风险管理(app)"
  2334. ],
  2335. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2336. "parameters": [
  2337. {
  2338. "type": "integer",
  2339. "description": "用户ID",
  2340. "name": "UserId",
  2341. "in": "query",
  2342. "required": true
  2343. },
  2344. {
  2345. "type": "string",
  2346. "description": "现货合同ID, 不填则查所有",
  2347. "name": "relatedid",
  2348. "in": "query"
  2349. },
  2350. {
  2351. "type": "string",
  2352. "description": "操作申请id",
  2353. "name": "operateapplyid",
  2354. "in": "query"
  2355. },
  2356. {
  2357. "type": "string",
  2358. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2359. "name": "applystatus",
  2360. "in": "query"
  2361. }
  2362. ],
  2363. "responses": {
  2364. "200": {
  2365. "description": "OK",
  2366. "schema": {
  2367. "type": "array",
  2368. "items": {
  2369. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2370. }
  2371. }
  2372. },
  2373. "500": {
  2374. "description": "Internal Server Error",
  2375. "schema": {
  2376. "$ref": "#/definitions/app.Response"
  2377. }
  2378. }
  2379. }
  2380. }
  2381. },
  2382. "/Ermcp/QueryBusinessJsEx": {
  2383. "get": {
  2384. "security": [
  2385. {
  2386. "ApiKeyAuth": []
  2387. }
  2388. ],
  2389. "produces": [
  2390. "application/json"
  2391. ],
  2392. "tags": [
  2393. "企业风险管理(app)"
  2394. ],
  2395. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2396. "parameters": [
  2397. {
  2398. "type": "integer",
  2399. "description": "用户ID",
  2400. "name": "UserId",
  2401. "in": "query",
  2402. "required": true
  2403. },
  2404. {
  2405. "type": "string",
  2406. "description": "现货合同ID, 不填则查所有",
  2407. "name": "relatedid",
  2408. "in": "query"
  2409. },
  2410. {
  2411. "type": "string",
  2412. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2413. "name": "applystatus",
  2414. "in": "query"
  2415. }
  2416. ],
  2417. "responses": {
  2418. "200": {
  2419. "description": "OK",
  2420. "schema": {
  2421. "type": "array",
  2422. "items": {
  2423. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2424. }
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/Ermcp/QueryBusinessKx": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "企业风险管理(app)"
  2448. ],
  2449. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2450. "parameters": [
  2451. {
  2452. "type": "integer",
  2453. "description": "用户ID",
  2454. "name": "UserId",
  2455. "in": "query",
  2456. "required": true
  2457. },
  2458. {
  2459. "type": "string",
  2460. "description": "现货合同ID, 不填则查所有",
  2461. "name": "relatedid",
  2462. "in": "query"
  2463. },
  2464. {
  2465. "type": "string",
  2466. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2467. "name": "applystatus",
  2468. "in": "query"
  2469. }
  2470. ],
  2471. "responses": {
  2472. "200": {
  2473. "description": "OK",
  2474. "schema": {
  2475. "type": "array",
  2476. "items": {
  2477. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2478. }
  2479. }
  2480. },
  2481. "500": {
  2482. "description": "Internal Server Error",
  2483. "schema": {
  2484. "$ref": "#/definitions/app.Response"
  2485. }
  2486. }
  2487. }
  2488. }
  2489. },
  2490. "/Ermcp/QueryChangeLog": {
  2491. "get": {
  2492. "security": [
  2493. {
  2494. "ApiKeyAuth": []
  2495. }
  2496. ],
  2497. "produces": [
  2498. "application/json"
  2499. ],
  2500. "tags": [
  2501. "企业风险管理(app)"
  2502. ],
  2503. "summary": "查询变更记录",
  2504. "parameters": [
  2505. {
  2506. "type": "string",
  2507. "description": "合同ID",
  2508. "name": "RelatedId",
  2509. "in": "query",
  2510. "required": true
  2511. }
  2512. ],
  2513. "responses": {
  2514. "200": {
  2515. "description": "OK",
  2516. "schema": {
  2517. "type": "array",
  2518. "items": {
  2519. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2520. }
  2521. }
  2522. },
  2523. "500": {
  2524. "description": "Internal Server Error",
  2525. "schema": {
  2526. "$ref": "#/definitions/app.Response"
  2527. }
  2528. }
  2529. }
  2530. }
  2531. },
  2532. "/Ermcp/QueryContract": {
  2533. "get": {
  2534. "security": [
  2535. {
  2536. "ApiKeyAuth": []
  2537. }
  2538. ],
  2539. "produces": [
  2540. "application/json"
  2541. ],
  2542. "tags": [
  2543. "企业风险管理(app)"
  2544. ],
  2545. "summary": "查询合同(采购和销售)",
  2546. "parameters": [
  2547. {
  2548. "type": "integer",
  2549. "description": "用户ID",
  2550. "name": "userId",
  2551. "in": "query",
  2552. "required": true
  2553. },
  2554. {
  2555. "type": "integer",
  2556. "description": "合同类型 1-采购, -1-销售",
  2557. "name": "contracttype",
  2558. "in": "query",
  2559. "required": true
  2560. },
  2561. {
  2562. "type": "integer",
  2563. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2564. "name": "querytype",
  2565. "in": "query",
  2566. "required": true
  2567. },
  2568. {
  2569. "type": "string",
  2570. "description": "合同ID(SpotContractId)",
  2571. "name": "contractid",
  2572. "in": "query"
  2573. }
  2574. ],
  2575. "responses": {
  2576. "200": {
  2577. "description": "OK",
  2578. "schema": {
  2579. "type": "array",
  2580. "items": {
  2581. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2582. }
  2583. }
  2584. },
  2585. "500": {
  2586. "description": "Internal Server Error",
  2587. "schema": {
  2588. "$ref": "#/definitions/app.Response"
  2589. }
  2590. }
  2591. }
  2592. }
  2593. },
  2594. "/Ermcp/QueryErmcpHisOrderDetails": {
  2595. "get": {
  2596. "security": [
  2597. {
  2598. "ApiKeyAuth": []
  2599. }
  2600. ],
  2601. "produces": [
  2602. "application/json"
  2603. ],
  2604. "tags": [
  2605. "企业风险管理(app)"
  2606. ],
  2607. "summary": "获取企业风管期货历史委托单信息",
  2608. "parameters": [
  2609. {
  2610. "type": "integer",
  2611. "description": "资金账户ID",
  2612. "name": "accountID",
  2613. "in": "query",
  2614. "required": true
  2615. },
  2616. {
  2617. "type": "string",
  2618. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2619. "name": "startDate",
  2620. "in": "query"
  2621. },
  2622. {
  2623. "type": "string",
  2624. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2625. "name": "endDate",
  2626. "in": "query"
  2627. }
  2628. ],
  2629. "responses": {
  2630. "200": {
  2631. "description": "OK",
  2632. "schema": {
  2633. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2634. }
  2635. },
  2636. "500": {
  2637. "description": "Internal Server Error",
  2638. "schema": {
  2639. "$ref": "#/definitions/app.Response"
  2640. }
  2641. }
  2642. }
  2643. }
  2644. },
  2645. "/Ermcp/QueryErmcpHisTradeDetails": {
  2646. "get": {
  2647. "security": [
  2648. {
  2649. "ApiKeyAuth": []
  2650. }
  2651. ],
  2652. "produces": [
  2653. "application/json"
  2654. ],
  2655. "tags": [
  2656. "企业风险管理(app)"
  2657. ],
  2658. "summary": "获取企业风管期货历史成交单信息",
  2659. "parameters": [
  2660. {
  2661. "type": "integer",
  2662. "description": "资金账户ID",
  2663. "name": "accountID",
  2664. "in": "query",
  2665. "required": true
  2666. },
  2667. {
  2668. "type": "integer",
  2669. "description": "商品ID",
  2670. "name": "goodsID",
  2671. "in": "query"
  2672. },
  2673. {
  2674. "type": "integer",
  2675. "description": "买卖方向,0:买 1:卖",
  2676. "name": "buyOrSell",
  2677. "in": "query"
  2678. },
  2679. {
  2680. "type": "integer",
  2681. "description": "关联委托单号",
  2682. "name": "orderID",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "string",
  2687. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2688. "name": "startDate",
  2689. "in": "query"
  2690. },
  2691. {
  2692. "type": "string",
  2693. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2694. "name": "endDate",
  2695. "in": "query"
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2703. }
  2704. },
  2705. "500": {
  2706. "description": "Internal Server Error",
  2707. "schema": {
  2708. "$ref": "#/definitions/app.Response"
  2709. }
  2710. }
  2711. }
  2712. }
  2713. },
  2714. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2715. "get": {
  2716. "security": [
  2717. {
  2718. "ApiKeyAuth": []
  2719. }
  2720. ],
  2721. "produces": [
  2722. "application/json"
  2723. ],
  2724. "tags": [
  2725. "企业风险管理(app)"
  2726. ],
  2727. "summary": "获取企业风管期货内部持仓单信息",
  2728. "parameters": [
  2729. {
  2730. "type": "integer",
  2731. "description": "资金账户ID",
  2732. "name": "accountID",
  2733. "in": "query",
  2734. "required": true
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "商品ID",
  2739. "name": "goodsID",
  2740. "in": "query"
  2741. },
  2742. {
  2743. "type": "integer",
  2744. "description": "买卖方向,0:买 1:卖",
  2745. "name": "buyOrSell",
  2746. "in": "query"
  2747. }
  2748. ],
  2749. "responses": {
  2750. "200": {
  2751. "description": "OK",
  2752. "schema": {
  2753. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2754. }
  2755. },
  2756. "500": {
  2757. "description": "Internal Server Error",
  2758. "schema": {
  2759. "$ref": "#/definitions/app.Response"
  2760. }
  2761. }
  2762. }
  2763. }
  2764. },
  2765. "/Ermcp/QueryErmcpOrderDetails": {
  2766. "get": {
  2767. "security": [
  2768. {
  2769. "ApiKeyAuth": []
  2770. }
  2771. ],
  2772. "produces": [
  2773. "application/json"
  2774. ],
  2775. "tags": [
  2776. "企业风险管理(app)"
  2777. ],
  2778. "summary": "获取企业风管期货委托单信息",
  2779. "parameters": [
  2780. {
  2781. "type": "integer",
  2782. "description": "资金账户ID",
  2783. "name": "accountID",
  2784. "in": "query",
  2785. "required": true
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2793. }
  2794. },
  2795. "500": {
  2796. "description": "Internal Server Error",
  2797. "schema": {
  2798. "$ref": "#/definitions/app.Response"
  2799. }
  2800. }
  2801. }
  2802. }
  2803. },
  2804. "/Ermcp/QueryErmcpTradeDetails": {
  2805. "get": {
  2806. "security": [
  2807. {
  2808. "ApiKeyAuth": []
  2809. }
  2810. ],
  2811. "produces": [
  2812. "application/json"
  2813. ],
  2814. "tags": [
  2815. "企业风险管理(app)"
  2816. ],
  2817. "summary": "获取企业风管期货成交单信息",
  2818. "parameters": [
  2819. {
  2820. "type": "integer",
  2821. "description": "资金账户ID",
  2822. "name": "accountID",
  2823. "in": "query",
  2824. "required": true
  2825. },
  2826. {
  2827. "type": "integer",
  2828. "description": "商品ID",
  2829. "name": "goodsID",
  2830. "in": "query"
  2831. },
  2832. {
  2833. "type": "integer",
  2834. "description": "买卖方向,0:买 1:卖",
  2835. "name": "buyOrSell",
  2836. "in": "query"
  2837. },
  2838. {
  2839. "type": "integer",
  2840. "description": "关联委托单号",
  2841. "name": "orderID",
  2842. "in": "query"
  2843. }
  2844. ],
  2845. "responses": {
  2846. "200": {
  2847. "description": "OK",
  2848. "schema": {
  2849. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryErmcpTradePosition": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2869. "produces": [
  2870. "application/json"
  2871. ],
  2872. "tags": [
  2873. "企业风险管理(app)"
  2874. ],
  2875. "summary": "获取企业风管期货持仓头寸信息",
  2876. "parameters": [
  2877. {
  2878. "type": "integer",
  2879. "description": "资金账户ID",
  2880. "name": "accountID",
  2881. "in": "query",
  2882. "required": true
  2883. },
  2884. {
  2885. "type": "integer",
  2886. "description": "所属市场ID",
  2887. "name": "marketID",
  2888. "in": "query"
  2889. }
  2890. ],
  2891. "responses": {
  2892. "200": {
  2893. "description": "OK",
  2894. "schema": {
  2895. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2896. }
  2897. },
  2898. "500": {
  2899. "description": "Internal Server Error",
  2900. "schema": {
  2901. "$ref": "#/definitions/app.Response"
  2902. }
  2903. }
  2904. }
  2905. }
  2906. },
  2907. "/Ermcp/QueryExposureDetail": {
  2908. "get": {
  2909. "security": [
  2910. {
  2911. "ApiKeyAuth": []
  2912. }
  2913. ],
  2914. "produces": [
  2915. "application/json"
  2916. ],
  2917. "tags": [
  2918. "企业风险管理(app)"
  2919. ],
  2920. "summary": "查询敞口现货明细",
  2921. "parameters": [
  2922. {
  2923. "type": "integer",
  2924. "description": "所属机构ID",
  2925. "name": "areaUserId",
  2926. "in": "query",
  2927. "required": true
  2928. },
  2929. {
  2930. "type": "integer",
  2931. "description": "套保商品",
  2932. "name": "middleGoodsId",
  2933. "in": "query",
  2934. "required": true
  2935. }
  2936. ],
  2937. "responses": {
  2938. "200": {
  2939. "description": "OK",
  2940. "schema": {
  2941. "type": "array",
  2942. "items": {
  2943. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2944. }
  2945. }
  2946. },
  2947. "500": {
  2948. "description": "Internal Server Error",
  2949. "schema": {
  2950. "$ref": "#/definitions/app.Response"
  2951. }
  2952. }
  2953. }
  2954. }
  2955. },
  2956. "/Ermcp/QueryExposureHedgePosition": {
  2957. "get": {
  2958. "security": [
  2959. {
  2960. "ApiKeyAuth": []
  2961. }
  2962. ],
  2963. "produces": [
  2964. "application/json"
  2965. ],
  2966. "tags": [
  2967. "企业风险管理(app)"
  2968. ],
  2969. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2970. "parameters": [
  2971. {
  2972. "type": "integer",
  2973. "description": "所属机构ID",
  2974. "name": "areaUserId",
  2975. "in": "query",
  2976. "required": true
  2977. }
  2978. ],
  2979. "responses": {
  2980. "200": {
  2981. "description": "OK",
  2982. "schema": {
  2983. "type": "array",
  2984. "items": {
  2985. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2986. }
  2987. }
  2988. },
  2989. "500": {
  2990. "description": "Internal Server Error",
  2991. "schema": {
  2992. "$ref": "#/definitions/app.Response"
  2993. }
  2994. }
  2995. }
  2996. }
  2997. },
  2998. "/Ermcp/QueryExposureHedgePositionDetail": {
  2999. "get": {
  3000. "security": [
  3001. {
  3002. "ApiKeyAuth": []
  3003. }
  3004. ],
  3005. "produces": [
  3006. "application/json"
  3007. ],
  3008. "tags": [
  3009. "企业风险管理(app)"
  3010. ],
  3011. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  3012. "parameters": [
  3013. {
  3014. "type": "integer",
  3015. "description": "所属机构ID",
  3016. "name": "areaUserId",
  3017. "in": "query",
  3018. "required": true
  3019. },
  3020. {
  3021. "type": "integer",
  3022. "description": "商品id",
  3023. "name": "goodsId",
  3024. "in": "query",
  3025. "required": true
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp/QueryExposureSpot": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理(app)"
  3059. ],
  3060. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "所属机构ID",
  3065. "name": "areaUserId",
  3066. "in": "query",
  3067. "required": true
  3068. }
  3069. ],
  3070. "responses": {
  3071. "200": {
  3072. "description": "OK",
  3073. "schema": {
  3074. "type": "array",
  3075. "items": {
  3076. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3077. }
  3078. }
  3079. },
  3080. "500": {
  3081. "description": "Internal Server Error",
  3082. "schema": {
  3083. "$ref": "#/definitions/app.Response"
  3084. }
  3085. }
  3086. }
  3087. }
  3088. },
  3089. "/Ermcp/QueryExposureSpotDetail": {
  3090. "get": {
  3091. "security": [
  3092. {
  3093. "ApiKeyAuth": []
  3094. }
  3095. ],
  3096. "produces": [
  3097. "application/json"
  3098. ],
  3099. "tags": [
  3100. "企业风险管理(app)"
  3101. ],
  3102. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3103. "parameters": [
  3104. {
  3105. "type": "integer",
  3106. "description": "所属机构ID",
  3107. "name": "areaUserId",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "integer",
  3113. "description": "现货品种ID",
  3114. "name": "wrstandardId",
  3115. "in": "query",
  3116. "required": true
  3117. }
  3118. ],
  3119. "responses": {
  3120. "200": {
  3121. "description": "OK",
  3122. "schema": {
  3123. "type": "array",
  3124. "items": {
  3125. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3126. }
  3127. }
  3128. },
  3129. "500": {
  3130. "description": "Internal Server Error",
  3131. "schema": {
  3132. "$ref": "#/definitions/app.Response"
  3133. }
  3134. }
  3135. }
  3136. }
  3137. },
  3138. "/Ermcp/QueryFuturesCompany": {
  3139. "get": {
  3140. "security": [
  3141. {
  3142. "ApiKeyAuth": []
  3143. }
  3144. ],
  3145. "produces": [
  3146. "application/json"
  3147. ],
  3148. "tags": [
  3149. "企业风险管理(app)"
  3150. ],
  3151. "summary": "查询期货公司",
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Ermcp/QueryGGConvertConfig": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "企业风险管理(app)"
  3183. ],
  3184. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "品种id(不填则查所有)",
  3189. "name": "goodsgroupid",
  3190. "in": "query"
  3191. }
  3192. ],
  3193. "responses": {
  3194. "200": {
  3195. "description": "OK",
  3196. "schema": {
  3197. "type": "array",
  3198. "items": {
  3199. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3200. }
  3201. }
  3202. },
  3203. "500": {
  3204. "description": "Internal Server Error",
  3205. "schema": {
  3206. "$ref": "#/definitions/app.Response"
  3207. }
  3208. }
  3209. }
  3210. }
  3211. },
  3212. "/Ermcp/QueryGoodsBrand": {
  3213. "get": {
  3214. "security": [
  3215. {
  3216. "ApiKeyAuth": []
  3217. }
  3218. ],
  3219. "produces": [
  3220. "application/json"
  3221. ],
  3222. "tags": [
  3223. "企业风险管理(app)"
  3224. ],
  3225. "summary": "查询商品品牌",
  3226. "parameters": [
  3227. {
  3228. "type": "integer",
  3229. "description": "用户ID",
  3230. "name": "userid",
  3231. "in": "query",
  3232. "required": true
  3233. },
  3234. {
  3235. "type": "integer",
  3236. "description": "现货商品ID",
  3237. "name": "wrstandardid",
  3238. "in": "query"
  3239. }
  3240. ],
  3241. "responses": {
  3242. "200": {
  3243. "description": "OK",
  3244. "schema": {
  3245. "type": "array",
  3246. "items": {
  3247. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3248. }
  3249. }
  3250. },
  3251. "500": {
  3252. "description": "Internal Server Error",
  3253. "schema": {
  3254. "$ref": "#/definitions/app.Response"
  3255. }
  3256. }
  3257. }
  3258. }
  3259. },
  3260. "/Ermcp/QueryGoodsModel": {
  3261. "get": {
  3262. "security": [
  3263. {
  3264. "ApiKeyAuth": []
  3265. }
  3266. ],
  3267. "produces": [
  3268. "application/json"
  3269. ],
  3270. "tags": [
  3271. "企业风险管理(app)"
  3272. ],
  3273. "summary": "查询商品型号",
  3274. "parameters": [
  3275. {
  3276. "type": "integer",
  3277. "description": "用户ID",
  3278. "name": "userid",
  3279. "in": "query",
  3280. "required": true
  3281. }
  3282. ],
  3283. "responses": {
  3284. "200": {
  3285. "description": "OK",
  3286. "schema": {
  3287. "type": "array",
  3288. "items": {
  3289. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3290. }
  3291. }
  3292. },
  3293. "500": {
  3294. "description": "Internal Server Error",
  3295. "schema": {
  3296. "$ref": "#/definitions/app.Response"
  3297. }
  3298. }
  3299. }
  3300. }
  3301. },
  3302. "/Ermcp/QueryHedgePlan": {
  3303. "get": {
  3304. "security": [
  3305. {
  3306. "ApiKeyAuth": []
  3307. }
  3308. ],
  3309. "produces": [
  3310. "application/json"
  3311. ],
  3312. "tags": [
  3313. "企业风险管理(app)"
  3314. ],
  3315. "summary": "查询套保计划",
  3316. "parameters": [
  3317. {
  3318. "type": "integer",
  3319. "description": "用户ID",
  3320. "name": "userId",
  3321. "in": "query",
  3322. "required": true
  3323. },
  3324. {
  3325. "type": "string",
  3326. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3327. "name": "HedgePlanStatus",
  3328. "in": "query",
  3329. "required": true
  3330. }
  3331. ],
  3332. "responses": {
  3333. "200": {
  3334. "description": "OK",
  3335. "schema": {
  3336. "type": "array",
  3337. "items": {
  3338. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3339. }
  3340. }
  3341. },
  3342. "500": {
  3343. "description": "Internal Server Error",
  3344. "schema": {
  3345. "$ref": "#/definitions/app.Response"
  3346. }
  3347. }
  3348. }
  3349. }
  3350. },
  3351. "/Ermcp/QueryHisExposure": {
  3352. "get": {
  3353. "security": [
  3354. {
  3355. "ApiKeyAuth": []
  3356. }
  3357. ],
  3358. "produces": [
  3359. "application/json"
  3360. ],
  3361. "tags": [
  3362. "企业风险管理(app)"
  3363. ],
  3364. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3365. "parameters": [
  3366. {
  3367. "type": "integer",
  3368. "description": "所属机构ID",
  3369. "name": "areaUserId",
  3370. "in": "query",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "每个品种记录数",
  3376. "name": "lastNum",
  3377. "in": "query",
  3378. "required": true
  3379. }
  3380. ],
  3381. "responses": {
  3382. "200": {
  3383. "description": "OK",
  3384. "schema": {
  3385. "type": "array",
  3386. "items": {
  3387. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3388. }
  3389. }
  3390. },
  3391. "500": {
  3392. "description": "Internal Server Error",
  3393. "schema": {
  3394. "$ref": "#/definitions/app.Response"
  3395. }
  3396. }
  3397. }
  3398. }
  3399. },
  3400. "/Ermcp/QueryMiddleGoods": {
  3401. "get": {
  3402. "security": [
  3403. {
  3404. "ApiKeyAuth": []
  3405. }
  3406. ],
  3407. "produces": [
  3408. "application/json"
  3409. ],
  3410. "tags": [
  3411. "企业风险管理(app)"
  3412. ],
  3413. "summary": "查询套保品种(菜单:套保品种)",
  3414. "parameters": [
  3415. {
  3416. "type": "integer",
  3417. "description": "所属机构ID",
  3418. "name": "userid",
  3419. "in": "query",
  3420. "required": true
  3421. },
  3422. {
  3423. "type": "integer",
  3424. "description": "状态 0-停用 1-正常",
  3425. "name": "status",
  3426. "in": "query",
  3427. "required": true
  3428. }
  3429. ],
  3430. "responses": {
  3431. "200": {
  3432. "description": "OK",
  3433. "schema": {
  3434. "type": "array",
  3435. "items": {
  3436. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3437. }
  3438. }
  3439. },
  3440. "500": {
  3441. "description": "Internal Server Error",
  3442. "schema": {
  3443. "$ref": "#/definitions/app.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3450. "get": {
  3451. "security": [
  3452. {
  3453. "ApiKeyAuth": []
  3454. }
  3455. ],
  3456. "produces": [
  3457. "application/json"
  3458. ],
  3459. "tags": [
  3460. "企业风险管理(app)"
  3461. ],
  3462. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3463. "parameters": [
  3464. {
  3465. "type": "integer",
  3466. "description": "所属机构ID",
  3467. "name": "userid",
  3468. "in": "query",
  3469. "required": true
  3470. },
  3471. {
  3472. "type": "integer",
  3473. "description": "套保品种id",
  3474. "name": "middlegoodsid",
  3475. "in": "query",
  3476. "required": true
  3477. }
  3478. ],
  3479. "responses": {
  3480. "200": {
  3481. "description": "OK",
  3482. "schema": {
  3483. "type": "array",
  3484. "items": {
  3485. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3486. }
  3487. }
  3488. },
  3489. "500": {
  3490. "description": "Internal Server Error",
  3491. "schema": {
  3492. "$ref": "#/definitions/app.Response"
  3493. }
  3494. }
  3495. }
  3496. }
  3497. },
  3498. "/Ermcp/QueryMiddleGoodsDetail": {
  3499. "get": {
  3500. "security": [
  3501. {
  3502. "ApiKeyAuth": []
  3503. }
  3504. ],
  3505. "produces": [
  3506. "application/json"
  3507. ],
  3508. "tags": [
  3509. "企业风险管理(app)"
  3510. ],
  3511. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3512. "parameters": [
  3513. {
  3514. "type": "integer",
  3515. "description": "所属机构ID",
  3516. "name": "userid",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "套保品种id",
  3523. "name": "middlegoodsid",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "type": "array",
  3532. "items": {
  3533. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3534. }
  3535. }
  3536. },
  3537. "500": {
  3538. "description": "Internal Server Error",
  3539. "schema": {
  3540. "$ref": "#/definitions/app.Response"
  3541. }
  3542. }
  3543. }
  3544. }
  3545. },
  3546. "/Ermcp/QueryPendingAuditInfo": {
  3547. "get": {
  3548. "security": [
  3549. {
  3550. "ApiKeyAuth": []
  3551. }
  3552. ],
  3553. "produces": [
  3554. "application/json"
  3555. ],
  3556. "tags": [
  3557. "企业风险管理(app)"
  3558. ],
  3559. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3560. "parameters": [
  3561. {
  3562. "type": "integer",
  3563. "description": "用户ID",
  3564. "name": "UserId",
  3565. "in": "query",
  3566. "required": true
  3567. }
  3568. ],
  3569. "responses": {
  3570. "200": {
  3571. "description": "OK",
  3572. "schema": {
  3573. "type": "array",
  3574. "items": {
  3575. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3576. }
  3577. }
  3578. },
  3579. "500": {
  3580. "description": "Internal Server Error",
  3581. "schema": {
  3582. "$ref": "#/definitions/app.Response"
  3583. }
  3584. }
  3585. }
  3586. }
  3587. },
  3588. "/Ermcp/QueryRealtimeExposure": {
  3589. "get": {
  3590. "security": [
  3591. {
  3592. "ApiKeyAuth": []
  3593. }
  3594. ],
  3595. "produces": [
  3596. "application/json"
  3597. ],
  3598. "tags": [
  3599. "企业风险管理(app)"
  3600. ],
  3601. "summary": "查询实时敞口",
  3602. "parameters": [
  3603. {
  3604. "type": "integer",
  3605. "description": "所属机构ID",
  3606. "name": "AreaUserID",
  3607. "in": "query",
  3608. "required": true
  3609. }
  3610. ],
  3611. "responses": {
  3612. "200": {
  3613. "description": "OK",
  3614. "schema": {
  3615. "type": "array",
  3616. "items": {
  3617. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3618. }
  3619. }
  3620. },
  3621. "500": {
  3622. "description": "Internal Server Error",
  3623. "schema": {
  3624. "$ref": "#/definitions/app.Response"
  3625. }
  3626. }
  3627. }
  3628. }
  3629. },
  3630. "/Ermcp/QueryRealtimeExposurePosition": {
  3631. "get": {
  3632. "security": [
  3633. {
  3634. "ApiKeyAuth": []
  3635. }
  3636. ],
  3637. "produces": [
  3638. "application/json"
  3639. ],
  3640. "tags": [
  3641. "企业风险管理(app)"
  3642. ],
  3643. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3644. "parameters": [
  3645. {
  3646. "type": "integer",
  3647. "description": "所属机构ID",
  3648. "name": "areaUserId",
  3649. "in": "query",
  3650. "required": true
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "套保商品ID",
  3655. "name": "middleGoodsId",
  3656. "in": "query",
  3657. "required": true
  3658. }
  3659. ],
  3660. "responses": {
  3661. "200": {
  3662. "description": "OK",
  3663. "schema": {
  3664. "type": "array",
  3665. "items": {
  3666. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3667. }
  3668. }
  3669. },
  3670. "500": {
  3671. "description": "Internal Server Error",
  3672. "schema": {
  3673. "$ref": "#/definitions/app.Response"
  3674. }
  3675. }
  3676. }
  3677. }
  3678. },
  3679. "/Ermcp/QuerySpotContract": {
  3680. "get": {
  3681. "security": [
  3682. {
  3683. "ApiKeyAuth": []
  3684. }
  3685. ],
  3686. "produces": [
  3687. "application/json"
  3688. ],
  3689. "tags": [
  3690. "企业风险管理(app)"
  3691. ],
  3692. "summary": "查询现货合同(对应现货合同菜单)",
  3693. "parameters": [
  3694. {
  3695. "type": "integer",
  3696. "description": "用户ID",
  3697. "name": "userId",
  3698. "in": "query",
  3699. "required": true
  3700. },
  3701. {
  3702. "type": "integer",
  3703. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3704. "name": "QueryType",
  3705. "in": "query",
  3706. "required": true
  3707. }
  3708. ],
  3709. "responses": {
  3710. "200": {
  3711. "description": "OK",
  3712. "schema": {
  3713. "type": "array",
  3714. "items": {
  3715. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3716. }
  3717. }
  3718. },
  3719. "500": {
  3720. "description": "Internal Server Error",
  3721. "schema": {
  3722. "$ref": "#/definitions/app.Response"
  3723. }
  3724. }
  3725. }
  3726. }
  3727. },
  3728. "/Ermcp/QuerySpotGoodsPrice": {
  3729. "get": {
  3730. "security": [
  3731. {
  3732. "ApiKeyAuth": []
  3733. }
  3734. ],
  3735. "produces": [
  3736. "application/json"
  3737. ],
  3738. "tags": [
  3739. "企业风险管理(app)"
  3740. ],
  3741. "summary": "查询现货市价(现货市价)",
  3742. "parameters": [
  3743. {
  3744. "type": "integer",
  3745. "description": "用户ID",
  3746. "name": "userid",
  3747. "in": "query",
  3748. "required": true
  3749. }
  3750. ],
  3751. "responses": {
  3752. "200": {
  3753. "description": "OK",
  3754. "schema": {
  3755. "type": "array",
  3756. "items": {
  3757. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3758. }
  3759. }
  3760. },
  3761. "500": {
  3762. "description": "Internal Server Error",
  3763. "schema": {
  3764. "$ref": "#/definitions/app.Response"
  3765. }
  3766. }
  3767. }
  3768. }
  3769. },
  3770. "/Ermcp/QuerySpotGoodsPriceLog": {
  3771. "get": {
  3772. "security": [
  3773. {
  3774. "ApiKeyAuth": []
  3775. }
  3776. ],
  3777. "produces": [
  3778. "application/json"
  3779. ],
  3780. "tags": [
  3781. "企业风险管理(app)"
  3782. ],
  3783. "summary": "查询现货市价详情(现货市价/详情)",
  3784. "parameters": [
  3785. {
  3786. "type": "integer",
  3787. "description": "用户ID",
  3788. "name": "userid",
  3789. "in": "query",
  3790. "required": true
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "现货商品ID",
  3795. "name": "wrstandardid",
  3796. "in": "query",
  3797. "required": true
  3798. }
  3799. ],
  3800. "responses": {
  3801. "200": {
  3802. "description": "OK",
  3803. "schema": {
  3804. "type": "array",
  3805. "items": {
  3806. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3807. }
  3808. }
  3809. },
  3810. "500": {
  3811. "description": "Internal Server Error",
  3812. "schema": {
  3813. "$ref": "#/definitions/app.Response"
  3814. }
  3815. }
  3816. }
  3817. }
  3818. },
  3819. "/Ermcp/QueryTradeConfigTMP": {
  3820. "get": {
  3821. "security": [
  3822. {
  3823. "ApiKeyAuth": []
  3824. }
  3825. ],
  3826. "produces": [
  3827. "application/json"
  3828. ],
  3829. "tags": [
  3830. "企业风险管理(app)"
  3831. ],
  3832. "summary": "查询交易模板配置",
  3833. "parameters": [
  3834. {
  3835. "type": "integer",
  3836. "description": "所属机构id",
  3837. "name": "areauserid",
  3838. "in": "query"
  3839. }
  3840. ],
  3841. "responses": {
  3842. "200": {
  3843. "description": "OK",
  3844. "schema": {
  3845. "type": "array",
  3846. "items": {
  3847. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3848. }
  3849. }
  3850. },
  3851. "500": {
  3852. "description": "Internal Server Error",
  3853. "schema": {
  3854. "$ref": "#/definitions/app.Response"
  3855. }
  3856. }
  3857. }
  3858. }
  3859. },
  3860. "/Ermcp/QueryUserInfo": {
  3861. "get": {
  3862. "security": [
  3863. {
  3864. "ApiKeyAuth": []
  3865. }
  3866. ],
  3867. "produces": [
  3868. "application/json"
  3869. ],
  3870. "tags": [
  3871. "企业风险管理(app)"
  3872. ],
  3873. "summary": "查询客户资料",
  3874. "parameters": [
  3875. {
  3876. "type": "integer",
  3877. "description": "所属机构用户ID",
  3878. "name": "MemberUserID",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "integer",
  3884. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3885. "name": "queryType",
  3886. "in": "query",
  3887. "required": true
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "type": "array",
  3895. "items": {
  3896. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3897. }
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/Ermcp/QueryWarehouseInfo": {
  3910. "get": {
  3911. "security": [
  3912. {
  3913. "ApiKeyAuth": []
  3914. }
  3915. ],
  3916. "produces": [
  3917. "application/json"
  3918. ],
  3919. "tags": [
  3920. "企业风险管理(app)"
  3921. ],
  3922. "summary": "查询仓库信息",
  3923. "parameters": [
  3924. {
  3925. "type": "integer",
  3926. "description": "用户ID",
  3927. "name": "userid",
  3928. "in": "query",
  3929. "required": true
  3930. },
  3931. {
  3932. "type": "string",
  3933. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3934. "name": "status",
  3935. "in": "query"
  3936. }
  3937. ],
  3938. "responses": {
  3939. "200": {
  3940. "description": "OK",
  3941. "schema": {
  3942. "type": "array",
  3943. "items": {
  3944. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3945. }
  3946. }
  3947. },
  3948. "500": {
  3949. "description": "Internal Server Error",
  3950. "schema": {
  3951. "$ref": "#/definitions/app.Response"
  3952. }
  3953. }
  3954. }
  3955. }
  3956. },
  3957. "/Ermcp/QueryWrStandard": {
  3958. "get": {
  3959. "security": [
  3960. {
  3961. "ApiKeyAuth": []
  3962. }
  3963. ],
  3964. "produces": [
  3965. "application/json"
  3966. ],
  3967. "tags": [
  3968. "企业风险管理(app)"
  3969. ],
  3970. "summary": "查询现货商品",
  3971. "parameters": [
  3972. {
  3973. "type": "integer",
  3974. "description": "所属机构ID",
  3975. "name": "userid",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "状态 0-停用 1-正常",
  3982. "name": "status",
  3983. "in": "query",
  3984. "required": true
  3985. }
  3986. ],
  3987. "responses": {
  3988. "200": {
  3989. "description": "OK",
  3990. "schema": {
  3991. "type": "array",
  3992. "items": {
  3993. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3994. }
  3995. }
  3996. },
  3997. "500": {
  3998. "description": "Internal Server Error",
  3999. "schema": {
  4000. "$ref": "#/definitions/app.Response"
  4001. }
  4002. }
  4003. }
  4004. }
  4005. },
  4006. "/Ermcp/QueryWrStandardDetail": {
  4007. "get": {
  4008. "security": [
  4009. {
  4010. "ApiKeyAuth": []
  4011. }
  4012. ],
  4013. "produces": [
  4014. "application/json"
  4015. ],
  4016. "tags": [
  4017. "企业风险管理(app)"
  4018. ],
  4019. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  4020. "parameters": [
  4021. {
  4022. "type": "integer",
  4023. "description": "所属机构ID",
  4024. "name": "userid",
  4025. "in": "query",
  4026. "required": true
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "现货商品ID",
  4031. "name": "wrstandardid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "可不填, 1-查询关联交易商品",
  4037. "name": "goods",
  4038. "in": "query"
  4039. }
  4040. ],
  4041. "responses": {
  4042. "200": {
  4043. "description": "OK",
  4044. "schema": {
  4045. "type": "array",
  4046. "items": {
  4047. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  4048. }
  4049. }
  4050. },
  4051. "500": {
  4052. "description": "Internal Server Error",
  4053. "schema": {
  4054. "$ref": "#/definitions/app.Response"
  4055. }
  4056. }
  4057. }
  4058. }
  4059. },
  4060. "/Ermcp3/QryReportAreaSpotPL": {
  4061. "get": {
  4062. "security": [
  4063. {
  4064. "ApiKeyAuth": []
  4065. }
  4066. ],
  4067. "produces": [
  4068. "application/json"
  4069. ],
  4070. "tags": [
  4071. "企业风险管理v3(app)"
  4072. ],
  4073. "summary": "查询现货损益报表(现货损益报表)",
  4074. "parameters": [
  4075. {
  4076. "type": "integer",
  4077. "description": "用户ID",
  4078. "name": "userid",
  4079. "in": "query",
  4080. "required": true
  4081. },
  4082. {
  4083. "type": "integer",
  4084. "description": "查询类型 1-日报表 2-月报表",
  4085. "name": "querytype",
  4086. "in": "query",
  4087. "required": true
  4088. },
  4089. {
  4090. "type": "string",
  4091. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4092. "name": "querydate",
  4093. "in": "query",
  4094. "required": true
  4095. },
  4096. {
  4097. "type": "integer",
  4098. "description": "现货商品ID",
  4099. "name": "deliverygoodsid",
  4100. "in": "query"
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "品牌ID",
  4105. "name": "spotgoodsbrandid",
  4106. "in": "query"
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "品类ID",
  4111. "name": "wrstandardid",
  4112. "in": "query"
  4113. }
  4114. ],
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "type": "array",
  4120. "items": {
  4121. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  4122. }
  4123. }
  4124. },
  4125. "500": {
  4126. "description": "Internal Server Error",
  4127. "schema": {
  4128. "$ref": "#/definitions/app.Response"
  4129. }
  4130. }
  4131. }
  4132. }
  4133. },
  4134. "/Ermcp3/QryReportDayFinanceFp": {
  4135. "get": {
  4136. "security": [
  4137. {
  4138. "ApiKeyAuth": []
  4139. }
  4140. ],
  4141. "produces": [
  4142. "application/json"
  4143. ],
  4144. "tags": [
  4145. "企业风险管理v3(app)"
  4146. ],
  4147. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  4148. "parameters": [
  4149. {
  4150. "type": "integer",
  4151. "description": "用户ID",
  4152. "name": "userid",
  4153. "in": "query",
  4154. "required": true
  4155. },
  4156. {
  4157. "type": "string",
  4158. "description": "交易日(格式:yyyyMMdd)",
  4159. "name": "tradedate",
  4160. "in": "query",
  4161. "required": true
  4162. }
  4163. ],
  4164. "responses": {
  4165. "200": {
  4166. "description": "OK",
  4167. "schema": {
  4168. "type": "array",
  4169. "items": {
  4170. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4171. }
  4172. }
  4173. },
  4174. "500": {
  4175. "description": "Internal Server Error",
  4176. "schema": {
  4177. "$ref": "#/definitions/app.Response"
  4178. }
  4179. }
  4180. }
  4181. }
  4182. },
  4183. "/Ermcp3/QryReportDayFinanceKx": {
  4184. "get": {
  4185. "security": [
  4186. {
  4187. "ApiKeyAuth": []
  4188. }
  4189. ],
  4190. "produces": [
  4191. "application/json"
  4192. ],
  4193. "tags": [
  4194. "企业风险管理v3(app)"
  4195. ],
  4196. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  4197. "parameters": [
  4198. {
  4199. "type": "integer",
  4200. "description": "用户ID",
  4201. "name": "userid",
  4202. "in": "query",
  4203. "required": true
  4204. },
  4205. {
  4206. "type": "string",
  4207. "description": "交易日(格式:yyyyMMdd)",
  4208. "name": "tradedate",
  4209. "in": "query",
  4210. "required": true
  4211. }
  4212. ],
  4213. "responses": {
  4214. "200": {
  4215. "description": "OK",
  4216. "schema": {
  4217. "type": "array",
  4218. "items": {
  4219. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4220. }
  4221. }
  4222. },
  4223. "500": {
  4224. "description": "Internal Server Error",
  4225. "schema": {
  4226. "$ref": "#/definitions/app.Response"
  4227. }
  4228. }
  4229. }
  4230. }
  4231. },
  4232. "/Ermcp3/QryReportDaySpot": {
  4233. "get": {
  4234. "security": [
  4235. {
  4236. "ApiKeyAuth": []
  4237. }
  4238. ],
  4239. "produces": [
  4240. "application/json"
  4241. ],
  4242. "tags": [
  4243. "企业风险管理v3(app)"
  4244. ],
  4245. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  4246. "parameters": [
  4247. {
  4248. "type": "integer",
  4249. "description": "所属机构id",
  4250. "name": "areauserid",
  4251. "in": "query",
  4252. "required": true
  4253. },
  4254. {
  4255. "type": "string",
  4256. "description": "交易日(格式:yyyyMMdd)",
  4257. "name": "reckondate",
  4258. "in": "query",
  4259. "required": true
  4260. },
  4261. {
  4262. "type": "integer",
  4263. "description": "期货账户ID",
  4264. "name": "accountid",
  4265. "in": "query"
  4266. },
  4267. {
  4268. "type": "integer",
  4269. "description": "现货品种ID",
  4270. "name": "deliverygoodsid",
  4271. "in": "query"
  4272. },
  4273. {
  4274. "type": "integer",
  4275. "description": "品类ID",
  4276. "name": "wrstandardid",
  4277. "in": "query"
  4278. },
  4279. {
  4280. "type": "integer",
  4281. "description": "现货品牌ID",
  4282. "name": "spotgoodsbrandid",
  4283. "in": "query"
  4284. }
  4285. ],
  4286. "responses": {
  4287. "200": {
  4288. "description": "OK",
  4289. "schema": {
  4290. "type": "array",
  4291. "items": {
  4292. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  4293. }
  4294. }
  4295. },
  4296. "500": {
  4297. "description": "Internal Server Error",
  4298. "schema": {
  4299. "$ref": "#/definitions/app.Response"
  4300. }
  4301. }
  4302. }
  4303. }
  4304. },
  4305. "/Ermcp3/QryReportDaySpotDetail": {
  4306. "get": {
  4307. "security": [
  4308. {
  4309. "ApiKeyAuth": []
  4310. }
  4311. ],
  4312. "produces": [
  4313. "application/json"
  4314. ],
  4315. "tags": [
  4316. "企业风险管理v3(app)"
  4317. ],
  4318. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  4319. "parameters": [
  4320. {
  4321. "type": "integer",
  4322. "description": "用户ID",
  4323. "name": "userid",
  4324. "in": "query",
  4325. "required": true
  4326. },
  4327. {
  4328. "type": "integer",
  4329. "description": "现货商品id",
  4330. "name": "deliverygoodsid",
  4331. "in": "query",
  4332. "required": true
  4333. },
  4334. {
  4335. "type": "string",
  4336. "description": "交易日(格式:yyyyMMdd)",
  4337. "name": "tradedate",
  4338. "in": "query",
  4339. "required": true
  4340. },
  4341. {
  4342. "type": "integer",
  4343. "description": "品类ID",
  4344. "name": "wrstandardid",
  4345. "in": "query"
  4346. },
  4347. {
  4348. "type": "integer",
  4349. "description": "现货品牌ID",
  4350. "name": "spotgoodsbrandid",
  4351. "in": "query"
  4352. }
  4353. ],
  4354. "responses": {
  4355. "200": {
  4356. "description": "OK",
  4357. "schema": {
  4358. "type": "array",
  4359. "items": {
  4360. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  4361. }
  4362. }
  4363. },
  4364. "500": {
  4365. "description": "Internal Server Error",
  4366. "schema": {
  4367. "$ref": "#/definitions/app.Response"
  4368. }
  4369. }
  4370. }
  4371. }
  4372. },
  4373. "/Ermcp3/QryReportMonthSpot": {
  4374. "get": {
  4375. "security": [
  4376. {
  4377. "ApiKeyAuth": []
  4378. }
  4379. ],
  4380. "produces": [
  4381. "application/json"
  4382. ],
  4383. "tags": [
  4384. "企业风险管理v3(app)"
  4385. ],
  4386. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  4387. "parameters": [
  4388. {
  4389. "type": "integer",
  4390. "description": "所属机构id",
  4391. "name": "areauserid",
  4392. "in": "query",
  4393. "required": true
  4394. },
  4395. {
  4396. "type": "integer",
  4397. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4398. "name": "cycletype",
  4399. "in": "query",
  4400. "required": true
  4401. },
  4402. {
  4403. "type": "string",
  4404. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  4405. "name": "cycletime",
  4406. "in": "query",
  4407. "required": true
  4408. },
  4409. {
  4410. "type": "integer",
  4411. "description": "期货账户ID",
  4412. "name": "accountid",
  4413. "in": "query"
  4414. },
  4415. {
  4416. "type": "integer",
  4417. "description": "现货品种ID",
  4418. "name": "deliverygoodsid",
  4419. "in": "query"
  4420. },
  4421. {
  4422. "type": "integer",
  4423. "description": "品类ID",
  4424. "name": "wrstandardid",
  4425. "in": "query"
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "现货品牌ID",
  4430. "name": "spotgoodsbrandid",
  4431. "in": "query"
  4432. }
  4433. ],
  4434. "responses": {
  4435. "200": {
  4436. "description": "OK",
  4437. "schema": {
  4438. "type": "array",
  4439. "items": {
  4440. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  4441. }
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Ermcp3/QryReportMonthSpotDetail": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "企业风险管理v3(app)"
  4465. ],
  4466. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  4467. "parameters": [
  4468. {
  4469. "type": "integer",
  4470. "description": "所属机构id",
  4471. "name": "areauserid",
  4472. "in": "query",
  4473. "required": true
  4474. },
  4475. {
  4476. "type": "integer",
  4477. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4478. "name": "cycletype",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "string",
  4484. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  4485. "name": "cycletime",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "期货账户ID",
  4492. "name": "accountid",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货品种ID",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. },
  4501. {
  4502. "type": "integer",
  4503. "description": "品类ID",
  4504. "name": "wrstandardid",
  4505. "in": "query"
  4506. },
  4507. {
  4508. "type": "integer",
  4509. "description": "现货品牌ID",
  4510. "name": "spotgoodsbrandid",
  4511. "in": "query"
  4512. }
  4513. ],
  4514. "responses": {
  4515. "200": {
  4516. "description": "OK",
  4517. "schema": {
  4518. "type": "array",
  4519. "items": {
  4520. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  4521. }
  4522. }
  4523. },
  4524. "500": {
  4525. "description": "Internal Server Error",
  4526. "schema": {
  4527. "$ref": "#/definitions/app.Response"
  4528. }
  4529. }
  4530. }
  4531. }
  4532. },
  4533. "/Ermcp3/QueryAreaStock": {
  4534. "get": {
  4535. "security": [
  4536. {
  4537. "ApiKeyAuth": []
  4538. }
  4539. ],
  4540. "produces": [
  4541. "application/json"
  4542. ],
  4543. "tags": [
  4544. "企业风险管理v3(app)"
  4545. ],
  4546. "summary": "查询机构库存(库存管理/当前库存)",
  4547. "parameters": [
  4548. {
  4549. "type": "integer",
  4550. "description": "用户ID",
  4551. "name": "userid",
  4552. "in": "query",
  4553. "required": true
  4554. }
  4555. ],
  4556. "responses": {
  4557. "200": {
  4558. "description": "OK",
  4559. "schema": {
  4560. "type": "array",
  4561. "items": {
  4562. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4563. }
  4564. }
  4565. },
  4566. "500": {
  4567. "description": "Internal Server Error",
  4568. "schema": {
  4569. "$ref": "#/definitions/app.Response"
  4570. }
  4571. }
  4572. }
  4573. }
  4574. },
  4575. "/Ermcp3/QueryAreaStockApply": {
  4576. "get": {
  4577. "security": [
  4578. {
  4579. "ApiKeyAuth": []
  4580. }
  4581. ],
  4582. "produces": [
  4583. "application/json"
  4584. ],
  4585. "tags": [
  4586. "企业风险管理v3(app)"
  4587. ],
  4588. "summary": "查询库存申请(出入库记录|库存审核)",
  4589. "parameters": [
  4590. {
  4591. "type": "integer",
  4592. "description": "用户ID",
  4593. "name": "userid",
  4594. "in": "query",
  4595. "required": true
  4596. },
  4597. {
  4598. "type": "integer",
  4599. "description": "现货商品ID",
  4600. "name": "deliverygoodsid",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "string",
  4605. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  4606. "name": "inouttype",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "合同ID",
  4612. "name": "spotcontractid",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "integer",
  4617. "description": "品类ID",
  4618. "name": "wrstandardid",
  4619. "in": "query"
  4620. },
  4621. {
  4622. "type": "integer",
  4623. "description": "品牌ID",
  4624. "name": "spotgoodsbrandid",
  4625. "in": "query"
  4626. },
  4627. {
  4628. "type": "integer",
  4629. "description": "仓库ID",
  4630. "name": "warehouseinfoid",
  4631. "in": "query"
  4632. },
  4633. {
  4634. "type": "string",
  4635. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4636. "name": "applystatus",
  4637. "in": "query"
  4638. }
  4639. ],
  4640. "responses": {
  4641. "200": {
  4642. "description": "OK",
  4643. "schema": {
  4644. "type": "array",
  4645. "items": {
  4646. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4647. }
  4648. }
  4649. },
  4650. "500": {
  4651. "description": "Internal Server Error",
  4652. "schema": {
  4653. "$ref": "#/definitions/app.Response"
  4654. }
  4655. }
  4656. }
  4657. }
  4658. },
  4659. "/Ermcp3/QueryAreaStockApplySum": {
  4660. "get": {
  4661. "security": [
  4662. {
  4663. "ApiKeyAuth": []
  4664. }
  4665. ],
  4666. "produces": [
  4667. "application/json"
  4668. ],
  4669. "tags": [
  4670. "企业风险管理v3(app)"
  4671. ],
  4672. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4673. "parameters": [
  4674. {
  4675. "type": "integer",
  4676. "description": "合同ID",
  4677. "name": "spotcontractid",
  4678. "in": "query"
  4679. }
  4680. ],
  4681. "responses": {
  4682. "200": {
  4683. "description": "OK",
  4684. "schema": {
  4685. "type": "array",
  4686. "items": {
  4687. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4688. }
  4689. }
  4690. },
  4691. "500": {
  4692. "description": "Internal Server Error",
  4693. "schema": {
  4694. "$ref": "#/definitions/app.Response"
  4695. }
  4696. }
  4697. }
  4698. }
  4699. },
  4700. "/Ermcp3/QueryAreaStockReport": {
  4701. "get": {
  4702. "security": [
  4703. {
  4704. "ApiKeyAuth": []
  4705. }
  4706. ],
  4707. "produces": [
  4708. "application/json"
  4709. ],
  4710. "tags": [
  4711. "企业风险管理v3(app)"
  4712. ],
  4713. "summary": "查询库存报表",
  4714. "parameters": [
  4715. {
  4716. "type": "integer",
  4717. "description": "用户ID",
  4718. "name": "userid",
  4719. "in": "query",
  4720. "required": true
  4721. },
  4722. {
  4723. "type": "integer",
  4724. "description": "查询类型 1-日报表 2-月报表",
  4725. "name": "querytype",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "string",
  4731. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4732. "name": "querydate",
  4733. "in": "query",
  4734. "required": true
  4735. },
  4736. {
  4737. "type": "integer",
  4738. "description": "现货商品ID",
  4739. "name": "deliverygoodsid",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "品类ID",
  4745. "name": "wrstandardid",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "integer",
  4750. "description": "品牌ID",
  4751. "name": "spotgoodsbrandid",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "integer",
  4756. "description": "仓库ID",
  4757. "name": "warehouseinfoid",
  4758. "in": "query"
  4759. }
  4760. ],
  4761. "responses": {
  4762. "200": {
  4763. "description": "OK",
  4764. "schema": {
  4765. "type": "array",
  4766. "items": {
  4767. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  4768. }
  4769. }
  4770. },
  4771. "500": {
  4772. "description": "Internal Server Error",
  4773. "schema": {
  4774. "$ref": "#/definitions/app.Response"
  4775. }
  4776. }
  4777. }
  4778. }
  4779. },
  4780. "/Ermcp3/QueryAreaStockReportDetail": {
  4781. "get": {
  4782. "security": [
  4783. {
  4784. "ApiKeyAuth": []
  4785. }
  4786. ],
  4787. "produces": [
  4788. "application/json"
  4789. ],
  4790. "tags": [
  4791. "企业风险管理v3(app)"
  4792. ],
  4793. "summary": "查询库存报表明细",
  4794. "parameters": [
  4795. {
  4796. "type": "integer",
  4797. "description": "用户ID",
  4798. "name": "userid",
  4799. "in": "query",
  4800. "required": true
  4801. },
  4802. {
  4803. "type": "integer",
  4804. "description": "查询类型 1-日报表明细 2-月报表明细",
  4805. "name": "querytype",
  4806. "in": "query",
  4807. "required": true
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  4812. "name": "detailtype",
  4813. "in": "query",
  4814. "required": true
  4815. },
  4816. {
  4817. "type": "string",
  4818. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  4819. "name": "querydate",
  4820. "in": "query",
  4821. "required": true
  4822. },
  4823. {
  4824. "type": "integer",
  4825. "description": "现货商品ID",
  4826. "name": "deliverygoodsid",
  4827. "in": "query"
  4828. },
  4829. {
  4830. "type": "integer",
  4831. "description": "品类ID",
  4832. "name": "wrstandardid",
  4833. "in": "query"
  4834. },
  4835. {
  4836. "type": "integer",
  4837. "description": "品牌ID",
  4838. "name": "spotgoodsbrandid",
  4839. "in": "query"
  4840. },
  4841. {
  4842. "type": "integer",
  4843. "description": "仓库ID",
  4844. "name": "warehouseinfoid",
  4845. "in": "query"
  4846. }
  4847. ],
  4848. "responses": {
  4849. "200": {
  4850. "description": "OK",
  4851. "schema": {
  4852. "type": "array",
  4853. "items": {
  4854. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4855. }
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Ermcp3/QueryDGFactoryItem": {
  4868. "get": {
  4869. "security": [
  4870. {
  4871. "ApiKeyAuth": []
  4872. }
  4873. ],
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询品种要素定义项",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "所属机构ID",
  4885. "name": "areauserid",
  4886. "in": "query"
  4887. },
  4888. {
  4889. "type": "integer",
  4890. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4891. "name": "dgfactoryitemid",
  4892. "in": "query"
  4893. },
  4894. {
  4895. "type": "integer",
  4896. "description": "现货品种ID",
  4897. "name": "deliverygoodsid",
  4898. "in": "query"
  4899. },
  4900. {
  4901. "type": "integer",
  4902. "description": "要素项类型",
  4903. "name": "dgfactoryitemtypeid",
  4904. "in": "query"
  4905. },
  4906. {
  4907. "type": "integer",
  4908. "description": "顺序",
  4909. "name": "orderindex",
  4910. "in": "query"
  4911. }
  4912. ],
  4913. "responses": {
  4914. "200": {
  4915. "description": "OK",
  4916. "schema": {
  4917. "type": "array",
  4918. "items": {
  4919. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4920. }
  4921. }
  4922. },
  4923. "500": {
  4924. "description": "Internal Server Error",
  4925. "schema": {
  4926. "$ref": "#/definitions/app.Response"
  4927. }
  4928. }
  4929. }
  4930. }
  4931. },
  4932. "/Ermcp3/QueryDeliveryGoods": {
  4933. "get": {
  4934. "security": [
  4935. {
  4936. "ApiKeyAuth": []
  4937. }
  4938. ],
  4939. "produces": [
  4940. "application/json"
  4941. ],
  4942. "tags": [
  4943. "企业风险管理v3(app)"
  4944. ],
  4945. "summary": "查询现货商品",
  4946. "parameters": [
  4947. {
  4948. "type": "integer",
  4949. "description": "所属机构id",
  4950. "name": "areauserid",
  4951. "in": "query",
  4952. "required": true
  4953. },
  4954. {
  4955. "type": "integer",
  4956. "description": "排除已配置的现货商品 1-排除",
  4957. "name": "excludecfg",
  4958. "in": "query"
  4959. }
  4960. ],
  4961. "responses": {
  4962. "200": {
  4963. "description": "OK",
  4964. "schema": {
  4965. "type": "array",
  4966. "items": {
  4967. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4968. }
  4969. }
  4970. },
  4971. "500": {
  4972. "description": "Internal Server Error",
  4973. "schema": {
  4974. "$ref": "#/definitions/app.Response"
  4975. }
  4976. }
  4977. }
  4978. }
  4979. },
  4980. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4981. "get": {
  4982. "security": [
  4983. {
  4984. "ApiKeyAuth": []
  4985. }
  4986. ],
  4987. "produces": [
  4988. "application/json"
  4989. ],
  4990. "tags": [
  4991. "企业风险管理v3(app)"
  4992. ],
  4993. "summary": "查询现货商品详情",
  4994. "parameters": [
  4995. {
  4996. "type": "integer",
  4997. "description": "所属机构id",
  4998. "name": "areauserid",
  4999. "in": "query",
  5000. "required": true
  5001. },
  5002. {
  5003. "type": "integer",
  5004. "description": "现货商品id",
  5005. "name": "deliverygoodsid",
  5006. "in": "query"
  5007. }
  5008. ],
  5009. "responses": {
  5010. "200": {
  5011. "description": "OK",
  5012. "schema": {
  5013. "type": "array",
  5014. "items": {
  5015. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  5016. }
  5017. }
  5018. },
  5019. "500": {
  5020. "description": "Internal Server Error",
  5021. "schema": {
  5022. "$ref": "#/definitions/app.Response"
  5023. }
  5024. }
  5025. }
  5026. }
  5027. },
  5028. "/Ermcp3/QueryExposureDetail": {
  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": "套保商品",
  5053. "name": "middlegoodsid",
  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.Ermcp3ExposureDetail"
  5065. }
  5066. }
  5067. },
  5068. "500": {
  5069. "description": "Internal Server Error",
  5070. "schema": {
  5071. "$ref": "#/definitions/app.Response"
  5072. }
  5073. }
  5074. }
  5075. }
  5076. },
  5077. "/Ermcp3/QueryExposureSpot": {
  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. "responses": {
  5101. "200": {
  5102. "description": "OK",
  5103. "schema": {
  5104. "type": "array",
  5105. "items": {
  5106. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  5107. }
  5108. }
  5109. },
  5110. "500": {
  5111. "description": "Internal Server Error",
  5112. "schema": {
  5113. "$ref": "#/definitions/app.Response"
  5114. }
  5115. }
  5116. }
  5117. }
  5118. },
  5119. "/Ermcp3/QueryExposureSpotDetail": {
  5120. "get": {
  5121. "security": [
  5122. {
  5123. "ApiKeyAuth": []
  5124. }
  5125. ],
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "企业风险管理v3(app)"
  5131. ],
  5132. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  5133. "parameters": [
  5134. {
  5135. "type": "integer",
  5136. "description": "所属机构ID",
  5137. "name": "areauserid",
  5138. "in": "query",
  5139. "required": true
  5140. },
  5141. {
  5142. "type": "integer",
  5143. "description": "现货品种ID",
  5144. "name": "deliverygoodsid",
  5145. "in": "query",
  5146. "required": true
  5147. }
  5148. ],
  5149. "responses": {
  5150. "200": {
  5151. "description": "OK",
  5152. "schema": {
  5153. "type": "array",
  5154. "items": {
  5155. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  5156. }
  5157. }
  5158. },
  5159. "500": {
  5160. "description": "Internal Server Error",
  5161. "schema": {
  5162. "$ref": "#/definitions/app.Response"
  5163. }
  5164. }
  5165. }
  5166. }
  5167. },
  5168. "/Ermcp3/QueryGoodsGroup": {
  5169. "get": {
  5170. "security": [
  5171. {
  5172. "ApiKeyAuth": []
  5173. }
  5174. ],
  5175. "produces": [
  5176. "application/json"
  5177. ],
  5178. "tags": [
  5179. "企业风险管理v3(app)"
  5180. ],
  5181. "summary": "查询期货商品组",
  5182. "parameters": [
  5183. {
  5184. "type": "integer",
  5185. "description": "所属机构id",
  5186. "name": "areauserid",
  5187. "in": "query",
  5188. "required": true
  5189. },
  5190. {
  5191. "type": "integer",
  5192. "description": "排除套保品中已关联的商品组 1-排除",
  5193. "name": "excludecfg",
  5194. "in": "query"
  5195. }
  5196. ],
  5197. "responses": {
  5198. "200": {
  5199. "description": "OK",
  5200. "schema": {
  5201. "type": "array",
  5202. "items": {
  5203. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  5204. }
  5205. }
  5206. },
  5207. "500": {
  5208. "description": "Internal Server Error",
  5209. "schema": {
  5210. "$ref": "#/definitions/app.Response"
  5211. }
  5212. }
  5213. }
  5214. }
  5215. },
  5216. "/Ermcp3/QueryGoodsWrstandard": {
  5217. "get": {
  5218. "security": [
  5219. {
  5220. "ApiKeyAuth": []
  5221. }
  5222. ],
  5223. "produces": [
  5224. "application/json"
  5225. ],
  5226. "tags": [
  5227. "企业风险管理v3(app)"
  5228. ],
  5229. "summary": "查询商品品类",
  5230. "parameters": [
  5231. {
  5232. "type": "integer",
  5233. "description": "所属机构ID",
  5234. "name": "areauserid",
  5235. "in": "query",
  5236. "required": true
  5237. },
  5238. {
  5239. "type": "integer",
  5240. "description": "现货商品id",
  5241. "name": "deliverygoodsid",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QueryGoodsbrand": {
  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. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "type": "array",
  5292. "items": {
  5293. "$ref": "#/definitions/models.Ermcp3Brand"
  5294. }
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/Ermcp3/QueryHedgePlan": {
  5307. "get": {
  5308. "security": [
  5309. {
  5310. "ApiKeyAuth": []
  5311. }
  5312. ],
  5313. "produces": [
  5314. "application/json"
  5315. ],
  5316. "tags": [
  5317. "企业风险管理v3(app)"
  5318. ],
  5319. "summary": "查询套保计划",
  5320. "parameters": [
  5321. {
  5322. "type": "integer",
  5323. "description": "用户ID",
  5324. "name": "userid",
  5325. "in": "query",
  5326. "required": true
  5327. },
  5328. {
  5329. "type": "string",
  5330. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5331. "name": "hedgeplanstatus",
  5332. "in": "query",
  5333. "required": true
  5334. }
  5335. ],
  5336. "responses": {
  5337. "200": {
  5338. "description": "OK",
  5339. "schema": {
  5340. "type": "array",
  5341. "items": {
  5342. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  5343. }
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. },
  5355. "/Ermcp3/QueryMiddleGoodsDetail": {
  5356. "get": {
  5357. "security": [
  5358. {
  5359. "ApiKeyAuth": []
  5360. }
  5361. ],
  5362. "produces": [
  5363. "application/json"
  5364. ],
  5365. "tags": [
  5366. "企业风险管理v3(app)"
  5367. ],
  5368. "summary": "查询套保品种详情(套保品种/商品详情)",
  5369. "parameters": [
  5370. {
  5371. "type": "integer",
  5372. "description": "所属机构ID",
  5373. "name": "areauserid",
  5374. "in": "query",
  5375. "required": true
  5376. },
  5377. {
  5378. "type": "integer",
  5379. "description": "套保品种id",
  5380. "name": "middlegoodsid",
  5381. "in": "query"
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "OK",
  5387. "schema": {
  5388. "type": "array",
  5389. "items": {
  5390. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  5391. }
  5392. }
  5393. },
  5394. "500": {
  5395. "description": "Internal Server Error",
  5396. "schema": {
  5397. "$ref": "#/definitions/app.Response"
  5398. }
  5399. }
  5400. }
  5401. }
  5402. },
  5403. "/Ermcp3/QuerySpotContract": {
  5404. "get": {
  5405. "security": [
  5406. {
  5407. "ApiKeyAuth": []
  5408. }
  5409. ],
  5410. "produces": [
  5411. "application/json"
  5412. ],
  5413. "tags": [
  5414. "企业风险管理v3(app)"
  5415. ],
  5416. "summary": "查询现货合同",
  5417. "parameters": [
  5418. {
  5419. "type": "integer",
  5420. "description": "所属机构ID",
  5421. "name": "areauserid",
  5422. "in": "query",
  5423. "required": true
  5424. },
  5425. {
  5426. "type": "integer",
  5427. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  5428. "name": "querytype",
  5429. "in": "query",
  5430. "required": true
  5431. },
  5432. {
  5433. "type": "integer",
  5434. "description": "用户ID",
  5435. "name": "userid",
  5436. "in": "query"
  5437. },
  5438. {
  5439. "type": "integer",
  5440. "description": "用户类型 2-机构 7-企业成员",
  5441. "name": "usertype",
  5442. "in": "query"
  5443. },
  5444. {
  5445. "type": "string",
  5446. "description": "合同ID(SpotContractId)",
  5447. "name": "contractid",
  5448. "in": "query"
  5449. }
  5450. ],
  5451. "responses": {
  5452. "200": {
  5453. "description": "OK",
  5454. "schema": {
  5455. "type": "array",
  5456. "items": {
  5457. "$ref": "#/definitions/models.Ermcp3Contract"
  5458. }
  5459. }
  5460. },
  5461. "500": {
  5462. "description": "Internal Server Error",
  5463. "schema": {
  5464. "$ref": "#/definitions/app.Response"
  5465. }
  5466. }
  5467. }
  5468. }
  5469. },
  5470. "/Ermcp3/QuerySpotContractBS": {
  5471. "get": {
  5472. "security": [
  5473. {
  5474. "ApiKeyAuth": []
  5475. }
  5476. ],
  5477. "produces": [
  5478. "application/json"
  5479. ],
  5480. "tags": [
  5481. "企业风险管理v3(app)"
  5482. ],
  5483. "summary": "查询合同(采购/销售)",
  5484. "parameters": [
  5485. {
  5486. "type": "integer",
  5487. "description": "所属机构ID",
  5488. "name": "areauserid",
  5489. "in": "query",
  5490. "required": true
  5491. },
  5492. {
  5493. "type": "integer",
  5494. "description": "合同类型 1-采购, -1-销售",
  5495. "name": "contracttype",
  5496. "in": "query",
  5497. "required": true
  5498. },
  5499. {
  5500. "type": "integer",
  5501. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5502. "name": "querytype",
  5503. "in": "query",
  5504. "required": true
  5505. },
  5506. {
  5507. "type": "integer",
  5508. "description": "用户ID",
  5509. "name": "userid",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "用户类型 2-机构 7-企业成员",
  5515. "name": "usertype",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "合同ID(SpotContractId)",
  5521. "name": "contractid",
  5522. "in": "query"
  5523. }
  5524. ],
  5525. "responses": {
  5526. "200": {
  5527. "description": "OK",
  5528. "schema": {
  5529. "type": "array",
  5530. "items": {
  5531. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5532. }
  5533. }
  5534. },
  5535. "500": {
  5536. "description": "Internal Server Error",
  5537. "schema": {
  5538. "$ref": "#/definitions/app.Response"
  5539. }
  5540. }
  5541. }
  5542. }
  5543. },
  5544. "/Ermcp3/QuerySpotGoodsPrice": {
  5545. "get": {
  5546. "security": [
  5547. {
  5548. "ApiKeyAuth": []
  5549. }
  5550. ],
  5551. "produces": [
  5552. "application/json"
  5553. ],
  5554. "tags": [
  5555. "企业风险管理v3(app)"
  5556. ],
  5557. "summary": "查询现货市价(现货市价)",
  5558. "parameters": [
  5559. {
  5560. "type": "integer",
  5561. "description": "用户ID",
  5562. "name": "userid",
  5563. "in": "query",
  5564. "required": true
  5565. }
  5566. ],
  5567. "responses": {
  5568. "200": {
  5569. "description": "OK",
  5570. "schema": {
  5571. "type": "array",
  5572. "items": {
  5573. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5574. }
  5575. }
  5576. },
  5577. "500": {
  5578. "description": "Internal Server Error",
  5579. "schema": {
  5580. "$ref": "#/definitions/app.Response"
  5581. }
  5582. }
  5583. }
  5584. }
  5585. },
  5586. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5587. "get": {
  5588. "security": [
  5589. {
  5590. "ApiKeyAuth": []
  5591. }
  5592. ],
  5593. "produces": [
  5594. "application/json"
  5595. ],
  5596. "tags": [
  5597. "企业风险管理v3(app)"
  5598. ],
  5599. "summary": "查询现货市价详情(现货市价/详情)",
  5600. "parameters": [
  5601. {
  5602. "type": "integer",
  5603. "description": "用户ID",
  5604. "name": "userid",
  5605. "in": "query",
  5606. "required": true
  5607. },
  5608. {
  5609. "type": "integer",
  5610. "description": "现货商品ID",
  5611. "name": "deliverygoodsid",
  5612. "in": "query",
  5613. "required": true
  5614. }
  5615. ],
  5616. "responses": {
  5617. "200": {
  5618. "description": "OK",
  5619. "schema": {
  5620. "type": "array",
  5621. "items": {
  5622. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5623. }
  5624. }
  5625. },
  5626. "500": {
  5627. "description": "Internal Server Error",
  5628. "schema": {
  5629. "$ref": "#/definitions/app.Response"
  5630. }
  5631. }
  5632. }
  5633. }
  5634. },
  5635. "/Erms2/QueryArbitrageStrategy": {
  5636. "get": {
  5637. "security": [
  5638. {
  5639. "ApiKeyAuth": []
  5640. }
  5641. ],
  5642. "produces": [
  5643. "application/json"
  5644. ],
  5645. "tags": [
  5646. "风险管理"
  5647. ],
  5648. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5649. "parameters": [
  5650. {
  5651. "type": "integer",
  5652. "description": "账户ID",
  5653. "name": "userid",
  5654. "in": "query",
  5655. "required": true
  5656. },
  5657. {
  5658. "type": "string",
  5659. "description": "商品组ID(品种ID)",
  5660. "name": "goodsgroupid",
  5661. "in": "query"
  5662. }
  5663. ],
  5664. "responses": {
  5665. "200": {
  5666. "description": "OK",
  5667. "schema": {
  5668. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5669. }
  5670. },
  5671. "500": {
  5672. "description": "Internal Server Error",
  5673. "schema": {
  5674. "$ref": "#/definitions/app.Response"
  5675. }
  5676. }
  5677. }
  5678. }
  5679. },
  5680. "/Erms2/QueryInnerTradeDetail": {
  5681. "get": {
  5682. "security": [
  5683. {
  5684. "ApiKeyAuth": []
  5685. }
  5686. ],
  5687. "produces": [
  5688. "application/json"
  5689. ],
  5690. "tags": [
  5691. "风险管理"
  5692. ],
  5693. "summary": "查询内部成交单信息",
  5694. "parameters": [
  5695. {
  5696. "type": "integer",
  5697. "description": "资金账户",
  5698. "name": "accountid",
  5699. "in": "query",
  5700. "required": true
  5701. }
  5702. ],
  5703. "responses": {
  5704. "200": {
  5705. "description": "OK",
  5706. "schema": {
  5707. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5708. }
  5709. },
  5710. "500": {
  5711. "description": "Internal Server Error",
  5712. "schema": {
  5713. "$ref": "#/definitions/app.Response"
  5714. }
  5715. }
  5716. }
  5717. }
  5718. },
  5719. "/Erms2/QuerySpotContract": {
  5720. "get": {
  5721. "security": [
  5722. {
  5723. "ApiKeyAuth": []
  5724. }
  5725. ],
  5726. "produces": [
  5727. "application/json"
  5728. ],
  5729. "tags": [
  5730. "风险管理"
  5731. ],
  5732. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5733. "parameters": [
  5734. {
  5735. "type": "integer",
  5736. "description": "策略申请ID",
  5737. "name": "asapplyid",
  5738. "in": "query",
  5739. "required": true
  5740. },
  5741. {
  5742. "type": "integer",
  5743. "description": "现货合同ID",
  5744. "name": "spotcontractid",
  5745. "in": "query"
  5746. }
  5747. ],
  5748. "responses": {
  5749. "200": {
  5750. "description": "OK",
  5751. "schema": {
  5752. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5753. }
  5754. },
  5755. "500": {
  5756. "description": "Internal Server Error",
  5757. "schema": {
  5758. "$ref": "#/definitions/app.Response"
  5759. }
  5760. }
  5761. }
  5762. }
  5763. },
  5764. "/Erms3/AddErms2ASApply": {
  5765. "post": {
  5766. "security": [
  5767. {
  5768. "ApiKeyAuth": []
  5769. }
  5770. ],
  5771. "produces": [
  5772. "application/json"
  5773. ],
  5774. "tags": [
  5775. "风险管理v3"
  5776. ],
  5777. "summary": "新增期现套利业务申请",
  5778. "parameters": [
  5779. {
  5780. "description": "申请参数",
  5781. "name": "jsonBody",
  5782. "in": "body",
  5783. "required": true,
  5784. "schema": {
  5785. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5786. }
  5787. }
  5788. ],
  5789. "responses": {
  5790. "200": {
  5791. "description": "OK",
  5792. "schema": {
  5793. "$ref": "#/definitions/app.Response"
  5794. }
  5795. },
  5796. "500": {
  5797. "description": "Internal Server Error",
  5798. "schema": {
  5799. "$ref": "#/definitions/app.Response"
  5800. }
  5801. }
  5802. }
  5803. }
  5804. },
  5805. "/Erms3/AddErms2SpotTradeApply": {
  5806. "post": {
  5807. "security": [
  5808. {
  5809. "ApiKeyAuth": []
  5810. }
  5811. ],
  5812. "produces": [
  5813. "application/json"
  5814. ],
  5815. "tags": [
  5816. "风险管理v3"
  5817. ],
  5818. "summary": "新增现货贸易业务申请",
  5819. "parameters": [
  5820. {
  5821. "description": "申请参数",
  5822. "name": "jsonBody",
  5823. "in": "body",
  5824. "required": true,
  5825. "schema": {
  5826. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5827. }
  5828. }
  5829. ],
  5830. "responses": {
  5831. "200": {
  5832. "description": "OK",
  5833. "schema": {
  5834. "$ref": "#/definitions/app.Response"
  5835. }
  5836. },
  5837. "500": {
  5838. "description": "Internal Server Error",
  5839. "schema": {
  5840. "$ref": "#/definitions/app.Response"
  5841. }
  5842. }
  5843. }
  5844. }
  5845. },
  5846. "/Erms3/AddSpotContractApply": {
  5847. "post": {
  5848. "security": [
  5849. {
  5850. "ApiKeyAuth": []
  5851. }
  5852. ],
  5853. "produces": [
  5854. "application/json"
  5855. ],
  5856. "tags": [
  5857. "风险管理v3"
  5858. ],
  5859. "summary": "新增现货合同申请",
  5860. "parameters": [
  5861. {
  5862. "description": "申请参数",
  5863. "name": "jsonBody",
  5864. "in": "body",
  5865. "required": true,
  5866. "schema": {
  5867. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5868. }
  5869. }
  5870. ],
  5871. "responses": {
  5872. "200": {
  5873. "description": "OK",
  5874. "schema": {
  5875. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5876. }
  5877. },
  5878. "500": {
  5879. "description": "Internal Server Error",
  5880. "schema": {
  5881. "$ref": "#/definitions/app.Response"
  5882. }
  5883. }
  5884. }
  5885. }
  5886. },
  5887. "/Erms3/AddUserInfoApply": {
  5888. "post": {
  5889. "security": [
  5890. {
  5891. "ApiKeyAuth": []
  5892. }
  5893. ],
  5894. "produces": [
  5895. "application/json"
  5896. ],
  5897. "tags": [
  5898. "风险管理v3"
  5899. ],
  5900. "summary": "新增客户申请",
  5901. "parameters": [
  5902. {
  5903. "description": "用户信息",
  5904. "name": "jsonBody",
  5905. "in": "body",
  5906. "required": true,
  5907. "schema": {
  5908. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5909. }
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "$ref": "#/definitions/app.Response"
  5917. }
  5918. },
  5919. "500": {
  5920. "description": "Internal Server Error",
  5921. "schema": {
  5922. "$ref": "#/definitions/app.Response"
  5923. }
  5924. }
  5925. }
  5926. }
  5927. },
  5928. "/Erms3/DeleteUserInfoApply": {
  5929. "get": {
  5930. "security": [
  5931. {
  5932. "ApiKeyAuth": []
  5933. }
  5934. ],
  5935. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5936. "produces": [
  5937. "application/json"
  5938. ],
  5939. "tags": [
  5940. "风险管理v3"
  5941. ],
  5942. "summary": "删除客户申请",
  5943. "parameters": [
  5944. {
  5945. "type": "integer",
  5946. "description": "用户ID",
  5947. "name": "userID",
  5948. "in": "query",
  5949. "required": true
  5950. }
  5951. ],
  5952. "responses": {
  5953. "200": {
  5954. "description": "OK",
  5955. "schema": {
  5956. "$ref": "#/definitions/app.Response"
  5957. }
  5958. },
  5959. "500": {
  5960. "description": "Internal Server Error",
  5961. "schema": {
  5962. "$ref": "#/definitions/app.Response"
  5963. }
  5964. }
  5965. }
  5966. }
  5967. },
  5968. "/Erms3/ModifyUserInfoApply": {
  5969. "post": {
  5970. "security": [
  5971. {
  5972. "ApiKeyAuth": []
  5973. }
  5974. ],
  5975. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5976. "produces": [
  5977. "application/json"
  5978. ],
  5979. "tags": [
  5980. "风险管理v3"
  5981. ],
  5982. "summary": "修改客户申请",
  5983. "parameters": [
  5984. {
  5985. "description": "用户信息",
  5986. "name": "jsonBody",
  5987. "in": "body",
  5988. "required": true,
  5989. "schema": {
  5990. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5991. }
  5992. }
  5993. ],
  5994. "responses": {
  5995. "200": {
  5996. "description": "OK",
  5997. "schema": {
  5998. "$ref": "#/definitions/app.Response"
  5999. }
  6000. },
  6001. "500": {
  6002. "description": "Internal Server Error",
  6003. "schema": {
  6004. "$ref": "#/definitions/app.Response"
  6005. }
  6006. }
  6007. }
  6008. }
  6009. },
  6010. "/Erms3/QueryBusinessInfo": {
  6011. "get": {
  6012. "security": [
  6013. {
  6014. "ApiKeyAuth": []
  6015. }
  6016. ],
  6017. "produces": [
  6018. "application/json"
  6019. ],
  6020. "tags": [
  6021. "风险管理v3"
  6022. ],
  6023. "summary": "查询业务表单数据",
  6024. "parameters": [
  6025. {
  6026. "type": "string",
  6027. "description": "资金账号ID列表,用逗号分隔",
  6028. "name": "accountids",
  6029. "in": "query",
  6030. "required": true
  6031. },
  6032. {
  6033. "type": "integer",
  6034. "description": "状态,0为未结束 1为已结束",
  6035. "name": "status",
  6036. "in": "query",
  6037. "required": true
  6038. }
  6039. ],
  6040. "responses": {
  6041. "200": {
  6042. "description": "OK",
  6043. "schema": {
  6044. "type": "array",
  6045. "items": {
  6046. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6047. }
  6048. }
  6049. },
  6050. "500": {
  6051. "description": "Internal Server Error",
  6052. "schema": {
  6053. "$ref": "#/definitions/app.Response"
  6054. }
  6055. }
  6056. }
  6057. }
  6058. },
  6059. "/Erms3/QueryPendingAuditContract": {
  6060. "get": {
  6061. "security": [
  6062. {
  6063. "ApiKeyAuth": []
  6064. }
  6065. ],
  6066. "produces": [
  6067. "application/json"
  6068. ],
  6069. "tags": [
  6070. "风险管理v3"
  6071. ],
  6072. "summary": "查询待审核合同",
  6073. "parameters": [
  6074. {
  6075. "type": "string",
  6076. "description": "资金账号ID列表,逗号隔开",
  6077. "name": "accountids",
  6078. "in": "query",
  6079. "required": true
  6080. },
  6081. {
  6082. "type": "integer",
  6083. "description": "合同类型 1-采购 -1-销售",
  6084. "name": "contracttype",
  6085. "in": "query",
  6086. "required": true
  6087. },
  6088. {
  6089. "type": "integer",
  6090. "description": "合同模式 1-普通 2-回购",
  6091. "name": "contractmode",
  6092. "in": "query",
  6093. "required": true
  6094. }
  6095. ],
  6096. "responses": {
  6097. "200": {
  6098. "description": "OK",
  6099. "schema": {
  6100. "type": "array",
  6101. "items": {
  6102. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6103. }
  6104. }
  6105. },
  6106. "500": {
  6107. "description": "Internal Server Error",
  6108. "schema": {
  6109. "$ref": "#/definitions/app.Response"
  6110. }
  6111. }
  6112. }
  6113. }
  6114. },
  6115. "/Erms3/QueryPendingBusiness": {
  6116. "get": {
  6117. "security": [
  6118. {
  6119. "ApiKeyAuth": []
  6120. }
  6121. ],
  6122. "produces": [
  6123. "application/json"
  6124. ],
  6125. "tags": [
  6126. "风险管理v3"
  6127. ],
  6128. "summary": "查询待审核基差贸易业务",
  6129. "parameters": [
  6130. {
  6131. "type": "string",
  6132. "description": "资金账号ID列表,逗号隔开",
  6133. "name": "accountids",
  6134. "in": "query",
  6135. "required": true
  6136. }
  6137. ],
  6138. "responses": {
  6139. "200": {
  6140. "description": "OK",
  6141. "schema": {
  6142. "type": "array",
  6143. "items": {
  6144. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6145. }
  6146. }
  6147. },
  6148. "500": {
  6149. "description": "Internal Server Error",
  6150. "schema": {
  6151. "$ref": "#/definitions/app.Response"
  6152. }
  6153. }
  6154. }
  6155. }
  6156. },
  6157. "/Erms3/QuerySpotContractAppleForm": {
  6158. "get": {
  6159. "security": [
  6160. {
  6161. "ApiKeyAuth": []
  6162. }
  6163. ],
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "风险管理v3"
  6169. ],
  6170. "summary": "查询合同申请表单数据",
  6171. "parameters": [
  6172. {
  6173. "type": "integer",
  6174. "description": "登录账号",
  6175. "name": "loginID",
  6176. "in": "query",
  6177. "required": true
  6178. }
  6179. ],
  6180. "responses": {
  6181. "200": {
  6182. "description": "OK",
  6183. "schema": {
  6184. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Erms3/QuerySpotContractDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "风险管理v3"
  6208. ],
  6209. "summary": "查询合同详细信息",
  6210. "parameters": [
  6211. {
  6212. "type": "string",
  6213. "description": "资金账号ID列表,用逗号分隔",
  6214. "name": "accountids",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "合同类型,1为采购合同 -1为销售合同",
  6221. "name": "contracttype",
  6222. "in": "query",
  6223. "required": true
  6224. },
  6225. {
  6226. "type": "integer",
  6227. "description": "合同模式,1为普通合同 2为回购销售合同",
  6228. "name": "contractmode",
  6229. "in": "query",
  6230. "required": true
  6231. },
  6232. {
  6233. "type": "integer",
  6234. "description": "状态,0为履约中 1为已完成",
  6235. "name": "status",
  6236. "in": "query",
  6237. "required": true
  6238. }
  6239. ],
  6240. "responses": {
  6241. "200": {
  6242. "description": "OK",
  6243. "schema": {
  6244. "type": "array",
  6245. "items": {
  6246. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6247. }
  6248. }
  6249. },
  6250. "500": {
  6251. "description": "Internal Server Error",
  6252. "schema": {
  6253. "$ref": "#/definitions/app.Response"
  6254. }
  6255. }
  6256. }
  6257. }
  6258. },
  6259. "/Erms3/QueryUserInfoApplies": {
  6260. "get": {
  6261. "security": [
  6262. {
  6263. "ApiKeyAuth": []
  6264. }
  6265. ],
  6266. "produces": [
  6267. "application/json"
  6268. ],
  6269. "tags": [
  6270. "风险管理v3"
  6271. ],
  6272. "summary": "客户申请信息查询",
  6273. "parameters": [
  6274. {
  6275. "type": "integer",
  6276. "description": "页码",
  6277. "name": "page",
  6278. "in": "query"
  6279. },
  6280. {
  6281. "type": "integer",
  6282. "description": "每页条数",
  6283. "name": "pagesize",
  6284. "in": "query"
  6285. },
  6286. {
  6287. "type": "string",
  6288. "description": "客户名称,支持模糊查询",
  6289. "name": "userName",
  6290. "in": "query"
  6291. }
  6292. ],
  6293. "responses": {
  6294. "200": {
  6295. "description": "OK",
  6296. "schema": {
  6297. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6298. }
  6299. },
  6300. "500": {
  6301. "description": "Internal Server Error",
  6302. "schema": {
  6303. "$ref": "#/definitions/app.Response"
  6304. }
  6305. }
  6306. }
  6307. }
  6308. },
  6309. "/Erms3/QueryUserInfos": {
  6310. "get": {
  6311. "security": [
  6312. {
  6313. "ApiKeyAuth": []
  6314. }
  6315. ],
  6316. "produces": [
  6317. "application/json"
  6318. ],
  6319. "tags": [
  6320. "风险管理v3"
  6321. ],
  6322. "summary": "客户信息查询",
  6323. "parameters": [
  6324. {
  6325. "type": "integer",
  6326. "description": "页码",
  6327. "name": "page",
  6328. "in": "query"
  6329. },
  6330. {
  6331. "type": "integer",
  6332. "description": "每页条数",
  6333. "name": "pagesize",
  6334. "in": "query"
  6335. },
  6336. {
  6337. "type": "string",
  6338. "description": "客户名称,支持模糊查询",
  6339. "name": "userName",
  6340. "in": "query"
  6341. }
  6342. ],
  6343. "responses": {
  6344. "200": {
  6345. "description": "OK",
  6346. "schema": {
  6347. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6348. }
  6349. },
  6350. "500": {
  6351. "description": "Internal Server Error",
  6352. "schema": {
  6353. "$ref": "#/definitions/app.Response"
  6354. }
  6355. }
  6356. }
  6357. }
  6358. },
  6359. "/HSBY/GetHsbyMyCount": {
  6360. "get": {
  6361. "security": [
  6362. {
  6363. "ApiKeyAuth": []
  6364. }
  6365. ],
  6366. "description": "说明: 不包括已完成的数量。",
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "定制【海商报业】"
  6372. ],
  6373. "summary": "获取我的订单与包裹数量",
  6374. "parameters": [
  6375. {
  6376. "type": "string",
  6377. "description": "资金账户列表,格式:1,2,3",
  6378. "name": "accountIDs",
  6379. "in": "query",
  6380. "required": true
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "OK",
  6386. "schema": {
  6387. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6388. }
  6389. },
  6390. "500": {
  6391. "description": "Internal Server Error",
  6392. "schema": {
  6393. "$ref": "#/definitions/app.Response"
  6394. }
  6395. }
  6396. }
  6397. }
  6398. },
  6399. "/HSBY/QueryClientFixedADConfigs": {
  6400. "get": {
  6401. "security": [
  6402. {
  6403. "ApiKeyAuth": []
  6404. }
  6405. ],
  6406. "produces": [
  6407. "application/json"
  6408. ],
  6409. "tags": [
  6410. "定制【海商报业】"
  6411. ],
  6412. "summary": "获取终端固定广告配置",
  6413. "responses": {
  6414. "200": {
  6415. "description": "OK",
  6416. "schema": {
  6417. "$ref": "#/definitions/models.Clientfixedadconfig"
  6418. }
  6419. },
  6420. "500": {
  6421. "description": "Internal Server Error",
  6422. "schema": {
  6423. "$ref": "#/definitions/app.Response"
  6424. }
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6430. "get": {
  6431. "security": [
  6432. {
  6433. "ApiKeyAuth": []
  6434. }
  6435. ],
  6436. "produces": [
  6437. "application/json"
  6438. ],
  6439. "tags": [
  6440. "定制【海商报业】"
  6441. ],
  6442. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6443. "parameters": [
  6444. {
  6445. "type": "integer",
  6446. "description": "页码",
  6447. "name": "page",
  6448. "in": "query"
  6449. },
  6450. {
  6451. "type": "integer",
  6452. "description": "每页条数",
  6453. "name": "pagesize",
  6454. "in": "query"
  6455. },
  6456. {
  6457. "type": "string",
  6458. "description": "资金账户列表,格式:1,2,3",
  6459. "name": "accountIDs",
  6460. "in": "query",
  6461. "required": true
  6462. }
  6463. ],
  6464. "responses": {
  6465. "200": {
  6466. "description": "OK",
  6467. "schema": {
  6468. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6469. }
  6470. },
  6471. "500": {
  6472. "description": "Internal Server Error",
  6473. "schema": {
  6474. "$ref": "#/definitions/app.Response"
  6475. }
  6476. }
  6477. }
  6478. }
  6479. },
  6480. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6481. "get": {
  6482. "security": [
  6483. {
  6484. "ApiKeyAuth": []
  6485. }
  6486. ],
  6487. "description": "说明:查询结果已按委托价格和委托时间排序",
  6488. "produces": [
  6489. "application/json"
  6490. ],
  6491. "tags": [
  6492. "定制【海商报业】"
  6493. ],
  6494. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6495. "parameters": [
  6496. {
  6497. "type": "integer",
  6498. "description": "商品ID",
  6499. "name": "goodsID",
  6500. "in": "query",
  6501. "required": true
  6502. },
  6503. {
  6504. "type": "string",
  6505. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6506. "name": "accountIDs",
  6507. "in": "query"
  6508. },
  6509. {
  6510. "type": "integer",
  6511. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6512. "name": "buyOrSell",
  6513. "in": "query"
  6514. },
  6515. {
  6516. "type": "number",
  6517. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6518. "name": "price",
  6519. "in": "query"
  6520. },
  6521. {
  6522. "type": "integer",
  6523. "description": "档位,不传则默认为3档",
  6524. "name": "speed",
  6525. "in": "query"
  6526. }
  6527. ],
  6528. "responses": {
  6529. "200": {
  6530. "description": "OK",
  6531. "schema": {
  6532. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6533. }
  6534. },
  6535. "500": {
  6536. "description": "Internal Server Error",
  6537. "schema": {
  6538. "$ref": "#/definitions/app.Response"
  6539. }
  6540. }
  6541. }
  6542. }
  6543. },
  6544. "/HSBY/QueryHsbyListingGoodsDetail": {
  6545. "get": {
  6546. "security": [
  6547. {
  6548. "ApiKeyAuth": []
  6549. }
  6550. ],
  6551. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6552. "produces": [
  6553. "application/json"
  6554. ],
  6555. "tags": [
  6556. "定制【海商报业】"
  6557. ],
  6558. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6559. "parameters": [
  6560. {
  6561. "type": "integer",
  6562. "description": "商品ID",
  6563. "name": "goodsID",
  6564. "in": "query",
  6565. "required": true
  6566. },
  6567. {
  6568. "type": "integer",
  6569. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6570. "name": "accountID",
  6571. "in": "query"
  6572. }
  6573. ],
  6574. "responses": {
  6575. "200": {
  6576. "description": "OK",
  6577. "schema": {
  6578. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6579. }
  6580. },
  6581. "500": {
  6582. "description": "Internal Server Error",
  6583. "schema": {
  6584. "$ref": "#/definitions/app.Response"
  6585. }
  6586. }
  6587. }
  6588. }
  6589. },
  6590. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6591. "get": {
  6592. "security": [
  6593. {
  6594. "ApiKeyAuth": []
  6595. }
  6596. ],
  6597. "produces": [
  6598. "application/json"
  6599. ],
  6600. "tags": [
  6601. "定制【海商报业】"
  6602. ],
  6603. "summary": "查询三级市场(商城)商品信息详情",
  6604. "parameters": [
  6605. {
  6606. "type": "integer",
  6607. "description": "委托单号",
  6608. "name": "orderID",
  6609. "in": "query",
  6610. "required": true
  6611. },
  6612. {
  6613. "type": "integer",
  6614. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6615. "name": "accountID",
  6616. "in": "query"
  6617. }
  6618. ],
  6619. "responses": {
  6620. "200": {
  6621. "description": "OK",
  6622. "schema": {
  6623. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6624. }
  6625. },
  6626. "500": {
  6627. "description": "Internal Server Error",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. }
  6632. }
  6633. }
  6634. },
  6635. "/HSBY/QueryHsbyMarketGoodses": {
  6636. "get": {
  6637. "security": [
  6638. {
  6639. "ApiKeyAuth": []
  6640. }
  6641. ],
  6642. "produces": [
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "定制【海商报业】"
  6647. ],
  6648. "summary": "查询特卖商品列表(三级商城)",
  6649. "parameters": [
  6650. {
  6651. "type": "integer",
  6652. "description": "页码",
  6653. "name": "page",
  6654. "in": "query"
  6655. },
  6656. {
  6657. "type": "integer",
  6658. "description": "每页条数",
  6659. "name": "pagesize",
  6660. "in": "query"
  6661. },
  6662. {
  6663. "type": "string",
  6664. "description": "市场ID列表,格式:1,2,3",
  6665. "name": "marketIDs",
  6666. "in": "query",
  6667. "required": true
  6668. },
  6669. {
  6670. "type": "integer",
  6671. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6672. "name": "accountID",
  6673. "in": "query",
  6674. "required": true
  6675. },
  6676. {
  6677. "type": "integer",
  6678. "description": "类别ID",
  6679. "name": "categoryID",
  6680. "in": "query"
  6681. },
  6682. {
  6683. "type": "string",
  6684. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6685. "name": "goodsIDs",
  6686. "in": "query"
  6687. },
  6688. {
  6689. "type": "integer",
  6690. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6691. "name": "couponTypeID",
  6692. "in": "query"
  6693. }
  6694. ],
  6695. "responses": {
  6696. "200": {
  6697. "description": "OK",
  6698. "schema": {
  6699. "$ref": "#/definitions/models.HsbyMarketGoods"
  6700. }
  6701. },
  6702. "500": {
  6703. "description": "Internal Server Error",
  6704. "schema": {
  6705. "$ref": "#/definitions/app.Response"
  6706. }
  6707. }
  6708. }
  6709. }
  6710. },
  6711. "/HSBY/QueryHsbyMarkets": {
  6712. "get": {
  6713. "security": [
  6714. {
  6715. "ApiKeyAuth": []
  6716. }
  6717. ],
  6718. "produces": [
  6719. "application/json"
  6720. ],
  6721. "tags": [
  6722. "定制【海商报业】"
  6723. ],
  6724. "summary": "查询海商报业相关市场信息",
  6725. "responses": {
  6726. "200": {
  6727. "description": "OK",
  6728. "schema": {
  6729. "$ref": "#/definitions/models.HsbyMarketInfo"
  6730. }
  6731. },
  6732. "500": {
  6733. "description": "Internal Server Error",
  6734. "schema": {
  6735. "$ref": "#/definitions/app.Response"
  6736. }
  6737. }
  6738. }
  6739. }
  6740. },
  6741. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6742. "get": {
  6743. "security": [
  6744. {
  6745. "ApiKeyAuth": []
  6746. }
  6747. ],
  6748. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6749. "produces": [
  6750. "application/json"
  6751. ],
  6752. "tags": [
  6753. "定制【海商报业】"
  6754. ],
  6755. "summary": "查询“我的订单”信息",
  6756. "parameters": [
  6757. {
  6758. "type": "string",
  6759. "description": "资金账户列表,格式:1,2,3",
  6760. "name": "accountIDs",
  6761. "in": "query",
  6762. "required": true
  6763. }
  6764. ],
  6765. "responses": {
  6766. "200": {
  6767. "description": "OK",
  6768. "schema": {
  6769. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6770. }
  6771. },
  6772. "500": {
  6773. "description": "Internal Server Error",
  6774. "schema": {
  6775. "$ref": "#/definitions/app.Response"
  6776. }
  6777. }
  6778. }
  6779. }
  6780. },
  6781. "/HSBY/QueryHsbyMyGoods": {
  6782. "get": {
  6783. "security": [
  6784. {
  6785. "ApiKeyAuth": []
  6786. }
  6787. ],
  6788. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6789. "produces": [
  6790. "application/json"
  6791. ],
  6792. "tags": [
  6793. "定制【海商报业】"
  6794. ],
  6795. "summary": "查询“我的商品”信息",
  6796. "parameters": [
  6797. {
  6798. "type": "string",
  6799. "description": "资金账户列表,格式:1,2,3",
  6800. "name": "accountIDs",
  6801. "in": "query",
  6802. "required": true
  6803. }
  6804. ],
  6805. "responses": {
  6806. "200": {
  6807. "description": "OK",
  6808. "schema": {
  6809. "$ref": "#/definitions/models.HsbyMyGoods"
  6810. }
  6811. },
  6812. "500": {
  6813. "description": "Internal Server Error",
  6814. "schema": {
  6815. "$ref": "#/definitions/app.Response"
  6816. }
  6817. }
  6818. }
  6819. }
  6820. },
  6821. "/HSBY/QueryHsbyMyPackages": {
  6822. "get": {
  6823. "security": [
  6824. {
  6825. "ApiKeyAuth": []
  6826. }
  6827. ],
  6828. "produces": [
  6829. "application/json"
  6830. ],
  6831. "tags": [
  6832. "定制【海商报业】"
  6833. ],
  6834. "summary": "查询我的包裹信息",
  6835. "parameters": [
  6836. {
  6837. "type": "string",
  6838. "description": "资金账户列表,格式:1,2,3",
  6839. "name": "accountIDs",
  6840. "in": "query",
  6841. "required": true
  6842. },
  6843. {
  6844. "type": "integer",
  6845. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6846. "name": "takeOrderStatus",
  6847. "in": "query"
  6848. }
  6849. ],
  6850. "responses": {
  6851. "200": {
  6852. "description": "OK",
  6853. "schema": {
  6854. "$ref": "#/definitions/models.HsbyMyPackage"
  6855. }
  6856. },
  6857. "500": {
  6858. "description": "Internal Server Error",
  6859. "schema": {
  6860. "$ref": "#/definitions/app.Response"
  6861. }
  6862. }
  6863. }
  6864. }
  6865. },
  6866. "/HSBY/QueryHsbyPreGoodsDetail": {
  6867. "get": {
  6868. "security": [
  6869. {
  6870. "ApiKeyAuth": []
  6871. }
  6872. ],
  6873. "produces": [
  6874. "application/json"
  6875. ],
  6876. "tags": [
  6877. "定制【海商报业】"
  6878. ],
  6879. "summary": "查询一级市场(预售)商品信息详情",
  6880. "parameters": [
  6881. {
  6882. "type": "integer",
  6883. "description": "商品ID",
  6884. "name": "goodsID",
  6885. "in": "query",
  6886. "required": true
  6887. },
  6888. {
  6889. "type": "integer",
  6890. "description": "资金账户,主要用于获取预售商品购买上限",
  6891. "name": "accountID",
  6892. "in": "query"
  6893. }
  6894. ],
  6895. "responses": {
  6896. "200": {
  6897. "description": "OK",
  6898. "schema": {
  6899. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6900. }
  6901. },
  6902. "500": {
  6903. "description": "Internal Server Error",
  6904. "schema": {
  6905. "$ref": "#/definitions/app.Response"
  6906. }
  6907. }
  6908. }
  6909. }
  6910. },
  6911. "/HSBY/QueryHsbyPreGoodses": {
  6912. "get": {
  6913. "security": [
  6914. {
  6915. "ApiKeyAuth": []
  6916. }
  6917. ],
  6918. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6919. "produces": [
  6920. "application/json"
  6921. ],
  6922. "tags": [
  6923. "定制【海商报业】"
  6924. ],
  6925. "summary": "查询新品上市商品列表(一级市场预售)",
  6926. "parameters": [
  6927. {
  6928. "type": "integer",
  6929. "description": "页码",
  6930. "name": "page",
  6931. "in": "query"
  6932. },
  6933. {
  6934. "type": "integer",
  6935. "description": "每页条数",
  6936. "name": "pagesize",
  6937. "in": "query"
  6938. },
  6939. {
  6940. "type": "string",
  6941. "description": "市场ID列表,格式:1,2,3",
  6942. "name": "marketIDs",
  6943. "in": "query",
  6944. "required": true
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "目的地(省)ID",
  6949. "name": "descProvinceID",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "integer",
  6954. "description": "目的地(市)ID",
  6955. "name": "descCityID",
  6956. "in": "query"
  6957. }
  6958. ],
  6959. "responses": {
  6960. "200": {
  6961. "description": "OK",
  6962. "schema": {
  6963. "$ref": "#/definitions/models.HsbyPreGoods"
  6964. }
  6965. },
  6966. "500": {
  6967. "description": "Internal Server Error",
  6968. "schema": {
  6969. "$ref": "#/definitions/app.Response"
  6970. }
  6971. }
  6972. }
  6973. }
  6974. },
  6975. "/HSBY/QueryHsbySellMyDetails": {
  6976. "get": {
  6977. "security": [
  6978. {
  6979. "ApiKeyAuth": []
  6980. }
  6981. ],
  6982. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6983. "produces": [
  6984. "application/json"
  6985. ],
  6986. "tags": [
  6987. "定制【海商报业】"
  6988. ],
  6989. "summary": "查询\"我的闲置\"单据信息",
  6990. "parameters": [
  6991. {
  6992. "type": "integer",
  6993. "description": "页码",
  6994. "name": "page",
  6995. "in": "query"
  6996. },
  6997. {
  6998. "type": "integer",
  6999. "description": "每页条数",
  7000. "name": "pagesize",
  7001. "in": "query"
  7002. },
  7003. {
  7004. "type": "string",
  7005. "description": "资金账户列表,格式:1,2,3",
  7006. "name": "accountIDs",
  7007. "in": "query",
  7008. "required": true
  7009. },
  7010. {
  7011. "type": "integer",
  7012. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7013. "name": "orderType",
  7014. "in": "query"
  7015. }
  7016. ],
  7017. "responses": {
  7018. "200": {
  7019. "description": "OK",
  7020. "schema": {
  7021. "$ref": "#/definitions/models.HsbySellMyDetail"
  7022. }
  7023. },
  7024. "500": {
  7025. "description": "Internal Server Error",
  7026. "schema": {
  7027. "$ref": "#/definitions/app.Response"
  7028. }
  7029. }
  7030. }
  7031. }
  7032. },
  7033. "/HSBY/QueryHsbyTopGoodses": {
  7034. "get": {
  7035. "security": [
  7036. {
  7037. "ApiKeyAuth": []
  7038. }
  7039. ],
  7040. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7041. "produces": [
  7042. "application/json"
  7043. ],
  7044. "tags": [
  7045. "定制【海商报业】"
  7046. ],
  7047. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7048. "parameters": [
  7049. {
  7050. "type": "integer",
  7051. "description": "页码",
  7052. "name": "page",
  7053. "in": "query"
  7054. },
  7055. {
  7056. "type": "integer",
  7057. "description": "每页条数",
  7058. "name": "pagesize",
  7059. "in": "query"
  7060. },
  7061. {
  7062. "type": "string",
  7063. "description": "市场ID列表,格式:1,2,3",
  7064. "name": "marketIDs",
  7065. "in": "query",
  7066. "required": true
  7067. },
  7068. {
  7069. "type": "integer",
  7070. "description": "目的地(省)ID",
  7071. "name": "descProvinceID",
  7072. "in": "query"
  7073. },
  7074. {
  7075. "type": "integer",
  7076. "description": "目的地(市)ID",
  7077. "name": "descCityID",
  7078. "in": "query"
  7079. }
  7080. ],
  7081. "responses": {
  7082. "200": {
  7083. "description": "OK",
  7084. "schema": {
  7085. "$ref": "#/definitions/models.HsbyTopGoods"
  7086. }
  7087. },
  7088. "500": {
  7089. "description": "Internal Server Error",
  7090. "schema": {
  7091. "$ref": "#/definitions/app.Response"
  7092. }
  7093. }
  7094. }
  7095. }
  7096. },
  7097. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7098. "get": {
  7099. "security": [
  7100. {
  7101. "ApiKeyAuth": []
  7102. }
  7103. ],
  7104. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7105. "produces": [
  7106. "application/json"
  7107. ],
  7108. "tags": [
  7109. "定制【海商报业】"
  7110. ],
  7111. "summary": "查询游客三级市场(商城)商品信息详情",
  7112. "parameters": [
  7113. {
  7114. "type": "integer",
  7115. "description": "商品ID",
  7116. "name": "goodsID",
  7117. "in": "query",
  7118. "required": true
  7119. }
  7120. ],
  7121. "responses": {
  7122. "200": {
  7123. "description": "OK",
  7124. "schema": {
  7125. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7126. }
  7127. },
  7128. "500": {
  7129. "description": "Internal Server Error",
  7130. "schema": {
  7131. "$ref": "#/definitions/app.Response"
  7132. }
  7133. }
  7134. }
  7135. }
  7136. },
  7137. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7138. "get": {
  7139. "security": [
  7140. {
  7141. "ApiKeyAuth": []
  7142. }
  7143. ],
  7144. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "定制【海商报业】"
  7150. ],
  7151. "summary": "查询游客特卖商品列表(三级商城)",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "页码",
  7156. "name": "page",
  7157. "in": "query"
  7158. },
  7159. {
  7160. "type": "integer",
  7161. "description": "每页条数",
  7162. "name": "pagesize",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "string",
  7167. "description": "市场ID列表,格式:1,2,3",
  7168. "name": "marketIDs",
  7169. "in": "query",
  7170. "required": true
  7171. },
  7172. {
  7173. "type": "integer",
  7174. "description": "类别ID",
  7175. "name": "categoryID",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "string",
  7180. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7181. "name": "goodsIDs",
  7182. "in": "query"
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/models.HsbyMarketGoods"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/HSBY/QueryMyCollectionOrders": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "定制【海商报业】"
  7213. ],
  7214. "summary": "我的闲置中收款信息查询",
  7215. "parameters": [
  7216. {
  7217. "type": "integer",
  7218. "description": "页码",
  7219. "name": "page",
  7220. "in": "query"
  7221. },
  7222. {
  7223. "type": "integer",
  7224. "description": "每页条数",
  7225. "name": "pagesize",
  7226. "in": "query"
  7227. },
  7228. {
  7229. "type": "string",
  7230. "description": "资金账户,格式:1,2,3",
  7231. "name": "accountIDs",
  7232. "in": "query",
  7233. "required": true
  7234. }
  7235. ],
  7236. "responses": {
  7237. "200": {
  7238. "description": "OK",
  7239. "schema": {
  7240. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7241. }
  7242. },
  7243. "500": {
  7244. "description": "Internal Server Error",
  7245. "schema": {
  7246. "$ref": "#/definitions/app.Response"
  7247. }
  7248. }
  7249. }
  7250. }
  7251. },
  7252. "/HSBY/QueryMyCouponHolds": {
  7253. "get": {
  7254. "security": [
  7255. {
  7256. "ApiKeyAuth": []
  7257. }
  7258. ],
  7259. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7260. "produces": [
  7261. "application/json"
  7262. ],
  7263. "tags": [
  7264. "定制【海商报业】"
  7265. ],
  7266. "summary": "我的优惠卷持仓查询",
  7267. "parameters": [
  7268. {
  7269. "type": "string",
  7270. "description": "资金账户列表,格式:1,2,3",
  7271. "name": "accountIDs",
  7272. "in": "query",
  7273. "required": true
  7274. },
  7275. {
  7276. "type": "string",
  7277. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7278. "name": "holdStatus",
  7279. "in": "query"
  7280. }
  7281. ],
  7282. "responses": {
  7283. "200": {
  7284. "description": "OK",
  7285. "schema": {
  7286. "$ref": "#/definitions/models.MyCouponHold"
  7287. }
  7288. },
  7289. "500": {
  7290. "description": "Internal Server Error",
  7291. "schema": {
  7292. "$ref": "#/definitions/app.Response"
  7293. }
  7294. }
  7295. }
  7296. }
  7297. },
  7298. "/HSBY/QueryMyCoupons": {
  7299. "get": {
  7300. "security": [
  7301. {
  7302. "ApiKeyAuth": []
  7303. }
  7304. ],
  7305. "produces": [
  7306. "application/json"
  7307. ],
  7308. "tags": [
  7309. "定制【海商报业】"
  7310. ],
  7311. "summary": "我的优惠卷查询",
  7312. "parameters": [
  7313. {
  7314. "type": "string",
  7315. "description": "资金账户列表,格式:1,2,3",
  7316. "name": "accountIDs",
  7317. "in": "query",
  7318. "required": true
  7319. },
  7320. {
  7321. "type": "integer",
  7322. "description": "商品ID, 一般与sellUserID配套传入",
  7323. "name": "goodsID",
  7324. "in": "query"
  7325. },
  7326. {
  7327. "type": "integer",
  7328. "description": "卖方UserID",
  7329. "name": "sellUserID",
  7330. "in": "query"
  7331. }
  7332. ],
  7333. "responses": {
  7334. "200": {
  7335. "description": "OK",
  7336. "schema": {
  7337. "$ref": "#/definitions/models.MyCoupon"
  7338. }
  7339. },
  7340. "500": {
  7341. "description": "Internal Server Error",
  7342. "schema": {
  7343. "$ref": "#/definitions/app.Response"
  7344. }
  7345. }
  7346. }
  7347. }
  7348. },
  7349. "/HSBY/QueryMyPayOrders": {
  7350. "get": {
  7351. "security": [
  7352. {
  7353. "ApiKeyAuth": []
  7354. }
  7355. ],
  7356. "produces": [
  7357. "application/json"
  7358. ],
  7359. "tags": [
  7360. "定制【海商报业】"
  7361. ],
  7362. "summary": "获取我的订单中待付款信息",
  7363. "parameters": [
  7364. {
  7365. "type": "integer",
  7366. "description": "页码",
  7367. "name": "page",
  7368. "in": "query"
  7369. },
  7370. {
  7371. "type": "integer",
  7372. "description": "每页条数",
  7373. "name": "pagesize",
  7374. "in": "query"
  7375. },
  7376. {
  7377. "type": "string",
  7378. "description": "资金账户列表,格式:1,2,3",
  7379. "name": "accountIDs",
  7380. "in": "query",
  7381. "required": true
  7382. },
  7383. {
  7384. "type": "integer",
  7385. "description": "买方委托单号",
  7386. "name": "buyOrderID",
  7387. "in": "query"
  7388. },
  7389. {
  7390. "type": "integer",
  7391. "description": "卖方委托单号",
  7392. "name": "sellOrderID",
  7393. "in": "query"
  7394. }
  7395. ],
  7396. "responses": {
  7397. "200": {
  7398. "description": "OK",
  7399. "schema": {
  7400. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7401. }
  7402. },
  7403. "500": {
  7404. "description": "Internal Server Error",
  7405. "schema": {
  7406. "$ref": "#/definitions/app.Response"
  7407. }
  7408. }
  7409. }
  7410. }
  7411. },
  7412. "/HSBY/QueryMyUsedCoupon": {
  7413. "get": {
  7414. "security": [
  7415. {
  7416. "ApiKeyAuth": []
  7417. }
  7418. ],
  7419. "produces": [
  7420. "application/json"
  7421. ],
  7422. "tags": [
  7423. "定制【海商报业】"
  7424. ],
  7425. "summary": "已使用优惠卷查询",
  7426. "parameters": [
  7427. {
  7428. "type": "string",
  7429. "description": "资金账户列表,格式:1,2,3",
  7430. "name": "accountIDs",
  7431. "in": "query",
  7432. "required": true
  7433. }
  7434. ],
  7435. "responses": {
  7436. "200": {
  7437. "description": "OK",
  7438. "schema": {
  7439. "$ref": "#/definitions/models.MyUsedCoupon"
  7440. }
  7441. },
  7442. "500": {
  7443. "description": "Internal Server Error",
  7444. "schema": {
  7445. "$ref": "#/definitions/app.Response"
  7446. }
  7447. }
  7448. }
  7449. }
  7450. },
  7451. "/HSBY/QueryProvincesAndCities": {
  7452. "get": {
  7453. "security": [
  7454. {
  7455. "ApiKeyAuth": []
  7456. }
  7457. ],
  7458. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7459. "produces": [
  7460. "application/json"
  7461. ],
  7462. "tags": [
  7463. "定制【海商报业】"
  7464. ],
  7465. "summary": "查询省市信息(不包括区)",
  7466. "parameters": [
  7467. {
  7468. "type": "integer",
  7469. "description": "省ID",
  7470. "name": "provinceID",
  7471. "in": "query"
  7472. }
  7473. ],
  7474. "responses": {
  7475. "200": {
  7476. "description": "OK",
  7477. "schema": {
  7478. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7479. }
  7480. },
  7481. "500": {
  7482. "description": "Internal Server Error",
  7483. "schema": {
  7484. "$ref": "#/definitions/app.Response"
  7485. }
  7486. }
  7487. }
  7488. }
  7489. },
  7490. "/HSBY/SetHsbyMyPackagesStatus": {
  7491. "post": {
  7492. "security": [
  7493. {
  7494. "ApiKeyAuth": []
  7495. }
  7496. ],
  7497. "produces": [
  7498. "application/json"
  7499. ],
  7500. "tags": [
  7501. "定制【海商报业】"
  7502. ],
  7503. "summary": "设置我的包裹已收货状态",
  7504. "parameters": [
  7505. {
  7506. "type": "string",
  7507. "description": "提货单号",
  7508. "name": "takeOrderID",
  7509. "in": "query",
  7510. "required": true
  7511. },
  7512. {
  7513. "type": "integer",
  7514. "description": "资金账号",
  7515. "name": "accountID",
  7516. "in": "query",
  7517. "required": true
  7518. }
  7519. ],
  7520. "responses": {
  7521. "200": {
  7522. "description": "OK",
  7523. "schema": {
  7524. "$ref": "#/definitions/app.Response"
  7525. }
  7526. },
  7527. "500": {
  7528. "description": "Internal Server Error",
  7529. "schema": {
  7530. "$ref": "#/definitions/app.Response"
  7531. }
  7532. }
  7533. }
  7534. }
  7535. },
  7536. "/Market/QueryGoodsesByLoginID": {
  7537. "get": {
  7538. "security": [
  7539. {
  7540. "ApiKeyAuth": []
  7541. }
  7542. ],
  7543. "produces": [
  7544. "application/json"
  7545. ],
  7546. "tags": [
  7547. "通用市场"
  7548. ],
  7549. "summary": "获取登录账号有权限的商品信息",
  7550. "parameters": [
  7551. {
  7552. "type": "integer",
  7553. "description": "登录账号",
  7554. "name": "loginID",
  7555. "in": "query",
  7556. "required": true
  7557. },
  7558. {
  7559. "type": "string",
  7560. "description": "市场ID列表,格式:1,2,3",
  7561. "name": "marketIDs",
  7562. "in": "query"
  7563. }
  7564. ],
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "$ref": "#/definitions/models.Goods"
  7570. }
  7571. },
  7572. "500": {
  7573. "description": "Internal Server Error",
  7574. "schema": {
  7575. "$ref": "#/definitions/app.Response"
  7576. }
  7577. }
  7578. }
  7579. }
  7580. },
  7581. "/Market/QueryMarketRun": {
  7582. "get": {
  7583. "security": [
  7584. {
  7585. "ApiKeyAuth": []
  7586. }
  7587. ],
  7588. "produces": [
  7589. "application/json"
  7590. ],
  7591. "tags": [
  7592. "通用市场"
  7593. ],
  7594. "summary": "查询市场运行信息",
  7595. "parameters": [
  7596. {
  7597. "type": "integer",
  7598. "description": "市场ID,不传返回所有",
  7599. "name": "marketID",
  7600. "in": "query"
  7601. }
  7602. ],
  7603. "responses": {
  7604. "200": {
  7605. "description": "OK",
  7606. "schema": {
  7607. "$ref": "#/definitions/models.Marketrun"
  7608. }
  7609. },
  7610. "500": {
  7611. "description": "Internal Server Error",
  7612. "schema": {
  7613. "$ref": "#/definitions/app.Response"
  7614. }
  7615. }
  7616. }
  7617. }
  7618. },
  7619. "/Market/QueryMarketsByLoginID": {
  7620. "get": {
  7621. "security": [
  7622. {
  7623. "ApiKeyAuth": []
  7624. }
  7625. ],
  7626. "produces": [
  7627. "application/json"
  7628. ],
  7629. "tags": [
  7630. "通用市场"
  7631. ],
  7632. "summary": "获取登录账号有权限的市场信息",
  7633. "parameters": [
  7634. {
  7635. "type": "integer",
  7636. "description": "登录账号",
  7637. "name": "loginID",
  7638. "in": "query",
  7639. "required": true
  7640. }
  7641. ],
  7642. "responses": {
  7643. "200": {
  7644. "description": "OK",
  7645. "schema": {
  7646. "$ref": "#/definitions/models.Market"
  7647. }
  7648. },
  7649. "500": {
  7650. "description": "Internal Server Error",
  7651. "schema": {
  7652. "$ref": "#/definitions/app.Response"
  7653. }
  7654. }
  7655. }
  7656. }
  7657. },
  7658. "/Order/QueryHisTradeDetail": {
  7659. "get": {
  7660. "security": [
  7661. {
  7662. "ApiKeyAuth": []
  7663. }
  7664. ],
  7665. "produces": [
  7666. "application/json"
  7667. ],
  7668. "tags": [
  7669. "通用单据"
  7670. ],
  7671. "summary": "历史成交单查询(合约市场)",
  7672. "parameters": [
  7673. {
  7674. "type": "string",
  7675. "description": "资金账户 - 格式:1,2,3",
  7676. "name": "accountID",
  7677. "in": "query",
  7678. "required": true
  7679. },
  7680. {
  7681. "type": "integer",
  7682. "description": "成交单号",
  7683. "name": "tradeID",
  7684. "in": "query"
  7685. },
  7686. {
  7687. "type": "integer",
  7688. "description": "委托单号",
  7689. "name": "orderID",
  7690. "in": "query"
  7691. },
  7692. {
  7693. "type": "string",
  7694. "description": "交易模式 - 格式:1,2,3",
  7695. "name": "tradeMode",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "integer",
  7700. "description": "委托单据类型",
  7701. "name": "buildType",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "string",
  7706. "description": "成交类别 - 格式:1,2,3",
  7707. "name": "tradeType",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7713. "name": "startDate",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "string",
  7718. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7719. "name": "endDate",
  7720. "in": "query"
  7721. }
  7722. ],
  7723. "responses": {
  7724. "200": {
  7725. "description": "OK",
  7726. "schema": {
  7727. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7728. }
  7729. },
  7730. "500": {
  7731. "description": "Internal Server Error",
  7732. "schema": {
  7733. "$ref": "#/definitions/app.Response"
  7734. }
  7735. }
  7736. }
  7737. }
  7738. },
  7739. "/Order/QueryHisTradeOrderDetail": {
  7740. "get": {
  7741. "security": [
  7742. {
  7743. "ApiKeyAuth": []
  7744. }
  7745. ],
  7746. "produces": [
  7747. "application/json"
  7748. ],
  7749. "tags": [
  7750. "通用单据"
  7751. ],
  7752. "summary": "历史委托单查询请求(合约市场)",
  7753. "parameters": [
  7754. {
  7755. "type": "string",
  7756. "description": "资金账户 - 格式:1,2,3",
  7757. "name": "accountID",
  7758. "in": "query",
  7759. "required": true
  7760. },
  7761. {
  7762. "type": "string",
  7763. "description": "交易模式 - 格式:1,2,3",
  7764. "name": "tradeMode",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "string",
  7769. "description": "委托状态 - 格式:1,2,3",
  7770. "name": "orderStatus",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "委托单号",
  7776. "name": "orderID",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "string",
  7781. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7782. "name": "startDate",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "string",
  7787. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7788. "name": "endDate",
  7789. "in": "query"
  7790. }
  7791. ],
  7792. "responses": {
  7793. "200": {
  7794. "description": "OK",
  7795. "schema": {
  7796. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7797. }
  7798. },
  7799. "500": {
  7800. "description": "Internal Server Error",
  7801. "schema": {
  7802. "$ref": "#/definitions/app.Response"
  7803. }
  7804. }
  7805. }
  7806. }
  7807. },
  7808. "/Order/QueryTradeDetail": {
  7809. "get": {
  7810. "security": [
  7811. {
  7812. "ApiKeyAuth": []
  7813. }
  7814. ],
  7815. "produces": [
  7816. "application/json"
  7817. ],
  7818. "tags": [
  7819. "通用单据"
  7820. ],
  7821. "summary": "成交单查询(合约市场)",
  7822. "parameters": [
  7823. {
  7824. "type": "string",
  7825. "description": "资金账户 - 格式:1,2,3",
  7826. "name": "accountID",
  7827. "in": "query",
  7828. "required": true
  7829. },
  7830. {
  7831. "type": "integer",
  7832. "description": "成交单号",
  7833. "name": "tradeID",
  7834. "in": "query"
  7835. },
  7836. {
  7837. "type": "integer",
  7838. "description": "委托单号",
  7839. "name": "orderID",
  7840. "in": "query"
  7841. },
  7842. {
  7843. "type": "string",
  7844. "description": "交易模式 - 格式:1,2,3",
  7845. "name": "tradeMode",
  7846. "in": "query"
  7847. },
  7848. {
  7849. "type": "integer",
  7850. "description": "委托单据类型",
  7851. "name": "buildType",
  7852. "in": "query"
  7853. },
  7854. {
  7855. "type": "string",
  7856. "description": "成交类别 - 格式:1,2,3",
  7857. "name": "tradeType",
  7858. "in": "query"
  7859. }
  7860. ],
  7861. "responses": {
  7862. "200": {
  7863. "description": "OK",
  7864. "schema": {
  7865. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7866. }
  7867. },
  7868. "500": {
  7869. "description": "Internal Server Error",
  7870. "schema": {
  7871. "$ref": "#/definitions/app.Response"
  7872. }
  7873. }
  7874. }
  7875. }
  7876. },
  7877. "/Order/QueryTradeOrderDetail": {
  7878. "get": {
  7879. "security": [
  7880. {
  7881. "ApiKeyAuth": []
  7882. }
  7883. ],
  7884. "produces": [
  7885. "application/json"
  7886. ],
  7887. "tags": [
  7888. "通用单据"
  7889. ],
  7890. "summary": "委托单查询请求(合约市场)",
  7891. "parameters": [
  7892. {
  7893. "type": "string",
  7894. "description": "资金账户 - 格式:1,2,3",
  7895. "name": "accountID",
  7896. "in": "query",
  7897. "required": true
  7898. },
  7899. {
  7900. "type": "string",
  7901. "description": "交易模式 - 格式:1,2,3",
  7902. "name": "tradeMode",
  7903. "in": "query"
  7904. },
  7905. {
  7906. "type": "string",
  7907. "description": "委托状态 - 格式:1,2,3",
  7908. "name": "orderStatus",
  7909. "in": "query"
  7910. },
  7911. {
  7912. "type": "integer",
  7913. "description": "委托单号",
  7914. "name": "orderID",
  7915. "in": "query"
  7916. }
  7917. ],
  7918. "responses": {
  7919. "200": {
  7920. "description": "OK",
  7921. "schema": {
  7922. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7923. }
  7924. },
  7925. "500": {
  7926. "description": "Internal Server Error",
  7927. "schema": {
  7928. "$ref": "#/definitions/app.Response"
  7929. }
  7930. }
  7931. }
  7932. }
  7933. },
  7934. "/Order/QueryTradePosition": {
  7935. "get": {
  7936. "security": [
  7937. {
  7938. "ApiKeyAuth": []
  7939. }
  7940. ],
  7941. "produces": [
  7942. "application/json"
  7943. ],
  7944. "tags": [
  7945. "通用单据"
  7946. ],
  7947. "summary": "持仓汇总查询(合约市场)",
  7948. "parameters": [
  7949. {
  7950. "type": "string",
  7951. "description": "资金账户 - 格式:1,2,3",
  7952. "name": "accountID",
  7953. "in": "query",
  7954. "required": true
  7955. },
  7956. {
  7957. "type": "string",
  7958. "description": "交易模式 - 格式:1,2,3",
  7959. "name": "tradeMode",
  7960. "in": "query"
  7961. }
  7962. ],
  7963. "responses": {
  7964. "200": {
  7965. "description": "OK",
  7966. "schema": {
  7967. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7968. }
  7969. },
  7970. "500": {
  7971. "description": "Internal Server Error",
  7972. "schema": {
  7973. "$ref": "#/definitions/app.Response"
  7974. }
  7975. }
  7976. }
  7977. }
  7978. },
  7979. "/Quote/QueryHistoryDatas": {
  7980. "get": {
  7981. "security": [
  7982. {
  7983. "ApiKeyAuth": []
  7984. }
  7985. ],
  7986. "produces": [
  7987. "application/json"
  7988. ],
  7989. "tags": [
  7990. "行情服务"
  7991. ],
  7992. "summary": "查询行情历史数据",
  7993. "parameters": [
  7994. {
  7995. "type": "integer",
  7996. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7997. "name": "cycleType",
  7998. "in": "query",
  7999. "required": true
  8000. },
  8001. {
  8002. "type": "string",
  8003. "description": "商品代码",
  8004. "name": "goodsCode",
  8005. "in": "query",
  8006. "required": true
  8007. },
  8008. {
  8009. "type": "string",
  8010. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8011. "name": "startTime",
  8012. "in": "query"
  8013. },
  8014. {
  8015. "type": "string",
  8016. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8017. "name": "endTime",
  8018. "in": "query"
  8019. },
  8020. {
  8021. "type": "integer",
  8022. "description": "条数",
  8023. "name": "count",
  8024. "in": "query"
  8025. },
  8026. {
  8027. "type": "boolean",
  8028. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8029. "name": "isAsc",
  8030. "in": "query"
  8031. }
  8032. ],
  8033. "responses": {
  8034. "200": {
  8035. "description": "OK",
  8036. "schema": {
  8037. "$ref": "#/definitions/quote.HistoryData"
  8038. }
  8039. },
  8040. "500": {
  8041. "description": "Internal Server Error",
  8042. "schema": {
  8043. "$ref": "#/definitions/app.Response"
  8044. }
  8045. }
  8046. }
  8047. }
  8048. },
  8049. "/Quote/QueryHistoryTikDatas": {
  8050. "get": {
  8051. "security": [
  8052. {
  8053. "ApiKeyAuth": []
  8054. }
  8055. ],
  8056. "produces": [
  8057. "application/json"
  8058. ],
  8059. "tags": [
  8060. "行情服务"
  8061. ],
  8062. "summary": "查询行情Tik数据",
  8063. "parameters": [
  8064. {
  8065. "type": "string",
  8066. "description": "商品代码",
  8067. "name": "goodsCode",
  8068. "in": "query",
  8069. "required": true
  8070. },
  8071. {
  8072. "type": "string",
  8073. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8074. "name": "startTime",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8080. "name": "endTime",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "integer",
  8085. "description": "条数",
  8086. "name": "count",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "boolean",
  8091. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8092. "name": "isAsc",
  8093. "in": "query"
  8094. }
  8095. ],
  8096. "responses": {
  8097. "200": {
  8098. "description": "OK",
  8099. "schema": {
  8100. "$ref": "#/definitions/quote.HistoryTikData"
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "Internal Server Error",
  8105. "schema": {
  8106. "$ref": "#/definitions/app.Response"
  8107. }
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "/Quote/QueryQuoteDay": {
  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": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8130. "name": "goodsCodes",
  8131. "in": "query",
  8132. "required": true
  8133. }
  8134. ],
  8135. "responses": {
  8136. "200": {
  8137. "description": "OK",
  8138. "schema": {
  8139. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8140. }
  8141. },
  8142. "500": {
  8143. "description": "Internal Server Error",
  8144. "schema": {
  8145. "$ref": "#/definitions/app.Response"
  8146. }
  8147. }
  8148. }
  8149. }
  8150. },
  8151. "/Quote/QueryTSData": {
  8152. "get": {
  8153. "security": [
  8154. {
  8155. "ApiKeyAuth": []
  8156. }
  8157. ],
  8158. "produces": [
  8159. "application/json"
  8160. ],
  8161. "tags": [
  8162. "行情服务"
  8163. ],
  8164. "summary": "分时图数据查询",
  8165. "parameters": [
  8166. {
  8167. "type": "string",
  8168. "description": "商品代码",
  8169. "name": "goodsCode",
  8170. "in": "query",
  8171. "required": true
  8172. }
  8173. ],
  8174. "responses": {
  8175. "200": {
  8176. "description": "OK",
  8177. "schema": {
  8178. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8179. }
  8180. },
  8181. "500": {
  8182. "description": "Internal Server Error",
  8183. "schema": {
  8184. "$ref": "#/definitions/app.Response"
  8185. }
  8186. }
  8187. }
  8188. }
  8189. },
  8190. "/SZDZ/QueryConvertConfig": {
  8191. "get": {
  8192. "security": [
  8193. {
  8194. "ApiKeyAuth": []
  8195. }
  8196. ],
  8197. "produces": [
  8198. "application/json"
  8199. ],
  8200. "tags": [
  8201. "定制【尚志大宗】"
  8202. ],
  8203. "summary": "查询交易系统转换设置",
  8204. "parameters": [
  8205. {
  8206. "type": "integer",
  8207. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8208. "name": "convertType",
  8209. "in": "query"
  8210. },
  8211. {
  8212. "type": "string",
  8213. "description": "外部商品代码[JD\\PD]",
  8214. "name": "outerGoodsCode",
  8215. "in": "query"
  8216. },
  8217. {
  8218. "type": "string",
  8219. "description": "内部商品ID列表[交易],格式:1,2,3",
  8220. "name": "innerGoodsIDs",
  8221. "in": "query"
  8222. }
  8223. ],
  8224. "responses": {
  8225. "200": {
  8226. "description": "OK",
  8227. "schema": {
  8228. "$ref": "#/definitions/models.Szdz3convertconfig"
  8229. }
  8230. },
  8231. "500": {
  8232. "description": "Internal Server Error",
  8233. "schema": {
  8234. "$ref": "#/definitions/app.Response"
  8235. }
  8236. }
  8237. }
  8238. }
  8239. },
  8240. "/SZDZ/QueryConvertLog": {
  8241. "get": {
  8242. "security": [
  8243. {
  8244. "ApiKeyAuth": []
  8245. }
  8246. ],
  8247. "produces": [
  8248. "application/json"
  8249. ],
  8250. "tags": [
  8251. "定制【尚志大宗】"
  8252. ],
  8253. "summary": "交易系统转换流水查询",
  8254. "parameters": [
  8255. {
  8256. "type": "string",
  8257. "description": "资金账户 - 格式:1,2,3",
  8258. "name": "accountID",
  8259. "in": "query",
  8260. "required": true
  8261. },
  8262. {
  8263. "type": "string",
  8264. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8265. "name": "startDate",
  8266. "in": "query"
  8267. },
  8268. {
  8269. "type": "string",
  8270. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8271. "name": "endDate",
  8272. "in": "query"
  8273. }
  8274. ],
  8275. "responses": {
  8276. "200": {
  8277. "description": "OK",
  8278. "schema": {
  8279. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8280. }
  8281. },
  8282. "500": {
  8283. "description": "Internal Server Error",
  8284. "schema": {
  8285. "$ref": "#/definitions/app.Response"
  8286. }
  8287. }
  8288. }
  8289. }
  8290. },
  8291. "/SZDZ/QueryGoodsPickup": {
  8292. "get": {
  8293. "security": [
  8294. {
  8295. "ApiKeyAuth": []
  8296. }
  8297. ],
  8298. "produces": [
  8299. "application/json"
  8300. ],
  8301. "tags": [
  8302. "定制【尚志大宗】"
  8303. ],
  8304. "summary": "商品提货单查询",
  8305. "parameters": [
  8306. {
  8307. "type": "string",
  8308. "description": "资金账户 - 格式:1,2,3",
  8309. "name": "accountID",
  8310. "in": "query",
  8311. "required": true
  8312. },
  8313. {
  8314. "type": "integer",
  8315. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8316. "name": "takeOrderStatus",
  8317. "in": "query"
  8318. }
  8319. ],
  8320. "responses": {
  8321. "200": {
  8322. "description": "OK",
  8323. "schema": {
  8324. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8325. }
  8326. },
  8327. "500": {
  8328. "description": "Internal Server Error",
  8329. "schema": {
  8330. "$ref": "#/definitions/app.Response"
  8331. }
  8332. }
  8333. }
  8334. }
  8335. },
  8336. "/SZDZ/QueryRecieptOrder": {
  8337. "get": {
  8338. "security": [
  8339. {
  8340. "ApiKeyAuth": []
  8341. }
  8342. ],
  8343. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8344. "produces": [
  8345. "application/json"
  8346. ],
  8347. "tags": [
  8348. "定制【尚志大宗】"
  8349. ],
  8350. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8351. "parameters": [
  8352. {
  8353. "type": "integer",
  8354. "description": "页码",
  8355. "name": "page",
  8356. "in": "query"
  8357. },
  8358. {
  8359. "type": "integer",
  8360. "description": "每页条数",
  8361. "name": "pagesize",
  8362. "in": "query"
  8363. },
  8364. {
  8365. "type": "integer",
  8366. "description": "商品ID",
  8367. "name": "goodsID",
  8368. "in": "query",
  8369. "required": true
  8370. },
  8371. {
  8372. "type": "string",
  8373. "description": "所属账户名称",
  8374. "name": "accountName",
  8375. "in": "query"
  8376. },
  8377. {
  8378. "type": "integer",
  8379. "description": "市场ID",
  8380. "name": "marketID",
  8381. "in": "query"
  8382. },
  8383. {
  8384. "type": "integer",
  8385. "description": "方向 - 0:买 1:卖",
  8386. "name": "buyorsell",
  8387. "in": "query",
  8388. "required": true
  8389. }
  8390. ],
  8391. "responses": {
  8392. "200": {
  8393. "description": "OK",
  8394. "schema": {
  8395. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8396. }
  8397. },
  8398. "500": {
  8399. "description": "Internal Server Error",
  8400. "schema": {
  8401. "$ref": "#/definitions/app.Response"
  8402. }
  8403. }
  8404. }
  8405. }
  8406. },
  8407. "/SZDZ/QuerySZDZTradePosition": {
  8408. "get": {
  8409. "security": [
  8410. {
  8411. "ApiKeyAuth": []
  8412. }
  8413. ],
  8414. "produces": [
  8415. "application/json"
  8416. ],
  8417. "tags": [
  8418. "定制【尚志大宗】"
  8419. ],
  8420. "summary": "持仓汇总查询(尚志大宗)",
  8421. "parameters": [
  8422. {
  8423. "type": "integer",
  8424. "description": "资金账户",
  8425. "name": "accountID",
  8426. "in": "query",
  8427. "required": true
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8435. }
  8436. },
  8437. "500": {
  8438. "description": "Internal Server Error",
  8439. "schema": {
  8440. "$ref": "#/definitions/app.Response"
  8441. }
  8442. }
  8443. }
  8444. }
  8445. },
  8446. "/SZDZ/SearchWhite": {
  8447. "get": {
  8448. "security": [
  8449. {
  8450. "ApiKeyAuth": []
  8451. }
  8452. ],
  8453. "produces": [
  8454. "application/json"
  8455. ],
  8456. "tags": [
  8457. "定制【尚志大宗】"
  8458. ],
  8459. "summary": "搜索白名单",
  8460. "parameters": [
  8461. {
  8462. "type": "integer",
  8463. "description": "用户ID",
  8464. "name": "userID",
  8465. "in": "query",
  8466. "required": true
  8467. }
  8468. ],
  8469. "responses": {
  8470. "200": {
  8471. "description": "OK",
  8472. "schema": {
  8473. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8474. }
  8475. },
  8476. "500": {
  8477. "description": "Internal Server Error",
  8478. "schema": {
  8479. "$ref": "#/definitions/app.Response"
  8480. }
  8481. }
  8482. }
  8483. }
  8484. },
  8485. "/Search/SearchGoodses": {
  8486. "get": {
  8487. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8488. "produces": [
  8489. "application/json"
  8490. ],
  8491. "tags": [
  8492. "检索服务"
  8493. ],
  8494. "summary": "检索商品信息",
  8495. "parameters": [
  8496. {
  8497. "type": "string",
  8498. "description": "检索内容",
  8499. "name": "content",
  8500. "in": "query",
  8501. "required": true
  8502. },
  8503. {
  8504. "type": "string",
  8505. "description": "交易模式,格式:1,2,3",
  8506. "name": "tradeModes",
  8507. "in": "query"
  8508. }
  8509. ],
  8510. "responses": {
  8511. "200": {
  8512. "description": "OK",
  8513. "schema": {
  8514. "$ref": "#/definitions/models.SearchGoods"
  8515. }
  8516. },
  8517. "500": {
  8518. "description": "Internal Server Error",
  8519. "schema": {
  8520. "$ref": "#/definitions/app.Response"
  8521. }
  8522. }
  8523. }
  8524. }
  8525. },
  8526. "/TaAccount/GetTaAccounts": {
  8527. "get": {
  8528. "security": [
  8529. {
  8530. "ApiKeyAuth": []
  8531. }
  8532. ],
  8533. "produces": [
  8534. "application/json"
  8535. ],
  8536. "tags": [
  8537. "资金账户"
  8538. ],
  8539. "summary": "获取资金账户信息",
  8540. "parameters": [
  8541. {
  8542. "type": "integer",
  8543. "description": "登录账户",
  8544. "name": "loginID",
  8545. "in": "query",
  8546. "required": true
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8551. "name": "taAccountType",
  8552. "in": "query"
  8553. }
  8554. ],
  8555. "responses": {
  8556. "200": {
  8557. "description": "OK",
  8558. "schema": {
  8559. "$ref": "#/definitions/models.Taaccount"
  8560. }
  8561. },
  8562. "500": {
  8563. "description": "Internal Server Error",
  8564. "schema": {
  8565. "$ref": "#/definitions/app.Response"
  8566. }
  8567. }
  8568. }
  8569. }
  8570. },
  8571. "/TaAccount/QueryAmountLog": {
  8572. "get": {
  8573. "security": [
  8574. {
  8575. "ApiKeyAuth": []
  8576. }
  8577. ],
  8578. "produces": [
  8579. "application/json"
  8580. ],
  8581. "tags": [
  8582. "资金账户"
  8583. ],
  8584. "summary": "资金流水查询(当前)",
  8585. "parameters": [
  8586. {
  8587. "type": "integer",
  8588. "description": "页码",
  8589. "name": "page",
  8590. "in": "query"
  8591. },
  8592. {
  8593. "type": "integer",
  8594. "description": "每页条数",
  8595. "name": "pagesize",
  8596. "in": "query"
  8597. },
  8598. {
  8599. "type": "string",
  8600. "description": "资金账户 - 格式:1,2,3",
  8601. "name": "accountID",
  8602. "in": "query",
  8603. "required": true
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "资金操作类型 - 格式:1,2,3",
  8608. "name": "OperateType",
  8609. "in": "query"
  8610. }
  8611. ],
  8612. "responses": {
  8613. "200": {
  8614. "description": "OK",
  8615. "schema": {
  8616. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8617. }
  8618. },
  8619. "500": {
  8620. "description": "Internal Server Error",
  8621. "schema": {
  8622. "$ref": "#/definitions/app.Response"
  8623. }
  8624. }
  8625. }
  8626. }
  8627. },
  8628. "/TaAccount/QueryHisAmountLog": {
  8629. "get": {
  8630. "security": [
  8631. {
  8632. "ApiKeyAuth": []
  8633. }
  8634. ],
  8635. "produces": [
  8636. "application/json"
  8637. ],
  8638. "tags": [
  8639. "资金账户"
  8640. ],
  8641. "summary": "资金流水查询(历史)",
  8642. "parameters": [
  8643. {
  8644. "type": "integer",
  8645. "description": "页码",
  8646. "name": "page",
  8647. "in": "query"
  8648. },
  8649. {
  8650. "type": "integer",
  8651. "description": "每页条数",
  8652. "name": "pagesize",
  8653. "in": "query"
  8654. },
  8655. {
  8656. "type": "string",
  8657. "description": "资金账户 - 格式:1,2,3",
  8658. "name": "accountID",
  8659. "in": "query",
  8660. "required": true
  8661. },
  8662. {
  8663. "type": "string",
  8664. "description": "资金操作类型 - 格式:1,2,3",
  8665. "name": "OperateType",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8671. "name": "startDate",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "string",
  8676. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8677. "name": "endDate",
  8678. "in": "query"
  8679. }
  8680. ],
  8681. "responses": {
  8682. "200": {
  8683. "description": "OK",
  8684. "schema": {
  8685. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8686. }
  8687. },
  8688. "500": {
  8689. "description": "Internal Server Error",
  8690. "schema": {
  8691. "$ref": "#/definitions/app.Response"
  8692. }
  8693. }
  8694. }
  8695. }
  8696. },
  8697. "/Trade/QueryRecieptOrder": {
  8698. "get": {
  8699. "security": [
  8700. {
  8701. "ApiKeyAuth": []
  8702. }
  8703. ],
  8704. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8705. "produces": [
  8706. "application/json"
  8707. ],
  8708. "tags": [
  8709. "通用交易"
  8710. ],
  8711. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8712. "parameters": [
  8713. {
  8714. "type": "integer",
  8715. "description": "页码",
  8716. "name": "page",
  8717. "in": "query"
  8718. },
  8719. {
  8720. "type": "integer",
  8721. "description": "每页条数",
  8722. "name": "pagesize",
  8723. "in": "query"
  8724. },
  8725. {
  8726. "type": "integer",
  8727. "description": "商品ID",
  8728. "name": "goodsID",
  8729. "in": "query",
  8730. "required": true
  8731. },
  8732. {
  8733. "type": "string",
  8734. "description": "所属账户名称",
  8735. "name": "accountName",
  8736. "in": "query"
  8737. },
  8738. {
  8739. "type": "integer",
  8740. "description": "市场ID",
  8741. "name": "marketID",
  8742. "in": "query"
  8743. },
  8744. {
  8745. "type": "integer",
  8746. "description": "方向 - 0:买 1:卖",
  8747. "name": "buyorsell",
  8748. "in": "query",
  8749. "required": true
  8750. }
  8751. ],
  8752. "responses": {
  8753. "200": {
  8754. "description": "OK",
  8755. "schema": {
  8756. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8757. }
  8758. },
  8759. "500": {
  8760. "description": "Internal Server Error",
  8761. "schema": {
  8762. "$ref": "#/definitions/app.Response"
  8763. }
  8764. }
  8765. }
  8766. }
  8767. },
  8768. "/User/AddMessageBoard": {
  8769. "post": {
  8770. "security": [
  8771. {
  8772. "ApiKeyAuth": []
  8773. }
  8774. ],
  8775. "produces": [
  8776. "application/json"
  8777. ],
  8778. "tags": [
  8779. "用户信息"
  8780. ],
  8781. "summary": "添加用户留言板信息",
  8782. "parameters": [
  8783. {
  8784. "type": "integer",
  8785. "description": "用户ID",
  8786. "name": "userID",
  8787. "in": "query",
  8788. "required": true
  8789. },
  8790. {
  8791. "type": "string",
  8792. "description": "留言信息",
  8793. "name": "message",
  8794. "in": "query",
  8795. "required": true
  8796. },
  8797. {
  8798. "type": "string",
  8799. "description": "联系电话",
  8800. "name": "contactNum",
  8801. "in": "query",
  8802. "required": true
  8803. }
  8804. ],
  8805. "responses": {
  8806. "200": {
  8807. "description": "OK",
  8808. "schema": {
  8809. "$ref": "#/definitions/app.Response"
  8810. }
  8811. },
  8812. "500": {
  8813. "description": "Internal Server Error",
  8814. "schema": {
  8815. "$ref": "#/definitions/app.Response"
  8816. }
  8817. }
  8818. }
  8819. }
  8820. },
  8821. "/User/AddUserFavoriteGoods": {
  8822. "post": {
  8823. "security": [
  8824. {
  8825. "ApiKeyAuth": []
  8826. }
  8827. ],
  8828. "produces": [
  8829. "application/json"
  8830. ],
  8831. "tags": [
  8832. "用户信息"
  8833. ],
  8834. "summary": "添加用户商品收藏信息",
  8835. "parameters": [
  8836. {
  8837. "type": "integer",
  8838. "description": "用户ID",
  8839. "name": "userID",
  8840. "in": "query",
  8841. "required": true
  8842. },
  8843. {
  8844. "type": "integer",
  8845. "description": "商品ID",
  8846. "name": "goodsID",
  8847. "in": "query",
  8848. "required": true
  8849. }
  8850. ],
  8851. "responses": {
  8852. "200": {
  8853. "description": "OK",
  8854. "schema": {
  8855. "$ref": "#/definitions/app.Response"
  8856. }
  8857. },
  8858. "500": {
  8859. "description": "Internal Server Error",
  8860. "schema": {
  8861. "$ref": "#/definitions/app.Response"
  8862. }
  8863. }
  8864. }
  8865. }
  8866. },
  8867. "/User/GetLoginID": {
  8868. "get": {
  8869. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8870. "produces": [
  8871. "application/json"
  8872. ],
  8873. "tags": [
  8874. "用户信息"
  8875. ],
  8876. "summary": "获取登录ID",
  8877. "parameters": [
  8878. {
  8879. "type": "string",
  8880. "description": "登录代码",
  8881. "name": "username",
  8882. "in": "query",
  8883. "required": true
  8884. }
  8885. ],
  8886. "responses": {
  8887. "200": {
  8888. "description": "OK",
  8889. "schema": {
  8890. "$ref": "#/definitions/app.Response"
  8891. }
  8892. },
  8893. "500": {
  8894. "description": "Internal Server Error",
  8895. "schema": {
  8896. "$ref": "#/definitions/app.Response"
  8897. }
  8898. }
  8899. }
  8900. }
  8901. },
  8902. "/User/GetUserAccount": {
  8903. "get": {
  8904. "security": [
  8905. {
  8906. "ApiKeyAuth": []
  8907. }
  8908. ],
  8909. "produces": [
  8910. "application/json"
  8911. ],
  8912. "tags": [
  8913. "用户信息"
  8914. ],
  8915. "summary": "获取用户账号信息",
  8916. "parameters": [
  8917. {
  8918. "type": "integer",
  8919. "description": "用户ID",
  8920. "name": "userID",
  8921. "in": "query",
  8922. "required": true
  8923. }
  8924. ],
  8925. "responses": {
  8926. "200": {
  8927. "description": "OK",
  8928. "schema": {
  8929. "$ref": "#/definitions/models.Useraccount"
  8930. }
  8931. },
  8932. "500": {
  8933. "description": "Internal Server Error",
  8934. "schema": {
  8935. "$ref": "#/definitions/app.Response"
  8936. }
  8937. }
  8938. }
  8939. }
  8940. },
  8941. "/User/GetUserAuthStatus": {
  8942. "get": {
  8943. "security": [
  8944. {
  8945. "ApiKeyAuth": []
  8946. }
  8947. ],
  8948. "produces": [
  8949. "application/json"
  8950. ],
  8951. "tags": [
  8952. "用户信息"
  8953. ],
  8954. "summary": "获取用户实名认证状态",
  8955. "parameters": [
  8956. {
  8957. "type": "integer",
  8958. "description": "用户ID",
  8959. "name": "userID",
  8960. "in": "query",
  8961. "required": true
  8962. }
  8963. ],
  8964. "responses": {
  8965. "200": {
  8966. "description": "OK",
  8967. "schema": {
  8968. "$ref": "#/definitions/app.Response"
  8969. }
  8970. },
  8971. "500": {
  8972. "description": "Internal Server Error",
  8973. "schema": {
  8974. "$ref": "#/definitions/app.Response"
  8975. }
  8976. }
  8977. }
  8978. }
  8979. },
  8980. "/User/LoginQuery": {
  8981. "get": {
  8982. "security": [
  8983. {
  8984. "ApiKeyAuth": []
  8985. }
  8986. ],
  8987. "produces": [
  8988. "application/json"
  8989. ],
  8990. "tags": [
  8991. "用户信息"
  8992. ],
  8993. "summary": "账户登录后信息查询",
  8994. "parameters": [
  8995. {
  8996. "type": "integer",
  8997. "description": "登录账号",
  8998. "name": "loginID",
  8999. "in": "query",
  9000. "required": true
  9001. }
  9002. ],
  9003. "responses": {
  9004. "200": {
  9005. "description": "OK",
  9006. "schema": {
  9007. "$ref": "#/definitions/user.LoginQueryRsp"
  9008. }
  9009. },
  9010. "500": {
  9011. "description": "Internal Server Error",
  9012. "schema": {
  9013. "$ref": "#/definitions/app.Response"
  9014. }
  9015. }
  9016. }
  9017. }
  9018. },
  9019. "/User/QueryMessageBoard": {
  9020. "get": {
  9021. "security": [
  9022. {
  9023. "ApiKeyAuth": []
  9024. }
  9025. ],
  9026. "produces": [
  9027. "application/json"
  9028. ],
  9029. "tags": [
  9030. "用户信息"
  9031. ],
  9032. "summary": "获取用户留言板信息",
  9033. "parameters": [
  9034. {
  9035. "type": "integer",
  9036. "description": "用户ID",
  9037. "name": "userID",
  9038. "in": "query",
  9039. "required": true
  9040. }
  9041. ],
  9042. "responses": {
  9043. "200": {
  9044. "description": "OK",
  9045. "schema": {
  9046. "$ref": "#/definitions/models.Messageboard"
  9047. }
  9048. },
  9049. "500": {
  9050. "description": "Internal Server Error",
  9051. "schema": {
  9052. "$ref": "#/definitions/app.Response"
  9053. }
  9054. }
  9055. }
  9056. }
  9057. },
  9058. "/User/QueryUserFavoriteGoodses": {
  9059. "get": {
  9060. "security": [
  9061. {
  9062. "ApiKeyAuth": []
  9063. }
  9064. ],
  9065. "produces": [
  9066. "application/json"
  9067. ],
  9068. "tags": [
  9069. "用户信息"
  9070. ],
  9071. "summary": "获取用户商品收藏信息",
  9072. "parameters": [
  9073. {
  9074. "type": "integer",
  9075. "description": "用户ID",
  9076. "name": "userID",
  9077. "in": "query",
  9078. "required": true
  9079. }
  9080. ],
  9081. "responses": {
  9082. "200": {
  9083. "description": "OK",
  9084. "schema": {
  9085. "$ref": "#/definitions/models.Userfavoritegoods"
  9086. }
  9087. },
  9088. "500": {
  9089. "description": "Internal Server Error",
  9090. "schema": {
  9091. "$ref": "#/definitions/app.Response"
  9092. }
  9093. }
  9094. }
  9095. }
  9096. },
  9097. "/User/QueryUserInfo": {
  9098. "get": {
  9099. "security": [
  9100. {
  9101. "ApiKeyAuth": []
  9102. }
  9103. ],
  9104. "produces": [
  9105. "application/json"
  9106. ],
  9107. "tags": [
  9108. "用户信息"
  9109. ],
  9110. "summary": "获取用户信息",
  9111. "parameters": [
  9112. {
  9113. "type": "integer",
  9114. "description": "用户ID",
  9115. "name": "userID",
  9116. "in": "query",
  9117. "required": true
  9118. },
  9119. {
  9120. "type": "boolean",
  9121. "description": "是否解密",
  9122. "name": "isDecrypt",
  9123. "in": "query"
  9124. }
  9125. ],
  9126. "responses": {
  9127. "200": {
  9128. "description": "OK",
  9129. "schema": {
  9130. "$ref": "#/definitions/models.Userinfo"
  9131. }
  9132. },
  9133. "500": {
  9134. "description": "Internal Server Error",
  9135. "schema": {
  9136. "$ref": "#/definitions/app.Response"
  9137. }
  9138. }
  9139. }
  9140. }
  9141. },
  9142. "/User/QueryUserReferNum": {
  9143. "get": {
  9144. "produces": [
  9145. "application/json"
  9146. ],
  9147. "tags": [
  9148. "用户信息"
  9149. ],
  9150. "summary": "获取用户邀请码",
  9151. "parameters": [
  9152. {
  9153. "type": "integer",
  9154. "description": "用户ID",
  9155. "name": "userID",
  9156. "in": "query",
  9157. "required": true
  9158. }
  9159. ],
  9160. "responses": {
  9161. "200": {
  9162. "description": "OK",
  9163. "schema": {
  9164. "$ref": "#/definitions/app.Response"
  9165. }
  9166. },
  9167. "500": {
  9168. "description": "Internal Server Error",
  9169. "schema": {
  9170. "$ref": "#/definitions/app.Response"
  9171. }
  9172. }
  9173. }
  9174. }
  9175. },
  9176. "/User/RemoveUserFavoriteGoods": {
  9177. "post": {
  9178. "security": [
  9179. {
  9180. "ApiKeyAuth": []
  9181. }
  9182. ],
  9183. "produces": [
  9184. "application/json"
  9185. ],
  9186. "tags": [
  9187. "用户信息"
  9188. ],
  9189. "summary": "移除用户商品收藏信息",
  9190. "parameters": [
  9191. {
  9192. "type": "integer",
  9193. "description": "用户ID",
  9194. "name": "userID",
  9195. "in": "query",
  9196. "required": true
  9197. },
  9198. {
  9199. "type": "integer",
  9200. "description": "商品ID",
  9201. "name": "goodsID",
  9202. "in": "query",
  9203. "required": true
  9204. }
  9205. ],
  9206. "responses": {
  9207. "200": {
  9208. "description": "OK",
  9209. "schema": {
  9210. "$ref": "#/definitions/app.Response"
  9211. }
  9212. },
  9213. "500": {
  9214. "description": "Internal Server Error",
  9215. "schema": {
  9216. "$ref": "#/definitions/app.Response"
  9217. }
  9218. }
  9219. }
  9220. }
  9221. },
  9222. "/User/UpdateUserAccountStatus": {
  9223. "post": {
  9224. "security": [
  9225. {
  9226. "ApiKeyAuth": []
  9227. }
  9228. ],
  9229. "produces": [
  9230. "application/json"
  9231. ],
  9232. "tags": [
  9233. "用户信息"
  9234. ],
  9235. "summary": "更新用户状态",
  9236. "parameters": [
  9237. {
  9238. "type": "integer",
  9239. "description": "用户ID",
  9240. "name": "userID",
  9241. "in": "query",
  9242. "required": true
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "账户状态 - 4:正常 6:注销(停用)",
  9247. "name": "accountStatus",
  9248. "in": "query",
  9249. "required": true
  9250. }
  9251. ],
  9252. "responses": {
  9253. "200": {
  9254. "description": "OK",
  9255. "schema": {
  9256. "$ref": "#/definitions/app.Response"
  9257. }
  9258. },
  9259. "500": {
  9260. "description": "Internal Server Error",
  9261. "schema": {
  9262. "$ref": "#/definitions/app.Response"
  9263. }
  9264. }
  9265. }
  9266. }
  9267. },
  9268. "/WRTrade/GetAllDeliveryGoods": {
  9269. "get": {
  9270. "security": [
  9271. {
  9272. "ApiKeyAuth": []
  9273. },
  9274. {
  9275. "ApiKeyAuth": []
  9276. }
  9277. ],
  9278. "produces": [
  9279. "application/json",
  9280. "application/json"
  9281. ],
  9282. "tags": [
  9283. "仓单贸易",
  9284. "仓单贸易"
  9285. ],
  9286. "summary": "获取带仓单分类的种类信息",
  9287. "responses": {
  9288. "200": {
  9289. "description": "OK",
  9290. "schema": {
  9291. "$ref": "#/definitions/app.Response"
  9292. }
  9293. },
  9294. "500": {
  9295. "description": "Internal Server Error",
  9296. "schema": {
  9297. "$ref": "#/definitions/app.Response"
  9298. }
  9299. }
  9300. }
  9301. }
  9302. }
  9303. },
  9304. "definitions": {
  9305. "app.Response": {
  9306. "type": "object",
  9307. "properties": {
  9308. "code": {
  9309. "type": "integer"
  9310. },
  9311. "data": {
  9312. "type": "object"
  9313. },
  9314. "msg": {
  9315. "type": "string"
  9316. },
  9317. "page": {
  9318. "description": "页码",
  9319. "type": "integer"
  9320. },
  9321. "pagesize": {
  9322. "description": "每页条数",
  9323. "type": "integer"
  9324. },
  9325. "total": {
  9326. "description": "总条数",
  9327. "type": "integer"
  9328. }
  9329. }
  9330. },
  9331. "common.ClientMenu": {
  9332. "type": "object",
  9333. "properties": {
  9334. "children": {
  9335. "description": "子菜单列表",
  9336. "type": "array",
  9337. "items": {
  9338. "$ref": "#/definitions/common.ClientMenu"
  9339. }
  9340. },
  9341. "code": {
  9342. "description": "ID",
  9343. "type": "string"
  9344. },
  9345. "isshow": {
  9346. "description": "是否显示",
  9347. "type": "boolean"
  9348. },
  9349. "rulekey": {
  9350. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9351. "type": "string"
  9352. },
  9353. "sort": {
  9354. "description": "排序",
  9355. "type": "integer"
  9356. },
  9357. "title": {
  9358. "description": "标题",
  9359. "type": "string"
  9360. },
  9361. "type": {
  9362. "description": "类型,1:菜单 2:按钮",
  9363. "type": "integer"
  9364. }
  9365. }
  9366. },
  9367. "common.QueryImageConfigsRsp": {
  9368. "type": "object",
  9369. "required": [
  9370. "configid"
  9371. ],
  9372. "properties": {
  9373. "areauserid": {
  9374. "description": "所属机构ID",
  9375. "type": "integer"
  9376. },
  9377. "configid": {
  9378. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9379. "type": "integer"
  9380. },
  9381. "createdate": {
  9382. "description": "创建时间",
  9383. "type": "string"
  9384. },
  9385. "creatorid": {
  9386. "description": "创建人",
  9387. "type": "integer"
  9388. },
  9389. "imagepath": {
  9390. "description": "图片",
  9391. "type": "string"
  9392. },
  9393. "imagetype": {
  9394. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9395. "type": "integer"
  9396. },
  9397. "isshow": {
  9398. "description": "是否展示 - 0:不展示 1:展示",
  9399. "type": "integer"
  9400. },
  9401. "marketid": {
  9402. "description": "市场ID",
  9403. "type": "integer"
  9404. },
  9405. "modifierid": {
  9406. "description": "操作人",
  9407. "type": "integer"
  9408. },
  9409. "sort": {
  9410. "description": "排序",
  9411. "type": "integer"
  9412. },
  9413. "title": {
  9414. "description": "标题",
  9415. "type": "string"
  9416. },
  9417. "trademode": {
  9418. "description": "交易模式",
  9419. "type": "integer"
  9420. },
  9421. "updatedate": {
  9422. "description": "修改时间",
  9423. "type": "string"
  9424. },
  9425. "url": {
  9426. "description": "链接(地址或商品ID)",
  9427. "type": "string"
  9428. },
  9429. "urltype": {
  9430. "description": "链接类型 - 1:直接地址 2:商品ID",
  9431. "type": "integer"
  9432. }
  9433. }
  9434. },
  9435. "common.QueryNoticeRsp": {
  9436. "type": "object",
  9437. "required": [
  9438. "autoid"
  9439. ],
  9440. "properties": {
  9441. "auditoruserid": {
  9442. "description": "审核人",
  9443. "type": "integer"
  9444. },
  9445. "auditremark": {
  9446. "description": "审核备注",
  9447. "type": "string"
  9448. },
  9449. "audittime": {
  9450. "description": "审核日期",
  9451. "type": "string"
  9452. },
  9453. "autoid": {
  9454. "description": "自增ID",
  9455. "type": "integer"
  9456. },
  9457. "content": {
  9458. "description": "内容",
  9459. "type": "string"
  9460. },
  9461. "createtime": {
  9462. "description": "创建时间",
  9463. "type": "string"
  9464. },
  9465. "creatorid": {
  9466. "description": "建仓人",
  9467. "type": "integer"
  9468. },
  9469. "endtime": {
  9470. "description": "结束时间",
  9471. "type": "string"
  9472. },
  9473. "istop": {
  9474. "description": "是否置顶 - 0:不置顶 1:置顶",
  9475. "type": "integer"
  9476. },
  9477. "msgiconurl": {
  9478. "description": "消息图标Url",
  9479. "type": "string"
  9480. },
  9481. "msgtype": {
  9482. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9483. "type": "integer"
  9484. },
  9485. "publisher": {
  9486. "description": "消息发布者",
  9487. "type": "string"
  9488. },
  9489. "readed": {
  9490. "description": "是否已读",
  9491. "type": "boolean"
  9492. },
  9493. "scheduletime": {
  9494. "description": "计划发送时间",
  9495. "type": "string"
  9496. },
  9497. "sendtype": {
  9498. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9499. "type": "integer"
  9500. },
  9501. "sentstatus": {
  9502. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9503. "type": "integer"
  9504. },
  9505. "title": {
  9506. "description": "标题",
  9507. "type": "string"
  9508. },
  9509. "userid": {
  9510. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9511. "type": "integer"
  9512. }
  9513. }
  9514. },
  9515. "common.QueryProvincesAndCitiesRsp": {
  9516. "type": "object",
  9517. "properties": {
  9518. "cities": {
  9519. "description": "市",
  9520. "type": "array",
  9521. "items": {
  9522. "$ref": "#/definitions/models.Division"
  9523. }
  9524. },
  9525. "province": {
  9526. "description": "省",
  9527. "type": "object",
  9528. "$ref": "#/definitions/models.Division"
  9529. }
  9530. }
  9531. },
  9532. "common.QueryTableDefineRsp": {
  9533. "type": "object",
  9534. "required": [
  9535. "tablekey"
  9536. ],
  9537. "properties": {
  9538. "columns": {
  9539. "description": "列头信息数组",
  9540. "type": "array",
  9541. "items": {
  9542. "$ref": "#/definitions/models.Tablecolumnconfig"
  9543. }
  9544. },
  9545. "remark": {
  9546. "description": "Remark",
  9547. "type": "string"
  9548. },
  9549. "tabelmenu": {
  9550. "description": "列表菜单",
  9551. "type": "string"
  9552. },
  9553. "tablekey": {
  9554. "description": "列表Key",
  9555. "type": "string"
  9556. },
  9557. "tablename": {
  9558. "description": "列表名称",
  9559. "type": "string"
  9560. },
  9561. "tabletype": {
  9562. "description": "列表类型 - 1:管理端 2:终端",
  9563. "type": "integer"
  9564. }
  9565. }
  9566. },
  9567. "common.QueryTraderMenuRsp": {
  9568. "type": "object",
  9569. "properties": {
  9570. "OperationMenu": {
  9571. "description": "功能菜单",
  9572. "type": "array",
  9573. "items": {
  9574. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9575. }
  9576. },
  9577. "QuoteMenu": {
  9578. "description": "报价牌分类菜单",
  9579. "type": "array",
  9580. "items": {
  9581. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9582. }
  9583. }
  9584. }
  9585. },
  9586. "cptrade.Cptradepositioncancel": {
  9587. "type": "object",
  9588. "required": [
  9589. "cancelid"
  9590. ],
  9591. "properties": {
  9592. "accountid": {
  9593. "description": "申请人账户ID",
  9594. "type": "integer"
  9595. },
  9596. "applystatus": {
  9597. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9598. "type": "integer"
  9599. },
  9600. "applytime": {
  9601. "description": "申请时间",
  9602. "type": "string"
  9603. },
  9604. "cancelid": {
  9605. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9606. "type": "integer"
  9607. },
  9608. "cancelqty": {
  9609. "description": "注销数量",
  9610. "type": "integer"
  9611. },
  9612. "createtime": {
  9613. "description": "创建时间",
  9614. "type": "string"
  9615. },
  9616. "creatorid": {
  9617. "description": "创建人ID",
  9618. "type": "integer"
  9619. },
  9620. "creatorname": {
  9621. "description": "创建人",
  9622. "type": "string"
  9623. },
  9624. "goodscode": {
  9625. "description": "订单商品代码",
  9626. "type": "string"
  9627. },
  9628. "goodsid": {
  9629. "description": "商品ID",
  9630. "type": "integer"
  9631. },
  9632. "goodsname": {
  9633. "description": "订单商品名称",
  9634. "type": "string"
  9635. },
  9636. "goodunit": {
  9637. "description": "报价单位",
  9638. "type": "string"
  9639. },
  9640. "handlestatus": {
  9641. "description": "处理状态",
  9642. "type": "integer"
  9643. },
  9644. "marketid": {
  9645. "description": "市场ID",
  9646. "type": "integer"
  9647. },
  9648. "marketname": {
  9649. "description": "市场名称",
  9650. "type": "string"
  9651. },
  9652. "tradedate": {
  9653. "description": "交易日(yyyyMMdd)",
  9654. "type": "string"
  9655. },
  9656. "userid": {
  9657. "description": "申请人ID",
  9658. "type": "integer"
  9659. }
  9660. }
  9661. },
  9662. "cptrade.Cptradepresaleapply": {
  9663. "type": "object",
  9664. "required": [
  9665. "applyid"
  9666. ],
  9667. "properties": {
  9668. "accountid": {
  9669. "description": "申请人账户ID",
  9670. "type": "integer"
  9671. },
  9672. "applyid": {
  9673. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9674. "type": "integer"
  9675. },
  9676. "applyremark": {
  9677. "description": "申请备注",
  9678. "type": "string"
  9679. },
  9680. "applystatus": {
  9681. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9682. "type": "integer"
  9683. },
  9684. "applytime": {
  9685. "description": "申请时间",
  9686. "type": "string"
  9687. },
  9688. "attachmenturl": {
  9689. "description": "附件地址",
  9690. "type": "string"
  9691. },
  9692. "endtime": {
  9693. "description": "预售结束时间",
  9694. "type": "string"
  9695. },
  9696. "goodscode": {
  9697. "description": "商品代码",
  9698. "type": "string"
  9699. },
  9700. "goodsid": {
  9701. "description": "商品ID",
  9702. "type": "integer"
  9703. },
  9704. "goodsname": {
  9705. "description": "商品名称",
  9706. "type": "string"
  9707. },
  9708. "goodunit": {
  9709. "description": "报价单位",
  9710. "type": "string"
  9711. },
  9712. "handlestatus": {
  9713. "description": "处理状态",
  9714. "type": "integer"
  9715. },
  9716. "marketid": {
  9717. "description": "预售市场ID",
  9718. "type": "integer"
  9719. },
  9720. "marketname": {
  9721. "description": "预售市场名称",
  9722. "type": "string"
  9723. },
  9724. "presaleqty": {
  9725. "description": "预售数量",
  9726. "type": "integer"
  9727. },
  9728. "relatedgoodscode": {
  9729. "description": "关联交易合约代码",
  9730. "type": "string"
  9731. },
  9732. "relatedgoodsid": {
  9733. "description": "关联交易合约ID",
  9734. "type": "integer"
  9735. },
  9736. "relatedgoodsname": {
  9737. "description": "关联交易合约名称",
  9738. "type": "string"
  9739. },
  9740. "starttime": {
  9741. "description": "预售开始时间",
  9742. "type": "string"
  9743. },
  9744. "tradedate": {
  9745. "description": "交易日(yyyyMMdd)",
  9746. "type": "string"
  9747. },
  9748. "trademode": {
  9749. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9750. "type": "integer"
  9751. },
  9752. "userid": {
  9753. "description": "申请人ID",
  9754. "type": "integer"
  9755. }
  9756. }
  9757. },
  9758. "cptrade.Cptradeusergoodsdata": {
  9759. "type": "object",
  9760. "required": [
  9761. "accountid",
  9762. "goodsid"
  9763. ],
  9764. "properties": {
  9765. "EnabledQty": {
  9766. "description": "可用量",
  9767. "type": "integer"
  9768. },
  9769. "GoodsCode": {
  9770. "description": "订单商品代码",
  9771. "type": "string"
  9772. },
  9773. "GoodsName": {
  9774. "description": "订单商品名称",
  9775. "type": "string"
  9776. },
  9777. "WRStandardCode": {
  9778. "description": "仓单标准代码",
  9779. "type": "string"
  9780. },
  9781. "WRStandardName": {
  9782. "description": "仓单标准名称",
  9783. "type": "string"
  9784. },
  9785. "accountid": {
  9786. "description": "账户ID",
  9787. "type": "integer"
  9788. },
  9789. "cancelqty": {
  9790. "description": "注销量",
  9791. "type": "integer"
  9792. },
  9793. "curpresaleqty": {
  9794. "description": "当前预售量",
  9795. "type": "integer"
  9796. },
  9797. "deliveryqty": {
  9798. "description": "交割量",
  9799. "type": "integer"
  9800. },
  9801. "freezeamount": {
  9802. "description": "冻结金额",
  9803. "type": "number"
  9804. },
  9805. "goodsid": {
  9806. "description": "商品ID",
  9807. "type": "integer"
  9808. },
  9809. "goodunit": {
  9810. "description": "报价单位",
  9811. "type": "string"
  9812. },
  9813. "hasspotfreeze": {
  9814. "description": "是否有现货冻结 - 0:否 1:有",
  9815. "type": "integer"
  9816. },
  9817. "inqty": {
  9818. "description": "转入量(总数量)",
  9819. "type": "integer"
  9820. },
  9821. "marketid": {
  9822. "description": "市场ID",
  9823. "type": "integer"
  9824. },
  9825. "presaledamount": {
  9826. "description": "已预售总金额",
  9827. "type": "integer"
  9828. },
  9829. "presaledqty": {
  9830. "description": "已预售量",
  9831. "type": "integer"
  9832. },
  9833. "userid": {
  9834. "description": "用户ID",
  9835. "type": "integer"
  9836. },
  9837. "wrstandardid": {
  9838. "description": "仓单标准ID",
  9839. "type": "integer"
  9840. }
  9841. }
  9842. },
  9843. "cptrade.QueryCPTradeMyBidRsp": {
  9844. "type": "object",
  9845. "required": [
  9846. "accountid",
  9847. "goodsid",
  9848. "marketid",
  9849. "orderid",
  9850. "orderqty",
  9851. "ordertime",
  9852. "tradeprice",
  9853. "tradeqty"
  9854. ],
  9855. "properties": {
  9856. "accountid": {
  9857. "description": "账户ID[报价币种]",
  9858. "type": "integer"
  9859. },
  9860. "goodsid": {
  9861. "description": "商品ID",
  9862. "type": "integer"
  9863. },
  9864. "goodunit": {
  9865. "description": "报价单位",
  9866. "type": "string"
  9867. },
  9868. "marketid": {
  9869. "description": "市场ID",
  9870. "type": "integer"
  9871. },
  9872. "orderid": {
  9873. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9874. "type": "integer"
  9875. },
  9876. "orderprice": {
  9877. "description": "委托价格",
  9878. "type": "number"
  9879. },
  9880. "orderqty": {
  9881. "description": "委托数量",
  9882. "type": "integer"
  9883. },
  9884. "ordertime": {
  9885. "description": "委托时间",
  9886. "type": "string"
  9887. },
  9888. "ordertotalprice": {
  9889. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9890. "type": "number"
  9891. },
  9892. "ordertotalweight": {
  9893. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9894. "type": "integer"
  9895. },
  9896. "totaltotalprice": {
  9897. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9898. "type": "number"
  9899. },
  9900. "tradeprice": {
  9901. "description": "成交价格",
  9902. "type": "number"
  9903. },
  9904. "tradeqty": {
  9905. "description": "成交数量",
  9906. "type": "integer"
  9907. }
  9908. }
  9909. },
  9910. "cptrade.QueryCPTradeOrderDetailRsq": {
  9911. "type": "object",
  9912. "required": [
  9913. "accountid",
  9914. "buildtype",
  9915. "buyorsell",
  9916. "goodsid",
  9917. "marketid",
  9918. "memberuserid",
  9919. "operatetype",
  9920. "orderqty",
  9921. "ordertime",
  9922. "pricemode",
  9923. "strorderid",
  9924. "tradedate",
  9925. "validtype"
  9926. ],
  9927. "properties": {
  9928. "accountid": {
  9929. "description": "账户ID[报价币种]",
  9930. "type": "integer"
  9931. },
  9932. "buildtype": {
  9933. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9934. "type": "integer"
  9935. },
  9936. "buyorsell": {
  9937. "description": "买卖 - 0:买 1:卖",
  9938. "type": "integer"
  9939. },
  9940. "cancelorderid": {
  9941. "description": "撤单单号(撤单时填写)",
  9942. "type": "integer"
  9943. },
  9944. "cancelqty": {
  9945. "description": "撤单数量",
  9946. "type": "integer"
  9947. },
  9948. "clientordertime": {
  9949. "description": "客户端委托时间",
  9950. "type": "string"
  9951. },
  9952. "clientticket": {
  9953. "description": "客户端流水号",
  9954. "type": "string"
  9955. },
  9956. "clienttype": {
  9957. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9958. "type": "integer"
  9959. },
  9960. "closeexchagechargevalue": {
  9961. "description": "平仓交易所手续费设置值",
  9962. "type": "number"
  9963. },
  9964. "closefeealgorithm": {
  9965. "description": "平仓手续费收取方式 1:比率 2:固定",
  9966. "type": "integer"
  9967. },
  9968. "closefreezecharge": {
  9969. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9970. "type": "number"
  9971. },
  9972. "closememberchargevalue": {
  9973. "description": "平仓会员手续费设置值",
  9974. "type": "number"
  9975. },
  9976. "closeqty": {
  9977. "description": "平仓数量(先建后平操作 需要记录)",
  9978. "type": "integer"
  9979. },
  9980. "closetradeqty": {
  9981. "description": "平仓成交数量(先建后平操作,需要记录)",
  9982. "type": "integer"
  9983. },
  9984. "closeunfreezecharge": {
  9985. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9986. "type": "number"
  9987. },
  9988. "delistingtype": {
  9989. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9990. "type": "integer"
  9991. },
  9992. "freezecharge": {
  9993. "description": "冻结手续费",
  9994. "type": "number"
  9995. },
  9996. "freezemargin": {
  9997. "description": "冻结保证金(冻结交易金额)",
  9998. "type": "number"
  9999. },
  10000. "gcaccountid": {
  10001. "description": "账户ID[合约币种]",
  10002. "type": "integer"
  10003. },
  10004. "goodsid": {
  10005. "description": "商品ID",
  10006. "type": "integer"
  10007. },
  10008. "isconfirmexercise": {
  10009. "description": "是否确认行权- 0:否 1:是",
  10010. "type": "integer"
  10011. },
  10012. "ispreexercise": {
  10013. "description": "是否预申报- 0:否 1:是",
  10014. "type": "integer"
  10015. },
  10016. "listingselecttype": {
  10017. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10018. "type": "integer"
  10019. },
  10020. "marginalgorithm": {
  10021. "description": "保证金收取方式 1:比率 2:固定",
  10022. "type": "integer"
  10023. },
  10024. "marginvalue": {
  10025. "description": "即市保证金设置值",
  10026. "type": "number"
  10027. },
  10028. "marketid": {
  10029. "description": "市场ID",
  10030. "type": "integer"
  10031. },
  10032. "marketmaxsub": {
  10033. "description": "市价最大偏移范围",
  10034. "type": "number"
  10035. },
  10036. "memberuserid": {
  10037. "description": "所属会员UserID",
  10038. "type": "integer"
  10039. },
  10040. "openexchagechargevalue": {
  10041. "description": "建仓交易所手续费设置值",
  10042. "type": "number"
  10043. },
  10044. "openfeealgorithm": {
  10045. "description": "建仓手续费收取方式 1:比率 2:固定",
  10046. "type": "integer"
  10047. },
  10048. "openfreezecharge": {
  10049. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10050. "type": "number"
  10051. },
  10052. "openmemberchargevalue": {
  10053. "description": "建仓会员手续费设置值",
  10054. "type": "number"
  10055. },
  10056. "openqty": {
  10057. "description": "开仓数量(先建后平操作,需要记录)",
  10058. "type": "integer"
  10059. },
  10060. "opentradeqty": {
  10061. "description": "开仓成交数量(先建后平操作,需要记录)",
  10062. "type": "integer"
  10063. },
  10064. "openunfreezecharge": {
  10065. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10066. "type": "number"
  10067. },
  10068. "operatetype": {
  10069. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10070. "type": "integer"
  10071. },
  10072. "operatorid": {
  10073. "description": "登录账号(LoginID)",
  10074. "type": "integer"
  10075. },
  10076. "optiontype": {
  10077. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10078. "type": "integer"
  10079. },
  10080. "orderprice": {
  10081. "description": "委托价格",
  10082. "type": "number"
  10083. },
  10084. "orderqty": {
  10085. "description": "委托数量",
  10086. "type": "integer"
  10087. },
  10088. "ordersrc": {
  10089. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10090. "type": "integer"
  10091. },
  10092. "orderstatus": {
  10093. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10094. "type": "integer"
  10095. },
  10096. "ordertime": {
  10097. "description": "委托时间",
  10098. "type": "string"
  10099. },
  10100. "preexerciseprice": {
  10101. "description": "预申报价格",
  10102. "type": "number"
  10103. },
  10104. "premium": {
  10105. "description": "权利金",
  10106. "type": "number"
  10107. },
  10108. "preorderid": {
  10109. "description": "关联预埋单号(止盈止损单时填写)",
  10110. "type": "integer"
  10111. },
  10112. "pricemode": {
  10113. "description": "取价方式 - 1:市价 2: 限价",
  10114. "type": "integer"
  10115. },
  10116. "quoteid": {
  10117. "description": "报价单ID",
  10118. "type": "integer"
  10119. },
  10120. "relatedid": {
  10121. "description": "关联单号(交割单)",
  10122. "type": "integer"
  10123. },
  10124. "retcode": {
  10125. "description": "错误代码",
  10126. "type": "integer"
  10127. },
  10128. "sessionid": {
  10129. "description": "会话ID",
  10130. "type": "integer"
  10131. },
  10132. "strorderid": {
  10133. "description": "委托单号",
  10134. "type": "string"
  10135. },
  10136. "tradedate": {
  10137. "description": "交易日(yyyyMMdd)",
  10138. "type": "string"
  10139. },
  10140. "tradeproperty": {
  10141. "description": "交易属性",
  10142. "type": "integer"
  10143. },
  10144. "tradeqty": {
  10145. "description": "成交数量",
  10146. "type": "integer"
  10147. },
  10148. "unfreezecharge": {
  10149. "description": "解冻手续费",
  10150. "type": "number"
  10151. },
  10152. "unfreezemargin": {
  10153. "description": "解冻保证金",
  10154. "type": "number"
  10155. },
  10156. "updatetime": {
  10157. "description": "更新时间",
  10158. "type": "string"
  10159. },
  10160. "uuid": {
  10161. "description": "发起端唯一id",
  10162. "type": "string"
  10163. },
  10164. "validtime": {
  10165. "description": "有效期限",
  10166. "type": "string"
  10167. },
  10168. "validtype": {
  10169. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10170. "type": "integer"
  10171. },
  10172. "volumetype": {
  10173. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10174. "type": "integer"
  10175. }
  10176. }
  10177. },
  10178. "cptrade.QueryMyCPTradeGoodsRsp": {
  10179. "type": "object",
  10180. "required": [
  10181. "goodscode",
  10182. "goodsid",
  10183. "goodsname",
  10184. "marketid",
  10185. "relatedgoodscode",
  10186. "relatedgoodsname"
  10187. ],
  10188. "properties": {
  10189. "accountid": {
  10190. "description": "卖方账户ID",
  10191. "type": "integer"
  10192. },
  10193. "agreeunit": {
  10194. "description": "合约单位",
  10195. "type": "number"
  10196. },
  10197. "applyid": {
  10198. "description": "关联申请ID",
  10199. "type": "integer"
  10200. },
  10201. "attachmenturl": {
  10202. "description": "附件地址",
  10203. "type": "string"
  10204. },
  10205. "createtime": {
  10206. "description": "创建时间",
  10207. "type": "string"
  10208. },
  10209. "currencyid": {
  10210. "description": "报价货币ID",
  10211. "type": "integer"
  10212. },
  10213. "decimalplace": {
  10214. "description": "报价小数位",
  10215. "type": "integer"
  10216. },
  10217. "endtime": {
  10218. "description": "预售结束时间",
  10219. "type": "string"
  10220. },
  10221. "floorprice": {
  10222. "description": "底价[大宗式竞拍]",
  10223. "type": "number"
  10224. },
  10225. "goodscode": {
  10226. "description": "商品代码(预售)",
  10227. "type": "string"
  10228. },
  10229. "goodsdetail": {
  10230. "description": "详情[大宗]",
  10231. "type": "string"
  10232. },
  10233. "goodsid": {
  10234. "description": "商品ID(自增ID SEQ_GOODS)",
  10235. "type": "integer"
  10236. },
  10237. "goodsname": {
  10238. "description": "商品名称(预售)",
  10239. "type": "string"
  10240. },
  10241. "goodunit": {
  10242. "description": "报价单位",
  10243. "type": "string"
  10244. },
  10245. "goodunitid": {
  10246. "description": "报价单位ID",
  10247. "type": "integer"
  10248. },
  10249. "marketid": {
  10250. "description": "所属市场ID",
  10251. "type": "integer"
  10252. },
  10253. "marketname": {
  10254. "description": "预售市场名称",
  10255. "type": "string"
  10256. },
  10257. "presaledamount": {
  10258. "description": "已预售总金额(预售结束时更新)",
  10259. "type": "number"
  10260. },
  10261. "presaledqty": {
  10262. "description": "已预售量(预售结束时更新)",
  10263. "type": "integer"
  10264. },
  10265. "presalemode": {
  10266. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10267. "type": "integer"
  10268. },
  10269. "presaleqty": {
  10270. "description": "预售数量",
  10271. "type": "integer"
  10272. },
  10273. "refprice": {
  10274. "description": "参考价格[一口价]",
  10275. "type": "number"
  10276. },
  10277. "relatedgoodscode": {
  10278. "description": "商品代码(订单)",
  10279. "type": "string"
  10280. },
  10281. "relatedgoodsid": {
  10282. "description": "关联交易合约ID",
  10283. "type": "integer"
  10284. },
  10285. "relatedgoodsname": {
  10286. "description": "商品名称(订单)",
  10287. "type": "string"
  10288. },
  10289. "relatedmarketid": {
  10290. "description": "关联交易合约市场ID",
  10291. "type": "integer"
  10292. },
  10293. "sellstatus": {
  10294. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10295. "type": "integer"
  10296. },
  10297. "startprice": {
  10298. "description": "起拍价[大宗式竞拍]",
  10299. "type": "number"
  10300. },
  10301. "starttime": {
  10302. "description": "预售开始时间",
  10303. "type": "string"
  10304. },
  10305. "tradedate": {
  10306. "description": "交易日(yyyyMMdd)",
  10307. "type": "string"
  10308. },
  10309. "tradeprice": {
  10310. "description": "成交价[大宗]",
  10311. "type": "number"
  10312. },
  10313. "userid": {
  10314. "description": "卖方用户ID",
  10315. "type": "integer"
  10316. }
  10317. }
  10318. },
  10319. "cptrade.QueryPresaleGoodsExRsp": {
  10320. "type": "object",
  10321. "required": [
  10322. "goodsid"
  10323. ],
  10324. "properties": {
  10325. "attachmenturl": {
  10326. "description": "附件地址",
  10327. "type": "string"
  10328. },
  10329. "createtime": {
  10330. "description": "创建时间",
  10331. "type": "string"
  10332. },
  10333. "endtime": {
  10334. "description": "预售结束时间",
  10335. "type": "string"
  10336. },
  10337. "floorprice": {
  10338. "description": "底价[大宗式竞拍]",
  10339. "type": "number"
  10340. },
  10341. "goodsdetail": {
  10342. "description": "详情[大宗]",
  10343. "type": "string"
  10344. },
  10345. "goodsid": {
  10346. "description": "商品ID(预售)",
  10347. "type": "integer"
  10348. },
  10349. "goodunit": {
  10350. "description": "报价单位",
  10351. "type": "string"
  10352. },
  10353. "marketid": {
  10354. "description": "预售市场ID - 根据预售模式选择市场",
  10355. "type": "integer"
  10356. },
  10357. "presaledamount": {
  10358. "description": "已预售总金额(预售结束时更新)",
  10359. "type": "number"
  10360. },
  10361. "presaledqty": {
  10362. "description": "已预售量(预售结束时更新)",
  10363. "type": "integer"
  10364. },
  10365. "presalemode": {
  10366. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10367. "type": "integer"
  10368. },
  10369. "presaleqty": {
  10370. "description": "预售数量",
  10371. "type": "integer"
  10372. },
  10373. "refprice": {
  10374. "description": "参考价格[一口价]",
  10375. "type": "number"
  10376. },
  10377. "relatedgoodsid": {
  10378. "description": "关联交易合约ID",
  10379. "type": "integer"
  10380. },
  10381. "relatedmarketid": {
  10382. "description": "关联交易合约市场ID",
  10383. "type": "integer"
  10384. },
  10385. "sellstatus": {
  10386. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10387. "type": "integer"
  10388. },
  10389. "startprice": {
  10390. "description": "起拍价[大宗式竞拍]",
  10391. "type": "number"
  10392. },
  10393. "starttime": {
  10394. "description": "预售开始时间",
  10395. "type": "string"
  10396. },
  10397. "tradedate": {
  10398. "description": "交易日(yyyyMMdd)",
  10399. "type": "string"
  10400. },
  10401. "tradeprice": {
  10402. "description": "成交价[大宗]",
  10403. "type": "number"
  10404. }
  10405. }
  10406. },
  10407. "delivery.QueryDeliveryRelationRsp": {
  10408. "type": "object",
  10409. "required": [
  10410. "begindate",
  10411. "enddate",
  10412. "goodsid",
  10413. "mindeliveryqty",
  10414. "xdeliveryratio"
  10415. ],
  10416. "properties": {
  10417. "begindate": {
  10418. "description": "起始日期(yyyyMMdd)",
  10419. "type": "string"
  10420. },
  10421. "buytemplateid": {
  10422. "description": "买履约计划模板ID",
  10423. "type": "integer"
  10424. },
  10425. "deliverygoodscode": {
  10426. "description": "品种代码",
  10427. "type": "string"
  10428. },
  10429. "deliverygoodsid": {
  10430. "description": "交割商品",
  10431. "type": "integer"
  10432. },
  10433. "deliverygoodsname": {
  10434. "description": "品种名称",
  10435. "type": "string"
  10436. },
  10437. "deliverymode": {
  10438. "description": "交割方式 - 1:点选式 2:申报式",
  10439. "type": "integer"
  10440. },
  10441. "deliverypricerule": {
  10442. "description": "交割价规则- 1:行情价 2:建仓价",
  10443. "type": "integer"
  10444. },
  10445. "deliverytype": {
  10446. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10447. "type": "integer"
  10448. },
  10449. "enddate": {
  10450. "description": "结束日期(yyyyMMdd)",
  10451. "type": "string"
  10452. },
  10453. "goodscode": {
  10454. "description": "商品代码",
  10455. "type": "string"
  10456. },
  10457. "goodsid": {
  10458. "description": "交易合约ID",
  10459. "type": "integer"
  10460. },
  10461. "goodsname": {
  10462. "description": "商品名称",
  10463. "type": "string"
  10464. },
  10465. "marketid": {
  10466. "description": "市场ID",
  10467. "type": "integer"
  10468. },
  10469. "mindeliveryqty": {
  10470. "description": "最小交割系数(K)",
  10471. "type": "integer"
  10472. },
  10473. "p2deliveryprice": {
  10474. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10475. "type": "number"
  10476. },
  10477. "p2deliveryratio": {
  10478. "description": "P2合约系数(p)",
  10479. "type": "integer"
  10480. },
  10481. "p2goodsid": {
  10482. "description": "P2合约ID",
  10483. "type": "integer"
  10484. },
  10485. "p2pricemode": {
  10486. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10487. "type": "integer"
  10488. },
  10489. "pdeliveryprice": {
  10490. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10491. "type": "number"
  10492. },
  10493. "pdeliveryratio": {
  10494. "description": "P合约系数(n)",
  10495. "type": "integer"
  10496. },
  10497. "pgoodsid": {
  10498. "description": "P合约ID",
  10499. "type": "integer"
  10500. },
  10501. "ppricemode": {
  10502. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10503. "type": "integer"
  10504. },
  10505. "rratio": {
  10506. "description": "兑换系数(R)",
  10507. "type": "integer"
  10508. },
  10509. "rratio1": {
  10510. "description": "兑换系数(交易合约)(R1)",
  10511. "type": "integer"
  10512. },
  10513. "rratio2": {
  10514. "description": "兑换系数(仓单标准)(R2)",
  10515. "type": "integer"
  10516. },
  10517. "selltemplateid": {
  10518. "description": "卖履约计划模板ID",
  10519. "type": "integer"
  10520. },
  10521. "wrstandardid": {
  10522. "description": "仓单标准ID",
  10523. "type": "integer"
  10524. },
  10525. "xdeliveryratio": {
  10526. "description": "交易合约系数(m)",
  10527. "type": "integer"
  10528. }
  10529. }
  10530. },
  10531. "ermcp.ExposureDetailRsp": {
  10532. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10533. },
  10534. "ermcp.ExposureHedgePosDetailRsp": {
  10535. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10536. },
  10537. "ermcp.ExposureHedgePositionRsp": {
  10538. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10539. },
  10540. "ermcp.ExposureSpotDetailRsp": {
  10541. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10542. },
  10543. "ermcp.ExposureSpotRsp": {
  10544. "$ref": "#/definitions/models.AreaSpotModel"
  10545. },
  10546. "ermcp.HisExposureRsp": {
  10547. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10548. },
  10549. "ermcp.PendingAuditCntRsp": {
  10550. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10551. },
  10552. "ermcp.QryAreaStockApplyRsp": {
  10553. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  10554. },
  10555. "ermcp.QryAvalidGPRsp": {
  10556. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10557. },
  10558. "ermcp.QryBusinessDjRsp": {
  10559. "type": "object",
  10560. "properties": {
  10561. "amount": {
  10562. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10563. "type": "number"
  10564. },
  10565. "applyid": {
  10566. "description": "申请人",
  10567. "type": "string"
  10568. },
  10569. "applyname": {
  10570. "description": "申请人名称",
  10571. "type": "string"
  10572. },
  10573. "applystatus": {
  10574. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10575. "type": "integer"
  10576. },
  10577. "applytime": {
  10578. "description": "申请时间",
  10579. "type": "string"
  10580. },
  10581. "attachurl": {
  10582. "description": "附件",
  10583. "type": "string"
  10584. },
  10585. "auditid": {
  10586. "description": "审核人ID",
  10587. "type": "string"
  10588. },
  10589. "auditname": {
  10590. "description": "审核人名称",
  10591. "type": "string"
  10592. },
  10593. "audittime": {
  10594. "description": "审核时间",
  10595. "type": "string"
  10596. },
  10597. "buyusername": {
  10598. "description": "采购方名称",
  10599. "type": "string"
  10600. },
  10601. "contractno": {
  10602. "description": "合同编号",
  10603. "type": "string"
  10604. },
  10605. "contractstatus": {
  10606. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10607. "type": "integer"
  10608. },
  10609. "contracttype": {
  10610. "description": "现货合同类型 - 1:采购 -1:销售",
  10611. "type": "integer"
  10612. },
  10613. "deliverygoodscode": {
  10614. "description": "现货品种代码",
  10615. "type": "string"
  10616. },
  10617. "deliverygoodsid": {
  10618. "description": "现货商品ID",
  10619. "type": "integer"
  10620. },
  10621. "deliverygoodsname": {
  10622. "description": "现货品种名称",
  10623. "type": "string"
  10624. },
  10625. "enumdicname": {
  10626. "description": "单位名称",
  10627. "type": "string"
  10628. },
  10629. "goodscode": {
  10630. "description": "点价合约",
  10631. "type": "string"
  10632. },
  10633. "goodsname": {
  10634. "description": "商品名称",
  10635. "type": "string"
  10636. },
  10637. "operateapplyid": {
  10638. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10639. "type": "string"
  10640. },
  10641. "operateapplytype": {
  10642. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10643. "type": "integer"
  10644. },
  10645. "pricedPrice": {
  10646. "description": "点价价格(非必填)",
  10647. "type": "number"
  10648. },
  10649. "pricedQty": {
  10650. "description": "点价数量(非必填)",
  10651. "type": "number"
  10652. },
  10653. "pricemove": {
  10654. "description": "升贴水",
  10655. "type": "number"
  10656. },
  10657. "pricetype": {
  10658. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10659. "type": "integer"
  10660. },
  10661. "relatedid": {
  10662. "description": "现货合同ID",
  10663. "type": "string"
  10664. },
  10665. "sellusername": {
  10666. "description": "销售方名字",
  10667. "type": "string"
  10668. },
  10669. "userid": {
  10670. "description": "用户ID",
  10671. "type": "integer"
  10672. },
  10673. "wrstandardcode": {
  10674. "description": "品类代码",
  10675. "type": "string"
  10676. },
  10677. "wrstandardid": {
  10678. "description": "品类id",
  10679. "type": "integer"
  10680. },
  10681. "wrstandardname": {
  10682. "description": "品类名称",
  10683. "type": "string"
  10684. }
  10685. }
  10686. },
  10687. "ermcp.QryBussinessFpRsp": {
  10688. "type": "object",
  10689. "properties": {
  10690. "applyid": {
  10691. "description": "申请人",
  10692. "type": "string"
  10693. },
  10694. "applyname": {
  10695. "description": "申请人名称",
  10696. "type": "string"
  10697. },
  10698. "applystatus": {
  10699. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10700. "type": "integer"
  10701. },
  10702. "applytime": {
  10703. "description": "申请时间",
  10704. "type": "string"
  10705. },
  10706. "attachurl": {
  10707. "description": "附件",
  10708. "type": "string"
  10709. },
  10710. "auditid": {
  10711. "description": "审核人ID",
  10712. "type": "string"
  10713. },
  10714. "auditname": {
  10715. "description": "审核人名称",
  10716. "type": "string"
  10717. },
  10718. "audittime": {
  10719. "description": "审核时间",
  10720. "type": "string"
  10721. },
  10722. "buyusername": {
  10723. "description": "采购方名称",
  10724. "type": "string"
  10725. },
  10726. "contractno": {
  10727. "description": "合同编号",
  10728. "type": "string"
  10729. },
  10730. "contractstatus": {
  10731. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10732. "type": "integer"
  10733. },
  10734. "contracttype": {
  10735. "description": "现货合同类型 - 1:采购 -1:销售",
  10736. "type": "integer"
  10737. },
  10738. "deliverygoodscode": {
  10739. "description": "现货品种代码",
  10740. "type": "string"
  10741. },
  10742. "deliverygoodsid": {
  10743. "description": "现货商品ID",
  10744. "type": "integer"
  10745. },
  10746. "deliverygoodsname": {
  10747. "description": "现货品种名称",
  10748. "type": "string"
  10749. },
  10750. "enumdicname": {
  10751. "description": "单位名称",
  10752. "type": "string"
  10753. },
  10754. "goodscode": {
  10755. "description": "点价合约",
  10756. "type": "string"
  10757. },
  10758. "goodsname": {
  10759. "description": "商品名称",
  10760. "type": "string"
  10761. },
  10762. "invoiceAmount": {
  10763. "description": "已开收票金额(销售为开票,采购为收票)",
  10764. "type": "number"
  10765. },
  10766. "operateapplyid": {
  10767. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10768. "type": "string"
  10769. },
  10770. "operateapplytype": {
  10771. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10772. "type": "integer"
  10773. },
  10774. "pricemove": {
  10775. "description": "升贴水",
  10776. "type": "number"
  10777. },
  10778. "pricetype": {
  10779. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10780. "type": "integer"
  10781. },
  10782. "relatedid": {
  10783. "description": "现货合同ID",
  10784. "type": "string"
  10785. },
  10786. "sellusername": {
  10787. "description": "销售方名字",
  10788. "type": "string"
  10789. },
  10790. "userid": {
  10791. "description": "用户ID",
  10792. "type": "integer"
  10793. },
  10794. "wrstandardcode": {
  10795. "description": "品类代码",
  10796. "type": "string"
  10797. },
  10798. "wrstandardid": {
  10799. "description": "品类id",
  10800. "type": "integer"
  10801. },
  10802. "wrstandardname": {
  10803. "description": "品类名称",
  10804. "type": "string"
  10805. }
  10806. }
  10807. },
  10808. "ermcp.QryBussinessJsExRsp": {
  10809. "type": "object",
  10810. "properties": {
  10811. "applyid": {
  10812. "description": "申请人",
  10813. "type": "string"
  10814. },
  10815. "applyname": {
  10816. "description": "申请人名称",
  10817. "type": "string"
  10818. },
  10819. "applystatus": {
  10820. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10821. "type": "integer"
  10822. },
  10823. "applytime": {
  10824. "description": "申请时间",
  10825. "type": "string"
  10826. },
  10827. "attachurl": {
  10828. "description": "附件",
  10829. "type": "string"
  10830. },
  10831. "auditid": {
  10832. "description": "审核人ID",
  10833. "type": "string"
  10834. },
  10835. "auditname": {
  10836. "description": "审核人名称",
  10837. "type": "string"
  10838. },
  10839. "audittime": {
  10840. "description": "审核时间",
  10841. "type": "string"
  10842. },
  10843. "buyusername": {
  10844. "description": "采购方名称",
  10845. "type": "string"
  10846. },
  10847. "contractno": {
  10848. "description": "合同编号",
  10849. "type": "string"
  10850. },
  10851. "contractstatus": {
  10852. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10853. "type": "integer"
  10854. },
  10855. "contracttype": {
  10856. "description": "现货合同类型 - 1:采购 -1:销售",
  10857. "type": "integer"
  10858. },
  10859. "deliverygoodscode": {
  10860. "description": "现货品种代码",
  10861. "type": "string"
  10862. },
  10863. "deliverygoodsid": {
  10864. "description": "现货商品ID",
  10865. "type": "integer"
  10866. },
  10867. "deliverygoodsname": {
  10868. "description": "现货品种名称",
  10869. "type": "string"
  10870. },
  10871. "enumdicname": {
  10872. "description": "单位名称",
  10873. "type": "string"
  10874. },
  10875. "goodscode": {
  10876. "description": "点价合约",
  10877. "type": "string"
  10878. },
  10879. "goodsname": {
  10880. "description": "商品名称",
  10881. "type": "string"
  10882. },
  10883. "operateapplyid": {
  10884. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10885. "type": "string"
  10886. },
  10887. "operateapplytype": {
  10888. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10889. "type": "integer"
  10890. },
  10891. "pricemove": {
  10892. "description": "升贴水",
  10893. "type": "number"
  10894. },
  10895. "pricetype": {
  10896. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10897. "type": "integer"
  10898. },
  10899. "reckontype": {
  10900. "description": "结算类型",
  10901. "type": "string"
  10902. },
  10903. "reckonvalue": {
  10904. "description": "值",
  10905. "type": "number"
  10906. },
  10907. "relatedid": {
  10908. "description": "现货合同ID",
  10909. "type": "string"
  10910. },
  10911. "sellusername": {
  10912. "description": "销售方名字",
  10913. "type": "string"
  10914. },
  10915. "userid": {
  10916. "description": "用户ID",
  10917. "type": "integer"
  10918. },
  10919. "wrstandardcode": {
  10920. "description": "品类代码",
  10921. "type": "string"
  10922. },
  10923. "wrstandardid": {
  10924. "description": "品类id",
  10925. "type": "integer"
  10926. },
  10927. "wrstandardname": {
  10928. "description": "品类名称",
  10929. "type": "string"
  10930. }
  10931. }
  10932. },
  10933. "ermcp.QryBussinessJsRsp": {
  10934. "type": "object",
  10935. "properties": {
  10936. "addmargin": {
  10937. "description": "追加保证金(非必填)",
  10938. "type": "number"
  10939. },
  10940. "applyid": {
  10941. "description": "申请人",
  10942. "type": "string"
  10943. },
  10944. "applyname": {
  10945. "description": "申请人名称",
  10946. "type": "string"
  10947. },
  10948. "applystatus": {
  10949. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10950. "type": "integer"
  10951. },
  10952. "applytime": {
  10953. "description": "申请时间",
  10954. "type": "string"
  10955. },
  10956. "attachurl": {
  10957. "description": "附件",
  10958. "type": "string"
  10959. },
  10960. "auditid": {
  10961. "description": "审核人ID",
  10962. "type": "string"
  10963. },
  10964. "auditname": {
  10965. "description": "审核人名称",
  10966. "type": "string"
  10967. },
  10968. "audittime": {
  10969. "description": "审核时间",
  10970. "type": "string"
  10971. },
  10972. "buyusername": {
  10973. "description": "采购方名称",
  10974. "type": "string"
  10975. },
  10976. "contractno": {
  10977. "description": "合同编号",
  10978. "type": "string"
  10979. },
  10980. "contractstatus": {
  10981. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10982. "type": "integer"
  10983. },
  10984. "contracttype": {
  10985. "description": "现货合同类型 - 1:采购 -1:销售",
  10986. "type": "integer"
  10987. },
  10988. "decmargin": {
  10989. "description": "减少保证金(非必填)",
  10990. "type": "number"
  10991. },
  10992. "deliverygoodscode": {
  10993. "description": "现货品种代码",
  10994. "type": "string"
  10995. },
  10996. "deliverygoodsid": {
  10997. "description": "现货商品ID",
  10998. "type": "integer"
  10999. },
  11000. "deliverygoodsname": {
  11001. "description": "现货品种名称",
  11002. "type": "string"
  11003. },
  11004. "enumdicname": {
  11005. "description": "单位名称",
  11006. "type": "string"
  11007. },
  11008. "goodscode": {
  11009. "description": "点价合约",
  11010. "type": "string"
  11011. },
  11012. "goodsname": {
  11013. "description": "商品名称",
  11014. "type": "string"
  11015. },
  11016. "operateapplyid": {
  11017. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11018. "type": "string"
  11019. },
  11020. "operateapplytype": {
  11021. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11022. "type": "integer"
  11023. },
  11024. "pricemove": {
  11025. "description": "升贴水",
  11026. "type": "number"
  11027. },
  11028. "pricetype": {
  11029. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11030. "type": "integer"
  11031. },
  11032. "reckonadjustamount": {
  11033. "description": "结算调整金额(非必填)",
  11034. "type": "number"
  11035. },
  11036. "reckonosamount": {
  11037. "description": "结算溢短金额(非必填)",
  11038. "type": "number"
  11039. },
  11040. "reckonotheramount": {
  11041. "description": "结算其他费用(非必填)",
  11042. "type": "number"
  11043. },
  11044. "reckonrealqty": {
  11045. "description": "结算实际数量(非必填)",
  11046. "type": "number"
  11047. },
  11048. "relatedid": {
  11049. "description": "现货合同ID",
  11050. "type": "string"
  11051. },
  11052. "sellusername": {
  11053. "description": "销售方名字",
  11054. "type": "string"
  11055. },
  11056. "userid": {
  11057. "description": "用户ID",
  11058. "type": "integer"
  11059. },
  11060. "wrstandardcode": {
  11061. "description": "品类代码",
  11062. "type": "string"
  11063. },
  11064. "wrstandardid": {
  11065. "description": "品类id",
  11066. "type": "integer"
  11067. },
  11068. "wrstandardname": {
  11069. "description": "品类名称",
  11070. "type": "string"
  11071. }
  11072. }
  11073. },
  11074. "ermcp.QryBussinessKxRsp": {
  11075. "type": "object",
  11076. "properties": {
  11077. "applyid": {
  11078. "description": "申请人",
  11079. "type": "string"
  11080. },
  11081. "applyname": {
  11082. "description": "申请人名称",
  11083. "type": "string"
  11084. },
  11085. "applystatus": {
  11086. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11087. "type": "integer"
  11088. },
  11089. "applytime": {
  11090. "description": "申请时间",
  11091. "type": "string"
  11092. },
  11093. "attachurl": {
  11094. "description": "附件",
  11095. "type": "string"
  11096. },
  11097. "auditid": {
  11098. "description": "审核人ID",
  11099. "type": "string"
  11100. },
  11101. "auditname": {
  11102. "description": "审核人名称",
  11103. "type": "string"
  11104. },
  11105. "audittime": {
  11106. "description": "审核时间",
  11107. "type": "string"
  11108. },
  11109. "buyusername": {
  11110. "description": "采购方名称",
  11111. "type": "string"
  11112. },
  11113. "contractno": {
  11114. "description": "合同编号",
  11115. "type": "string"
  11116. },
  11117. "contractstatus": {
  11118. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11119. "type": "integer"
  11120. },
  11121. "contracttype": {
  11122. "description": "现货合同类型 - 1:采购 -1:销售",
  11123. "type": "integer"
  11124. },
  11125. "deductamount": {
  11126. "description": "退款(非必填)",
  11127. "type": "number"
  11128. },
  11129. "deliverygoodscode": {
  11130. "description": "现货品种代码",
  11131. "type": "string"
  11132. },
  11133. "deliverygoodsid": {
  11134. "description": "现货商品ID",
  11135. "type": "integer"
  11136. },
  11137. "deliverygoodsname": {
  11138. "description": "现货品种名称",
  11139. "type": "string"
  11140. },
  11141. "enumdicname": {
  11142. "description": "单位名称",
  11143. "type": "string"
  11144. },
  11145. "goodscode": {
  11146. "description": "点价合约",
  11147. "type": "string"
  11148. },
  11149. "goodsname": {
  11150. "description": "商品名称",
  11151. "type": "string"
  11152. },
  11153. "kxtype": {
  11154. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11155. "type": "integer"
  11156. },
  11157. "operateapplyid": {
  11158. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11159. "type": "string"
  11160. },
  11161. "operateapplytype": {
  11162. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11163. "type": "integer"
  11164. },
  11165. "payamount": {
  11166. "description": "收付款(非必填)",
  11167. "type": "number"
  11168. },
  11169. "pricemove": {
  11170. "description": "升贴水",
  11171. "type": "number"
  11172. },
  11173. "pricetype": {
  11174. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11175. "type": "integer"
  11176. },
  11177. "relatedid": {
  11178. "description": "现货合同ID",
  11179. "type": "string"
  11180. },
  11181. "sellusername": {
  11182. "description": "销售方名字",
  11183. "type": "string"
  11184. },
  11185. "userid": {
  11186. "description": "用户ID",
  11187. "type": "integer"
  11188. },
  11189. "wrstandardcode": {
  11190. "description": "品类代码",
  11191. "type": "string"
  11192. },
  11193. "wrstandardid": {
  11194. "description": "品类id",
  11195. "type": "integer"
  11196. },
  11197. "wrstandardname": {
  11198. "description": "品类名称",
  11199. "type": "string"
  11200. }
  11201. }
  11202. },
  11203. "ermcp.QryErmcpRsp": {
  11204. "$ref": "#/definitions/models.ErmcpModel"
  11205. },
  11206. "ermcp.QryGGCovertCfgRsp": {
  11207. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11208. },
  11209. "ermcp.QryHedgePlanRsp": {
  11210. "$ref": "#/definitions/models.ErmcpHedgePlan"
  11211. },
  11212. "ermcp.QryMGChangeLogRsp": {
  11213. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11214. },
  11215. "ermcp.QryMiddleGoodsDetailRsp": {
  11216. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11217. },
  11218. "ermcp.QryMiddleGoodsRsp": {
  11219. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11220. },
  11221. "ermcp.QryOPLogRsp": {
  11222. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11223. },
  11224. "ermcp.QryReportDaySpotDetailRsp": {
  11225. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11226. },
  11227. "ermcp.QryReportExposureDayRsp": {
  11228. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  11229. },
  11230. "ermcp.QryReportFinanceDayRsp": {
  11231. "$ref": "#/definitions/models.ErmcpReportDayFR"
  11232. },
  11233. "ermcp.QryReportFinanceKxRsp": {
  11234. "$ref": "#/definitions/models.ErmcpReportOPLog"
  11235. },
  11236. "ermcp.QryReportFinanceMonRsp": {
  11237. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  11238. },
  11239. "ermcp.QryReportSpotDayRsp": {
  11240. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11241. },
  11242. "ermcp.QryReportSpotMonRsp": {
  11243. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  11244. },
  11245. "ermcp.QryReportSpotMonthDetailRsp": {
  11246. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  11247. },
  11248. "ermcp.QrySpotContractRsp": {
  11249. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  11250. },
  11251. "ermcp.QryUserInfoRsp": {
  11252. "$ref": "#/definitions/models.ErmcpUserModel"
  11253. },
  11254. "ermcp.QryWarehouseRsp": {
  11255. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11256. },
  11257. "ermcp.QryWrStandardDetailRsp": {
  11258. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  11259. },
  11260. "ermcp.QryWrStandardRsp": {
  11261. "$ref": "#/definitions/models.ErmcpWrstandard"
  11262. },
  11263. "ermcp.QueryAreaStockApplySumRsp": {
  11264. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  11265. },
  11266. "ermcp.QueryErmcpTradePositionRsp": {
  11267. "type": "object",
  11268. "properties": {
  11269. "agreeunit": {
  11270. "description": "合约单位",
  11271. "type": "number"
  11272. },
  11273. "buyorsell": {
  11274. "description": "方向 - 0:买 1:卖",
  11275. "type": "integer"
  11276. },
  11277. "curpositionqty": {
  11278. "description": "持仓(总仓数量, 期末头寸)",
  11279. "type": "integer"
  11280. },
  11281. "curtdposition": {
  11282. "description": "今仓数量(期末今日头寸)",
  11283. "type": "integer"
  11284. },
  11285. "curtdpositionenabled": {
  11286. "description": "今仓可用",
  11287. "type": "integer"
  11288. },
  11289. "decimalplace": {
  11290. "description": "报价小数位",
  11291. "type": "integer"
  11292. },
  11293. "enableqty": {
  11294. "description": "可用(总仓可用)",
  11295. "type": "integer"
  11296. },
  11297. "exexchangename": {
  11298. "description": "外部交易所名称",
  11299. "type": "string"
  11300. },
  11301. "goodscode": {
  11302. "description": "商品代码(内部)",
  11303. "type": "string"
  11304. },
  11305. "goodsid": {
  11306. "description": "商品ID(自增ID SEQ_GOODS)",
  11307. "type": "integer"
  11308. },
  11309. "goodsname": {
  11310. "description": "商品名称",
  11311. "type": "string"
  11312. },
  11313. "last": {
  11314. "description": "现价",
  11315. "type": "number"
  11316. },
  11317. "marketid": {
  11318. "description": "所属市场ID",
  11319. "type": "integer"
  11320. },
  11321. "openaverageprice": {
  11322. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11323. "type": "number"
  11324. },
  11325. "opencost": {
  11326. "description": "开仓成本",
  11327. "type": "number"
  11328. },
  11329. "openpl": {
  11330. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11331. "type": "number"
  11332. },
  11333. "outgoodscode": {
  11334. "description": "商品代码(外部)",
  11335. "type": "string"
  11336. },
  11337. "positionaverageprice": {
  11338. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11339. "type": "number"
  11340. },
  11341. "positioncost": {
  11342. "description": "持仓成本",
  11343. "type": "number"
  11344. },
  11345. "positionpl": {
  11346. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11347. "type": "number"
  11348. },
  11349. "positionplrate": {
  11350. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11351. "type": "number"
  11352. },
  11353. "usedmargin": {
  11354. "description": "占用保证金",
  11355. "type": "number"
  11356. }
  11357. }
  11358. },
  11359. "ermcp.RealtimeExposurePositionRsp": {
  11360. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11361. },
  11362. "ermcp.RealtimeExposureRsp": {
  11363. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11364. },
  11365. "erms2.QueryArbitrageStrategyRsp": {
  11366. "type": "object",
  11367. "required": [
  11368. "asapplyid"
  11369. ],
  11370. "properties": {
  11371. "applybasis": {
  11372. "description": "申请基差",
  11373. "type": "number"
  11374. },
  11375. "asapplyid": {
  11376. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11377. "type": "string"
  11378. },
  11379. "asname": {
  11380. "description": "策略名称",
  11381. "type": "string"
  11382. },
  11383. "asno": {
  11384. "description": "策略编号",
  11385. "type": "string"
  11386. },
  11387. "basischangepl": {
  11388. "description": "基差变动损益[结算更新]",
  11389. "type": "number"
  11390. },
  11391. "biztype": {
  11392. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11393. "type": "integer"
  11394. },
  11395. "closetradedate": {
  11396. "description": "完结交易日(yyyyMMdd)",
  11397. "type": "string"
  11398. },
  11399. "curbasis": {
  11400. "description": "当前基差[结算更新]",
  11401. "type": "number"
  11402. },
  11403. "deliverygoodsid": {
  11404. "description": "现货品种ID",
  11405. "type": "integer"
  11406. },
  11407. "futureavgprice": {
  11408. "description": "期货建仓均价",
  11409. "type": "number"
  11410. },
  11411. "futurecloseamount": {
  11412. "description": "期货平仓金额",
  11413. "type": "number"
  11414. },
  11415. "futurecloseqty": {
  11416. "description": "期货平仓数量",
  11417. "type": "number"
  11418. },
  11419. "futureopenamount": {
  11420. "description": "期货开仓金额",
  11421. "type": "number"
  11422. },
  11423. "futureopenqty": {
  11424. "description": "期货开仓数量",
  11425. "type": "number"
  11426. },
  11427. "futurepl": {
  11428. "description": "期货总盈亏[结算更新]",
  11429. "type": "number"
  11430. },
  11431. "futureqty": {
  11432. "description": "期货持仓数量",
  11433. "type": "number"
  11434. },
  11435. "futurequote": {
  11436. "description": "期货额度",
  11437. "type": "number"
  11438. },
  11439. "goodsgroupid": {
  11440. "description": "期货品种ID",
  11441. "type": "integer"
  11442. },
  11443. "marketid": {
  11444. "description": "市场ID",
  11445. "type": "integer"
  11446. },
  11447. "netexposure": {
  11448. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11449. "type": "number"
  11450. },
  11451. "netexposurepl": {
  11452. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11453. "type": "number"
  11454. },
  11455. "netexposurerate": {
  11456. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11457. "type": "number"
  11458. },
  11459. "openbasis": {
  11460. "description": "建仓基差",
  11461. "type": "number"
  11462. },
  11463. "pricedspotqty": {
  11464. "description": "已定价现货数量",
  11465. "type": "number"
  11466. },
  11467. "pricedspotqtynotax": {
  11468. "description": "已定价现货不含税数量",
  11469. "type": "number"
  11470. },
  11471. "remark": {
  11472. "description": "备注",
  11473. "type": "string"
  11474. },
  11475. "spotavgprice": {
  11476. "description": "现货均价",
  11477. "type": "number"
  11478. },
  11479. "spotbuyamount": {
  11480. "description": "现货采购金额",
  11481. "type": "number"
  11482. },
  11483. "spotbuyqty": {
  11484. "description": "现货采购数量",
  11485. "type": "number"
  11486. },
  11487. "spotpl": {
  11488. "description": "现货总盈亏[结算更新]",
  11489. "type": "number"
  11490. },
  11491. "spotquota": {
  11492. "description": "现货额度",
  11493. "type": "number"
  11494. },
  11495. "spotsellamount": {
  11496. "description": "现货销售金额",
  11497. "type": "number"
  11498. },
  11499. "spotsellqty": {
  11500. "description": "现货销售数量",
  11501. "type": "number"
  11502. },
  11503. "spotusedquota": {
  11504. "description": "现货占用资金",
  11505. "type": "number"
  11506. },
  11507. "strategystatus": {
  11508. "description": "策略状态 - 0:未结束 1:已结束",
  11509. "type": "integer"
  11510. },
  11511. "totalpl": {
  11512. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11513. "type": "number"
  11514. },
  11515. "tradedate": {
  11516. "description": "交易日(yyyyMMdd)",
  11517. "type": "string"
  11518. },
  11519. "updatetime": {
  11520. "description": "更新时间",
  11521. "type": "string"
  11522. },
  11523. "usedquota": {
  11524. "description": "已占用资金",
  11525. "type": "number"
  11526. },
  11527. "userid": {
  11528. "description": "所属机构",
  11529. "type": "integer"
  11530. }
  11531. }
  11532. },
  11533. "erms2.QueryInnerTradeDetailRsp": {
  11534. "type": "object",
  11535. "required": [
  11536. "asapplyid",
  11537. "buyorsell",
  11538. "goodscode",
  11539. "goodsgroupid",
  11540. "goodsgroupname",
  11541. "goodsname",
  11542. "tradeid"
  11543. ],
  11544. "properties": {
  11545. "accountid": {
  11546. "description": "账号ID",
  11547. "type": "integer"
  11548. },
  11549. "agreeunit": {
  11550. "description": "合约单位",
  11551. "type": "number"
  11552. },
  11553. "asapplyid": {
  11554. "description": "策略申请ID",
  11555. "type": "integer"
  11556. },
  11557. "asname": {
  11558. "description": "策略名称",
  11559. "type": "string"
  11560. },
  11561. "asno": {
  11562. "description": "策略编号",
  11563. "type": "string"
  11564. },
  11565. "buyorsell": {
  11566. "description": "方向 - 0:买 1:卖",
  11567. "type": "integer"
  11568. },
  11569. "channelbuildtype": {
  11570. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11571. "type": "integer"
  11572. },
  11573. "closetype": {
  11574. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11575. "type": "integer"
  11576. },
  11577. "decimalplace": {
  11578. "description": "报价小数位",
  11579. "type": "integer"
  11580. },
  11581. "detailtype": {
  11582. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11583. "type": "integer"
  11584. },
  11585. "exexchangecode": {
  11586. "description": "外部交易所代码",
  11587. "type": "string"
  11588. },
  11589. "exexchangename": {
  11590. "description": "外部交易所名称",
  11591. "type": "string"
  11592. },
  11593. "goodscode": {
  11594. "description": "商品代码(合约)",
  11595. "type": "string"
  11596. },
  11597. "goodsgroupid": {
  11598. "description": "商品组ID(品种ID)",
  11599. "type": "integer"
  11600. },
  11601. "goodsgroupname": {
  11602. "description": "商品组名称(品种)",
  11603. "type": "string"
  11604. },
  11605. "goodsid": {
  11606. "description": "商品ID",
  11607. "type": "integer"
  11608. },
  11609. "goodsname": {
  11610. "description": "商品名称(合约)",
  11611. "type": "string"
  11612. },
  11613. "goodunit": {
  11614. "description": "报价单位",
  11615. "type": "string"
  11616. },
  11617. "marketid": {
  11618. "description": "市场ID",
  11619. "type": "integer"
  11620. },
  11621. "orderid": {
  11622. "description": "委托单号",
  11623. "type": "string"
  11624. },
  11625. "outgoodscode": {
  11626. "description": "商品代码(外部)",
  11627. "type": "string"
  11628. },
  11629. "relatedouttradeid": {
  11630. "description": "关联外部成交单ID",
  11631. "type": "string"
  11632. },
  11633. "remark": {
  11634. "description": "备注",
  11635. "type": "string"
  11636. },
  11637. "spotcontractid": {
  11638. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11639. "type": "integer"
  11640. },
  11641. "spotcontractno": {
  11642. "description": "现货合同编号",
  11643. "type": "string"
  11644. },
  11645. "tradeid": {
  11646. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11647. "type": "string"
  11648. },
  11649. "tradeprice": {
  11650. "description": "成交价格",
  11651. "type": "number"
  11652. },
  11653. "tradeqty": {
  11654. "description": "成交数量",
  11655. "type": "integer"
  11656. },
  11657. "tradetime": {
  11658. "description": "成交时间",
  11659. "type": "string"
  11660. },
  11661. "updatetime": {
  11662. "description": "更新时间",
  11663. "type": "string"
  11664. }
  11665. }
  11666. },
  11667. "erms2.QuerySpotContractRsp": {
  11668. "type": "object",
  11669. "required": [
  11670. "spotcontractid"
  11671. ],
  11672. "properties": {
  11673. "accountid": {
  11674. "description": "资金账户ID",
  11675. "type": "integer"
  11676. },
  11677. "areauserid": {
  11678. "description": "所属机构",
  11679. "type": "integer"
  11680. },
  11681. "closedate": {
  11682. "description": "终止日期",
  11683. "type": "string"
  11684. },
  11685. "closeremark": {
  11686. "description": "结束备注",
  11687. "type": "string"
  11688. },
  11689. "closetradedate": {
  11690. "description": "完结交易日(yyyyMMdd)",
  11691. "type": "string"
  11692. },
  11693. "closetype": {
  11694. "description": "终止类型 - 1:违约 2:提前终止",
  11695. "type": "integer"
  11696. },
  11697. "contractamount": {
  11698. "description": "合同金额",
  11699. "type": "number"
  11700. },
  11701. "contractattachment": {
  11702. "description": "合同附件",
  11703. "type": "string"
  11704. },
  11705. "contractno": {
  11706. "description": "现货合同编号",
  11707. "type": "string"
  11708. },
  11709. "contractqty": {
  11710. "description": "合同数量(数值) (用于计算)",
  11711. "type": "number"
  11712. },
  11713. "contractqtychar": {
  11714. "description": "合同数量\\已订价数量 (用于显示)",
  11715. "type": "string"
  11716. },
  11717. "contractstatus": {
  11718. "description": "合同状态 - 0:未结束 1:已结束",
  11719. "type": "integer"
  11720. },
  11721. "contracttype": {
  11722. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11723. "type": "integer"
  11724. },
  11725. "customeraccountid": {
  11726. "description": "客户资金账户ID",
  11727. "type": "integer"
  11728. },
  11729. "customeruserid": {
  11730. "description": "客户ID",
  11731. "type": "integer"
  11732. },
  11733. "deliverygoodsdesc": {
  11734. "description": "品种说明",
  11735. "type": "string"
  11736. },
  11737. "deliverygoodsid": {
  11738. "description": "现货品种ID",
  11739. "type": "integer"
  11740. },
  11741. "handlestatus": {
  11742. "description": "处理状态",
  11743. "type": "integer"
  11744. },
  11745. "invoiceatt": {
  11746. "description": "发票附件",
  11747. "type": "string"
  11748. },
  11749. "invoicedatetime": {
  11750. "description": "开收票更新时间",
  11751. "type": "string"
  11752. },
  11753. "invoiceopentime": {
  11754. "description": "开票时间",
  11755. "type": "string"
  11756. },
  11757. "invoiceremark": {
  11758. "description": "发票备注",
  11759. "type": "string"
  11760. },
  11761. "invoicestatus": {
  11762. "description": "开收票状态 - 0:未开票 1:已开票",
  11763. "type": "integer"
  11764. },
  11765. "lastdate": {
  11766. "description": "交货时间",
  11767. "type": "string"
  11768. },
  11769. "marketid": {
  11770. "description": "市场ID",
  11771. "type": "integer"
  11772. },
  11773. "paydatetime": {
  11774. "description": "收付款更新时间",
  11775. "type": "string"
  11776. },
  11777. "payremark": {
  11778. "description": "收付款备注",
  11779. "type": "string"
  11780. },
  11781. "paystatus": {
  11782. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11783. "type": "integer"
  11784. },
  11785. "positionqty": {
  11786. "description": "头寸数量 - 合同数量去小数部分",
  11787. "type": "integer"
  11788. },
  11789. "producttype": {
  11790. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11791. "type": "integer"
  11792. },
  11793. "relatedqty": {
  11794. "description": "已关联数量",
  11795. "type": "number"
  11796. },
  11797. "relatedstatus": {
  11798. "description": "关联完结状态 - 0:未结束 1:已结束",
  11799. "type": "integer"
  11800. },
  11801. "remark": {
  11802. "description": "备注",
  11803. "type": "string"
  11804. },
  11805. "signdate": {
  11806. "description": "签订日期",
  11807. "type": "string"
  11808. },
  11809. "spotcontractid": {
  11810. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11811. "type": "string"
  11812. },
  11813. "spotdatetime": {
  11814. "description": "收发货更新时间",
  11815. "type": "string"
  11816. },
  11817. "spotprice": {
  11818. "description": "价格",
  11819. "type": "number"
  11820. },
  11821. "spotremark": {
  11822. "description": "收发货备注",
  11823. "type": "string"
  11824. },
  11825. "spotstatus": {
  11826. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11827. "type": "integer"
  11828. },
  11829. "tradedate": {
  11830. "description": "交易日(yyyyMMdd)",
  11831. "type": "string"
  11832. },
  11833. "userid": {
  11834. "description": "业务员用户ID",
  11835. "type": "integer"
  11836. },
  11837. "warehouseid": {
  11838. "description": "仓库ID",
  11839. "type": "integer"
  11840. },
  11841. "wrfactortypeid": {
  11842. "description": "仓单要素类型ID",
  11843. "type": "integer"
  11844. },
  11845. "wrstandardid": {
  11846. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11847. "type": "integer"
  11848. }
  11849. }
  11850. },
  11851. "erms3.AddErms2ASApplyReq": {
  11852. "type": "object",
  11853. "required": [
  11854. "asapplyid"
  11855. ],
  11856. "properties": {
  11857. "applybasis": {
  11858. "description": "申请基差",
  11859. "type": "number"
  11860. },
  11861. "applystatus": {
  11862. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11863. "type": "integer"
  11864. },
  11865. "asapplyid": {
  11866. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11867. "type": "integer"
  11868. },
  11869. "asname": {
  11870. "description": "策略名称",
  11871. "type": "string"
  11872. },
  11873. "asno": {
  11874. "description": "策略编号",
  11875. "type": "string"
  11876. },
  11877. "auditid": {
  11878. "description": "审核人",
  11879. "type": "integer"
  11880. },
  11881. "auditremark": {
  11882. "description": "审核备注",
  11883. "type": "string"
  11884. },
  11885. "audittime": {
  11886. "description": "审核时间",
  11887. "type": "string"
  11888. },
  11889. "biztype": {
  11890. "description": "业务类型 - 1:正向套利 2:反向套利",
  11891. "type": "integer"
  11892. },
  11893. "createtime": {
  11894. "description": "创建时间",
  11895. "type": "string"
  11896. },
  11897. "creatorid": {
  11898. "description": "创建人",
  11899. "type": "integer"
  11900. },
  11901. "deliverygoodsid": {
  11902. "description": "现货品种ID",
  11903. "type": "integer"
  11904. },
  11905. "futurequote": {
  11906. "description": "期货额度",
  11907. "type": "number"
  11908. },
  11909. "goodsgroupid": {
  11910. "description": "期货品种ID",
  11911. "type": "integer"
  11912. },
  11913. "marketid": {
  11914. "description": "市场ID",
  11915. "type": "integer"
  11916. },
  11917. "remark": {
  11918. "description": "备注",
  11919. "type": "string"
  11920. },
  11921. "spotquota": {
  11922. "description": "现货额度",
  11923. "type": "number"
  11924. },
  11925. "tradedate": {
  11926. "description": "交易日(yyyyMMdd)",
  11927. "type": "string"
  11928. },
  11929. "userid": {
  11930. "description": "所属机构",
  11931. "type": "integer"
  11932. }
  11933. }
  11934. },
  11935. "erms3.AddErms2SpotTradeApplyReq": {
  11936. "type": "object",
  11937. "required": [
  11938. "spottradeid"
  11939. ],
  11940. "properties": {
  11941. "applyjsondetail": {
  11942. "description": "申请明细(JSON)",
  11943. "type": "string"
  11944. },
  11945. "applystatus": {
  11946. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11947. "type": "integer"
  11948. },
  11949. "areauserid": {
  11950. "description": "所属机构",
  11951. "type": "integer"
  11952. },
  11953. "auditid": {
  11954. "description": "审核人",
  11955. "type": "integer"
  11956. },
  11957. "auditremark": {
  11958. "description": "审核备注",
  11959. "type": "string"
  11960. },
  11961. "audittime": {
  11962. "description": "审核时间",
  11963. "type": "string"
  11964. },
  11965. "createtime": {
  11966. "description": "创建时间",
  11967. "type": "string"
  11968. },
  11969. "creatorid": {
  11970. "description": "创建人",
  11971. "type": "integer"
  11972. },
  11973. "deliverygoodsid": {
  11974. "description": "现货品种ID",
  11975. "type": "integer"
  11976. },
  11977. "futureaccountid": {
  11978. "description": "期货资金账户",
  11979. "type": "integer"
  11980. },
  11981. "goodsgroupid": {
  11982. "description": "期货品种",
  11983. "type": "integer"
  11984. },
  11985. "marketid": {
  11986. "description": "市场ID",
  11987. "type": "integer"
  11988. },
  11989. "remark": {
  11990. "description": "备注",
  11991. "type": "string"
  11992. },
  11993. "spotaccountid": {
  11994. "description": "现货资金账户",
  11995. "type": "integer"
  11996. },
  11997. "spottradeid": {
  11998. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11999. "type": "integer"
  12000. },
  12001. "spottradename": {
  12002. "description": "业务名称",
  12003. "type": "string"
  12004. },
  12005. "spottradeno": {
  12006. "description": "业务编号",
  12007. "type": "string"
  12008. },
  12009. "tradedate": {
  12010. "description": "交易日(yyyyMMdd)",
  12011. "type": "string"
  12012. },
  12013. "wrstandardid": {
  12014. "description": "仓单标准ID",
  12015. "type": "integer"
  12016. }
  12017. }
  12018. },
  12019. "erms3.AddSpotContractApplyReq": {
  12020. "type": "object",
  12021. "required": [
  12022. "accountid",
  12023. "areauserid",
  12024. "contractno",
  12025. "contracttype",
  12026. "customeraccountid",
  12027. "customeruserid",
  12028. "details",
  12029. "orimargin",
  12030. "signdate"
  12031. ],
  12032. "properties": {
  12033. "accountid": {
  12034. "description": "资金账户ID",
  12035. "type": "integer"
  12036. },
  12037. "areauserid": {
  12038. "description": "所属机构",
  12039. "type": "integer"
  12040. },
  12041. "contractattachment": {
  12042. "description": "合同附件",
  12043. "type": "string"
  12044. },
  12045. "contractno": {
  12046. "description": "现货合同编号",
  12047. "type": "string"
  12048. },
  12049. "contracttype": {
  12050. "description": "现货合同类型 - 1:采购 -1:销售",
  12051. "type": "integer"
  12052. },
  12053. "creatorid": {
  12054. "description": "申请人",
  12055. "type": "integer"
  12056. },
  12057. "customeraccountid": {
  12058. "description": "客户资金账户ID",
  12059. "type": "integer"
  12060. },
  12061. "customeruserid": {
  12062. "description": "客户ID",
  12063. "type": "integer"
  12064. },
  12065. "details": {
  12066. "description": "明细",
  12067. "type": "array",
  12068. "items": {
  12069. "$ref": "#/definitions/erms3.SoptContractDetail"
  12070. }
  12071. },
  12072. "orimargin": {
  12073. "description": "初始保证金",
  12074. "type": "number"
  12075. },
  12076. "remark": {
  12077. "description": "备注",
  12078. "type": "string"
  12079. },
  12080. "signdate": {
  12081. "description": "签订日期",
  12082. "type": "string"
  12083. }
  12084. }
  12085. },
  12086. "erms3.AddSpotContractApplyRsp": {
  12087. "type": "object",
  12088. "required": [
  12089. "contractno"
  12090. ],
  12091. "properties": {
  12092. "contractno": {
  12093. "description": "现货合同编号",
  12094. "type": "string"
  12095. },
  12096. "spotcontractid": {
  12097. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12098. "type": "integer"
  12099. }
  12100. }
  12101. },
  12102. "erms3.AddUserInfoApplyReq": {
  12103. "type": "object",
  12104. "required": [
  12105. "userid"
  12106. ],
  12107. "properties": {
  12108. "accountid": {
  12109. "description": "交易系统帐号Id (加密存储)",
  12110. "type": "integer"
  12111. },
  12112. "areacode": {
  12113. "description": "机构代码",
  12114. "type": "string"
  12115. },
  12116. "areaid": {
  12117. "description": "机构Id",
  12118. "type": "integer"
  12119. },
  12120. "attachment1": {
  12121. "description": "附件1",
  12122. "type": "string"
  12123. },
  12124. "attachment2": {
  12125. "description": "附件2",
  12126. "type": "string"
  12127. },
  12128. "attachment3": {
  12129. "description": "附件3",
  12130. "type": "string"
  12131. },
  12132. "attachment4": {
  12133. "description": "附件4",
  12134. "type": "string"
  12135. },
  12136. "attachment5": {
  12137. "description": "附件5",
  12138. "type": "string"
  12139. },
  12140. "auditedby": {
  12141. "description": "审核人",
  12142. "type": "string"
  12143. },
  12144. "auditime": {
  12145. "description": "审核时间",
  12146. "type": "string"
  12147. },
  12148. "bankaccount": {
  12149. "description": "银行帐号 (加密存储)",
  12150. "type": "string"
  12151. },
  12152. "bankaccountname": {
  12153. "description": "收款人名称",
  12154. "type": "string"
  12155. },
  12156. "bankcardbackphotourl": {
  12157. "description": "银行卡背面照地址",
  12158. "type": "string"
  12159. },
  12160. "bankcardfrontphotourl": {
  12161. "description": "银行卡正面照地址",
  12162. "type": "string"
  12163. },
  12164. "bankid": {
  12165. "description": "银行编码",
  12166. "type": "string"
  12167. },
  12168. "bankname": {
  12169. "description": "银行名称",
  12170. "type": "string"
  12171. },
  12172. "bankpictureurl": {
  12173. "description": "银行卡正面地址",
  12174. "type": "string"
  12175. },
  12176. "biznature": {
  12177. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12178. "type": "integer"
  12179. },
  12180. "bizscope": {
  12181. "description": "企业经营范围(企业)",
  12182. "type": "string"
  12183. },
  12184. "biztype": {
  12185. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12186. "type": "integer"
  12187. },
  12188. "brokerid": {
  12189. "description": "经纪人ID(加密存储)",
  12190. "type": "string"
  12191. },
  12192. "cardaddress": {
  12193. "description": "证件地址 (加密存储)",
  12194. "type": "string"
  12195. },
  12196. "cardbackphotourl": {
  12197. "description": "背面证件照地址",
  12198. "type": "string"
  12199. },
  12200. "cardfrontphotourl": {
  12201. "description": "正面证件照地址",
  12202. "type": "string"
  12203. },
  12204. "cardnum": {
  12205. "description": "证件号码 (加密存储)",
  12206. "type": "string"
  12207. },
  12208. "cardtype": {
  12209. "description": "证件类型",
  12210. "type": "integer"
  12211. },
  12212. "cityid": {
  12213. "description": "市",
  12214. "type": "integer"
  12215. },
  12216. "company": {
  12217. "description": "公司(个人)",
  12218. "type": "string"
  12219. },
  12220. "contactcardbackphotourl": {
  12221. "description": "联系人证件背面图片地址",
  12222. "type": "string"
  12223. },
  12224. "contactcardfrontphotourl": {
  12225. "description": "联系人证件正面图片地址",
  12226. "type": "string"
  12227. },
  12228. "contactname": {
  12229. "description": "联系人",
  12230. "type": "string"
  12231. },
  12232. "countryid": {
  12233. "description": "国家",
  12234. "type": "integer"
  12235. },
  12236. "createtime": {
  12237. "description": "开户申请时间",
  12238. "type": "string"
  12239. },
  12240. "cusbankid": {
  12241. "description": "签约类型",
  12242. "type": "string"
  12243. },
  12244. "cusbankname": {
  12245. "description": "签约类型名称",
  12246. "type": "string"
  12247. },
  12248. "customername": {
  12249. "description": "客户名称(企业名称)",
  12250. "type": "string"
  12251. },
  12252. "districtid": {
  12253. "description": "地区",
  12254. "type": "integer"
  12255. },
  12256. "email": {
  12257. "description": "Email地址(加密存储)",
  12258. "type": "string"
  12259. },
  12260. "halfbodyphotourl": {
  12261. "description": "半身照地址",
  12262. "type": "string"
  12263. },
  12264. "headurl": {
  12265. "description": "头像地址",
  12266. "type": "string"
  12267. },
  12268. "ipaddress": {
  12269. "description": "IP地址",
  12270. "type": "string"
  12271. },
  12272. "isvalidate": {
  12273. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12274. "type": "string"
  12275. },
  12276. "legalcardbackphotourl": {
  12277. "description": "法人身份证背面照地址",
  12278. "type": "string"
  12279. },
  12280. "legalcardfrontphotourl": {
  12281. "description": "法人身份证正面照地址",
  12282. "type": "string"
  12283. },
  12284. "legalpersonname": {
  12285. "description": "法人姓名(企业)",
  12286. "type": "string"
  12287. },
  12288. "logincode": {
  12289. "description": "登录帐号 (加密存储)",
  12290. "type": "string"
  12291. },
  12292. "memberareaid": {
  12293. "description": "所属会员ID",
  12294. "type": "integer"
  12295. },
  12296. "mobile2": {
  12297. "description": "手机号码[明文-尚志]",
  12298. "type": "string"
  12299. },
  12300. "mobilephone": {
  12301. "description": "手机号码 (加密存储)",
  12302. "type": "string"
  12303. },
  12304. "modifiedby": {
  12305. "description": "修改人帐号",
  12306. "type": "integer"
  12307. },
  12308. "modifiedtime": {
  12309. "description": "修改时间",
  12310. "type": "string"
  12311. },
  12312. "nickname": {
  12313. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12314. "type": "string"
  12315. },
  12316. "openmode": {
  12317. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12318. "type": "integer"
  12319. },
  12320. "otherurl": {
  12321. "description": "其它图片地址[使用分号分隔]",
  12322. "type": "string"
  12323. },
  12324. "postalcode": {
  12325. "description": "邮政编码",
  12326. "type": "string"
  12327. },
  12328. "provinceid": {
  12329. "description": "省",
  12330. "type": "integer"
  12331. },
  12332. "proxystatementurl": {
  12333. "description": "授权委托书",
  12334. "type": "string"
  12335. },
  12336. "qq": {
  12337. "description": "QQ(加密存储",
  12338. "type": "string"
  12339. },
  12340. "referral": {
  12341. "description": "推荐人编码",
  12342. "type": "string"
  12343. },
  12344. "remark": {
  12345. "description": "备注",
  12346. "type": "string"
  12347. },
  12348. "removebeforestatus": {
  12349. "description": "REMOVEBEFORESTATUS",
  12350. "type": "integer"
  12351. },
  12352. "sex": {
  12353. "description": "性别 - 0:女 1:男",
  12354. "type": "integer"
  12355. },
  12356. "signedstatus": {
  12357. "description": "账户一号签签约状态",
  12358. "type": "integer"
  12359. },
  12360. "signpdfurl": {
  12361. "description": "签约pdf文件",
  12362. "type": "string"
  12363. },
  12364. "subbranch": {
  12365. "description": "开户支行",
  12366. "type": "string"
  12367. },
  12368. "telphone": {
  12369. "description": "联系电话(加密存储)",
  12370. "type": "string"
  12371. },
  12372. "userid": {
  12373. "description": "用户ID(自增ID)",
  12374. "type": "integer"
  12375. },
  12376. "userinfotype": {
  12377. "description": "用户信息类型 - 1:个人 2:企业",
  12378. "type": "integer"
  12379. },
  12380. "username": {
  12381. "description": "用户姓名",
  12382. "type": "string"
  12383. },
  12384. "userstate": {
  12385. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12386. "type": "integer"
  12387. },
  12388. "usertype": {
  12389. "description": "用户类型 - 1:投资者 2:机构",
  12390. "type": "integer"
  12391. },
  12392. "videourl": {
  12393. "description": "视频地址",
  12394. "type": "string"
  12395. },
  12396. "wechat": {
  12397. "description": "微信号 (加密存储)",
  12398. "type": "string"
  12399. }
  12400. }
  12401. },
  12402. "erms3.CustomerInfo": {
  12403. "type": "object",
  12404. "required": [
  12405. "userid"
  12406. ],
  12407. "properties": {
  12408. "accountids": {
  12409. "description": "资金账户ID列表",
  12410. "type": "array",
  12411. "items": {
  12412. "type": "integer"
  12413. }
  12414. },
  12415. "customername": {
  12416. "description": "名称(企业名称)",
  12417. "type": "string"
  12418. },
  12419. "mobile": {
  12420. "description": "手机号码",
  12421. "type": "string"
  12422. },
  12423. "userid": {
  12424. "description": "用户ID",
  12425. "type": "integer"
  12426. }
  12427. }
  12428. },
  12429. "erms3.ModifyUserInfoApplyReq": {
  12430. "type": "object",
  12431. "required": [
  12432. "userid"
  12433. ],
  12434. "properties": {
  12435. "accountid": {
  12436. "description": "交易系统帐号Id (加密存储)",
  12437. "type": "integer"
  12438. },
  12439. "areacode": {
  12440. "description": "机构代码",
  12441. "type": "string"
  12442. },
  12443. "areaid": {
  12444. "description": "机构Id",
  12445. "type": "integer"
  12446. },
  12447. "attachment1": {
  12448. "description": "附件1",
  12449. "type": "string"
  12450. },
  12451. "attachment2": {
  12452. "description": "附件2",
  12453. "type": "string"
  12454. },
  12455. "attachment3": {
  12456. "description": "附件3",
  12457. "type": "string"
  12458. },
  12459. "attachment4": {
  12460. "description": "附件4",
  12461. "type": "string"
  12462. },
  12463. "attachment5": {
  12464. "description": "附件5",
  12465. "type": "string"
  12466. },
  12467. "auditedby": {
  12468. "description": "审核人",
  12469. "type": "string"
  12470. },
  12471. "auditime": {
  12472. "description": "审核时间",
  12473. "type": "string"
  12474. },
  12475. "bankaccount": {
  12476. "description": "银行帐号 (加密存储)",
  12477. "type": "string"
  12478. },
  12479. "bankaccountname": {
  12480. "description": "收款人名称",
  12481. "type": "string"
  12482. },
  12483. "bankcardbackphotourl": {
  12484. "description": "银行卡背面照地址",
  12485. "type": "string"
  12486. },
  12487. "bankcardfrontphotourl": {
  12488. "description": "银行卡正面照地址",
  12489. "type": "string"
  12490. },
  12491. "bankid": {
  12492. "description": "银行编码",
  12493. "type": "string"
  12494. },
  12495. "bankname": {
  12496. "description": "银行名称",
  12497. "type": "string"
  12498. },
  12499. "bankpictureurl": {
  12500. "description": "银行卡正面地址",
  12501. "type": "string"
  12502. },
  12503. "biznature": {
  12504. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12505. "type": "integer"
  12506. },
  12507. "bizscope": {
  12508. "description": "企业经营范围(企业)",
  12509. "type": "string"
  12510. },
  12511. "biztype": {
  12512. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12513. "type": "integer"
  12514. },
  12515. "brokerid": {
  12516. "description": "经纪人ID(加密存储)",
  12517. "type": "string"
  12518. },
  12519. "cardaddress": {
  12520. "description": "证件地址 (加密存储)",
  12521. "type": "string"
  12522. },
  12523. "cardbackphotourl": {
  12524. "description": "背面证件照地址",
  12525. "type": "string"
  12526. },
  12527. "cardfrontphotourl": {
  12528. "description": "正面证件照地址",
  12529. "type": "string"
  12530. },
  12531. "cardnum": {
  12532. "description": "证件号码 (加密存储)",
  12533. "type": "string"
  12534. },
  12535. "cardtype": {
  12536. "description": "证件类型",
  12537. "type": "integer"
  12538. },
  12539. "cityid": {
  12540. "description": "市",
  12541. "type": "integer"
  12542. },
  12543. "company": {
  12544. "description": "公司(个人)",
  12545. "type": "string"
  12546. },
  12547. "contactcardbackphotourl": {
  12548. "description": "联系人证件背面图片地址",
  12549. "type": "string"
  12550. },
  12551. "contactcardfrontphotourl": {
  12552. "description": "联系人证件正面图片地址",
  12553. "type": "string"
  12554. },
  12555. "contactname": {
  12556. "description": "联系人",
  12557. "type": "string"
  12558. },
  12559. "countryid": {
  12560. "description": "国家",
  12561. "type": "integer"
  12562. },
  12563. "createtime": {
  12564. "description": "开户申请时间",
  12565. "type": "string"
  12566. },
  12567. "cusbankid": {
  12568. "description": "签约类型",
  12569. "type": "string"
  12570. },
  12571. "cusbankname": {
  12572. "description": "签约类型名称",
  12573. "type": "string"
  12574. },
  12575. "customername": {
  12576. "description": "客户名称(企业名称)",
  12577. "type": "string"
  12578. },
  12579. "districtid": {
  12580. "description": "地区",
  12581. "type": "integer"
  12582. },
  12583. "email": {
  12584. "description": "Email地址(加密存储)",
  12585. "type": "string"
  12586. },
  12587. "halfbodyphotourl": {
  12588. "description": "半身照地址",
  12589. "type": "string"
  12590. },
  12591. "headurl": {
  12592. "description": "头像地址",
  12593. "type": "string"
  12594. },
  12595. "ipaddress": {
  12596. "description": "IP地址",
  12597. "type": "string"
  12598. },
  12599. "isvalidate": {
  12600. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12601. "type": "string"
  12602. },
  12603. "legalcardbackphotourl": {
  12604. "description": "法人身份证背面照地址",
  12605. "type": "string"
  12606. },
  12607. "legalcardfrontphotourl": {
  12608. "description": "法人身份证正面照地址",
  12609. "type": "string"
  12610. },
  12611. "legalpersonname": {
  12612. "description": "法人姓名(企业)",
  12613. "type": "string"
  12614. },
  12615. "logincode": {
  12616. "description": "登录帐号 (加密存储)",
  12617. "type": "string"
  12618. },
  12619. "memberareaid": {
  12620. "description": "所属会员ID",
  12621. "type": "integer"
  12622. },
  12623. "mobile2": {
  12624. "description": "手机号码[明文-尚志]",
  12625. "type": "string"
  12626. },
  12627. "mobilephone": {
  12628. "description": "手机号码 (加密存储)",
  12629. "type": "string"
  12630. },
  12631. "modifiedby": {
  12632. "description": "修改人帐号",
  12633. "type": "integer"
  12634. },
  12635. "modifiedtime": {
  12636. "description": "修改时间",
  12637. "type": "string"
  12638. },
  12639. "nickname": {
  12640. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12641. "type": "string"
  12642. },
  12643. "openmode": {
  12644. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12645. "type": "integer"
  12646. },
  12647. "otherurl": {
  12648. "description": "其它图片地址[使用分号分隔]",
  12649. "type": "string"
  12650. },
  12651. "postalcode": {
  12652. "description": "邮政编码",
  12653. "type": "string"
  12654. },
  12655. "provinceid": {
  12656. "description": "省",
  12657. "type": "integer"
  12658. },
  12659. "proxystatementurl": {
  12660. "description": "授权委托书",
  12661. "type": "string"
  12662. },
  12663. "qq": {
  12664. "description": "QQ(加密存储",
  12665. "type": "string"
  12666. },
  12667. "referral": {
  12668. "description": "推荐人编码",
  12669. "type": "string"
  12670. },
  12671. "remark": {
  12672. "description": "备注",
  12673. "type": "string"
  12674. },
  12675. "removebeforestatus": {
  12676. "description": "REMOVEBEFORESTATUS",
  12677. "type": "integer"
  12678. },
  12679. "sex": {
  12680. "description": "性别 - 0:女 1:男",
  12681. "type": "integer"
  12682. },
  12683. "signedstatus": {
  12684. "description": "账户一号签签约状态",
  12685. "type": "integer"
  12686. },
  12687. "signpdfurl": {
  12688. "description": "签约pdf文件",
  12689. "type": "string"
  12690. },
  12691. "subbranch": {
  12692. "description": "开户支行",
  12693. "type": "string"
  12694. },
  12695. "telphone": {
  12696. "description": "联系电话(加密存储)",
  12697. "type": "string"
  12698. },
  12699. "userid": {
  12700. "description": "用户ID(自增ID)",
  12701. "type": "integer"
  12702. },
  12703. "userinfotype": {
  12704. "description": "用户信息类型 - 1:个人 2:企业",
  12705. "type": "integer"
  12706. },
  12707. "username": {
  12708. "description": "用户姓名",
  12709. "type": "string"
  12710. },
  12711. "userstate": {
  12712. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12713. "type": "integer"
  12714. },
  12715. "usertype": {
  12716. "description": "用户类型 - 1:投资者 2:机构",
  12717. "type": "integer"
  12718. },
  12719. "videourl": {
  12720. "description": "视频地址",
  12721. "type": "string"
  12722. },
  12723. "wechat": {
  12724. "description": "微信号 (加密存储)",
  12725. "type": "string"
  12726. }
  12727. }
  12728. },
  12729. "erms3.QryAuditContractRsp": {
  12730. "type": "object",
  12731. "required": [
  12732. "matchcustomername",
  12733. "spotcontractid"
  12734. ],
  12735. "properties": {
  12736. "accountid": {
  12737. "description": "交易员ID",
  12738. "type": "string"
  12739. },
  12740. "applystatus": {
  12741. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12742. "type": "integer"
  12743. },
  12744. "curdeliveryqty": {
  12745. "description": "未交收量",
  12746. "type": "integer"
  12747. },
  12748. "customername": {
  12749. "description": "采购方ID",
  12750. "type": "string"
  12751. },
  12752. "deliverygoodsid": {
  12753. "description": "品种ID",
  12754. "type": "string"
  12755. },
  12756. "deliveryqty": {
  12757. "description": "交收量",
  12758. "type": "integer"
  12759. },
  12760. "enumdicname": {
  12761. "description": "单位名称",
  12762. "type": "string"
  12763. },
  12764. "matchaccountid": {
  12765. "description": "业务员ID",
  12766. "type": "string"
  12767. },
  12768. "matchcustomername": {
  12769. "description": "销售方ID",
  12770. "type": "string"
  12771. },
  12772. "pricedqty": {
  12773. "description": "定价量",
  12774. "type": "number"
  12775. },
  12776. "signdate": {
  12777. "description": "签订日期",
  12778. "type": "string"
  12779. },
  12780. "spotcontractid": {
  12781. "description": "合同ID",
  12782. "type": "string"
  12783. },
  12784. "totaldqty": {
  12785. "description": "合同量",
  12786. "type": "number"
  12787. },
  12788. "unpricedqty": {
  12789. "description": "未定价量",
  12790. "type": "number"
  12791. },
  12792. "wrstandardname": {
  12793. "description": "商品名称",
  12794. "type": "string"
  12795. }
  12796. }
  12797. },
  12798. "erms3.QryPendingBizRsp": {
  12799. "$ref": "#/definitions/models.PendingAuditBizModel"
  12800. },
  12801. "erms3.QueryBusinessInfoRsp": {
  12802. "type": "object",
  12803. "properties": {
  12804. "businessid": {
  12805. "description": "业务ID.",
  12806. "type": "integer"
  12807. },
  12808. "buyamount": {
  12809. "description": "采购额.",
  12810. "type": "number"
  12811. },
  12812. "buyqty": {
  12813. "description": "采购量.",
  12814. "type": "string"
  12815. },
  12816. "futurepl": {
  12817. "description": "期货盈亏.",
  12818. "type": "number"
  12819. },
  12820. "futureqty": {
  12821. "description": "期货敞口.",
  12822. "type": "string"
  12823. },
  12824. "goodsid": {
  12825. "description": "商品名称/商品代码.",
  12826. "type": "string"
  12827. },
  12828. "hedgingqty": {
  12829. "description": "套保量.",
  12830. "type": "string"
  12831. },
  12832. "sellamount": {
  12833. "description": "销售额.",
  12834. "type": "number"
  12835. },
  12836. "sellqty": {
  12837. "description": "销售量.",
  12838. "type": "string"
  12839. },
  12840. "spotmarketvalue": {
  12841. "description": "现货市值.",
  12842. "type": "number"
  12843. },
  12844. "spotpl": {
  12845. "description": "浮动权益.",
  12846. "type": "number"
  12847. },
  12848. "spotqty": {
  12849. "description": "现货量.",
  12850. "type": "string"
  12851. },
  12852. "statu": {
  12853. "description": "状态,0-未结束 1-已结束.",
  12854. "type": "integer"
  12855. },
  12856. "totalpl": {
  12857. "description": "总盈亏.",
  12858. "type": "number"
  12859. },
  12860. "totalqty": {
  12861. "description": "总敞口.",
  12862. "type": "string"
  12863. },
  12864. "type": {
  12865. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12866. "type": "integer"
  12867. }
  12868. }
  12869. },
  12870. "erms3.QuerySpotContractAppleFormRsp": {
  12871. "type": "object",
  12872. "properties": {
  12873. "goodses": {
  12874. "description": "合约列表",
  12875. "type": "array",
  12876. "items": {
  12877. "$ref": "#/definitions/models.GoodsIDAndName"
  12878. }
  12879. },
  12880. "oppositeusers": {
  12881. "description": "对方账号列表",
  12882. "type": "array",
  12883. "items": {
  12884. "$ref": "#/definitions/erms3.CustomerInfo"
  12885. }
  12886. },
  12887. "ouruser": {
  12888. "description": "我方账号",
  12889. "type": "object",
  12890. "$ref": "#/definitions/erms3.CustomerInfo"
  12891. },
  12892. "warehouseinfos": {
  12893. "description": "仓库信息列表",
  12894. "type": "array",
  12895. "items": {
  12896. "$ref": "#/definitions/models.Warehouseinfo"
  12897. }
  12898. },
  12899. "wrstandards": {
  12900. "description": "仓单标准列表",
  12901. "type": "array",
  12902. "items": {
  12903. "$ref": "#/definitions/models.WRStandardInfo"
  12904. }
  12905. }
  12906. }
  12907. },
  12908. "erms3.QuerySpotContractInfoRsp": {
  12909. "type": "object",
  12910. "properties": {
  12911. "accountid": {
  12912. "description": "表示交易员ID.",
  12913. "type": "integer"
  12914. },
  12915. "curdeliveryqty": {
  12916. "description": "表示未交收量.",
  12917. "type": "number"
  12918. },
  12919. "customername": {
  12920. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12921. "type": "string"
  12922. },
  12923. "deliverygoodsid": {
  12924. "description": "表示品种ID.",
  12925. "type": "string"
  12926. },
  12927. "deliveryqty": {
  12928. "description": "表示交收量.",
  12929. "type": "number"
  12930. },
  12931. "matchaccountid": {
  12932. "description": "表示业务员ID.",
  12933. "type": "integer"
  12934. },
  12935. "matchcustomername": {
  12936. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12937. "type": "string"
  12938. },
  12939. "priceqty": {
  12940. "description": "表示定价量.",
  12941. "type": "number"
  12942. },
  12943. "relatedbizid": {
  12944. "description": "表示业务ID.",
  12945. "type": "string"
  12946. },
  12947. "signdate": {
  12948. "description": "表示签订日期.",
  12949. "type": "string"
  12950. },
  12951. "spotcontractid": {
  12952. "description": "合同ID",
  12953. "type": "string"
  12954. },
  12955. "status": {
  12956. "description": "表示状态,0-履约中 1-已完成.",
  12957. "type": "integer"
  12958. },
  12959. "totalqty": {
  12960. "description": "表示合同量.",
  12961. "type": "number"
  12962. },
  12963. "unpricedqty": {
  12964. "description": "表示未定价量.",
  12965. "type": "number"
  12966. },
  12967. "wrstandardname": {
  12968. "description": "表示商品ID.",
  12969. "type": "string"
  12970. }
  12971. }
  12972. },
  12973. "erms3.QueryUserInfoAppliesRsp": {
  12974. "type": "object",
  12975. "required": [
  12976. "userid"
  12977. ],
  12978. "properties": {
  12979. "biznature": {
  12980. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12981. "type": "integer"
  12982. },
  12983. "contactname": {
  12984. "description": "联系人",
  12985. "type": "string"
  12986. },
  12987. "createtime": {
  12988. "description": "开户申请时间",
  12989. "type": "string"
  12990. },
  12991. "userid": {
  12992. "description": "用户ID(自增ID)",
  12993. "type": "integer"
  12994. },
  12995. "userinfotype": {
  12996. "description": "用户信息类型 - 1:个人 2:企业",
  12997. "type": "integer"
  12998. },
  12999. "username": {
  13000. "description": "用户姓名",
  13001. "type": "string"
  13002. },
  13003. "userstate": {
  13004. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13005. "type": "integer"
  13006. }
  13007. }
  13008. },
  13009. "erms3.QueryUserInfosRsp": {
  13010. "type": "object",
  13011. "required": [
  13012. "userid"
  13013. ],
  13014. "properties": {
  13015. "biznature": {
  13016. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13017. "type": "integer"
  13018. },
  13019. "contactname": {
  13020. "description": "联系人",
  13021. "type": "string"
  13022. },
  13023. "customername": {
  13024. "description": "客户名称(企业名称)",
  13025. "type": "string"
  13026. },
  13027. "userid": {
  13028. "description": "用户ID",
  13029. "type": "integer"
  13030. },
  13031. "userinfotype": {
  13032. "description": "用户信息类型 - 1:个人 2:企业",
  13033. "type": "integer"
  13034. },
  13035. "userstatus": {
  13036. "description": "用户状态 - 1:正常 2:注销",
  13037. "type": "integer"
  13038. }
  13039. }
  13040. },
  13041. "erms3.SoptContractDetail": {
  13042. "type": "object",
  13043. "required": [
  13044. "deliverygoodsid",
  13045. "producttype",
  13046. "unitname",
  13047. "warehouseid",
  13048. "wrstandardid",
  13049. "wrstandardname"
  13050. ],
  13051. "properties": {
  13052. "deliverygoodsdesc": {
  13053. "description": "现货品种说明",
  13054. "type": "string"
  13055. },
  13056. "deliverygoodsid": {
  13057. "description": "现货品种ID",
  13058. "type": "integer"
  13059. },
  13060. "deliverygoodsname": {
  13061. "description": "现货品种名称",
  13062. "type": "string"
  13063. },
  13064. "pointdesc": {
  13065. "description": "点价描述",
  13066. "type": "string"
  13067. },
  13068. "producttype": {
  13069. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13070. "type": "integer"
  13071. },
  13072. "producttypename": {
  13073. "description": "产品类型名称",
  13074. "type": "string"
  13075. },
  13076. "spotPointOrderVoList": {
  13077. "description": "点价列表",
  13078. "type": "array",
  13079. "items": {
  13080. "$ref": "#/definitions/erms3.SpotPointOrder"
  13081. }
  13082. },
  13083. "spotPriceOrderList": {
  13084. "description": "定价列表",
  13085. "type": "array",
  13086. "items": {
  13087. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13088. }
  13089. },
  13090. "unitname": {
  13091. "description": "单位名称",
  13092. "type": "string"
  13093. },
  13094. "warehouseid": {
  13095. "description": "仓库ID",
  13096. "type": "integer"
  13097. },
  13098. "warehousename": {
  13099. "description": "仓库名称",
  13100. "type": "string"
  13101. },
  13102. "wrstandardid": {
  13103. "description": "交易标的ID",
  13104. "type": "integer"
  13105. },
  13106. "wrstandardname": {
  13107. "description": "交易标的名称",
  13108. "type": "string"
  13109. }
  13110. }
  13111. },
  13112. "erms3.SpotPointOrder": {
  13113. "type": "object",
  13114. "required": [
  13115. "basic",
  13116. "goodsid",
  13117. "qty"
  13118. ],
  13119. "properties": {
  13120. "basic": {
  13121. "description": "基差",
  13122. "type": "number"
  13123. },
  13124. "deliveryenddate": {
  13125. "description": "交收结束日期",
  13126. "type": "string"
  13127. },
  13128. "deliverystartdate": {
  13129. "description": "交收开始日期",
  13130. "type": "string"
  13131. },
  13132. "enddate": {
  13133. "description": "点价结束日期",
  13134. "type": "string"
  13135. },
  13136. "goodsid": {
  13137. "description": "商品ID",
  13138. "type": "integer"
  13139. },
  13140. "goodsname": {
  13141. "description": "商品名称",
  13142. "type": "string"
  13143. },
  13144. "qty": {
  13145. "description": "数量",
  13146. "type": "number"
  13147. },
  13148. "startdate": {
  13149. "description": "点价开始日期",
  13150. "type": "string"
  13151. }
  13152. }
  13153. },
  13154. "erms3.SpotPriceOrder": {
  13155. "type": "object",
  13156. "required": [
  13157. "amount",
  13158. "price",
  13159. "qty"
  13160. ],
  13161. "properties": {
  13162. "amount": {
  13163. "description": "金额",
  13164. "type": "number"
  13165. },
  13166. "deliveryenddate": {
  13167. "description": "交收结束日期",
  13168. "type": "string"
  13169. },
  13170. "deliverystartdate": {
  13171. "description": "交收开始日期",
  13172. "type": "string"
  13173. },
  13174. "price": {
  13175. "description": "价格",
  13176. "type": "number"
  13177. },
  13178. "qty": {
  13179. "description": "数量",
  13180. "type": "number"
  13181. }
  13182. }
  13183. },
  13184. "hsby.GetHsbyMyCountRsp": {
  13185. "type": "object",
  13186. "properties": {
  13187. "myCouponCount": {
  13188. "description": "我的优惠卷数量",
  13189. "type": "integer"
  13190. },
  13191. "myOrderDetailListingCount": {
  13192. "description": "我的订单求购中数量",
  13193. "type": "integer"
  13194. },
  13195. "myOrderDetailPreCount": {
  13196. "description": "我的订单抢购中数量",
  13197. "type": "integer"
  13198. },
  13199. "myPackageUnReceiveCount": {
  13200. "description": "我的包裹待收货数量",
  13201. "type": "integer"
  13202. },
  13203. "myPackageUnSendCount": {
  13204. "description": "我的包裹待发货数量",
  13205. "type": "integer"
  13206. },
  13207. "myPayOrderCount": {
  13208. "description": "我的订单待付款数量",
  13209. "type": "integer"
  13210. }
  13211. }
  13212. },
  13213. "hsby.QueryProvincesAndCitiesRsp": {
  13214. "type": "object",
  13215. "properties": {
  13216. "cities": {
  13217. "description": "市",
  13218. "type": "array",
  13219. "items": {
  13220. "$ref": "#/definitions/models.Division"
  13221. }
  13222. },
  13223. "province": {
  13224. "description": "省",
  13225. "type": "object",
  13226. "$ref": "#/definitions/models.Division"
  13227. }
  13228. }
  13229. },
  13230. "models.AreaSpotModel": {
  13231. "type": "object",
  13232. "properties": {
  13233. "areauserid": {
  13234. "description": "所属机构",
  13235. "type": "integer"
  13236. },
  13237. "decreaseqty": {
  13238. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13239. "type": "number"
  13240. },
  13241. "increaseqty": {
  13242. "description": "增加数量=销售计划数量+采购已定价数量",
  13243. "type": "number"
  13244. },
  13245. "oritoalspotqty": {
  13246. "description": "昨日数量",
  13247. "type": "number"
  13248. },
  13249. "totalspotqty": {
  13250. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13251. "type": "number"
  13252. },
  13253. "updatetime": {
  13254. "description": "更新时间",
  13255. "type": "string"
  13256. },
  13257. "wrstandardcode": {
  13258. "description": "现货品种代码",
  13259. "type": "string"
  13260. },
  13261. "wrstandardid": {
  13262. "description": "现货商品ID",
  13263. "type": "integer"
  13264. },
  13265. "wrstandardname": {
  13266. "description": "现货品种",
  13267. "type": "string"
  13268. }
  13269. }
  13270. },
  13271. "models.Clientfixedadconfig": {
  13272. "type": "object",
  13273. "required": [
  13274. "adsort",
  13275. "adtype"
  13276. ],
  13277. "properties": {
  13278. "adsort": {
  13279. "description": "排序",
  13280. "type": "integer"
  13281. },
  13282. "adtype": {
  13283. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13284. "type": "integer"
  13285. },
  13286. "areauserid": {
  13287. "description": "所属机构ID",
  13288. "type": "integer"
  13289. },
  13290. "createdate": {
  13291. "description": "创建时间",
  13292. "type": "string"
  13293. },
  13294. "creatorid": {
  13295. "description": "创建人",
  13296. "type": "integer"
  13297. },
  13298. "imagepath": {
  13299. "description": "图片",
  13300. "type": "string"
  13301. },
  13302. "isshow": {
  13303. "description": "是否展示 - 0:不展示 1:展示",
  13304. "type": "integer"
  13305. },
  13306. "modifierid": {
  13307. "description": "操作人",
  13308. "type": "integer"
  13309. },
  13310. "recsize": {
  13311. "description": "推荐尺寸",
  13312. "type": "string"
  13313. },
  13314. "title": {
  13315. "description": "标题",
  13316. "type": "string"
  13317. },
  13318. "updatedate": {
  13319. "description": "更新时间",
  13320. "type": "string"
  13321. },
  13322. "urlcontent": {
  13323. "description": "链接(地址或商品ID)",
  13324. "type": "string"
  13325. },
  13326. "urltype": {
  13327. "description": "链接类型 - 1:直接地址 2:商品ID",
  13328. "type": "integer"
  13329. }
  13330. }
  13331. },
  13332. "models.Division": {
  13333. "type": "object",
  13334. "required": [
  13335. "autoid",
  13336. "divisioncode"
  13337. ],
  13338. "properties": {
  13339. "autoid": {
  13340. "description": "自增ID",
  13341. "type": "integer"
  13342. },
  13343. "divisioncode": {
  13344. "description": "行政代码",
  13345. "type": "string"
  13346. },
  13347. "divisionlevel": {
  13348. "description": "行政级别",
  13349. "type": "string"
  13350. },
  13351. "divisionname": {
  13352. "description": "行政名称",
  13353. "type": "string"
  13354. },
  13355. "modifierid": {
  13356. "description": "修改人",
  13357. "type": "integer"
  13358. },
  13359. "modifytime": {
  13360. "description": "修改时间",
  13361. "type": "string"
  13362. },
  13363. "parentcode": {
  13364. "description": "上级行政代码",
  13365. "type": "string"
  13366. },
  13367. "pathname": {
  13368. "description": "路径名称",
  13369. "type": "string"
  13370. },
  13371. "postcode": {
  13372. "description": "邮政编码",
  13373. "type": "string"
  13374. },
  13375. "separablename": {
  13376. "description": "可拆分的全称",
  13377. "type": "string"
  13378. },
  13379. "shortcode": {
  13380. "description": "地区简码",
  13381. "type": "string"
  13382. }
  13383. }
  13384. },
  13385. "models.Enumdicitem": {
  13386. "type": "object",
  13387. "required": [
  13388. "autoid",
  13389. "enumdiccode",
  13390. "enumdicid",
  13391. "enumitemname"
  13392. ],
  13393. "properties": {
  13394. "autoid": {
  13395. "description": "自增ID",
  13396. "type": "integer"
  13397. },
  13398. "bankmappedvalue": {
  13399. "description": "银行服务对应值",
  13400. "type": "string"
  13401. },
  13402. "enumdiccode": {
  13403. "description": "所属枚举代码",
  13404. "type": "string"
  13405. },
  13406. "enumdicid": {
  13407. "description": "所属枚举ID",
  13408. "type": "integer"
  13409. },
  13410. "enumdicname": {
  13411. "description": "枚举项名称",
  13412. "type": "string"
  13413. },
  13414. "enumitemname": {
  13415. "description": "枚举项值",
  13416. "type": "integer"
  13417. },
  13418. "enumitemstatus": {
  13419. "description": "枚举项状态 - 1.启用 2.不启用",
  13420. "type": "integer"
  13421. },
  13422. "enumitemvalue": {
  13423. "description": "通用值 - [币种通用简写]",
  13424. "type": "string"
  13425. },
  13426. "param1": {
  13427. "description": "参数1[币种:币种小数位]",
  13428. "type": "string"
  13429. },
  13430. "param2": {
  13431. "description": "参数1[币种:币种显示单位]",
  13432. "type": "string"
  13433. },
  13434. "remark": {
  13435. "description": "备注",
  13436. "type": "string"
  13437. }
  13438. }
  13439. },
  13440. "models.Ermcp3AreaSpot": {
  13441. "type": "object",
  13442. "properties": {
  13443. "areauserid": {
  13444. "description": "所属机构",
  13445. "type": "integer"
  13446. },
  13447. "decreaseqty": {
  13448. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13449. "type": "number"
  13450. },
  13451. "deliverygoodscode": {
  13452. "description": "现货品种代码",
  13453. "type": "string"
  13454. },
  13455. "deliverygoodsid": {
  13456. "description": "现货品种id",
  13457. "type": "integer"
  13458. },
  13459. "deliverygoodsname": {
  13460. "description": "现货品种名称",
  13461. "type": "string"
  13462. },
  13463. "enumdicname": {
  13464. "description": "单位名称",
  13465. "type": "string"
  13466. },
  13467. "goodsunitid": {
  13468. "description": "现货品种单位id",
  13469. "type": "integer"
  13470. },
  13471. "increaseqty": {
  13472. "description": "增加数量=销售计划数量+采购已定价数量",
  13473. "type": "number"
  13474. },
  13475. "oritoalspotqty": {
  13476. "description": "昨日数量",
  13477. "type": "number"
  13478. },
  13479. "totalspotqty": {
  13480. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13481. "type": "number"
  13482. },
  13483. "updatetime": {
  13484. "description": "更新时间",
  13485. "type": "string"
  13486. }
  13487. }
  13488. },
  13489. "models.Ermcp3AreaSpotDetail": {
  13490. "type": "object",
  13491. "properties": {
  13492. "contracttype": {
  13493. "description": "合同类型 1-采购 -1-销售",
  13494. "type": "integer"
  13495. },
  13496. "createtime": {
  13497. "description": "创建时间",
  13498. "type": "string"
  13499. },
  13500. "deliverygoodscode": {
  13501. "description": "现货品种代码",
  13502. "type": "string"
  13503. },
  13504. "deliverygoodsid": {
  13505. "description": "现货品种id",
  13506. "type": "integer"
  13507. },
  13508. "deliverygoodsname": {
  13509. "description": "现货品种名称",
  13510. "type": "string"
  13511. },
  13512. "enumdicname": {
  13513. "description": "现货商品单位名称",
  13514. "type": "string"
  13515. },
  13516. "logtype": {
  13517. "description": "记录类型 1-套保 2-现货合同",
  13518. "type": "integer"
  13519. },
  13520. "qty": {
  13521. "description": "数量",
  13522. "type": "number"
  13523. },
  13524. "recordname": {
  13525. "description": "类型名称",
  13526. "type": "string"
  13527. },
  13528. "relatedid": {
  13529. "description": "套保计划ID/现货合同ID",
  13530. "type": "string"
  13531. },
  13532. "relatedno": {
  13533. "description": "编号",
  13534. "type": "string"
  13535. },
  13536. "strtime": {
  13537. "description": "时间",
  13538. "type": "string"
  13539. }
  13540. }
  13541. },
  13542. "models.Ermcp3AreaStock": {
  13543. "type": "object",
  13544. "required": [
  13545. "userid"
  13546. ],
  13547. "properties": {
  13548. "brandname": {
  13549. "description": "品牌名称",
  13550. "type": "string"
  13551. },
  13552. "curstock": {
  13553. "description": "期末库存量(今日量)",
  13554. "type": "number"
  13555. },
  13556. "deliverygoodscode": {
  13557. "description": "现货品种代码",
  13558. "type": "string"
  13559. },
  13560. "deliverygoodsid": {
  13561. "description": "现货品种id",
  13562. "type": "integer"
  13563. },
  13564. "deliverygoodsname": {
  13565. "description": "现货品种名称",
  13566. "type": "string"
  13567. },
  13568. "enumdicname": {
  13569. "description": "单位名称",
  13570. "type": "string"
  13571. },
  13572. "goodsunitid": {
  13573. "description": "现货商品单位id",
  13574. "type": "integer"
  13575. },
  13576. "oristock": {
  13577. "description": "期初库存量(昨日量)",
  13578. "type": "number"
  13579. },
  13580. "spotgoodsbrandid": {
  13581. "description": "现货品牌ID",
  13582. "type": "integer"
  13583. },
  13584. "todaybuyinqty": {
  13585. "description": "今日采购入库量",
  13586. "type": "number"
  13587. },
  13588. "todayproduceinqty": {
  13589. "description": "今日生产入库量",
  13590. "type": "number"
  13591. },
  13592. "todayproduceoutqty": {
  13593. "description": "今日生产出库量",
  13594. "type": "number"
  13595. },
  13596. "todayselloutqty": {
  13597. "description": "今日销售出库量",
  13598. "type": "number"
  13599. },
  13600. "unitid": {
  13601. "description": "单位id",
  13602. "type": "integer"
  13603. },
  13604. "updatetime": {
  13605. "description": "更新时间",
  13606. "type": "string"
  13607. },
  13608. "userid": {
  13609. "description": "机构ID",
  13610. "type": "integer"
  13611. },
  13612. "username": {
  13613. "description": "机构名称",
  13614. "type": "string"
  13615. },
  13616. "warehousecode": {
  13617. "description": "仓库代码",
  13618. "type": "string"
  13619. },
  13620. "warehouseinfoid": {
  13621. "description": "仓库ID",
  13622. "type": "string"
  13623. },
  13624. "warehousename": {
  13625. "description": "仓库名称",
  13626. "type": "string"
  13627. },
  13628. "warehousetype": {
  13629. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13630. "type": "integer"
  13631. },
  13632. "wrstandardcode": {
  13633. "description": "品类代码",
  13634. "type": "string"
  13635. },
  13636. "wrstandardid": {
  13637. "description": "品类ID",
  13638. "type": "string"
  13639. },
  13640. "wrstandardname": {
  13641. "description": "品类名称",
  13642. "type": "string"
  13643. }
  13644. }
  13645. },
  13646. "models.Ermcp3AreaStockApply": {
  13647. "type": "object",
  13648. "properties": {
  13649. "applyid": {
  13650. "description": "申请人",
  13651. "type": "integer"
  13652. },
  13653. "applyname": {
  13654. "description": "申请人名称",
  13655. "type": "string"
  13656. },
  13657. "applyremark": {
  13658. "description": "申请备注",
  13659. "type": "string"
  13660. },
  13661. "applysrc": {
  13662. "description": "申请来源 - 1:管理端 2:终端",
  13663. "type": "integer"
  13664. },
  13665. "applystatus": {
  13666. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13667. "type": "integer"
  13668. },
  13669. "applytime": {
  13670. "description": "申请时间",
  13671. "type": "string"
  13672. },
  13673. "auditid": {
  13674. "description": "审核人",
  13675. "type": "integer"
  13676. },
  13677. "auditname": {
  13678. "description": "审核人名称",
  13679. "type": "string"
  13680. },
  13681. "auditremark": {
  13682. "description": "审核备注",
  13683. "type": "string"
  13684. },
  13685. "auditsrc": {
  13686. "description": "审核来源 - 1:管理端 2:终端",
  13687. "type": "integer"
  13688. },
  13689. "audittime": {
  13690. "description": "审核时间",
  13691. "type": "string"
  13692. },
  13693. "audittradedate": {
  13694. "description": "审核交易日(yyyyMMdd)",
  13695. "type": "string"
  13696. },
  13697. "brandname": {
  13698. "description": "品牌名称",
  13699. "type": "string"
  13700. },
  13701. "buynickname": {
  13702. "description": "采购方昵称",
  13703. "type": "string"
  13704. },
  13705. "buyuserid": {
  13706. "description": "采购方userid",
  13707. "type": "integer"
  13708. },
  13709. "buyusername": {
  13710. "description": "采购方名称",
  13711. "type": "string"
  13712. },
  13713. "contractno": {
  13714. "description": "合同编号",
  13715. "type": "string"
  13716. },
  13717. "contractqty": {
  13718. "description": "合同量",
  13719. "type": "number"
  13720. },
  13721. "contracttype": {
  13722. "description": "现货合同类型 - 1:采购 -1:销售",
  13723. "type": "integer"
  13724. },
  13725. "deliverygoodscode": {
  13726. "description": "现货品种代码",
  13727. "type": "string"
  13728. },
  13729. "deliverygoodsid": {
  13730. "description": "现货品种id",
  13731. "type": "integer"
  13732. },
  13733. "deliverygoodsname": {
  13734. "description": "现货品种名称",
  13735. "type": "string"
  13736. },
  13737. "enumdicname": {
  13738. "description": "现货商品单位名称",
  13739. "type": "string"
  13740. },
  13741. "inoutapplyid": {
  13742. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13743. "type": "string"
  13744. },
  13745. "inouttype": {
  13746. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13747. "type": "integer"
  13748. },
  13749. "pricetype": {
  13750. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13751. "type": "integer"
  13752. },
  13753. "qty": {
  13754. "description": "数量",
  13755. "type": "number"
  13756. },
  13757. "sellnickname": {
  13758. "description": "销售方昵称",
  13759. "type": "string"
  13760. },
  13761. "selluserid": {
  13762. "description": "销售方userid",
  13763. "type": "integer"
  13764. },
  13765. "sellusername": {
  13766. "description": "销售方名称",
  13767. "type": "string"
  13768. },
  13769. "spotcontractid": {
  13770. "description": "关联现货合同ID",
  13771. "type": "string"
  13772. },
  13773. "spotgoodsbrandid": {
  13774. "description": "现货品牌ID",
  13775. "type": "integer"
  13776. },
  13777. "unitid": {
  13778. "description": "单位id",
  13779. "type": "integer"
  13780. },
  13781. "userid": {
  13782. "description": "机构ID",
  13783. "type": "integer"
  13784. },
  13785. "warehousecode": {
  13786. "description": "仓库代码",
  13787. "type": "string"
  13788. },
  13789. "warehouseinfoid": {
  13790. "description": "现货仓库ID",
  13791. "type": "string"
  13792. },
  13793. "warehousename": {
  13794. "description": "仓库名称",
  13795. "type": "string"
  13796. },
  13797. "warehousetype": {
  13798. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13799. "type": "integer"
  13800. },
  13801. "wrstandardcode": {
  13802. "description": "品类代码",
  13803. "type": "string"
  13804. },
  13805. "wrstandardid": {
  13806. "description": "品类ID",
  13807. "type": "integer"
  13808. },
  13809. "wrstandardname": {
  13810. "description": "品类名称",
  13811. "type": "string"
  13812. }
  13813. }
  13814. },
  13815. "models.Ermcp3AreaStockApplySum": {
  13816. "type": "object",
  13817. "properties": {
  13818. "brandname": {
  13819. "description": "品牌名称",
  13820. "type": "string"
  13821. },
  13822. "inouttype": {
  13823. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13824. "type": "integer"
  13825. },
  13826. "spotcontractid": {
  13827. "description": "关联现货合同ID",
  13828. "type": "string"
  13829. },
  13830. "spotgoodsbrandid": {
  13831. "description": "品牌id",
  13832. "type": "integer"
  13833. },
  13834. "totalqty": {
  13835. "description": "总数量",
  13836. "type": "number"
  13837. },
  13838. "wrstandardid": {
  13839. "description": "品类id",
  13840. "type": "integer"
  13841. },
  13842. "wrstandardname": {
  13843. "description": "品类名称",
  13844. "type": "string"
  13845. }
  13846. }
  13847. },
  13848. "models.Ermcp3AreaStockReport": {
  13849. "type": "object",
  13850. "properties": {
  13851. "brandname": {
  13852. "description": "品牌名称",
  13853. "type": "string"
  13854. },
  13855. "curstock": {
  13856. "description": "期末库存量",
  13857. "type": "number"
  13858. },
  13859. "deliverygoodscode": {
  13860. "description": "现货品种代码",
  13861. "type": "string"
  13862. },
  13863. "deliverygoodsid": {
  13864. "description": "现货品种id",
  13865. "type": "integer"
  13866. },
  13867. "deliverygoodsname": {
  13868. "description": "现货品种名称",
  13869. "type": "string"
  13870. },
  13871. "enumdicname": {
  13872. "description": "单位名称",
  13873. "type": "string"
  13874. },
  13875. "goodsunitid": {
  13876. "description": "现货单位id",
  13877. "type": "integer"
  13878. },
  13879. "oristock": {
  13880. "description": "期初库存量",
  13881. "type": "number"
  13882. },
  13883. "spotgoodsbrandid": {
  13884. "description": "现货品牌ID",
  13885. "type": "integer"
  13886. },
  13887. "todaybuyinqty": {
  13888. "description": "今日采购入库量",
  13889. "type": "number"
  13890. },
  13891. "todayproduceinqty": {
  13892. "description": "今日生产入库量",
  13893. "type": "number"
  13894. },
  13895. "todayproduceoutqty": {
  13896. "description": "今日生产出库量",
  13897. "type": "number"
  13898. },
  13899. "todayselloutqty": {
  13900. "description": "今日销售出库量",
  13901. "type": "number"
  13902. },
  13903. "unitid": {
  13904. "description": "品类单位id",
  13905. "type": "integer"
  13906. },
  13907. "updatetime": {
  13908. "description": "更新时间",
  13909. "type": "string"
  13910. },
  13911. "userid": {
  13912. "description": "机构ID",
  13913. "type": "integer"
  13914. },
  13915. "username": {
  13916. "description": "机构名称",
  13917. "type": "string"
  13918. },
  13919. "warehousecode": {
  13920. "description": "仓库代码",
  13921. "type": "string"
  13922. },
  13923. "warehouseinfoid": {
  13924. "description": "仓库ID",
  13925. "type": "string"
  13926. },
  13927. "warehousename": {
  13928. "description": "仓库名称",
  13929. "type": "string"
  13930. },
  13931. "warehousetype": {
  13932. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13933. "type": "integer"
  13934. },
  13935. "wrstandardcode": {
  13936. "description": "品类代码",
  13937. "type": "string"
  13938. },
  13939. "wrstandardid": {
  13940. "description": "品类ID",
  13941. "type": "integer"
  13942. },
  13943. "wrstandardname": {
  13944. "description": "品类名称",
  13945. "type": "string"
  13946. }
  13947. }
  13948. },
  13949. "models.Ermcp3Brand": {
  13950. "type": "object",
  13951. "properties": {
  13952. "areauserid": {
  13953. "description": "用户id",
  13954. "type": "integer"
  13955. },
  13956. "brandid": {
  13957. "description": "品牌id",
  13958. "type": "integer"
  13959. },
  13960. "brandname": {
  13961. "description": "品牌名称",
  13962. "type": "string"
  13963. },
  13964. "deliverygoodsid": {
  13965. "description": "品种ID",
  13966. "type": "integer"
  13967. }
  13968. }
  13969. },
  13970. "models.Ermcp3Contract": {
  13971. "type": "object",
  13972. "properties": {
  13973. "accountid": {
  13974. "description": "期货账户id",
  13975. "type": "string"
  13976. },
  13977. "amount": {
  13978. "description": "金额 [1:一口价、3:暂定价]",
  13979. "type": "number"
  13980. },
  13981. "attachment": {
  13982. "description": "附件",
  13983. "type": "string"
  13984. },
  13985. "auditremark": {
  13986. "description": "审核意见",
  13987. "type": "string"
  13988. },
  13989. "audittime": {
  13990. "description": "审核时间",
  13991. "type": "string"
  13992. },
  13993. "biztype": {
  13994. "description": "业务类型 1-套保 2-套利",
  13995. "type": "integer"
  13996. },
  13997. "brandname": {
  13998. "description": "品牌名称",
  13999. "type": "string"
  14000. },
  14001. "buynickname": {
  14002. "description": "销售方昵称",
  14003. "type": "string"
  14004. },
  14005. "buyuserid": {
  14006. "description": "采购方ID",
  14007. "type": "integer"
  14008. },
  14009. "buyusername": {
  14010. "description": "采购方名称",
  14011. "type": "string"
  14012. },
  14013. "contracctstatus": {
  14014. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14015. "type": "integer"
  14016. },
  14017. "contractmargin": {
  14018. "description": "合同保证金",
  14019. "type": "number"
  14020. },
  14021. "contractno": {
  14022. "description": "现货合同编号",
  14023. "type": "string"
  14024. },
  14025. "contracttype": {
  14026. "description": "现货合同类型 - 1:采购 -1:销售",
  14027. "type": "integer"
  14028. },
  14029. "convertfactor": {
  14030. "description": "标仓系数(品类)",
  14031. "type": "number"
  14032. },
  14033. "createtime": {
  14034. "description": "创建时间",
  14035. "type": "string"
  14036. },
  14037. "deliveryenddate": {
  14038. "description": "交收期(结束)",
  14039. "type": "string"
  14040. },
  14041. "deliverygoodscode": {
  14042. "description": "现货品种代码",
  14043. "type": "string"
  14044. },
  14045. "deliverygoodsid": {
  14046. "description": "现货品种ID",
  14047. "type": "integer"
  14048. },
  14049. "deliverygoodsname": {
  14050. "description": "现货品种名称",
  14051. "type": "string"
  14052. },
  14053. "deliverystartdate": {
  14054. "description": "交收期(开始)",
  14055. "type": "string"
  14056. },
  14057. "enddate": {
  14058. "description": "点价结束日期 [2:点价 3:暂定价]",
  14059. "type": "string"
  14060. },
  14061. "enumdicname": {
  14062. "description": "单位名称",
  14063. "type": "string"
  14064. },
  14065. "goodscode": {
  14066. "description": "点价合约代码",
  14067. "type": "string"
  14068. },
  14069. "goodsid": {
  14070. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14071. "type": "integer"
  14072. },
  14073. "goodsname": {
  14074. "description": "点价商品名称",
  14075. "type": "string"
  14076. },
  14077. "margin": {
  14078. "description": "当前保证金",
  14079. "type": "number"
  14080. },
  14081. "meruserid": {
  14082. "description": "跟单员id",
  14083. "type": "integer"
  14084. },
  14085. "meruserlogincode": {
  14086. "description": "跟单员登录代码",
  14087. "type": "string"
  14088. },
  14089. "price": {
  14090. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14091. "type": "number"
  14092. },
  14093. "pricemove": {
  14094. "description": "升贴水 [2:点价 3:暂定价]",
  14095. "type": "number"
  14096. },
  14097. "pricetype": {
  14098. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14099. "type": "integer"
  14100. },
  14101. "producttype": {
  14102. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14103. "type": "integer"
  14104. },
  14105. "qty": {
  14106. "description": "数量",
  14107. "type": "number"
  14108. },
  14109. "remark": {
  14110. "description": "备注",
  14111. "type": "string"
  14112. },
  14113. "saleuserid": {
  14114. "description": "业务员id",
  14115. "type": "integer"
  14116. },
  14117. "saleuserlogincode": {
  14118. "description": "业务员登录代码",
  14119. "type": "string"
  14120. },
  14121. "sellnickname": {
  14122. "description": "采购方昵称",
  14123. "type": "string"
  14124. },
  14125. "selluserid": {
  14126. "description": "销售方ID",
  14127. "type": "integer"
  14128. },
  14129. "sellusername": {
  14130. "description": "销售方名称",
  14131. "type": "string"
  14132. },
  14133. "spotcontractid": {
  14134. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14135. "type": "string"
  14136. },
  14137. "spotgoodsbrandid": {
  14138. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14139. "type": "integer"
  14140. },
  14141. "spotgoodsdesc": {
  14142. "description": "商品型号",
  14143. "type": "string"
  14144. },
  14145. "startdate": {
  14146. "description": "点价开始日期 [2:点价 3:暂定价]",
  14147. "type": "string"
  14148. },
  14149. "tradeuserid": {
  14150. "description": "交易员id",
  14151. "type": "integer"
  14152. },
  14153. "tradeuserlogincode": {
  14154. "description": "交易员登录代码",
  14155. "type": "string"
  14156. },
  14157. "unitid": {
  14158. "description": "单位id(取品类上的单位id)",
  14159. "type": "integer"
  14160. },
  14161. "updatetime": {
  14162. "description": "更新时间",
  14163. "type": "string"
  14164. },
  14165. "userid": {
  14166. "description": "所属机构ID",
  14167. "type": "integer"
  14168. },
  14169. "wrstandardcode": {
  14170. "description": "品类代码",
  14171. "type": "string"
  14172. },
  14173. "wrstandardid": {
  14174. "description": "品类ID",
  14175. "type": "integer"
  14176. },
  14177. "wrstandardname": {
  14178. "description": "品类名称",
  14179. "type": "string"
  14180. }
  14181. }
  14182. },
  14183. "models.Ermcp3ExposureDetail": {
  14184. "type": "object",
  14185. "properties": {
  14186. "areauserid": {
  14187. "description": "机构ID",
  14188. "type": "integer"
  14189. },
  14190. "changeQty": {
  14191. "description": "套保变动量",
  14192. "type": "number"
  14193. },
  14194. "contracttype": {
  14195. "description": "现货合同类型 - 1:采购 -1:销售",
  14196. "type": "integer"
  14197. },
  14198. "convertfactor": {
  14199. "description": "标仓系数",
  14200. "type": "number"
  14201. },
  14202. "convertratio": {
  14203. "description": "套保系数",
  14204. "type": "number"
  14205. },
  14206. "createtime": {
  14207. "description": "时间",
  14208. "type": "string"
  14209. },
  14210. "deliverygoodscode": {
  14211. "description": "现货品种代码",
  14212. "type": "string"
  14213. },
  14214. "deliverygoodsid": {
  14215. "description": "现货品种id",
  14216. "type": "integer"
  14217. },
  14218. "deliverygoodsname": {
  14219. "description": "现货品种名称",
  14220. "type": "string"
  14221. },
  14222. "enumdicname": {
  14223. "description": "现货商品单位名称",
  14224. "type": "string"
  14225. },
  14226. "logtype": {
  14227. "description": "类型 - 1:套保计划 2:现货合同",
  14228. "type": "integer"
  14229. },
  14230. "middlegoodsId": {
  14231. "description": "套保商品id",
  14232. "type": "integer"
  14233. },
  14234. "middlegoodscode": {
  14235. "description": "套保商品代码",
  14236. "type": "string"
  14237. },
  14238. "middlegoodsname": {
  14239. "description": "套保商品名称",
  14240. "type": "string"
  14241. },
  14242. "qty": {
  14243. "description": "数量",
  14244. "type": "number"
  14245. },
  14246. "relateNo": {
  14247. "description": "现货合同/套保计划编号",
  14248. "type": "string"
  14249. }
  14250. }
  14251. },
  14252. "models.Ermcp3Goods": {
  14253. "type": "object",
  14254. "properties": {
  14255. "agreeunit": {
  14256. "description": "合约单位(合约乘数)",
  14257. "type": "number"
  14258. },
  14259. "enumdicname": {
  14260. "description": "单位名称",
  14261. "type": "string"
  14262. },
  14263. "exexchangecode": {
  14264. "description": "交易所代码",
  14265. "type": "string"
  14266. },
  14267. "goodscode": {
  14268. "description": "期货商品代码",
  14269. "type": "string"
  14270. },
  14271. "goodsid": {
  14272. "description": "期货商品id",
  14273. "type": "integer"
  14274. },
  14275. "goodsname": {
  14276. "description": "期货商品名称",
  14277. "type": "string"
  14278. }
  14279. }
  14280. },
  14281. "models.Ermcp3GoodsGroup": {
  14282. "type": "object",
  14283. "required": [
  14284. "areauserid"
  14285. ],
  14286. "properties": {
  14287. "agreeunit": {
  14288. "description": "合约单位",
  14289. "type": "number"
  14290. },
  14291. "areauserid": {
  14292. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14293. "type": "integer"
  14294. },
  14295. "canshort": {
  14296. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14297. "type": "integer"
  14298. },
  14299. "closepricemode": {
  14300. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14301. "type": "integer"
  14302. },
  14303. "createtime": {
  14304. "description": "创建时间",
  14305. "type": "string"
  14306. },
  14307. "creatorid": {
  14308. "description": "创建人",
  14309. "type": "integer"
  14310. },
  14311. "currencyid": {
  14312. "description": "报价货币ID",
  14313. "type": "integer"
  14314. },
  14315. "decimalplace": {
  14316. "description": "报价小数位",
  14317. "type": "integer"
  14318. },
  14319. "enumdicname": {
  14320. "description": "单位名称",
  14321. "type": "string"
  14322. },
  14323. "excludecfg": {
  14324. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14325. "type": "integer"
  14326. },
  14327. "exexchangeid": {
  14328. "description": "外部交易所ID[通道交易]",
  14329. "type": "integer"
  14330. },
  14331. "goodsgroupid": {
  14332. "description": "商品组ID(自增ID)",
  14333. "type": "integer"
  14334. },
  14335. "goodsgroupname": {
  14336. "description": "商品组名称",
  14337. "type": "string"
  14338. },
  14339. "goodsgroupstatus": {
  14340. "description": "商品组状态 - 1:正常 2:注销",
  14341. "type": "integer"
  14342. },
  14343. "goodunitid": {
  14344. "description": "报价单位ID",
  14345. "type": "integer"
  14346. },
  14347. "groupcategroyid": {
  14348. "description": "品种分类ID",
  14349. "type": "integer"
  14350. },
  14351. "innerdealmode": {
  14352. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14353. "type": "integer"
  14354. },
  14355. "marketid": {
  14356. "description": "所属市场ID",
  14357. "type": "integer"
  14358. },
  14359. "modifierid": {
  14360. "description": "修改人",
  14361. "type": "integer"
  14362. },
  14363. "modifytime": {
  14364. "description": "修改时间",
  14365. "type": "string"
  14366. },
  14367. "outerdealmode": {
  14368. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14369. "type": "integer"
  14370. },
  14371. "outergroupcode": {
  14372. "description": "外部商品组代码[通道交易]",
  14373. "type": "string"
  14374. },
  14375. "quoteminunit": {
  14376. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14377. "type": "integer"
  14378. },
  14379. "quotesourcegroupid": {
  14380. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14381. "type": "integer"
  14382. },
  14383. "syncgoodsqty": {
  14384. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14385. "type": "integer"
  14386. }
  14387. }
  14388. },
  14389. "models.Ermcp3GoodsGroupEx": {
  14390. "type": "object",
  14391. "properties": {
  14392. "convertratio": {
  14393. "description": "折算系数(品种系数)",
  14394. "type": "number"
  14395. },
  14396. "enumdicname": {
  14397. "description": "单位名称",
  14398. "type": "string"
  14399. },
  14400. "exexchangecode": {
  14401. "description": "交易所代码",
  14402. "type": "string"
  14403. },
  14404. "glist": {
  14405. "description": "合约列表",
  14406. "type": "array",
  14407. "items": {
  14408. "$ref": "#/definitions/models.Ermcp3Goods"
  14409. }
  14410. },
  14411. "goodsgroupid": {
  14412. "description": "商品组id",
  14413. "type": "integer"
  14414. },
  14415. "goodsgroupname": {
  14416. "description": "商品组名称",
  14417. "type": "string"
  14418. },
  14419. "goodsunitid": {
  14420. "description": "单位id",
  14421. "type": "integer"
  14422. },
  14423. "middlegoodsid": {
  14424. "description": "套保商品id",
  14425. "type": "integer"
  14426. }
  14427. }
  14428. },
  14429. "models.Ermcp3HedgePlan": {
  14430. "type": "object",
  14431. "properties": {
  14432. "accountid": {
  14433. "description": "资金账号",
  14434. "type": "integer"
  14435. },
  14436. "areauserid": {
  14437. "description": "用户ID",
  14438. "type": "integer"
  14439. },
  14440. "audittime": {
  14441. "description": "审核时间",
  14442. "type": "string"
  14443. },
  14444. "contracttype": {
  14445. "description": "计划类型 - 1:采购 -1:销售",
  14446. "type": "integer"
  14447. },
  14448. "convertfactor": {
  14449. "description": "标仓系数",
  14450. "type": "number"
  14451. },
  14452. "createtime": {
  14453. "description": "创建时间",
  14454. "type": "string"
  14455. },
  14456. "deliverygoodscode": {
  14457. "description": "现货品种代码",
  14458. "type": "string"
  14459. },
  14460. "deliverygoodsid": {
  14461. "description": "现货品种ID",
  14462. "type": "integer"
  14463. },
  14464. "deliverygoodsname": {
  14465. "description": "现货品种名称",
  14466. "type": "string"
  14467. },
  14468. "enumdicname": {
  14469. "description": "单位名称",
  14470. "type": "string"
  14471. },
  14472. "hedgeplanid": {
  14473. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14474. "type": "string"
  14475. },
  14476. "hedgeplanno": {
  14477. "description": "套保计划编号(名称)",
  14478. "type": "string"
  14479. },
  14480. "hedgeplanstatus": {
  14481. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14482. "type": "integer"
  14483. },
  14484. "planqty": {
  14485. "description": "计划数量",
  14486. "type": "number"
  14487. },
  14488. "plantime": {
  14489. "description": "计划时间",
  14490. "type": "string"
  14491. },
  14492. "producttype": {
  14493. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14494. "type": "integer"
  14495. },
  14496. "remark": {
  14497. "description": "备注",
  14498. "type": "string"
  14499. },
  14500. "spotgoodsdesc": {
  14501. "description": "商品型号",
  14502. "type": "string"
  14503. },
  14504. "taaccountname": {
  14505. "description": "资金账号名称",
  14506. "type": "string"
  14507. },
  14508. "unitid": {
  14509. "description": "单位id",
  14510. "type": "integer"
  14511. },
  14512. "updatetime": {
  14513. "description": "更新时间",
  14514. "type": "string"
  14515. },
  14516. "wrstandardcode": {
  14517. "description": "品类代码",
  14518. "type": "string"
  14519. },
  14520. "wrstandardid": {
  14521. "description": "品类id",
  14522. "type": "integer"
  14523. },
  14524. "wrstandardname": {
  14525. "description": "品类名称",
  14526. "type": "string"
  14527. }
  14528. }
  14529. },
  14530. "models.Ermcp3MiddleGoodsDetail2": {
  14531. "type": "object",
  14532. "properties": {
  14533. "convertratio": {
  14534. "description": "套保系数(折算系数)",
  14535. "type": "number"
  14536. },
  14537. "gplist": {
  14538. "description": "关联商品组列表",
  14539. "type": "array",
  14540. "items": {
  14541. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14542. }
  14543. },
  14544. "mg": {
  14545. "description": "套保商品信息",
  14546. "type": "object",
  14547. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14548. }
  14549. }
  14550. },
  14551. "models.Ermcp3MiddleGoodsDetailEx": {
  14552. "type": "object",
  14553. "properties": {
  14554. "dglist": {
  14555. "description": "关联的现货品种列表",
  14556. "type": "array",
  14557. "items": {
  14558. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14559. }
  14560. },
  14561. "gplist": {
  14562. "description": "关联商品组列表",
  14563. "type": "array",
  14564. "items": {
  14565. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14566. }
  14567. },
  14568. "mg": {
  14569. "description": "套保商品信息",
  14570. "type": "object",
  14571. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14572. }
  14573. }
  14574. },
  14575. "models.Ermcp3ReckonAreaSpotSub": {
  14576. "type": "object",
  14577. "required": [
  14578. "areauserid",
  14579. "reckondate"
  14580. ],
  14581. "properties": {
  14582. "accountid": {
  14583. "description": "期货账户ID",
  14584. "type": "integer"
  14585. },
  14586. "accountname": {
  14587. "description": "所属机构名称",
  14588. "type": "string"
  14589. },
  14590. "areauserid": {
  14591. "description": "账户所属机构",
  14592. "type": "integer"
  14593. },
  14594. "brandname": {
  14595. "description": "品牌名称",
  14596. "type": "string"
  14597. },
  14598. "buycontractinqty": {
  14599. "description": "采购合同入库量",
  14600. "type": "number"
  14601. },
  14602. "buypricedamount": {
  14603. "description": "采购合同已定价金额",
  14604. "type": "number"
  14605. },
  14606. "buypricedqty": {
  14607. "description": "采购合同已定价数量",
  14608. "type": "number"
  14609. },
  14610. "buyreckonqty": {
  14611. "description": "采购合同交收量",
  14612. "type": "number"
  14613. },
  14614. "deliverygoodscode": {
  14615. "description": "现货商品代码",
  14616. "type": "string"
  14617. },
  14618. "deliverygoodsid": {
  14619. "description": "现货品种ID",
  14620. "type": "integer"
  14621. },
  14622. "deliverygoodsname": {
  14623. "description": "现货商品名称",
  14624. "type": "string"
  14625. },
  14626. "enumdicname": {
  14627. "description": "现货商品单位名称",
  14628. "type": "string"
  14629. },
  14630. "goodsunitid": {
  14631. "description": "现货商品单位id",
  14632. "type": "integer"
  14633. },
  14634. "oribuycontractinqty": {
  14635. "description": "期初采购合同入库量",
  14636. "type": "number"
  14637. },
  14638. "oribuypricedamount": {
  14639. "description": "期初采购合同已定价金额",
  14640. "type": "number"
  14641. },
  14642. "oribuypricedqty": {
  14643. "description": "期初采购合同已定价数量",
  14644. "type": "number"
  14645. },
  14646. "oribuyreckonqty": {
  14647. "description": "期初采购合同交收量",
  14648. "type": "number"
  14649. },
  14650. "oriproduceinqty": {
  14651. "description": "期初生产入库量",
  14652. "type": "number"
  14653. },
  14654. "oriproduceoutqty": {
  14655. "description": "期初生产出库量",
  14656. "type": "number"
  14657. },
  14658. "orisellcontractoutqty": {
  14659. "description": "期初销售合同出库量",
  14660. "type": "number"
  14661. },
  14662. "orisellpricedamount": {
  14663. "description": "期初销售合同已定价金额",
  14664. "type": "number"
  14665. },
  14666. "orisellpricedqty": {
  14667. "description": "期初销售合同已定价数量",
  14668. "type": "number"
  14669. },
  14670. "orisellreckonqty": {
  14671. "description": "期初销售合同交收量",
  14672. "type": "number"
  14673. },
  14674. "produceinqty": {
  14675. "description": "生产入库量",
  14676. "type": "number"
  14677. },
  14678. "produceoutqty": {
  14679. "description": "生产出库量",
  14680. "type": "number"
  14681. },
  14682. "reckondate": {
  14683. "description": "日照时期(yyyyMMdd)",
  14684. "type": "string"
  14685. },
  14686. "sellcontractoutqty": {
  14687. "description": "销售合同出库量",
  14688. "type": "number"
  14689. },
  14690. "sellpricedamount": {
  14691. "description": "销售合同已定价金额",
  14692. "type": "number"
  14693. },
  14694. "sellpricedqty": {
  14695. "description": "销售合同已定价数量",
  14696. "type": "number"
  14697. },
  14698. "sellreckonqty": {
  14699. "description": "销售合同交收量",
  14700. "type": "number"
  14701. },
  14702. "spotgoodsbrandid": {
  14703. "description": "现货品牌ID",
  14704. "type": "integer"
  14705. },
  14706. "todaybuyreckonqty": {
  14707. "description": "今日采购合同已确定数量",
  14708. "type": "number"
  14709. },
  14710. "todaysellreckonqty": {
  14711. "description": "今日销售合同已确定数量",
  14712. "type": "number"
  14713. },
  14714. "totalbuypricedqty": {
  14715. "description": "采购定价量 = 期末 - 期初",
  14716. "type": "number"
  14717. },
  14718. "totalsellpricedqty": {
  14719. "description": "销售定价量 = 期末 - 期初",
  14720. "type": "number"
  14721. },
  14722. "totalspotqty": {
  14723. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  14724. "type": "number"
  14725. },
  14726. "updatetime": {
  14727. "description": "更新时间",
  14728. "type": "string"
  14729. },
  14730. "wrfactortypeid": {
  14731. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14732. "type": "integer"
  14733. },
  14734. "wrstandardcode": {
  14735. "description": "品类代码",
  14736. "type": "string"
  14737. },
  14738. "wrstandardid": {
  14739. "description": "现货品类ID",
  14740. "type": "integer"
  14741. },
  14742. "wrstandardname": {
  14743. "description": "品类名称",
  14744. "type": "string"
  14745. }
  14746. }
  14747. },
  14748. "models.Ermcp3ReportAreaSpotPL": {
  14749. "type": "object",
  14750. "properties": {
  14751. "actualpl": {
  14752. "description": "实际损益",
  14753. "type": "number"
  14754. },
  14755. "areauserid": {
  14756. "description": "所属机构",
  14757. "type": "integer"
  14758. },
  14759. "brandname": {
  14760. "description": "品牌名称",
  14761. "type": "string"
  14762. },
  14763. "curamount": {
  14764. "description": "期末额",
  14765. "type": "number"
  14766. },
  14767. "curaverageprice": {
  14768. "description": "期末均价",
  14769. "type": "number"
  14770. },
  14771. "curbuyamount": {
  14772. "description": "期末采购总额(采购额)",
  14773. "type": "number"
  14774. },
  14775. "curbuyqty": {
  14776. "description": "期末采购总量",
  14777. "type": "number"
  14778. },
  14779. "curmarketvalue": {
  14780. "description": "参考市值",
  14781. "type": "number"
  14782. },
  14783. "curqty": {
  14784. "description": "期末量",
  14785. "type": "number"
  14786. },
  14787. "cursellamount": {
  14788. "description": "期末销售总额(销售额)",
  14789. "type": "number"
  14790. },
  14791. "cursellqty": {
  14792. "description": "期末销售总量",
  14793. "type": "number"
  14794. },
  14795. "curspotprice": {
  14796. "description": "参考市价",
  14797. "type": "number"
  14798. },
  14799. "deliverygoodscode": {
  14800. "description": "现货品种代码",
  14801. "type": "string"
  14802. },
  14803. "deliverygoodsid": {
  14804. "description": "现货品种id",
  14805. "type": "integer"
  14806. },
  14807. "deliverygoodsname": {
  14808. "description": "现货品种名称",
  14809. "type": "string"
  14810. },
  14811. "enumdicname": {
  14812. "description": "现货商品单位名称",
  14813. "type": "string"
  14814. },
  14815. "floatpl": {
  14816. "description": "浮动损益",
  14817. "type": "number"
  14818. },
  14819. "gbenumdicname": {
  14820. "description": "品类单位名称",
  14821. "type": "string"
  14822. },
  14823. "gbunitid": {
  14824. "description": "现货单位id",
  14825. "type": "integer"
  14826. },
  14827. "modelname": {
  14828. "description": "品类名称",
  14829. "type": "string"
  14830. },
  14831. "oriamount": {
  14832. "description": "期初额",
  14833. "type": "number"
  14834. },
  14835. "oriaverageprice": {
  14836. "description": "期初均价",
  14837. "type": "number"
  14838. },
  14839. "oribuyamount": {
  14840. "description": "期初采购总额",
  14841. "type": "number"
  14842. },
  14843. "oribuyqty": {
  14844. "description": "期初采购总量",
  14845. "type": "number"
  14846. },
  14847. "oriqty": {
  14848. "description": "期初量",
  14849. "type": "number"
  14850. },
  14851. "orisellamount": {
  14852. "description": "期初销售总额",
  14853. "type": "number"
  14854. },
  14855. "orisellqty": {
  14856. "description": "期初销售总量",
  14857. "type": "number"
  14858. },
  14859. "spotgoodsbrandid": {
  14860. "description": "现货品牌ID",
  14861. "type": "integer"
  14862. },
  14863. "todaybuyamount": {
  14864. "description": "今日采购额",
  14865. "type": "number"
  14866. },
  14867. "todaybuyaverageprice": {
  14868. "description": "今日采购均价(采购均价)",
  14869. "type": "number"
  14870. },
  14871. "todaybuyqty": {
  14872. "description": "今日采购量(采购增量)",
  14873. "type": "number"
  14874. },
  14875. "todaysellamount": {
  14876. "description": "今日销售额",
  14877. "type": "number"
  14878. },
  14879. "todaysellaverageprice": {
  14880. "description": "今日销售均价(销售均价)",
  14881. "type": "number"
  14882. },
  14883. "todaysellqty": {
  14884. "description": "今日销售量(销售增量)",
  14885. "type": "number"
  14886. },
  14887. "unitid": {
  14888. "description": "品类单位id",
  14889. "type": "integer"
  14890. },
  14891. "updatetime": {
  14892. "description": "更新时间",
  14893. "type": "string"
  14894. },
  14895. "wrstandardcode": {
  14896. "description": "品类代码",
  14897. "type": "string"
  14898. },
  14899. "wrstandardid": {
  14900. "description": "品类ID",
  14901. "type": "integer"
  14902. },
  14903. "wrstandardname": {
  14904. "description": "品类名称",
  14905. "type": "string"
  14906. }
  14907. }
  14908. },
  14909. "models.Ermcp3ReportAreaSpotSub": {
  14910. "type": "object",
  14911. "required": [
  14912. "areauserid"
  14913. ],
  14914. "properties": {
  14915. "accountid": {
  14916. "description": "期货账户ID",
  14917. "type": "integer"
  14918. },
  14919. "accountname": {
  14920. "description": "所属机构名称",
  14921. "type": "string"
  14922. },
  14923. "areauserid": {
  14924. "description": "账户所属机构",
  14925. "type": "integer"
  14926. },
  14927. "brandname": {
  14928. "description": "品牌名称",
  14929. "type": "string"
  14930. },
  14931. "buycontractinqty": {
  14932. "description": "采购合同入库量【期末】",
  14933. "type": "number"
  14934. },
  14935. "buypricedamount": {
  14936. "description": "采购合同已定价金额【期末】",
  14937. "type": "number"
  14938. },
  14939. "buypricedqty": {
  14940. "description": "采购合同已定价数量【期末】",
  14941. "type": "number"
  14942. },
  14943. "buyreckonqty": {
  14944. "description": "采购合同交收量【期末】",
  14945. "type": "number"
  14946. },
  14947. "cycletime": {
  14948. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14949. "type": "string"
  14950. },
  14951. "cycletype": {
  14952. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14953. "type": "integer"
  14954. },
  14955. "deliverygoodscode": {
  14956. "description": "现货商品代码",
  14957. "type": "string"
  14958. },
  14959. "deliverygoodsid": {
  14960. "description": "现货品种ID",
  14961. "type": "integer"
  14962. },
  14963. "deliverygoodsname": {
  14964. "description": "现货商品名称",
  14965. "type": "string"
  14966. },
  14967. "enumdicname": {
  14968. "description": "现货商品单位名称",
  14969. "type": "string"
  14970. },
  14971. "goodsunitid": {
  14972. "description": "现货商品单位id",
  14973. "type": "integer"
  14974. },
  14975. "oribuycontractinqty": {
  14976. "description": "期初采购合同入库量【期初】",
  14977. "type": "number"
  14978. },
  14979. "oribuypricedamount": {
  14980. "description": "期初采购合同已定价金额【期初】",
  14981. "type": "number"
  14982. },
  14983. "oribuypricedqty": {
  14984. "description": "期初采购合同已定价数量【期初】",
  14985. "type": "number"
  14986. },
  14987. "oribuyreckonqty": {
  14988. "description": "期初采购合同交收量【期初】",
  14989. "type": "number"
  14990. },
  14991. "oriproduceinqty": {
  14992. "description": "期初生产入库量【期初】",
  14993. "type": "number"
  14994. },
  14995. "oriproduceoutqty": {
  14996. "description": "期初生产出库量【期初】",
  14997. "type": "number"
  14998. },
  14999. "orisellcontractoutqty": {
  15000. "description": "期初销售合同出库量【期初】",
  15001. "type": "number"
  15002. },
  15003. "orisellpricedamount": {
  15004. "description": "期初销售合同已定价金额【期初】",
  15005. "type": "number"
  15006. },
  15007. "orisellpricedqty": {
  15008. "description": "期初销售合同已定价数量【期初】",
  15009. "type": "number"
  15010. },
  15011. "orisellreckonqty": {
  15012. "description": "期初销售合同交收量【期初】",
  15013. "type": "number"
  15014. },
  15015. "produceinqty": {
  15016. "description": "生产入库量【期末】",
  15017. "type": "number"
  15018. },
  15019. "produceoutqty": {
  15020. "description": "生产出库量【期末】",
  15021. "type": "number"
  15022. },
  15023. "sellcontractoutqty": {
  15024. "description": "销售合同出库量【期末】",
  15025. "type": "number"
  15026. },
  15027. "sellpricedamount": {
  15028. "description": "销售合同已定价金额【期末】",
  15029. "type": "number"
  15030. },
  15031. "sellpricedqty": {
  15032. "description": "销售合同已定价数量【期末】",
  15033. "type": "number"
  15034. },
  15035. "sellreckonqty": {
  15036. "description": "销售合同交收量【期末】",
  15037. "type": "number"
  15038. },
  15039. "spotgoodsbrandid": {
  15040. "description": "现货品牌ID",
  15041. "type": "integer"
  15042. },
  15043. "todaybuyreckonqty": {
  15044. "description": "今日采购合同已确定数量【汇总】",
  15045. "type": "number"
  15046. },
  15047. "todaysellreckonqty": {
  15048. "description": "今日销售合同已确定数量【汇总】",
  15049. "type": "number"
  15050. },
  15051. "totalbuypricedqty": {
  15052. "description": "采购定价量 = 期末 - 期初",
  15053. "type": "number"
  15054. },
  15055. "totalsellpricedqty": {
  15056. "description": "销售定价量 = 期末 - 期初",
  15057. "type": "number"
  15058. },
  15059. "totalspotqty": {
  15060. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  15061. "type": "number"
  15062. },
  15063. "updatetime": {
  15064. "description": "更新时间",
  15065. "type": "string"
  15066. },
  15067. "wrfactortypeid": {
  15068. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15069. "type": "integer"
  15070. },
  15071. "wrstandardcode": {
  15072. "description": "品类代码",
  15073. "type": "string"
  15074. },
  15075. "wrstandardid": {
  15076. "description": "品类ID",
  15077. "type": "integer"
  15078. },
  15079. "wrstandardname": {
  15080. "description": "品类名称",
  15081. "type": "string"
  15082. }
  15083. }
  15084. },
  15085. "models.Ermcp3ReportOPLog": {
  15086. "type": "object",
  15087. "properties": {
  15088. "applyid": {
  15089. "description": "操作人",
  15090. "type": "integer"
  15091. },
  15092. "applyname": {
  15093. "description": "操作人名称",
  15094. "type": "string"
  15095. },
  15096. "biztype": {
  15097. "description": "业务类型 - 1:套保计划 2:现货合同",
  15098. "type": "integer"
  15099. },
  15100. "brandname": {
  15101. "description": "品牌名称",
  15102. "type": "string"
  15103. },
  15104. "contracttype": {
  15105. "description": "现货合同类型 - 1:采购 -1:销售",
  15106. "type": "integer"
  15107. },
  15108. "deliverygoodscode": {
  15109. "description": "现货品种代码",
  15110. "type": "string"
  15111. },
  15112. "deliverygoodsid": {
  15113. "description": "现货品种id",
  15114. "type": "integer"
  15115. },
  15116. "deliverygoodsname": {
  15117. "description": "现货品种名称",
  15118. "type": "string"
  15119. },
  15120. "enumdicName": {
  15121. "description": "单位名称",
  15122. "type": "string"
  15123. },
  15124. "logdatetime": {
  15125. "description": "流水日期(时间)",
  15126. "type": "string"
  15127. },
  15128. "logid": {
  15129. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  15130. "type": "string"
  15131. },
  15132. "logtypename": {
  15133. "description": "合同类型(名称)",
  15134. "type": "string"
  15135. },
  15136. "logvalue": {
  15137. "description": "数值",
  15138. "type": "string"
  15139. },
  15140. "operatelogtype": {
  15141. "description": "操作流水类型 -",
  15142. "type": "integer"
  15143. },
  15144. "optypename": {
  15145. "description": "流水类型名称",
  15146. "type": "string"
  15147. },
  15148. "relatedid": {
  15149. "description": "现货合同ID\\套保计划",
  15150. "type": "string"
  15151. },
  15152. "relatedno": {
  15153. "description": "合同编号",
  15154. "type": "string"
  15155. },
  15156. "spotgoodsbrandid": {
  15157. "description": "品牌id",
  15158. "type": "integer"
  15159. },
  15160. "tradedate": {
  15161. "description": "交易日(yyyyMMdd)",
  15162. "type": "string"
  15163. },
  15164. "userid": {
  15165. "description": "机构ID",
  15166. "type": "integer"
  15167. },
  15168. "wrstandardcode": {
  15169. "description": "品类代码",
  15170. "type": "string"
  15171. },
  15172. "wrstandardid": {
  15173. "description": "品类id",
  15174. "type": "integer"
  15175. },
  15176. "wrstandardname": {
  15177. "description": "品类名称",
  15178. "type": "string"
  15179. }
  15180. }
  15181. },
  15182. "models.Ermcp3SellBuyContract": {
  15183. "type": "object",
  15184. "properties": {
  15185. "accountname": {
  15186. "description": "账户名称",
  15187. "type": "string"
  15188. },
  15189. "attachment": {
  15190. "description": "附件",
  15191. "type": "string"
  15192. },
  15193. "audittime": {
  15194. "description": "审核时间",
  15195. "type": "string"
  15196. },
  15197. "brandname": {
  15198. "description": "品牌名称",
  15199. "type": "string"
  15200. },
  15201. "contracctstatus": {
  15202. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15203. "type": "integer"
  15204. },
  15205. "contractmargin": {
  15206. "description": "合同保证金",
  15207. "type": "number"
  15208. },
  15209. "contractno": {
  15210. "description": "合同编号",
  15211. "type": "string"
  15212. },
  15213. "contracttype": {
  15214. "description": "合同类型 1-采购, -1-销售",
  15215. "type": "integer"
  15216. },
  15217. "convertfactor": {
  15218. "description": "标仓系数(品类)",
  15219. "type": "number"
  15220. },
  15221. "createtime": {
  15222. "description": "创建时间",
  15223. "type": "string"
  15224. },
  15225. "daikaiamount": {
  15226. "description": "应收(开)票额",
  15227. "type": "number"
  15228. },
  15229. "deliveryenddate": {
  15230. "description": "交割结束日",
  15231. "type": "string"
  15232. },
  15233. "deliverygoodscode": {
  15234. "description": "现货品种代码",
  15235. "type": "string"
  15236. },
  15237. "deliverygoodsid": {
  15238. "description": "现货商品ID",
  15239. "type": "integer"
  15240. },
  15241. "deliverygoodsname": {
  15242. "description": "现货品种名称",
  15243. "type": "string"
  15244. },
  15245. "deliverystartdate": {
  15246. "description": "交割开始日",
  15247. "type": "string"
  15248. },
  15249. "enddate": {
  15250. "description": "点价结束日",
  15251. "type": "string"
  15252. },
  15253. "enumdicname": {
  15254. "description": "单位名称",
  15255. "type": "string"
  15256. },
  15257. "goodscode": {
  15258. "description": "点价商品代码",
  15259. "type": "string"
  15260. },
  15261. "goodsid": {
  15262. "description": "点价商品ID",
  15263. "type": "integer"
  15264. },
  15265. "goodsname": {
  15266. "description": "点价商品名称",
  15267. "type": "string"
  15268. },
  15269. "invoiceamount": {
  15270. "description": "已开票额",
  15271. "type": "number"
  15272. },
  15273. "loanamount": {
  15274. "description": "贷款总额=已定价额+调整金额",
  15275. "type": "number"
  15276. },
  15277. "margin": {
  15278. "description": "保证金",
  15279. "type": "number"
  15280. },
  15281. "nickname": {
  15282. "description": "账户昵称",
  15283. "type": "string"
  15284. },
  15285. "payamount": {
  15286. "description": "已收付额(收款或付款)",
  15287. "type": "number"
  15288. },
  15289. "preinvoiceamount": {
  15290. "description": "预收(开)票额",
  15291. "type": "number"
  15292. },
  15293. "prepayamount": {
  15294. "description": "预收付额",
  15295. "type": "number"
  15296. },
  15297. "price": {
  15298. "description": "价格",
  15299. "type": "number"
  15300. },
  15301. "pricedamount": {
  15302. "description": "已定价额",
  15303. "type": "number"
  15304. },
  15305. "pricedavg": {
  15306. "description": "已点均价",
  15307. "type": "number"
  15308. },
  15309. "pricedqty": {
  15310. "description": "已定价量",
  15311. "type": "number"
  15312. },
  15313. "pricemove": {
  15314. "description": "升贴水",
  15315. "type": "number"
  15316. },
  15317. "pricetype": {
  15318. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15319. "type": "integer"
  15320. },
  15321. "producttype": {
  15322. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15323. "type": "integer"
  15324. },
  15325. "qty": {
  15326. "description": "合同量",
  15327. "type": "number"
  15328. },
  15329. "reckonadjustamount": {
  15330. "description": "调整金额",
  15331. "type": "number"
  15332. },
  15333. "reckonedamount": {
  15334. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  15335. "type": "number"
  15336. },
  15337. "reckonotheramount": {
  15338. "description": "其它费用",
  15339. "type": "number"
  15340. },
  15341. "reckonrealqty": {
  15342. "description": "已确定量",
  15343. "type": "number"
  15344. },
  15345. "remark": {
  15346. "description": "备注",
  15347. "type": "string"
  15348. },
  15349. "spotcontractid": {
  15350. "description": "合同ID",
  15351. "type": "string"
  15352. },
  15353. "spotgoodsbrandid": {
  15354. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15355. "type": "integer"
  15356. },
  15357. "spotgoodsdesc": {
  15358. "description": "商品型号(商品规格)",
  15359. "type": "string"
  15360. },
  15361. "startdate": {
  15362. "description": "点价开始日",
  15363. "type": "string"
  15364. },
  15365. "totalamount": {
  15366. "description": "合计总额",
  15367. "type": "number"
  15368. },
  15369. "unpayamount": {
  15370. "description": "应收付款额(应支付或应收款)",
  15371. "type": "number"
  15372. },
  15373. "unpricedqty": {
  15374. "description": "未定价量",
  15375. "type": "number"
  15376. },
  15377. "unsureqty": {
  15378. "description": "未确定量",
  15379. "type": "number"
  15380. },
  15381. "userid": {
  15382. "description": "机构ID",
  15383. "type": "integer"
  15384. },
  15385. "wrstandardcode": {
  15386. "description": "品类代码",
  15387. "type": "string"
  15388. },
  15389. "wrstandardid": {
  15390. "description": "品类ID",
  15391. "type": "integer"
  15392. },
  15393. "wrstandardname": {
  15394. "description": "品类名称",
  15395. "type": "string"
  15396. }
  15397. }
  15398. },
  15399. "models.Ermcp3SpotGoodsPrice": {
  15400. "type": "object",
  15401. "properties": {
  15402. "areauserid": {
  15403. "description": "所属机构id",
  15404. "type": "integer"
  15405. },
  15406. "brandname": {
  15407. "description": "品牌名称",
  15408. "type": "string"
  15409. },
  15410. "currencyid": {
  15411. "description": "报价货币ID",
  15412. "type": "integer"
  15413. },
  15414. "deliverygoodscode": {
  15415. "description": "现货商品代码",
  15416. "type": "string"
  15417. },
  15418. "deliverygoodsid": {
  15419. "description": "现货商品id",
  15420. "type": "integer"
  15421. },
  15422. "deliverygoodsname": {
  15423. "description": "现货商品名称",
  15424. "type": "string"
  15425. },
  15426. "enumdicname": {
  15427. "description": "现货商品单位名称",
  15428. "type": "string"
  15429. },
  15430. "gbenumdicname": {
  15431. "description": "品类单位名称",
  15432. "type": "string"
  15433. },
  15434. "gmunitid": {
  15435. "description": "品类单位id",
  15436. "type": "integer"
  15437. },
  15438. "isvalid": {
  15439. "description": "是否有效 - 0:无效 1:有效",
  15440. "type": "integer"
  15441. },
  15442. "operateid": {
  15443. "description": "最后操作人",
  15444. "type": "integer"
  15445. },
  15446. "operatesrc": {
  15447. "description": "最后操作来源 - 1:管理端 2:终端",
  15448. "type": "integer"
  15449. },
  15450. "operatetime": {
  15451. "description": "最后操作时间",
  15452. "type": "string"
  15453. },
  15454. "operatorname": {
  15455. "description": "操作人名称",
  15456. "type": "string"
  15457. },
  15458. "spotgoodsbrandid": {
  15459. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15460. "type": "integer"
  15461. },
  15462. "spotgoodsprice": {
  15463. "description": "现货价格",
  15464. "type": "number"
  15465. },
  15466. "tradedate": {
  15467. "description": "交易日(yyyyMMdd)",
  15468. "type": "string"
  15469. },
  15470. "unitid": {
  15471. "description": "现货商品单位id",
  15472. "type": "integer"
  15473. },
  15474. "wrstandardcode": {
  15475. "description": "品类代码",
  15476. "type": "string"
  15477. },
  15478. "wrstandardid": {
  15479. "description": "现货品类ID(通用则为0)",
  15480. "type": "integer"
  15481. },
  15482. "wrstandardname": {
  15483. "description": "品类名称",
  15484. "type": "string"
  15485. }
  15486. }
  15487. },
  15488. "models.Ermcp3SpotGoodsPriceLog": {
  15489. "type": "object",
  15490. "properties": {
  15491. "areauserid": {
  15492. "description": "所属机构id",
  15493. "type": "integer"
  15494. },
  15495. "brandname": {
  15496. "description": "品牌名称",
  15497. "type": "string"
  15498. },
  15499. "currencyid": {
  15500. "description": "报价货币ID",
  15501. "type": "integer"
  15502. },
  15503. "deliverygoodscode": {
  15504. "description": "现货商品代码",
  15505. "type": "string"
  15506. },
  15507. "deliverygoodsid": {
  15508. "description": "现货商品id",
  15509. "type": "integer"
  15510. },
  15511. "deliverygoodsname": {
  15512. "description": "现货商品名称",
  15513. "type": "string"
  15514. },
  15515. "enumdicname": {
  15516. "description": "现货商品单位名称",
  15517. "type": "string"
  15518. },
  15519. "gbenumdicname": {
  15520. "description": "品类单位名称",
  15521. "type": "string"
  15522. },
  15523. "gmunitid": {
  15524. "description": "品类单位id",
  15525. "type": "integer"
  15526. },
  15527. "logid": {
  15528. "description": "日志id",
  15529. "type": "integer"
  15530. },
  15531. "operateid": {
  15532. "description": "最后操作人",
  15533. "type": "integer"
  15534. },
  15535. "operatesrc": {
  15536. "description": "最后操作来源 - 1:管理端 2:终端",
  15537. "type": "integer"
  15538. },
  15539. "operatetime": {
  15540. "description": "最后操作时间",
  15541. "type": "string"
  15542. },
  15543. "operatorname": {
  15544. "description": "操作人名称",
  15545. "type": "string"
  15546. },
  15547. "spotgoodsbrandid": {
  15548. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15549. "type": "integer"
  15550. },
  15551. "spotgoodsprice": {
  15552. "description": "现货价格",
  15553. "type": "number"
  15554. },
  15555. "tradedate": {
  15556. "description": "交易日(yyyyMMdd)",
  15557. "type": "string"
  15558. },
  15559. "unitid": {
  15560. "description": "现货商品单位id",
  15561. "type": "integer"
  15562. },
  15563. "wrstandardcode": {
  15564. "description": "品类代码",
  15565. "type": "string"
  15566. },
  15567. "wrstandardid": {
  15568. "description": "现货品类ID(通用则为0)",
  15569. "type": "integer"
  15570. },
  15571. "wrstandardname": {
  15572. "description": "品类名称",
  15573. "type": "string"
  15574. }
  15575. }
  15576. },
  15577. "models.Ermcp3Wrstandard": {
  15578. "type": "object",
  15579. "properties": {
  15580. "areauserid": {
  15581. "description": "所属机构",
  15582. "type": "integer"
  15583. },
  15584. "convertfactor": {
  15585. "description": "标仓系数",
  15586. "type": "number"
  15587. },
  15588. "createtime": {
  15589. "description": "创建时间",
  15590. "type": "string"
  15591. },
  15592. "creatorid": {
  15593. "description": "创建人",
  15594. "type": "integer"
  15595. },
  15596. "deliverygoodsid": {
  15597. "description": "现货品种ID",
  15598. "type": "integer"
  15599. },
  15600. "enumdicname": {
  15601. "description": "品类单位名称",
  15602. "type": "string"
  15603. },
  15604. "isvalid": {
  15605. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15606. "type": "integer"
  15607. },
  15608. "minivalue": {
  15609. "description": "最小变动值",
  15610. "type": "integer"
  15611. },
  15612. "minivaluedp": {
  15613. "description": "最小变动值小数位",
  15614. "type": "integer"
  15615. },
  15616. "realminivalue": {
  15617. "description": "实际最小变动值",
  15618. "type": "integer"
  15619. },
  15620. "realminivaluedp": {
  15621. "description": "实际最小变动值小数位",
  15622. "type": "integer"
  15623. },
  15624. "remark": {
  15625. "description": "备注",
  15626. "type": "string"
  15627. },
  15628. "unitid": {
  15629. "description": "品类单位ID",
  15630. "type": "integer"
  15631. },
  15632. "updatetime": {
  15633. "description": "更新时间",
  15634. "type": "string"
  15635. },
  15636. "wrstandardcode": {
  15637. "description": "品类代码",
  15638. "type": "string"
  15639. },
  15640. "wrstandardid": {
  15641. "description": "品类ID(SEQ_WRSTANDARD)",
  15642. "type": "integer"
  15643. },
  15644. "wrstandardname": {
  15645. "description": "品类名称",
  15646. "type": "string"
  15647. }
  15648. }
  15649. },
  15650. "models.ErmcpAreaSpotDetailModel": {
  15651. "type": "object",
  15652. "properties": {
  15653. "contracttype": {
  15654. "description": "合同类型 1-采购 -1-销售",
  15655. "type": "integer"
  15656. },
  15657. "createtime": {
  15658. "description": "创建时间",
  15659. "type": "string"
  15660. },
  15661. "enumdicname": {
  15662. "description": "现货商品单位名称",
  15663. "type": "string"
  15664. },
  15665. "logtype": {
  15666. "description": "记录类型 1-套保 2-现货合同",
  15667. "type": "integer"
  15668. },
  15669. "qty": {
  15670. "description": "数量",
  15671. "type": "number"
  15672. },
  15673. "recordname": {
  15674. "description": "类型名称",
  15675. "type": "string"
  15676. },
  15677. "relatedid": {
  15678. "description": "套保计划ID/现货合同ID",
  15679. "type": "string"
  15680. },
  15681. "relatedno": {
  15682. "description": "编号",
  15683. "type": "string"
  15684. },
  15685. "strtime": {
  15686. "description": "时间",
  15687. "type": "string"
  15688. },
  15689. "wrstandardcode": {
  15690. "description": "现货商品代码",
  15691. "type": "string"
  15692. },
  15693. "wrstandardname": {
  15694. "description": "现货商品名称",
  15695. "type": "string"
  15696. }
  15697. }
  15698. },
  15699. "models.ErmcpAreaStock": {
  15700. "type": "object",
  15701. "properties": {
  15702. "brandname": {
  15703. "description": "品牌名称",
  15704. "type": "string"
  15705. },
  15706. "curstock": {
  15707. "description": "期末库存量(今日量)",
  15708. "type": "number"
  15709. },
  15710. "deliverygoodsid": {
  15711. "description": "现货品种ID",
  15712. "type": "integer"
  15713. },
  15714. "enumdicname": {
  15715. "description": "单位名称",
  15716. "type": "string"
  15717. },
  15718. "modelname": {
  15719. "description": "型号名称",
  15720. "type": "string"
  15721. },
  15722. "oristock": {
  15723. "description": "期初库存量(昨日量)",
  15724. "type": "number"
  15725. },
  15726. "spotgoodsbrandid": {
  15727. "description": "现货品牌ID",
  15728. "type": "integer"
  15729. },
  15730. "spotgoodsmodelid": {
  15731. "description": "现货型号ID",
  15732. "type": "integer"
  15733. },
  15734. "todaybuyinqty": {
  15735. "description": "今日采购入库量",
  15736. "type": "number"
  15737. },
  15738. "todayproduceinqty": {
  15739. "description": "今日生产入库量",
  15740. "type": "number"
  15741. },
  15742. "todayproduceoutqty": {
  15743. "description": "今日生产出库量",
  15744. "type": "number"
  15745. },
  15746. "todayselloutqty": {
  15747. "description": "今日销售出库量",
  15748. "type": "number"
  15749. },
  15750. "unitid": {
  15751. "description": "单位id",
  15752. "type": "integer"
  15753. },
  15754. "updatetime": {
  15755. "description": "更新时间",
  15756. "type": "string"
  15757. },
  15758. "userid": {
  15759. "description": "机构ID",
  15760. "type": "integer"
  15761. },
  15762. "username": {
  15763. "description": "机构名称",
  15764. "type": "string"
  15765. },
  15766. "warehousecode": {
  15767. "description": "仓库代码",
  15768. "type": "string"
  15769. },
  15770. "warehouseinfoid": {
  15771. "description": "仓库ID",
  15772. "type": "string"
  15773. },
  15774. "warehousename": {
  15775. "description": "仓库名称",
  15776. "type": "string"
  15777. },
  15778. "warehousetype": {
  15779. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15780. "type": "integer"
  15781. },
  15782. "wrstandardcode": {
  15783. "description": "现货商品代码",
  15784. "type": "string"
  15785. },
  15786. "wrstandardid": {
  15787. "description": "现货商品ID",
  15788. "type": "string"
  15789. },
  15790. "wrstandardname": {
  15791. "description": "现货商品名称",
  15792. "type": "string"
  15793. }
  15794. }
  15795. },
  15796. "models.ErmcpAreaStockApply": {
  15797. "type": "object",
  15798. "properties": {
  15799. "applyid": {
  15800. "description": "申请人",
  15801. "type": "integer"
  15802. },
  15803. "applyname": {
  15804. "description": "申请人名称",
  15805. "type": "string"
  15806. },
  15807. "applyremark": {
  15808. "description": "申请备注",
  15809. "type": "string"
  15810. },
  15811. "applysrc": {
  15812. "description": "申请来源 - 1:管理端 2:终端",
  15813. "type": "integer"
  15814. },
  15815. "applystatus": {
  15816. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15817. "type": "integer"
  15818. },
  15819. "applytime": {
  15820. "description": "申请时间",
  15821. "type": "string"
  15822. },
  15823. "auditid": {
  15824. "description": "审核人",
  15825. "type": "integer"
  15826. },
  15827. "auditname": {
  15828. "description": "审核人名称",
  15829. "type": "string"
  15830. },
  15831. "auditremark": {
  15832. "description": "审核备注",
  15833. "type": "string"
  15834. },
  15835. "auditsrc": {
  15836. "description": "审核来源 - 1:管理端 2:终端",
  15837. "type": "integer"
  15838. },
  15839. "audittime": {
  15840. "description": "审核时间",
  15841. "type": "string"
  15842. },
  15843. "audittradedate": {
  15844. "description": "审核交易日(yyyyMMdd)",
  15845. "type": "string"
  15846. },
  15847. "brandname": {
  15848. "description": "品牌名称",
  15849. "type": "string"
  15850. },
  15851. "buyuserid": {
  15852. "description": "采购方userid",
  15853. "type": "integer"
  15854. },
  15855. "buyusername": {
  15856. "description": "采购方名称",
  15857. "type": "string"
  15858. },
  15859. "contractno": {
  15860. "description": "合同编号",
  15861. "type": "string"
  15862. },
  15863. "contractqty": {
  15864. "description": "合同量",
  15865. "type": "number"
  15866. },
  15867. "contracttype": {
  15868. "description": "现货合同类型 - 1:采购 -1:销售",
  15869. "type": "integer"
  15870. },
  15871. "deliverygoodsid": {
  15872. "description": "现货品种ID",
  15873. "type": "integer"
  15874. },
  15875. "enumdicname": {
  15876. "description": "现货商品单位名称",
  15877. "type": "string"
  15878. },
  15879. "inoutapplyid": {
  15880. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15881. "type": "string"
  15882. },
  15883. "inouttype": {
  15884. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15885. "type": "integer"
  15886. },
  15887. "modelname": {
  15888. "description": "型号名称",
  15889. "type": "string"
  15890. },
  15891. "pricetype": {
  15892. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15893. "type": "integer"
  15894. },
  15895. "qty": {
  15896. "description": "数量",
  15897. "type": "number"
  15898. },
  15899. "selluserid": {
  15900. "description": "销售方userid",
  15901. "type": "integer"
  15902. },
  15903. "sellusername": {
  15904. "description": "销售方名称",
  15905. "type": "string"
  15906. },
  15907. "spotcontractid": {
  15908. "description": "关联现货合同ID",
  15909. "type": "string"
  15910. },
  15911. "spotgoodsbrandid": {
  15912. "description": "现货品牌ID",
  15913. "type": "integer"
  15914. },
  15915. "spotgoodsmodelid": {
  15916. "description": "现货型号ID",
  15917. "type": "integer"
  15918. },
  15919. "unitid": {
  15920. "description": "单位id",
  15921. "type": "integer"
  15922. },
  15923. "userid": {
  15924. "description": "机构ID",
  15925. "type": "integer"
  15926. },
  15927. "warehousecode": {
  15928. "description": "仓库代码",
  15929. "type": "string"
  15930. },
  15931. "warehouseinfoid": {
  15932. "description": "现货仓库ID",
  15933. "type": "string"
  15934. },
  15935. "warehousename": {
  15936. "description": "仓库名称",
  15937. "type": "string"
  15938. },
  15939. "warehousetype": {
  15940. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15941. "type": "integer"
  15942. },
  15943. "wrstandardcode": {
  15944. "description": "现货商品代码",
  15945. "type": "string"
  15946. },
  15947. "wrstandardid": {
  15948. "description": "现货商品ID",
  15949. "type": "string"
  15950. },
  15951. "wrstandardname": {
  15952. "description": "现货商品名称",
  15953. "type": "string"
  15954. }
  15955. }
  15956. },
  15957. "models.ErmcpAreaStockApplySum": {
  15958. "type": "object",
  15959. "properties": {
  15960. "brandname": {
  15961. "description": "品牌名称",
  15962. "type": "string"
  15963. },
  15964. "inouttype": {
  15965. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15966. "type": "integer"
  15967. },
  15968. "modelname": {
  15969. "description": "型号名称",
  15970. "type": "string"
  15971. },
  15972. "spotcontractid": {
  15973. "description": "关联现货合同ID",
  15974. "type": "string"
  15975. },
  15976. "spotgoodsbrandid": {
  15977. "description": "品牌id",
  15978. "type": "integer"
  15979. },
  15980. "spotgoodsmodelid": {
  15981. "description": "型号id",
  15982. "type": "integer"
  15983. },
  15984. "totalqty": {
  15985. "description": "总数量",
  15986. "type": "number"
  15987. }
  15988. }
  15989. },
  15990. "models.ErmcpAreaStockReport": {
  15991. "type": "object",
  15992. "properties": {
  15993. "brandname": {
  15994. "description": "品牌名称",
  15995. "type": "string"
  15996. },
  15997. "curstock": {
  15998. "description": "期末库存量",
  15999. "type": "number"
  16000. },
  16001. "deliverygoodsid": {
  16002. "description": "现货品种ID",
  16003. "type": "integer"
  16004. },
  16005. "enumdicname": {
  16006. "description": "单位名称",
  16007. "type": "string"
  16008. },
  16009. "modelname": {
  16010. "description": "型号名称",
  16011. "type": "string"
  16012. },
  16013. "oristock": {
  16014. "description": "期初库存量",
  16015. "type": "number"
  16016. },
  16017. "spotgoodsbrandid": {
  16018. "description": "现货品牌ID",
  16019. "type": "integer"
  16020. },
  16021. "spotgoodsmodelid": {
  16022. "description": "现货型号ID",
  16023. "type": "integer"
  16024. },
  16025. "todaybuyinqty": {
  16026. "description": "今日采购入库量",
  16027. "type": "number"
  16028. },
  16029. "todayproduceinqty": {
  16030. "description": "今日生产入库量",
  16031. "type": "number"
  16032. },
  16033. "todayproduceoutqty": {
  16034. "description": "今日生产出库量",
  16035. "type": "number"
  16036. },
  16037. "todayselloutqty": {
  16038. "description": "今日销售出库量",
  16039. "type": "number"
  16040. },
  16041. "unitid": {
  16042. "description": "单位id",
  16043. "type": "integer"
  16044. },
  16045. "updatetime": {
  16046. "description": "更新时间",
  16047. "type": "string"
  16048. },
  16049. "userid": {
  16050. "description": "机构ID",
  16051. "type": "integer"
  16052. },
  16053. "username": {
  16054. "description": "机构名称",
  16055. "type": "string"
  16056. },
  16057. "warehousecode": {
  16058. "description": "仓库代码",
  16059. "type": "string"
  16060. },
  16061. "warehouseinfoid": {
  16062. "description": "仓库ID",
  16063. "type": "string"
  16064. },
  16065. "warehousename": {
  16066. "description": "仓库名称",
  16067. "type": "string"
  16068. },
  16069. "warehousetype": {
  16070. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16071. "type": "integer"
  16072. },
  16073. "wrstandardcode": {
  16074. "description": "现货商品代码",
  16075. "type": "string"
  16076. },
  16077. "wrstandardid": {
  16078. "description": "现货商品ID",
  16079. "type": "string"
  16080. },
  16081. "wrstandardname": {
  16082. "description": "现货商品名称",
  16083. "type": "string"
  16084. }
  16085. }
  16086. },
  16087. "models.ErmcpAvalidGoodsGroupModel": {
  16088. "type": "object",
  16089. "properties": {
  16090. "goodsgroupid": {
  16091. "description": "期货品种id",
  16092. "type": "integer"
  16093. },
  16094. "goodsgroupname": {
  16095. "description": "期货品种名称",
  16096. "type": "string"
  16097. },
  16098. "goodunitid": {
  16099. "description": "品种单位id",
  16100. "type": "integer"
  16101. },
  16102. "goodunitname": {
  16103. "description": "品种单位名称",
  16104. "type": "string"
  16105. },
  16106. "outergroupcode": {
  16107. "description": "期货品种代码",
  16108. "type": "string"
  16109. }
  16110. }
  16111. },
  16112. "models.ErmcpBizGroupEx": {
  16113. "type": "object",
  16114. "properties": {
  16115. "acclist": {
  16116. "description": "账号列表",
  16117. "type": "array",
  16118. "items": {
  16119. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16120. }
  16121. },
  16122. "bizgroupid": {
  16123. "description": "业务分组id",
  16124. "type": "integer"
  16125. },
  16126. "biztype": {
  16127. "description": "业务类型 1-套保 2-套利",
  16128. "type": "integer"
  16129. },
  16130. "wrlist": {
  16131. "description": "现货商品表",
  16132. "type": "array",
  16133. "items": {
  16134. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16135. }
  16136. }
  16137. }
  16138. },
  16139. "models.ErmcpBizGroupSpotGoods": {
  16140. "type": "object",
  16141. "properties": {
  16142. "areauserid": {
  16143. "description": "所属机构id",
  16144. "type": "integer"
  16145. },
  16146. "bizgroupid": {
  16147. "description": "分组id",
  16148. "type": "integer"
  16149. },
  16150. "biztype": {
  16151. "description": "业务类型 1-套保 2-套利",
  16152. "type": "integer"
  16153. },
  16154. "deliverygoodscode": {
  16155. "description": "现货商品代码",
  16156. "type": "string"
  16157. },
  16158. "deliverygoodsid": {
  16159. "description": "现货商品id",
  16160. "type": "integer"
  16161. },
  16162. "deliverygoodsname": {
  16163. "description": "现货商品名称",
  16164. "type": "string"
  16165. },
  16166. "unitid": {
  16167. "description": "现货商品单位id",
  16168. "type": "integer"
  16169. }
  16170. }
  16171. },
  16172. "models.ErmcpBizGroupTaAccount": {
  16173. "type": "object",
  16174. "properties": {
  16175. "accountid": {
  16176. "description": "账号id",
  16177. "type": "integer"
  16178. },
  16179. "accountname": {
  16180. "description": "账号名称",
  16181. "type": "string"
  16182. },
  16183. "areauserid": {
  16184. "description": "所属机构id",
  16185. "type": "integer"
  16186. },
  16187. "bizgroupid": {
  16188. "description": "业务分组id",
  16189. "type": "integer"
  16190. },
  16191. "ismain": {
  16192. "description": "是否主账号 1-是 0-否",
  16193. "type": "integer"
  16194. }
  16195. }
  16196. },
  16197. "models.ErmcpDGFactoryItem": {
  16198. "type": "object",
  16199. "properties": {
  16200. "areauserid": {
  16201. "description": "用户id",
  16202. "type": "integer"
  16203. },
  16204. "deliverygoodsid": {
  16205. "description": "现货品种ID",
  16206. "type": "integer"
  16207. },
  16208. "dgfactoryitemid": {
  16209. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16210. "type": "integer"
  16211. },
  16212. "dgfactoryitemtypeid": {
  16213. "description": "要素项类型",
  16214. "type": "integer"
  16215. },
  16216. "dgfactoryitemvalue": {
  16217. "description": "要素项值(类型为仓库时填写仓库名称)",
  16218. "type": "string"
  16219. },
  16220. "isvalid": {
  16221. "description": "是否有效 - 0:无效 1:有效",
  16222. "type": "integer"
  16223. },
  16224. "orderindex": {
  16225. "description": "顺序",
  16226. "type": "integer"
  16227. },
  16228. "warehouseid": {
  16229. "description": "仓库ID(类型为仓库时填写)",
  16230. "type": "integer"
  16231. }
  16232. }
  16233. },
  16234. "models.ErmcpDeliveryGoods": {
  16235. "type": "object",
  16236. "properties": {
  16237. "agreeunit": {
  16238. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16239. "type": "integer"
  16240. },
  16241. "areauserid": {
  16242. "description": "所属机构",
  16243. "type": "integer"
  16244. },
  16245. "auditflag": {
  16246. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16247. "type": "integer"
  16248. },
  16249. "categoryid": {
  16250. "description": "类别ID(SEQ_WRCATEGORY)",
  16251. "type": "integer"
  16252. },
  16253. "deliverygoodscode": {
  16254. "description": "现货品种代码",
  16255. "type": "string"
  16256. },
  16257. "deliverygoodsid": {
  16258. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16259. "type": "integer"
  16260. },
  16261. "deliverygoodsname": {
  16262. "description": "现货品种名称",
  16263. "type": "string"
  16264. },
  16265. "deliverygoodstype": {
  16266. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16267. "type": "integer"
  16268. },
  16269. "dgstatus": {
  16270. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16271. "type": "integer"
  16272. },
  16273. "enumdicname": {
  16274. "description": "现货品种单位名称",
  16275. "type": "string"
  16276. },
  16277. "goodsunitid": {
  16278. "description": "现货品种单位ID",
  16279. "type": "integer"
  16280. },
  16281. "isvalid": {
  16282. "description": "是否有效 - 0:无效 1:有效",
  16283. "type": "integer"
  16284. },
  16285. "qtydecimalplace": {
  16286. "description": "成交量小数位",
  16287. "type": "integer"
  16288. },
  16289. "remark": {
  16290. "description": "备注",
  16291. "type": "string"
  16292. },
  16293. "standardqty": {
  16294. "description": "标准数量(库位数量) [标准品特有]",
  16295. "type": "integer"
  16296. },
  16297. "standardqtyrange": {
  16298. "description": "标准数量偏差范围 [标准品特有]",
  16299. "type": "integer"
  16300. }
  16301. }
  16302. },
  16303. "models.ErmcpDeliveryGoodsDetail2": {
  16304. "type": "object",
  16305. "properties": {
  16306. "convertratio": {
  16307. "description": "套保系数(折算系数)",
  16308. "type": "number"
  16309. },
  16310. "data": {
  16311. "description": "现货商品基本信息(交割品种)",
  16312. "type": "object",
  16313. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16314. },
  16315. "gblist": {
  16316. "description": "品牌列表",
  16317. "type": "array",
  16318. "items": {
  16319. "$ref": "#/definitions/models.Ermcp3Brand"
  16320. }
  16321. },
  16322. "gmlist": {
  16323. "description": "品类列表(仓单标准)",
  16324. "type": "array",
  16325. "items": {
  16326. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16327. }
  16328. }
  16329. }
  16330. },
  16331. "models.ErmcpDeliveryGoodsDetailEx": {
  16332. "type": "object",
  16333. "properties": {
  16334. "data": {
  16335. "description": "现货商品基本信息(交割品种)",
  16336. "type": "object",
  16337. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16338. },
  16339. "gblist": {
  16340. "description": "品牌列表",
  16341. "type": "array",
  16342. "items": {
  16343. "$ref": "#/definitions/models.Ermcp3Brand"
  16344. }
  16345. },
  16346. "gmlist": {
  16347. "description": "品类列表(仓单标准)",
  16348. "type": "array",
  16349. "items": {
  16350. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16351. }
  16352. },
  16353. "mgList": {
  16354. "description": "套保列表",
  16355. "type": "array",
  16356. "items": {
  16357. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16358. }
  16359. }
  16360. }
  16361. },
  16362. "models.ErmcpExposureDetailModel": {
  16363. "type": "object",
  16364. "properties": {
  16365. "areauserid": {
  16366. "description": "机构ID",
  16367. "type": "integer"
  16368. },
  16369. "changeQty": {
  16370. "description": "套保变动量",
  16371. "type": "number"
  16372. },
  16373. "contracttype": {
  16374. "description": "现货合同类型 - 1:采购 -1:销售",
  16375. "type": "integer"
  16376. },
  16377. "convertfactor": {
  16378. "description": "标仓系数",
  16379. "type": "number"
  16380. },
  16381. "convertratio": {
  16382. "description": "套保系数",
  16383. "type": "number"
  16384. },
  16385. "createtime": {
  16386. "description": "时间",
  16387. "type": "string"
  16388. },
  16389. "enumdicname": {
  16390. "description": "现货商品单位名称",
  16391. "type": "string"
  16392. },
  16393. "logtype": {
  16394. "description": "类型 - 1:套保计划 2:现货合同",
  16395. "type": "integer"
  16396. },
  16397. "middlegoodsId": {
  16398. "description": "套保商品id",
  16399. "type": "integer"
  16400. },
  16401. "middlegoodscode": {
  16402. "description": "套保商品代码",
  16403. "type": "string"
  16404. },
  16405. "middlegoodsname": {
  16406. "description": "套保商品名称",
  16407. "type": "string"
  16408. },
  16409. "qty": {
  16410. "description": "数量",
  16411. "type": "number"
  16412. },
  16413. "relateNo": {
  16414. "description": "现货合同/套保计划编号",
  16415. "type": "string"
  16416. },
  16417. "wrstandardcode": {
  16418. "description": "现货商品代码",
  16419. "type": "string"
  16420. },
  16421. "wrstandardid": {
  16422. "description": "现货商品ID",
  16423. "type": "integer"
  16424. },
  16425. "wrstandardname": {
  16426. "description": "现货商品名称",
  16427. "type": "string"
  16428. }
  16429. }
  16430. },
  16431. "models.ErmcpExposurePostion": {
  16432. "type": "object",
  16433. "properties": {
  16434. "agreeunit": {
  16435. "description": "合约单位",
  16436. "type": "string"
  16437. },
  16438. "areauserid": {
  16439. "description": "所属机构id",
  16440. "type": "integer"
  16441. },
  16442. "convertratio": {
  16443. "description": "期货品种系数(折算系数)",
  16444. "type": "number"
  16445. },
  16446. "curqty": {
  16447. "description": "当前持仓",
  16448. "type": "integer"
  16449. },
  16450. "diffhedgeqty": {
  16451. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16452. "type": "number"
  16453. },
  16454. "diffqty": {
  16455. "description": "持仓变动量=当前持仓-昨日持仓",
  16456. "type": "integer"
  16457. },
  16458. "goodscode": {
  16459. "description": "商品代码",
  16460. "type": "string"
  16461. },
  16462. "goodsid": {
  16463. "description": "商品id",
  16464. "type": "integer"
  16465. },
  16466. "goodsname": {
  16467. "description": "商品名称",
  16468. "type": "string"
  16469. },
  16470. "middlegoodsid": {
  16471. "description": "套保商品id",
  16472. "type": "integer"
  16473. },
  16474. "ydqty": {
  16475. "description": "昨日持仓",
  16476. "type": "integer"
  16477. }
  16478. }
  16479. },
  16480. "models.ErmcpFuturesCompany": {
  16481. "type": "object",
  16482. "properties": {
  16483. "brokerid": {
  16484. "description": "经纪公司代码",
  16485. "type": "string"
  16486. },
  16487. "channeladdress": {
  16488. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16489. "type": "string"
  16490. },
  16491. "channelid": {
  16492. "description": "对冲渠道ID",
  16493. "type": "string"
  16494. },
  16495. "createtime": {
  16496. "description": "创建时间",
  16497. "type": "string"
  16498. },
  16499. "creatorid": {
  16500. "description": "创建人",
  16501. "type": "string"
  16502. },
  16503. "fcid": {
  16504. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16505. "type": "integer"
  16506. },
  16507. "fcname": {
  16508. "description": "期货公司名称",
  16509. "type": "string"
  16510. },
  16511. "isvalid": {
  16512. "description": "是否有效 - 0:无效 1:有效",
  16513. "type": "integer"
  16514. },
  16515. "mhpaddress": {
  16516. "description": "MHP服务地址(IP:Port)",
  16517. "type": "string"
  16518. },
  16519. "riskrulegroupid": {
  16520. "description": "风控规则组ID",
  16521. "type": "string"
  16522. },
  16523. "tradefeetmpid": {
  16524. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16525. "type": "string"
  16526. },
  16527. "trademargintmpid": {
  16528. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16529. "type": "string"
  16530. },
  16531. "traderatetmpid": {
  16532. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16533. "type": "string"
  16534. },
  16535. "updatetime": {
  16536. "description": "更新时间",
  16537. "type": "string"
  16538. },
  16539. "updatorid": {
  16540. "description": "更新人",
  16541. "type": "string"
  16542. }
  16543. }
  16544. },
  16545. "models.ErmcpGGConvertCfg": {
  16546. "type": "object",
  16547. "properties": {
  16548. "convertratio": {
  16549. "description": "折算系数",
  16550. "type": "number"
  16551. },
  16552. "destgoodsgroupid": {
  16553. "description": "目标品种ID",
  16554. "type": "integer"
  16555. },
  16556. "dstcode": {
  16557. "description": "目录品种代码",
  16558. "type": "string"
  16559. },
  16560. "dstexchangecode": {
  16561. "description": "目标期货交易所",
  16562. "type": "string"
  16563. },
  16564. "dstname": {
  16565. "description": "目标品种名称",
  16566. "type": "string"
  16567. },
  16568. "dstunitid": {
  16569. "description": "目标品种单位ID",
  16570. "type": "integer"
  16571. },
  16572. "dstunitidname": {
  16573. "description": "目标品种单位名称",
  16574. "type": "string"
  16575. },
  16576. "modifytime": {
  16577. "description": "修改时间",
  16578. "type": "string"
  16579. },
  16580. "srccode": {
  16581. "description": "源品种代码",
  16582. "type": "string"
  16583. },
  16584. "srcexchangecode": {
  16585. "description": "源期货交易所",
  16586. "type": "string"
  16587. },
  16588. "srcgoodsgroupid": {
  16589. "description": "源品种ID",
  16590. "type": "integer"
  16591. },
  16592. "srcname": {
  16593. "description": "源品种名称",
  16594. "type": "string"
  16595. },
  16596. "srcunitid": {
  16597. "description": "源品种单位ID",
  16598. "type": "integer"
  16599. },
  16600. "srcunitidname": {
  16601. "description": "源品种单位名称",
  16602. "type": "string"
  16603. }
  16604. }
  16605. },
  16606. "models.ErmcpGoodsBrand": {
  16607. "type": "object",
  16608. "properties": {
  16609. "areauserid": {
  16610. "description": "所属机构",
  16611. "type": "integer"
  16612. },
  16613. "brandid": {
  16614. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16615. "type": "integer"
  16616. },
  16617. "brandname": {
  16618. "description": "品牌名称",
  16619. "type": "string"
  16620. },
  16621. "createtime": {
  16622. "description": "创建时间",
  16623. "type": "string"
  16624. },
  16625. "creatorid": {
  16626. "description": "创建人",
  16627. "type": "integer"
  16628. },
  16629. "creatorsrc": {
  16630. "description": "创建人来源 - 1:管理端 2:终端",
  16631. "type": "integer"
  16632. },
  16633. "deliverygoodsid": {
  16634. "description": "现货品种ID",
  16635. "type": "integer"
  16636. },
  16637. "isvalid": {
  16638. "description": "是否有效 - 0:无效 1:有效",
  16639. "type": "integer"
  16640. },
  16641. "updatetime": {
  16642. "description": "更新时间",
  16643. "type": "string"
  16644. },
  16645. "updatorid": {
  16646. "description": "更新人",
  16647. "type": "integer"
  16648. },
  16649. "updatorsrc": {
  16650. "description": "更新人来源 - 1:管理端 2:终端",
  16651. "type": "integer"
  16652. },
  16653. "wrstandardid": {
  16654. "description": "现货商品ID",
  16655. "type": "integer"
  16656. }
  16657. }
  16658. },
  16659. "models.ErmcpGoodsModel": {
  16660. "type": "object",
  16661. "properties": {
  16662. "areauserid": {
  16663. "description": "所属机构",
  16664. "type": "integer"
  16665. },
  16666. "convertfactor": {
  16667. "description": "标仓系数",
  16668. "type": "number"
  16669. },
  16670. "createtime": {
  16671. "description": "创建时间",
  16672. "type": "string"
  16673. },
  16674. "creatorid": {
  16675. "description": "创建人",
  16676. "type": "integer"
  16677. },
  16678. "creatorsrc": {
  16679. "description": "创建人来源 - 1:管理端 2:终端",
  16680. "type": "integer"
  16681. },
  16682. "deliverygoodsid": {
  16683. "description": "现货品种ID",
  16684. "type": "integer"
  16685. },
  16686. "isvalid": {
  16687. "description": "是否有效 - 0:无效 1:有效",
  16688. "type": "integer"
  16689. },
  16690. "modelid": {
  16691. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  16692. "type": "integer"
  16693. },
  16694. "modelname": {
  16695. "description": "型号名称",
  16696. "type": "string"
  16697. },
  16698. "updatetime": {
  16699. "description": "更新时间",
  16700. "type": "string"
  16701. },
  16702. "updatorid": {
  16703. "description": "更新人",
  16704. "type": "integer"
  16705. },
  16706. "updatorsrc": {
  16707. "description": "更新人来源 - 1:管理端 2:终端",
  16708. "type": "integer"
  16709. },
  16710. "wrstandardid": {
  16711. "description": "现货商品ID",
  16712. "type": "integer"
  16713. }
  16714. }
  16715. },
  16716. "models.ErmcpHedgePlan": {
  16717. "type": "object",
  16718. "properties": {
  16719. "areauserid": {
  16720. "description": "用户ID",
  16721. "type": "integer"
  16722. },
  16723. "audittime": {
  16724. "description": "审核时间",
  16725. "type": "string"
  16726. },
  16727. "contracttype": {
  16728. "description": "计划类型 - 1:采购 -1:销售",
  16729. "type": "integer"
  16730. },
  16731. "convertfactor": {
  16732. "description": "标仓系数",
  16733. "type": "number"
  16734. },
  16735. "createtime": {
  16736. "description": "创建时间",
  16737. "type": "string"
  16738. },
  16739. "deliverygoodsid": {
  16740. "description": "现货品种ID",
  16741. "type": "integer"
  16742. },
  16743. "deliverygoodsname": {
  16744. "description": "现货品种名称",
  16745. "type": "string"
  16746. },
  16747. "enumdicname": {
  16748. "description": "单位名称",
  16749. "type": "string"
  16750. },
  16751. "hedgeplanid": {
  16752. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16753. "type": "string"
  16754. },
  16755. "hedgeplanno": {
  16756. "description": "套保计划编号(名称)",
  16757. "type": "string"
  16758. },
  16759. "hedgeplanstatus": {
  16760. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16761. "type": "integer"
  16762. },
  16763. "planqty": {
  16764. "description": "计划数量",
  16765. "type": "number"
  16766. },
  16767. "plantime": {
  16768. "description": "计划时间",
  16769. "type": "string"
  16770. },
  16771. "producttype": {
  16772. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16773. "type": "integer"
  16774. },
  16775. "remark": {
  16776. "description": "备注",
  16777. "type": "string"
  16778. },
  16779. "spotgoodsdesc": {
  16780. "description": "商品型号",
  16781. "type": "string"
  16782. },
  16783. "unitid": {
  16784. "description": "单位id",
  16785. "type": "integer"
  16786. },
  16787. "updatetime": {
  16788. "description": "更新时间",
  16789. "type": "string"
  16790. },
  16791. "wrstandardid": {
  16792. "description": "现货商品ID",
  16793. "type": "integer"
  16794. },
  16795. "wrstandardname": {
  16796. "description": "现货商品名称",
  16797. "type": "string"
  16798. }
  16799. }
  16800. },
  16801. "models.ErmcpHedgePosition": {
  16802. "type": "object",
  16803. "properties": {
  16804. "accountid": {
  16805. "description": "资金账号[外部母账户]",
  16806. "type": "integer"
  16807. },
  16808. "curbuyposition": {
  16809. "description": "期末买头寸",
  16810. "type": "integer"
  16811. },
  16812. "cursellposition": {
  16813. "description": "期末卖头寸",
  16814. "type": "integer"
  16815. },
  16816. "curtdbuyposition": {
  16817. "description": "期末今日买头寸",
  16818. "type": "integer"
  16819. },
  16820. "curtdsellposition": {
  16821. "description": "期末今日卖头寸",
  16822. "type": "integer"
  16823. },
  16824. "curydbuyposition": {
  16825. "description": "期末上日买头寸",
  16826. "type": "integer"
  16827. },
  16828. "curydsellposition": {
  16829. "description": "期末上日卖头寸",
  16830. "type": "integer"
  16831. },
  16832. "decreaseqty": {
  16833. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16834. "type": "integer"
  16835. },
  16836. "fretdbuyposition": {
  16837. "description": "冻结今日买头寸",
  16838. "type": "integer"
  16839. },
  16840. "fretdsellposition": {
  16841. "description": "冻结今日卖头寸",
  16842. "type": "integer"
  16843. },
  16844. "freydbuyposition": {
  16845. "description": "冻结上日买头寸",
  16846. "type": "integer"
  16847. },
  16848. "freydsellposition": {
  16849. "description": "冻结上日卖头寸",
  16850. "type": "integer"
  16851. },
  16852. "goodscode": {
  16853. "description": "商品代码",
  16854. "type": "string"
  16855. },
  16856. "goodsid": {
  16857. "description": "商品id",
  16858. "type": "integer"
  16859. },
  16860. "goodsname": {
  16861. "description": "商品名称",
  16862. "type": "string"
  16863. },
  16864. "hedgeaccountcode": {
  16865. "description": "对冲账号",
  16866. "type": "string"
  16867. },
  16868. "hedgegoodsid": {
  16869. "description": "对冲合约ID",
  16870. "type": "integer"
  16871. },
  16872. "increaseqty": {
  16873. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16874. "type": "integer"
  16875. },
  16876. "marketid": {
  16877. "description": "市场ID",
  16878. "type": "integer"
  16879. },
  16880. "relateduserid": {
  16881. "description": "关联用户id",
  16882. "type": "integer"
  16883. },
  16884. "totalcurqty": {
  16885. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16886. "type": "integer"
  16887. },
  16888. "totalydqty": {
  16889. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16890. "type": "integer"
  16891. },
  16892. "tradedate": {
  16893. "description": "交易日(yyyyMMdd)",
  16894. "type": "string"
  16895. },
  16896. "ydbuyposition": {
  16897. "description": "期初买头寸",
  16898. "type": "integer"
  16899. },
  16900. "ydsellposition": {
  16901. "description": "期初卖头寸",
  16902. "type": "integer"
  16903. }
  16904. }
  16905. },
  16906. "models.ErmcpHedgePositionDetail": {
  16907. "type": "object",
  16908. "properties": {
  16909. "buyorsell": {
  16910. "description": "买卖方向 0-买 1-卖",
  16911. "type": "integer"
  16912. },
  16913. "channelbuildtype": {
  16914. "description": "开平方向 1-建仓 2-平仓",
  16915. "type": "integer"
  16916. },
  16917. "goodscode": {
  16918. "description": "商品代码",
  16919. "type": "string"
  16920. },
  16921. "goodsname": {
  16922. "description": "商品名称",
  16923. "type": "string"
  16924. },
  16925. "hedgegoodsid": {
  16926. "description": "商品id",
  16927. "type": "integer"
  16928. },
  16929. "tradeqty": {
  16930. "description": "数量(成交数量)",
  16931. "type": "integer"
  16932. },
  16933. "tradetime": {
  16934. "description": "时间(成交时间)",
  16935. "type": "string"
  16936. }
  16937. }
  16938. },
  16939. "models.ErmcpHisExposure": {
  16940. "type": "object",
  16941. "properties": {
  16942. "needhedgeexposoure": {
  16943. "description": "应套保敞口",
  16944. "type": "number"
  16945. },
  16946. "reckondate": {
  16947. "description": "日照时期(yyyyMMdd)",
  16948. "type": "string"
  16949. },
  16950. "totalexposure": {
  16951. "description": "总敞口",
  16952. "type": "number"
  16953. }
  16954. }
  16955. },
  16956. "models.ErmcpHisExposureS": {
  16957. "type": "object",
  16958. "properties": {
  16959. "data": {
  16960. "description": "历史敞口",
  16961. "type": "array",
  16962. "items": {
  16963. "$ref": "#/definitions/models.ErmcpHisExposure"
  16964. }
  16965. },
  16966. "enumdicname": {
  16967. "description": "单位名称",
  16968. "type": "string"
  16969. },
  16970. "middlegoodscode": {
  16971. "description": "套保品种代码",
  16972. "type": "string"
  16973. },
  16974. "middlegoodsid": {
  16975. "description": "套保品种ID",
  16976. "type": "integer"
  16977. },
  16978. "middlegoodsname": {
  16979. "description": "套保品种名称",
  16980. "type": "string"
  16981. }
  16982. }
  16983. },
  16984. "models.ErmcpLoginTaAccount": {
  16985. "type": "object",
  16986. "properties": {
  16987. "accountid": {
  16988. "description": "账号id",
  16989. "type": "integer"
  16990. },
  16991. "accountname": {
  16992. "description": "账号名称",
  16993. "type": "string"
  16994. }
  16995. }
  16996. },
  16997. "models.ErmcpLoginUser": {
  16998. "type": "object",
  16999. "properties": {
  17000. "acclist": {
  17001. "description": "关联资金账号",
  17002. "type": "array",
  17003. "items": {
  17004. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17005. }
  17006. },
  17007. "accountname": {
  17008. "description": "用户名称",
  17009. "type": "string"
  17010. },
  17011. "clientroleid": {
  17012. "description": "角色id(usertype=2)",
  17013. "type": "integer"
  17014. },
  17015. "createtime": {
  17016. "description": "创建时间",
  17017. "type": "string"
  17018. },
  17019. "logincode": {
  17020. "description": "登录代码",
  17021. "type": "string"
  17022. },
  17023. "loginid": {
  17024. "description": "登录id(LOGINID)",
  17025. "type": "integer"
  17026. },
  17027. "loginstatus": {
  17028. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17029. "type": "integer"
  17030. },
  17031. "memberuserid": {
  17032. "description": "所属会员id",
  17033. "type": "integer"
  17034. },
  17035. "mobile": {
  17036. "description": "手机号",
  17037. "type": "string"
  17038. },
  17039. "modifytime": {
  17040. "description": "修改时间",
  17041. "type": "string"
  17042. },
  17043. "password": {
  17044. "description": "密码(不可解密)",
  17045. "type": "string"
  17046. },
  17047. "rolename": {
  17048. "description": "角色名称",
  17049. "type": "string"
  17050. },
  17051. "rolestatus": {
  17052. "description": "角色状态 1-启用 2-停用",
  17053. "type": "integer"
  17054. },
  17055. "roletype": {
  17056. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17057. "type": "string"
  17058. },
  17059. "userid": {
  17060. "description": "用户id",
  17061. "type": "integer"
  17062. },
  17063. "usertype": {
  17064. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17065. "type": "integer"
  17066. }
  17067. }
  17068. },
  17069. "models.ErmcpLoginUserEx": {
  17070. "type": "object",
  17071. "properties": {
  17072. "roleid": {
  17073. "description": "角色id",
  17074. "type": "integer"
  17075. },
  17076. "rolename": {
  17077. "description": "角色名称",
  17078. "type": "string"
  17079. },
  17080. "userlist": {
  17081. "description": "用户列表",
  17082. "type": "array",
  17083. "items": {
  17084. "$ref": "#/definitions/models.ErmcpLoginUser"
  17085. }
  17086. },
  17087. "usertype": {
  17088. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17089. "type": "integer"
  17090. }
  17091. }
  17092. },
  17093. "models.ErmcpMiddleGoodsChangeLog": {
  17094. "type": "object",
  17095. "properties": {
  17096. "aftervalue": {
  17097. "description": "变更后",
  17098. "type": "number"
  17099. },
  17100. "applyid": {
  17101. "description": "操作人",
  17102. "type": "integer"
  17103. },
  17104. "applyname": {
  17105. "description": "操作人名称",
  17106. "type": "string"
  17107. },
  17108. "applysrc": {
  17109. "description": "操作来源 - 1:管理端 2:终端",
  17110. "type": "integer"
  17111. },
  17112. "beforevalue": {
  17113. "description": "变更前",
  17114. "type": "number"
  17115. },
  17116. "changelogtype": {
  17117. "description": "变更流水类型 - 1:套保比率变更",
  17118. "type": "integer"
  17119. },
  17120. "handlestatus": {
  17121. "description": "处理状态",
  17122. "type": "integer"
  17123. },
  17124. "logdatetime": {
  17125. "description": "流水日期",
  17126. "type": "string"
  17127. },
  17128. "logid": {
  17129. "description": "流水ID",
  17130. "type": "integer"
  17131. },
  17132. "logremark": {
  17133. "description": "流水备注",
  17134. "type": "string"
  17135. },
  17136. "middlegoodsid": {
  17137. "description": "套保品种ID",
  17138. "type": "integer"
  17139. },
  17140. "tradedate": {
  17141. "description": "交易日(yyyyMMdd)",
  17142. "type": "string"
  17143. },
  17144. "updatetime": {
  17145. "description": "更新时间",
  17146. "type": "string"
  17147. }
  17148. }
  17149. },
  17150. "models.ErmcpMiddleGoodsDetail": {
  17151. "type": "object",
  17152. "properties": {
  17153. "cvList": {
  17154. "description": "期货品种折算列表",
  17155. "type": "array",
  17156. "items": {
  17157. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17158. }
  17159. },
  17160. "mg": {
  17161. "description": "套保品种基本信息",
  17162. "type": "object",
  17163. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17164. },
  17165. "wrcList": {
  17166. "description": "现货品种列表(现货商品折算配置)",
  17167. "type": "array",
  17168. "items": {
  17169. "$ref": "#/definitions/models.WRSConverTDetail"
  17170. }
  17171. }
  17172. }
  17173. },
  17174. "models.ErmcpMiddleGoodsModel": {
  17175. "type": "object",
  17176. "properties": {
  17177. "areauserid": {
  17178. "description": "机构用户ID",
  17179. "type": "integer"
  17180. },
  17181. "createtime": {
  17182. "description": "修改时间",
  17183. "type": "string"
  17184. },
  17185. "enumdicname": {
  17186. "description": "单位名称",
  17187. "type": "string"
  17188. },
  17189. "evaluateratio": {
  17190. "description": "估价系数",
  17191. "type": "number"
  17192. },
  17193. "goodsgroupid": {
  17194. "description": "关联期货品种ID",
  17195. "type": "integer"
  17196. },
  17197. "goodsunitid": {
  17198. "description": "单位ID",
  17199. "type": "integer"
  17200. },
  17201. "isvalid": {
  17202. "description": "状态 0-无效(停用) 1-有效(正常)",
  17203. "type": "integer"
  17204. },
  17205. "middlegoodscode": {
  17206. "description": "套保品种代码",
  17207. "type": "string"
  17208. },
  17209. "middlegoodsid": {
  17210. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17211. "type": "integer"
  17212. },
  17213. "middlegoodsname": {
  17214. "description": "套保品种名称",
  17215. "type": "string"
  17216. },
  17217. "modifytime": {
  17218. "description": "修改时间",
  17219. "type": "string"
  17220. },
  17221. "needhedgeratio": {
  17222. "description": "套保比率",
  17223. "type": "number"
  17224. },
  17225. "qtydecimalplace": {
  17226. "description": "数量小数位",
  17227. "type": "integer"
  17228. },
  17229. "relatedgoodsid": {
  17230. "description": "关联交易商品ID",
  17231. "type": "integer"
  17232. },
  17233. "relatedgoodstype": {
  17234. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17235. "type": "integer"
  17236. },
  17237. "remark": {
  17238. "description": "备注",
  17239. "type": "string"
  17240. }
  17241. }
  17242. },
  17243. "models.ErmcpModel": {
  17244. "type": "object",
  17245. "properties": {
  17246. "accountname": {
  17247. "description": "账户名称",
  17248. "type": "string"
  17249. },
  17250. "attachment": {
  17251. "description": "附件",
  17252. "type": "string"
  17253. },
  17254. "audittime": {
  17255. "description": "审核时间",
  17256. "type": "string"
  17257. },
  17258. "brandname": {
  17259. "description": "品牌名称",
  17260. "type": "string"
  17261. },
  17262. "contracctstatus": {
  17263. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17264. "type": "integer"
  17265. },
  17266. "contractmargin": {
  17267. "description": "合同保证金",
  17268. "type": "number"
  17269. },
  17270. "contractno": {
  17271. "description": "合同编号",
  17272. "type": "string"
  17273. },
  17274. "contracttype": {
  17275. "description": "合同类型 1-采购, -1-销售",
  17276. "type": "integer"
  17277. },
  17278. "convertfactor": {
  17279. "description": "标仓系数",
  17280. "type": "number"
  17281. },
  17282. "createtime": {
  17283. "description": "创建时间",
  17284. "type": "string"
  17285. },
  17286. "daikaiamount": {
  17287. "description": "应收(开)票额",
  17288. "type": "number"
  17289. },
  17290. "deliveryenddate": {
  17291. "description": "交割结束日",
  17292. "type": "string"
  17293. },
  17294. "deliverygoodscode": {
  17295. "description": "现货品种代码",
  17296. "type": "string"
  17297. },
  17298. "deliverygoodsid": {
  17299. "description": "现货商品ID",
  17300. "type": "integer"
  17301. },
  17302. "deliverygoodsname": {
  17303. "description": "现货品种名称",
  17304. "type": "string"
  17305. },
  17306. "deliverystartdate": {
  17307. "description": "交割开始日",
  17308. "type": "string"
  17309. },
  17310. "enddate": {
  17311. "description": "点价结束日",
  17312. "type": "string"
  17313. },
  17314. "enumdicname": {
  17315. "description": "单位名称",
  17316. "type": "string"
  17317. },
  17318. "goodscode": {
  17319. "description": "点价商品代码",
  17320. "type": "string"
  17321. },
  17322. "goodsid": {
  17323. "description": "点价商品ID",
  17324. "type": "integer"
  17325. },
  17326. "goodsname": {
  17327. "description": "点价商品名称",
  17328. "type": "string"
  17329. },
  17330. "invoiceamount": {
  17331. "description": "已开票额",
  17332. "type": "number"
  17333. },
  17334. "loanamount": {
  17335. "description": "贷款总额=已定价额+调整金额",
  17336. "type": "number"
  17337. },
  17338. "margin": {
  17339. "description": "保证金",
  17340. "type": "number"
  17341. },
  17342. "modelname": {
  17343. "description": "型号名称",
  17344. "type": "string"
  17345. },
  17346. "payamount": {
  17347. "description": "已收付额(收款或付款)",
  17348. "type": "number"
  17349. },
  17350. "preinvoiceamount": {
  17351. "description": "预收(开)票额",
  17352. "type": "number"
  17353. },
  17354. "prepayamount": {
  17355. "description": "预收付额",
  17356. "type": "number"
  17357. },
  17358. "price": {
  17359. "description": "价格",
  17360. "type": "number"
  17361. },
  17362. "pricedamount": {
  17363. "description": "已定价额",
  17364. "type": "number"
  17365. },
  17366. "pricedavg": {
  17367. "description": "已点均价",
  17368. "type": "number"
  17369. },
  17370. "pricedqty": {
  17371. "description": "已定价量",
  17372. "type": "number"
  17373. },
  17374. "pricemove": {
  17375. "description": "升贴水",
  17376. "type": "number"
  17377. },
  17378. "pricetype": {
  17379. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17380. "type": "integer"
  17381. },
  17382. "producttype": {
  17383. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17384. "type": "integer"
  17385. },
  17386. "qty": {
  17387. "description": "合同量",
  17388. "type": "number"
  17389. },
  17390. "reckonadjustamount": {
  17391. "description": "调整金额",
  17392. "type": "number"
  17393. },
  17394. "reckonedamount": {
  17395. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17396. "type": "number"
  17397. },
  17398. "reckonotheramount": {
  17399. "description": "其它费用",
  17400. "type": "number"
  17401. },
  17402. "reckonrealqty": {
  17403. "description": "已确定量",
  17404. "type": "number"
  17405. },
  17406. "remark": {
  17407. "description": "备注",
  17408. "type": "string"
  17409. },
  17410. "spotcontractid": {
  17411. "description": "合同ID",
  17412. "type": "string"
  17413. },
  17414. "spotgoodsbrandid": {
  17415. "description": "现货品牌ID",
  17416. "type": "integer"
  17417. },
  17418. "spotgoodsdesc": {
  17419. "description": "商品型号(商品规格)",
  17420. "type": "string"
  17421. },
  17422. "spotgoodsmodelid": {
  17423. "description": "现货型号ID",
  17424. "type": "integer"
  17425. },
  17426. "startdate": {
  17427. "description": "点价开始日",
  17428. "type": "string"
  17429. },
  17430. "totalamount": {
  17431. "description": "合计总额",
  17432. "type": "number"
  17433. },
  17434. "unpayamount": {
  17435. "description": "应收付款额(应支付或应收款)",
  17436. "type": "number"
  17437. },
  17438. "unpricedqty": {
  17439. "description": "未定价量",
  17440. "type": "number"
  17441. },
  17442. "unsureqty": {
  17443. "description": "未确定量",
  17444. "type": "number"
  17445. },
  17446. "userid": {
  17447. "description": "用户ID",
  17448. "type": "integer"
  17449. },
  17450. "wrstandardcode": {
  17451. "description": "现货商品代码",
  17452. "type": "string"
  17453. },
  17454. "wrstandardid": {
  17455. "description": "现货商品ID",
  17456. "type": "integer"
  17457. },
  17458. "wrstandardname": {
  17459. "description": "现货商品名称",
  17460. "type": "string"
  17461. }
  17462. }
  17463. },
  17464. "models.ErmcpOPLogModel": {
  17465. "type": "object",
  17466. "properties": {
  17467. "aftervalue": {
  17468. "description": "变更后",
  17469. "type": "number"
  17470. },
  17471. "applyid": {
  17472. "description": "操作人ID",
  17473. "type": "string"
  17474. },
  17475. "applyname": {
  17476. "description": "操作人名称",
  17477. "type": "string"
  17478. },
  17479. "beforevalue": {
  17480. "description": "变更前",
  17481. "type": "number"
  17482. },
  17483. "biztype": {
  17484. "description": "业务类型 - 1:套保计划 2:现货合同",
  17485. "type": "integer"
  17486. },
  17487. "contracttype": {
  17488. "description": "现货合同类型 - 1:采购 -1:销售",
  17489. "type": "integer"
  17490. },
  17491. "logvalue": {
  17492. "description": "数值",
  17493. "type": "number"
  17494. },
  17495. "operatelogtype": {
  17496. "description": "操作流水类型",
  17497. "type": "integer"
  17498. },
  17499. "operatelogtypedesc": {
  17500. "description": "操作流水类型名称",
  17501. "type": "string"
  17502. },
  17503. "relatedid": {
  17504. "description": "现货合同ID\\套保计划",
  17505. "type": "string"
  17506. },
  17507. "updatetime": {
  17508. "description": "更新时间",
  17509. "type": "string"
  17510. }
  17511. }
  17512. },
  17513. "models.ErmcpPendingAudit": {
  17514. "type": "object",
  17515. "properties": {
  17516. "areastockqty": {
  17517. "description": "待审核数量: 库存申请",
  17518. "type": "integer"
  17519. },
  17520. "businessdjqty": {
  17521. "description": "待审核数量: 点价",
  17522. "type": "integer"
  17523. },
  17524. "businessfpqty": {
  17525. "description": "待审核数量: 发票",
  17526. "type": "integer"
  17527. },
  17528. "businessjsqty": {
  17529. "description": "待审核数量: 结算",
  17530. "type": "integer"
  17531. },
  17532. "businesskxqty": {
  17533. "description": "待审核数量: 款项",
  17534. "type": "integer"
  17535. },
  17536. "hedgeplanqty": {
  17537. "description": "待审核数量: 套保计划",
  17538. "type": "integer"
  17539. },
  17540. "spotcontractqty": {
  17541. "description": "待审核数量: 现货合同",
  17542. "type": "integer"
  17543. },
  17544. "userqty": {
  17545. "description": "待审核数量: 用户",
  17546. "type": "integer"
  17547. }
  17548. }
  17549. },
  17550. "models.ErmcpRealExposureModel": {
  17551. "type": "object",
  17552. "properties": {
  17553. "AreaUserID": {
  17554. "description": "所属机构",
  17555. "type": "integer"
  17556. },
  17557. "BuyFutureQty": {
  17558. "description": "买入期货数量",
  17559. "type": "number"
  17560. },
  17561. "BuyPlanQty": {
  17562. "description": "采购计划数量",
  17563. "type": "number"
  17564. },
  17565. "BuyPricedQty": {
  17566. "description": "采购合同已定价数量",
  17567. "type": "number"
  17568. },
  17569. "MiddleGoodsCode": {
  17570. "description": "套保品种代码",
  17571. "type": "string"
  17572. },
  17573. "MiddleGoodsHedgeRatio": {
  17574. "description": "应套保比例",
  17575. "type": "number"
  17576. },
  17577. "MiddleGoodsID": {
  17578. "description": "套保品种",
  17579. "type": "integer"
  17580. },
  17581. "MiddleGoodsName": {
  17582. "description": "套保品种名称",
  17583. "type": "string"
  17584. },
  17585. "NeedHedgeExposoure": {
  17586. "description": "应套保敞口",
  17587. "type": "number"
  17588. },
  17589. "NeedHedgeRatio": {
  17590. "description": "应套保敞口比例",
  17591. "type": "number"
  17592. },
  17593. "OriBuyFutureQty": {
  17594. "description": "期初买入期货数量",
  17595. "type": "number"
  17596. },
  17597. "OriBuyPlanQty": {
  17598. "description": "期初采购计划数量",
  17599. "type": "number"
  17600. },
  17601. "OriBuyPricedQty": {
  17602. "description": "期初采购合同已定价数量",
  17603. "type": "number"
  17604. },
  17605. "OriSellFutureQty": {
  17606. "description": "期初卖出期货数量",
  17607. "type": "number"
  17608. },
  17609. "OriSellPlanQty": {
  17610. "description": "期初销售计划数量",
  17611. "type": "number"
  17612. },
  17613. "OriSellPricedQty": {
  17614. "description": "期初销售合同已定价数量",
  17615. "type": "number"
  17616. },
  17617. "SellFutureQty": {
  17618. "description": "卖出期货数量",
  17619. "type": "number"
  17620. },
  17621. "SellPlanQty": {
  17622. "description": "销售计划数量",
  17623. "type": "number"
  17624. },
  17625. "SellPricedQty": {
  17626. "description": "销售合同已定价数量",
  17627. "type": "number"
  17628. },
  17629. "TotalExposure": {
  17630. "description": "总敞口",
  17631. "type": "number"
  17632. },
  17633. "TotalFutureQty": {
  17634. "description": "期货数量",
  17635. "type": "number"
  17636. },
  17637. "TotalHedgeRatio": {
  17638. "description": "敞口比例",
  17639. "type": "number"
  17640. },
  17641. "TotalNeedHedgeQty": {
  17642. "description": "期货应套保量",
  17643. "type": "number"
  17644. },
  17645. "TotalSpotQty": {
  17646. "description": "现货数量",
  17647. "type": "number"
  17648. },
  17649. "diffFutuQty": {
  17650. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17651. "type": "number"
  17652. },
  17653. "diffSpotQty": {
  17654. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17655. "type": "number"
  17656. },
  17657. "enumdicname": {
  17658. "description": "单位名称",
  17659. "type": "string"
  17660. },
  17661. "oriTotalFutuQty": {
  17662. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17663. "type": "number"
  17664. },
  17665. "oriTotalSpotQty": {
  17666. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17667. "type": "number"
  17668. }
  17669. }
  17670. },
  17671. "models.ErmcpReportAreaSpotPL": {
  17672. "type": "object",
  17673. "properties": {
  17674. "actualpl": {
  17675. "description": "实际损益",
  17676. "type": "number"
  17677. },
  17678. "areauserid": {
  17679. "description": "所属机构",
  17680. "type": "integer"
  17681. },
  17682. "brandname": {
  17683. "description": "品牌名称",
  17684. "type": "string"
  17685. },
  17686. "curamount": {
  17687. "description": "期末额",
  17688. "type": "number"
  17689. },
  17690. "curaverageprice": {
  17691. "description": "期末均价",
  17692. "type": "number"
  17693. },
  17694. "curbuyamount": {
  17695. "description": "期末采购总额(采购额)",
  17696. "type": "number"
  17697. },
  17698. "curbuyqty": {
  17699. "description": "期末采购总量",
  17700. "type": "number"
  17701. },
  17702. "curmarketvalue": {
  17703. "description": "参考市值",
  17704. "type": "number"
  17705. },
  17706. "curqty": {
  17707. "description": "期末量",
  17708. "type": "number"
  17709. },
  17710. "cursellamount": {
  17711. "description": "期末销售总额(销售额)",
  17712. "type": "number"
  17713. },
  17714. "cursellqty": {
  17715. "description": "期末销售总量",
  17716. "type": "number"
  17717. },
  17718. "curspotprice": {
  17719. "description": "参考市价",
  17720. "type": "number"
  17721. },
  17722. "enumdicname": {
  17723. "description": "现货商品单位名称",
  17724. "type": "string"
  17725. },
  17726. "floatpl": {
  17727. "description": "浮动损益",
  17728. "type": "number"
  17729. },
  17730. "gbenumdicname": {
  17731. "description": "品类单位名称",
  17732. "type": "string"
  17733. },
  17734. "gbunitid": {
  17735. "description": "品类单位id",
  17736. "type": "integer"
  17737. },
  17738. "modelname": {
  17739. "description": "品类名称",
  17740. "type": "string"
  17741. },
  17742. "oriamount": {
  17743. "description": "期初额",
  17744. "type": "number"
  17745. },
  17746. "oriaverageprice": {
  17747. "description": "期初均价",
  17748. "type": "number"
  17749. },
  17750. "oribuyamount": {
  17751. "description": "期初采购总额",
  17752. "type": "number"
  17753. },
  17754. "oribuyqty": {
  17755. "description": "期初采购总量",
  17756. "type": "number"
  17757. },
  17758. "oriqty": {
  17759. "description": "期初量",
  17760. "type": "number"
  17761. },
  17762. "orisellamount": {
  17763. "description": "期初销售总额",
  17764. "type": "number"
  17765. },
  17766. "orisellqty": {
  17767. "description": "期初销售总量",
  17768. "type": "number"
  17769. },
  17770. "spotgoodsbrandid": {
  17771. "description": "现货品牌ID",
  17772. "type": "integer"
  17773. },
  17774. "spotgoodsmodelid": {
  17775. "description": "现货品类ID",
  17776. "type": "integer"
  17777. },
  17778. "todaybuyamount": {
  17779. "description": "今日采购额",
  17780. "type": "number"
  17781. },
  17782. "todaybuyaverageprice": {
  17783. "description": "今日采购均价(采购均价)",
  17784. "type": "number"
  17785. },
  17786. "todaybuyqty": {
  17787. "description": "今日采购量(采购增量)",
  17788. "type": "number"
  17789. },
  17790. "todaysellamount": {
  17791. "description": "今日销售额",
  17792. "type": "number"
  17793. },
  17794. "todaysellaverageprice": {
  17795. "description": "今日销售均价(销售均价)",
  17796. "type": "number"
  17797. },
  17798. "todaysellqty": {
  17799. "description": "今日销售量(销售增量)",
  17800. "type": "number"
  17801. },
  17802. "unitid": {
  17803. "description": "现货商品单位id",
  17804. "type": "integer"
  17805. },
  17806. "updatetime": {
  17807. "description": "更新时间",
  17808. "type": "string"
  17809. },
  17810. "wrstandardcode": {
  17811. "description": "现货商品代码",
  17812. "type": "string"
  17813. },
  17814. "wrstandardid": {
  17815. "description": "现货商品ID",
  17816. "type": "integer"
  17817. },
  17818. "wrstandardname": {
  17819. "description": "现货商品名称",
  17820. "type": "string"
  17821. }
  17822. }
  17823. },
  17824. "models.ErmcpReportDayExposure": {
  17825. "type": "object",
  17826. "properties": {
  17827. "areauserid": {
  17828. "description": "所属机构",
  17829. "type": "integer"
  17830. },
  17831. "buyfutureqty": {
  17832. "description": "买入期货数量",
  17833. "type": "number"
  17834. },
  17835. "buyplanqty": {
  17836. "description": "采购计划数量",
  17837. "type": "number"
  17838. },
  17839. "buypricedqty": {
  17840. "description": "采购合同已定价数量",
  17841. "type": "number"
  17842. },
  17843. "diffFutuQty": {
  17844. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  17845. "type": "number"
  17846. },
  17847. "diffSpotQty": {
  17848. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  17849. "type": "number"
  17850. },
  17851. "enumdicname": {
  17852. "description": "单位名称",
  17853. "type": "string"
  17854. },
  17855. "middlegoodscode": {
  17856. "description": "套保品种代码",
  17857. "type": "string"
  17858. },
  17859. "middlegoodshedgeratio": {
  17860. "description": "应套保比例",
  17861. "type": "number"
  17862. },
  17863. "middlegoodsid": {
  17864. "description": "套保品种ID",
  17865. "type": "integer"
  17866. },
  17867. "middlegoodsname": {
  17868. "description": "套保品种名称",
  17869. "type": "string"
  17870. },
  17871. "needhedgeexposoure": {
  17872. "description": "应套保敞口",
  17873. "type": "number"
  17874. },
  17875. "needhedgeratio": {
  17876. "description": "应套保敞口比例",
  17877. "type": "number"
  17878. },
  17879. "oriTotalFutuQty": {
  17880. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17881. "type": "number"
  17882. },
  17883. "oriTotalSpotQty": {
  17884. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17885. "type": "number"
  17886. },
  17887. "oribuyfutureqty": {
  17888. "description": "期初买入期货数量",
  17889. "type": "number"
  17890. },
  17891. "oribuyplanqty": {
  17892. "description": "期初采购计划数量",
  17893. "type": "number"
  17894. },
  17895. "oribuypricedqty": {
  17896. "description": "期初采购合同已定价数量",
  17897. "type": "number"
  17898. },
  17899. "orisellfutureqty": {
  17900. "description": "期初卖出期货数量",
  17901. "type": "number"
  17902. },
  17903. "orisellplanqty": {
  17904. "description": "期初销售计划数量",
  17905. "type": "number"
  17906. },
  17907. "orisellpricedqty": {
  17908. "description": "期初销售合同已定价数量",
  17909. "type": "number"
  17910. },
  17911. "reckondate": {
  17912. "description": "日照时期(yyyyMMdd)",
  17913. "type": "string"
  17914. },
  17915. "sellfutureqty": {
  17916. "description": "卖出期货数量",
  17917. "type": "number"
  17918. },
  17919. "sellplanqty": {
  17920. "description": "销售计划数量",
  17921. "type": "number"
  17922. },
  17923. "sellpricedqty": {
  17924. "description": "销售合同已定价数量",
  17925. "type": "number"
  17926. },
  17927. "totalexposure": {
  17928. "description": "总敞口",
  17929. "type": "number"
  17930. },
  17931. "totalfutureqty": {
  17932. "description": "期货数量",
  17933. "type": "number"
  17934. },
  17935. "totalhedgeratio": {
  17936. "description": "敞口比例",
  17937. "type": "number"
  17938. },
  17939. "totalneedhedgeqty": {
  17940. "description": "期货应套保量",
  17941. "type": "number"
  17942. },
  17943. "totalspotqty": {
  17944. "description": "现货数量",
  17945. "type": "number"
  17946. }
  17947. }
  17948. },
  17949. "models.ErmcpReportDayFR": {
  17950. "type": "object",
  17951. "properties": {
  17952. "areauserid": {
  17953. "description": "所属机构",
  17954. "type": "integer"
  17955. },
  17956. "collectinvoiceamount": {
  17957. "description": "今日开票金额",
  17958. "type": "number"
  17959. },
  17960. "collectinvoicecount": {
  17961. "description": "今日开票笔数",
  17962. "type": "integer"
  17963. },
  17964. "collectmoneyamount": {
  17965. "description": "今日收款金额",
  17966. "type": "number"
  17967. },
  17968. "collectmoneycount": {
  17969. "description": "今日收款笔数",
  17970. "type": "integer"
  17971. },
  17972. "payinvoiceamount": {
  17973. "description": "今日收票金额",
  17974. "type": "number"
  17975. },
  17976. "payinvoicecount": {
  17977. "description": "今日收票笔数",
  17978. "type": "integer"
  17979. },
  17980. "paymoneyamount": {
  17981. "description": "今日付款金额",
  17982. "type": "number"
  17983. },
  17984. "paymoneycount": {
  17985. "description": "今日付款笔数",
  17986. "type": "integer"
  17987. },
  17988. "reckondate": {
  17989. "description": "日照时期(yyyyMMdd)",
  17990. "type": "string"
  17991. },
  17992. "updatetime": {
  17993. "description": "更新时间",
  17994. "type": "string"
  17995. }
  17996. }
  17997. },
  17998. "models.ErmcpReportDaySpot": {
  17999. "type": "object",
  18000. "properties": {
  18001. "areauserid": {
  18002. "description": "所属机构T",
  18003. "type": "integer"
  18004. },
  18005. "buyinqty": {
  18006. "description": "采购入库量",
  18007. "type": "number"
  18008. },
  18009. "enumdicname": {
  18010. "description": "现货商品单位名称",
  18011. "type": "string"
  18012. },
  18013. "reckondate": {
  18014. "description": "日照时期(yyyyMMdd)",
  18015. "type": "string"
  18016. },
  18017. "selloutqty": {
  18018. "description": "销售出库量",
  18019. "type": "number"
  18020. },
  18021. "todaybuyreckonqty": {
  18022. "description": "采购确定量",
  18023. "type": "number"
  18024. },
  18025. "todaysellreckonqty": {
  18026. "description": "销售确定量",
  18027. "type": "number"
  18028. },
  18029. "totalbuypricedqty": {
  18030. "description": "采购定价量 = 期末 - 期初",
  18031. "type": "number"
  18032. },
  18033. "totalsellpricedqty": {
  18034. "description": "销售定价量 = 期末 - 期初",
  18035. "type": "number"
  18036. },
  18037. "wrstandardcode": {
  18038. "description": "现货商品代码",
  18039. "type": "string"
  18040. },
  18041. "wrstandardid": {
  18042. "description": "现货商品ID",
  18043. "type": "integer"
  18044. },
  18045. "wrstandardname": {
  18046. "description": "现货商品名称",
  18047. "type": "string"
  18048. }
  18049. }
  18050. },
  18051. "models.ErmcpReportMonSpot": {
  18052. "type": "object",
  18053. "properties": {
  18054. "areauserid": {
  18055. "description": "所属机构T",
  18056. "type": "integer"
  18057. },
  18058. "buyinqty": {
  18059. "description": "采购入库量",
  18060. "type": "number"
  18061. },
  18062. "cycletime": {
  18063. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18064. "type": "string"
  18065. },
  18066. "cycletype": {
  18067. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18068. "type": "integer"
  18069. },
  18070. "enumdicname": {
  18071. "description": "现货商品单位名称",
  18072. "type": "string"
  18073. },
  18074. "selloutqty": {
  18075. "description": "销售出库量",
  18076. "type": "number"
  18077. },
  18078. "todaybuyreckonqty": {
  18079. "description": "采购确定量",
  18080. "type": "number"
  18081. },
  18082. "todaysellreckonqty": {
  18083. "description": "销售确定量",
  18084. "type": "number"
  18085. },
  18086. "totalbuypricedqty": {
  18087. "description": "采购定价量 = 期末 - 期初",
  18088. "type": "number"
  18089. },
  18090. "totalsellpricedqty": {
  18091. "description": "销售定价量 = 期末 - 期初",
  18092. "type": "number"
  18093. },
  18094. "wrstandardcode": {
  18095. "description": "现货商品代码",
  18096. "type": "string"
  18097. },
  18098. "wrstandardid": {
  18099. "description": "现货商品ID",
  18100. "type": "integer"
  18101. },
  18102. "wrstandardname": {
  18103. "description": "现货商品名称",
  18104. "type": "string"
  18105. }
  18106. }
  18107. },
  18108. "models.ErmcpReportMonthFR": {
  18109. "type": "object",
  18110. "properties": {
  18111. "areauserid": {
  18112. "description": "所属机构【原值】",
  18113. "type": "integer"
  18114. },
  18115. "collectinvoiceamount": {
  18116. "description": "今日开票金额【汇总】",
  18117. "type": "number"
  18118. },
  18119. "collectinvoicecount": {
  18120. "description": "今日开票笔数【汇总】",
  18121. "type": "integer"
  18122. },
  18123. "collectmoneyamount": {
  18124. "description": "今日收款金额【汇总】",
  18125. "type": "number"
  18126. },
  18127. "collectmoneycount": {
  18128. "description": "今日收款笔数 【汇总】",
  18129. "type": "integer"
  18130. },
  18131. "cycletime": {
  18132. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18133. "type": "string"
  18134. },
  18135. "cycletype": {
  18136. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18137. "type": "integer"
  18138. },
  18139. "dayFr": {
  18140. "description": "日报表明细",
  18141. "type": "array",
  18142. "items": {
  18143. "$ref": "#/definitions/models.ErmcpReportDayFR"
  18144. }
  18145. },
  18146. "payinvoiceamount": {
  18147. "description": "今日收票金额【汇总】",
  18148. "type": "number"
  18149. },
  18150. "payinvoicecount": {
  18151. "description": "今日收票笔数【汇总】",
  18152. "type": "integer"
  18153. },
  18154. "paymoneyamount": {
  18155. "description": "今日付款金额【汇总】",
  18156. "type": "number"
  18157. },
  18158. "paymoneycount": {
  18159. "description": "今日付款笔数【汇总】",
  18160. "type": "integer"
  18161. },
  18162. "updatetime": {
  18163. "description": "更新时间",
  18164. "type": "string"
  18165. }
  18166. }
  18167. },
  18168. "models.ErmcpReportOPLog": {
  18169. "type": "object",
  18170. "properties": {
  18171. "applyid": {
  18172. "description": "操作人",
  18173. "type": "integer"
  18174. },
  18175. "applyname": {
  18176. "description": "操作人名称",
  18177. "type": "string"
  18178. },
  18179. "biztype": {
  18180. "description": "业务类型 - 1:套保计划 2:现货合同",
  18181. "type": "integer"
  18182. },
  18183. "brandname": {
  18184. "description": "品牌名称",
  18185. "type": "string"
  18186. },
  18187. "contracttype": {
  18188. "description": "现货合同类型 - 1:采购 -1:销售",
  18189. "type": "integer"
  18190. },
  18191. "enumdicName": {
  18192. "description": "单位名称",
  18193. "type": "string"
  18194. },
  18195. "logdatetime": {
  18196. "description": "流水日期(时间)",
  18197. "type": "string"
  18198. },
  18199. "logid": {
  18200. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  18201. "type": "string"
  18202. },
  18203. "logtypename": {
  18204. "description": "合同类型(名称)",
  18205. "type": "string"
  18206. },
  18207. "logvalue": {
  18208. "description": "数值",
  18209. "type": "string"
  18210. },
  18211. "modelname": {
  18212. "description": "型号名称",
  18213. "type": "string"
  18214. },
  18215. "operatelogtype": {
  18216. "description": "操作流水类型 -",
  18217. "type": "integer"
  18218. },
  18219. "optypename": {
  18220. "description": "流水类型名称",
  18221. "type": "string"
  18222. },
  18223. "relatedid": {
  18224. "description": "现货合同ID\\套保计划",
  18225. "type": "string"
  18226. },
  18227. "relatedno": {
  18228. "description": "合同编号",
  18229. "type": "string"
  18230. },
  18231. "tradedate": {
  18232. "description": "交易日(yyyyMMdd)",
  18233. "type": "string"
  18234. },
  18235. "userid": {
  18236. "description": "机构ID",
  18237. "type": "integer"
  18238. },
  18239. "wrstandardcode": {
  18240. "description": "现货商品代码",
  18241. "type": "string"
  18242. },
  18243. "wrstandardid": {
  18244. "description": "现货商品ID",
  18245. "type": "integer"
  18246. },
  18247. "wrstandardname": {
  18248. "description": "现货商品名称",
  18249. "type": "string"
  18250. }
  18251. }
  18252. },
  18253. "models.ErmcpRole": {
  18254. "type": "object",
  18255. "properties": {
  18256. "areauserid": {
  18257. "description": "所属机构",
  18258. "type": "integer"
  18259. },
  18260. "autoid": {
  18261. "description": "角色ID(自增ID)",
  18262. "type": "integer"
  18263. },
  18264. "modifierid": {
  18265. "description": "修改人(创建人)",
  18266. "type": "integer"
  18267. },
  18268. "modifiername": {
  18269. "description": "修改人名称",
  18270. "type": "string"
  18271. },
  18272. "modifytime": {
  18273. "description": "修改时间(创建时间)",
  18274. "type": "string"
  18275. },
  18276. "rolename": {
  18277. "description": "角色名称",
  18278. "type": "string"
  18279. },
  18280. "rolestatus": {
  18281. "description": "角色状态 - 1:启用 2:停用",
  18282. "type": "integer"
  18283. },
  18284. "roletype": {
  18285. "description": "角色类型 - 1- 管理端 2- 交易端",
  18286. "type": "integer"
  18287. }
  18288. }
  18289. },
  18290. "models.ErmcpRoleMenu": {
  18291. "type": "object",
  18292. "properties": {
  18293. "iconame": {
  18294. "description": "菜单图标",
  18295. "type": "string"
  18296. },
  18297. "menutype": {
  18298. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18299. "type": "integer"
  18300. },
  18301. "parentcode": {
  18302. "description": "上级资源代码",
  18303. "type": "string"
  18304. },
  18305. "remark": {
  18306. "description": "菜单备注",
  18307. "type": "string"
  18308. },
  18309. "resourcecode": {
  18310. "description": "菜单代码",
  18311. "type": "string"
  18312. },
  18313. "resourcelevel": {
  18314. "description": "级别",
  18315. "type": "integer"
  18316. },
  18317. "resourcename": {
  18318. "description": "菜单名称",
  18319. "type": "string"
  18320. },
  18321. "roleid": {
  18322. "description": "角色id",
  18323. "type": "integer"
  18324. },
  18325. "sort": {
  18326. "description": "排序",
  18327. "type": "integer"
  18328. },
  18329. "url": {
  18330. "description": "URL",
  18331. "type": "string"
  18332. },
  18333. "userid": {
  18334. "description": "用户id",
  18335. "type": "integer"
  18336. }
  18337. }
  18338. },
  18339. "models.ErmcpRoleMenuEx": {
  18340. "type": "object",
  18341. "properties": {
  18342. "menu": {
  18343. "description": "父级菜单",
  18344. "type": "object",
  18345. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18346. },
  18347. "subMenu": {
  18348. "description": "子级菜单",
  18349. "type": "array",
  18350. "items": {
  18351. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18352. }
  18353. }
  18354. }
  18355. },
  18356. "models.ErmcpSpotContractModel": {
  18357. "type": "object",
  18358. "properties": {
  18359. "amount": {
  18360. "description": "金额 [1:一口价、3:暂定价]",
  18361. "type": "number"
  18362. },
  18363. "attachment": {
  18364. "description": "附件",
  18365. "type": "string"
  18366. },
  18367. "auditremark": {
  18368. "description": "审核意见",
  18369. "type": "string"
  18370. },
  18371. "audittime": {
  18372. "description": "审核时间",
  18373. "type": "string"
  18374. },
  18375. "brandname": {
  18376. "description": "品牌名称",
  18377. "type": "string"
  18378. },
  18379. "buyuserid": {
  18380. "description": "采购方ID",
  18381. "type": "integer"
  18382. },
  18383. "buyusername": {
  18384. "description": "采购方名称",
  18385. "type": "string"
  18386. },
  18387. "contracctstatus": {
  18388. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18389. "type": "integer"
  18390. },
  18391. "contractmargin": {
  18392. "description": "合同保证金",
  18393. "type": "number"
  18394. },
  18395. "contractno": {
  18396. "description": "现货合同编号",
  18397. "type": "string"
  18398. },
  18399. "contracttype": {
  18400. "description": "现货合同类型 - 1:采购 -1:销售",
  18401. "type": "integer"
  18402. },
  18403. "convertfactor": {
  18404. "description": "标仓系数",
  18405. "type": "number"
  18406. },
  18407. "createtime": {
  18408. "description": "创建时间",
  18409. "type": "string"
  18410. },
  18411. "deliveryenddate": {
  18412. "description": "交收期(结束)",
  18413. "type": "string"
  18414. },
  18415. "deliverygoodscode": {
  18416. "description": "现货品种代码",
  18417. "type": "string"
  18418. },
  18419. "deliverygoodsid": {
  18420. "description": "现货品种ID",
  18421. "type": "integer"
  18422. },
  18423. "deliverygoodsname": {
  18424. "description": "现货品种名称",
  18425. "type": "string"
  18426. },
  18427. "deliverystartdate": {
  18428. "description": "交收期(开始)",
  18429. "type": "string"
  18430. },
  18431. "enddate": {
  18432. "description": "点价结束日期 [2:点价 3:暂定价]",
  18433. "type": "string"
  18434. },
  18435. "enumdicname": {
  18436. "description": "单位名称",
  18437. "type": "string"
  18438. },
  18439. "goodscode": {
  18440. "description": "点价合约代码",
  18441. "type": "string"
  18442. },
  18443. "goodsid": {
  18444. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18445. "type": "integer"
  18446. },
  18447. "goodsname": {
  18448. "description": "点价商品名称",
  18449. "type": "string"
  18450. },
  18451. "margin": {
  18452. "description": "当前保证金",
  18453. "type": "number"
  18454. },
  18455. "modelname": {
  18456. "description": "型号名称",
  18457. "type": "string"
  18458. },
  18459. "price": {
  18460. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18461. "type": "number"
  18462. },
  18463. "pricemove": {
  18464. "description": "升贴水 [2:点价 3:暂定价]",
  18465. "type": "number"
  18466. },
  18467. "pricetype": {
  18468. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18469. "type": "integer"
  18470. },
  18471. "producttype": {
  18472. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18473. "type": "integer"
  18474. },
  18475. "qty": {
  18476. "description": "数量",
  18477. "type": "number"
  18478. },
  18479. "remark": {
  18480. "description": "备注",
  18481. "type": "string"
  18482. },
  18483. "selluserid": {
  18484. "description": "销售方ID",
  18485. "type": "integer"
  18486. },
  18487. "sellusername": {
  18488. "description": "销售方名称",
  18489. "type": "string"
  18490. },
  18491. "spotcontractid": {
  18492. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18493. "type": "string"
  18494. },
  18495. "spotgoodsbrandid": {
  18496. "description": "现货品牌ID",
  18497. "type": "integer"
  18498. },
  18499. "spotgoodsdesc": {
  18500. "description": "商品型号",
  18501. "type": "string"
  18502. },
  18503. "spotgoodsmodelid": {
  18504. "description": "现货型号ID",
  18505. "type": "integer"
  18506. },
  18507. "startdate": {
  18508. "description": "点价开始日期 [2:点价 3:暂定价]",
  18509. "type": "string"
  18510. },
  18511. "updatetime": {
  18512. "description": "更新时间",
  18513. "type": "string"
  18514. },
  18515. "userid": {
  18516. "description": "机构ID",
  18517. "type": "integer"
  18518. },
  18519. "wrstandardcode": {
  18520. "description": "现货商品代码",
  18521. "type": "string"
  18522. },
  18523. "wrstandardid": {
  18524. "description": "现货商品ID",
  18525. "type": "integer"
  18526. },
  18527. "wrstandardname": {
  18528. "description": "现货商品名称",
  18529. "type": "string"
  18530. }
  18531. }
  18532. },
  18533. "models.ErmcpSpotGoodsPrice": {
  18534. "type": "object",
  18535. "properties": {
  18536. "areauserid": {
  18537. "description": "所属机构id",
  18538. "type": "integer"
  18539. },
  18540. "brandname": {
  18541. "description": "品牌名称",
  18542. "type": "string"
  18543. },
  18544. "currencyid": {
  18545. "description": "报价货币ID",
  18546. "type": "integer"
  18547. },
  18548. "enumdicname": {
  18549. "description": "现货商品单位名称",
  18550. "type": "string"
  18551. },
  18552. "gbenumdicname": {
  18553. "description": "品类单位名称",
  18554. "type": "string"
  18555. },
  18556. "gmunitid": {
  18557. "description": "品类单位id",
  18558. "type": "integer"
  18559. },
  18560. "isvalid": {
  18561. "description": "是否有效 - 0:无效 1:有效",
  18562. "type": "integer"
  18563. },
  18564. "modelname": {
  18565. "description": "品类名称",
  18566. "type": "string"
  18567. },
  18568. "operateid": {
  18569. "description": "最后操作人",
  18570. "type": "integer"
  18571. },
  18572. "operatesrc": {
  18573. "description": "最后操作来源 - 1:管理端 2:终端",
  18574. "type": "integer"
  18575. },
  18576. "operatetime": {
  18577. "description": "最后操作时间",
  18578. "type": "string"
  18579. },
  18580. "operatorname": {
  18581. "description": "操作人名称",
  18582. "type": "string"
  18583. },
  18584. "spotgoodsbrandid": {
  18585. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18586. "type": "integer"
  18587. },
  18588. "spotgoodsmodelid": {
  18589. "description": "现货品类ID(通用则为0)",
  18590. "type": "integer"
  18591. },
  18592. "spotgoodsprice": {
  18593. "description": "现货价格",
  18594. "type": "number"
  18595. },
  18596. "tradedate": {
  18597. "description": "交易日(yyyyMMdd)",
  18598. "type": "string"
  18599. },
  18600. "unitid": {
  18601. "description": "现货商品单位id",
  18602. "type": "integer"
  18603. },
  18604. "wrstandardcode": {
  18605. "description": "现货商品代码",
  18606. "type": "string"
  18607. },
  18608. "wrstandardid": {
  18609. "description": "现货商品ID",
  18610. "type": "integer"
  18611. },
  18612. "wrstandardname": {
  18613. "description": "现货商品名称",
  18614. "type": "string"
  18615. }
  18616. }
  18617. },
  18618. "models.ErmcpSpotGoodsPriceLog": {
  18619. "type": "object",
  18620. "properties": {
  18621. "areauserid": {
  18622. "description": "所属机构id",
  18623. "type": "integer"
  18624. },
  18625. "brandname": {
  18626. "description": "品牌名称",
  18627. "type": "string"
  18628. },
  18629. "currencyid": {
  18630. "description": "报价货币ID",
  18631. "type": "integer"
  18632. },
  18633. "enumdicname": {
  18634. "description": "现货商品单位名称",
  18635. "type": "string"
  18636. },
  18637. "gbenumdicname": {
  18638. "description": "品类单位名称",
  18639. "type": "string"
  18640. },
  18641. "gmunitid": {
  18642. "description": "品类单位id",
  18643. "type": "integer"
  18644. },
  18645. "logid": {
  18646. "description": "日志id",
  18647. "type": "integer"
  18648. },
  18649. "modelname": {
  18650. "description": "品类名称",
  18651. "type": "string"
  18652. },
  18653. "operateid": {
  18654. "description": "最后操作人",
  18655. "type": "integer"
  18656. },
  18657. "operatesrc": {
  18658. "description": "最后操作来源 - 1:管理端 2:终端",
  18659. "type": "integer"
  18660. },
  18661. "operatetime": {
  18662. "description": "最后操作时间",
  18663. "type": "string"
  18664. },
  18665. "operatorname": {
  18666. "description": "操作人名称",
  18667. "type": "string"
  18668. },
  18669. "spotgoodsbrandid": {
  18670. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18671. "type": "integer"
  18672. },
  18673. "spotgoodsmodelid": {
  18674. "description": "现货品类ID(通用则为0)",
  18675. "type": "integer"
  18676. },
  18677. "spotgoodsprice": {
  18678. "description": "现货价格",
  18679. "type": "number"
  18680. },
  18681. "tradedate": {
  18682. "description": "交易日(yyyyMMdd)",
  18683. "type": "string"
  18684. },
  18685. "unitid": {
  18686. "description": "现货商品单位id",
  18687. "type": "integer"
  18688. },
  18689. "wrstandardcode": {
  18690. "description": "现货商品代码",
  18691. "type": "string"
  18692. },
  18693. "wrstandardid": {
  18694. "description": "现货商品ID",
  18695. "type": "integer"
  18696. },
  18697. "wrstandardname": {
  18698. "description": "现货商品名称",
  18699. "type": "string"
  18700. }
  18701. }
  18702. },
  18703. "models.ErmcpTaAccount": {
  18704. "type": "object",
  18705. "properties": {
  18706. "accountid": {
  18707. "description": "账户id",
  18708. "type": "integer"
  18709. },
  18710. "accountname": {
  18711. "description": "账户名称",
  18712. "type": "string"
  18713. },
  18714. "currencyid": {
  18715. "description": "币种id",
  18716. "type": "integer"
  18717. },
  18718. "hedgeaccountcode": {
  18719. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18720. "type": "string"
  18721. },
  18722. "ismain": {
  18723. "description": "是否主账户 0-否 1-是",
  18724. "type": "integer"
  18725. },
  18726. "parentaccountid": {
  18727. "description": "父账户id",
  18728. "type": "integer"
  18729. },
  18730. "relateduserid": {
  18731. "description": "关联userid",
  18732. "type": "integer"
  18733. },
  18734. "tradestatus": {
  18735. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18736. "type": "integer"
  18737. },
  18738. "userid": {
  18739. "description": "用户id",
  18740. "type": "integer"
  18741. }
  18742. }
  18743. },
  18744. "models.ErmcpTaAccountEx": {
  18745. "type": "object",
  18746. "properties": {
  18747. "mainAcc": {
  18748. "description": "主账号",
  18749. "type": "object",
  18750. "$ref": "#/definitions/models.ErmcpTaAccount"
  18751. },
  18752. "subacclist": {
  18753. "description": "子账号列表",
  18754. "type": "array",
  18755. "items": {
  18756. "$ref": "#/definitions/models.ErmcpTaAccount"
  18757. }
  18758. }
  18759. }
  18760. },
  18761. "models.ErmcpTaAccountInfo": {
  18762. "type": "object",
  18763. "properties": {
  18764. "accountid": {
  18765. "description": "资金账户ID",
  18766. "type": "integer"
  18767. },
  18768. "accountname": {
  18769. "description": "账户名称",
  18770. "type": "string"
  18771. },
  18772. "balance": {
  18773. "description": "期初余额",
  18774. "type": "number"
  18775. },
  18776. "capitalbalance": {
  18777. "description": "本金余额[外部子账户实际出入金余额]",
  18778. "type": "number"
  18779. },
  18780. "closepl": {
  18781. "description": "今日平仓盈亏",
  18782. "type": "number"
  18783. },
  18784. "creditdecrease": {
  18785. "description": "今日授信减少",
  18786. "type": "number"
  18787. },
  18788. "creditincrease": {
  18789. "description": "今日授信增加",
  18790. "type": "number"
  18791. },
  18792. "curdebt": {
  18793. "description": "期末欠款",
  18794. "type": "number"
  18795. },
  18796. "currencyid": {
  18797. "description": "货币ID",
  18798. "type": "integer"
  18799. },
  18800. "currentbalance": {
  18801. "description": "期末余额",
  18802. "type": "number"
  18803. },
  18804. "freezecharge": {
  18805. "description": "手续费冻结",
  18806. "type": "number"
  18807. },
  18808. "freezemargin": {
  18809. "description": "冻结保证金",
  18810. "type": "number"
  18811. },
  18812. "fromaccountid": {
  18813. "description": "所属上级账户",
  18814. "type": "integer"
  18815. },
  18816. "inamount": {
  18817. "description": "今日入金金额(包括三方入金)",
  18818. "type": "number"
  18819. },
  18820. "ismain": {
  18821. "description": "是否母账号 0:不是母账户 1:是母账户",
  18822. "type": "integer"
  18823. },
  18824. "mortgagecredit": {
  18825. "description": "授信金额",
  18826. "type": "number"
  18827. },
  18828. "oridebt": {
  18829. "description": "期初欠款",
  18830. "type": "number"
  18831. },
  18832. "orifreezecharge": {
  18833. "description": "期初手续费冻结",
  18834. "type": "number"
  18835. },
  18836. "orifreezemargin": {
  18837. "description": "期初冻结保证金",
  18838. "type": "number"
  18839. },
  18840. "orimortgagecredit": {
  18841. "description": "期初授信金额",
  18842. "type": "number"
  18843. },
  18844. "oriothercredit": {
  18845. "description": "期初其它授信金额",
  18846. "type": "number"
  18847. },
  18848. "oriotherfreezemargin": {
  18849. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18850. "type": "number"
  18851. },
  18852. "orioutamountfreeze": {
  18853. "description": "期初出金冻结",
  18854. "type": "number"
  18855. },
  18856. "oriusedmargin": {
  18857. "description": "期初占用保证金",
  18858. "type": "number"
  18859. },
  18860. "othercredit": {
  18861. "description": "其它授信金额",
  18862. "type": "number"
  18863. },
  18864. "othercreditdecrease": {
  18865. "description": "今日其它授信减少",
  18866. "type": "number"
  18867. },
  18868. "othercreditincrease": {
  18869. "description": "今日其它授信增加",
  18870. "type": "number"
  18871. },
  18872. "otherfreezemargin": {
  18873. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18874. "type": "number"
  18875. },
  18876. "outamount": {
  18877. "description": "今日出金金额(包括三方出金)",
  18878. "type": "number"
  18879. },
  18880. "outamountfreeze": {
  18881. "description": "出金冻结",
  18882. "type": "number"
  18883. },
  18884. "outthreshold": {
  18885. "description": "出金阈值",
  18886. "type": "number"
  18887. },
  18888. "parentaccountid": {
  18889. "description": "所属根账号",
  18890. "type": "integer"
  18891. },
  18892. "paycharge": {
  18893. "description": "今日手续费支出",
  18894. "type": "number"
  18895. },
  18896. "relateduserid": {
  18897. "description": "关联用户",
  18898. "type": "integer"
  18899. },
  18900. "signstatus": {
  18901. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18902. "type": "integer"
  18903. },
  18904. "sublevelpath": {
  18905. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18906. "type": "string"
  18907. },
  18908. "taaccounttype": {
  18909. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18910. "type": "integer"
  18911. },
  18912. "thirdinamount": {
  18913. "description": "今日三方入金",
  18914. "type": "number"
  18915. },
  18916. "thirdoutamount": {
  18917. "description": "今日三方出金",
  18918. "type": "number"
  18919. },
  18920. "tradestatus": {
  18921. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18922. "type": "integer"
  18923. },
  18924. "transferamount": {
  18925. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18926. "type": "number"
  18927. },
  18928. "usedmargin": {
  18929. "description": "占用保证金",
  18930. "type": "number"
  18931. },
  18932. "userid": {
  18933. "description": "用户ID",
  18934. "type": "integer"
  18935. }
  18936. }
  18937. },
  18938. "models.ErmcpTradeConfigTMP": {
  18939. "type": "object",
  18940. "properties": {
  18941. "areauserid": {
  18942. "description": "所属机构",
  18943. "type": "integer"
  18944. },
  18945. "basiccurrencyid": {
  18946. "description": "基本币种ID[汇率] - 目标币种",
  18947. "type": "integer"
  18948. },
  18949. "mainaccountid": {
  18950. "description": "主账户ID",
  18951. "type": "integer"
  18952. },
  18953. "modifierid": {
  18954. "description": "修改人",
  18955. "type": "integer"
  18956. },
  18957. "remark": {
  18958. "description": "备注",
  18959. "type": "string"
  18960. },
  18961. "tradeconfigtmpid": {
  18962. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18963. "type": "integer"
  18964. },
  18965. "tradeconfigtmpname": {
  18966. "description": "交易配置模板名称",
  18967. "type": "string"
  18968. },
  18969. "tradeconfigtmptype": {
  18970. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18971. "type": "integer"
  18972. },
  18973. "updatetime": {
  18974. "description": "更新时间",
  18975. "type": "string"
  18976. }
  18977. }
  18978. },
  18979. "models.ErmcpUserModel": {
  18980. "type": "object",
  18981. "properties": {
  18982. "address": {
  18983. "description": "通讯地址",
  18984. "type": "string"
  18985. },
  18986. "attachment1": {
  18987. "description": "附件1",
  18988. "type": "string"
  18989. },
  18990. "audittime": {
  18991. "description": "审核时间",
  18992. "type": "string"
  18993. },
  18994. "cardbackphotourl": {
  18995. "description": "证件反面图片地址",
  18996. "type": "string"
  18997. },
  18998. "cardfrontphotourl": {
  18999. "description": "证件正面图片地址",
  19000. "type": "string"
  19001. },
  19002. "cardnum": {
  19003. "description": "证件号码",
  19004. "type": "string"
  19005. },
  19006. "cardtype": {
  19007. "description": "证件类型",
  19008. "type": "integer"
  19009. },
  19010. "cardtypename": {
  19011. "description": "证件类型名称",
  19012. "type": "string"
  19013. },
  19014. "cityid": {
  19015. "description": "市",
  19016. "type": "integer"
  19017. },
  19018. "contactname": {
  19019. "description": "联系人",
  19020. "type": "string"
  19021. },
  19022. "countryid": {
  19023. "description": "国家",
  19024. "type": "integer"
  19025. },
  19026. "createtime": {
  19027. "description": "创建时间",
  19028. "type": "string"
  19029. },
  19030. "customername": {
  19031. "description": "企业名称",
  19032. "type": "string"
  19033. },
  19034. "districtid": {
  19035. "description": "区域",
  19036. "type": "integer"
  19037. },
  19038. "email": {
  19039. "description": "邮件",
  19040. "type": "string"
  19041. },
  19042. "legalpersonname": {
  19043. "description": "法人姓名(企业)",
  19044. "type": "string"
  19045. },
  19046. "memberuserid": {
  19047. "description": "所属机构ID",
  19048. "type": "integer"
  19049. },
  19050. "mobile": {
  19051. "description": "手机号码",
  19052. "type": "string"
  19053. },
  19054. "modifytime": {
  19055. "description": "修改时间",
  19056. "type": "string"
  19057. },
  19058. "nickname": {
  19059. "description": "昵称",
  19060. "type": "string"
  19061. },
  19062. "provinceid": {
  19063. "description": "省",
  19064. "type": "integer"
  19065. },
  19066. "remark": {
  19067. "description": "备注",
  19068. "type": "string"
  19069. },
  19070. "status": {
  19071. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19072. "type": "integer"
  19073. },
  19074. "statusdesc": {
  19075. "description": "账户状态中文描述",
  19076. "type": "string"
  19077. },
  19078. "taxpayernum": {
  19079. "description": "纳税人识别号",
  19080. "type": "string"
  19081. },
  19082. "telphone": {
  19083. "description": "联系电话",
  19084. "type": "string"
  19085. },
  19086. "userid": {
  19087. "description": "用户ID",
  19088. "type": "integer"
  19089. },
  19090. "userinfotype": {
  19091. "description": "客户类型",
  19092. "type": "string"
  19093. }
  19094. }
  19095. },
  19096. "models.ErmcpWareHouseInfo": {
  19097. "type": "object",
  19098. "properties": {
  19099. "address": {
  19100. "description": "详细地址",
  19101. "type": "string"
  19102. },
  19103. "areauserid": {
  19104. "description": "所属机构",
  19105. "type": "integer"
  19106. },
  19107. "autoid": {
  19108. "description": "自增ID(仓库ID)",
  19109. "type": "integer"
  19110. },
  19111. "cityid": {
  19112. "description": "市",
  19113. "type": "integer"
  19114. },
  19115. "contactname": {
  19116. "description": "联系人",
  19117. "type": "string"
  19118. },
  19119. "contactnum": {
  19120. "description": "联系电话",
  19121. "type": "string"
  19122. },
  19123. "countryid": {
  19124. "description": "国家",
  19125. "type": "integer"
  19126. },
  19127. "createtime": {
  19128. "description": "创建时间",
  19129. "type": "string"
  19130. },
  19131. "districtid": {
  19132. "description": "区",
  19133. "type": "integer"
  19134. },
  19135. "hasvideo": {
  19136. "description": "是否有视频 - 0:无 1:有",
  19137. "type": "integer"
  19138. },
  19139. "provinceid": {
  19140. "description": "省",
  19141. "type": "integer"
  19142. },
  19143. "remark": {
  19144. "description": "审核备注",
  19145. "type": "string"
  19146. },
  19147. "videourl": {
  19148. "description": "视频地址",
  19149. "type": "string"
  19150. },
  19151. "warehousecode": {
  19152. "description": "仓库代码",
  19153. "type": "string"
  19154. },
  19155. "warehousename": {
  19156. "description": "仓库名称",
  19157. "type": "string"
  19158. },
  19159. "warehousestatus": {
  19160. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19161. "type": "integer"
  19162. },
  19163. "warehousetype": {
  19164. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19165. "type": "integer"
  19166. }
  19167. }
  19168. },
  19169. "models.ErmcpWrstandDetail": {
  19170. "type": "object",
  19171. "properties": {
  19172. "gbList": {
  19173. "description": "品牌列表",
  19174. "type": "array",
  19175. "items": {
  19176. "$ref": "#/definitions/models.GoodsBrand"
  19177. }
  19178. },
  19179. "goodsList": {
  19180. "description": "关联交易商品列表",
  19181. "type": "array",
  19182. "items": {
  19183. "$ref": "#/definitions/models.RelatedGoodsEx"
  19184. }
  19185. },
  19186. "gtList": {
  19187. "description": "型号列表",
  19188. "type": "array",
  19189. "items": {
  19190. "$ref": "#/definitions/models.GoodsTypeModel"
  19191. }
  19192. },
  19193. "wrd": {
  19194. "description": "基本信息",
  19195. "type": "object",
  19196. "$ref": "#/definitions/models.ErmcpWrstandard"
  19197. },
  19198. "wrsList": {
  19199. "description": "套保信息列表",
  19200. "type": "array",
  19201. "items": {
  19202. "$ref": "#/definitions/models.WRSConverTDetail"
  19203. }
  19204. }
  19205. }
  19206. },
  19207. "models.ErmcpWrstandard": {
  19208. "type": "object",
  19209. "properties": {
  19210. "areauserid": {
  19211. "description": "所属机构",
  19212. "type": "integer"
  19213. },
  19214. "createtime": {
  19215. "description": "创建时间",
  19216. "type": "string"
  19217. },
  19218. "creatorid": {
  19219. "description": "创建人",
  19220. "type": "integer"
  19221. },
  19222. "deliverygoodsid": {
  19223. "description": "品种ID",
  19224. "type": "integer"
  19225. },
  19226. "enumdicname": {
  19227. "description": "单位名称",
  19228. "type": "string"
  19229. },
  19230. "isvalid": {
  19231. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19232. "type": "integer"
  19233. },
  19234. "minivalue": {
  19235. "description": "最小变动值",
  19236. "type": "integer"
  19237. },
  19238. "minivaluedp": {
  19239. "description": "最小变动值小数位",
  19240. "type": "integer"
  19241. },
  19242. "realminivalue": {
  19243. "description": "实际最小变动值",
  19244. "type": "integer"
  19245. },
  19246. "realminivaluedp": {
  19247. "description": "实际最小变动值小数位",
  19248. "type": "integer"
  19249. },
  19250. "remark": {
  19251. "description": "备注",
  19252. "type": "string"
  19253. },
  19254. "unitid": {
  19255. "description": "单位ID",
  19256. "type": "integer"
  19257. },
  19258. "updatetime": {
  19259. "description": "更新时间",
  19260. "type": "string"
  19261. },
  19262. "wrstandardcode": {
  19263. "description": "现货商品代码",
  19264. "type": "string"
  19265. },
  19266. "wrstandardid": {
  19267. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19268. "type": "integer"
  19269. },
  19270. "wrstandardname": {
  19271. "description": "现货商品名称",
  19272. "type": "string"
  19273. }
  19274. }
  19275. },
  19276. "models.Externalexchange": {
  19277. "type": "object",
  19278. "required": [
  19279. "autoid"
  19280. ],
  19281. "properties": {
  19282. "autoid": {
  19283. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19284. "type": "integer"
  19285. },
  19286. "exchangefullname": {
  19287. "description": "外部交易所全称",
  19288. "type": "string"
  19289. },
  19290. "exexchangecode": {
  19291. "description": "外部交易所代码",
  19292. "type": "string"
  19293. },
  19294. "exexchangename": {
  19295. "description": "外部交易所名称(简称)",
  19296. "type": "string"
  19297. },
  19298. "ismarketprice": {
  19299. "description": "是否支持市价 - 0:不支持 1:支持",
  19300. "type": "integer"
  19301. },
  19302. "quotegear": {
  19303. "description": "行情档位(1-10)",
  19304. "type": "integer"
  19305. },
  19306. "showbrokerflag": {
  19307. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19308. "type": "integer"
  19309. },
  19310. "updatetime": {
  19311. "description": "更新时间",
  19312. "type": "string"
  19313. }
  19314. }
  19315. },
  19316. "models.Funcmenulist": {
  19317. "type": "object",
  19318. "required": [
  19319. "resourcecode"
  19320. ],
  19321. "properties": {
  19322. "iconame": {
  19323. "description": "菜单图标",
  19324. "type": "string"
  19325. },
  19326. "menutype": {
  19327. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19328. "type": "integer"
  19329. },
  19330. "parentcode": {
  19331. "description": "上级资源代码",
  19332. "type": "string"
  19333. },
  19334. "remark": {
  19335. "description": "备注",
  19336. "type": "string"
  19337. },
  19338. "resourcecode": {
  19339. "description": "资源代码",
  19340. "type": "string"
  19341. },
  19342. "resourcelevel": {
  19343. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19344. "type": "integer"
  19345. },
  19346. "resourcename": {
  19347. "description": "资源名",
  19348. "type": "string"
  19349. },
  19350. "sort": {
  19351. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19352. "type": "integer"
  19353. },
  19354. "url": {
  19355. "description": "URL",
  19356. "type": "string"
  19357. }
  19358. }
  19359. },
  19360. "models.Goods": {
  19361. "type": "object",
  19362. "required": [
  19363. "goodscode",
  19364. "goodsid",
  19365. "goodsname",
  19366. "marketid"
  19367. ],
  19368. "properties": {
  19369. "agreeunit": {
  19370. "description": "合约单位",
  19371. "type": "number"
  19372. },
  19373. "auditaccountid": {
  19374. "description": "审核操作员账号",
  19375. "type": "integer"
  19376. },
  19377. "audittime": {
  19378. "description": "审核时间",
  19379. "type": "string"
  19380. },
  19381. "cancelaccountid": {
  19382. "description": "注销操作员账号",
  19383. "type": "integer"
  19384. },
  19385. "canceltime": {
  19386. "description": "注销时间",
  19387. "type": "string"
  19388. },
  19389. "closepricemode": {
  19390. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19391. "type": "integer"
  19392. },
  19393. "closepriceparam": {
  19394. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19395. "type": "number"
  19396. },
  19397. "createtime": {
  19398. "description": "创建时间",
  19399. "type": "string"
  19400. },
  19401. "creatorid": {
  19402. "description": "创建人",
  19403. "type": "integer"
  19404. },
  19405. "currencyid": {
  19406. "description": "报价货币ID",
  19407. "type": "integer"
  19408. },
  19409. "cutmode": {
  19410. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19411. "type": "integer"
  19412. },
  19413. "decimalplace": {
  19414. "description": "报价小数位",
  19415. "type": "integer"
  19416. },
  19417. "delistingdate": {
  19418. "description": "商品退市时间(状态:退市) -- 已作废",
  19419. "type": "string"
  19420. },
  19421. "delistingmode": {
  19422. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19423. "type": "integer"
  19424. },
  19425. "deliveryflag": {
  19426. "description": "交割标志 - 0:不可交割 1:可交割",
  19427. "type": "integer"
  19428. },
  19429. "forceclosemode": {
  19430. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19431. "type": "integer"
  19432. },
  19433. "forceclosevalue": {
  19434. "description": "定期强平参数 [收益权]",
  19435. "type": "integer"
  19436. },
  19437. "goodscode": {
  19438. "description": "商品代码(内部)",
  19439. "type": "string"
  19440. },
  19441. "goodscurrencyid": {
  19442. "description": "合约货币ID",
  19443. "type": "integer"
  19444. },
  19445. "goodsgroupid": {
  19446. "description": "所属商品组ID",
  19447. "type": "integer"
  19448. },
  19449. "goodsid": {
  19450. "description": "商品ID(自增ID SEQ_GOODS)",
  19451. "type": "integer"
  19452. },
  19453. "goodsname": {
  19454. "description": "商品名称",
  19455. "type": "string"
  19456. },
  19457. "goodsquotetype": {
  19458. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19459. "type": "integer"
  19460. },
  19461. "goodsstatus": {
  19462. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19463. "type": "integer"
  19464. },
  19465. "goodstradetype": {
  19466. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19467. "type": "integer"
  19468. },
  19469. "goodunitid": {
  19470. "description": "报价单位ID",
  19471. "type": "integer"
  19472. },
  19473. "hasquoter": {
  19474. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19475. "type": "integer"
  19476. },
  19477. "hqprotecttime": {
  19478. "description": "行情保护时间(秒)",
  19479. "type": "integer"
  19480. },
  19481. "innerdealmode": {
  19482. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19483. "type": "integer"
  19484. },
  19485. "isbuylimited": {
  19486. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19487. "type": "integer"
  19488. },
  19489. "lasttradedate": {
  19490. "description": "最后交易日期(状态:待退市)",
  19491. "type": "string"
  19492. },
  19493. "listingdate": {
  19494. "description": "交易开始日期",
  19495. "type": "string"
  19496. },
  19497. "marketid": {
  19498. "description": "所属市场ID",
  19499. "type": "integer"
  19500. },
  19501. "modifierid": {
  19502. "description": "修改人",
  19503. "type": "integer"
  19504. },
  19505. "modifystatus": {
  19506. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19507. "type": "integer"
  19508. },
  19509. "modifytime": {
  19510. "description": "修改时间",
  19511. "type": "string"
  19512. },
  19513. "outerdealmode": {
  19514. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19515. "type": "integer"
  19516. },
  19517. "outgoodscode": {
  19518. "description": "商品代码(外部)",
  19519. "type": "string"
  19520. },
  19521. "qtydecimalplace": {
  19522. "description": "成交量小数位",
  19523. "type": "integer"
  19524. },
  19525. "quotegear": {
  19526. "description": "行情档位(1-10)",
  19527. "type": "integer"
  19528. },
  19529. "quoteminunit": {
  19530. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19531. "type": "integer"
  19532. },
  19533. "quoteshowtype": {
  19534. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19535. "type": "integer"
  19536. },
  19537. "quoteshowtypeinterval": {
  19538. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19539. "type": "integer"
  19540. },
  19541. "remark": {
  19542. "description": "备注",
  19543. "type": "string"
  19544. }
  19545. }
  19546. },
  19547. "models.GoodsBrand": {
  19548. "type": "object",
  19549. "properties": {
  19550. "brandid": {
  19551. "description": "品牌ID",
  19552. "type": "integer"
  19553. },
  19554. "brandname": {
  19555. "description": "品牌名称",
  19556. "type": "string"
  19557. },
  19558. "isvalid": {
  19559. "description": "是否有效 - 0:无效 1:有效",
  19560. "type": "integer"
  19561. }
  19562. }
  19563. },
  19564. "models.GoodsIDAndName": {
  19565. "type": "object",
  19566. "required": [
  19567. "goodscode",
  19568. "goodsid",
  19569. "goodsname",
  19570. "marketid"
  19571. ],
  19572. "properties": {
  19573. "goodscode": {
  19574. "description": "商品代码(内部)",
  19575. "type": "string"
  19576. },
  19577. "goodsid": {
  19578. "description": "商品ID(自增ID SEQ_GOODS)",
  19579. "type": "integer"
  19580. },
  19581. "goodsname": {
  19582. "description": "商品名称",
  19583. "type": "string"
  19584. },
  19585. "marketid": {
  19586. "description": "所属市场ID",
  19587. "type": "integer"
  19588. }
  19589. }
  19590. },
  19591. "models.GoodsTypeModel": {
  19592. "type": "object",
  19593. "properties": {
  19594. "convertfactor": {
  19595. "description": "标仓系数",
  19596. "type": "number"
  19597. },
  19598. "modelid": {
  19599. "description": "型号ID",
  19600. "type": "integer"
  19601. },
  19602. "modelname": {
  19603. "description": "型号名称",
  19604. "type": "string"
  19605. },
  19606. "updatetime": {
  19607. "description": "更新时间",
  19608. "type": "string"
  19609. }
  19610. }
  19611. },
  19612. "models.Goodsgroup": {
  19613. "type": "object",
  19614. "required": [
  19615. "goodsgroupid",
  19616. "goodsgroupname",
  19617. "goodsgroupstatus",
  19618. "marketid"
  19619. ],
  19620. "properties": {
  19621. "agreeunit": {
  19622. "description": "合约单位",
  19623. "type": "number"
  19624. },
  19625. "canshort": {
  19626. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19627. "type": "integer"
  19628. },
  19629. "closepricemode": {
  19630. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19631. "type": "integer"
  19632. },
  19633. "closepriceparam": {
  19634. "description": "强平最新价浮动比例 - 方式为2时使用",
  19635. "type": "number"
  19636. },
  19637. "createtime": {
  19638. "description": "创建时间",
  19639. "type": "string"
  19640. },
  19641. "creatorid": {
  19642. "description": "创建人",
  19643. "type": "integer"
  19644. },
  19645. "currencyid": {
  19646. "description": "报价货币ID",
  19647. "type": "integer"
  19648. },
  19649. "decimalplace": {
  19650. "description": "报价小数位",
  19651. "type": "integer"
  19652. },
  19653. "exercisetype": {
  19654. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19655. "type": "integer"
  19656. },
  19657. "exexchangeid": {
  19658. "description": "外部交易所ID[通道交易]",
  19659. "type": "integer"
  19660. },
  19661. "goodsgroupid": {
  19662. "description": "商品组ID(自增ID)",
  19663. "type": "integer"
  19664. },
  19665. "goodsgroupname": {
  19666. "description": "商品组名称",
  19667. "type": "string"
  19668. },
  19669. "goodsgroupstatus": {
  19670. "description": "商品组状态 - 1:正常 2:注销",
  19671. "type": "integer"
  19672. },
  19673. "goodunitid": {
  19674. "description": "报价单位ID",
  19675. "type": "integer"
  19676. },
  19677. "innerdealmode": {
  19678. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19679. "type": "integer"
  19680. },
  19681. "isbuylimited": {
  19682. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19683. "type": "integer"
  19684. },
  19685. "marketid": {
  19686. "description": "所属市场ID",
  19687. "type": "integer"
  19688. },
  19689. "modifierid": {
  19690. "description": "修改人",
  19691. "type": "integer"
  19692. },
  19693. "modifytime": {
  19694. "description": "修改时间",
  19695. "type": "string"
  19696. },
  19697. "outerdealmode": {
  19698. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19699. "type": "integer"
  19700. },
  19701. "outergroupcode": {
  19702. "description": "外部商品组代码[通道交易]",
  19703. "type": "string"
  19704. },
  19705. "premiumdecimalplace": {
  19706. "description": "权利金小数位[场外期权]",
  19707. "type": "integer"
  19708. },
  19709. "premiumspreadalgorithm": {
  19710. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19711. "type": "integer"
  19712. },
  19713. "premiumspreadvalue": {
  19714. "description": "权利金点差值[场外期权]",
  19715. "type": "number"
  19716. },
  19717. "qtydecimalplace": {
  19718. "description": "成交量小数位",
  19719. "type": "integer"
  19720. },
  19721. "quotegear": {
  19722. "description": "行情档位(1-10)",
  19723. "type": "integer"
  19724. },
  19725. "quoteminunit": {
  19726. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19727. "type": "integer"
  19728. },
  19729. "quoterid": {
  19730. "description": "报价商ID[场外期权]",
  19731. "type": "integer"
  19732. },
  19733. "quotesourcegroupid": {
  19734. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19735. "type": "integer"
  19736. },
  19737. "syncgoodsqty": {
  19738. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19739. "type": "integer"
  19740. }
  19741. }
  19742. },
  19743. "models.Goodssortbypreposition": {
  19744. "type": "object",
  19745. "required": [
  19746. "goodscode",
  19747. "tradedate"
  19748. ],
  19749. "properties": {
  19750. "goodscode": {
  19751. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19752. "type": "string"
  19753. },
  19754. "goodsgroupcode": {
  19755. "description": "品种代码",
  19756. "type": "string"
  19757. },
  19758. "prepositionqty": {
  19759. "description": "昨持仓量",
  19760. "type": "integer"
  19761. },
  19762. "sortindex": {
  19763. "description": "排序",
  19764. "type": "integer"
  19765. },
  19766. "tradedate": {
  19767. "description": "交易日",
  19768. "type": "string"
  19769. },
  19770. "updatetime": {
  19771. "description": "更新时间",
  19772. "type": "string"
  19773. }
  19774. }
  19775. },
  19776. "models.Hedgeinnerholderdetail": {
  19777. "type": "object",
  19778. "required": [
  19779. "buyorsell",
  19780. "tradeid"
  19781. ],
  19782. "properties": {
  19783. "accountid": {
  19784. "description": "账号ID",
  19785. "type": "integer"
  19786. },
  19787. "buyorsell": {
  19788. "description": "方向 - 0:买 1:卖",
  19789. "type": "integer"
  19790. },
  19791. "freezeqty": {
  19792. "description": "冻结数量 - 按单平使用",
  19793. "type": "integer"
  19794. },
  19795. "goodsid": {
  19796. "description": "商品ID",
  19797. "type": "integer"
  19798. },
  19799. "holderamount": {
  19800. "description": "持仓金额 [商品币种]",
  19801. "type": "number"
  19802. },
  19803. "holderdays": {
  19804. "description": "剩余冻结天数",
  19805. "type": "integer"
  19806. },
  19807. "holderprice": {
  19808. "description": "持仓价格",
  19809. "type": "number"
  19810. },
  19811. "holderqty": {
  19812. "description": "持仓数量",
  19813. "type": "integer"
  19814. },
  19815. "marketid": {
  19816. "description": "市场ID",
  19817. "type": "integer"
  19818. },
  19819. "openprice": {
  19820. "description": "建仓价格",
  19821. "type": "number"
  19822. },
  19823. "openqty": {
  19824. "description": "建仓数量",
  19825. "type": "integer"
  19826. },
  19827. "parentaccountid": {
  19828. "description": "所属母账户",
  19829. "type": "integer"
  19830. },
  19831. "releaseamount": {
  19832. "description": "释放持仓金额[商品币种]",
  19833. "type": "number"
  19834. },
  19835. "tradeamount": {
  19836. "description": "成交金额[账户]",
  19837. "type": "number"
  19838. },
  19839. "tradedate": {
  19840. "description": "交易日(yyyyMMdd)",
  19841. "type": "string"
  19842. },
  19843. "tradeid": {
  19844. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19845. "type": "string"
  19846. },
  19847. "tradetime": {
  19848. "description": "交易时间",
  19849. "type": "string"
  19850. }
  19851. }
  19852. },
  19853. "models.Hedgemarketopenlog": {
  19854. "type": "object",
  19855. "required": [
  19856. "accountid"
  19857. ],
  19858. "properties": {
  19859. "accountid": {
  19860. "description": "资金账号[外部母账户]",
  19861. "type": "integer"
  19862. },
  19863. "fcname": {
  19864. "description": "期货公司名称",
  19865. "type": "string"
  19866. },
  19867. "handlestatus": {
  19868. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19869. "type": "integer"
  19870. },
  19871. "marketid": {
  19872. "description": "市场ID",
  19873. "type": "integer"
  19874. },
  19875. "status": {
  19876. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19877. "type": "integer"
  19878. },
  19879. "tradedate": {
  19880. "description": "交易日(yyyyMMdd)",
  19881. "type": "string"
  19882. },
  19883. "updatetime": {
  19884. "description": "更新时间",
  19885. "type": "string"
  19886. }
  19887. }
  19888. },
  19889. "models.HsbyBuyMyPayOrder": {
  19890. "type": "object",
  19891. "required": [
  19892. "goodscode",
  19893. "goodsname",
  19894. "tradeid",
  19895. "trademode"
  19896. ],
  19897. "properties": {
  19898. "agreeunit": {
  19899. "description": "合约单位",
  19900. "type": "number"
  19901. },
  19902. "buyaccountid": {
  19903. "description": "买方账号ID[报价币种]",
  19904. "type": "integer"
  19905. },
  19906. "buyorderid": {
  19907. "description": "买方委托单号",
  19908. "type": "string"
  19909. },
  19910. "createtime": {
  19911. "description": "创建时间",
  19912. "type": "string"
  19913. },
  19914. "currencysign": {
  19915. "description": "货币符号",
  19916. "type": "string"
  19917. },
  19918. "decimalplace": {
  19919. "description": "报价小数位",
  19920. "type": "integer"
  19921. },
  19922. "goodscode": {
  19923. "description": "商品代码(内部)",
  19924. "type": "string"
  19925. },
  19926. "goodsid": {
  19927. "description": "商品ID",
  19928. "type": "integer"
  19929. },
  19930. "goodsname": {
  19931. "description": "商品名称",
  19932. "type": "string"
  19933. },
  19934. "marketid": {
  19935. "description": "市场ID",
  19936. "type": "integer"
  19937. },
  19938. "offamount": {
  19939. "description": "优惠金额",
  19940. "type": "number"
  19941. },
  19942. "originalamount": {
  19943. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19944. "type": "number"
  19945. },
  19946. "payamount": {
  19947. "description": "支付金额 = TradeAmount + TradeCharge",
  19948. "type": "number"
  19949. },
  19950. "payflag": {
  19951. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19952. "type": "integer"
  19953. },
  19954. "paylimitedtime": {
  19955. "description": "支付期限",
  19956. "type": "string"
  19957. },
  19958. "paytime": {
  19959. "description": "付款时间",
  19960. "type": "string"
  19961. },
  19962. "picurls1": {
  19963. "description": "预售商品介绍图片[多张用逗号分隔]",
  19964. "type": "string"
  19965. },
  19966. "picurls2": {
  19967. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19968. "type": "string"
  19969. },
  19970. "sellaccountid": {
  19971. "description": "卖方账号ID[报价币种]",
  19972. "type": "integer"
  19973. },
  19974. "sellorderid": {
  19975. "description": "卖方委托单号",
  19976. "type": "string"
  19977. },
  19978. "tradeamount": {
  19979. "description": "成交金额",
  19980. "type": "number"
  19981. },
  19982. "tradecharge": {
  19983. "description": "成交手续费(买方)",
  19984. "type": "number"
  19985. },
  19986. "tradedate": {
  19987. "description": "交易日(yyyyMMdd)",
  19988. "type": "string"
  19989. },
  19990. "tradeid": {
  19991. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19992. "type": "string"
  19993. },
  19994. "trademode": {
  19995. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19996. "type": "integer"
  19997. },
  19998. "tradeprice": {
  19999. "description": "成交价格",
  20000. "type": "number"
  20001. },
  20002. "tradeqty": {
  20003. "description": "成交数量",
  20004. "type": "integer"
  20005. },
  20006. "vendorname1": {
  20007. "description": "预售商品供应商名称",
  20008. "type": "string"
  20009. },
  20010. "vendorname2": {
  20011. "description": "挂牌商品供应商名称",
  20012. "type": "string"
  20013. }
  20014. }
  20015. },
  20016. "models.HsbyBuyMyTradeDetail": {
  20017. "type": "object",
  20018. "required": [
  20019. "accountid",
  20020. "buyorsell",
  20021. "goodscode",
  20022. "goodsid",
  20023. "goodsname",
  20024. "marketid",
  20025. "orderid",
  20026. "qty",
  20027. "time",
  20028. "trademode"
  20029. ],
  20030. "properties": {
  20031. "accountid": {
  20032. "description": "账户ID[报价币种]",
  20033. "type": "integer"
  20034. },
  20035. "agreeunit": {
  20036. "description": "合约单位",
  20037. "type": "number"
  20038. },
  20039. "amount": {
  20040. "description": "金额 = 价格 * 数量 * 合约单位",
  20041. "type": "number"
  20042. },
  20043. "buyorsell": {
  20044. "description": "买卖 - 0:买 1:卖",
  20045. "type": "integer"
  20046. },
  20047. "currencysign": {
  20048. "description": "货币符号",
  20049. "type": "string"
  20050. },
  20051. "decimalplace": {
  20052. "description": "报价小数位",
  20053. "type": "integer"
  20054. },
  20055. "goodscode": {
  20056. "description": "商品代码(内部)",
  20057. "type": "string"
  20058. },
  20059. "goodsid": {
  20060. "description": "商品ID",
  20061. "type": "integer"
  20062. },
  20063. "goodsname": {
  20064. "description": "商品名称",
  20065. "type": "string"
  20066. },
  20067. "marketid": {
  20068. "description": "市场ID",
  20069. "type": "integer"
  20070. },
  20071. "orderamount": {
  20072. "description": "委托金额",
  20073. "type": "number"
  20074. },
  20075. "orderid": {
  20076. "description": "单号(成交单号)",
  20077. "type": "string"
  20078. },
  20079. "picurls1": {
  20080. "description": "预售商品介绍图片[多张用逗号分隔]",
  20081. "type": "string"
  20082. },
  20083. "picurls2": {
  20084. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20085. "type": "string"
  20086. },
  20087. "price": {
  20088. "description": "价格",
  20089. "type": "number"
  20090. },
  20091. "qty": {
  20092. "description": "数量",
  20093. "type": "integer"
  20094. },
  20095. "time": {
  20096. "description": "时间",
  20097. "type": "string"
  20098. },
  20099. "trademode": {
  20100. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20101. "type": "integer"
  20102. },
  20103. "vendorname1": {
  20104. "description": "预售商品供应商名称",
  20105. "type": "string"
  20106. },
  20107. "vendorname2": {
  20108. "description": "挂牌商品供应商名称",
  20109. "type": "string"
  20110. }
  20111. }
  20112. },
  20113. "models.HsbyGoodsOrderDetail": {
  20114. "type": "object",
  20115. "required": [
  20116. "buyorsell",
  20117. "orderid",
  20118. "ordertime"
  20119. ],
  20120. "properties": {
  20121. "buyorsell": {
  20122. "description": "买卖 - 0:买 1:卖",
  20123. "type": "integer"
  20124. },
  20125. "currencysign": {
  20126. "description": "货币符号",
  20127. "type": "string"
  20128. },
  20129. "customername": {
  20130. "description": "客户名称(企业名称),已脱敏",
  20131. "type": "string"
  20132. },
  20133. "enableqty": {
  20134. "description": "可用数量",
  20135. "type": "integer"
  20136. },
  20137. "goodunit": {
  20138. "description": "报价单位",
  20139. "type": "string"
  20140. },
  20141. "orderid": {
  20142. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20143. "type": "string"
  20144. },
  20145. "orderprice": {
  20146. "description": "委托价格",
  20147. "type": "number"
  20148. },
  20149. "ordertime": {
  20150. "description": "委托时间",
  20151. "type": "string"
  20152. }
  20153. }
  20154. },
  20155. "models.HsbyListingGoodsDetail": {
  20156. "type": "object",
  20157. "required": [
  20158. "goodscode",
  20159. "goodsid",
  20160. "goodsname",
  20161. "marketid",
  20162. "trademode"
  20163. ],
  20164. "properties": {
  20165. "agreeunit": {
  20166. "description": "合约单位",
  20167. "type": "number"
  20168. },
  20169. "buymaxqty": {
  20170. "description": "购买上限 [71] - 0为不限",
  20171. "type": "integer"
  20172. },
  20173. "currency": {
  20174. "description": "货币",
  20175. "type": "string"
  20176. },
  20177. "currencysign": {
  20178. "description": "货币符号",
  20179. "type": "string"
  20180. },
  20181. "decimalplace": {
  20182. "description": "报价小数位",
  20183. "type": "integer"
  20184. },
  20185. "desccityid": {
  20186. "description": "目的地(市)ID",
  20187. "type": "integer"
  20188. },
  20189. "descprovinceid": {
  20190. "description": "目的地(省)ID",
  20191. "type": "integer"
  20192. },
  20193. "goodscode": {
  20194. "description": "商品代码(内部)",
  20195. "type": "string"
  20196. },
  20197. "goodsdesc": {
  20198. "description": "商品详情",
  20199. "type": "string"
  20200. },
  20201. "goodsid": {
  20202. "description": "商品ID(自增ID SEQ_GOODS)",
  20203. "type": "integer"
  20204. },
  20205. "goodsname": {
  20206. "description": "商品名称",
  20207. "type": "string"
  20208. },
  20209. "goodsprice": {
  20210. "description": "商品价格",
  20211. "type": "number"
  20212. },
  20213. "hotindex": {
  20214. "description": "景点热度",
  20215. "type": "integer"
  20216. },
  20217. "last": {
  20218. "description": "现价",
  20219. "type": "number"
  20220. },
  20221. "limitdown": {
  20222. "description": "跌停价",
  20223. "type": "number"
  20224. },
  20225. "limitup": {
  20226. "description": "涨停价",
  20227. "type": "number"
  20228. },
  20229. "lotsize": {
  20230. "description": "手数最小变动单位",
  20231. "type": "integer"
  20232. },
  20233. "marketid": {
  20234. "description": "所属市场ID",
  20235. "type": "integer"
  20236. },
  20237. "picurls": {
  20238. "description": "介绍图片[多张用逗号分隔]",
  20239. "type": "string"
  20240. },
  20241. "quoteminunit": {
  20242. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20243. "type": "integer"
  20244. },
  20245. "stepvalue": {
  20246. "description": "价格最小变动单位",
  20247. "type": "number"
  20248. },
  20249. "trademode": {
  20250. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20251. "type": "integer"
  20252. },
  20253. "vendorattr": {
  20254. "description": "供应商附件(多张,逗号分隔)",
  20255. "type": "string"
  20256. },
  20257. "vendorname": {
  20258. "description": "供应商名称",
  20259. "type": "string"
  20260. },
  20261. "vendorphone": {
  20262. "description": "供应商客服电话",
  20263. "type": "string"
  20264. },
  20265. "videourls": {
  20266. "description": "介绍视频[多张用逗号分隔]",
  20267. "type": "string"
  20268. }
  20269. }
  20270. },
  20271. "models.HsbyMarketGoods": {
  20272. "type": "object",
  20273. "required": [
  20274. "accountid",
  20275. "buyorsell",
  20276. "goodscode",
  20277. "goodsid",
  20278. "goodsname",
  20279. "marketid",
  20280. "orderid",
  20281. "trademode"
  20282. ],
  20283. "properties": {
  20284. "accountid": {
  20285. "description": "账户ID[报价币种]",
  20286. "type": "integer"
  20287. },
  20288. "agreeunit": {
  20289. "description": "合约单位",
  20290. "type": "number"
  20291. },
  20292. "buyorsell": {
  20293. "description": "买卖 - 0:买 1:卖",
  20294. "type": "integer"
  20295. },
  20296. "categoryid": {
  20297. "description": "类别ID(WRCATEGORY)",
  20298. "type": "integer"
  20299. },
  20300. "currency": {
  20301. "description": "货币",
  20302. "type": "string"
  20303. },
  20304. "currencysign": {
  20305. "description": "货币符号",
  20306. "type": "string"
  20307. },
  20308. "customername": {
  20309. "description": "卖家名称",
  20310. "type": "string"
  20311. },
  20312. "decimalplace": {
  20313. "description": "报价小数位",
  20314. "type": "integer"
  20315. },
  20316. "goodscode": {
  20317. "description": "商品代码(内部)",
  20318. "type": "string"
  20319. },
  20320. "goodsid": {
  20321. "description": "商品ID",
  20322. "type": "integer"
  20323. },
  20324. "goodsname": {
  20325. "description": "商品名称",
  20326. "type": "string"
  20327. },
  20328. "goodsprice": {
  20329. "description": "商品价格",
  20330. "type": "number"
  20331. },
  20332. "hascoupon": {
  20333. "description": "是否可用优惠卷",
  20334. "type": "boolean"
  20335. },
  20336. "hotindex": {
  20337. "description": "景点热度",
  20338. "type": "integer"
  20339. },
  20340. "marketid": {
  20341. "description": "市场ID",
  20342. "type": "integer"
  20343. },
  20344. "orderid": {
  20345. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20346. "type": "string"
  20347. },
  20348. "orderprice": {
  20349. "description": "委托价格",
  20350. "type": "number"
  20351. },
  20352. "orderstatus": {
  20353. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20354. "type": "integer"
  20355. },
  20356. "picurls": {
  20357. "description": "介绍图片[多张用逗号分隔]",
  20358. "type": "string"
  20359. },
  20360. "quoteminunit": {
  20361. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20362. "type": "integer"
  20363. },
  20364. "sellUserID": {
  20365. "description": "卖方UserID",
  20366. "type": "integer"
  20367. },
  20368. "trademode": {
  20369. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20370. "type": "integer"
  20371. },
  20372. "videourls": {
  20373. "description": "介绍视频[多张用逗号分隔]",
  20374. "type": "string"
  20375. }
  20376. }
  20377. },
  20378. "models.HsbyMarketGoodsDetail": {
  20379. "type": "object",
  20380. "required": [
  20381. "accountid",
  20382. "buyorsell",
  20383. "goodscode",
  20384. "goodsid",
  20385. "goodsname",
  20386. "marketid",
  20387. "orderid",
  20388. "orderqty",
  20389. "trademode"
  20390. ],
  20391. "properties": {
  20392. "accountid": {
  20393. "description": "账户ID[报价币种]",
  20394. "type": "integer"
  20395. },
  20396. "agreeunit": {
  20397. "description": "合约单位",
  20398. "type": "number"
  20399. },
  20400. "buymaxqty": {
  20401. "description": "购买上限 [71] - 0为不限",
  20402. "type": "integer"
  20403. },
  20404. "buyorsell": {
  20405. "description": "买卖 - 0:买 1:卖",
  20406. "type": "integer"
  20407. },
  20408. "cancelqty": {
  20409. "description": "撤单数量",
  20410. "type": "integer"
  20411. },
  20412. "categoryid": {
  20413. "description": "类别ID(WRCATEGORY)",
  20414. "type": "integer"
  20415. },
  20416. "currency": {
  20417. "description": "货币",
  20418. "type": "string"
  20419. },
  20420. "currencysign": {
  20421. "description": "货币符号",
  20422. "type": "string"
  20423. },
  20424. "customername": {
  20425. "description": "卖家名称",
  20426. "type": "string"
  20427. },
  20428. "decimalplace": {
  20429. "description": "报价小数位",
  20430. "type": "integer"
  20431. },
  20432. "goodscode": {
  20433. "description": "商品代码(内部)",
  20434. "type": "string"
  20435. },
  20436. "goodsdesc": {
  20437. "description": "商品详情",
  20438. "type": "string"
  20439. },
  20440. "goodsid": {
  20441. "description": "商品ID",
  20442. "type": "integer"
  20443. },
  20444. "goodsname": {
  20445. "description": "商品名称",
  20446. "type": "string"
  20447. },
  20448. "goodsprice": {
  20449. "description": "商品价格",
  20450. "type": "number"
  20451. },
  20452. "hotindex": {
  20453. "description": "景点热度",
  20454. "type": "integer"
  20455. },
  20456. "lotsize": {
  20457. "description": "手数最小变动单位",
  20458. "type": "integer"
  20459. },
  20460. "marketid": {
  20461. "description": "市场ID",
  20462. "type": "integer"
  20463. },
  20464. "orderid": {
  20465. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20466. "type": "string"
  20467. },
  20468. "orderprice": {
  20469. "description": "委托价格",
  20470. "type": "number"
  20471. },
  20472. "orderqty": {
  20473. "description": "委托数量",
  20474. "type": "integer"
  20475. },
  20476. "orderstatus": {
  20477. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20478. "type": "integer"
  20479. },
  20480. "picurls": {
  20481. "description": "介绍图片[多张用逗号分隔]",
  20482. "type": "string"
  20483. },
  20484. "quoteminunit": {
  20485. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20486. "type": "integer"
  20487. },
  20488. "sellUserID": {
  20489. "description": "卖方UserID",
  20490. "type": "integer"
  20491. },
  20492. "trademode": {
  20493. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20494. "type": "integer"
  20495. },
  20496. "tradeqty": {
  20497. "description": "成交数量",
  20498. "type": "integer"
  20499. },
  20500. "vendorattr": {
  20501. "description": "供应商附件(多张,逗号分隔)",
  20502. "type": "string"
  20503. },
  20504. "vendorname": {
  20505. "description": "供应商名称",
  20506. "type": "string"
  20507. },
  20508. "vendorphone": {
  20509. "description": "供应商客服电话",
  20510. "type": "string"
  20511. },
  20512. "videourls": {
  20513. "description": "介绍视频[多张用逗号分隔]",
  20514. "type": "string"
  20515. }
  20516. }
  20517. },
  20518. "models.HsbyMarketInfo": {
  20519. "type": "object",
  20520. "required": [
  20521. "marketid",
  20522. "marketstatus",
  20523. "trademode"
  20524. ],
  20525. "properties": {
  20526. "marketid": {
  20527. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20528. "type": "integer"
  20529. },
  20530. "marketname": {
  20531. "description": "市场名称",
  20532. "type": "string"
  20533. },
  20534. "marketstatus": {
  20535. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20536. "type": "integer"
  20537. },
  20538. "trademode": {
  20539. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20540. "type": "integer"
  20541. }
  20542. }
  20543. },
  20544. "models.HsbyMyGoods": {
  20545. "type": "object",
  20546. "required": [
  20547. "accountid",
  20548. "goodscode",
  20549. "goodsid",
  20550. "goodsname",
  20551. "marketid",
  20552. "trademode"
  20553. ],
  20554. "properties": {
  20555. "accountid": {
  20556. "description": "账号Id",
  20557. "type": "integer"
  20558. },
  20559. "agreeunit": {
  20560. "description": "合约单位",
  20561. "type": "number"
  20562. },
  20563. "buyaverageprice": {
  20564. "description": "持仓均价",
  20565. "type": "number"
  20566. },
  20567. "buycurholderamount": {
  20568. "description": "买当前持仓总金额[商品币种]",
  20569. "type": "number"
  20570. },
  20571. "buycurpositionqty": {
  20572. "description": "买当前持仓总数量",
  20573. "type": "integer"
  20574. },
  20575. "buymaxqty": {
  20576. "description": "购买上限 [71] - 0为不限",
  20577. "type": "integer"
  20578. },
  20579. "currencysign": {
  20580. "description": "货币符号",
  20581. "type": "string"
  20582. },
  20583. "decimalplace": {
  20584. "description": "报价小数位",
  20585. "type": "integer"
  20586. },
  20587. "enableqty": {
  20588. "description": "可用数量",
  20589. "type": "integer"
  20590. },
  20591. "goodscode": {
  20592. "description": "商品代码(内部)",
  20593. "type": "string"
  20594. },
  20595. "goodsid": {
  20596. "description": "商品Id",
  20597. "type": "integer"
  20598. },
  20599. "goodsname": {
  20600. "description": "商品名称",
  20601. "type": "string"
  20602. },
  20603. "goodsprice": {
  20604. "description": "商品价格",
  20605. "type": "number"
  20606. },
  20607. "goodsstatus": {
  20608. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20609. "type": "integer"
  20610. },
  20611. "last": {
  20612. "description": "现价(仅使用于挂牌点选)",
  20613. "type": "number"
  20614. },
  20615. "limitdown": {
  20616. "description": "跌停价(仅使用于挂牌点选)",
  20617. "type": "number"
  20618. },
  20619. "limitup": {
  20620. "description": "涨停价(仅使用于挂牌点选)",
  20621. "type": "number"
  20622. },
  20623. "lotsize": {
  20624. "description": "手数最小变动单位",
  20625. "type": "integer"
  20626. },
  20627. "marketid": {
  20628. "description": "所属市场ID",
  20629. "type": "integer"
  20630. },
  20631. "picurls": {
  20632. "description": "介绍图片[多张用逗号分隔]",
  20633. "type": "string"
  20634. },
  20635. "quoteminunit": {
  20636. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20637. "type": "integer"
  20638. },
  20639. "stepvalue": {
  20640. "description": "价格最小变动单位",
  20641. "type": "number"
  20642. },
  20643. "trademode": {
  20644. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20645. "type": "integer"
  20646. }
  20647. }
  20648. },
  20649. "models.HsbyMyPackage": {
  20650. "type": "object",
  20651. "required": [
  20652. "goodscode",
  20653. "goodsname",
  20654. "takeorderid",
  20655. "trademode"
  20656. ],
  20657. "properties": {
  20658. "accountid": {
  20659. "description": "账户ID",
  20660. "type": "integer"
  20661. },
  20662. "address": {
  20663. "description": "提货人详细地址",
  20664. "type": "string"
  20665. },
  20666. "agreeunit": {
  20667. "description": "合约单位",
  20668. "type": "number"
  20669. },
  20670. "amount": {
  20671. "description": "提货金额",
  20672. "type": "number"
  20673. },
  20674. "auditer": {
  20675. "description": "审核人",
  20676. "type": "integer"
  20677. },
  20678. "audittime": {
  20679. "description": "审核时间",
  20680. "type": "string"
  20681. },
  20682. "averageprice": {
  20683. "description": "均价",
  20684. "type": "number"
  20685. },
  20686. "cardnum": {
  20687. "description": "提货人证件号码",
  20688. "type": "string"
  20689. },
  20690. "cardtypeid": {
  20691. "description": "提货人证件类型",
  20692. "type": "integer"
  20693. },
  20694. "checkremark": {
  20695. "description": "审核备注",
  20696. "type": "string"
  20697. },
  20698. "currencysign": {
  20699. "description": "货币符号",
  20700. "type": "string"
  20701. },
  20702. "decimalplace": {
  20703. "description": "报价小数位",
  20704. "type": "integer"
  20705. },
  20706. "goodscode": {
  20707. "description": "商品代码(内部)",
  20708. "type": "string"
  20709. },
  20710. "goodsid": {
  20711. "description": "商品ID",
  20712. "type": "integer"
  20713. },
  20714. "goodsname": {
  20715. "description": "商品名称",
  20716. "type": "string"
  20717. },
  20718. "handlestatus": {
  20719. "description": "处理状态",
  20720. "type": "integer"
  20721. },
  20722. "marketid": {
  20723. "description": "市场ID",
  20724. "type": "integer"
  20725. },
  20726. "phonenum": {
  20727. "description": "提货人联系方式",
  20728. "type": "string"
  20729. },
  20730. "picurls": {
  20731. "description": "介绍图片[多张用逗号分隔]",
  20732. "type": "string"
  20733. },
  20734. "qty": {
  20735. "description": "提货数量",
  20736. "type": "number"
  20737. },
  20738. "recivername": {
  20739. "description": "提货人姓名",
  20740. "type": "string"
  20741. },
  20742. "reqtime": {
  20743. "description": "更新时间",
  20744. "type": "string"
  20745. },
  20746. "takemode": {
  20747. "description": "提货方式 - 2:自提 3:配送",
  20748. "type": "integer"
  20749. },
  20750. "takeorderid": {
  20751. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20752. "type": "string"
  20753. },
  20754. "takeorderstatus": {
  20755. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20756. "type": "integer"
  20757. },
  20758. "takeremark": {
  20759. "description": "提货备注",
  20760. "type": "string"
  20761. },
  20762. "tradedate": {
  20763. "description": "交易日(yyyyMMdd)",
  20764. "type": "string"
  20765. },
  20766. "trademode": {
  20767. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20768. "type": "integer"
  20769. },
  20770. "userid": {
  20771. "description": "用户ID",
  20772. "type": "integer"
  20773. },
  20774. "vendorname": {
  20775. "description": "供应商名称",
  20776. "type": "string"
  20777. }
  20778. }
  20779. },
  20780. "models.HsbyPreGoods": {
  20781. "type": "object",
  20782. "required": [
  20783. "goodscode",
  20784. "goodsid",
  20785. "goodsname",
  20786. "marketid",
  20787. "trademode"
  20788. ],
  20789. "properties": {
  20790. "agreeunit": {
  20791. "description": "合约单位",
  20792. "type": "number"
  20793. },
  20794. "currency": {
  20795. "description": "货币",
  20796. "type": "string"
  20797. },
  20798. "currencysign": {
  20799. "description": "货币符号",
  20800. "type": "string"
  20801. },
  20802. "decimalplace": {
  20803. "description": "报价小数位",
  20804. "type": "integer"
  20805. },
  20806. "desccityid": {
  20807. "description": "目的地(市)",
  20808. "type": "integer"
  20809. },
  20810. "descprovinceid": {
  20811. "description": "目的地(省)",
  20812. "type": "integer"
  20813. },
  20814. "enableqty": {
  20815. "description": "剩余数量",
  20816. "type": "integer"
  20817. },
  20818. "goodscode": {
  20819. "description": "商品代码(内部)",
  20820. "type": "string"
  20821. },
  20822. "goodsid": {
  20823. "description": "商品ID(自增ID SEQ_GOODS)",
  20824. "type": "integer"
  20825. },
  20826. "goodsname": {
  20827. "description": "商品名称",
  20828. "type": "string"
  20829. },
  20830. "goodsstatus": {
  20831. "description": "商品状态- 2:未上市 3:上市",
  20832. "type": "integer"
  20833. },
  20834. "lasttradedate": {
  20835. "description": "最后交易日期(状态:待退市)",
  20836. "type": "string"
  20837. },
  20838. "listingdate": {
  20839. "description": "交易开始日期",
  20840. "type": "string"
  20841. },
  20842. "marketid": {
  20843. "description": "所属市场ID",
  20844. "type": "integer"
  20845. },
  20846. "picurls": {
  20847. "description": "介绍图片[多张用逗号分隔]",
  20848. "type": "string"
  20849. },
  20850. "presaledqty": {
  20851. "description": "已预售量(预售结束时更新)",
  20852. "type": "integer"
  20853. },
  20854. "presaleqty": {
  20855. "description": "预售数量",
  20856. "type": "integer"
  20857. },
  20858. "quoteminunit": {
  20859. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20860. "type": "integer"
  20861. },
  20862. "refprice": {
  20863. "description": "参考价格[一口价]",
  20864. "type": "number"
  20865. },
  20866. "relatedgoodsid": {
  20867. "description": "关联交易合约ID",
  20868. "type": "integer"
  20869. },
  20870. "trademode": {
  20871. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20872. "type": "integer"
  20873. },
  20874. "videourls": {
  20875. "description": "介绍视频[多张用逗号分隔]",
  20876. "type": "string"
  20877. }
  20878. }
  20879. },
  20880. "models.HsbyPreGoodsDetail": {
  20881. "type": "object",
  20882. "required": [
  20883. "goodscode",
  20884. "goodsid",
  20885. "goodsname",
  20886. "marketid",
  20887. "trademode"
  20888. ],
  20889. "properties": {
  20890. "agreeunit": {
  20891. "description": "合约单位",
  20892. "type": "number"
  20893. },
  20894. "buymaxqty": {
  20895. "description": "购买上限 [71] - 0为不限",
  20896. "type": "integer"
  20897. },
  20898. "currency": {
  20899. "description": "货币",
  20900. "type": "string"
  20901. },
  20902. "currencysign": {
  20903. "description": "货币符号",
  20904. "type": "string"
  20905. },
  20906. "customername": {
  20907. "description": "发行单位",
  20908. "type": "string"
  20909. },
  20910. "decimalplace": {
  20911. "description": "报价小数位",
  20912. "type": "integer"
  20913. },
  20914. "desccityid": {
  20915. "description": "目的地(市)ID",
  20916. "type": "integer"
  20917. },
  20918. "descprovinceid": {
  20919. "description": "目的地(省)ID",
  20920. "type": "integer"
  20921. },
  20922. "enableqty": {
  20923. "description": "剩余数量",
  20924. "type": "integer"
  20925. },
  20926. "goodscode": {
  20927. "description": "商品代码(内部)",
  20928. "type": "string"
  20929. },
  20930. "goodsdesc": {
  20931. "description": "商品详情",
  20932. "type": "string"
  20933. },
  20934. "goodsid": {
  20935. "description": "商品ID(自增ID SEQ_GOODS)",
  20936. "type": "integer"
  20937. },
  20938. "goodsname": {
  20939. "description": "商品名称",
  20940. "type": "string"
  20941. },
  20942. "goodsstatus": {
  20943. "description": "商品状态- 2:未上市 3:上市",
  20944. "type": "integer"
  20945. },
  20946. "goodunit": {
  20947. "description": "报价单位",
  20948. "type": "string"
  20949. },
  20950. "lasttradedate": {
  20951. "description": "最后交易日期(状态:待退市)",
  20952. "type": "string"
  20953. },
  20954. "listingdate": {
  20955. "description": "交易开始日期",
  20956. "type": "string"
  20957. },
  20958. "lotsize": {
  20959. "description": "手数最小变动单位",
  20960. "type": "integer"
  20961. },
  20962. "marketid": {
  20963. "description": "所属市场ID",
  20964. "type": "integer"
  20965. },
  20966. "picurls": {
  20967. "description": "介绍图片[多张用逗号分隔]",
  20968. "type": "string"
  20969. },
  20970. "presaledqty": {
  20971. "description": "已预售量(预售结束时更新)",
  20972. "type": "integer"
  20973. },
  20974. "presaleqty": {
  20975. "description": "预售数量",
  20976. "type": "integer"
  20977. },
  20978. "quoteminunit": {
  20979. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20980. "type": "integer"
  20981. },
  20982. "refprice": {
  20983. "description": "参考价格[一口价]",
  20984. "type": "number"
  20985. },
  20986. "relatedgoodsid": {
  20987. "description": "关联交易合约ID",
  20988. "type": "integer"
  20989. },
  20990. "stepvalue": {
  20991. "description": "价格最小变动单位",
  20992. "type": "number"
  20993. },
  20994. "trademode": {
  20995. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20996. "type": "integer"
  20997. },
  20998. "vendorattr": {
  20999. "description": "供应商附件(多张,逗号分隔)",
  21000. "type": "string"
  21001. },
  21002. "vendorname": {
  21003. "description": "供应商名称",
  21004. "type": "string"
  21005. },
  21006. "vendorphone": {
  21007. "description": "供应商客服电话",
  21008. "type": "string"
  21009. },
  21010. "videourls": {
  21011. "description": "介绍视频[多张用逗号分隔]",
  21012. "type": "string"
  21013. }
  21014. }
  21015. },
  21016. "models.HsbySellCollectionOrder": {
  21017. "type": "object",
  21018. "required": [
  21019. "goodscode",
  21020. "goodsname",
  21021. "tradeid",
  21022. "trademode"
  21023. ],
  21024. "properties": {
  21025. "agreeunit": {
  21026. "description": "合约单位",
  21027. "type": "number"
  21028. },
  21029. "buyaccountid": {
  21030. "description": "买方账号ID[报价币种]",
  21031. "type": "integer"
  21032. },
  21033. "buyorderid": {
  21034. "description": "买方委托单号",
  21035. "type": "string"
  21036. },
  21037. "createtime": {
  21038. "description": "创建时间",
  21039. "type": "string"
  21040. },
  21041. "currencysign": {
  21042. "description": "货币符号",
  21043. "type": "string"
  21044. },
  21045. "decimalplace": {
  21046. "description": "报价小数位",
  21047. "type": "integer"
  21048. },
  21049. "goodscode": {
  21050. "description": "商品代码(内部)",
  21051. "type": "string"
  21052. },
  21053. "goodsid": {
  21054. "description": "商品ID",
  21055. "type": "integer"
  21056. },
  21057. "goodsname": {
  21058. "description": "商品名称",
  21059. "type": "string"
  21060. },
  21061. "marketid": {
  21062. "description": "市场ID",
  21063. "type": "integer"
  21064. },
  21065. "offamount": {
  21066. "description": "优惠金额",
  21067. "type": "number"
  21068. },
  21069. "payamount": {
  21070. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21071. "type": "number"
  21072. },
  21073. "payflag": {
  21074. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21075. "type": "integer"
  21076. },
  21077. "paylimitedtime": {
  21078. "description": "支付期限",
  21079. "type": "string"
  21080. },
  21081. "paytime": {
  21082. "description": "付款时间",
  21083. "type": "string"
  21084. },
  21085. "picurls": {
  21086. "description": "商品介绍图片[多张用逗号分隔]",
  21087. "type": "string"
  21088. },
  21089. "sellaccountid": {
  21090. "description": "卖方账号ID[报价币种]",
  21091. "type": "integer"
  21092. },
  21093. "sellorderid": {
  21094. "description": "卖方委托单号",
  21095. "type": "string"
  21096. },
  21097. "tradeamount": {
  21098. "description": "成交金额",
  21099. "type": "number"
  21100. },
  21101. "tradecharge": {
  21102. "description": "成交手续费(买方)",
  21103. "type": "number"
  21104. },
  21105. "tradedate": {
  21106. "description": "交易日(yyyyMMdd)",
  21107. "type": "string"
  21108. },
  21109. "tradeid": {
  21110. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21111. "type": "string"
  21112. },
  21113. "trademode": {
  21114. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21115. "type": "integer"
  21116. },
  21117. "tradeprice": {
  21118. "description": "成交价格",
  21119. "type": "number"
  21120. },
  21121. "tradeqty": {
  21122. "description": "成交数量",
  21123. "type": "integer"
  21124. }
  21125. }
  21126. },
  21127. "models.HsbySellMyDetail": {
  21128. "type": "object",
  21129. "required": [
  21130. "accountid",
  21131. "buyorsell",
  21132. "goodscode",
  21133. "goodsid",
  21134. "goodsname",
  21135. "marketid",
  21136. "orderid",
  21137. "time",
  21138. "trademode"
  21139. ],
  21140. "properties": {
  21141. "accountid": {
  21142. "description": "账户ID[报价币种]",
  21143. "type": "integer"
  21144. },
  21145. "agreeunit": {
  21146. "description": "合约单位",
  21147. "type": "number"
  21148. },
  21149. "buyorsell": {
  21150. "description": "买卖 - 0:买 1:卖",
  21151. "type": "integer"
  21152. },
  21153. "currencysign": {
  21154. "description": "货币符号",
  21155. "type": "string"
  21156. },
  21157. "decimalplace": {
  21158. "description": "报价小数位",
  21159. "type": "integer"
  21160. },
  21161. "goodscode": {
  21162. "description": "商品代码(内部)",
  21163. "type": "string"
  21164. },
  21165. "goodsid": {
  21166. "description": "商品ID",
  21167. "type": "integer"
  21168. },
  21169. "goodsname": {
  21170. "description": "商品名称",
  21171. "type": "string"
  21172. },
  21173. "marketid": {
  21174. "description": "市场ID",
  21175. "type": "integer"
  21176. },
  21177. "orderid": {
  21178. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21179. "type": "string"
  21180. },
  21181. "ordertype": {
  21182. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21183. "type": "integer"
  21184. },
  21185. "picurls": {
  21186. "description": "介绍图片[多张用逗号分隔]",
  21187. "type": "string"
  21188. },
  21189. "price": {
  21190. "description": "价格",
  21191. "type": "number"
  21192. },
  21193. "qty": {
  21194. "description": "数量",
  21195. "type": "integer"
  21196. },
  21197. "time": {
  21198. "description": "时间",
  21199. "type": "string"
  21200. },
  21201. "trademode": {
  21202. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21203. "type": "integer"
  21204. },
  21205. "vendorname": {
  21206. "description": "供应商名称",
  21207. "type": "string"
  21208. }
  21209. }
  21210. },
  21211. "models.HsbyTopGoods": {
  21212. "type": "object",
  21213. "required": [
  21214. "goodscode",
  21215. "goodsid",
  21216. "goodsname",
  21217. "marketid",
  21218. "trademode"
  21219. ],
  21220. "properties": {
  21221. "agreeunit": {
  21222. "description": "合约单位",
  21223. "type": "number"
  21224. },
  21225. "currency": {
  21226. "description": "货币",
  21227. "type": "string"
  21228. },
  21229. "currencysign": {
  21230. "description": "货币符号",
  21231. "type": "string"
  21232. },
  21233. "decimalplace": {
  21234. "description": "报价小数位",
  21235. "type": "integer"
  21236. },
  21237. "desccityid": {
  21238. "description": "目的地(市)",
  21239. "type": "integer"
  21240. },
  21241. "descprovinceid": {
  21242. "description": "目的地(省)",
  21243. "type": "integer"
  21244. },
  21245. "goodscode": {
  21246. "description": "商品代码(内部)",
  21247. "type": "string"
  21248. },
  21249. "goodsid": {
  21250. "description": "商品ID(自增ID SEQ_GOODS)",
  21251. "type": "integer"
  21252. },
  21253. "goodsname": {
  21254. "description": "商品名称",
  21255. "type": "string"
  21256. },
  21257. "hotindex": {
  21258. "description": "景点热度",
  21259. "type": "integer"
  21260. },
  21261. "last": {
  21262. "description": "现价",
  21263. "type": "number"
  21264. },
  21265. "marketid": {
  21266. "description": "所属市场ID",
  21267. "type": "integer"
  21268. },
  21269. "picurls": {
  21270. "description": "介绍图片[多张用逗号分隔]",
  21271. "type": "string"
  21272. },
  21273. "quoteminunit": {
  21274. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21275. "type": "integer"
  21276. },
  21277. "trademode": {
  21278. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21279. "type": "integer"
  21280. },
  21281. "videourls": {
  21282. "description": "介绍视频[多张用逗号分隔]",
  21283. "type": "string"
  21284. }
  21285. }
  21286. },
  21287. "models.HybsMyBuyOrderDetail": {
  21288. "type": "object",
  21289. "required": [
  21290. "accountid",
  21291. "buyorsell",
  21292. "goodscode",
  21293. "goodsid",
  21294. "goodsname",
  21295. "marketid",
  21296. "orderid",
  21297. "orderqty",
  21298. "ordertime",
  21299. "trademode"
  21300. ],
  21301. "properties": {
  21302. "accountid": {
  21303. "description": "账户ID[报价币种]",
  21304. "type": "integer"
  21305. },
  21306. "agreeunit": {
  21307. "description": "合约单位",
  21308. "type": "number"
  21309. },
  21310. "buyorsell": {
  21311. "description": "买卖 - 0:买 1:卖",
  21312. "type": "integer"
  21313. },
  21314. "cancelqty": {
  21315. "description": "撤单数量",
  21316. "type": "integer"
  21317. },
  21318. "currencysign": {
  21319. "description": "货币符号",
  21320. "type": "string"
  21321. },
  21322. "decimalplace": {
  21323. "description": "报价小数位",
  21324. "type": "integer"
  21325. },
  21326. "goodscode": {
  21327. "description": "商品代码(内部)",
  21328. "type": "string"
  21329. },
  21330. "goodsid": {
  21331. "description": "商品ID",
  21332. "type": "integer"
  21333. },
  21334. "goodsname": {
  21335. "description": "商品名称",
  21336. "type": "string"
  21337. },
  21338. "listingselecttype": {
  21339. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21340. "type": "integer"
  21341. },
  21342. "marketid": {
  21343. "description": "市场ID",
  21344. "type": "integer"
  21345. },
  21346. "mybuystatus": {
  21347. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21348. "type": "integer"
  21349. },
  21350. "orderamount": {
  21351. "description": "委托金额",
  21352. "type": "number"
  21353. },
  21354. "orderid": {
  21355. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21356. "type": "string"
  21357. },
  21358. "orderprice": {
  21359. "description": "委托价格",
  21360. "type": "number"
  21361. },
  21362. "orderqty": {
  21363. "description": "委托数量",
  21364. "type": "integer"
  21365. },
  21366. "orderstatus": {
  21367. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21368. "type": "integer"
  21369. },
  21370. "ordertime": {
  21371. "description": "委托时间",
  21372. "type": "string"
  21373. },
  21374. "picurls1": {
  21375. "description": "预售商品介绍图片[多张用逗号分隔]",
  21376. "type": "string"
  21377. },
  21378. "picurls2": {
  21379. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21380. "type": "string"
  21381. },
  21382. "trademode": {
  21383. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21384. "type": "integer"
  21385. },
  21386. "tradeqty": {
  21387. "description": "成交数量",
  21388. "type": "integer"
  21389. },
  21390. "vendorname1": {
  21391. "description": "预售商品供应商名称",
  21392. "type": "string"
  21393. },
  21394. "vendorname2": {
  21395. "description": "挂牌商品供应商名称",
  21396. "type": "string"
  21397. }
  21398. }
  21399. },
  21400. "models.Loginaccount": {
  21401. "type": "object",
  21402. "required": [
  21403. "loginid"
  21404. ],
  21405. "properties": {
  21406. "canoutin": {
  21407. "description": "是否可出入金 - 0:不可 1:可",
  21408. "type": "integer"
  21409. },
  21410. "clientroleid": {
  21411. "description": "终端角色ID",
  21412. "type": "integer"
  21413. },
  21414. "haslogined": {
  21415. "description": "是否已登录 - 0:未登录 1:已登录",
  21416. "type": "integer"
  21417. },
  21418. "hasupdatedpwd": {
  21419. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21420. "type": "integer"
  21421. },
  21422. "lastloginip": {
  21423. "description": "最新登录地址",
  21424. "type": "string"
  21425. },
  21426. "lastloginmode": {
  21427. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21428. "type": "integer"
  21429. },
  21430. "lastloginremark": {
  21431. "description": "最新登录描述",
  21432. "type": "string"
  21433. },
  21434. "lastlogintime": {
  21435. "description": "最新登录时间",
  21436. "type": "string"
  21437. },
  21438. "logincode": {
  21439. "description": "登录代码",
  21440. "type": "string"
  21441. },
  21442. "loginfailnum": {
  21443. "description": "连续登录失败次数(登录成功时清零)",
  21444. "type": "integer"
  21445. },
  21446. "loginid": {
  21447. "description": "登陆账号",
  21448. "type": "integer"
  21449. },
  21450. "loginport": {
  21451. "description": "最新登录端口",
  21452. "type": "integer"
  21453. },
  21454. "loginstatus": {
  21455. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21456. "type": "integer"
  21457. },
  21458. "loginusertype": {
  21459. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21460. "type": "integer"
  21461. },
  21462. "modifierid": {
  21463. "description": "修改人",
  21464. "type": "integer"
  21465. },
  21466. "modifytime": {
  21467. "description": "修改时间",
  21468. "type": "string"
  21469. },
  21470. "pwdwrongcount": {
  21471. "description": "密码错误次数",
  21472. "type": "integer"
  21473. },
  21474. "taaccountrighttype": {
  21475. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21476. "type": "integer"
  21477. },
  21478. "unfreezetime": {
  21479. "description": "账户解冻时间",
  21480. "type": "string"
  21481. },
  21482. "userid": {
  21483. "description": "用户ID",
  21484. "type": "integer"
  21485. }
  21486. }
  21487. },
  21488. "models.MainAccountInfo": {
  21489. "type": "object",
  21490. "properties": {
  21491. "accountid": {
  21492. "description": "账号id",
  21493. "type": "string"
  21494. },
  21495. "accountname": {
  21496. "description": "账号名称(taaccount表中的名称)",
  21497. "type": "string"
  21498. },
  21499. "appid": {
  21500. "description": "AppID",
  21501. "type": "string"
  21502. },
  21503. "authcode": {
  21504. "description": "授权码",
  21505. "type": "string"
  21506. },
  21507. "brokerid": {
  21508. "description": "经纪商id",
  21509. "type": "string"
  21510. },
  21511. "fcid": {
  21512. "description": "期货公司id",
  21513. "type": "integer"
  21514. },
  21515. "fcname": {
  21516. "description": "期货公司代码",
  21517. "type": "string"
  21518. },
  21519. "hedgeaccountcode": {
  21520. "description": "外部账号代码(主账号登录代码)",
  21521. "type": "string"
  21522. },
  21523. "hedgeaccountpwd": {
  21524. "description": "密码",
  21525. "type": "string"
  21526. },
  21527. "ismain": {
  21528. "description": "是否主账号",
  21529. "type": "integer"
  21530. },
  21531. "relateduserid": {
  21532. "description": "关联用户id",
  21533. "type": "integer"
  21534. }
  21535. }
  21536. },
  21537. "models.Market": {
  21538. "type": "object",
  21539. "required": [
  21540. "marketid",
  21541. "marketstatus",
  21542. "openmethod",
  21543. "reckonpricealgorithm",
  21544. "trademode",
  21545. "tradeproperty"
  21546. ],
  21547. "properties": {
  21548. "auctionwrtype": {
  21549. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21550. "type": "integer"
  21551. },
  21552. "canacceptquote": {
  21553. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21554. "type": "integer"
  21555. },
  21556. "cangoodsexercise": {
  21557. "description": "[期权]是否可现货行权- 0:否 1:是",
  21558. "type": "integer"
  21559. },
  21560. "cangoodsexercisetype": {
  21561. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21562. "type": "integer"
  21563. },
  21564. "canmanualquotestrike": {
  21565. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21566. "type": "integer"
  21567. },
  21568. "canmutistage": {
  21569. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21570. "type": "integer"
  21571. },
  21572. "canpreexercise": {
  21573. "description": "[期权]是否可预申报- 0:否 1:是",
  21574. "type": "integer"
  21575. },
  21576. "clearinterval": {
  21577. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21578. "type": "integer"
  21579. },
  21580. "contracttmp": {
  21581. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21582. "type": "string"
  21583. },
  21584. "exchareaid": {
  21585. "description": "所属交易所,可以没有",
  21586. "type": "integer"
  21587. },
  21588. "goodstype": {
  21589. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21590. "type": "integer"
  21591. },
  21592. "hasrebate": {
  21593. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21594. "type": "integer"
  21595. },
  21596. "hastradecredit": {
  21597. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21598. "type": "integer"
  21599. },
  21600. "haswr": {
  21601. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21602. "type": "integer"
  21603. },
  21604. "isdeductmargin": {
  21605. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21606. "type": "integer"
  21607. },
  21608. "isrecordsource": {
  21609. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21610. "type": "integer"
  21611. },
  21612. "isreleasemargin": {
  21613. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21614. "type": "integer"
  21615. },
  21616. "marginformula": {
  21617. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21618. "type": "integer"
  21619. },
  21620. "marginformula2": {
  21621. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21622. "type": "integer"
  21623. },
  21624. "marketid": {
  21625. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21626. "type": "integer"
  21627. },
  21628. "marketname": {
  21629. "description": "市场名称",
  21630. "type": "string"
  21631. },
  21632. "marketserviceid": {
  21633. "description": "市场服务ID",
  21634. "type": "integer"
  21635. },
  21636. "marketstatus": {
  21637. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21638. "type": "integer"
  21639. },
  21640. "markettype": {
  21641. "description": "市场类型- 1:非交易服务 2:交易服务",
  21642. "type": "integer"
  21643. },
  21644. "matchermode": {
  21645. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21646. "type": "integer"
  21647. },
  21648. "openmethod": {
  21649. "description": "开盘模式 - 0 自动 1手动",
  21650. "type": "integer"
  21651. },
  21652. "otcuserid": {
  21653. "description": "场外期权做市商[场外期权]",
  21654. "type": "integer"
  21655. },
  21656. "outersynctime": {
  21657. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21658. "type": "string"
  21659. },
  21660. "pendingflag": {
  21661. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21662. "type": "integer"
  21663. },
  21664. "pendingtime": {
  21665. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21666. "type": "string"
  21667. },
  21668. "performancetempid": {
  21669. "description": "履约计划模板ID - 作废",
  21670. "type": "integer"
  21671. },
  21672. "premiumquotemode": {
  21673. "description": "权利金报价方式 - 1:自动 2:手动",
  21674. "type": "integer"
  21675. },
  21676. "rebateratio": {
  21677. "description": "返利比率[竞价式]",
  21678. "type": "number"
  21679. },
  21680. "reckonorder": {
  21681. "description": "结算顺序",
  21682. "type": "integer"
  21683. },
  21684. "reckonpricealgorithm": {
  21685. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21686. "type": "integer"
  21687. },
  21688. "reckonpriceparam": {
  21689. "description": "结算价参数",
  21690. "type": "integer"
  21691. },
  21692. "reckontime": {
  21693. "description": "结算时间[通道交易-对冲](HH:mm)",
  21694. "type": "string"
  21695. },
  21696. "roleprioritytype": {
  21697. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21698. "type": "integer"
  21699. },
  21700. "selllistingauditflag": {
  21701. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21702. "type": "integer"
  21703. },
  21704. "trademarkettype": {
  21705. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21706. "type": "integer"
  21707. },
  21708. "trademode": {
  21709. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21710. "type": "integer"
  21711. },
  21712. "tradeproperty": {
  21713. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21714. "type": "integer"
  21715. },
  21716. "tradetype": {
  21717. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21718. "type": "integer"
  21719. }
  21720. }
  21721. },
  21722. "models.Marketrun": {
  21723. "type": "object",
  21724. "required": [
  21725. "marketid",
  21726. "nexttradedate",
  21727. "reckonflag",
  21728. "runstatus",
  21729. "tradedate",
  21730. "tradedate2"
  21731. ],
  21732. "properties": {
  21733. "afternexttradedate": {
  21734. "description": "下下交易日",
  21735. "type": "string"
  21736. },
  21737. "clearquoteflag": {
  21738. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21739. "type": "integer"
  21740. },
  21741. "lastreckondate": {
  21742. "description": "最新交易日(结算成功)",
  21743. "type": "string"
  21744. },
  21745. "machinedate": {
  21746. "description": "机器时间",
  21747. "type": "string"
  21748. },
  21749. "manualflag": {
  21750. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21751. "type": "integer"
  21752. },
  21753. "marketid": {
  21754. "description": "市场ID",
  21755. "type": "integer"
  21756. },
  21757. "nexttradedate": {
  21758. "description": "下一交易日",
  21759. "type": "string"
  21760. },
  21761. "pretradedate": {
  21762. "description": "上一交易日",
  21763. "type": "string"
  21764. },
  21765. "reckonflag": {
  21766. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21767. "type": "integer"
  21768. },
  21769. "runstatus": {
  21770. "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.今日免清算",
  21771. "type": "integer"
  21772. },
  21773. "sectionid": {
  21774. "description": "时间段号[多时段时用]",
  21775. "type": "integer"
  21776. },
  21777. "tradedate": {
  21778. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21779. "type": "string"
  21780. },
  21781. "tradedate2": {
  21782. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21783. "type": "string"
  21784. },
  21785. "updatetime": {
  21786. "description": "更新时间",
  21787. "type": "string"
  21788. }
  21789. }
  21790. },
  21791. "models.Messageboard": {
  21792. "type": "object",
  21793. "required": [
  21794. "messageboardid"
  21795. ],
  21796. "properties": {
  21797. "contactnum": {
  21798. "description": "联系电话",
  21799. "type": "string"
  21800. },
  21801. "createtime": {
  21802. "description": "创建时间",
  21803. "type": "string"
  21804. },
  21805. "message": {
  21806. "description": "留言信息",
  21807. "type": "string"
  21808. },
  21809. "messageboardid": {
  21810. "description": "留言簿ID(SEQ_MessageBoard)",
  21811. "type": "integer"
  21812. },
  21813. "userid": {
  21814. "description": "用户ID",
  21815. "type": "integer"
  21816. }
  21817. }
  21818. },
  21819. "models.MyCoupon": {
  21820. "type": "object",
  21821. "required": [
  21822. "accountid",
  21823. "coupontypeid"
  21824. ],
  21825. "properties": {
  21826. "accountid": {
  21827. "description": "资金账户ID",
  21828. "type": "integer"
  21829. },
  21830. "areauserid": {
  21831. "description": "所属机构",
  21832. "type": "integer"
  21833. },
  21834. "conditionvalue": {
  21835. "description": "条件阈值(可为0)",
  21836. "type": "number"
  21837. },
  21838. "couponcategroy": {
  21839. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21840. "type": "integer"
  21841. },
  21842. "couponname": {
  21843. "description": "优惠券名称",
  21844. "type": "string"
  21845. },
  21846. "coupontypeid": {
  21847. "description": "优惠券类型ID",
  21848. "type": "string"
  21849. },
  21850. "couponvalue": {
  21851. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21852. "type": "number"
  21853. },
  21854. "curfreezeqty": {
  21855. "description": "期末冻结数量",
  21856. "type": "integer"
  21857. },
  21858. "curqty": {
  21859. "description": "期末数量",
  21860. "type": "integer"
  21861. },
  21862. "isgeneral": {
  21863. "description": "是否通用券 - 0:否 1:是",
  21864. "type": "integer"
  21865. },
  21866. "isunusable": {
  21867. "description": "是否不可用",
  21868. "type": "boolean"
  21869. },
  21870. "limitedflag": {
  21871. "description": "是否指定商品 - 0:不限 1:限制",
  21872. "type": "integer"
  21873. },
  21874. "limitedgoodsids": {
  21875. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21876. "type": "string"
  21877. },
  21878. "orifreezeqty": {
  21879. "description": "期初冻结数量",
  21880. "type": "integer"
  21881. },
  21882. "oriqty": {
  21883. "description": "期初数量",
  21884. "type": "integer"
  21885. },
  21886. "reasontype": {
  21887. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21888. "type": "integer"
  21889. },
  21890. "todaydecrease": {
  21891. "description": "今日减少",
  21892. "type": "integer"
  21893. },
  21894. "todayincrease": {
  21895. "description": "今日增加",
  21896. "type": "integer"
  21897. },
  21898. "userid": {
  21899. "description": "用户ID",
  21900. "type": "integer"
  21901. },
  21902. "userscope": {
  21903. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21904. "type": "string"
  21905. }
  21906. }
  21907. },
  21908. "models.MyCouponHold": {
  21909. "type": "object",
  21910. "required": [
  21911. "couponholdid"
  21912. ],
  21913. "properties": {
  21914. "accountid": {
  21915. "description": "资金账户ID",
  21916. "type": "integer"
  21917. },
  21918. "conditionvalue": {
  21919. "description": "条件阈值(可为0)",
  21920. "type": "number"
  21921. },
  21922. "couponcategroy": {
  21923. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21924. "type": "integer"
  21925. },
  21926. "couponholdid": {
  21927. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21928. "type": "string"
  21929. },
  21930. "couponname": {
  21931. "description": "优惠券名称",
  21932. "type": "string"
  21933. },
  21934. "coupontypeid": {
  21935. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21936. "type": "string"
  21937. },
  21938. "couponvalue": {
  21939. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21940. "type": "number"
  21941. },
  21942. "createtime": {
  21943. "description": "创建时间",
  21944. "type": "string"
  21945. },
  21946. "enddate": {
  21947. "description": "结束日期",
  21948. "type": "string"
  21949. },
  21950. "giveapplyid": {
  21951. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21952. "type": "integer"
  21953. },
  21954. "holdstatus": {
  21955. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21956. "type": "integer"
  21957. },
  21958. "isgeneral": {
  21959. "description": "是否通用券 - 0:否 1:是",
  21960. "type": "integer"
  21961. },
  21962. "limitedflag": {
  21963. "description": "是否指定商品 - 0:不限 1:限制",
  21964. "type": "integer"
  21965. },
  21966. "limitedgoodsids": {
  21967. "description": "指定商品IDs[逗号分隔]",
  21968. "type": "string"
  21969. },
  21970. "qty": {
  21971. "description": "数量(按1平铺)",
  21972. "type": "integer"
  21973. },
  21974. "startdate": {
  21975. "description": "开始日期",
  21976. "type": "string"
  21977. },
  21978. "userid": {
  21979. "description": "用户ID",
  21980. "type": "integer"
  21981. },
  21982. "userscope": {
  21983. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21984. "type": "string"
  21985. }
  21986. }
  21987. },
  21988. "models.MyUsedCoupon": {
  21989. "type": "object",
  21990. "required": [
  21991. "coupontypeid",
  21992. "orderid"
  21993. ],
  21994. "properties": {
  21995. "accountid": {
  21996. "description": "资金账户ID(买方)",
  21997. "type": "integer"
  21998. },
  21999. "conditionvalue": {
  22000. "description": "条件阈值(可为0)",
  22001. "type": "number"
  22002. },
  22003. "couponcategroy": {
  22004. "description": "种类 - 1:现金券 2:折扣券",
  22005. "type": "integer"
  22006. },
  22007. "couponname": {
  22008. "description": "优惠券名称",
  22009. "type": "string"
  22010. },
  22011. "coupontypeid": {
  22012. "description": "优惠券类型ID(买方)",
  22013. "type": "string"
  22014. },
  22015. "couponvalue": {
  22016. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22017. "type": "number"
  22018. },
  22019. "createtime": {
  22020. "description": "创建时间",
  22021. "type": "string"
  22022. },
  22023. "goodsid": {
  22024. "description": "商品ID",
  22025. "type": "integer"
  22026. },
  22027. "handlestatus": {
  22028. "description": "处理状态",
  22029. "type": "integer"
  22030. },
  22031. "marketid": {
  22032. "description": "市场ID",
  22033. "type": "integer"
  22034. },
  22035. "offamount": {
  22036. "description": "优惠金额",
  22037. "type": "number"
  22038. },
  22039. "orderid": {
  22040. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22041. "type": "string"
  22042. },
  22043. "sellaccountid": {
  22044. "description": "资金账户ID(卖方)",
  22045. "type": "integer"
  22046. },
  22047. "tradeamount": {
  22048. "description": "成交金额",
  22049. "type": "number"
  22050. },
  22051. "tradeid": {
  22052. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22053. "type": "string"
  22054. },
  22055. "usedqty": {
  22056. "description": "使用数量",
  22057. "type": "integer"
  22058. }
  22059. }
  22060. },
  22061. "models.OperationPrimaryMenu": {
  22062. "type": "object",
  22063. "properties": {
  22064. "Children": {
  22065. "description": "二级功能菜单",
  22066. "type": "array",
  22067. "items": {
  22068. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22069. }
  22070. },
  22071. "Key": {
  22072. "description": "菜单KEY",
  22073. "type": "string"
  22074. },
  22075. "Label": {
  22076. "description": "菜单标题",
  22077. "type": "string"
  22078. }
  22079. }
  22080. },
  22081. "models.OperationSecondaryMenu": {
  22082. "type": "object",
  22083. "properties": {
  22084. "Key": {
  22085. "description": "菜单KEY",
  22086. "type": "string"
  22087. },
  22088. "Label": {
  22089. "description": "菜单标题",
  22090. "type": "string"
  22091. },
  22092. "TabList": {
  22093. "description": "三级功能菜单",
  22094. "type": "array",
  22095. "items": {
  22096. "$ref": "#/definitions/models.OperationTabMenu"
  22097. }
  22098. }
  22099. }
  22100. },
  22101. "models.OperationTabMenu": {
  22102. "type": "object",
  22103. "properties": {
  22104. "Key": {
  22105. "description": "菜单KEY",
  22106. "type": "string"
  22107. },
  22108. "Label": {
  22109. "description": "菜单标题",
  22110. "type": "string"
  22111. }
  22112. }
  22113. },
  22114. "models.PendingAuditBizModel": {
  22115. "type": "object",
  22116. "properties": {
  22117. "accountid": {
  22118. "description": "现货账户",
  22119. "type": "string"
  22120. },
  22121. "areaname": {
  22122. "description": "所属部门",
  22123. "type": "string"
  22124. },
  22125. "bizid": {
  22126. "description": "业务ID",
  22127. "type": "string"
  22128. },
  22129. "bizname": {
  22130. "description": "业务名称",
  22131. "type": "string"
  22132. },
  22133. "status": {
  22134. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22135. "type": "integer"
  22136. },
  22137. "type": {
  22138. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22139. "type": "integer"
  22140. }
  22141. }
  22142. },
  22143. "models.QueryErrorInfosRsp": {
  22144. "type": "object",
  22145. "required": [
  22146. "errorid"
  22147. ],
  22148. "properties": {
  22149. "description": {
  22150. "description": "异常描述",
  22151. "type": "string"
  22152. },
  22153. "errorcode": {
  22154. "description": "异常代码",
  22155. "type": "string"
  22156. },
  22157. "errorid": {
  22158. "description": "异常ID",
  22159. "type": "integer"
  22160. },
  22161. "modulecode": {
  22162. "description": "所属模块",
  22163. "type": "string"
  22164. },
  22165. "operatecode": {
  22166. "description": "所属操作",
  22167. "type": "string"
  22168. },
  22169. "rownumber": {
  22170. "description": "行号",
  22171. "type": "string"
  22172. }
  22173. }
  22174. },
  22175. "models.QueryHedgeOrderDetailRsp": {
  22176. "type": "object",
  22177. "properties": {
  22178. "accountid": {
  22179. "description": "账户ID",
  22180. "type": "integer"
  22181. },
  22182. "buyorsell": {
  22183. "description": "买卖 - 0:买 1:卖",
  22184. "type": "integer"
  22185. },
  22186. "cancellogincode": {
  22187. "description": "撤单人",
  22188. "type": "string"
  22189. },
  22190. "channelbuildtype": {
  22191. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  22192. "type": "integer"
  22193. },
  22194. "channelinnerorderstatus": {
  22195. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  22196. "type": "integer"
  22197. },
  22198. "channeloperatetype": {
  22199. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  22200. "type": "integer"
  22201. },
  22202. "closetype": {
  22203. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22204. "type": "integer"
  22205. },
  22206. "curexchangerate": {
  22207. "description": "当前汇率",
  22208. "type": "number"
  22209. },
  22210. "exchangefullname": {
  22211. "description": "外部交易所全称",
  22212. "type": "string"
  22213. },
  22214. "goodscode": {
  22215. "description": "商品代码(内部)",
  22216. "type": "string"
  22217. },
  22218. "goodsid": {
  22219. "description": "商品ID",
  22220. "type": "integer"
  22221. },
  22222. "goodsname": {
  22223. "description": "商品名称",
  22224. "type": "string"
  22225. },
  22226. "marketid": {
  22227. "description": "市场ID",
  22228. "type": "integer"
  22229. },
  22230. "openfreezemargin": {
  22231. "description": "冻结保证金(冻结交易金额)",
  22232. "type": "number"
  22233. },
  22234. "orderid": {
  22235. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22236. "type": "string"
  22237. },
  22238. "orderlogincode": {
  22239. "description": "委托人",
  22240. "type": "string"
  22241. },
  22242. "orderprice": {
  22243. "description": "委托价格(账户)",
  22244. "type": "number"
  22245. },
  22246. "orderqty": {
  22247. "description": "委托数量",
  22248. "type": "integer"
  22249. },
  22250. "ordertime": {
  22251. "description": "委托时间",
  22252. "type": "string"
  22253. },
  22254. "pricemode": {
  22255. "description": "取价方式 - 1:市价 2: 限价",
  22256. "type": "integer"
  22257. },
  22258. "tradedate": {
  22259. "description": "交易日(yyyyMMdd)",
  22260. "type": "string"
  22261. },
  22262. "tradeqty": {
  22263. "description": "成交数量",
  22264. "type": "integer"
  22265. }
  22266. }
  22267. },
  22268. "models.QueryHedgeTradeDetailRsp": {
  22269. "type": "object",
  22270. "properties": {
  22271. "accountid": {
  22272. "description": "账号ID",
  22273. "type": "integer"
  22274. },
  22275. "buyorsell": {
  22276. "description": "方向 - 0:买 1:卖",
  22277. "type": "integer"
  22278. },
  22279. "channelbuildtype": {
  22280. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22281. "type": "integer"
  22282. },
  22283. "closecharge": {
  22284. "description": "平仓手续费(账户)",
  22285. "type": "number"
  22286. },
  22287. "closecharge2": {
  22288. "description": "平仓手续费(商品)",
  22289. "type": "number"
  22290. },
  22291. "closepl": {
  22292. "description": "平仓盈亏(账户)",
  22293. "type": "number"
  22294. },
  22295. "closepl2": {
  22296. "description": "平仓盈亏(商品)",
  22297. "type": "number"
  22298. },
  22299. "closepl3": {
  22300. "description": "平仓盈亏(账户)(逐笔)",
  22301. "type": "number"
  22302. },
  22303. "closepl4": {
  22304. "description": "平仓盈亏(商品)(逐笔)",
  22305. "type": "number"
  22306. },
  22307. "closetype": {
  22308. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22309. "type": "integer"
  22310. },
  22311. "curexchangerate": {
  22312. "description": "当前汇率",
  22313. "type": "number"
  22314. },
  22315. "exchangefullname": {
  22316. "description": "外部交易所全称",
  22317. "type": "string"
  22318. },
  22319. "goodscode": {
  22320. "description": "商品代码(内部)",
  22321. "type": "string"
  22322. },
  22323. "goodsid": {
  22324. "description": "商品ID",
  22325. "type": "integer"
  22326. },
  22327. "goodsname": {
  22328. "description": "商品名称",
  22329. "type": "string"
  22330. },
  22331. "marketid": {
  22332. "description": "市场ID",
  22333. "type": "integer"
  22334. },
  22335. "opencharge": {
  22336. "description": "建仓手续费(账户)",
  22337. "type": "number"
  22338. },
  22339. "opencharge2": {
  22340. "description": "建仓手续费(商品)",
  22341. "type": "number"
  22342. },
  22343. "orderid": {
  22344. "description": "委托单号",
  22345. "type": "string"
  22346. },
  22347. "orderlogincode": {
  22348. "description": "委托人",
  22349. "type": "string"
  22350. },
  22351. "tradeamount": {
  22352. "description": "成交金额(账户)",
  22353. "type": "number"
  22354. },
  22355. "tradedate": {
  22356. "description": "交易日(yyyyMMdd)",
  22357. "type": "string"
  22358. },
  22359. "tradeid": {
  22360. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22361. "type": "string"
  22362. },
  22363. "tradeprice": {
  22364. "description": "成交价格",
  22365. "type": "number"
  22366. },
  22367. "tradeqty": {
  22368. "description": "成交数量",
  22369. "type": "integer"
  22370. },
  22371. "tradetime": {
  22372. "description": "成交时间",
  22373. "type": "string"
  22374. },
  22375. "tradetype": {
  22376. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22377. "type": "integer"
  22378. }
  22379. }
  22380. },
  22381. "models.QuotePrimaryMenu": {
  22382. "type": "object",
  22383. "properties": {
  22384. "Index": {
  22385. "description": "序号",
  22386. "type": "integer"
  22387. },
  22388. "Key": {
  22389. "description": "键名",
  22390. "type": "string"
  22391. },
  22392. "Name": {
  22393. "description": "菜单名称",
  22394. "type": "string"
  22395. },
  22396. "SubMenus": {
  22397. "description": "子菜单",
  22398. "type": "array",
  22399. "items": {
  22400. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  22401. }
  22402. },
  22403. "SubTitleType": {
  22404. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  22405. "type": "integer"
  22406. },
  22407. "TradeModes": {
  22408. "description": "包含市场交易类型",
  22409. "type": "string"
  22410. }
  22411. }
  22412. },
  22413. "models.QuoteSecondaryMenu": {
  22414. "type": "object",
  22415. "properties": {
  22416. "ExExchangeCode": {
  22417. "description": "外部交易所代码",
  22418. "type": "string"
  22419. },
  22420. "ExExchangeID": {
  22421. "description": "外部交易所ID",
  22422. "type": "integer"
  22423. },
  22424. "GoodsGroupIDs": {
  22425. "description": "商品组ID列表",
  22426. "type": "array",
  22427. "items": {
  22428. "type": "integer"
  22429. }
  22430. },
  22431. "Index": {
  22432. "description": "序号",
  22433. "type": "integer"
  22434. },
  22435. "MarketID": {
  22436. "description": "市场ID",
  22437. "type": "integer"
  22438. },
  22439. "MenuTitle": {
  22440. "description": "菜单标题(市场名称或外部交易所名称)",
  22441. "type": "string"
  22442. },
  22443. "TradeMode": {
  22444. "description": "交易模式",
  22445. "type": "integer"
  22446. }
  22447. }
  22448. },
  22449. "models.RelatedGoodsEx": {
  22450. "type": "object",
  22451. "properties": {
  22452. "goodscode": {
  22453. "description": "商品代码",
  22454. "type": "string"
  22455. },
  22456. "goodsid": {
  22457. "description": "商品id",
  22458. "type": "integer"
  22459. },
  22460. "goodsname": {
  22461. "description": "商品名称",
  22462. "type": "string"
  22463. }
  22464. }
  22465. },
  22466. "models.SearchGoods": {
  22467. "type": "object",
  22468. "required": [
  22469. "goodscode",
  22470. "goodsid",
  22471. "goodsname",
  22472. "marketid",
  22473. "trademode"
  22474. ],
  22475. "properties": {
  22476. "goodscode": {
  22477. "description": "商品代码(内部)",
  22478. "type": "string"
  22479. },
  22480. "goodsid": {
  22481. "description": "商品ID(自增ID SEQ_GOODS)",
  22482. "type": "integer"
  22483. },
  22484. "goodsname": {
  22485. "description": "商品名称",
  22486. "type": "string"
  22487. },
  22488. "marketid": {
  22489. "description": "所属市场ID",
  22490. "type": "integer"
  22491. },
  22492. "marketname": {
  22493. "description": "市场名称",
  22494. "type": "string"
  22495. },
  22496. "trademode": {
  22497. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22498. "type": "integer"
  22499. }
  22500. }
  22501. },
  22502. "models.Systemparam": {
  22503. "type": "object",
  22504. "required": [
  22505. "paramcode"
  22506. ],
  22507. "properties": {
  22508. "loginid": {
  22509. "description": "更新用户账号,登录账号",
  22510. "type": "string"
  22511. },
  22512. "modifyflag": {
  22513. "description": "修改标志0 不允许修改 1 允许修改",
  22514. "type": "integer"
  22515. },
  22516. "paramcode": {
  22517. "description": "参数代码",
  22518. "type": "string"
  22519. },
  22520. "paramname": {
  22521. "description": "参数名",
  22522. "type": "string"
  22523. },
  22524. "paramtype": {
  22525. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  22526. "type": "integer"
  22527. },
  22528. "paramvalue": {
  22529. "description": "参数值",
  22530. "type": "string"
  22531. },
  22532. "paramvalue2": {
  22533. "description": "参数值(CLOB)",
  22534. "type": "string"
  22535. },
  22536. "regexpress": {
  22537. "description": "正则表达式",
  22538. "type": "string"
  22539. },
  22540. "remark": {
  22541. "description": "备注",
  22542. "type": "string"
  22543. },
  22544. "serverip": {
  22545. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  22546. "type": "string"
  22547. },
  22548. "showflag": {
  22549. "description": "是否显示0 不显示 1 显示",
  22550. "type": "integer"
  22551. },
  22552. "updatetime": {
  22553. "description": "更新时间",
  22554. "type": "string"
  22555. },
  22556. "userid": {
  22557. "description": "更新用户ID",
  22558. "type": "integer"
  22559. }
  22560. }
  22561. },
  22562. "models.Szdz3convertconfig": {
  22563. "type": "object",
  22564. "required": [
  22565. "converttype",
  22566. "innergoodsid",
  22567. "outergoodscode"
  22568. ],
  22569. "properties": {
  22570. "canin": {
  22571. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  22572. "type": "integer"
  22573. },
  22574. "canout": {
  22575. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  22576. "type": "integer"
  22577. },
  22578. "converttype": {
  22579. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  22580. "type": "integer"
  22581. },
  22582. "createtime": {
  22583. "description": "创建时间",
  22584. "type": "string"
  22585. },
  22586. "creatorid": {
  22587. "description": "创建人",
  22588. "type": "integer"
  22589. },
  22590. "daymaxvalue": {
  22591. "description": "当日最大转入限制",
  22592. "type": "number"
  22593. },
  22594. "freezedays": {
  22595. "description": "冻结天数 [5:花生米转交易]",
  22596. "type": "integer"
  22597. },
  22598. "innergoodsid": {
  22599. "description": "内部商品ID[交易]",
  22600. "type": "integer"
  22601. },
  22602. "inratio": {
  22603. "description": "目标值",
  22604. "type": "integer"
  22605. },
  22606. "modifierid": {
  22607. "description": "修改人",
  22608. "type": "integer"
  22609. },
  22610. "modifytime": {
  22611. "description": "修改时间",
  22612. "type": "string"
  22613. },
  22614. "outergoodscode": {
  22615. "description": "外部商品代码[JD\\PD]",
  22616. "type": "string"
  22617. },
  22618. "outratio": {
  22619. "description": "源值",
  22620. "type": "integer"
  22621. },
  22622. "pddecimalplace": {
  22623. "description": "PD小数位",
  22624. "type": "integer"
  22625. },
  22626. "timemaxvalue": {
  22627. "description": "单次最大转入限制",
  22628. "type": "number"
  22629. },
  22630. "timeminvalue": {
  22631. "description": "单次最小转入限制",
  22632. "type": "number"
  22633. }
  22634. }
  22635. },
  22636. "models.Szdz3searchwhitelist": {
  22637. "type": "object",
  22638. "required": [
  22639. "userid"
  22640. ],
  22641. "properties": {
  22642. "createtime": {
  22643. "description": "创建时间",
  22644. "type": "string"
  22645. },
  22646. "creatorid": {
  22647. "description": "创建人",
  22648. "type": "integer"
  22649. },
  22650. "modifierid": {
  22651. "description": "修改人",
  22652. "type": "integer"
  22653. },
  22654. "modifytime": {
  22655. "description": "修改时间",
  22656. "type": "string"
  22657. },
  22658. "userid": {
  22659. "description": "用户ID",
  22660. "type": "integer"
  22661. }
  22662. }
  22663. },
  22664. "models.Taaccount": {
  22665. "type": "object",
  22666. "required": [
  22667. "accountid",
  22668. "userid"
  22669. ],
  22670. "properties": {
  22671. "accountflag": {
  22672. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  22673. "type": "integer"
  22674. },
  22675. "accountid": {
  22676. "description": "资金账户ID",
  22677. "type": "integer"
  22678. },
  22679. "accountname": {
  22680. "description": "账户名称",
  22681. "type": "string"
  22682. },
  22683. "balance": {
  22684. "description": "期初余额",
  22685. "type": "number"
  22686. },
  22687. "capitalbalance": {
  22688. "description": "本金余额[外部子账户实际出入金余额]",
  22689. "type": "number"
  22690. },
  22691. "changeflag": {
  22692. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  22693. "type": "integer"
  22694. },
  22695. "changetime": {
  22696. "description": "账户状态变更时间",
  22697. "type": "string"
  22698. },
  22699. "closepl": {
  22700. "description": "今日平仓盈亏",
  22701. "type": "number"
  22702. },
  22703. "creditdecrease": {
  22704. "description": "今日授信减少",
  22705. "type": "number"
  22706. },
  22707. "creditincrease": {
  22708. "description": "今日授信增加",
  22709. "type": "number"
  22710. },
  22711. "currencyid": {
  22712. "description": "货币ID",
  22713. "type": "integer"
  22714. },
  22715. "currentbalance": {
  22716. "description": "期末余额",
  22717. "type": "number"
  22718. },
  22719. "freezecharge": {
  22720. "description": "手续费冻结",
  22721. "type": "number"
  22722. },
  22723. "freezemargin": {
  22724. "description": "冻结保证金",
  22725. "type": "number"
  22726. },
  22727. "fromaccountid": {
  22728. "description": "所属上级账户",
  22729. "type": "integer"
  22730. },
  22731. "inamount": {
  22732. "description": "今日入金金额(包括三方入金)",
  22733. "type": "number"
  22734. },
  22735. "ismain": {
  22736. "description": "是否母账号 0:不是母账户 1:是母账户",
  22737. "type": "integer"
  22738. },
  22739. "ismarketaccount": {
  22740. "description": "是否机构接单账号 0:不是 1:是",
  22741. "type": "integer"
  22742. },
  22743. "isreckonaccount": {
  22744. "description": "是否机构分润账号 0:不是 1:是",
  22745. "type": "integer"
  22746. },
  22747. "mortgagecredit": {
  22748. "description": "授信金额",
  22749. "type": "number"
  22750. },
  22751. "orifreezecharge": {
  22752. "description": "期初手续费冻结",
  22753. "type": "number"
  22754. },
  22755. "orifreezemargin": {
  22756. "description": "期初冻结保证金",
  22757. "type": "number"
  22758. },
  22759. "orimortgagecredit": {
  22760. "description": "期初授信金额",
  22761. "type": "number"
  22762. },
  22763. "oriothercredit": {
  22764. "description": "期初其它授信金额",
  22765. "type": "number"
  22766. },
  22767. "oriotherfreezemargin": {
  22768. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22769. "type": "number"
  22770. },
  22771. "orioutamountfreeze": {
  22772. "description": "期初出金冻结",
  22773. "type": "number"
  22774. },
  22775. "oriusedmargin": {
  22776. "description": "期初占用保证金",
  22777. "type": "number"
  22778. },
  22779. "othercredit": {
  22780. "description": "其它授信金额",
  22781. "type": "number"
  22782. },
  22783. "othercreditdecrease": {
  22784. "description": "今日其它授信减少",
  22785. "type": "number"
  22786. },
  22787. "othercreditincrease": {
  22788. "description": "今日其它授信增加",
  22789. "type": "number"
  22790. },
  22791. "otherfreezemargin": {
  22792. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22793. "type": "number"
  22794. },
  22795. "otherincome": {
  22796. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22797. "type": "number"
  22798. },
  22799. "otherpay": {
  22800. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22801. "type": "number"
  22802. },
  22803. "outamount": {
  22804. "description": "今日出金金额(包括三方出金)",
  22805. "type": "number"
  22806. },
  22807. "outamountfreeze": {
  22808. "description": "出金冻结",
  22809. "type": "number"
  22810. },
  22811. "outthreshold": {
  22812. "description": "出金阈值",
  22813. "type": "number"
  22814. },
  22815. "parentaccountid": {
  22816. "description": "所属根账号",
  22817. "type": "integer"
  22818. },
  22819. "paycharge": {
  22820. "description": "今日手续费支出",
  22821. "type": "number"
  22822. },
  22823. "relatedaccountstatus": {
  22824. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22825. "type": "integer"
  22826. },
  22827. "relateduserid": {
  22828. "description": "关联用户",
  22829. "type": "integer"
  22830. },
  22831. "serivcegroup": {
  22832. "description": "服务分组",
  22833. "type": "integer"
  22834. },
  22835. "signstatus": {
  22836. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22837. "type": "integer"
  22838. },
  22839. "sublevelpath": {
  22840. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22841. "type": "string"
  22842. },
  22843. "taaccounttype": {
  22844. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22845. "type": "integer"
  22846. },
  22847. "thirdinamount": {
  22848. "description": "今日三方入金",
  22849. "type": "number"
  22850. },
  22851. "thirdoutamount": {
  22852. "description": "今日三方出金",
  22853. "type": "number"
  22854. },
  22855. "tradestatus": {
  22856. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22857. "type": "integer"
  22858. },
  22859. "tradestatuschangetime": {
  22860. "description": "激活时间",
  22861. "type": "string"
  22862. },
  22863. "transferamount": {
  22864. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22865. "type": "number"
  22866. },
  22867. "usedmargin": {
  22868. "description": "占用保证金",
  22869. "type": "number"
  22870. },
  22871. "userid": {
  22872. "description": "用户ID",
  22873. "type": "integer"
  22874. }
  22875. }
  22876. },
  22877. "models.Tablecolumnconfig": {
  22878. "type": "object",
  22879. "required": [
  22880. "autoid"
  22881. ],
  22882. "properties": {
  22883. "aligntype": {
  22884. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22885. "type": "integer"
  22886. },
  22887. "autoid": {
  22888. "description": "AutoID",
  22889. "type": "integer"
  22890. },
  22891. "columnfield": {
  22892. "description": "列字段",
  22893. "type": "string"
  22894. },
  22895. "columntitle": {
  22896. "description": "列Title",
  22897. "type": "string"
  22898. },
  22899. "columnwidth": {
  22900. "description": "列宽",
  22901. "type": "string"
  22902. },
  22903. "formatterstring": {
  22904. "description": "格式化字符",
  22905. "type": "string"
  22906. },
  22907. "formattertype": {
  22908. "description": "格式化类型",
  22909. "type": "string"
  22910. },
  22911. "groupname": {
  22912. "description": "表头分组名称",
  22913. "type": "string"
  22914. },
  22915. "isshow": {
  22916. "description": "是否显示 - 0:不显示 1:显示",
  22917. "type": "integer"
  22918. },
  22919. "needsummary": {
  22920. "description": "是否需要汇总 - 0:不需要 1:需要",
  22921. "type": "integer"
  22922. },
  22923. "orderindex": {
  22924. "description": "顺序",
  22925. "type": "integer"
  22926. },
  22927. "remark": {
  22928. "description": "备注",
  22929. "type": "string"
  22930. },
  22931. "summarytype": {
  22932. "description": "汇总类型 - 1:加总 2:最后一个",
  22933. "type": "integer"
  22934. },
  22935. "tablekey": {
  22936. "description": "列表Key",
  22937. "type": "string"
  22938. }
  22939. }
  22940. },
  22941. "models.Useraccount": {
  22942. "type": "object",
  22943. "required": [
  22944. "userid"
  22945. ],
  22946. "properties": {
  22947. "accountname": {
  22948. "description": "账户名称(机构名称)",
  22949. "type": "string"
  22950. },
  22951. "accountstatus": {
  22952. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22953. "type": "integer"
  22954. },
  22955. "auditremark": {
  22956. "description": "审核备注",
  22957. "type": "string"
  22958. },
  22959. "audittime": {
  22960. "description": "审核时间",
  22961. "type": "string"
  22962. },
  22963. "audituserid": {
  22964. "description": "审核人",
  22965. "type": "integer"
  22966. },
  22967. "broker": {
  22968. "description": "所属经纪人ID",
  22969. "type": "integer"
  22970. },
  22971. "canceltime": {
  22972. "description": "销户时间",
  22973. "type": "string"
  22974. },
  22975. "canceluserid": {
  22976. "description": "销户人",
  22977. "type": "integer"
  22978. },
  22979. "createtime": {
  22980. "description": "创建时间",
  22981. "type": "string"
  22982. },
  22983. "creatorid": {
  22984. "description": "创建人",
  22985. "type": "integer"
  22986. },
  22987. "hasauth": {
  22988. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22989. "type": "integer"
  22990. },
  22991. "isanonymous": {
  22992. "description": "是否匿名下单 - 0:否 1:是",
  22993. "type": "integer"
  22994. },
  22995. "maxinvestornum": {
  22996. "description": "最大用户数(经纪会员下投资者个数)",
  22997. "type": "integer"
  22998. },
  22999. "memberuserid": {
  23000. "description": "所属会员ID",
  23001. "type": "integer"
  23002. },
  23003. "modifierid": {
  23004. "description": "修改人",
  23005. "type": "integer"
  23006. },
  23007. "modifyremark": {
  23008. "description": "变更备注",
  23009. "type": "string"
  23010. },
  23011. "modifystatus": {
  23012. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23013. "type": "integer"
  23014. },
  23015. "modifytime": {
  23016. "description": "修改时间",
  23017. "type": "string"
  23018. },
  23019. "parentuserid": {
  23020. "description": "所属机构ID",
  23021. "type": "integer"
  23022. },
  23023. "reckonaccountid": {
  23024. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23025. "type": "integer"
  23026. },
  23027. "refercount": {
  23028. "description": "推荐总人数",
  23029. "type": "integer"
  23030. },
  23031. "refereeuserid": {
  23032. "description": "推荐人ID",
  23033. "type": "integer"
  23034. },
  23035. "refernum": {
  23036. "description": "推荐码",
  23037. "type": "string"
  23038. },
  23039. "subarealevelpath": {
  23040. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23041. "type": "string"
  23042. },
  23043. "userid": {
  23044. "description": "用户ID",
  23045. "type": "integer"
  23046. },
  23047. "usertype": {
  23048. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23049. "type": "integer"
  23050. }
  23051. }
  23052. },
  23053. "models.Userfavoritegoods": {
  23054. "type": "object",
  23055. "required": [
  23056. "goodsid"
  23057. ],
  23058. "properties": {
  23059. "goodsid": {
  23060. "description": "商品ID",
  23061. "type": "integer"
  23062. }
  23063. }
  23064. },
  23065. "models.Userinfo": {
  23066. "type": "object",
  23067. "required": [
  23068. "userid"
  23069. ],
  23070. "properties": {
  23071. "address": {
  23072. "description": "地址",
  23073. "type": "string"
  23074. },
  23075. "attachment1": {
  23076. "description": "附件1",
  23077. "type": "string"
  23078. },
  23079. "attachment2": {
  23080. "description": "附件2",
  23081. "type": "string"
  23082. },
  23083. "bankaccount": {
  23084. "description": "银行帐号 (加密存储)",
  23085. "type": "string"
  23086. },
  23087. "bankaccountname": {
  23088. "description": "收款人名称",
  23089. "type": "string"
  23090. },
  23091. "bankcardfrontphotourl": {
  23092. "description": "银行卡正面照地址",
  23093. "type": "string"
  23094. },
  23095. "bankid": {
  23096. "description": "银行编码",
  23097. "type": "string"
  23098. },
  23099. "bankname": {
  23100. "description": "银行名称",
  23101. "type": "string"
  23102. },
  23103. "biznature": {
  23104. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23105. "type": "integer"
  23106. },
  23107. "bizscope": {
  23108. "description": "企业经营范围(企业)",
  23109. "type": "string"
  23110. },
  23111. "cardbackphotourl": {
  23112. "description": "证件背面图片地址",
  23113. "type": "string"
  23114. },
  23115. "cardfrontphotourl": {
  23116. "description": "证件正面图片地址",
  23117. "type": "string"
  23118. },
  23119. "cardnum": {
  23120. "description": "证件号码(加密存储)",
  23121. "type": "string"
  23122. },
  23123. "cardtypeid": {
  23124. "description": "证件类型ID",
  23125. "type": "integer"
  23126. },
  23127. "cityid": {
  23128. "description": "市",
  23129. "type": "integer"
  23130. },
  23131. "company": {
  23132. "description": "公司(个人)",
  23133. "type": "string"
  23134. },
  23135. "contactname": {
  23136. "description": "联系人",
  23137. "type": "string"
  23138. },
  23139. "countryid": {
  23140. "description": "国家",
  23141. "type": "integer"
  23142. },
  23143. "createtime": {
  23144. "description": "创建时间",
  23145. "type": "string"
  23146. },
  23147. "creatorid": {
  23148. "description": "创建人",
  23149. "type": "integer"
  23150. },
  23151. "customername": {
  23152. "description": "客户名称(企业名称)",
  23153. "type": "string"
  23154. },
  23155. "districtid": {
  23156. "description": "地区",
  23157. "type": "integer"
  23158. },
  23159. "email": {
  23160. "description": "邮件(加密存储)",
  23161. "type": "string"
  23162. },
  23163. "fax": {
  23164. "description": "传真(加密存储)",
  23165. "type": "string"
  23166. },
  23167. "halfbodyphotourl": {
  23168. "description": "半身照地址",
  23169. "type": "string"
  23170. },
  23171. "hasencrypt": {
  23172. "description": "数据是否已加密 - 0:未加密 1:已加密",
  23173. "type": "integer"
  23174. },
  23175. "headurl": {
  23176. "description": "头像地址",
  23177. "type": "string"
  23178. },
  23179. "legalcardbackphotourl": {
  23180. "description": "法人身份证背面照地址",
  23181. "type": "string"
  23182. },
  23183. "legalcardfrontphotourl": {
  23184. "description": "法人身份证正面照地址",
  23185. "type": "string"
  23186. },
  23187. "legalpersonname": {
  23188. "description": "法人姓名(企业)",
  23189. "type": "string"
  23190. },
  23191. "mobile": {
  23192. "description": "手机号码(加密存储)",
  23193. "type": "string"
  23194. },
  23195. "mobile2": {
  23196. "description": "手机号码[明文-尚志]",
  23197. "type": "string"
  23198. },
  23199. "modifierid": {
  23200. "description": "修改人",
  23201. "type": "integer"
  23202. },
  23203. "modifiertime": {
  23204. "description": "修改时间",
  23205. "type": "string"
  23206. },
  23207. "needinvoice": {
  23208. "description": "是否需要发票 - 0:不需要 1:需要",
  23209. "type": "integer"
  23210. },
  23211. "nickname": {
  23212. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  23213. "type": "string"
  23214. },
  23215. "openmode": {
  23216. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  23217. "type": "integer"
  23218. },
  23219. "otherurl": {
  23220. "description": "其它图片地址[使用分号分隔]",
  23221. "type": "string"
  23222. },
  23223. "postalcode": {
  23224. "description": "邮政编码",
  23225. "type": "string"
  23226. },
  23227. "provinceid": {
  23228. "description": "省",
  23229. "type": "integer"
  23230. },
  23231. "qq": {
  23232. "description": "QQ(加密存储",
  23233. "type": "string"
  23234. },
  23235. "remark": {
  23236. "description": "备注",
  23237. "type": "string"
  23238. },
  23239. "sex": {
  23240. "description": "用户性别 0: 女 1: 男",
  23241. "type": "integer"
  23242. },
  23243. "signpdfurl": {
  23244. "description": "签约pdf文件",
  23245. "type": "string"
  23246. },
  23247. "telphone": {
  23248. "description": "联系电话(加密存储)",
  23249. "type": "string"
  23250. },
  23251. "userid": {
  23252. "description": "用户ID",
  23253. "type": "integer"
  23254. },
  23255. "userinfotype": {
  23256. "description": "用户信息类型 - 1:个人 2:企业",
  23257. "type": "integer"
  23258. },
  23259. "userstatus": {
  23260. "description": "用户状态 - 1:正常 2:注销",
  23261. "type": "integer"
  23262. },
  23263. "usertype": {
  23264. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  23265. "type": "integer"
  23266. },
  23267. "wechat": {
  23268. "description": "微信(加密存储)",
  23269. "type": "string"
  23270. },
  23271. "wskhinfo": {
  23272. "description": "开户申请信息(JSON)",
  23273. "type": "string"
  23274. }
  23275. }
  23276. },
  23277. "models.WRSConverTDetail": {
  23278. "type": "object",
  23279. "properties": {
  23280. "convertratio": {
  23281. "description": "套保系数",
  23282. "type": "number"
  23283. },
  23284. "deliverygoodscode": {
  23285. "description": "现货商品代码",
  23286. "type": "string"
  23287. },
  23288. "deliverygoodsid": {
  23289. "description": "现货品种ID",
  23290. "type": "integer"
  23291. },
  23292. "deliverygoodsname": {
  23293. "description": "现货商品名称",
  23294. "type": "string"
  23295. },
  23296. "enumdicname": {
  23297. "description": "单位名称",
  23298. "type": "string"
  23299. },
  23300. "goodsunitid": {
  23301. "description": "套保品种单位id",
  23302. "type": "integer"
  23303. },
  23304. "middlegoodscode": {
  23305. "description": "套保品种代码",
  23306. "type": "string"
  23307. },
  23308. "middlegoodsid": {
  23309. "description": "套保品种ID",
  23310. "type": "integer"
  23311. },
  23312. "middlegoodsname": {
  23313. "description": "套保品种名称",
  23314. "type": "string"
  23315. },
  23316. "modifytime": {
  23317. "description": "修改时间",
  23318. "type": "string"
  23319. },
  23320. "wrstandardid": {
  23321. "description": "品类ID",
  23322. "type": "integer"
  23323. }
  23324. }
  23325. },
  23326. "models.WRStandardInfo": {
  23327. "type": "object",
  23328. "required": [
  23329. "wrstandardid"
  23330. ],
  23331. "properties": {
  23332. "areauserid": {
  23333. "description": "所属机构",
  23334. "type": "integer"
  23335. },
  23336. "convertfactor": {
  23337. "description": "标仓系数",
  23338. "type": "number"
  23339. },
  23340. "createtime": {
  23341. "description": "创建时间",
  23342. "type": "string"
  23343. },
  23344. "creatorid": {
  23345. "description": "创建人",
  23346. "type": "integer"
  23347. },
  23348. "deliverygoodsid": {
  23349. "description": "品种ID",
  23350. "type": "integer"
  23351. },
  23352. "deliverygoodsname": {
  23353. "description": "交割商品名称",
  23354. "type": "string"
  23355. },
  23356. "factoryitemjson": {
  23357. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  23358. "type": "string"
  23359. },
  23360. "isvalid": {
  23361. "description": "是否有效 - 0:无效 1:有效",
  23362. "type": "integer"
  23363. },
  23364. "minivalue": {
  23365. "description": "最小变动值",
  23366. "type": "integer"
  23367. },
  23368. "minivaluedp": {
  23369. "description": "最小变动值小数位",
  23370. "type": "integer"
  23371. },
  23372. "realminivalue": {
  23373. "description": "实际最小变动值",
  23374. "type": "integer"
  23375. },
  23376. "realminivaluedp": {
  23377. "description": "实际最小变动值小数位",
  23378. "type": "integer"
  23379. },
  23380. "remark": {
  23381. "description": "备注",
  23382. "type": "string"
  23383. },
  23384. "unitid": {
  23385. "description": "单位ID",
  23386. "type": "integer"
  23387. },
  23388. "unitname": {
  23389. "description": "单位",
  23390. "type": "string"
  23391. },
  23392. "updatetime": {
  23393. "description": "更新时间",
  23394. "type": "string"
  23395. },
  23396. "updatorid": {
  23397. "description": "更新人",
  23398. "type": "integer"
  23399. },
  23400. "wrsstatus": {
  23401. "description": "状态 - 作废 - 0:未激活 1:正常",
  23402. "type": "integer"
  23403. },
  23404. "wrstandardcode": {
  23405. "description": "现货品类代码",
  23406. "type": "string"
  23407. },
  23408. "wrstandardid": {
  23409. "description": "现货品类ID(SEQ_WRSTANDARD)",
  23410. "type": "integer"
  23411. },
  23412. "wrstandardname": {
  23413. "description": "现货品类名称",
  23414. "type": "string"
  23415. }
  23416. }
  23417. },
  23418. "models.Warehouseinfo": {
  23419. "type": "object",
  23420. "required": [
  23421. "autoid",
  23422. "warehousecode"
  23423. ],
  23424. "properties": {
  23425. "address": {
  23426. "description": "详细地址",
  23427. "type": "string"
  23428. },
  23429. "areauserid": {
  23430. "description": "所属机构",
  23431. "type": "integer"
  23432. },
  23433. "autoid": {
  23434. "description": "自增ID",
  23435. "type": "integer"
  23436. },
  23437. "cityid": {
  23438. "description": "市",
  23439. "type": "integer"
  23440. },
  23441. "contactname": {
  23442. "description": "联系人",
  23443. "type": "string"
  23444. },
  23445. "contactnum": {
  23446. "description": "联系电话",
  23447. "type": "string"
  23448. },
  23449. "countryid": {
  23450. "description": "国家",
  23451. "type": "integer"
  23452. },
  23453. "createtime": {
  23454. "description": "创建时间",
  23455. "type": "string"
  23456. },
  23457. "districtid": {
  23458. "description": "区",
  23459. "type": "integer"
  23460. },
  23461. "hasvideo": {
  23462. "description": "是否有视频 - 0:无 1:有",
  23463. "type": "integer"
  23464. },
  23465. "provinceid": {
  23466. "description": "省",
  23467. "type": "integer"
  23468. },
  23469. "remark": {
  23470. "description": "审核备注",
  23471. "type": "string"
  23472. },
  23473. "videourl": {
  23474. "description": "视频地址",
  23475. "type": "string"
  23476. },
  23477. "warehousecode": {
  23478. "description": "仓库代码",
  23479. "type": "string"
  23480. },
  23481. "warehousename": {
  23482. "description": "仓库名称",
  23483. "type": "string"
  23484. },
  23485. "warehousestatus": {
  23486. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  23487. "type": "integer"
  23488. },
  23489. "warehousetype": {
  23490. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23491. "type": "integer"
  23492. }
  23493. }
  23494. },
  23495. "order.QueryHisTradeDetailRsp": {
  23496. "type": "object",
  23497. "required": [
  23498. "accountid",
  23499. "buyorsell",
  23500. "goodsid",
  23501. "histradedate",
  23502. "marketid",
  23503. "memberuserid",
  23504. "orderid",
  23505. "tradeamount",
  23506. "tradedate",
  23507. "tradeid",
  23508. "tradeprice",
  23509. "tradeqty",
  23510. "tradetime"
  23511. ],
  23512. "properties": {
  23513. "accountid": {
  23514. "description": "账户ID[报价币种]",
  23515. "type": "integer"
  23516. },
  23517. "buildtype": {
  23518. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23519. "type": "integer"
  23520. },
  23521. "buyorsell": {
  23522. "description": "方向 - 0:买 1:卖",
  23523. "type": "integer"
  23524. },
  23525. "charge": {
  23526. "description": "手续费",
  23527. "type": "number"
  23528. },
  23529. "closecharge": {
  23530. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23531. "type": "number"
  23532. },
  23533. "closeexchagechargevalue": {
  23534. "description": "平仓交易所手续费设置值",
  23535. "type": "number"
  23536. },
  23537. "closefeealgorithm": {
  23538. "description": "平仓手续费收取方式 1:比率 2:固定",
  23539. "type": "integer"
  23540. },
  23541. "closememberchargevalue": {
  23542. "description": "平仓会员手续费设置值",
  23543. "type": "number"
  23544. },
  23545. "closepl": {
  23546. "description": "平仓盈亏",
  23547. "type": "number"
  23548. },
  23549. "closepl2": {
  23550. "description": "平仓盈亏[逐笔]",
  23551. "type": "number"
  23552. },
  23553. "closeqty": {
  23554. "description": "平仓数量(先建后平操作 需要记录)",
  23555. "type": "integer"
  23556. },
  23557. "creditamount": {
  23558. "description": "授信金额",
  23559. "type": "number"
  23560. },
  23561. "gcaccountid": {
  23562. "description": "账户ID[合约币种]",
  23563. "type": "integer"
  23564. },
  23565. "goodscode": {
  23566. "description": "商品代码",
  23567. "type": "string"
  23568. },
  23569. "goodsid": {
  23570. "description": "商品ID",
  23571. "type": "integer"
  23572. },
  23573. "goodsname": {
  23574. "description": "商品名称",
  23575. "type": "string"
  23576. },
  23577. "histradedate": {
  23578. "description": "历史交易日",
  23579. "type": "string"
  23580. },
  23581. "intclosepl": {
  23582. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23583. "type": "integer"
  23584. },
  23585. "isconfirmexercise": {
  23586. "description": "是否确认行权- 0:否 1:是",
  23587. "type": "integer"
  23588. },
  23589. "ismain": {
  23590. "description": "是否主单 - 0:不是 1:是",
  23591. "type": "integer"
  23592. },
  23593. "ispreexercise": {
  23594. "description": "是否预申报- 0:否 1:是",
  23595. "type": "integer"
  23596. },
  23597. "isreckoned": {
  23598. "description": "是否结算 - 0:未结算 1:已结算",
  23599. "type": "integer"
  23600. },
  23601. "isvaliddata": {
  23602. "description": "是否有效 - 0:无效 1:有效",
  23603. "type": "integer"
  23604. },
  23605. "listingselecttype": {
  23606. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23607. "type": "integer"
  23608. },
  23609. "marketid": {
  23610. "description": "市场ID",
  23611. "type": "integer"
  23612. },
  23613. "marketname": {
  23614. "description": "市场名称",
  23615. "type": "string"
  23616. },
  23617. "matchaccountid": {
  23618. "description": "对手账号id",
  23619. "type": "integer"
  23620. },
  23621. "memberuserid": {
  23622. "description": "会员id 个人投资者 需要填写",
  23623. "type": "integer"
  23624. },
  23625. "opencharge": {
  23626. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23627. "type": "number"
  23628. },
  23629. "openexchagechargevalue": {
  23630. "description": "建仓交易所手续费设置值",
  23631. "type": "number"
  23632. },
  23633. "openfeealgorithm": {
  23634. "description": "建仓手续费收取方式 1:比率 2:固定",
  23635. "type": "integer"
  23636. },
  23637. "openmemberchargevalue": {
  23638. "description": "建仓会员手续费设置值",
  23639. "type": "number"
  23640. },
  23641. "openqty": {
  23642. "description": "开仓数量(先建后平操作 需要记录)",
  23643. "type": "integer"
  23644. },
  23645. "optiontype": {
  23646. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23647. "type": "integer"
  23648. },
  23649. "orderid": {
  23650. "description": "委托单号",
  23651. "type": "string"
  23652. },
  23653. "performanceplanid": {
  23654. "description": "履约计划ID[期权]",
  23655. "type": "integer"
  23656. },
  23657. "performancestatus": {
  23658. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23659. "type": "integer"
  23660. },
  23661. "preexerciseprice": {
  23662. "description": "预申报价格",
  23663. "type": "number"
  23664. },
  23665. "premium": {
  23666. "description": "权利金 - [持仓单的权利金]",
  23667. "type": "number"
  23668. },
  23669. "relatedouttradeid": {
  23670. "description": "关联外部成交单ID",
  23671. "type": "integer"
  23672. },
  23673. "status": {
  23674. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23675. "type": "integer"
  23676. },
  23677. "tradeamount": {
  23678. "description": "成交金额[账户币种,用于所有权]",
  23679. "type": "number"
  23680. },
  23681. "tradedate": {
  23682. "description": "交易日(yyyyMMdd)",
  23683. "type": "string"
  23684. },
  23685. "tradeid": {
  23686. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23687. "type": "string"
  23688. },
  23689. "trademode": {
  23690. "description": "交易模式",
  23691. "type": "integer"
  23692. },
  23693. "tradeprice": {
  23694. "description": "成交价格",
  23695. "type": "number"
  23696. },
  23697. "tradeproperty": {
  23698. "description": "交易属性",
  23699. "type": "integer"
  23700. },
  23701. "tradeqty": {
  23702. "description": "成交数量",
  23703. "type": "integer"
  23704. },
  23705. "tradetime": {
  23706. "description": "成交时间",
  23707. "type": "string"
  23708. },
  23709. "tradetype": {
  23710. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23711. "type": "integer"
  23712. }
  23713. }
  23714. },
  23715. "order.QueryHisTradeOrderDetailRsp": {
  23716. "type": "object",
  23717. "required": [
  23718. "accountid",
  23719. "buildtype",
  23720. "buyorsell",
  23721. "goodsid",
  23722. "histradedate",
  23723. "marketid",
  23724. "memberuserid",
  23725. "operatetype",
  23726. "orderid",
  23727. "orderqty",
  23728. "ordertime",
  23729. "pricemode",
  23730. "tradedate",
  23731. "validtype"
  23732. ],
  23733. "properties": {
  23734. "accountid": {
  23735. "description": "账户ID[报价币种]",
  23736. "type": "integer"
  23737. },
  23738. "buildtype": {
  23739. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23740. "type": "integer"
  23741. },
  23742. "buyorsell": {
  23743. "description": "买卖 - 0:买 1:卖",
  23744. "type": "integer"
  23745. },
  23746. "cancelorderid": {
  23747. "description": "撤单单号(撤单时填写)",
  23748. "type": "string"
  23749. },
  23750. "cancelqty": {
  23751. "description": "撤单数量",
  23752. "type": "integer"
  23753. },
  23754. "clientordertime": {
  23755. "description": "客户端委托时间",
  23756. "type": "string"
  23757. },
  23758. "clientticket": {
  23759. "description": "客户端流水号",
  23760. "type": "string"
  23761. },
  23762. "clienttype": {
  23763. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23764. "type": "integer"
  23765. },
  23766. "closeexchagechargevalue": {
  23767. "description": "平仓交易所手续费设置值",
  23768. "type": "number"
  23769. },
  23770. "closefeealgorithm": {
  23771. "description": "平仓手续费收取方式 1:比率 2:固定",
  23772. "type": "integer"
  23773. },
  23774. "closefreezecharge": {
  23775. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23776. "type": "number"
  23777. },
  23778. "closememberchargevalue": {
  23779. "description": "平仓会员手续费设置值",
  23780. "type": "number"
  23781. },
  23782. "closeqty": {
  23783. "description": "平仓数量(先建后平操作 需要记录)",
  23784. "type": "integer"
  23785. },
  23786. "closetradeqty": {
  23787. "description": "平仓成交数量(先建后平操作,需要记录)",
  23788. "type": "integer"
  23789. },
  23790. "closeunfreezecharge": {
  23791. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23792. "type": "number"
  23793. },
  23794. "delistingtype": {
  23795. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23796. "type": "integer"
  23797. },
  23798. "freezecharge": {
  23799. "description": "冻结手续费",
  23800. "type": "number"
  23801. },
  23802. "freezemargin": {
  23803. "description": "冻结保证金(冻结交易金额)",
  23804. "type": "number"
  23805. },
  23806. "gcaccountid": {
  23807. "description": "账户ID[合约币种]",
  23808. "type": "integer"
  23809. },
  23810. "goodscode": {
  23811. "description": "商品代码",
  23812. "type": "string"
  23813. },
  23814. "goodsid": {
  23815. "description": "商品ID",
  23816. "type": "integer"
  23817. },
  23818. "goodsname": {
  23819. "description": "商品名称",
  23820. "type": "string"
  23821. },
  23822. "histradedate": {
  23823. "description": "历史交易日",
  23824. "type": "string"
  23825. },
  23826. "isconfirmexercise": {
  23827. "description": "是否确认行权- 0:否 1:是",
  23828. "type": "integer"
  23829. },
  23830. "ispreexercise": {
  23831. "description": "是否预申报- 0:否 1:是",
  23832. "type": "integer"
  23833. },
  23834. "isvaliddata": {
  23835. "description": "是否有效 - 0:无效 1:有效",
  23836. "type": "integer"
  23837. },
  23838. "listingselecttype": {
  23839. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23840. "type": "integer"
  23841. },
  23842. "marginalgorithm": {
  23843. "description": "保证金收取方式 1:比率 2:固定",
  23844. "type": "integer"
  23845. },
  23846. "marginvalue": {
  23847. "description": "即市保证金设置值",
  23848. "type": "number"
  23849. },
  23850. "marketid": {
  23851. "description": "市场ID",
  23852. "type": "integer"
  23853. },
  23854. "marketmaxsub": {
  23855. "description": "市价最大偏移范围",
  23856. "type": "number"
  23857. },
  23858. "marketname": {
  23859. "description": "市场名称",
  23860. "type": "string"
  23861. },
  23862. "memberuserid": {
  23863. "description": "所属会员UserID",
  23864. "type": "integer"
  23865. },
  23866. "openexchagechargevalue": {
  23867. "description": "建仓交易所手续费设置值",
  23868. "type": "number"
  23869. },
  23870. "openfeealgorithm": {
  23871. "description": "建仓手续费收取方式 1:比率 2:固定",
  23872. "type": "integer"
  23873. },
  23874. "openfreezecharge": {
  23875. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23876. "type": "number"
  23877. },
  23878. "openmemberchargevalue": {
  23879. "description": "建仓会员手续费设置值",
  23880. "type": "number"
  23881. },
  23882. "openqty": {
  23883. "description": "开仓数量(先建后平操作,需要记录)",
  23884. "type": "integer"
  23885. },
  23886. "opentradeqty": {
  23887. "description": "开仓成交数量(先建后平操作,需要记录)",
  23888. "type": "integer"
  23889. },
  23890. "openunfreezecharge": {
  23891. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23892. "type": "number"
  23893. },
  23894. "operatetype": {
  23895. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23896. "type": "integer"
  23897. },
  23898. "operatorid": {
  23899. "description": "登录账号(LoginID)",
  23900. "type": "integer"
  23901. },
  23902. "optiontype": {
  23903. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23904. "type": "integer"
  23905. },
  23906. "orderid": {
  23907. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23908. "type": "string"
  23909. },
  23910. "orderprice": {
  23911. "description": "委托价格",
  23912. "type": "number"
  23913. },
  23914. "orderqty": {
  23915. "description": "委托数量",
  23916. "type": "integer"
  23917. },
  23918. "ordersrc": {
  23919. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23920. "type": "integer"
  23921. },
  23922. "orderstatus": {
  23923. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23924. "type": "integer"
  23925. },
  23926. "ordertime": {
  23927. "description": "委托时间",
  23928. "type": "string"
  23929. },
  23930. "preexerciseprice": {
  23931. "description": "预申报价格",
  23932. "type": "number"
  23933. },
  23934. "premium": {
  23935. "description": "权利金",
  23936. "type": "number"
  23937. },
  23938. "preorderid": {
  23939. "description": "关联预埋单号(止盈止损单时填写)",
  23940. "type": "string"
  23941. },
  23942. "pricemode": {
  23943. "description": "取价方式 - 1:市价 2: 限价",
  23944. "type": "integer"
  23945. },
  23946. "quoteid": {
  23947. "description": "报价单ID",
  23948. "type": "integer"
  23949. },
  23950. "relatedid": {
  23951. "description": "关联单号(交割单)",
  23952. "type": "string"
  23953. },
  23954. "retcode": {
  23955. "description": "错误代码",
  23956. "type": "integer"
  23957. },
  23958. "sessionid": {
  23959. "description": "会话ID",
  23960. "type": "integer"
  23961. },
  23962. "tradedate": {
  23963. "description": "交易日(yyyyMMdd)",
  23964. "type": "string"
  23965. },
  23966. "trademode": {
  23967. "description": "交易模式",
  23968. "type": "integer"
  23969. },
  23970. "tradeproperty": {
  23971. "description": "交易属性",
  23972. "type": "integer"
  23973. },
  23974. "tradeqty": {
  23975. "description": "成交数量",
  23976. "type": "integer"
  23977. },
  23978. "unfreezecharge": {
  23979. "description": "解冻手续费",
  23980. "type": "number"
  23981. },
  23982. "unfreezemargin": {
  23983. "description": "解冻保证金",
  23984. "type": "number"
  23985. },
  23986. "updatetime": {
  23987. "description": "更新时间",
  23988. "type": "string"
  23989. },
  23990. "uuid": {
  23991. "description": "发起端唯一id",
  23992. "type": "string"
  23993. },
  23994. "validtime": {
  23995. "description": "有效期限",
  23996. "type": "string"
  23997. },
  23998. "validtype": {
  23999. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24000. "type": "integer"
  24001. },
  24002. "volumetype": {
  24003. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24004. "type": "integer"
  24005. }
  24006. }
  24007. },
  24008. "order.QueryTradeDetailRsp": {
  24009. "type": "object",
  24010. "required": [
  24011. "accountid",
  24012. "buyorsell",
  24013. "goodsid",
  24014. "marketid",
  24015. "memberuserid",
  24016. "orderid",
  24017. "tradeamount",
  24018. "tradedate",
  24019. "tradeid",
  24020. "tradeprice",
  24021. "tradeqty",
  24022. "tradetime"
  24023. ],
  24024. "properties": {
  24025. "accountid": {
  24026. "description": "账户ID[报价币种]",
  24027. "type": "integer"
  24028. },
  24029. "buildtype": {
  24030. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  24031. "type": "integer"
  24032. },
  24033. "buyorsell": {
  24034. "description": "方向 - 0:买 1:卖",
  24035. "type": "integer"
  24036. },
  24037. "charge": {
  24038. "description": "手续费",
  24039. "type": "number"
  24040. },
  24041. "closecharge": {
  24042. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24043. "type": "number"
  24044. },
  24045. "closeexchagechargevalue": {
  24046. "description": "平仓交易所手续费设置值",
  24047. "type": "number"
  24048. },
  24049. "closefeealgorithm": {
  24050. "description": "平仓手续费收取方式 1:比率 2:固定",
  24051. "type": "integer"
  24052. },
  24053. "closememberchargevalue": {
  24054. "description": "平仓会员手续费设置值",
  24055. "type": "number"
  24056. },
  24057. "closepl": {
  24058. "description": "平仓盈亏",
  24059. "type": "number"
  24060. },
  24061. "closepl2": {
  24062. "description": "平仓盈亏[逐笔]",
  24063. "type": "number"
  24064. },
  24065. "closeqty": {
  24066. "description": "平仓数量(先建后平操作 需要记录)",
  24067. "type": "integer"
  24068. },
  24069. "creditamount": {
  24070. "description": "授信金额",
  24071. "type": "number"
  24072. },
  24073. "gcaccountid": {
  24074. "description": "账户ID[合约币种]",
  24075. "type": "integer"
  24076. },
  24077. "goodscode": {
  24078. "description": "商品代码",
  24079. "type": "string"
  24080. },
  24081. "goodsid": {
  24082. "description": "商品ID",
  24083. "type": "integer"
  24084. },
  24085. "goodsname": {
  24086. "description": "商品名称",
  24087. "type": "string"
  24088. },
  24089. "intclosepl": {
  24090. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  24091. "type": "integer"
  24092. },
  24093. "isconfirmexercise": {
  24094. "description": "是否确认行权- 0:否 1:是",
  24095. "type": "integer"
  24096. },
  24097. "ismain": {
  24098. "description": "是否主单 - 0:不是 1:是",
  24099. "type": "integer"
  24100. },
  24101. "ispreexercise": {
  24102. "description": "是否预申报- 0:否 1:是",
  24103. "type": "integer"
  24104. },
  24105. "isreckoned": {
  24106. "description": "是否结算 - 0:未结算 1:已结算",
  24107. "type": "integer"
  24108. },
  24109. "listingselecttype": {
  24110. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24111. "type": "integer"
  24112. },
  24113. "marketid": {
  24114. "description": "市场ID",
  24115. "type": "integer"
  24116. },
  24117. "marketname": {
  24118. "description": "市场名称",
  24119. "type": "string"
  24120. },
  24121. "matchaccountid": {
  24122. "description": "对手账号id",
  24123. "type": "integer"
  24124. },
  24125. "memberuserid": {
  24126. "description": "会员id 个人投资者 需要填写",
  24127. "type": "integer"
  24128. },
  24129. "opencharge": {
  24130. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  24131. "type": "number"
  24132. },
  24133. "openexchagechargevalue": {
  24134. "description": "建仓交易所手续费设置值",
  24135. "type": "number"
  24136. },
  24137. "openfeealgorithm": {
  24138. "description": "建仓手续费收取方式 1:比率 2:固定",
  24139. "type": "integer"
  24140. },
  24141. "openmemberchargevalue": {
  24142. "description": "建仓会员手续费设置值",
  24143. "type": "number"
  24144. },
  24145. "openqty": {
  24146. "description": "开仓数量(先建后平操作 需要记录)",
  24147. "type": "integer"
  24148. },
  24149. "optiontype": {
  24150. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  24151. "type": "integer"
  24152. },
  24153. "orderid": {
  24154. "description": "委托单号",
  24155. "type": "string"
  24156. },
  24157. "performanceplanid": {
  24158. "description": "履约计划ID[期权]",
  24159. "type": "integer"
  24160. },
  24161. "performancestatus": {
  24162. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  24163. "type": "integer"
  24164. },
  24165. "preexerciseprice": {
  24166. "description": "预申报价格",
  24167. "type": "number"
  24168. },
  24169. "premium": {
  24170. "description": "权利金 - [持仓单的权利金]",
  24171. "type": "number"
  24172. },
  24173. "relatedouttradeid": {
  24174. "description": "关联外部成交单ID",
  24175. "type": "integer"
  24176. },
  24177. "status": {
  24178. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  24179. "type": "integer"
  24180. },
  24181. "tradeamount": {
  24182. "description": "成交金额[账户币种,用于所有权]",
  24183. "type": "number"
  24184. },
  24185. "tradedate": {
  24186. "description": "交易日(yyyyMMdd)",
  24187. "type": "string"
  24188. },
  24189. "tradeid": {
  24190. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24191. "type": "string"
  24192. },
  24193. "trademode": {
  24194. "description": "交易模式",
  24195. "type": "integer"
  24196. },
  24197. "tradeprice": {
  24198. "description": "成交价格",
  24199. "type": "number"
  24200. },
  24201. "tradeproperty": {
  24202. "description": "交易属性",
  24203. "type": "integer"
  24204. },
  24205. "tradeqty": {
  24206. "description": "成交数量",
  24207. "type": "integer"
  24208. },
  24209. "tradetime": {
  24210. "description": "成交时间",
  24211. "type": "string"
  24212. },
  24213. "tradetype": {
  24214. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  24215. "type": "integer"
  24216. }
  24217. }
  24218. },
  24219. "order.QueryTradeOrderDetailRsp": {
  24220. "type": "object",
  24221. "required": [
  24222. "accountid",
  24223. "buildtype",
  24224. "buyorsell",
  24225. "goodsid",
  24226. "marketid",
  24227. "operatetype",
  24228. "orderqty",
  24229. "ordertime",
  24230. "pricemode",
  24231. "tradedate",
  24232. "validtype"
  24233. ],
  24234. "properties": {
  24235. "accountid": {
  24236. "description": "账户ID[报价币种]",
  24237. "type": "integer"
  24238. },
  24239. "buildtype": {
  24240. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  24241. "type": "integer"
  24242. },
  24243. "buyorsell": {
  24244. "description": "买卖 - 0:买 1:卖",
  24245. "type": "integer"
  24246. },
  24247. "cancelorderid": {
  24248. "description": "撤单单号(撤单时填写)",
  24249. "type": "string"
  24250. },
  24251. "cancelqty": {
  24252. "description": "撤单数量",
  24253. "type": "integer"
  24254. },
  24255. "clienttype": {
  24256. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24257. "type": "integer"
  24258. },
  24259. "closefreezecharge": {
  24260. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  24261. "type": "number"
  24262. },
  24263. "closeqty": {
  24264. "description": "平仓数量(先建后平操作 需要记录)",
  24265. "type": "integer"
  24266. },
  24267. "closetradeqty": {
  24268. "description": "平仓成交数量(先建后平操作,需要记录)",
  24269. "type": "integer"
  24270. },
  24271. "closeunfreezecharge": {
  24272. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  24273. "type": "number"
  24274. },
  24275. "delistingtype": {
  24276. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  24277. "type": "integer"
  24278. },
  24279. "enableqty": {
  24280. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  24281. "type": "integer"
  24282. },
  24283. "freezecharge": {
  24284. "description": "冻结手续费",
  24285. "type": "number"
  24286. },
  24287. "freezemargin": {
  24288. "description": "冻结保证金(冻结交易金额)",
  24289. "type": "number"
  24290. },
  24291. "goodscode": {
  24292. "description": "商品代码",
  24293. "type": "string"
  24294. },
  24295. "goodsid": {
  24296. "description": "商品ID",
  24297. "type": "integer"
  24298. },
  24299. "goodsname": {
  24300. "description": "商品名称",
  24301. "type": "string"
  24302. },
  24303. "listingselecttype": {
  24304. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24305. "type": "integer"
  24306. },
  24307. "marketid": {
  24308. "description": "市场ID",
  24309. "type": "integer"
  24310. },
  24311. "marketname": {
  24312. "description": "市场名称",
  24313. "type": "string"
  24314. },
  24315. "openfreezecharge": {
  24316. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  24317. "type": "number"
  24318. },
  24319. "openqty": {
  24320. "description": "开仓数量(先建后平操作,需要记录)",
  24321. "type": "integer"
  24322. },
  24323. "opentradeqty": {
  24324. "description": "开仓成交数量(先建后平操作,需要记录)",
  24325. "type": "integer"
  24326. },
  24327. "openunfreezecharge": {
  24328. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  24329. "type": "number"
  24330. },
  24331. "operatetype": {
  24332. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  24333. "type": "integer"
  24334. },
  24335. "operatorid": {
  24336. "description": "登录账号(LoginID)",
  24337. "type": "integer"
  24338. },
  24339. "orderid": {
  24340. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24341. "type": "string"
  24342. },
  24343. "orderprice": {
  24344. "description": "委托价格",
  24345. "type": "number"
  24346. },
  24347. "orderqty": {
  24348. "description": "委托数量",
  24349. "type": "integer"
  24350. },
  24351. "ordersrc": {
  24352. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  24353. "type": "integer"
  24354. },
  24355. "orderstatus": {
  24356. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24357. "type": "integer"
  24358. },
  24359. "ordertime": {
  24360. "description": "委托时间",
  24361. "type": "string"
  24362. },
  24363. "preorderid": {
  24364. "description": "关联预埋单号(止盈止损单时填写)",
  24365. "type": "string"
  24366. },
  24367. "pricemode": {
  24368. "description": "取价方式 - 1:市价 2: 限价",
  24369. "type": "integer"
  24370. },
  24371. "relatedid": {
  24372. "description": "关联单号(交割单)",
  24373. "type": "string"
  24374. },
  24375. "tradedate": {
  24376. "description": "交易日(yyyyMMdd)",
  24377. "type": "string"
  24378. },
  24379. "trademode": {
  24380. "description": "交易模式",
  24381. "type": "integer"
  24382. },
  24383. "tradeqty": {
  24384. "description": "成交数量",
  24385. "type": "integer"
  24386. },
  24387. "unfreezecharge": {
  24388. "description": "解冻手续费",
  24389. "type": "number"
  24390. },
  24391. "unfreezemargin": {
  24392. "description": "解冻保证金",
  24393. "type": "number"
  24394. },
  24395. "validtime": {
  24396. "description": "有效期限",
  24397. "type": "string"
  24398. },
  24399. "validtype": {
  24400. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  24401. "type": "integer"
  24402. },
  24403. "volumetype": {
  24404. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  24405. "type": "integer"
  24406. }
  24407. }
  24408. },
  24409. "order.QueryTradePositionRsp": {
  24410. "type": "object",
  24411. "required": [
  24412. "goodsid"
  24413. ],
  24414. "properties": {
  24415. "accountid": {
  24416. "description": "资金账户",
  24417. "type": "integer"
  24418. },
  24419. "agreeunit": {
  24420. "description": "合约单位",
  24421. "type": "number"
  24422. },
  24423. "averageprice": {
  24424. "description": "持仓均价",
  24425. "type": "number"
  24426. },
  24427. "buyorsell": {
  24428. "description": "方向 - 0:买 1:卖",
  24429. "type": "integer"
  24430. },
  24431. "closetotalqty": {
  24432. "description": "平仓总数量",
  24433. "type": "integer"
  24434. },
  24435. "curholderamount": {
  24436. "description": "当前持仓总金额[商品币种]",
  24437. "type": "number"
  24438. },
  24439. "curpositionqty": {
  24440. "description": "当前持仓总数量",
  24441. "type": "integer"
  24442. },
  24443. "currencyid": {
  24444. "description": "报价货币ID",
  24445. "type": "integer"
  24446. },
  24447. "curtdposition": {
  24448. "description": "期末今日头寸",
  24449. "type": "integer"
  24450. },
  24451. "decimalplace": {
  24452. "description": "报价小数位",
  24453. "type": "integer"
  24454. },
  24455. "enableqty": {
  24456. "description": "可用量",
  24457. "type": "integer"
  24458. },
  24459. "fretdposition": {
  24460. "description": "冻结今日头寸",
  24461. "type": "integer"
  24462. },
  24463. "frozenqty": {
  24464. "description": "持仓冻结数量",
  24465. "type": "integer"
  24466. },
  24467. "goodscode": {
  24468. "description": "商品代码",
  24469. "type": "string"
  24470. },
  24471. "goodsid": {
  24472. "description": "商品Id",
  24473. "type": "integer"
  24474. },
  24475. "goodsname": {
  24476. "description": "商品名称",
  24477. "type": "string"
  24478. },
  24479. "goodunit": {
  24480. "description": "报价单位",
  24481. "type": "string"
  24482. },
  24483. "goodunitid": {
  24484. "description": "报价单位ID",
  24485. "type": "integer"
  24486. },
  24487. "holderamount": {
  24488. "description": "期初持仓总金额[商品币种]",
  24489. "type": "number"
  24490. },
  24491. "marketid": {
  24492. "description": "所属市场ID",
  24493. "type": "integer"
  24494. },
  24495. "openreqqty": {
  24496. "description": "开仓申请数量(用于比较最大持仓数量)",
  24497. "type": "integer"
  24498. },
  24499. "opentotalqty": {
  24500. "description": "开仓总数量",
  24501. "type": "integer"
  24502. },
  24503. "otherfrozenqty": {
  24504. "description": "持仓其他冻结数量(交割冻结)",
  24505. "type": "integer"
  24506. },
  24507. "positionqty": {
  24508. "description": "期初持仓数量",
  24509. "type": "integer"
  24510. },
  24511. "tnqty": {
  24512. "description": "T+N冻结总量",
  24513. "type": "integer"
  24514. },
  24515. "tnusedqty": {
  24516. "description": "T+N使用量(可以使用T+N的冻结数量)",
  24517. "type": "integer"
  24518. },
  24519. "trademode": {
  24520. "description": "交易模式",
  24521. "type": "integer"
  24522. },
  24523. "usedmargin": {
  24524. "description": "占用保证金[商品币种]",
  24525. "type": "number"
  24526. }
  24527. }
  24528. },
  24529. "quote.HistoryData": {
  24530. "type": "object",
  24531. "properties": {
  24532. "c": {
  24533. "description": "收盘价",
  24534. "type": "number"
  24535. },
  24536. "f": {
  24537. "description": "是否补充数据",
  24538. "type": "boolean"
  24539. },
  24540. "h": {
  24541. "description": "最高价",
  24542. "type": "number"
  24543. },
  24544. "hv": {
  24545. "description": "持仓量",
  24546. "type": "integer"
  24547. },
  24548. "l": {
  24549. "description": "最低价",
  24550. "type": "number"
  24551. },
  24552. "o": {
  24553. "description": "开盘价",
  24554. "type": "number"
  24555. },
  24556. "s": {
  24557. "description": "结算价,日线周期(包括)以上才有",
  24558. "type": "number"
  24559. },
  24560. "ts": {
  24561. "description": "时间",
  24562. "type": "string"
  24563. },
  24564. "tt": {
  24565. "description": "总金额",
  24566. "type": "number"
  24567. },
  24568. "tv": {
  24569. "description": "总量",
  24570. "type": "integer"
  24571. }
  24572. }
  24573. },
  24574. "quote.HistoryTikData": {
  24575. "type": "object",
  24576. "properties": {
  24577. "AV": {
  24578. "description": "卖量",
  24579. "type": "integer"
  24580. },
  24581. "Ask": {
  24582. "description": "卖价",
  24583. "type": "number"
  24584. },
  24585. "BV": {
  24586. "description": "买量",
  24587. "type": "integer"
  24588. },
  24589. "Bid": {
  24590. "description": "买价",
  24591. "type": "number"
  24592. },
  24593. "HI": {
  24594. "description": "单笔持仓",
  24595. "type": "integer"
  24596. },
  24597. "HV": {
  24598. "description": "持仓量",
  24599. "type": "integer"
  24600. },
  24601. "PE": {
  24602. "description": "现价",
  24603. "type": "number"
  24604. },
  24605. "TDR": {
  24606. "description": "交易方向,0:买 1:卖",
  24607. "type": "integer"
  24608. },
  24609. "TK": {
  24610. "description": "交易类型",
  24611. "type": "integer"
  24612. },
  24613. "TS": {
  24614. "description": "行情时间文本",
  24615. "type": "string"
  24616. },
  24617. "TT": {
  24618. "description": "现金额",
  24619. "type": "number"
  24620. },
  24621. "Vol": {
  24622. "description": "现量",
  24623. "type": "integer"
  24624. }
  24625. }
  24626. },
  24627. "quote.QueryQuoteDayRsp": {
  24628. "type": "object",
  24629. "properties": {
  24630. "ask": {
  24631. "description": "卖1",
  24632. "type": "number"
  24633. },
  24634. "ask10": {
  24635. "description": "卖10",
  24636. "type": "number"
  24637. },
  24638. "ask2": {
  24639. "description": "卖2",
  24640. "type": "number"
  24641. },
  24642. "ask3": {
  24643. "description": "卖3",
  24644. "type": "number"
  24645. },
  24646. "ask4": {
  24647. "description": "卖4",
  24648. "type": "number"
  24649. },
  24650. "ask5": {
  24651. "description": "卖5",
  24652. "type": "number"
  24653. },
  24654. "ask6": {
  24655. "description": "卖6",
  24656. "type": "number"
  24657. },
  24658. "ask7": {
  24659. "description": "卖7",
  24660. "type": "number"
  24661. },
  24662. "ask8": {
  24663. "description": "卖8",
  24664. "type": "number"
  24665. },
  24666. "ask9": {
  24667. "description": "卖9",
  24668. "type": "number"
  24669. },
  24670. "askorderid": {
  24671. "description": "卖单号1",
  24672. "type": "integer"
  24673. },
  24674. "askorderid2": {
  24675. "description": "卖单号2",
  24676. "type": "integer"
  24677. },
  24678. "askorderid3": {
  24679. "description": "卖单号3",
  24680. "type": "integer"
  24681. },
  24682. "askorderid4": {
  24683. "description": "卖单号4",
  24684. "type": "integer"
  24685. },
  24686. "askorderid5": {
  24687. "description": "卖单号5",
  24688. "type": "integer"
  24689. },
  24690. "askordervolume": {
  24691. "description": "卖单量1",
  24692. "type": "integer"
  24693. },
  24694. "askordervolume10": {
  24695. "description": "卖单量10",
  24696. "type": "integer"
  24697. },
  24698. "askordervolume2": {
  24699. "description": "卖单量2",
  24700. "type": "integer"
  24701. },
  24702. "askordervolume3": {
  24703. "description": "卖单量3",
  24704. "type": "integer"
  24705. },
  24706. "askordervolume4": {
  24707. "description": "卖单量4",
  24708. "type": "integer"
  24709. },
  24710. "askordervolume5": {
  24711. "description": "卖单量5",
  24712. "type": "integer"
  24713. },
  24714. "askordervolume6": {
  24715. "description": "卖单量6",
  24716. "type": "integer"
  24717. },
  24718. "askordervolume7": {
  24719. "description": "卖单量7",
  24720. "type": "integer"
  24721. },
  24722. "askordervolume8": {
  24723. "description": "卖单量8",
  24724. "type": "integer"
  24725. },
  24726. "askordervolume9": {
  24727. "description": "卖单量9",
  24728. "type": "integer"
  24729. },
  24730. "askqueueinfo": {
  24731. "description": "大利市卖港股用",
  24732. "type": "string"
  24733. },
  24734. "askvolume": {
  24735. "description": "卖量1",
  24736. "type": "integer"
  24737. },
  24738. "askvolume10": {
  24739. "description": "卖量10",
  24740. "type": "integer"
  24741. },
  24742. "askvolume2": {
  24743. "description": "卖量2",
  24744. "type": "integer"
  24745. },
  24746. "askvolume3": {
  24747. "description": "卖量3",
  24748. "type": "integer"
  24749. },
  24750. "askvolume4": {
  24751. "description": "卖量4",
  24752. "type": "integer"
  24753. },
  24754. "askvolume5": {
  24755. "description": "卖量5",
  24756. "type": "integer"
  24757. },
  24758. "askvolume6": {
  24759. "description": "卖量6",
  24760. "type": "integer"
  24761. },
  24762. "askvolume7": {
  24763. "description": "卖量7",
  24764. "type": "integer"
  24765. },
  24766. "askvolume8": {
  24767. "description": "卖量8",
  24768. "type": "integer"
  24769. },
  24770. "askvolume9": {
  24771. "description": "卖量9",
  24772. "type": "integer"
  24773. },
  24774. "averageprice": {
  24775. "description": "均价",
  24776. "type": "number"
  24777. },
  24778. "bid": {
  24779. "description": "买1",
  24780. "type": "number"
  24781. },
  24782. "bid10": {
  24783. "description": "买10",
  24784. "type": "number"
  24785. },
  24786. "bid2": {
  24787. "description": "买2",
  24788. "type": "number"
  24789. },
  24790. "bid3": {
  24791. "description": "买3",
  24792. "type": "number"
  24793. },
  24794. "bid4": {
  24795. "description": "买4",
  24796. "type": "number"
  24797. },
  24798. "bid5": {
  24799. "description": "买5",
  24800. "type": "number"
  24801. },
  24802. "bid6": {
  24803. "description": "买6",
  24804. "type": "number"
  24805. },
  24806. "bid7": {
  24807. "description": "买7",
  24808. "type": "number"
  24809. },
  24810. "bid8": {
  24811. "description": "买8",
  24812. "type": "number"
  24813. },
  24814. "bid9": {
  24815. "description": "买9",
  24816. "type": "number"
  24817. },
  24818. "bidorderid": {
  24819. "description": "买单号1",
  24820. "type": "integer"
  24821. },
  24822. "bidorderid2": {
  24823. "description": "买单号2",
  24824. "type": "integer"
  24825. },
  24826. "bidorderid3": {
  24827. "description": "买单号3",
  24828. "type": "integer"
  24829. },
  24830. "bidorderid4": {
  24831. "description": "买单号4",
  24832. "type": "integer"
  24833. },
  24834. "bidorderid5": {
  24835. "description": "买单号5",
  24836. "type": "integer"
  24837. },
  24838. "bidordervolume": {
  24839. "description": "买单量1",
  24840. "type": "integer"
  24841. },
  24842. "bidordervolume10": {
  24843. "description": "买单量10",
  24844. "type": "integer"
  24845. },
  24846. "bidordervolume2": {
  24847. "description": "买单量2",
  24848. "type": "integer"
  24849. },
  24850. "bidordervolume3": {
  24851. "description": "买单量3",
  24852. "type": "integer"
  24853. },
  24854. "bidordervolume4": {
  24855. "description": "买单量4",
  24856. "type": "integer"
  24857. },
  24858. "bidordervolume5": {
  24859. "description": "买单量5",
  24860. "type": "integer"
  24861. },
  24862. "bidordervolume6": {
  24863. "description": "买单量6",
  24864. "type": "integer"
  24865. },
  24866. "bidordervolume7": {
  24867. "description": "买单量7",
  24868. "type": "integer"
  24869. },
  24870. "bidordervolume8": {
  24871. "description": "买单量8",
  24872. "type": "integer"
  24873. },
  24874. "bidordervolume9": {
  24875. "description": "买单量9",
  24876. "type": "integer"
  24877. },
  24878. "bidqueueinfo": {
  24879. "description": "大利市买港股用",
  24880. "type": "string"
  24881. },
  24882. "bidvolume": {
  24883. "description": "买量1",
  24884. "type": "integer"
  24885. },
  24886. "bidvolume10": {
  24887. "description": "买量10",
  24888. "type": "integer"
  24889. },
  24890. "bidvolume2": {
  24891. "description": "买量2",
  24892. "type": "integer"
  24893. },
  24894. "bidvolume3": {
  24895. "description": "买量3",
  24896. "type": "integer"
  24897. },
  24898. "bidvolume4": {
  24899. "description": "买量4",
  24900. "type": "integer"
  24901. },
  24902. "bidvolume5": {
  24903. "description": "买量5",
  24904. "type": "integer"
  24905. },
  24906. "bidvolume6": {
  24907. "description": "买量6",
  24908. "type": "integer"
  24909. },
  24910. "bidvolume7": {
  24911. "description": "买量7",
  24912. "type": "integer"
  24913. },
  24914. "bidvolume8": {
  24915. "description": "买量8",
  24916. "type": "integer"
  24917. },
  24918. "bidvolume9": {
  24919. "description": "买量9",
  24920. "type": "integer"
  24921. },
  24922. "calloptionpremiums": {
  24923. "description": "认购期权1",
  24924. "type": "integer"
  24925. },
  24926. "calloptionpremiums2": {
  24927. "description": "认购期权2",
  24928. "type": "integer"
  24929. },
  24930. "calloptionpremiums3": {
  24931. "description": "认购期权3",
  24932. "type": "integer"
  24933. },
  24934. "calloptionpremiums4": {
  24935. "description": "认购期权4",
  24936. "type": "integer"
  24937. },
  24938. "calloptionpremiums5": {
  24939. "description": "认购期权5",
  24940. "type": "integer"
  24941. },
  24942. "cleartime": {
  24943. "description": "清盘时间",
  24944. "type": "integer"
  24945. },
  24946. "exchangecode": {
  24947. "description": "交易所代码",
  24948. "type": "integer"
  24949. },
  24950. "exchangedate": {
  24951. "description": "交易日",
  24952. "type": "integer"
  24953. },
  24954. "goodscode": {
  24955. "description": "商品代码",
  24956. "type": "string"
  24957. },
  24958. "grepmarketprice": {
  24959. "description": "暗盘价 港股专用",
  24960. "type": "number"
  24961. },
  24962. "highest": {
  24963. "description": "最高价",
  24964. "type": "number"
  24965. },
  24966. "holdincrement": {
  24967. "description": "单笔持仓",
  24968. "type": "integer"
  24969. },
  24970. "holdvolume": {
  24971. "description": "持仓",
  24972. "type": "integer"
  24973. },
  24974. "iep": {
  24975. "description": "平衡价 港股专用",
  24976. "type": "number"
  24977. },
  24978. "iev": {
  24979. "description": "平衡量 港股专用",
  24980. "type": "number"
  24981. },
  24982. "inventory": {
  24983. "description": "库存",
  24984. "type": "integer"
  24985. },
  24986. "iscleared": {
  24987. "description": "是否清盘标志",
  24988. "type": "integer"
  24989. },
  24990. "issettled": {
  24991. "description": "是否结算标志",
  24992. "type": "integer"
  24993. },
  24994. "last": {
  24995. "description": "最新价",
  24996. "type": "number"
  24997. },
  24998. "lastlot": {
  24999. "description": "最新成交手数",
  25000. "type": "integer"
  25001. },
  25002. "lasttime": {
  25003. "description": "行情时间(只有现价变化行情时间才变化)",
  25004. "type": "string"
  25005. },
  25006. "lastturnover": {
  25007. "description": "最新成交金额",
  25008. "type": "number"
  25009. },
  25010. "lastvolume": {
  25011. "description": "最新成交量",
  25012. "type": "integer"
  25013. },
  25014. "limitdown": {
  25015. "description": "跌停价",
  25016. "type": "number"
  25017. },
  25018. "limitup": {
  25019. "description": "涨停价",
  25020. "type": "number"
  25021. },
  25022. "lowest": {
  25023. "description": "最低价",
  25024. "type": "number"
  25025. },
  25026. "nontotalholdervolume": {
  25027. "description": "非交易持仓量",
  25028. "type": "integer"
  25029. },
  25030. "nontotallot": {
  25031. "description": "非交易总手数",
  25032. "type": "integer"
  25033. },
  25034. "nontotalturnover": {
  25035. "description": "非交易总金额",
  25036. "type": "integer"
  25037. },
  25038. "nontotalvolume": {
  25039. "description": "非交易总量",
  25040. "type": "integer"
  25041. },
  25042. "opened": {
  25043. "description": "开盘价",
  25044. "type": "number"
  25045. },
  25046. "opentime": {
  25047. "description": "开盘时间",
  25048. "type": "string"
  25049. },
  25050. "orderid": {
  25051. "description": "序号",
  25052. "type": "integer"
  25053. },
  25054. "preclose": {
  25055. "description": "昨收",
  25056. "type": "number"
  25057. },
  25058. "preholdvolume": {
  25059. "description": "昨持仓",
  25060. "type": "integer"
  25061. },
  25062. "presettle": {
  25063. "description": "昨结价",
  25064. "type": "number"
  25065. },
  25066. "publictradetype": {
  25067. "description": "公共交易标志类型 港股专用",
  25068. "type": "string"
  25069. },
  25070. "putoptionpremiums": {
  25071. "description": "认沽期权1",
  25072. "type": "integer"
  25073. },
  25074. "putoptionpremiums2": {
  25075. "description": "认沽期权2",
  25076. "type": "integer"
  25077. },
  25078. "putoptionpremiums3": {
  25079. "description": "认沽期权3",
  25080. "type": "integer"
  25081. },
  25082. "putoptionpremiums4": {
  25083. "description": "认沽期权4",
  25084. "type": "integer"
  25085. },
  25086. "putoptionpremiums5": {
  25087. "description": "认沽期权5",
  25088. "type": "integer"
  25089. },
  25090. "settle": {
  25091. "description": "结算价",
  25092. "type": "number"
  25093. },
  25094. "strikeprice": {
  25095. "description": "发行价",
  25096. "type": "number"
  25097. },
  25098. "totalaskvolume": {
  25099. "description": "内盘",
  25100. "type": "integer"
  25101. },
  25102. "totalbidvolume": {
  25103. "description": "外盘",
  25104. "type": "integer"
  25105. },
  25106. "totallot": {
  25107. "description": "总手数",
  25108. "type": "integer"
  25109. },
  25110. "totalturnover": {
  25111. "description": "总金额",
  25112. "type": "number"
  25113. },
  25114. "totalvolume": {
  25115. "description": "总量",
  25116. "type": "integer"
  25117. },
  25118. "utclasttime": {
  25119. "description": "utc的行情时间",
  25120. "type": "string"
  25121. }
  25122. }
  25123. },
  25124. "quote.QueryTSDataRsp": {
  25125. "type": "object",
  25126. "properties": {
  25127. "Count": {
  25128. "description": "交易日应有数据个数",
  25129. "type": "integer"
  25130. },
  25131. "decimalPlace": {
  25132. "description": "小数位",
  25133. "type": "integer"
  25134. },
  25135. "endTime": {
  25136. "description": "结束时间",
  25137. "type": "string"
  25138. },
  25139. "goodsCode": {
  25140. "description": "商品代码",
  25141. "type": "string"
  25142. },
  25143. "historyDatas": {
  25144. "description": "历史数据",
  25145. "type": "array",
  25146. "items": {
  25147. "$ref": "#/definitions/quote.HistoryData"
  25148. }
  25149. },
  25150. "outGoodsCode": {
  25151. "description": "外部商品代码",
  25152. "type": "string"
  25153. },
  25154. "preSettle": {
  25155. "description": "昨结价",
  25156. "type": "number"
  25157. },
  25158. "runSteps": {
  25159. "description": "交易日开休市计划",
  25160. "type": "array",
  25161. "items": {
  25162. "$ref": "#/definitions/quote.TSDataRunStep"
  25163. }
  25164. },
  25165. "startTime": {
  25166. "description": "开始时间",
  25167. "type": "string"
  25168. },
  25169. "tradeDate": {
  25170. "description": "交易日",
  25171. "type": "string"
  25172. }
  25173. }
  25174. },
  25175. "quote.TSDataRunStep": {
  25176. "type": "object",
  25177. "properties": {
  25178. "end": {
  25179. "description": "真实结束时间",
  25180. "type": "string"
  25181. },
  25182. "endflag": {
  25183. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  25184. "type": "integer"
  25185. },
  25186. "endtime": {
  25187. "description": "结束时间(HH:mm)",
  25188. "type": "string"
  25189. },
  25190. "endweekday": {
  25191. "description": "结束周几",
  25192. "type": "integer"
  25193. },
  25194. "groupid": {
  25195. "description": "分组ID",
  25196. "type": "integer"
  25197. },
  25198. "runstep": {
  25199. "description": "运行阶段 - 2:连续交易",
  25200. "type": "integer"
  25201. },
  25202. "sectionid": {
  25203. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  25204. "type": "integer"
  25205. },
  25206. "start": {
  25207. "description": "真实开始时间",
  25208. "type": "string"
  25209. },
  25210. "startflag": {
  25211. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  25212. "type": "integer"
  25213. },
  25214. "starttime": {
  25215. "description": "起始时间(HH:mm)",
  25216. "type": "string"
  25217. },
  25218. "startweekday": {
  25219. "description": "起始周几",
  25220. "type": "integer"
  25221. },
  25222. "tradeweekday": {
  25223. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  25224. "type": "integer"
  25225. }
  25226. }
  25227. },
  25228. "szdz.QueryConvertLogRsp": {
  25229. "type": "object",
  25230. "required": [
  25231. "logid"
  25232. ],
  25233. "properties": {
  25234. "accountid": {
  25235. "description": "资金账户ID",
  25236. "type": "integer"
  25237. },
  25238. "clientticket": {
  25239. "description": "客户端流水号",
  25240. "type": "string"
  25241. },
  25242. "converttype": {
  25243. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  25244. "type": "integer"
  25245. },
  25246. "createtime": {
  25247. "description": "记账时间",
  25248. "type": "string"
  25249. },
  25250. "daymaxvalue": {
  25251. "description": "配置当日最大转入限制",
  25252. "type": "number"
  25253. },
  25254. "daymaxvalue2": {
  25255. "description": "配置当日最大转入限制(转入)",
  25256. "type": "number"
  25257. },
  25258. "goodscode": {
  25259. "description": "商品代码",
  25260. "type": "string"
  25261. },
  25262. "goodsname": {
  25263. "description": "商品名称",
  25264. "type": "string"
  25265. },
  25266. "handlestatus": {
  25267. "description": "处理状态",
  25268. "type": "integer"
  25269. },
  25270. "innergoodsid": {
  25271. "description": "内部商品ID",
  25272. "type": "integer"
  25273. },
  25274. "inratio": {
  25275. "description": "配置转入比值",
  25276. "type": "integer"
  25277. },
  25278. "invalue": {
  25279. "description": "目标值",
  25280. "type": "number"
  25281. },
  25282. "logid": {
  25283. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25284. "type": "integer"
  25285. },
  25286. "mobile": {
  25287. "description": "手机号码(加密存储)",
  25288. "type": "string"
  25289. },
  25290. "outergoodscode": {
  25291. "description": "外部商品代码[JD\\PD]",
  25292. "type": "string"
  25293. },
  25294. "outratio": {
  25295. "description": "配置转出比值",
  25296. "type": "integer"
  25297. },
  25298. "outvalue": {
  25299. "description": "源值",
  25300. "type": "number"
  25301. },
  25302. "pddecimalplace": {
  25303. "description": "PD小数位",
  25304. "type": "integer"
  25305. },
  25306. "qty": {
  25307. "description": "数量",
  25308. "type": "string"
  25309. },
  25310. "remark": {
  25311. "description": "备注",
  25312. "type": "string"
  25313. },
  25314. "sessionid": {
  25315. "description": "会话ID",
  25316. "type": "integer"
  25317. },
  25318. "timemaxvalue": {
  25319. "description": "配置单次最大转入限制",
  25320. "type": "number"
  25321. },
  25322. "timemaxvalue2": {
  25323. "description": "配置单次最大转入限制(转入)",
  25324. "type": "number"
  25325. },
  25326. "timeminvalue": {
  25327. "description": "配置单次最小数量限制",
  25328. "type": "number"
  25329. },
  25330. "timeminvalue2": {
  25331. "description": "配置单次最小数量限制(转入)",
  25332. "type": "number"
  25333. },
  25334. "tradedate": {
  25335. "description": "交易日(yyyyMMdd)",
  25336. "type": "string"
  25337. },
  25338. "userid": {
  25339. "description": "用户ID",
  25340. "type": "integer"
  25341. }
  25342. }
  25343. },
  25344. "szdz.QueryGoodsPickupRsp": {
  25345. "type": "object",
  25346. "required": [
  25347. "takeorderid"
  25348. ],
  25349. "properties": {
  25350. "accountid": {
  25351. "description": "账户ID",
  25352. "type": "integer"
  25353. },
  25354. "address": {
  25355. "description": "提货人详细地址",
  25356. "type": "string"
  25357. },
  25358. "auditer": {
  25359. "description": "审核人",
  25360. "type": "integer"
  25361. },
  25362. "audittime": {
  25363. "description": "审核时间",
  25364. "type": "string"
  25365. },
  25366. "cardnum": {
  25367. "description": "提货人证件号码",
  25368. "type": "string"
  25369. },
  25370. "cardtypeid": {
  25371. "description": "提货人证件类型",
  25372. "type": "integer"
  25373. },
  25374. "checkremark": {
  25375. "description": "审核备注",
  25376. "type": "string"
  25377. },
  25378. "goodscode": {
  25379. "description": "商品代码",
  25380. "type": "string"
  25381. },
  25382. "goodsid": {
  25383. "description": "商品ID",
  25384. "type": "integer"
  25385. },
  25386. "goodsname": {
  25387. "description": "商品名称",
  25388. "type": "string"
  25389. },
  25390. "handlestatus": {
  25391. "description": "处理状态",
  25392. "type": "integer"
  25393. },
  25394. "marketid": {
  25395. "description": "市场ID",
  25396. "type": "integer"
  25397. },
  25398. "phonenum": {
  25399. "description": "提货人联系方式",
  25400. "type": "string"
  25401. },
  25402. "qty": {
  25403. "description": "提货数量",
  25404. "type": "number"
  25405. },
  25406. "recivername": {
  25407. "description": "提货人姓名",
  25408. "type": "string"
  25409. },
  25410. "reqtime": {
  25411. "description": "更新时间",
  25412. "type": "string"
  25413. },
  25414. "takemode": {
  25415. "description": "提货方式 - 2:自提 3:配送",
  25416. "type": "integer"
  25417. },
  25418. "takeorderid": {
  25419. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25420. "type": "string"
  25421. },
  25422. "takeorderstatus": {
  25423. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  25424. "type": "integer"
  25425. },
  25426. "takeremark": {
  25427. "description": "提货备注",
  25428. "type": "string"
  25429. },
  25430. "tradedate": {
  25431. "description": "交易日(yyyyMMdd)",
  25432. "type": "string"
  25433. },
  25434. "userid": {
  25435. "description": "用户ID",
  25436. "type": "integer"
  25437. }
  25438. }
  25439. },
  25440. "szdz.QueryRecieptOrderRsp": {
  25441. "type": "object",
  25442. "required": [
  25443. "ordertime"
  25444. ],
  25445. "properties": {
  25446. "accountName": {
  25447. "description": "所属账号名称(已脱敏)",
  25448. "type": "string"
  25449. },
  25450. "accountid": {
  25451. "description": "资金账号",
  25452. "type": "integer"
  25453. },
  25454. "buyorsell": {
  25455. "description": "方向 - 0:买 1:卖",
  25456. "type": "integer"
  25457. },
  25458. "enableqty": {
  25459. "description": "可摘数量",
  25460. "type": "integer"
  25461. },
  25462. "goodscode": {
  25463. "description": "商品代码",
  25464. "type": "string"
  25465. },
  25466. "goodsid": {
  25467. "description": "商品ID",
  25468. "type": "integer"
  25469. },
  25470. "goodsname": {
  25471. "description": "商品名称",
  25472. "type": "string"
  25473. },
  25474. "orderid": {
  25475. "description": "委托单号",
  25476. "type": "string"
  25477. },
  25478. "orderprice": {
  25479. "description": "委托价格",
  25480. "type": "number"
  25481. },
  25482. "ordertime": {
  25483. "description": "委托时间",
  25484. "type": "string"
  25485. },
  25486. "tradedate": {
  25487. "description": "交易日(yyyyMMdd)",
  25488. "type": "string"
  25489. }
  25490. }
  25491. },
  25492. "szdz.QuerySZDZTradePositionRsp": {
  25493. "type": "object",
  25494. "properties": {
  25495. "accountid": {
  25496. "description": "账号Id",
  25497. "type": "integer"
  25498. },
  25499. "agreeunit": {
  25500. "description": "合约单位",
  25501. "type": "number"
  25502. },
  25503. "averageprice": {
  25504. "description": "持仓均价",
  25505. "type": "number"
  25506. },
  25507. "buyorsell": {
  25508. "description": "方向 - 0:买 1:卖",
  25509. "type": "integer"
  25510. },
  25511. "closetotalqty": {
  25512. "description": "平仓总数量",
  25513. "type": "integer"
  25514. },
  25515. "curholderamount": {
  25516. "description": "当前持仓总金额",
  25517. "type": "number"
  25518. },
  25519. "curpositionqty": {
  25520. "description": "当前持仓总数量",
  25521. "type": "integer"
  25522. },
  25523. "currencyid": {
  25524. "description": "报价货币ID",
  25525. "type": "integer"
  25526. },
  25527. "curtdposition": {
  25528. "description": "期末今日头寸",
  25529. "type": "integer"
  25530. },
  25531. "decimalplace": {
  25532. "description": "报价小数位",
  25533. "type": "integer"
  25534. },
  25535. "enableqty": {
  25536. "description": "可用量",
  25537. "type": "integer"
  25538. },
  25539. "fretdposition": {
  25540. "description": "冻结今日头寸",
  25541. "type": "integer"
  25542. },
  25543. "frozenqty": {
  25544. "description": "持仓冻结数量",
  25545. "type": "integer"
  25546. },
  25547. "goodscode": {
  25548. "description": "商品代码(内部)",
  25549. "type": "string"
  25550. },
  25551. "goodsid": {
  25552. "description": "商品Id",
  25553. "type": "integer"
  25554. },
  25555. "goodsname": {
  25556. "description": "商品名称",
  25557. "type": "string"
  25558. },
  25559. "goodunit": {
  25560. "description": "报价单位",
  25561. "type": "string"
  25562. },
  25563. "goodunitid": {
  25564. "description": "报价单位ID",
  25565. "type": "integer"
  25566. },
  25567. "holderamount": {
  25568. "description": "期初持仓总金额",
  25569. "type": "number"
  25570. },
  25571. "marketid": {
  25572. "description": "市场ID",
  25573. "type": "integer"
  25574. },
  25575. "openreqqty": {
  25576. "description": "开仓申请数量",
  25577. "type": "integer"
  25578. },
  25579. "opentotalqty": {
  25580. "description": "开仓总数量",
  25581. "type": "integer"
  25582. },
  25583. "otherfrozenqty": {
  25584. "description": "持仓其他冻结数量(交割冻结)",
  25585. "type": "integer"
  25586. },
  25587. "positionqty": {
  25588. "description": "期初持仓数量",
  25589. "type": "integer"
  25590. },
  25591. "szdz3freezqty": {
  25592. "description": "尚志大宗转换冻结总数量",
  25593. "type": "integer"
  25594. },
  25595. "tnqty": {
  25596. "description": "T+N冻结总量",
  25597. "type": "integer"
  25598. },
  25599. "tnusedqty": {
  25600. "description": "T+N使用量",
  25601. "type": "integer"
  25602. },
  25603. "trademode": {
  25604. "description": "交易模式",
  25605. "type": "integer"
  25606. },
  25607. "usedmargin": {
  25608. "description": "占用保证金",
  25609. "type": "number"
  25610. }
  25611. }
  25612. },
  25613. "taaccount.QueryAmountLogRsp": {
  25614. "type": "object",
  25615. "required": [
  25616. "accountid",
  25617. "amount",
  25618. "amountadjusttype",
  25619. "autoid",
  25620. "balance",
  25621. "createtime",
  25622. "currentbalance",
  25623. "operatetype"
  25624. ],
  25625. "properties": {
  25626. "OPERATETYPENAME": {
  25627. "description": "资金操作类型名称",
  25628. "type": "string"
  25629. },
  25630. "accountid": {
  25631. "description": "资金账户ID",
  25632. "type": "integer"
  25633. },
  25634. "agoodscode": {
  25635. "description": "竞拍商品代码",
  25636. "type": "string"
  25637. },
  25638. "agoodsname": {
  25639. "description": "竞拍商品名称",
  25640. "type": "string"
  25641. },
  25642. "amount": {
  25643. "description": "资金金额",
  25644. "type": "number"
  25645. },
  25646. "amountadjusttype": {
  25647. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25648. "type": "integer"
  25649. },
  25650. "autoid": {
  25651. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25652. "type": "integer"
  25653. },
  25654. "balance": {
  25655. "description": "期初余额",
  25656. "type": "number"
  25657. },
  25658. "businesscode": {
  25659. "description": "业务编号",
  25660. "type": "integer"
  25661. },
  25662. "createtime": {
  25663. "description": "发生时间",
  25664. "type": "string"
  25665. },
  25666. "currencyid": {
  25667. "description": "币种ID",
  25668. "type": "integer"
  25669. },
  25670. "currentbalance": {
  25671. "description": "期末余额(变动后金额)",
  25672. "type": "number"
  25673. },
  25674. "dgoodscode": {
  25675. "description": "交割商品代码",
  25676. "type": "string"
  25677. },
  25678. "dgoodsname": {
  25679. "description": "交割商品名称",
  25680. "type": "string"
  25681. },
  25682. "goodscode": {
  25683. "description": "商品代码",
  25684. "type": "string"
  25685. },
  25686. "goodsid": {
  25687. "description": "商品ID",
  25688. "type": "integer"
  25689. },
  25690. "goodsname": {
  25691. "description": "商品名称",
  25692. "type": "string"
  25693. },
  25694. "marketid": {
  25695. "description": "市场ID",
  25696. "type": "integer"
  25697. },
  25698. "marketname": {
  25699. "description": "市场名称",
  25700. "type": "string"
  25701. },
  25702. "moneyticket": {
  25703. "description": "资金流水号:银行端流水号",
  25704. "type": "integer"
  25705. },
  25706. "operatetype": {
  25707. "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:营销收款",
  25708. "type": "integer"
  25709. },
  25710. "relationorderid": {
  25711. "description": "关联单号",
  25712. "type": "string"
  25713. },
  25714. "remark": {
  25715. "description": "备注",
  25716. "type": "string"
  25717. },
  25718. "trademode": {
  25719. "description": "交易模式",
  25720. "type": "integer"
  25721. }
  25722. }
  25723. },
  25724. "taaccount.QueryHisAmountLogRsp": {
  25725. "type": "object",
  25726. "required": [
  25727. "accountid",
  25728. "amount",
  25729. "amountadjusttype",
  25730. "autoid",
  25731. "balance",
  25732. "createtime",
  25733. "currentbalance",
  25734. "histradedate",
  25735. "operatetype"
  25736. ],
  25737. "properties": {
  25738. "OPERATETYPENAME": {
  25739. "description": "资金操作类型名称",
  25740. "type": "string"
  25741. },
  25742. "accountid": {
  25743. "description": "资金账户ID",
  25744. "type": "integer"
  25745. },
  25746. "agoodscode": {
  25747. "description": "竞拍商品代码",
  25748. "type": "string"
  25749. },
  25750. "agoodsname": {
  25751. "description": "竞拍商品名称",
  25752. "type": "string"
  25753. },
  25754. "amount": {
  25755. "description": "资金金额",
  25756. "type": "number"
  25757. },
  25758. "amountadjusttype": {
  25759. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25760. "type": "integer"
  25761. },
  25762. "autoid": {
  25763. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25764. "type": "integer"
  25765. },
  25766. "balance": {
  25767. "description": "期初余额",
  25768. "type": "number"
  25769. },
  25770. "businesscode": {
  25771. "description": "业务编号",
  25772. "type": "integer"
  25773. },
  25774. "createtime": {
  25775. "description": "发生时间",
  25776. "type": "string"
  25777. },
  25778. "currencyid": {
  25779. "description": "币种ID",
  25780. "type": "integer"
  25781. },
  25782. "currentbalance": {
  25783. "description": "期末余额(变动后金额)",
  25784. "type": "number"
  25785. },
  25786. "dgoodscode": {
  25787. "description": "交割商品代码",
  25788. "type": "string"
  25789. },
  25790. "dgoodsname": {
  25791. "description": "交割商品名称",
  25792. "type": "string"
  25793. },
  25794. "goodscode": {
  25795. "description": "商品代码",
  25796. "type": "string"
  25797. },
  25798. "goodsid": {
  25799. "description": "商品ID",
  25800. "type": "integer"
  25801. },
  25802. "goodsname": {
  25803. "description": "商品名称",
  25804. "type": "string"
  25805. },
  25806. "histradedate": {
  25807. "description": "历史交易日",
  25808. "type": "string"
  25809. },
  25810. "isvaliddata": {
  25811. "description": "是否有效 - 0:无效 1:有效",
  25812. "type": "integer"
  25813. },
  25814. "marketid": {
  25815. "description": "市场ID",
  25816. "type": "integer"
  25817. },
  25818. "marketname": {
  25819. "description": "市场名称",
  25820. "type": "string"
  25821. },
  25822. "moneyticket": {
  25823. "description": "资金流水号:银行端流水号",
  25824. "type": "integer"
  25825. },
  25826. "operatetype": {
  25827. "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:营销收款",
  25828. "type": "integer"
  25829. },
  25830. "relationorderid": {
  25831. "description": "关联单号",
  25832. "type": "string"
  25833. },
  25834. "remark": {
  25835. "description": "备注",
  25836. "type": "string"
  25837. },
  25838. "trademode": {
  25839. "description": "交易模式",
  25840. "type": "integer"
  25841. }
  25842. }
  25843. },
  25844. "trade.QueryRecieptOrderRsp": {
  25845. "type": "object",
  25846. "required": [
  25847. "ordertime"
  25848. ],
  25849. "properties": {
  25850. "accountName": {
  25851. "description": "所属账号名称(已脱敏)",
  25852. "type": "string"
  25853. },
  25854. "accountid": {
  25855. "description": "资金账号",
  25856. "type": "integer"
  25857. },
  25858. "buyorsell": {
  25859. "description": "方向 - 0:买 1:卖",
  25860. "type": "integer"
  25861. },
  25862. "enableqty": {
  25863. "description": "可摘数量",
  25864. "type": "integer"
  25865. },
  25866. "goodscode": {
  25867. "description": "商品代码",
  25868. "type": "string"
  25869. },
  25870. "goodsid": {
  25871. "description": "商品ID",
  25872. "type": "integer"
  25873. },
  25874. "goodsname": {
  25875. "description": "商品名称",
  25876. "type": "string"
  25877. },
  25878. "orderid": {
  25879. "description": "委托单号",
  25880. "type": "string"
  25881. },
  25882. "orderprice": {
  25883. "description": "委托价格",
  25884. "type": "number"
  25885. },
  25886. "ordertime": {
  25887. "description": "委托时间",
  25888. "type": "string"
  25889. },
  25890. "tradedate": {
  25891. "description": "交易日(yyyyMMdd)",
  25892. "type": "string"
  25893. }
  25894. }
  25895. },
  25896. "user.LoginQueryRsp": {
  25897. "type": "object",
  25898. "properties": {
  25899. "externalExchanges": {
  25900. "description": "外部交易所",
  25901. "type": "array",
  25902. "items": {
  25903. "$ref": "#/definitions/models.Externalexchange"
  25904. }
  25905. },
  25906. "goodsgroups": {
  25907. "description": "商品组",
  25908. "type": "array",
  25909. "items": {
  25910. "$ref": "#/definitions/models.Goodsgroup"
  25911. }
  25912. },
  25913. "loginAccount": {
  25914. "description": "登录账号",
  25915. "type": "object",
  25916. "$ref": "#/definitions/models.Loginaccount"
  25917. },
  25918. "markets": {
  25919. "description": "市场",
  25920. "type": "array",
  25921. "items": {
  25922. "$ref": "#/definitions/models.Market"
  25923. }
  25924. },
  25925. "systemParams": {
  25926. "description": "系统参数",
  25927. "type": "array",
  25928. "items": {
  25929. "$ref": "#/definitions/models.Systemparam"
  25930. }
  25931. },
  25932. "userAccount": {
  25933. "description": "用户账号",
  25934. "type": "object",
  25935. "$ref": "#/definitions/models.Useraccount"
  25936. },
  25937. "userInfo": {
  25938. "description": "用户信息",
  25939. "type": "object",
  25940. "$ref": "#/definitions/models.Userinfo"
  25941. },
  25942. "username": {
  25943. "description": "用户姓名",
  25944. "type": "string"
  25945. }
  25946. }
  25947. }
  25948. },
  25949. "securityDefinitions": {
  25950. "ApiKeyAuth": {
  25951. "type": "apiKey",
  25952. "name": "Authorization",
  25953. "in": "header"
  25954. }
  25955. }
  25956. }`
  25957. type swaggerInfo struct {
  25958. Version string
  25959. Host string
  25960. BasePath string
  25961. Schemes []string
  25962. Title string
  25963. Description string
  25964. }
  25965. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25966. var SwaggerInfo = swaggerInfo{
  25967. Version: "1.0",
  25968. Host: "",
  25969. BasePath: "/api",
  25970. Schemes: []string{},
  25971. Title: "MTP2.0 查询服务 API",
  25972. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25973. }
  25974. type s struct{}
  25975. func (s *s) ReadDoc() string {
  25976. sInfo := SwaggerInfo
  25977. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25978. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25979. "marshal": func(v interface{}) string {
  25980. a, _ := json.Marshal(v)
  25981. return string(a)
  25982. },
  25983. }).Parse(doc)
  25984. if err != nil {
  25985. return doc
  25986. }
  25987. var tpl bytes.Buffer
  25988. if err := t.Execute(&tpl, sInfo); err != nil {
  25989. return doc
  25990. }
  25991. return tpl.String()
  25992. }
  25993. func init() {
  25994. swag.Register(swag.Name, &s{})
  25995. }